Revision 40c4b0a20735fff729f2dc6d42cf9a99dee2a42b authored by Eric Prud'hommeaux on 29 March 2018, 14:29:45 UTC, committed by Eric Prud'hommeaux on 29 March 2018, 14:29:45 UTC
1 parent a657a9f
shex-browserify.min.js
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).ShEx=e()}}(function(){var define,module,exports;return function e(t,r,n){function i(o,s){if(!r[o]){if(!t[o]){var c="function"==typeof require&&require;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[o]={exports:{}};t[o][0].call(l.exports,function(e){var r=t[o][1][e];return i(r||e)},l,l.exports,e,t,r,n)}return r[o].exports}for(var a="function"==typeof require&&require,o=0;o<n.length;o++)i(n[o]);return i}({1:[function(e,t,r){(function(n){var i=function(){function t(e){return e.toLowerCase()}function r(e,t){return e.push(t),e}function n(e){e||(e={});for(var t,r=1,n=arguments.length;r<n&&(t=arguments[r]||{});r++)for(var i in t)e[i]=t[i];return e}function i(){for(var e=[],t=0,r=arguments.length;t<r;t++)e=e.concat.apply(e,arguments[t]);return e}function a(e){switch(e[0]){case void 0:return y._base;case"#":return y._base+e;case"?":return y._base.replace(/(?:\?.*)?$/,e);case"/":return("/"===e[1]?y._baseScheme:y._baseRoot)+o(e);default:return o(y._basePath+e)}}function o(e){if(!Dt.test(e))return e;for(var t="",r=e.length,n=-1,i=-1,a=0,o="/";n<r;){switch(o){case":":if(i<0&&"/"===e[++n]&&"/"===e[++n])for(;(i=n+1)<r&&"/"!==e[i];)n=i;break;case"?":case"#":n=r;break;case"/":if("."===e[n+1])switch(o=e[++n+1]){case"/":t+=e.substring(a,n-1),a=n+1;break;case void 0:case"?":case"#":return t+e.substring(a,n)+e.substr(n+1);case".":if(void 0===(o=e[++n+1])||"/"===o||"?"===o||"#"===o){if(t+=e.substring(a,n-2),(a=t.lastIndexOf("/"))>=i&&(t=t.substr(0,a)),"/"!==o)return t+"/"+e.substr(n+1);a=n+1}}}o=e[++n]}return t+e.substring(a)}function s(e,t){return{value:e,type:t}}function c(){return"_:b"+Mt++}function u(e,t){return e=e.substring(t,e.length-t),{value:St.unescapeText(e,Nt)}}function l(e,r){var i=e.lastIndexOf("@"),a=e.substr(i);return n(u(e=e.substr(0,i),r),{language:t(a.substr(1))})}function f(e){var t=e.lastIndexOf("/"),r=e.substr(1,t-1),n={".":"\\.","\\":"\\\\","?":"\\?","*":"\\*","+":"\\+","{":"\\{","}":"\\}","(":"\\(",")":"\\)","|":"\\|","^":"\\^",$:"\\$","[":"\\[","]":"\\]","/":"\\/",t:"\\t",n:"\\n",r:"\\r","-":"\\-","/":"/"},i={pattern:r=St.unescapeText(r,n)};return e.length>t+1&&(i.flags=e.substr(t+1)),i}function p(e,t){var r={};return r[e]=t,r}function h(e,t){return t=t.substring(1,t.length-2),{type:"SemAct",name:e,code:St.unescapeText(t,Ut)}}function d(e){throw y.reset(),new Error(e)}function m(e){return e in y._prefixes||d("Parse error; unknown prefix: "+e),y._prefixes[e]}function g(e,t){y.productions&&e in y.productions&&d("Structural error: "+e+" is a shape"),y.shapes||(y.shapes={}),e in y.shapes?"replace"===y.options.duplicateShape?y.shapes[e]=t:"ignore"!==y.options.duplicateShape&&d("Parse error: "+e+" already defined"):y.shapes[e]=t}function v(e,t){y.shapes&&e in y.shapes&&d("Structural error: "+e+" is a shape"),y.productions||(y.productions={}),e in y.productions?"replace"===y.options.duplicateShape?y.productions[e]=t:"ignore"!==y.options.duplicateShape&&d("Parse error: "+e+" already defined"):y.productions[e]=t}function b(e,t,r){return 0===r.length?t:t.type===e?(t.shapeExprs=t.shapeExprs.concat(r),t):{type:e,shapeExprs:[t].concat(r)}}function y(){this.yy={}}var _=function(e,t,r,n){for(r=r||{},n=e.length;n--;r[e[n]]=t);return r},x=[7,18,19,20,21,23,26,181,190,191],k=[1,11],w=[1,25],j=[1,12],S=[1,27],E=[1,13],A=[1,19],F=[1,24],I=[1,26],O=[1,28],P=[7,18,19,20,21,23,26,190,191],T=[19,21,63,65,73,84,85,86,89,90,91,92,100,101,102,103,104,105,107,115,118,150,177,190],C=[2,32],z=[1,40],R=[1,42],B=[1,43],D=[1,44],q=[7,18,19,20,21,23,26,34,38,46,49,63,64,65,70,71,72,73,84,85,86,89,90,91,92,100,101,102,103,104,105,107,109,115,118,126,131,132,145,146,147,148,150,177,178,181,190,191],M=[7,18,19,20,21,23,26,34,38,46,49,63,64,65,70,71,72,73,84,85,86,88,89,90,91,92,96,97,98,100,101,102,103,104,105,107,109,115,118,126,131,132,145,146,147,148,149,150,152,164,165,176,177,178,181,182,183,186,187,188,190,191],L=[107,115,118,177],N=[2,132],U=[1,55],$=[1,59],H=[1,60],V=[1,63],K=[1,69],Q=[1,70],G=[1,71],Z=[1,78],J=[1,81],W=[1,82],X=[1,83],Y=[1,84],ee=[1,85],te=[1,86],re=[1,87],ne=[1,88],ie=[1,89],ae=[1,74],oe=[1,103],se=[1,104],ce=[7,18,19,20,21,23,26,46,49,64,84,85,86,89,90,91,92,109,126,131,132,145,146,147,148,178,181,190,191],ue=[7,18,19,20,21,23,26,64,109,126,131,132,145,146,147,148,178,181,190,191],le=[7,18,19,20,21,23,26,46,64,109,126,131,132,145,146,147,148,178,181,190,191],fe=[7,18,19,20,21,23,26,46,49,64,109,126,131,132,145,146,147,148,178,181,190,191],pe=[7,18,19,20,21,23,26,46,49,64,70,71,72,107,109,115,118,126,131,132,145,146,147,148,177,178,181,190,191],he=[7,18,19,20,21,23,26,46,49,64,89,90,91,92,100,101,102,103,104,105,109,126,131,132,145,146,147,148,178,181,190,191],de=[2,95],me=[7,18,19,20,21,23,26,46,49,64,70,71,72,89,90,91,92,107,109,115,118,126,131,132,145,146,147,148,177,178,181,190,191],ge=[19,21,65,88,96,97,98,152,176,183,186,187,190],ve=[7,18,19,20,21,23,26,46,49,64,100,101,102,103,104,105,109,126,131,132,145,146,147,148,178,181,190,191],be=[1,126],ye=[1,128],_e=[1,127],xe=[7,18,19,20,21,23,26,46,49,64,70,71,72,89,90,91,92,100,101,102,103,104,105,107,109,115,118,126,131,132,145,146,147,148,177,178,181,190,191],ke=[88,96,97,98],we=[7,18,19,20,21,23,26,64,190,191],je=[2,34],Se=[7,18,19,20,21,23,26,46,49,64,190,191],Ee=[7,18,19,20,21,23,26,46,64,190,191],Ae=[1,151],Fe=[1,155],Ie=[1,156],Oe=[7,18,19,20,21,23,26,46,49,64,84,85,86,89,90,91,92,109,126,131,132,181,190,191],Pe=[1,181],Te=[1,182],Ce=[1,183],ze=[1,176],Re=[1,180],Be=[1,175],De=[1,178],qe=[1,179],Me=[1,197],Le=[2,134],Ne=[1,190],Ue=[1,193],$e=[1,201],He=[1,198],Ve=[1,200],Ke=[7,18,19,20,21,23,26,46,49,64,84,85,86,89,90,91,92,190,191],Qe=[7,18,19,20,21,23,26,46,49,64,65,84,85,86,88,89,90,91,92,96,97,98,109,126,131,132,152,164,165,176,178,181,183,186,187,190,191],Ge=[1,238],Ze=[64,109,126],Je=[2,152],We=[1,240],Xe=[1,241],Ye=[64,109,126,131,132],et=[19,21,38,63,65,70,71,72,73,84,85,86,88,89,90,91,92,96,97,98,100,101,102,103,104,105,107,115,118,150,177,183,186,187,188,190],tt=[19,21,107,115,118,177,190,191],rt=[19,21,107,115,118,177,188,190],nt=[1,262],it=[1,264],at=[1,266],ot=[19,21,65,88,96,97,98,152,165,176,183,186,187,190],st=[2,156],ct=[1,280],ut=[1,281],lt=[19,21,63,64,109,126,131,132,149,188,190],ft=[64,109,126,131,132,178,181],pt=[2,171],ht=[1,286],dt=[1,287],mt=[1,288],gt=[1,289],vt=[2,136],bt=[2,155],yt=[2,225],_t=[1,307],xt=[64,109,126,131,132,181],kt=[7,18,19,20,21,23,26,46,49,64,84,85,86,89,90,91,92,109,126,131,132,178,181,190,191],wt={trace:function(){},yy:{},symbols_:{error:2,shexDoc:3,initParser:4,Qdirective_E_Star:5,Q_O_QnotStartAction_E_Or_QstartActions_E_S_Qstatement_E_Star_C_E_Opt:6,EOF:7,directive:8,O_QnotStartAction_E_Or_QstartActions_E_C:9,notStartAction:10,startActions:11,Qstatement_E_Star:12,statement:13,O_QnotStartAction_E_Or_QstartActions_E_S_Qstatement_E_Star_C:14,baseDecl:15,prefixDecl:16,importDecl:17,IT_BASE:18,IRIREF:19,IT_PREFIX:20,PNAME_NS:21,iri:22,IT_IMPORT:23,start:24,shapeExprDecl:25,IT_start:26,"=":27,inlineShapeExpression:28,QcodeDecl_E_Plus:29,codeDecl:30,shapeExprLabel:31,O_QshapeExpression_E_Or_QIT_EXTERNAL_E_C:32,shapeExpression:33,IT_EXTERNAL:34,QIT_NOT_E_Opt:35,shapeAtomNoRef:36,QshapeOr_E_Opt:37,IT_NOT:38,shapeRef:39,shapeOr:40,inlineShapeOr:41,Q_O_QIT_OR_E_S_QshapeAnd_E_C_E_Plus:42,Q_O_QIT_AND_E_S_QshapeNot_E_C_E_Plus:43,Q_O_QIT_OR_E_S_QshapeAnd_E_C_E_Star:44,O_QIT_OR_E_S_QshapeAnd_E_C:45,IT_OR:46,shapeAnd:47,O_QIT_AND_E_S_QshapeNot_E_C:48,IT_AND:49,shapeNot:50,inlineShapeAnd:51,Q_O_QIT_OR_E_S_QinlineShapeAnd_E_C_E_Star:52,O_QIT_OR_E_S_QinlineShapeAnd_E_C:53,Q_O_QIT_AND_E_S_QshapeNot_E_C_E_Star:54,inlineShapeNot:55,Q_O_QIT_AND_E_S_QinlineShapeNot_E_C_E_Star:56,O_QIT_AND_E_S_QinlineShapeNot_E_C:57,shapeAtom:58,inlineShapeAtom:59,nonLitNodeConstraint:60,shapeOrRef:61,litNodeConstraint:62,"(":63,")":64,".":65,QnonLitNodeConstraint_E_Opt:66,shapeDefinition:67,inlineShapeOrRef:68,inlineShapeDefinition:69,ATPNAME_LN:70,ATPNAME_NS:71,"@":72,IT_LITERAL:73,QxsFacet_E_Star:74,datatype:75,valueSet:76,QnumericFacet_E_Plus:77,xsFacet:78,nonLiteralKind:79,QstringFacet_E_Plus:80,numericFacet:81,QstringFacet_E_Star:82,stringFacet:83,IT_IRI:84,IT_BNODE:85,IT_NONLITERAL:86,stringLength:87,INTEGER:88,REGEXP:89,IT_LENGTH:90,IT_MINLENGTH:91,IT_MAXLENGTH:92,numericRange:93,rawNumeric:94,numericLength:95,DECIMAL:96,DOUBLE:97,STRING:98,"^^":99,IT_MININCLUSIVE:100,IT_MINEXCLUSIVE:101,IT_MAXINCLUSIVE:102,IT_MAXEXCLUSIVE:103,IT_TOTALDIGITS:104,IT_FRACTIONDIGITS:105,Q_O_QincludeSet_E_Or_QextraPropertySet_E_Or_QIT_CLOSED_E_C_E_Star:106,"{":107,QtripleExpression_E_Opt:108,"}":109,Qannotation_E_Star:110,semanticActions:111,O_QincludeSet_E_Or_QextraPropertySet_E_Or_QIT_CLOSED_E_C:112,includeSet:113,extraPropertySet:114,IT_CLOSED:115,tripleExpression:116,annotation:117,IT_EXTRA:118,Qpredicate_E_Plus:119,predicate:120,oneOfTripleExpr:121,groupTripleExpr:122,multiElementOneOf:123,Q_O_QGT_PIPE_E_S_QgroupTripleExpr_E_C_E_Plus:124,O_QGT_PIPE_E_S_QgroupTripleExpr_E_C:125,"|":126,innerTripleExpr:127,multiElementGroup:128,unaryTripleExpr:129,groupTripleExpr_right:130,",":131,";":132,Q_O_QGT_COMMA_E_S_QunaryTripleExpr_E_C_E_Plus:133,QGT_COMMA_E_Opt:134,O_QGT_COMMA_E_S_QunaryTripleExpr_E_C:135,$:136,tripleExprLabel:137,tripleConstraint:138,bracketedTripleExpr:139,valueConstraint:140,include:141,Qcardinality_E_Opt:142,cardinality:143,senseFlags:144,"*":145,"+":146,"?":147,REPEAT_RANGE:148,"^":149,"[":150,QvalueSetValue_E_Star:151,"]":152,valueSetValue:153,iriRange:154,literalRange:155,languageRange:156,QiriExclusion_E_Plus:157,QliteralExclusion_E_Plus:158,QlanguageExclusion_E_Plus:159,Q_O_Q_TILDE_E_S_QiriExclusion_E_Star_C_E_Opt:160,QiriExclusion_E_Star:161,iriExclusion:162,O_Q_TILDE_E_S_QiriExclusion_E_Star_C:163,"~":164,"-":165,literal:166,Q_O_Q_TILDE_E_S_QliteralExclusion_E_Star_C_E_Opt:167,QliteralExclusion_E_Star:168,literalExclusion:169,O_Q_TILDE_E_S_QliteralExclusion_E_Star_C:170,language:171,Q_O_Q_TILDE_E_S_QlanguageExclusion_E_Star_C_E_Opt:172,QlanguageExclusion_E_Star:173,languageExclusion:174,O_Q_TILDE_E_S_QlanguageExclusion_E_Star_C:175,LANGTAG:176,"&":177,"//":178,O_Qiri_E_Or_Qliteral_E_C:179,QcodeDecl_E_Star:180,"%":181,CODE:182,LANG_STRING:183,optDT:184,numericLiteral:185,IT_true:186,IT_false:187,a:188,blankNode:189,PNAME_LN:190,BLANK_NODE_LABEL:191,QshapeExprLabel_E_Plus:192,$accept:0,$end:1},terminals_:{2:"error",7:"EOF",18:"IT_BASE",19:"IRIREF",20:"IT_PREFIX",21:"PNAME_NS",23:"IT_IMPORT",26:"IT_start",27:"=",34:"IT_EXTERNAL",38:"IT_NOT",46:"IT_OR",49:"IT_AND",63:"(",64:")",65:".",70:"ATPNAME_LN",71:"ATPNAME_NS",72:"@",73:"IT_LITERAL",84:"IT_IRI",85:"IT_BNODE",86:"IT_NONLITERAL",88:"INTEGER",89:"REGEXP",90:"IT_LENGTH",91:"IT_MINLENGTH",92:"IT_MAXLENGTH",96:"DECIMAL",97:"DOUBLE",98:"STRING",99:"^^",100:"IT_MININCLUSIVE",101:"IT_MINEXCLUSIVE",102:"IT_MAXINCLUSIVE",103:"IT_MAXEXCLUSIVE",104:"IT_TOTALDIGITS",105:"IT_FRACTIONDIGITS",107:"{",109:"}",115:"IT_CLOSED",118:"IT_EXTRA",126:"|",131:",",132:";",136:"$",140:"valueConstraint",145:"*",146:"+",147:"?",148:"REPEAT_RANGE",149:"^",150:"[",152:"]",164:"~",165:"-",176:"LANGTAG",177:"&",178:"//",181:"%",182:"CODE",183:"LANG_STRING",186:"IT_true",187:"IT_false",188:"a",190:"PNAME_LN",191:"BLANK_NODE_LABEL"},productions_:[0,[3,4],[4,0],[5,0],[5,2],[9,1],[9,1],[12,0],[12,2],[14,2],[6,0],[6,1],[8,1],[8,1],[8,1],[15,2],[16,3],[17,2],[10,1],[10,1],[24,3],[11,1],[29,1],[29,2],[13,1],[13,1],[25,2],[32,1],[32,1],[33,3],[33,3],[33,2],[35,0],[35,1],[37,0],[37,1],[28,1],[40,1],[40,2],[45,2],[42,1],[42,2],[48,2],[43,1],[43,2],[44,0],[44,2],[41,2],[53,2],[52,0],[52,2],[47,2],[54,0],[54,2],[51,2],[57,2],[56,0],[56,2],[50,1],[50,2],[55,1],[55,2],[58,1],[58,2],[58,1],[58,1],[58,2],[58,3],[58,1],[66,0],[66,1],[36,1],[36,2],[36,1],[36,1],[36,2],[36,3],[36,1],[59,1],[59,2],[59,1],[59,2],[59,3],[59,1],[61,1],[61,1],[68,1],[68,1],[39,1],[39,1],[39,2],[62,2],[62,2],[62,2],[62,1],[74,0],[74,2],[60,1],[60,2],[60,1],[77,1],[77,2],[82,0],[82,2],[80,1],[80,2],[79,1],[79,1],[79,1],[78,1],[78,1],[83,2],[83,1],[87,1],[87,1],[87,1],[81,2],[81,2],[94,1],[94,1],[94,1],[94,3],[93,1],[93,1],[93,1],[93,1],[95,1],[95,1],[67,6],[112,1],[112,1],[112,1],[106,0],[106,2],[108,0],[108,1],[110,0],[110,2],[69,4],[114,2],[119,1],[119,2],[116,1],[121,1],[121,1],[123,2],[125,2],[124,1],[124,2],[127,1],[127,1],[122,2],[130,0],[130,1],[130,1],[130,2],[134,0],[134,1],[134,1],[128,3],[135,2],[135,2],[133,1],[133,2],[129,3],[129,1],[129,3],[129,1],[129,1],[129,1],[139,6],[142,0],[142,1],[138,5],[138,6],[143,1],[143,1],[143,1],[143,1],[144,1],[76,3],[151,0],[151,2],[153,1],[153,1],[153,1],[153,2],[153,2],[153,2],[154,2],[161,0],[161,2],[163,2],[160,0],[160,1],[157,1],[157,2],[162,2],[162,3],[155,2],[168,0],[168,2],[170,2],[167,0],[167,1],[158,1],[158,2],[169,2],[169,3],[156,2],[173,0],[173,2],[175,2],[172,0],[172,1],[159,1],[159,2],[174,2],[174,3],[171,1],[141,2],[117,3],[179,1],[179,1],[111,1],[180,0],[180,2],[30,3],[30,3],[166,1],[166,2],[166,1],[166,1],[166,1],[184,0],[184,2],[120,1],[120,1],[75,1],[31,1],[31,1],[137,1],[137,1],[185,1],[185,1],[185,1],[22,1],[22,1],[22,1],[189,1],[113,2],[192,1],[192,2]],performAction:function(e,t,o,u,l,_,x){var k=_.length-1;switch(l){case 1:var w=y.valueExprDefns?{valueExprDefns:y.valueExprDefns}:{},j=y.start?{start:y.start}:{},S=y.startActs?{startActs:y.startActs}:{},E=n({type:"Schema"},Object.keys(y._prefixes).length?{prefixes:y._prefixes}:{},Object.keys(y._imports).length?{imports:y._imports}:{},w,S,j,y.shapes?{shapes:y.shapes}:{},y.productions?{productions:y.productions}:{});return null!==y._base&&(E.base=y._base),y.reset(),E;case 2:u.parser.yy={lexer:u.lexer};break;case 15:y._setBase(null===y._base||Rt.test(_[k].slice(1,-1))?_[k].slice(1,-1):a(_[k].slice(1,-1)));break;case 16:y._prefixes[_[k-1].slice(0,-1)]=_[k];break;case 17:y._imports.push(_[k]);break;case 20:y.start&&d("Parse error: start already defined"),y.start=_[k];break;case 21:y.startActs=_[k];break;case 22:this.$=[_[k]];break;case 23:this.$=r(_[k-1],_[k]);break;case 26:g(_[k-1],_[k]);break;case 27:this.$=_[k];break;case 28:this.$={type:"ShapeExternal"};break;case 29:_[k-2]&&(_[k-1]={type:"ShapeNot",shapeExpr:_[k-1]}),_[k]?(_[k].shapeExprs.unshift(_[k-1]),this.$=_[k]):this.$=_[k-1];break;case 30:this.$={type:"ShapeNot",shapeExpr:_[k-1]};break;case 31:_[k].shapeExprs.unshift(_[k-1]),this.$=_[k];break;case 32:this.$=!1;break;case 33:this.$=!0;break;case 34:case 152:case 153:case 154:case 234:this.$=null;break;case 35:case 39:case 42:case 48:case 55:case 235:this.$=_[k];break;case 37:this.$={type:"ShapeOr",shapeExprs:_[k]};break;case 38:this.$=_[k].length>0?b("ShapeAnd",_[k-1],_[k]):{type:"ShapeAnd",shapeExprs:_[k-1]};break;case 40:case 43:this.$=[_[k]];break;case 41:case 44:case 46:case 50:case 53:case 57:this.$=_[k-1].concat(_[k]);break;case 45:case 49:case 52:case 56:this.$=[];break;case 47:this.$=b("ShapeOr",_[k-1],_[k]);break;case 51:case 54:this.$=b("ShapeAnd",_[k-1],_[k]);break;case 59:case 61:this.$={type:"ShapeNot",shapeExpr:_[k]};break;case 63:case 72:case 79:this.$={type:"ShapeAnd",shapeExprs:[n({type:"NodeConstraint"},_[k-1]),_[k]]};break;case 66:case 75:this.$=b("ShapeAnd",_[k-1],[_[k]]);break;case 67:case 76:case 82:this.$=_[k-1];break;case 68:case 77:case 83:this.$=Vt;break;case 81:this.$=_[k]?{type:"ShapeAnd",shapeExprs:[n({type:"NodeConstraint"},_[k-1]),_[k]]}:_[k-1];break;case 88:_[k]=_[k].substr(1,_[k].length-1);P=_[k].indexOf(":");this.$={type:"ShapeRef",reference:m(_[k].substr(0,P))+_[k].substr(P+1)};break;case 89:_[k]=_[k].substr(1,_[k].length-1),this.$={type:"ShapeRef",reference:m(_[k].substr(0,_[k].length-1))};break;case 90:this.$={type:"ShapeRef",reference:_[k]};break;case 91:this.$=n({type:"NodeConstraint",nodeKind:"literal"},_[k]);break;case 92:-1===zt.indexOf(_[k-1])&&qt.forEach(function(e){e in _[k]&&d("Parse error: facet "+e+" not allowed for unknown datatype "+_[k-1])}),this.$=n({type:"NodeConstraint",datatype:_[k-1]},_[k]);break;case 93:this.$={type:"NodeConstraint",values:_[k-1]};break;case 94:this.$=n({type:"NodeConstraint"},_[k]);break;case 95:this.$={};break;case 96:-1!==Object.keys(_[k-1]).indexOf(Object.keys(_[k])[0])&&d("Parse error: facet "+Object.keys(_[k])[0]+" defined multiple times"),this.$=n(_[k-1],_[k]);break;case 97:this.$=n({type:"NodeConstraint"},_[k]);break;case 98:this.$=n({type:"NodeConstraint"},_[k-1],_[k]);break;case 99:this.$=n({type:"NodeConstraint"},_[k]);break;case 101:case 105:-1!==Object.keys(_[k-1]).indexOf(Object.keys(_[k])[0])&&d("Parse error: facet "+Object.keys(_[k])[0]+" defined multiple times"),this.$=n(_[k-1],_[k]);break;case 102:this.$={};break;case 103:-1!==Object.keys(_[k-1]).indexOf(Object.keys(_[k])[0])&&d("Parse error: facet "+Object.keys(_[k])[0]+" defined multiple times"),this.$=n(_[k-1],_[k]);break;case 106:this.$={nodeKind:"iri"};break;case 107:this.$={nodeKind:"bnode"};break;case 108:this.$={nodeKind:"nonliteral"};break;case 111:this.$=p(_[k-1],parseInt(_[k],10));break;case 112:this.$=f(_[k]);break;case 113:this.$="length";break;case 114:this.$="minlength";break;case 115:this.$="maxlength";break;case 116:this.$=p(_[k-1],_[k]);break;case 117:this.$=p(_[k-1],parseInt(_[k],10));break;case 118:this.$=parseInt(_[k],10);break;case 119:case 120:this.$=parseFloat(_[k]);break;case 121:_[k]===Ot||_[k]===Pt||_[k]===Tt?this.$=parseFloat(_[k-2].value):-1!==zt.indexOf(_[k])?this.$=parseInt(_[k-2].value):d("Parse error: numeric range facet expected numeric datatype instead of "+_[k]);break;case 122:this.$="mininclusive";break;case 123:this.$="minexclusive";break;case 124:this.$="maxinclusive";break;case 125:this.$="maxexclusive";break;case 126:this.$="totaldigits";break;case 127:this.$="fractiondigits";break;case 128:A=_[k-3]?{expression:_[k-3]}:Ht;this.$=A===Ht&&_[k-5]===Ht?Vt:n({type:"Shape"},A,_[k-5]),_[k-1].length&&(this.$.annotations=_[k-1]),_[k]&&(this.$.semActs=_[k].semActs);break;case 129:this.$=["inherit",_[k]];break;case 130:this.$=["extra",_[k]];break;case 131:this.$=["closed",!0];break;case 132:this.$=Ht;break;case 133:_[k-1]===Ht&&(_[k-1]={}),"closed"===_[k][0]?_[k-1].closed=!0:_[k][0]in _[k-1]?_[k-1][_[k][0]]=i(_[k-1][_[k][0]],_[k][1]):_[k-1][_[k][0]]=_[k][1],this.$=_[k-1];break;case 136:this.$=[];break;case 137:this.$=r(_[k-1],_[k]);break;case 138:var A=_[k-1]?{expression:_[k-1]}:Ht;this.$=A===Ht&&_[k-3]===Ht?Vt:n({type:"Shape"},A,_[k-3]);break;case 139:this.$=_[k];break;case 140:this.$=[_[k]];break;case 141:this.$=r(_[k-1],_[k]);break;case 145:this.$={type:"OneOf",expressions:i([_[k-1]],_[k])};break;case 146:this.$=_[k];break;case 147:this.$=[_[k]];break;case 148:this.$=r(_[k-1],_[k]);break;case 151:this.$=_[k]?{type:"EachOf",expressions:i([_[k-1]],_[k])}:_[k-1];break;case 155:this.$=_[k-1];break;case 159:this.$={type:"EachOf",expressions:i([_[k-2]],_[k-1])};break;case 160:case 161:this.$=_[k];break;case 162:this.$=[_[k]];break;case 163:this.$=r(_[k-1],_[k]);break;case 164:case 166:this.$=n({id:_[k-1]},_[k]),v(_[k-1],this.$);break;case 170:this.$=_[k-4],"min"in _[k-2]&&(this.$.min=_[k-2].min),"max"in _[k-2]&&(this.$.max=_[k-2].max),_[k-1].length&&(this.$.annotations=_[k-1]),_[k]&&(this.$.semActs="semActs"in _[k-4]?_[k-4].semActs.concat(_[k].semActs):_[k].semActs);break;case 171:this.$={};break;case 173:if(_[k-3],!1){var F=c();g(F,_[k-3]),_[k-3]={type:"ShapeRef",reference:F}}this.$=n({type:"TripleConstraint",predicate:_[k-4]},_[k-3]===Vt?{}:{valueExpr:_[k-3]},_[k-2],_[k]),_[k-1].length&&(this.$.annotations=_[k-1]);break;case 174:this.$=n({type:"TripleConstraint"},_[k-5],{predicate:_[k-4]},_[k-3]===Vt?{}:{valueExpr:_[k-3]},_[k-2],_[k]),_[k-1].length&&(this.$.annotations=_[k-1]);break;case 175:this.$={min:0,max:jt};break;case 176:this.$={min:1,max:jt};break;case 177:this.$={min:0,max:1};break;case 178:_[k]=_[k].substr(1,_[k].length-2);var I=_[k].match(/(\d+)/g);this.$={min:parseInt(I[0],10)},2===I.length?this.$.max=parseInt(I[1],10):-1===_[k].indexOf(",")?this.$.max=parseInt(I[0],10):this.$.max=jt;break;case 179:this.$={inverse:!0};break;case 180:this.$=_[k-1];break;case 181:this.$=[];break;case 182:this.$=r(_[k-1],_[k]);break;case 186:this.$={type:"IriStemRange",stem:{type:"Wildcard"},exclusions:_[k]};break;case 187:this.$={type:"LiteralStemRange",stem:{type:"Wildcard"},exclusions:_[k]};break;case 188:this.$={type:"LanguageStemRange",stem:{type:"Wildcard"},exclusions:_[k]};break;case 189:_[k]?(this.$={type:_[k].length?"IriStemRange":"IriStem",stem:_[k-1]},_[k].length&&(this.$.exclusions=_[k])):this.$=_[k-1];break;case 190:this.$=[];break;case 191:this.$=r(_[k-1],_[k]);break;case 192:case 197:this.$=_[k];break;case 195:this.$=[_[k]];break;case 196:this.$=r(_[k-1],_[k]);break;case 198:this.$={type:"IriStem",stem:_[k-1]};break;case 199:_[k]?(this.$={type:_[k].length?"LiteralStemRange":"LiteralStem",stem:_[k-1].value},_[k].length&&(this.$.exclusions=_[k])):this.$=_[k-1];break;case 200:this.$=[];break;case 201:this.$=r(_[k-1],_[k]);break;case 202:this.$=_[k];break;case 205:this.$=[_[k]];break;case 206:this.$=r(_[k-1],_[k]);break;case 207:this.$=_[k].value;break;case 208:this.$={type:"LiteralStem",stem:_[k-1].value};break;case 209:_[k]?(this.$={type:_[k].length?"LanguageStemRange":"LanguageStem",stem:_[k-1]},_[k].length&&(this.$.exclusions=_[k])):this.$={type:"Language",languageTag:_[k-1]};break;case 210:this.$=[];break;case 211:this.$=r(_[k-1],_[k]);break;case 212:case 217:this.$=_[k];break;case 215:this.$=[_[k]];break;case 216:this.$=r(_[k-1],_[k]);break;case 218:this.$={type:"LanguageStem",stem:_[k-1]};break;case 219:this.$=_[k].substr(1);break;case 220:this.$={type:"Inclusion",include:_[k]};break;case 221:this.$={type:"Annotation",predicate:_[k-1],object:_[k]};break;case 224:this.$=_[k].length?{semActs:_[k]}:null;break;case 225:this.$=[];break;case 226:this.$=r(_[k-1],_[k]);break;case 227:this.$=h(_[k-1],_[k]);break;case 228:this.$={type:"SemAct",name:_[k-1]};break;case 230:this.$=_[k]?n(_[k-1],{type:_[k]}):_[k-1];break;case 232:this.$={value:"true",type:Ct};break;case 233:this.$={value:"false",type:Ct};break;case 237:this.$=At;break;case 243:this.$=s(_[k],It);break;case 244:this.$=s(_[k],Ot);break;case 245:this.$=s(_[k],Tt);break;case 246:var O=St.unescapeText(_[k].slice(1,-1),{});this.$=null===y._base||Rt.test(O)?O:a(O);break;case 247:var P=_[k].indexOf(":");this.$=m(_[k].substr(0,P))+St.unescapeText(_[k].substr(P+1),$t);break;case 248:this.$=m(_[k].substr(0,_[k].length-1));break;case 250:this.$=_[k];break;case 251:this.$=[_[k]];break;case 252:this.$=r(_[k-1],_[k])}},table:[_(x,[2,2],{3:1,4:2}),{1:[3]},_(x,[2,3],{5:3}),{6:4,7:[2,10],8:5,9:10,10:14,11:15,14:6,15:7,16:8,17:9,18:k,19:w,20:j,21:S,22:22,23:E,24:16,25:17,26:A,29:18,30:21,31:20,181:F,189:23,190:I,191:O},{7:[1,29]},_(x,[2,4]),{7:[2,11]},_(x,[2,12]),_(x,[2,13]),_(x,[2,14]),_(P,[2,7],{12:30}),{19:[1,31]},{21:[1,32]},{19:w,21:S,22:33,190:I},_(P,[2,5]),_(P,[2,6]),_(P,[2,18]),_(P,[2,19]),_(P,[2,21],{30:34,181:F}),{27:[1,35]},_(T,C,{32:36,33:37,35:39,39:41,34:[1,38],38:z,70:R,71:B,72:D}),_(x,[2,22]),_(q,[2,239]),_(q,[2,240]),{19:w,21:S,22:45,190:I},_(M,[2,246]),_(M,[2,247]),_(M,[2,248]),_([7,18,19,20,21,23,26,34,38,46,49,63,64,65,70,71,72,73,84,85,86,89,90,91,92,100,101,102,103,104,105,107,109,115,118,126,131,132,145,146,147,148,149,150,177,178,181,188,190,191],[2,249]),{1:[2,1]},{7:[2,9],8:47,10:48,13:46,15:7,16:8,17:9,18:k,19:w,20:j,21:S,22:22,23:E,24:16,25:17,26:A,31:20,189:23,190:I,191:O},_(x,[2,15]),{19:w,21:S,22:49,190:I},_(x,[2,17]),_(x,[2,23]),_(L,N,{28:50,41:51,51:52,55:53,59:54,60:56,62:57,68:58,79:61,80:62,75:64,76:65,77:66,69:67,39:68,83:72,22:73,81:75,106:76,87:77,93:79,95:80,19:w,21:S,38:U,63:$,65:H,70:R,71:B,72:D,73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),_(P,[2,26]),_(P,[2,27]),_(P,[2,28]),_(L,N,{79:61,80:62,75:64,76:65,77:66,83:72,22:73,81:75,87:77,93:79,95:80,36:90,60:91,62:92,67:93,106:96,19:w,21:S,63:[1,94],65:[1,95],73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),_(T,[2,33],{39:97,70:R,71:B,72:D}),{40:98,42:99,43:100,45:101,46:oe,48:102,49:se},_(ce,[2,88]),_(ce,[2,89]),{19:w,21:S,22:22,31:105,189:23,190:I,191:O},{181:[1,107],182:[1,106]},_(P,[2,8]),_(P,[2,24]),_(P,[2,25]),_(x,[2,16]),_(P,[2,20]),_(ue,[2,36]),_(le,[2,49],{52:108}),_(fe,[2,56],{56:109}),_(fe,[2,60]),_(L,N,{60:56,62:57,68:58,79:61,80:62,75:64,76:65,77:66,69:67,39:68,83:72,22:73,81:75,106:76,87:77,93:79,95:80,59:110,19:w,21:S,63:$,65:H,70:R,71:B,72:D,73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),_(fe,[2,78],{69:67,39:68,106:76,68:111,70:R,71:B,72:D,107:N,115:N,118:N,177:N}),_(fe,[2,80]),_(fe,[2,69],{79:61,80:62,83:72,87:77,66:112,60:113,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X}),_(T,C,{35:39,39:41,33:114,38:z,70:R,71:B,72:D}),_(fe,[2,83]),_(pe,[2,97],{83:72,87:77,80:115,89:Z,90:J,91:W,92:X}),_(pe,[2,99],{87:77,83:116,89:Z,90:J,91:W,92:X}),_(he,de,{74:117}),_(he,de,{74:118}),_(he,de,{74:119}),_(fe,[2,94],{93:79,95:80,81:120,100:Y,101:ee,102:te,103:re,104:ne,105:ie}),_(ce,[2,86]),_(ce,[2,87]),_(me,[2,106]),_(me,[2,107]),_(me,[2,108]),_(me,[2,104]),_([7,18,19,20,21,23,26,46,49,64,65,84,85,86,88,89,90,91,92,96,97,98,100,101,102,103,104,105,109,126,131,132,145,146,147,148,152,164,165,176,178,181,183,186,187,190,191],[2,238]),_(ge,[2,181],{151:121}),_(ve,[2,100]),{107:[1,122],112:123,113:124,114:125,115:be,118:ye,177:_e},{88:[1,129]},_(xe,[2,112]),{88:[1,131],94:130,96:[1,132],97:[1,133],98:[1,134]},{88:[1,135]},{88:[2,113]},{88:[2,114]},{88:[2,115]},_(ke,[2,122]),_(ke,[2,123]),_(ke,[2,124]),_(ke,[2,125]),{88:[2,126]},{88:[2,127]},_(we,je,{42:99,43:100,45:101,48:102,37:136,40:137,46:oe,49:se}),_(Se,[2,71],{106:96,61:138,67:139,39:140,70:R,71:B,72:D,107:N,115:N,118:N,177:N}),_(Se,[2,73]),_(Se,[2,74],{79:61,80:62,83:72,87:77,60:141,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X}),_(T,C,{35:39,39:41,33:142,38:z,70:R,71:B,72:D}),_(Se,[2,77]),{107:[1,143],112:123,113:124,114:125,115:be,118:ye,177:_e},_(we,je,{42:99,43:100,45:101,48:102,40:137,37:144,46:oe,49:se}),_(we,[2,31]),_(we,[2,37],{45:145,46:oe}),_(Ee,[2,45],{44:146,48:147,49:se}),_(Ee,[2,40]),_(Se,[2,43]),_(L,N,{79:61,80:62,75:64,76:65,77:66,83:72,22:73,81:75,87:77,93:79,95:80,106:96,67:139,39:140,47:148,50:149,58:150,60:152,62:153,61:154,19:w,21:S,38:Ae,63:Fe,65:Ie,70:R,71:B,72:D,73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),_(L,N,{79:61,80:62,75:64,76:65,77:66,83:72,22:73,81:75,87:77,93:79,95:80,106:96,67:139,39:140,58:150,60:152,62:153,61:154,50:157,19:w,21:S,38:Ae,63:Fe,65:Ie,70:R,71:B,72:D,73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),_(ce,[2,90]),_(Oe,[2,227]),_(Oe,[2,228]),_(ue,[2,47],{53:158,46:[1,159]}),_(le,[2,54],{57:160,49:[1,161]}),_(fe,[2,61]),_(fe,[2,79]),_(fe,[2,81]),_(fe,[2,70]),{64:[1,162]},_(pe,[2,98],{87:77,83:116,89:Z,90:J,91:W,92:X}),_(me,[2,105]),_(fe,[2,91],{87:77,93:79,95:80,78:163,83:164,81:165,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie}),_(fe,[2,92],{87:77,93:79,95:80,78:163,83:164,81:165,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie}),_(fe,[2,93],{87:77,93:79,95:80,78:163,83:164,81:165,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie}),_(ve,[2,101]),{19:w,21:S,22:172,65:[1,171],88:Pe,96:Te,97:Ce,98:ze,152:[1,166],153:167,154:168,155:169,156:170,166:173,171:174,176:Re,183:Be,185:177,186:De,187:qe,190:I},{19:w,21:S,22:199,63:Me,108:184,109:Le,116:185,120:195,121:186,122:187,123:188,129:189,136:Ne,138:191,139:192,140:Ue,141:194,144:196,149:$e,177:He,188:Ve,190:I},_(L,[2,133]),_(L,[2,129]),_(L,[2,130]),_(L,[2,131]),{19:w,21:S,22:22,31:203,189:23,190:I,191:O,192:202},{19:w,21:S,22:199,119:204,120:205,188:Ve,190:I},_(xe,[2,111]),_(he,[2,116]),_(he,[2,118]),_(he,[2,119]),_(he,[2,120]),{99:[1,206]},_(he,[2,117]),_(we,[2,29]),_(we,[2,35]),_(Se,[2,72]),_(Ke,[2,84]),_(Ke,[2,85]),_(Se,[2,75]),{64:[1,207]},{19:w,21:S,22:199,63:Me,108:208,109:Le,116:185,120:195,121:186,122:187,123:188,129:189,136:Ne,138:191,139:192,140:Ue,141:194,144:196,149:$e,177:He,188:Ve,190:I},_(we,[2,30]),_(Ee,[2,41]),_(we,[2,38],{45:209,46:oe}),_(Se,[2,44]),_(Ee,[2,39]),_(Se,[2,52],{54:210}),_(Se,[2,58]),_(L,N,{79:61,80:62,75:64,76:65,77:66,83:72,22:73,81:75,87:77,93:79,95:80,106:96,67:139,39:140,60:152,62:153,61:154,58:211,19:w,21:S,63:Fe,65:Ie,70:R,71:B,72:D,73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),_(Se,[2,62],{106:96,67:139,39:140,61:212,70:R,71:B,72:D,107:N,115:N,118:N,177:N}),_(Se,[2,64]),_(Se,[2,65],{79:61,80:62,83:72,87:77,60:213,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X}),_(T,C,{35:39,39:41,33:214,38:z,70:R,71:B,72:D}),_(Se,[2,68]),_(Se,[2,42]),_(le,[2,50]),_(L,N,{55:53,59:54,60:56,62:57,68:58,79:61,80:62,75:64,76:65,77:66,69:67,39:68,83:72,22:73,81:75,106:76,87:77,93:79,95:80,51:215,19:w,21:S,38:U,63:$,65:H,70:R,71:B,72:D,73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),_(fe,[2,57]),_(L,N,{59:54,60:56,62:57,68:58,79:61,80:62,75:64,76:65,77:66,69:67,39:68,83:72,22:73,81:75,106:76,87:77,93:79,95:80,55:216,19:w,21:S,38:U,63:$,65:H,70:R,71:B,72:D,73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),_(fe,[2,82]),_(he,[2,96]),_(he,[2,109]),_(he,[2,110]),_(he,[2,180]),_(ge,[2,182]),_(ge,[2,183]),_(ge,[2,184]),_(ge,[2,185]),{157:217,158:218,159:219,162:220,165:[1,223],169:221,174:222},_(ge,[2,193],{160:224,163:225,164:[1,226]}),_(ge,[2,203],{167:227,170:228,164:[1,229]}),_(ge,[2,213],{172:230,175:231,164:[1,232]}),_(Qe,[2,229]),_(Qe,[2,234],{184:233,99:[1,234]}),_(Qe,[2,231]),_(Qe,[2,232]),_(Qe,[2,233]),_([19,21,65,88,96,97,98,152,164,165,176,183,186,187,190],[2,219]),_(Qe,[2,243]),_(Qe,[2,244]),_(Qe,[2,245]),{109:[1,235]},{109:[2,135]},{109:[2,142]},{109:[2,143],124:236,125:237,126:Ge},{109:[2,144]},_(Ze,Je,{130:239,133:242,135:243,131:We,132:Xe}),{19:w,21:S,22:245,137:244,189:246,190:I,191:O},_(Ye,[2,165]),_(Ye,[2,167]),_(Ye,[2,168]),_(Ye,[2,169]),_(L,N,{41:51,51:52,55:53,59:54,60:56,62:57,68:58,79:61,80:62,75:64,76:65,77:66,69:67,39:68,83:72,22:73,81:75,106:76,87:77,93:79,95:80,28:247,19:w,21:S,38:U,63:$,65:H,70:R,71:B,72:D,73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),{19:w,21:S,22:199,120:248,188:Ve,190:I},{19:w,21:S,22:199,63:Me,120:195,122:253,123:251,127:249,128:250,129:252,136:Ne,138:191,139:192,140:Ue,141:194,144:196,149:$e,177:He,188:Ve,190:I},{19:w,21:S,22:245,137:254,189:246,190:I,191:O},_(et,[2,236]),_(et,[2,237]),_([19,21,188,190],[2,179]),_(L,[2,250],{22:22,189:23,31:255,19:w,21:S,190:I,191:O}),_(tt,[2,251]),_(L,[2,139],{22:199,120:256,19:w,21:S,188:Ve,190:I}),_(rt,[2,140]),{19:w,21:S,22:73,75:257,190:I},_(Se,[2,76]),{109:[1,258]},_(Ee,[2,46]),_(Ee,[2,51],{48:259,49:se}),_(Se,[2,59]),_(Se,[2,63]),_(Se,[2,66]),{64:[1,260]},_(le,[2,48]),_(fe,[2,55]),_(ge,[2,186],{162:261,165:nt}),_(ge,[2,187],{169:263,165:it}),_(ge,[2,188],{174:265,165:at}),_(ot,[2,195]),_(ot,[2,205]),_(ot,[2,215]),{19:w,21:S,22:267,88:Pe,96:Te,97:Ce,98:ze,166:268,171:269,176:Re,183:Be,185:177,186:De,187:qe,190:I},_(ge,[2,189]),_(ge,[2,194]),_(ot,[2,190],{161:270}),_(ge,[2,199]),_(ge,[2,204]),_(ot,[2,200],{168:271}),_(ge,[2,209]),_(ge,[2,214]),_(ot,[2,210],{173:272}),_(Qe,[2,230]),{19:w,21:S,22:73,75:273,190:I},_(ce,[2,138]),_([64,109],[2,145],{125:274,126:Ge}),_(Ze,[2,147]),{19:w,21:S,22:199,63:Me,120:195,122:275,129:189,136:Ne,138:191,139:192,140:Ue,141:194,144:196,149:$e,177:He,188:Ve,190:I},_(Ze,[2,151]),_(Ze,[2,153],{138:191,139:192,141:194,120:195,144:196,22:199,129:276,19:w,21:S,63:Me,136:Ne,140:Ue,149:$e,177:He,188:Ve,190:I}),_(Ze,[2,154],{138:191,139:192,141:194,120:195,144:196,22:199,129:277,19:w,21:S,63:Me,136:Ne,140:Ue,149:$e,177:He,188:Ve,190:I}),_(Ze,st,{134:278,135:279,131:ct,132:ut}),_(Ye,[2,162]),{19:w,21:S,22:199,63:Me,120:195,138:282,139:283,144:196,149:$e,188:Ve,190:I},_(lt,[2,241]),_(lt,[2,242]),_(ft,pt,{142:284,143:285,145:ht,146:dt,147:mt,148:gt}),_(L,N,{41:51,51:52,55:53,59:54,60:56,62:57,68:58,79:61,80:62,75:64,76:65,77:66,69:67,39:68,83:72,22:73,81:75,106:76,87:77,93:79,95:80,28:290,19:w,21:S,38:U,63:$,65:H,70:R,71:B,72:D,73:V,84:K,85:Q,86:G,89:Z,90:J,91:W,92:X,100:Y,101:ee,102:te,103:re,104:ne,105:ie,150:ae,190:I}),{64:[1,291]},{64:[2,149]},{64:[2,150]},{126:Je,130:239,131:We,132:Xe,133:292,135:243},{124:236,125:237,126:Ge},_(Ye,[2,220]),_(tt,[2,252]),_(rt,[2,141]),_(he,[2,121]),_([7,18,19,20,21,23,26,46,49,64,84,85,86,89,90,91,92,178,181,190,191],vt,{110:293}),_(Se,[2,53]),_(Se,[2,67]),_(ot,[2,196]),{19:w,21:S,22:267,190:I},_(ot,[2,206]),{88:Pe,96:Te,97:Ce,98:ze,166:268,183:Be,185:177,186:De,187:qe},_(ot,[2,216]),{171:269,176:Re},_(ot,[2,197],{164:[1,294]}),_(ot,[2,207],{164:[1,295]}),_(ot,[2,217],{164:[1,296]}),_(ge,[2,192],{162:297,165:nt}),_(ge,[2,202],{169:298,165:it}),_(ge,[2,212],{174:299,165:at}),_(Qe,[2,235]),_(Ze,[2,148]),_(Ze,[2,146]),_(Ye,[2,160]),_(Ye,[2,161]),_(Ze,bt),_(Ye,[2,163]),_(Ze,[2,157],{138:191,139:192,141:194,120:195,144:196,22:199,129:276,19:w,21:S,63:Me,136:Ne,140:Ue,149:$e,177:He,188:Ve,190:I}),_(Ze,[2,158],{138:191,139:192,141:194,120:195,144:196,22:199,129:277,19:w,21:S,63:Me,136:Ne,140:Ue,149:$e,177:He,188:Ve,190:I}),_(Ye,[2,164]),_(Ye,[2,166]),_(ft,vt,{110:300}),_(ft,[2,172]),_(ft,[2,175]),_(ft,[2,176]),_(ft,[2,177]),_(ft,[2,178]),_(ft,pt,{143:285,142:301,145:ht,146:dt,147:mt,148:gt}),_(ft,pt,{143:285,142:302,145:ht,146:dt,147:mt,148:gt}),_([64,126],st,{135:279,134:303,131:ct,132:ut}),_([7,18,19,20,21,23,26,46,49,64,84,85,86,89,90,91,92,181,190,191],yt,{111:304,117:305,180:306,178:_t}),_(ot,[2,198]),_(ot,[2,208]),_(ot,[2,218]),_(ot,[2,191]),_(ot,[2,201]),_(ot,[2,211]),_(xt,yt,{117:305,180:306,111:308,178:_t}),_(ft,vt,{110:309}),_(ft,vt,{110:310}),{64:[2,159],126:bt},_(Ke,[2,128]),_(kt,[2,137]),_([7,18,19,20,21,23,26,46,49,64,84,85,86,89,90,91,92,109,126,131,132,190,191],[2,224],{30:311,181:F}),{19:w,21:S,22:199,120:312,188:Ve,190:I},_(Ye,[2,173]),_(xt,yt,{117:305,180:306,111:313,178:_t}),_(xt,yt,{117:305,180:306,111:314,178:_t}),_(Oe,[2,226]),{19:w,21:S,22:316,88:Pe,96:Te,97:Ce,98:ze,166:317,179:315,183:Be,185:177,186:De,187:qe,190:I},_(Ye,[2,174]),_(Ye,[2,170]),_(kt,[2,221]),_(kt,[2,222]),_(kt,[2,223])],defaultActions:{6:[2,11],29:[2,1],81:[2,113],82:[2,114],83:[2,115],88:[2,126],89:[2,127],185:[2,135],186:[2,142],188:[2,144],250:[2,149],251:[2,150]},parseError:function(e,t){if(!t.recoverable){var r=new Error(e);throw r.hash=t,r}this.trace(e)},parse:function(e){var t=this,r=[0],n=[null],i=[],a=this.table,o="",s=0,c=0,u=0,l=i.slice.call(arguments,1),f=Object.create(this.lexer),p={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(p.yy[h]=this.yy[h]);f.setInput(e,p.yy),p.yy.lexer=f,p.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var d=f.yylloc;i.push(d);var m=f.options&&f.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,b,y,_,x,k,w,j,S=function(){var e;return"number"!=typeof(e=f.lex()||1)&&(e=t.symbols_[e]||e),e},E={};;){if(b=r[r.length-1],this.defaultActions[b]?y=this.defaultActions[b]:(null!==g&&void 0!==g||(g=S()),y=a[b]&&a[b][g]),void 0===y||!y.length||!y[0]){var A="";j=[];for(x in a[b])this.terminals_[x]&&x>2&&j.push("'"+this.terminals_[x]+"'");A=f.showPosition?"Parse error on line "+(s+1)+":\n"+f.showPosition()+"\nExpecting "+j.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:f.match,token:this.terminals_[g]||g,line:f.yylineno,loc:d,expected:j})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+g);switch(y[0]){case 1:r.push(g),n.push(f.yytext),i.push(f.yylloc),r.push(y[1]),g=null,v?(g=v,v=null):(c=f.yyleng,o=f.yytext,s=f.yylineno,d=f.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[y[1]][1],E.$=n[n.length-k],E._$={first_line:i[i.length-(k||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(k||1)].first_column,last_column:i[i.length-1].last_column},m&&(E._$.range=[i[i.length-(k||1)].range[0],i[i.length-1].range[1]]),void 0!==(_=this.performAction.apply(E,[o,c,s,p.yy,y[1],n,i].concat(l))))return _;k&&(r=r.slice(0,-1*k*2),n=n.slice(0,-1*k),i=i.slice(0,-1*k)),r.push(this.productions_[y[1]][0]),n.push(E.$),i.push(E._$),w=a[r[r.length-2]][r[r.length-1]],r.push(w);break;case 3:return!0}}return!0}},jt=-1,St=e("./ShExUtil"),Et="http://www.w3.org/1999/02/22-rdf-syntax-ns#",At=Et+"type",Ft="http://www.w3.org/2001/XMLSchema#",It=Ft+"integer",Ot=Ft+"decimal",Pt=Ft+"float",Tt=Ft+"double",Ct=Ft+"boolean",zt=[Ft+"integer",Ft+"decimal",Ft+"float",Ft+"double",Ft+"string",Ft+"boolean",Ft+"dateTime",Ft+"nonPositiveInteger",Ft+"negativeInteger",Ft+"long",Ft+"int",Ft+"short",Ft+"byte",Ft+"nonNegativeInteger",Ft+"unsignedLong",Ft+"unsignedInt",Ft+"unsignedShort",Ft+"unsignedByte",Ft+"positiveInteger"],Rt=/^[a-z][a-z0-9+.-]*:/i,Bt=/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i,Dt=/(?:^|\/)\.\.?(?:$|[\/#?])/,qt=["mininclusive","minexclusive","maxinclusive","maxexclusive"];y._setBase=function(e){e||(e=null),(y._base=e)&&(y._basePath=e.replace(/[^\/?]*(?:\?.*)?$/,""),e=e.match(Bt),y._baseRoot=e[0],y._baseScheme=e[1])};var Mt=0;y._resetBlanks=function(){Mt=0},y.reset=function(){y._prefixes=y._imports=y.valueExprDefns=y.shapes=y.productions=y.start=y.startActs=null,y._base=y._baseIRI=y._baseIRIPath=y._baseIRIRoot=null};var Lt;y._setFileName=function(e){Lt=e};var Nt={"\\":"\\","'":"'",'"':'"',t:"\t",b:"\b",n:"\n",r:"\r",f:"\f"},Ut={"\\":"\\","%":"%"},$t={"\\":"\\","'":"'",'"':'"',n:"\n",r:"\r",t:"\t",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},Ht={},Vt={type:"Shape"},Kt={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,r=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var n=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),r.length-1&&(this.yylineno-=r.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var r,n,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(n=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],r=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,r,n;this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!t||r[0].length>t[0].length)){if(t=r,n=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(r,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,r,n){switch(r){case 0:break;case 1:return 70;case 2:return 71;case 3:return 176;case 4:return 72;case 5:return 190;case 6:return 148;case 7:return 97;case 8:return 96;case 9:return 88;case 10:return"ANON";case 11:return 19;case 12:return 21;case 13:return 188;case 14:return 89;case 15:return 191;case 16:return 182;case 17:case 18:return t.yytext=l(t.yytext,3),183;case 19:case 20:return t.yytext=l(t.yytext,1),183;case 21:case 22:return t.yytext=u(t.yytext,3),98;case 23:case 24:return t.yytext=u(t.yytext,1),98;case 25:return 18;case 26:return 20;case 27:return 23;case 28:return 26;case 29:return 34;case 30:return"IT_VIRTUAL";case 31:return 115;case 32:return 118;case 33:return 73;case 34:return 85;case 35:return 84;case 36:return 86;case 37:return 49;case 38:return 46;case 39:return 38;case 40:return 100;case 41:return 101;case 42:return 102;case 43:return 103;case 44:return 90;case 45:return 91;case 46:return 92;case 47:return 104;case 48:return 105;case 49:return 27;case 50:return 178;case 51:return 107;case 52:return 109;case 53:return 177;case 54:return"||";case 55:return 126;case 56:return 131;case 57:return 63;case 58:return 64;case 59:return 150;case 60:return 152;case 61:return 136;case 62:return"!";case 63:return 99;case 64:return 149;case 65:return 65;case 66:return 164;case 67:return 132;case 68:return 145;case 69:return 146;case 70:return 147;case 71:return 165;case 72:return 181;case 73:return 186;case 74:return 187;case 75:return 7;case 76:return'unexpected word "'+t.yytext+'"';case 77:return"invalid character "+t.yytext}},rules:[/^(?:\s+|(#[^\u000a\u000d]*|\/\*([^*]|\*([^\/]|\\\/))*\*\/))/,/^(?:(@(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?)?:)(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|:|[0-9]|((%([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))|(\\(_|~|\.|-|!|\$|&|'|\(|\)|\*|\+|,|;|=|\/|\?|#|@|%))))(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.|:|((%([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))|(\\(_|~|\.|-|!|\$|&|'|\(|\)|\*|\+|,|;|=|\/|\?|#|@|%))))*))))/,/^(?:(@((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?)?:)))/,/^(?:(@([A-Za-z])+((-([0-9A-Za-z])+))*))/,/^(?:@)/,/^(?:(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?)?:)(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|:|[0-9]|((%([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))|(\\(_|~|\.|-|!|\$|&|'|\(|\)|\*|\+|,|;|=|\/|\?|#|@|%))))(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.|:|((%([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))|(\\(_|~|\.|-|!|\$|&|'|\(|\)|\*|\+|,|;|=|\/|\?|#|@|%))))*)))/,/^(?:(\{((([+-])?([0-9])+))((,(((([+-])?([0-9])+))|\*)?))?\}))/,/^(?:(([+-])?((([0-9])+\.([0-9])*(([Ee]([+-])?([0-9])+)))|((\.)?([0-9])+(([Ee]([+-])?([0-9])+))))))/,/^(?:(([+-])?([0-9])*\.([0-9])+))/,/^(?:(([+-])?([0-9])+))/,/^(?:{ANON})/,/^(?:(<([^\u0000-\u0020<>\"{}|^`\\]|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*>))/,/^(?:((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?)?:))/,/^(?:a\b)/,/^(?:(\/([^\u002f\u005C\u000A\u000D]|\\[nrt\\|.?*+(){}$\u002D\u005B\u005D\u005E\/]|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))+\/[smix]*))/,/^(?:(_:((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|[0-9])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?))/,/^(?:(\{([^%\\]|\\[%\\]|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*%\}))/,/^(?:('''(('|'')?([^\'\\]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))))*'''(@([A-Za-z])+((-([0-9A-Za-z])+))*)))/,/^(?:("""(("|"")?([^\"\\]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))))*"""(@([A-Za-z])+((-([0-9A-Za-z])+))*)))/,/^(?:('([^\u0027\u005c\u000a\u000d]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*'(@([A-Za-z])+((-([0-9A-Za-z])+))*)))/,/^(?:("([^\u0022\u005c\u000a\u000d]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*"(@([A-Za-z])+((-([0-9A-Za-z])+))*)))/,/^(?:('''(('|'')?([^\'\\]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))))*'''))/,/^(?:("""(("|"")?([^\"\\]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))))*"""))/,/^(?:('([^\u0027\u005c\u000a\u000d]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*'))/,/^(?:("([^\u0022\u005c\u000a\u000d]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*"))/,/^(?:([Bb][Aa][Ss][Ee]))/,/^(?:([Pp][Rr][Ee][Ff][Ii][Xx]))/,/^(?:([iI][mM][pP][oO][rR][tT]))/,/^(?:([sS][tT][aA][rR][tT]))/,/^(?:([eE][xX][tT][eE][rR][nN][aA][lL]))/,/^(?:([Vv][Ii][Rr][Tt][Uu][Aa][Ll]))/,/^(?:([Cc][Ll][Oo][Ss][Ee][Dd]))/,/^(?:([Ee][Xx][Tt][Rr][Aa]))/,/^(?:([Ll][Ii][Tt][Ee][Rr][Aa][Ll]))/,/^(?:([Bb][Nn][Oo][Dd][Ee]))/,/^(?:([Ii][Rr][Ii]))/,/^(?:([Nn][Oo][Nn][Ll][Ii][Tt][Ee][Rr][Aa][Ll]))/,/^(?:([Aa][Nn][Dd]))/,/^(?:([Oo][Rr]))/,/^(?:([No][Oo][Tt]))/,/^(?:([Mm][Ii][Nn][Ii][Nn][Cc][Ll][Uu][Ss][Ii][Vv][Ee]))/,/^(?:([Mm][Ii][Nn][Ee][Xx][Cc][Ll][Uu][Ss][Ii][Vv][Ee]))/,/^(?:([Mm][Aa][Xx][Ii][Nn][Cc][Ll][Uu][Ss][Ii][Vv][Ee]))/,/^(?:([Mm][Aa][Xx][Ee][Xx][Cc][Ll][Uu][Ss][Ii][Vv][Ee]))/,/^(?:([Ll][Ee][Nn][Gg][Tt][Hh]))/,/^(?:([Mm][Ii][Nn][Ll][Ee][Nn][Gg][Tt][Hh]))/,/^(?:([Mm][Aa][Xx][Ll][Ee][Nn][Gg][Tt][Hh]))/,/^(?:([Tt][Oo][Tt][Aa][Ll][Dd][Ii][Gg][Ii][Tt][Ss]))/,/^(?:([Ff][Rr][Aa][Cc][Tt][Ii][Oo][Nn][Dd][Ii][Gg][Ii][Tt][Ss]))/,/^(?:=)/,/^(?:\/\/)/,/^(?:\{)/,/^(?:\})/,/^(?:&)/,/^(?:\|\|)/,/^(?:\|)/,/^(?:,)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\$)/,/^(?:!)/,/^(?:\^\^)/,/^(?:\^)/,/^(?:\.)/,/^(?:~)/,/^(?:;)/,/^(?:\*)/,/^(?:\+)/,/^(?:\?)/,/^(?:-)/,/^(?:%)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:$)/,/^(?:[a-zA-Z0-9_-]+)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77],inclusive:!0}}};return wt.lexer=Kt,y.prototype=wt,wt.Parser=y,new y}();void 0!==e&&void 0!==r&&(r.parser=i,r.Parser=i.Parser,r.parse=function(){return i.parse.apply(i,arguments)},r.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),n.exit(1));var i=e("fs").readFileSync(e("path").normalize(t[1]),"utf8");return r.parser.parse(i)},void 0!==t&&e.main===t&&r.main(n.argv.slice(1)))}).call(this,e("_process"))},{"./ShExUtil":4,_process:346,fs:151,path:338}],2:[function(e,t,r){(function(n,i){var a=function(){function t(e,t){var r;return"-"===e?new m(function(t,r){var i=[];n.stdin.setEncoding("utf8"),n.stdin.on("data",function(e){i.push(e)}),n.stdin.on("end",function(){t({text:i.join(""),url:e})}),n.stdin.on("error",function(e){r(e)})}):e.match("^[a-z]+://.")&&!e.match("^file://.")?function(e,t){return"function"==typeof $?m.resolve($.ajax({accepts:{mycustomtype:"text/shex,text/turtle,*/*"},url:e,dataType:"text"})).then(function(t){return{text:t,url:e}}).catch(t=>{throw"GET <"+e+"> failed: "+t.complete().status}):d(t?{uri:e,headers:{Accept:t}}:e).then(function(t){return{text:t,url:e}})}(e,t):(r=e.match("^data:([^,]+),(.*)$"))?m.resolve({text:r[2],url:r[0]}):new m(function(t,r){var i=e,a=i.match("^file://[^/]*(/.*)$");a&&(i=a[1]),l.readFile(i,"utf8",function(i,o){i?r(i):t({text:o,url:a?e:"file://"+g.resolve(n.cwd(),e)})})})}function r(e,r,n,i,a,o,s){function c(e){var t=l(e.url,n);try{return p.merge(a,e.schema,!0,!0),t.prefixes=a.prefixes,t.base=a.base,s(e.schema),m.resolve([n,e.url])}catch(t){var r=Error("error merging schema object "+e.schema+": "+t);return r.stack=t.stack,m.reject(r)}}function u(e){return t(e,n).then(function(e){return i(e.text,n,e.url,a,l(e.url,n),o,s)})}function l(e,t){var n={mediaType:t,url:e,base:e,prefixes:{}};return r.push(n),n}return e.map(function(e){return"object"==typeof e?c(e):u(e)})}function a(){function e(e,o){e.then(function(e){i[o]=e,++a===n.length&&t(i)}).catch(function(e){r(e)})}var t,r,n=[],i=[],a=0,o=new m(function(e,n){t=e,r=n});return o.all=function(t){return t.forEach(function(t,r){n.push(t),e(t,r)}),o},o.add=function(t){return n.push(t),e(t,n.length-1),o},o}function o(e,t,r,n,i,a,o){var s=a&&"parser"in a?a.parser:h.construct(r,{},a);try{var c=s.parse(e);return c.base===r&&delete c.base,p.merge(n,c,!0,!0),i.prefixes=n.prefixes,i.base=n.base||i.base,o(c),m.resolve([t,r])}catch(e){var u=Error("error parsing ShEx "+r+": "+e);return m.reject(u)}}function s(e,t,r,n,i,a,o){try{var s=p.ShExJtoAS(JSON.parse(e));return p.merge(n,s,!0,!0),i.prefixes=n.prefixes,i.base=n.base,o(s),m.resolve([t,r])}catch(e){var c=Error("error parsing JSON "+r+": "+e);return m.reject(c)}}function c(e,t,r,n,i,a){return new m(function(a,o){f.Parser({documentIRI:r,blankNodePrefix:"",format:"text/turtle"}).parse(e,function(e,s,c){c&&(i.prefixes=c,n.addPrefixes(c)),e?o("error parsing "+r+": "+e):s?n.addTriple(s):(i.base=this._base,a([t,r]))})})}function u(e,t,r,n,i,a){return new m(function(a,o){var s=JSON.parse(e);v.toRDF(s,{format:"application/nquads",base:r},function(e,s){e?o("error parsing JSON-ld "+r+": "+e):(i.prefixes={},i.base=r,a(c(s,t,r,n,i)))})})}var l=e("fs"),f=e("n3"),p=e("../lib/ShExUtil"),h=e("../lib/ShExParser"),d=e("request-promise"),m=e("promise"),g=e("path"),v=e("jsonld");return{load:function(e,n,i,l,h,d){function m(e){"imports"in e&&e.imports.map(function(e){return y?y(e):e}).filter(function(e){return-1===b.indexOf(e)}).map(e=>{b.push(e),_.add(t(e).then(function(e){var t={url:e.url,base:e.url,prefixes:{}};return o(e.text,"text/shex",e.url,g.schema,t,h,m)}))})}var g={schema:p.emptySchema(),data:f.Store(),schemaMeta:[],dataMeta:[]},v=[],b=e.concat(n).map(e=>"object"==typeof e?e.url:e),y=null;h&&"iriTransform"in h&&(y=h.iriTransform,delete h.iriTransform);var _=a();return v=v.concat(r(e,g.schemaMeta,"text/shex",o,g.schema,h,m)).concat(r(n,g.schemaMeta,"text/json",s,g.schema,h,m)).concat(r(i,g.dataMeta,"text/turtle",c,g.data,d)).concat(r(l,g.dataMeta,"application/ld+json",u,g.data,d)),_.all(v).then(function(e){return g.schemaMeta.length>0&&p.isWellDefined(g.schema),g})},loadExtensions:function(){return l.readdirSync(i+"/../extensions").reduce(function(t,r){var n=i+"/../extensions/"+r+"/module";try{var a=e(n);return t[a.url]=a,t}catch(e){return console.warn('ShEx extension "'+r+'" not loadable: '+e),t}},{})},GET:t,loadShExImports_NotUsed:function(e,r,n){function i(e){var s=r.parse(e.text);p.merge(o,s,!1,!0);var c="imports"in s?s.imports.map(function(e){return n?n(e):e}).filter(function(e){return-1===a.indexOf(e)}):[];return c.length?m.all(c.map(e=>(a.push(e),t(e).then(i)))).then(e=>null):null}var a=[e],o={type:"Schema"};return t(e).then(i).then(function(){return p.isWellDefined(o),o})}}}();void 0!==e&&void 0!==r&&(t.exports=a)}).call(this,e("_process"),"/lib")},{"../lib/ShExParser":3,"../lib/ShExUtil":4,_process:346,fs:151,jsonld:266,n3:313,path:338,promise:347,"request-promise":388}],3:[function(e,t,r){var n=function(){void 0!==e&&void 0!==r?(ShExJison=e("./ShExJison").Parser,ShExUtil=e("./ShExUtil")):ShExJison=ShExJison.Parser;return{construct:function(e,t,r){function n(){ShExJison._prefixes=Object.create(i),ShExJison._imports=[],ShExJison._setBase(e),ShExJison._setFileName(e);try{return ShExJison.prototype.parse.apply(o,arguments)}catch(i){var t="lexer"in o.yy?o.yy.lexer.yylineno+1:1,r="lexer"in o.yy?o.yy.lexer.showPosition():"",a=Error(`${e}(${t}): ${i.message}\n${r}`);throw Error.captureStackTrace(a,n),o.reset(),a}}r=r||{};var i={};for(var a in t||{})i[a]=t[a];var o=new ShExJison;return o.parse=n,o._setBase=function(t){ShExJison._setBase,e=t},o._setFileName=ShExJison._setFileName,o._setOptions=function(e){ShExJison.options=e},o._resetBlanks=ShExJison._resetBlanks,o.reset=ShExJison.reset,ShExJison.options=r,o}}}();void 0!==e&&void 0!==r&&(t.exports=n)},{"./ShExJison":1,"./ShExUtil":4}],4:[function(t,r,n){var i=function(){function r(e){e||(e={});for(var t,r=1,n=arguments.length;r<n&&(t=arguments[r]||{});r++)for(var i in t)e[i]=t[i];return e}function n(e){return"object"!=typeof e||"value"in e&&Object.keys(e).reduce((e,t)=>!1===e?e:-1!==["value","type","language"].indexOf(t),!0)}function i(e){if("object"!=typeof e)return e;var t='"'+e.value+'"';return"language"in e?t+"@"+e.language:"type"in e?t+"^^"+e.type:t}function a(e,t){for(var r in h)t?e.prototype[r]=o(h[r]):e[r]=h[r];return e}function o(e){return function(t){return e(this,t)}}var s=t("n3"),c=t("util");const u={};u._namespace="http://www.w3.org/ns/shex#",["Schema","@context","imports","startActs","start","shapes","ShapeOr","ShapeAnd","shapeExprs","nodeKind","NodeConstraint","iri","bnode","nonliteral","literal","datatype","length","minlength","maxlength","pattern","flags","mininclusive","minexclusive","maxinclusive","maxexclusive","totaldigits","fractiondigits","values","ShapeNot","shapeExpr","Shape","virtual","closed","extra","expression","inherit","semActs","ShapeRef","reference","ShapeExternal","EachOf","OneOf","expressions","min","max","annotation","TripleConstraint","inverse","negated","predicate","valueExpr","Inclusion","include","Language","languageTag","IriStem","LiteralStem","LanguageStem","stem","IriStemRange","LiteralStemRange","LanguageStemRange","exclusion","Wildcard","SemAct","name","code","Annotation","object"].forEach(e=>{u[e]=u._namespace+e});const l={};l._namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#",["type","first","rest","nil"].forEach(e=>{l[e]=l._namespace+e});const f={};var p=-1,h={SX:u,RDF:l,version:function(){return"0.5.0"},Visitor:function(){function e(e,t){var r={};return Object.keys(e).forEach(function(n){r[n]=t(e[n])}),r}var t=this,i={runtimeError:function(e){throw e},visitSchema:function(e){var r={type:"Schema"};return t._expect(e,"type","Schema"),this._maybeSet(e,r,"Schema",["prefixes","base","imports","startActs","start","shapes","productions"]),r},visitPrefixes:function(t){return void 0===t?void 0:e(t,function(e){return e})},visitIRI:function(e){return e},visitImports:function(e){var t=this;return e.map(function(e){return t.visitIRI(e)})},visitStartActs:function(e){var t=this;return void 0===e?void 0:e.map(function(e){return t.visitSemAct(e)})},visitSemActs:function(e){var t=this;if(void 0!==e)return ret=[],Object.keys(e).forEach(function(r){ret.push(t.visitSemAct(e[r],r))}),ret},visitSemAct:function(e,r){var n={type:"SemAct"};return t._expect(e,"type","SemAct"),this._maybeSet(e,n,"SemAct",["name","code"]),n},visitShapes:function(e){var t=this;if(void 0!==e){var r={};return Object.keys(e).forEach(function(n){r[n]=t.visitShapeExpr(e[n],n)}),r}},visitProductions:function(e){var t=this;if(void 0!==e){var r={};return Object.keys(e).forEach(function(n){r[n]=t.visitExpression(e[n],n)}),r}},visitShapeExpr:function(e,t){var r="Shape"===e.type?this.visitShape(e,t):"NodeConstraint"===e.type?this.visitNodeConstraint(e,t):"ShapeAnd"===e.type?this.visitShapeAnd(e,t):"ShapeOr"===e.type?this.visitShapeOr(e,t):"ShapeNot"===e.type?this.visitShapeNot(e,t):"ShapeRef"===e.type?this.visitShapeRef(e):"ShapeExternal"===e.type?this.visitShapeExternal(e):null;if(null===r)throw Error("unexpected shapeExpr type: "+e.type);return r},_visitShapeGroup:function(e,t){var r=this,n={type:e.type};return"id"in e&&(n.id=e.id),n.shapeExprs=e.shapeExprs.map(function(e){return r.visitShapeExpr(e,t)}),n},visitShapeNot:function(e,t){var r={type:e.type};return"id"in e&&(r.id=e.id),r.shapeExpr=this.visitShapeExpr(e.shapeExpr,t),r},visitShape:function(e,r){var n={type:"Shape"};return t._expect(e,"type","Shape"),this._maybeSet(e,n,"Shape",["id","closed","expression","extra","semActs","annotations"]),n},visitNodeConstraint:function(e,r){var n={type:"NodeConstraint"};return t._expect(e,"type","NodeConstraint"),this._maybeSet(e,n,"NodeConstraint",["id","nodeKind","datatype","pattern","flags","length","reference","minlength","maxlength","mininclusive","minexclusive","maxinclusive","maxexclusive","totaldigits","fractiondigits","values"]),n},visitShapeRef:function(e){return{type:"ShapeRef",reference:e.reference}},visitShapeExternal:function(e){return r("id"in e?{id:e.id}:{},{type:"ShapeExternal"})},_visitGroup:function(e,t){var r=this,n=Object.assign("id"in e?{id:null}:{},{type:e.type});return n.expressions=e.expressions.map(function(e){return r.visitExpression(e)}),this._maybeSet(e,n,"expr",["id","min","max","annotations","semActs"],["expressions"])},visitTripleConstraint:function(e){return this._maybeSet(e,Object.assign("id"in e?{id:null}:{},{type:"TripleConstraint"}),"TripleConstraint",["id","inverse","predicate","valueExpr","min","max","annotations","semActs"])},visitExpression:function(e){var t="TripleConstraint"===e.type?this.visitTripleConstraint(e):"OneOf"===e.type?this.visitOneOf(e):"EachOf"===e.type?this.visitEachOf(e):"Inclusion"===e.type?this.visitInclusion(e):null;if(null===t)throw Error("unexpected expression type: "+e.type);return t},visitValues:function(e){var t=this;return e.map(function(e){return n(e)||"Language"===e.type?e:t.visitStemRange(e)})},visitStemRange:function(e){var r=this;"type"in e||r.runtimeError(Error("expected "+JSON.stringify(e)+" to have a 'type' attribute."));var i=["IriStem","LiteralStem","LanguageStem","IriStemRange","LiteralStemRange","LanguageStemRange"];-1===i.indexOf(e.type)&&r.runtimeError(Error("expected type attribute '"+e.type+"' to be in '"+i+"'."));var a;return n(e)?(t._expect(e.stem,"type","Wildcard"),a={type:e.type,stem:{type:"Wildcard"}}):a={type:e.type,stem:e.stem},e.exclusions&&(a.exclusions=e.exclusions.map(function(e){return r.visitExclusion(e)})),a},visitExclusion:function(e){if(n(e))return e;"type"in e||_Visitor.runtimeError(Error("expected "+JSON.stringify(e)+" to have a 'type' attribute."));var t=["IriStem","LiteralStem","LanguageStem"];return-1===t.indexOf(e.type)&&_Visitor.runtimeError(Error("expected type attribute '"+e.type+"' to be in '"+t+"'.")),{type:e.type,stem:e.stem}},visitInclusion:function(e){var r={type:"Inclusion"};return t._expect(e,"type","Inclusion"),this._maybeSet(e,r,"Inclusion",["include"]),r},_maybeSet:function(e,t,r,n,i){var a=this,o=Object.keys(e).reduce(function(e,t){return"type"===t||-1!==n.indexOf(t)||i&&-1!==i.indexOf(t)?e:e.concat(t)},[]);if(o.length>0){var s=Error("unknown propert"+(o.length>1?"ies":"y")+": "+o.map(function(e){return'"'+e+'"'}).join(",")+" in "+r+": "+JSON.stringify(e));throw Error.captureStackTrace(s,this._maybeSet),s}return n.forEach(function(r){var n="visit"+r.charAt(0).toUpperCase()+r.slice(1);if(r in e){var i=a[n];if("function"!=typeof i)throw Error(n+" not found in Visitor");var o=i.call(a,e[r]);void 0!==o&&(t[r]=o)}}),t},_visitValue:function(e){return e},_visitList:function(e){return e.slice()}};return i.visitBase=i.visitStart=i.visitVirtual=i.visitClosed=i._visitValue,i.visitInherit=i.visitExtra=i.visitAnnotations=i._visitList,i.visitInverse=i.visitPredicate=i._visitValue,i.visitName=i.visitId=i.visitCode=i.visitMin=i.visitMax=i._visitValue,i.visitType=i.visitNodeKind=i.visitDatatype=i.visitPattern=i.visitFlags=i.visitLength=i.visitMinlength=i.visitMaxlength=i.visitMininclusive=i.visitMinexclusive=i.visitMaxinclusive=i.visitMaxexclusive=i.visitTotaldigits=i.visitFractiondigits=i._visitValue,i.visitOneOf=i.visitEachOf=i._visitGroup,i.visitShapeAnd=i.visitShapeOr=i._visitShapeGroup,i.visitShapeRef=i.visitInclude=i._visitValue,i.visitValueExpr=i.visitShapeExpr,i},ShExJVisitor:function(e){var t=h.Visitor(),r=t.visitShapeExpr,n=t.visitShape,i=t.visitExpression;return t.visitShapeExpr=t.visitValueExpr=function(e,t){return"string"==typeof e?{type:"ShapeRef",reference:e}:r.call(this,e,t)},t.visitShape=function(e,t){var r=n.call(this,e,t);return"extra"in e&&r.extra.sort(),r},t.visitExpression=function(t){var r="string"==typeof t?{type:"Inclusion",include:t}:i.call(this,t);return"object"==typeof t&&"id"in t&&(e[t.id]=r),r},t},ShExJtoAS:function(e){var t=this;delete e["@context"];var r={};if("start"in e){var n=t.ShExJVisitor(r);e.start=n.visitShapeExpr(e.start)}if("shapes"in e){var i={};e.shapes.forEach(e=>{var n=e.id;delete e.id;var a=t.ShExJVisitor(r);i[n]=a.visitShapeExpr(e)}),e.shapes=i}return Object.keys(r).length>0&&(e.productions=r),e},AStoShExJ:function(e,t){t||(delete e.prefixes,delete e.base),delete e.productions,e["@context"]="http://www.w3.org/ns/shex.jsonld";var r=h.Visitor();if(r.visitShapeRef=function(e){return e.reference},r.visitInclusion=function(e){return e.include},"start"in e&&(e.start=r.visitShapeExpr(e.start)),"shapes"in e){var n=[];for(var i in e.shapes)n.push(Object.assign({id:i},r.visitShapeExpr(e.shapes[i])));e.shapes=n}return e},ShExRVisitor:function(e){var t=h.Visitor(),r={},n=t.visitShapeExpr,i=(t.visitValueExpr,t.visitExpression);return t.keepShapeExpr=n,t.visitShapeExpr=t.visitValueExpr=function(t,r){if("string"==typeof t)return t;if("id"in t){if(-1!==e.indexOf(t.id)||1===Object.keys(t).length)return t.id;delete t.id}return n.call(this,t,r)},t.visitExpression=function(e){if("string"==typeof e)return e;if("id"in e&&e.id in r)return r[e.id].refCount++,e.id;var t=i.call(this,e);return r[e.id]={refCount:1,expr:t},t},t.cleanIds=function(){for(var e in r){var t=r[e];1===t.refCount&&s.Util.isBlank(t.expr.id)&&delete t.expr.id}},t},ShExRtoShExJ:function(e){var t=[];"shapes"in e&&(t=t.concat(e.shapes.map(e=>e.id)));var r=this.ShExRVisitor(t);return"start"in e&&(e.start=r.visitShapeExpr(e.start)),"shapes"in e&&(e.shapes=e.shapes.map(e=>r.keepShapeExpr(e))),r.cleanIds(),e},canonicalize:function(e,t){var r=JSON.parse(JSON.stringify(e));delete r.prefixes,delete r.base;var n=h.Visitor(),i=[],a=n.visitInclusion,o=n.visitExpression;return n.visitInclusion=function(t){return-1===i.indexOf(t.include)&&"productions"in e&&t.include in e.productions?(i.push(t.include),o.call(n,e.productions[t.include])):a.call(n,t)},n.visitExpression=function(t){return"id"in t?-1===i.indexOf(t.id)?(i.push(t.id),o.call(n,e.productions[t.id])):{type:"Inclusion",include:t.id}:o.call(n,t)},t&&(n.visitIRI=function(e){return e.replace(t,"")},"imports"in r&&(r.imports=n.visitImports(r.imports))),"shapes"in r&&Object.keys(r.shapes).sort().forEach(e=>{"extra"in r.shapes[e]&&r.shapes[e].extra.sort(),r.shapes[e]=n.visitShapeExpr(r.shapes[e])}),r},BiDiClosure:function(){return{needs:{},neededBy:{},inCycle:[],test:function(){function e(e,t){var r=JSON.stringify(e),n=JSON.stringify(t);if(r!==n)throw Error(r+" !== "+n)}this.add(2,3),e(this.needs,{2:[3]}),e(this.neededBy,{3:[2]}),this.add(1,2),e(this.needs,{1:[2,3],2:[3]}),e(this.neededBy,{3:[2,1],2:[1]}),this.add(1,3),e(this.needs,{1:[2,3],2:[3]}),e(this.neededBy,{3:[2,1],2:[1]}),this.add(3,4),e(this.needs,{1:[2,3,4],2:[3,4],3:[4]}),e(this.neededBy,{3:[2,1],2:[1],4:[3,2,1]}),this.add(6,7),e(this.needs,{6:[7],1:[2,3,4],2:[3,4],3:[4]}),e(this.neededBy,{7:[6],3:[2,1],2:[1],4:[3,2,1]}),this.add(5,6),e(this.needs,{5:[6,7],6:[7],1:[2,3,4],2:[3,4],3:[4]}),e(this.neededBy,{7:[6,5],6:[5],3:[2,1],2:[1],4:[3,2,1]}),this.add(5,7),e(this.needs,{5:[6,7],6:[7],1:[2,3,4],2:[3,4],3:[4]}),e(this.neededBy,{7:[6,5],6:[5],3:[2,1],2:[1],4:[3,2,1]}),this.add(7,8),e(this.needs,{5:[6,7,8],6:[7,8],7:[8],1:[2,3,4],2:[3,4],3:[4]}),e(this.neededBy,{7:[6,5],6:[5],8:[7,6,5],3:[2,1],2:[1],4:[3,2,1]}),this.add(4,5),e(this.needs,{1:[2,3,4,5,6,7,8],2:[3,4,5,6,7,8],3:[4,5,6,7,8],4:[5,6,7,8],5:[6,7,8],6:[7,8],7:[8]}),e(this.neededBy,{2:[1],3:[2,1],4:[3,2,1],5:[4,3,2,1],6:[5,4,3,2,1],7:[6,5,4,3,2,1],8:[7,6,5,4,3,2,1]})},add:function(e,t,r){var n=this;e in n.needs||(n.needs[e]=[]),t in n.neededBy||(n.neededBy[t]=[]),n.needs[e]=n.needs[e].concat([t],n.needs[t]).filter(function(e,t,r){return void 0!==e&&r.indexOf(e)===t}),n.neededBy[t]=n.neededBy[t].concat([e],n.neededBy[e]).filter(function(e,t,r){return void 0!==e&&r.indexOf(e)===t}),e in this.neededBy&&this.neededBy[e].forEach(function(e){n.needs[e]=n.needs[e].concat([t],n.needs[t]).filter(function(e,t,r){return void 0!==e&&r.indexOf(e)===t})}),t in this.needs&&this.needs[t].forEach(function(t){n.neededBy[t]=n.neededBy[t].concat([e],n.neededBy[e]).filter(function(e,t,r){return void 0!==e&&r.indexOf(e)===t})}),-1!==n.needs[e].indexOf(e)&&(n.inCycle=n.inCycle.concat(n.needs[e]))},trim:function(){function e(e){for(var t=e.length-1;t>-1;--t)e.indexOf(e[t])<t&&e.splice(t,t+1)}for(k in this.needs)e(this.needs[k]);for(k in this.neededBy)e(this.neededBy[k])},foundIn:{},addIn:function(e,t){this.foundIn[e]=t}}},getDependencies:function(e,t){return t=t||this.BiDiClosure(),Object.keys(e.shapes||[]).forEach(function(r){function n(e,a){if("ShapeOr"===e.type||"ShapeAnd"===e.type)e.shapeExprs.forEach(function(e){n(e,a)});else if("ShapeNot"===e.type)n(e.shapeExpr,1^a);else if("Shape"===e.type)i(e,a);else if("NodeConstraint"===e.type);else if("ShapeRef"===e.type)t.add(r,e.reference);else if("ShapeExternal"!==e.type)throw Error("expected Shape{And,Or,Ref,External} or NodeConstraint in "+c.inspect(e))}function i(e,i){function a(e,i){if("id"in e&&t.addIn(e.id,r),"TripleConstraint"===e.type)!function(e,i){if(e.valueExpr&&n(e.valueExpr,i),i&&-1!==t.inCycle.indexOf(r))throw Error("Structural error: "+r+" appears in negated cycle")}(e,i);else if("OneOf"===e.type||"EachOf"===e.type)!function(e,t){e.forEach(function(e){a(e,t)})}(e.expressions);else{if("Inclusion"!==e.type)throw Error("expected {TripleConstraint,OneOf,EachOf,Inclusion} in "+e);t.add(r,e.include)}}e.inherit&&e.inherit.length>0&&e.inherit.forEach(function(e){t.add(r,e)}),e.expression&&a(e.expression,i)}n(e.shapes[r],0)}),t},partition:function(e,t,r,n){t=t instanceof Array?t:[t],r=r||this.getDependencies(e),n=n||function(e,t){throw new Error("Error: can't find shape "+(t?t+" dependency "+e:e))};var i={};for(var a in e)i[a]="shapes"===a?{}:e[a];return t.forEach(function(t){t in e.shapes?(i.shapes[t]=e.shapes[t],t in r.needs&&r.needs[t].forEach(function(a){if(a in e.shapes)i.shapes[a]=e.shapes[a];else if(a in e.productions){var o=r.foundIn[a];i.shapes[o]=e.shapes[o],i.productions[a]=e.productions[a]}else n(a,t)})):n(t)}),i},flatten:function(e,t,r){return this.Visitor().visitSchema(e)},emptySchema:function(){return{type:"Schema"}},merge:function(e,t,r,n){var i=n?e:this.emptySchema();return"productions"in e&&(i.productions=e.productions),"productions"in t&&("productions"in e&&!r||(i.productions=t.productions)),"base"in e&&(i.base=e.base),"base"in t&&("base"in e&&!r||(i.base=t.base)),function(n){Object.keys(e[n]||{}).forEach(function(t){n in i||(i[n]={}),i[n][t]=e[n][t]}),Object.keys(t[n]||{}).forEach(function(a){n in e&&a in e[n]&&!r||(n in i||(i[n]={}),i[n][a]=t[n][a])})}("prefixes"),"startActs"in e&&(i.startActs=e.startActs),"startActs"in t&&("startActs"in e&&!r||(i.startActs=t.startActs)),"start"in e&&(i.start=e.start),"start"in t&&("start"in e&&!r||(i.start=t.start)),Object.keys(e.shapes||{}).forEach(function(t){"shapes"in i||(i.shapes={}),i.shapes[t]=e.shapes[t]}),Object.keys(t.shapes||{}).forEach(function(n){"shapes"in e&&n in e.shapes&&!r||("shapes"in i||(i.shapes={}),i.shapes[n]=t.shapes[n])}),i},absolutizeResults:function(e,t){function r(e,t){if("object"==typeof t)return t;var r=s.Parser({documentIRI:e});return r._readSubject({type:"IRI",value:t}),r._subject}function n(e,n){-1!==["shape","reference","node","subject","predicate","object"].indexOf(e)&&s.Util.isIRI(n[e])&&(n[e]=r(t,n[e]))}function i(e){Object.keys(e).forEach(function(t){"object"==typeof e[t]&&i(e[t]),n&&n(t,e)})}return i(e),e},validateSchema:function(e){var t=this.Visitor(),r=null,n=!1,i=t.visitTripleConstraint;t.visitTripleConstraint=function(e){n=!0;var r=i.call(t,e);return n=!1,r};var a=t.visitShapeRef;t.visitShapeRef=function(i){if(!(i.reference in e.shapes))throw Error("Structural error: reference to "+JSON.stringify(i)+" not found in schema shape expressions:\n "+Object.keys(e.shapes).map(e=>"_:"===e.substr(0,2)?e:"<"+e+">").join("\n ")+".");if(!n&&i.reference===r)throw Error("Structural error: circular reference to "+r+".");return a.call(t,i.reference)};var o=t.visitShapeExpr;t.visitShapeExpr=function(e,n){return r=n,o.call(t,e,n)};var s=t.visitInclusion;t.visitInclusion=function(r){if(!("productions"in e&&e.productions[r.include]))throw Error("Structural error: included shape "+r.include+" not found.");return s.call(t,r)},t.visitSchema(e)},isWellDefined:function(e){this.validateSchema(e);this.getDependencies(e);return e},walkVal:function(e,t){var r=this;if("NodeTest"===e.type)return null;if("ShapeTest"===e.type)return"solution"in e?r.walkVal(e.solution,t):null;if("ShapeOrResults"===e.type)return r.walkVal(e.solution,t);if("EachOfSolutions"===e.type||"OneOfSolutions"===e.type)return e.solutions.reduce((e,n)=>(n.expressions.forEach(n=>{var i=r.walkVal(n,t);i&&Object.keys(i).forEach(t=>{e[t]=t in e?e[t].concat(i[t]):i[t]})}),e),{});if("OneOfSolutions"===e.type)return e.solutions.reduce((e,n)=>(Object.assign(e,r.walkVal(n,t)),e),{});if("TripleConstraintSolutions"===e.type){if("solutions"in e){var n={},i=[];return n[e.predicate]=i,e.solutions.forEach(e=>{function n(e){if(!e)return!1;if(e.node===l.nil)return!0;if("solution"in e&&"solutions"in e.solution&&1===e.solution.solutions.length&&"expressions"in e.solution.solutions[0]&&2===e.solution.solutions[0].expressions.length&&"predicate"in e.solution.solutions[0].expressions[0]&&e.solution.solutions[0].expressions[0].predicate===l.first&&e.solution.solutions[0].expressions[1].predicate===l.rest){var a=e.solution.solutions[0].expressions,o=a[0],s=a[1].solutions[0],c=o.solutions[0],u=t(c);if("referenced"in c){var f=r.walkVal(c.referenced,t);f&&(u.nested=f)}return i.push(u),s.object===l.nil||n(s.referenced)}}var a=[];if(n(e.referenced,a))i=i.concat(a);else{var o=t(e);if("referenced"in e){var s=r.walkVal(e.referenced,t);s&&(o.nested=s)}i.push(o)}}),i.length?n:null}return null}if("Recursion"===e.type)return null;throw Error("unknown shapeExpression type in "+JSON.stringify(e))},valToValues:function(e){return this.walkVal(e,function(e){return{ldterm:e.object}})},valToExtension:function(e,t){function r(e){function n(e){if(null===a)return e;if(e.constructor===Array)return a=null,e;for(o in e){if(o in a)return a=null,e;a[o]=e[o]}return e}var i=[],a={};for(var o in e)if("extensions"===o)e[o]&&i.push(n(e[o][t]));else if("nested"===o){var s=r(e[o]);s.constructor===Array?s.forEach(n):n(s),i=i.concat(s)}else i.push(n(r(e[o])));return 1===i.length?i[0]:a||i}return r(this.walkVal(e,function(e){return{extensions:e.extensions}}))},valuesToSchema:function(e){function t(e,t,n){function i(e){return o.expr&&"nested"in e?r({id:e.ldterm},n(e.nested)):e.ldterm}var a=e[l.type][0].ldterm.substr(u._namespace.length),o=t[a];if(!o)return f;if(o.nary)return(s={type:a})[o.prop]=e[u[o.prop]].map(e=>i(e)),s;var s={type:a};return o.prop&&(s[o.prop]=i(e[u[o.prop]][0])),s}function n(e){if((s=t(e,{ShapeAnd:{nary:!0,expr:!0,prop:"shapeExprs"},ShapeOr:{nary:!0,expr:!0,prop:"shapeExprs"},ShapeNot:{nary:!1,expr:!0,prop:"shapeExpr"},ShapeRef:{nary:!1,expr:!1,prop:"reference"},ShapeExternal:{nary:!1,expr:!1,prop:null}},n))!==f)return s;var o=e[l.type][0].ldterm;if(o===u.Shape){s={type:"Shape"};return["closed"].forEach(t=>{u[t]in e&&(s[t]=!!e[u[t]][0].ldterm.value)}),u.extra in e&&(s.extra=e[u.extra].map(e=>e.ldterm)),u.expression in e&&(s.expression="nested"in e[u.expression][0]?r({id:e[u.expression][0].ldterm},a(e[u.expression][0].nested)):e[u.expression][0].ldterm),u.annotation in e&&(s.annotations=e[u.annotation].map(e=>({type:"Annotation",predicate:e.nested[u.predicate][0].ldterm,object:e.nested[u.object][0].ldterm}))),u.semActs in e&&(s.semActs=e[u.semActs].map(e=>{var t={type:"SemAct",name:e.nested[u.name][0].ldterm};return u.code in e.nested&&(t.code=e.nested[u.code][0].ldterm.value),t})),s}if(o===u.NodeConstraint){var s={type:"NodeConstraint"};return u.values in e&&(s.values=e[u.values].map(e=>i(e))),u.nodeKind in e&&(s.nodeKind=e[u.nodeKind][0].ldterm.substr(u._namespace.length)),["length","minlength","maxlength","mininclusive","maxinclusive","minexclusive","maxexclusive","totaldigits","fractiondigits"].forEach(t=>{u[t]in e&&(s[t]=parseFloat(e[u[t]][0].ldterm.value))}),u.pattern in e&&(s.pattern=e[u.pattern][0].ldterm.value),u.flags in e&&(s.flags=e[u.flags][0].ldterm.value),u.datatype in e&&(s.datatype=e[u.datatype][0].ldterm),s}throw Error("unknown shapeExpr type in "+JSON.stringify(e))}function i(e,t){if("nested"in e){var r=e.nested[l.type][0].ldterm;if(-1!==[u.IriStem,u.LiteralStem,u.LanguageStem].indexOf(r)){var n=e.nested[u.stem][0].ldterm.value;return{type:r.substr(u._namespace.length),stem:n}}if(-1!==[u.Language].indexOf(r))return{type:"Language",languageTag:e.nested[u.languageTag][0].ldterm.value};if(-1!==[u.IriStemRange,u.LiteralStemRange,u.LanguageStemRange].indexOf(r)){var a=e.nested[u.stem][0],o=a;"object"==typeof a&&("object"==typeof a.ldterm?o=a.ldterm:a.ldterm.startsWith("_:")&&(o={type:"Wildcard"}));var s={type:r.substr(u._namespace.length),stem:"Wildcard"!==o.type?o.value:o};return u.exclusion in e.nested&&(s.exclusions=e.nested[u.exclusion].map(e=>i(e,r!==u.IriStemRange))),s}throw Error("unknown objectValue type in "+JSON.stringify(e))}return t?e.ldterm.value:e.ldterm}function a(e){if((i=t(e,{EachOf:{nary:!0,expr:!0,prop:"expressions"},OneOf:{nary:!0,expr:!0,prop:"expressions"},Inclusion:{nary:!1,expr:!1,prop:"include"}},a))!==f)return o(e,i),i;if(e[l.type][0].ldterm===u.TripleConstraint){var i={type:"TripleConstraint",predicate:e[u.predicate][0].ldterm};return["inverse"].forEach(t=>{u[t]in e&&(i[t]=!!e[u[t]][0].ldterm.value)}),u.valueExpr in e&&(i.valueExpr=r({id:e[u.valueExpr][0].ldterm},"nested"in e[u.valueExpr][0]?n(e[u.valueExpr][0].nested):{})),o(e,i),i}throw Error("unknown tripleExpr type in "+JSON.stringify(e))}function o(e,t){return u.min in e&&(t.min=parseInt(e[u.min][0].ldterm.value)),u.max in e&&(t.max=parseInt(e[u.max][0].ldterm.value),isNaN(t.max)&&(t.max=p)),u.annotation in e&&(t.annotations=e[u.annotation].map(e=>({type:"Annotation",predicate:e.nested[u.predicate][0].ldterm,object:e.nested[u.object][0].ldterm}))),u.semActs in e&&(t.semActs=e[u.semActs].map(e=>{var t={type:"SemAct",name:e.nested[u.name][0].ldterm};return u.code in e.nested&&(t.code=e.nested[u.code][0].ldterm.value),t})),t}var s=e;if(e[l.type][0].ldterm===u.Schema){var c={"@context":"http://www.w3.org/ns/shex.jsonld",type:"Schema"};u.startActs in s&&(c.startActs=s[u.startActs].map(e=>{var t={type:"SemAct",name:e.nested[u.name][0].ldterm};return u.code in e.nested&&(t.code=e.nested[u.code][0].ldterm.value),t})),u.imports in s&&(c.imports=s[u.imports].map(e=>e.ldterm)),e[u.start]&&(c.start=r({id:e[u.start][0].ldterm},n(e[u.start][0].nested)));var h=e[u.shapes];return h&&(c.shapes=h.map(e=>r({id:e.ldterm},n(e.nested)))),c}throw Error("unknown schema type in "+JSON.stringify(e))},valToSimple:function(e){function t(e){return e.reduce((e,t)=>(Object.keys(t).forEach(r=>{e[r]=r in e?Array.from(new Set(e[r].concat(t[r]))):t[r]}),e),{})}var r=this;if("TripleConstraintSolutions"===e.type)return"solutions"in e?e.solutions.reduce((e,n)=>{function i(e){if(!e)return!1;if(e.node===l.nil)return!0;if("solution"in e&&"solutions"in e.solution&&1===e.solution.solutions.length&&"expressions"in e.solution.solutions[0]&&2===e.solution.solutions[0].expressions.length&&"predicate"in e.solution.solutions[0].expressions[0]&&e.solution.solutions[0].expressions[0].predicate===l.first&&e.solution.solutions[0].expressions[1].predicate===l.rest){var n=e.solution.solutions[0].expressions,o=n[0],s=n[1].solutions[0],c=o.solutions[0],u={ldterm:c.object};if("referenced"in c){var f=r.valToSimple(c.referenced);f&&(u.nested=f)}return a=t(a,u),s.object===l.nil||i(s.referenced)}}if(!("referenced"in n))return{};var a={};return i(n.referenced,a)?t(e,a):t(e,r.valToSimple(n.referenced))},[]):[];if(-1!==["TripleConstraintSolutions"].indexOf(e.type))return{};if("NodeTest"===e.type)return(n={})[i(e.node)]=[e.shape],n;if("ShapeTest"===e.type){var n={};return n[i(e.node)]=[e.shape],"solution"in e?t([n].concat(r.valToSimple(e.solution))):n}if("Recursion"===e.type)return{};if("solutions"in e)return t(e.solutions.map(e=>r.valToSimple(e)));if("expressions"in e)return t(e.expressions.map(e=>r.valToSimple(e)));throw Error("unknown shapeExpression type in "+JSON.stringify(e))},simpleToShapeMap:function(e){return Object.keys(e).reduce((t,r)=>(e[r].forEach(e=>{t.push({node:r,shape:e})}),t),[])},absolutizeShapeMap:function(e,t){function r(e,t){if("object"==typeof t)return t;var r=s.Parser({documentIRI:e});return r._readSubject({type:"IRI",value:t}),r._subject}return e.map(e=>Object.assign(e,{node:r(t,e.node),shape:r(t,e.shape)}))},errsToSimple:function(t,r,n){function a(e){return e.reduce(function(e,t){var r=Object.keys(t);return e.concat(1===r.length&&"errors"===r[0]?a(t.errors):t)},[])}var o=this;if("FailureList"===t.type)return t.errors.reduce((e,t)=>e.concat(o.errsToSimple(t)),[]);if("Failure"===t.type)return["validating "+t.node+" as "+t.shape+":"].concat(a(t.errors).reduce((e,t)=>{var r=o.errsToSimple(t).map(e=>" "+e);return e.length>0?e.concat([" OR"]).concat(r):r.map(e=>" "+e)},[]));if("TypeMismatch"===t.type){var s=t.errors.constructor===Array?t.errors.reduce((e,t)=>e.concat(("string"==typeof t?[t]:o.errsToSimple(t)).map(e=>" "+e)),[]):" "+("string"==typeof e?[t.errors]:o.errsToSimple(t.errors));return["validating "+i(t.triple.object)+":"].concat(s)}if("ShapeAndFailure"===t.type)return t.errors.constructor===Array?t.errors.reduce((e,t)=>e.concat(("string"==typeof t?[t]:o.errsToSimple(t)).map(e=>" "+e)),[]):" "+("string"==typeof e?[t.errors]:o.errsToSimple(t.errors));if("ShapeOrFailure"===t.type)return t.errors.constructor===Array?t.errors.reduce((e,t)=>e.concat(" OR "+("string"==typeof t?[t]:o.errsToSimple(t))),[]):" OR "+("string"==typeof e?[t.errors]:o.errsToSimple(t.errors));if("ShapeNotFailure"===t.type)return["Node "+t.errors.node+" expected to NOT pass "+t.errors.shape];if("ExcessTripleViolation"===t.type)return["validating "+i(t.triple.object)+": exceeds cardinality"];if("ClosedShapeViolation"===t.type)return["ClosedShapeError: unexpected: {"].concat(t.unexpectedTriples.map(e=>" "+e.subject+" "+e.predicate+" "+i(e.object)+" .")).concat(["}"]);if("NodeConstraintViolation"===t.type){var c=ShEx.Writer();c._write(c._writeNodeConstraint(t.shapeExpr).join(""));var u;return c.end((e,t)=>{u=t}),["NodeConstraintError: expected to match "+u]}if("MissingProperty"===t.type)return["Missing property: "+t.property];if("NegatedProperty"===t.type)return["Unexpected property: "+t.property];if(t.constructor===Array)return t.reduce((e,t)=>{var r=o.errsToSimple(t).map(e=>" "+e);return e.length?e.concat(["AND"]).concat(r):r},[]);throw Error("unknown shapeExpression type in "+JSON.stringify(t))},resolveRelativeIRI:function(e,t){if(!s.Util.isIRI(t))return t;var r=s.Parser({documentIRI:e});return r._readSubject({type:"IRI",value:t}),r._subject},resolvePrefixedIRI:function(e,t){var r=e.indexOf(":");if(-1===r)return null;var n=t[e.substr(0,r)];return void 0===n?null:n+e.substr(r+1)},parsePassedNode:function(e,t,r,n,i){if(void 0===e||0===e.length)return n&&n(t.base)?t.base:r?r():this.NotSupplied;if("_"===e[0]&&":"===e[1])return e;if('"'===e[0]){var a=e.match(/^"((?:[^"\\]|\\")*)"(?:@(.+)|\^\^(?:<(.*)>|([^:]*):(.*)))?$/);if(!a)throw Error("malformed literal: "+e);var o=a[1],s=a[2],c=a[3],u=a[4],l=a[5],f='"'+o+'"';if(void 0!==s)return f+"@"+s;if(void 0!==u){if(!(u in t.prefixes))throw Error("error parsing node "+e+' no prefix for "'+u+'"');return f+"^^"+t.prefixes[u]+l}return void 0!==c?f+"^^"+this.resolveRelativeIRI(t.base,c):f}if(!t)return n(e)?e:this.UnknownIRI;var p="<"===e[0]&&">"===e[e.length-1];p&&(e=e.substr(1,e.length-2));var h=this.resolveRelativeIRI(t.base,e);if(n(h))return h;if(!p){var d=this.resolvePrefixedIRI(e,t.prefixes);if(null!==d&&n(d))return d}return i?i(h):this.UnknownIRI},executeQueryPromise:function(e,t){var r=t+"?query="+encodeURIComponent(e);return fetch(r,{headers:{Accept:"application/sparql-results+json"}}).then(e=>e.json()).then(e=>{var t=e.head.vars;return e.results.bindings.map(e=>t.map(t=>{var r=e[t];switch(r.type){case"uri":return r.value;case"bnode":return"_:"+r.value;case"literal":var n=r.datatype,i=r["xml:lang"];return'"'+r.value+'"'+(n?"^^"+n:i?"@"+i:"");default:throw"unknown XML results type: "+r.prop("tagName")}return e[t]}))})},executeQuery:function(e,t){var r,n=t+"?query="+encodeURIComponent(e),i=new XMLHttpRequest;i.open("GET",n,!1),i.setRequestHeader("Accept","application/sparql-results+json"),i.send();var a=(r=JSON.parse(i.responseText)).head.vars;return r.results.bindings.map(e=>a.map(t=>{var r=e[t];switch(r.type){case"uri":return r.value;case"bnode":return"_:"+r.value;case"literal":var n=r.datatype,i=r["xml:lang"];return'"'+r.value+'"'+(n?"^^"+n:i?"@"+i:"");default:throw"unknown XML results type: "+r.prop("tagName")}return e[t]}))},makeN3DB:function(e,t){return{getNeighborhood:function(r,n){var i;t&&(i=new Date,t.start(!1,r,n));var a=e.getTriplesByIRI(r,null,null,null);if(t){var o=new Date;t.end(a,o-i),i=o}t&&t.start(!0,r,n);var s=e.getTriplesByIRI(null,null,r,null);return t&&t.end(s,new Date-i),{outgoing:a,incoming:s}}}},makeQueryDB:function(e,t){function r(t,r,n){return i.executeQuery(t,e).map(e=>r?{subject:r,predicate:e[0],object:e[1]}:{subject:e[0],predicate:e[1],object:n})}function n(e){var t=i.Visitor(),r={out:[],inc:[]};return t.visitTripleConstraint=function(e){return r[e.inverse?"inc":"out"].push(e),e},e&&t.visitExpression(e),r}var i=this;return{getNeighborhood:function(e,i,a){var o,s=n(a.expression),c=s.out.map(e=>e.predicate);c=c.filter((e,t)=>c.lastIndexOf(e)===t),t&&(o=new Date,t.start(!1,e,i));var u=s.out.length>0||a.closed?r(a.closed?`SELECT ?p ?o { <${e}> ?p ?o }`:"SELECT ?p ?o {\n"+c.map(t=>` {<${e}> <${t}> ?o BIND(<${t}> AS ?p)}`).join(" UNION\n")+"\n}",e,null):[];if(t){var l=new Date;t.end(u,l-o),o=l}t&&t.start(!0,e,i);var f=s.inc.length>0?r(`SELECT ?s ?p { ?s ?p <${e}> }`,null,e):[];return t&&t.end(f,new Date-o),{outgoing:u,incoming:f}}}},NotSupplied:"-- not supplied --",UnknownIRI:"-- not found --",_expect:function(e,t,r){t in e||this._error("expected "+JSON.stringify(e)+" to have a ."+t),arguments.length>2&&e[t]!==r&&this._error("expected "+e[e]+" to equal ."+r)},_error:function(e){throw new Error(e)},unescapeText:function(e,t){var r=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\(.)/g;try{return e=e.replace(r,function(e,r,n,i){var a;if(r){if(a=parseInt(r,16),isNaN(a))throw new Error;return String.fromCharCode(a)}if(n){if(a=parseInt(n,16),isNaN(a))throw new Error;return a<65535?String.fromCharCode(a):String.fromCharCode(55296+((a-=65536)>>10),56320+(1023&a))}var o=t[i];if(!o)throw new Error("no replacement found for '"+i+"'");return o})}catch(e){return console.warn(e),""}}};return a(a)}();void 0!==t&&void 0!==n&&(r.exports=i)},{n3:313,util:458}],5:[function(e,t,r){(function(n){var i=function(){function t(e){return y.isIRI(e)?e:y.isLiteral(e)?y.getLiteralValue(e):e.substr(2)}function r(e){if('"'!==e[0])return e;var t={value:y.getLiteralValue(e)},r=y.getLiteralType(e);r&&"http://www.w3.org/2001/XMLSchema#string"!==r&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"!==r&&(t.type=r);var n=y.getLiteralLanguage(e);return n&&(t.language=n),t}function i(e){return"object"!=typeof e||"value"in e&&Object.keys(e).reduce((e,t)=>!1===e?e:-1!==["value","type","language"].indexOf(t),!0)}function a(n,m){if(!(this instanceof a))return new a(n,m);this.type="ShExValidator",m=m||{},this.options=m,this.options.or=this.options.or||"someOf",this.options.partition=this.options.partition||"exhaustive","noCache"in m&&m.noCache||(this.known={});var v=this;this.schema=n,this._expect=this.options.lax?h:p,this._optimize={},this.reset=function(){};var k=this.options.regexModule||e("../lib/regex/threaded-val-nerr");this.getAST=function(){return{type:"AST",shapes:Object.keys(this.schema.shapes).reduce(function(e,t){return e[t]={type:"ASTshape",expression:o(v.schema.shapes[t].expression,[],v.schema)},e},{})}},this.indexTripleConstraints=function(e){function t(e){"TripleConstraint"===e.type?r.push(e):"OneOf"===e.type||"EachOf"===e.type?e.expressions.forEach(function(e){t(e)}):"Inclusion"===e.type?t(n.productions[e.include]):d("unexpected expr type: "+e.type)}var r=[];return e&&t(e),r},this.emptyTracker=function(){var e=e=>e;return{recurse:e,known:e,enter:(e,t)=>{++this.depth},exit:(e,t,r)=>{--this.depth},depth:0}},this.validate=function(e,t,i,a,o){if("object"==typeof t){var s=t;if("api"===this.options.results)return s.map(t=>{var r=this.validate(e,t.node,t.shape,i,a);return{node:t.node,shape:t.shape,status:"errors"in r?"nonconformant":"conformant",appinfo:r}});var c=s.reduce((t,r)=>{var n=this.validate(e,r.node,r.shape,a,o);return"errors"in n?{passes:t.passes,failures:t.failures.concat(n)}:{passes:t.passes.concat(n),failures:t.failures}},{passes:[],failures:[]});return c.failures.length?1!==c.failures.length?{type:"FailureList",errors:c.failures}:c.failures[0]:1!==c.passes.length?{type:"SolutionList",solutions:c.passes}:c.passes[0]}var u=void 0===a;a||(a=this.emptyTracker()),i&&i!==g||n.start||d("start production not defined");var l=null;i==g?l=n.start:i in this.schema.shapes?l=n.shapes[i]:d("shape "+i+" not found in:\n"+Object.keys(this.schema.shapes).map(e=>" "+e).join("\n")),void 0===o&&(o={});var f=t+"@"+(i===g?"_: -start-":i);if(f in o)return a.recurse({type:"Recursion",node:r(t),shape:i});if("known"in this&&f in this.known)return a.known(this.known[f]);o[f]={point:t,shape:i},a.enter(t,i);var p=this._validateShapeExpr(e,t,l,i,a,o);return a.exit(t,i,p),delete o[f],"known"in this&&(this.known[f]=p),"startActs"in n&&u&&(p.startActs=n.startActs),p},this._validateShapeExpr=function(e,t,i,a,o,s){if(""===t)throw Error("validation needs a valid focus node");if("NodeConstraint"===i.type)return(c=this._errorsMatchingNodeConstraint(t,i,null)).length?{type:"Failure",node:r(t),shape:a,errors:c.map(function(e){return{type:"NodeConstraintViolation",shapeExpr:i}})}:{type:"NodeTest",node:r(t),shape:a,shapeExpr:i};if("Shape"===i.type)return this._validateShape(e,t,k.compile(n,i),i,a,o,s);if("ShapeRef"===i.type)return this._validateShapeExpr(e,t,n.shapes[i.reference],i.reference,o,s);if("ShapeExternal"===i.type)return this.options.validateExtern(e,t,a,o,s);if("ShapeOr"===i.type){for(var c=[],u=0;u<i.shapeExprs.length;++u){f=i.shapeExprs[u];if(!("errors"in(p=this._validateShapeExpr(e,t,f,a,o,s))))return{type:"ShapeOrResults",solution:p};c.push(p)}return{type:"ShapeOrFailure",errors:c}}if("ShapeNot"===i.type)return"errors"in(p=this._validateShapeExpr(e,t,i.shapeExpr,a,o,s))?{type:"ShapeNotResults",solution:p}:{type:"ShapeNotFailure",errors:p};if("ShapeAnd"===i.type){for(var l=[],u=0;u<i.shapeExprs.length;++u){var f=i.shapeExprs[u],p=this._validateShapeExpr(e,t,f,a,o,s);if("errors"in p)return{type:"ShapeAndFailure",errors:[p]};l.push(p)}return{type:"ShapeAndResults",solutions:l}}throw Error("expected one of Shape{Ref,And,Or} or NodeConstraint, got "+JSON.stringify(i))},this._validateShape=function(e,t,i,a,o,p,h){var d=this,m=null,g={};if("startActs"in n&&!this.semActHandler.dispatchAll(n.startActs,null,g))return{type:"Failure",node:r(t),shape:o,errors:["semact failure"]};for(var v=e.getNeighborhood(t,o,a),y=c(v.outgoing.sort(l)),_=c(v.incoming.sort(u)),x=v.outgoing.length,k=v.outgoing.concat(v.incoming),w=this.indexTripleConstraints(a.expression),j=w.reduce(function(t,r,n){r.inverse,r.inverse;var i=(r.inverse?_:y).byPredicate[r.predicate]||[],a=d._triplesMatchingShapeExpr(i,r.valueExpr,r.inverse,function(t,r){var n=d.validate(e,t,r,p,h);return"errors"in n?n.errors:[]},function(t,r){var n=d._validateShapeExpr(e,t,r,o,p,h);return"errors"in n?n.errors:[]});return a.hits.forEach(function(e){t.constraintList[k.indexOf(e)].push(n)}),a.misses.forEach(function(e){t.misses[k.indexOf(e.triple)]={constraintNo:n,errors:e.errors}}),t},{misses:{},constraintList:f(k.length).map(function(){return[]})}),S=[],E=j.constraintList.reduce(function(e,t,r){return 0===t.length&&r<x&&r in j.misses&&(void 0!==a.extra&&-1!==a.extra.indexOf(k[r].predicate)?S.push(r):e.push({tripleNo:r,constraintNo:j.misses[r].constraintNo,errors:j.misses[r].errors})),e},[]),A=s(j.constraintList),F=[];0===E.length&&A.next()&&null===m;){var I=[],O=f(k.length).map(function(){return 0}),P=A.get();if(a.closed){var T=k.slice(0,x).filter((e,t)=>void 0===P[t]&&-1===S.indexOf(t));if(T.length>0){F.push({errors:[{type:"ClosedShapeViolation",unexpectedTriples:T}]});continue}}P.forEach(function(e,t){void 0!==e&&(I.push(k[t]),++O[e])});function C(){var e=w.length;return P.slice().reduce(function(e,t,r){return void 0!==t&&e[t].push(r),e},f(e).map(function(){return[]}))}P.slice().sort(function(e,t){return e-t}).filter(function(e){return void 0!==e}).map(function(e){return e+" "}).join("");function z(t,r){return d.validate(e,t,r,p,h)}function R(t,r){return d._validateShapeExpr(e,t,r,o,p,h)}function B(e,t,r,n){return d._errorsMatchingShapeExpr(e,t,r,n)}var D=i.match(e,t,w,C(),P,k,z,R,this.semActHandler,B,null);if("errors"in D){if(F.push({errors:D.errors}),"exhaustive"!==d.options.partition)break}else{var q={type:"ShapeTest",node:r(t),shape:o};if(Object.keys(D).length>0&&(q.solution=D),"semActs"in a&&!this.semActHandler.dispatchAll(a.semActs,D,q)){if(F.push({errors:[{type:"SemActFailure",errors:[{type:"UntrackedSemActFailure"}]}]}),"exhaustive"!==d.options.partition)break}else m=q}}if(null===m){var M=E.map(function(e){var t=k[e.tripleNo];return{type:"TypeMismatch",triple:{type:"TestedTriple",subject:t.subject,predicate:t.predicate,object:r(t.object)},constraint:w[e.constraintNo],errors:e.errors}});m={type:"Failure",node:r(t),shape:o,errors:M.concat(1===F.length?F[0].errors:F)}}return b&&k.forEach(function(e){delete e.toString}),function(e){return"annotations"in a&&(e.annotations=a.annotations),e}(m)},this._triplesMatchingShapeExpr=function(e,t,r,n,i){var a=this,o=[],s=[];return e.forEach(function(e){var c=r?e.subject:e.object,u=void 0===t?[]:a._errorsMatchingShapeExpr(c,t,n,i);0===u.length?s.push(e):-1===s.indexOf(e)&&o.push({triple:e,errors:u})}),{hits:s,misses:o}},this._errorsMatchingShapeExpr=function(e,t,r,n){var i=this;if("NodeConstraint"===t.type)return this._errorsMatchingNodeConstraint(e,t,null);if("Shape"===t.type)return void 0===n?[]:n(e,t);if("ShapeRef"===t.type)return r?r(e,t.reference):[];if("ShapeOr"===t.type){for(var a=[],o=0;o<t.shapeExprs.length;++o){var s=i._errorsMatchingShapeExpr(e,t.shapeExprs[o],r,n);if(0===s.length)return s;a=a.concat(s)}return a}if("ShapeAnd"===t.type)return t.shapeExprs.reduce(function(t,a,o){return t.concat(i._errorsMatchingShapeExpr(e,a,r,n,!0))},[]);if("ShapeNot"===t.type)return(a=i._errorsMatchingShapeExpr(e,t.shapeExpr,r,n,!0)).length?[]:["Error validating "+e+" as "+JSON.stringify(t)+": expected NOT to pass"];throw Error("unknown value expression type '"+t.type+"'")},this._errorsMatchingNodeConstraint=function(e,n,a){function o(){var t=Array.prototype.join.call(arguments,"");return s.push("Error validating "+e+" as "+JSON.stringify(n)+": "+t),!1}var s=[],c=y.isLiteral(e)?y.getLiteralValue(e):y.isBlank(e)?e.substring(2):e,u=y.isLiteral(e)?y.getLiteralType(e):null,l=-1!==x.indexOf(u)?_+"integer":-1!==w.indexOf(u)?u:void 0;if("nodeKind"in n&&(-1===["iri","bnode","literal","nonliteral"].indexOf(n.nodeKind)&&o("unknown node kind '"+n.nodeKind+"'"),y.isBlank(e)?"iri"!==n.nodeKind&&"literal"!==n.nodeKind||o("blank node found when "+n.nodeKind+" expected"):y.isLiteral(e)?"literal"!==n.nodeKind&&o("literal found when "+n.nodeKind+" expected"):"bnode"!==n.nodeKind&&"literal"!==n.nodeKind||o("iri found when "+n.nodeKind+" expected")),n.datatype&&n.values&&o("found both datatype and values in "+tripleConstraint),n.datatype&&(y.isLiteral(e)?y.getLiteralType(e)!==n.datatype?o("mismatched datatype: "+y.getLiteralType(e)+" !== "+n.datatype):l?testRange(j[l](c,o),n.datatype,o):n.datatype===_+"boolean"?"true"!==c&&"false"!==c&&"1"!==c&&"0"!==c&&o("illegal boolean value: "+c):n.datatype===_+"dateTime"&&(c.match(/^[+-]?\d{4}-[01]\d-[0-3]\dT[0-5]\d:[0-5]\d:[0-5]\d(\.\d+)?([+-][0-2]\d:[0-5]\d|Z)?$/)||o("illegal dateTime value: "+c)):o("mismatched datatype: "+e+" is not a literal with datatype "+n.datatype)),n.values&&(y.isLiteral(e)&&n.values.reduce((t,n)=>{if(t)return!0;var i=r(e);return"Language"===n.type?n.languageTag===i.language:"object"==typeof n&&"value"in n&&(n.value===i.value&&n.type===i.type&&n.language===i.language)},!1)||-1!==n.values.indexOf(e)||n.values.some(function(t){if("object"==typeof t&&!("value"in t)){"type"in t||d("expected "+JSON.stringify(t)+" to have a 'type' attribute.");var r=["Language","IriStem","LiteralStem","LanguageStem","IriStemRange","LiteralStemRange","LanguageStemRange"];-1===r.indexOf(t.type)&&d("expected type attribute '"+t.type+"' to be in '"+r+"'.");function n(e,r,n){return y.isLiteral(e)?-1!==["LiteralStem","LiteralStemRange"].indexOf(t.type)?n(y.getLiteralValue(e),r):-1!==["LanguageStem","LanguageStemRange"].indexOf(t.type)?n(y.getLiteralLanguage(e),r):o("literal "+e+" not comparable with non-literal "+r):-1===["IriStem","IriStemRange"].indexOf(t.type)?o("nonliteral "+e+" not comparable with literal "+JSON.stringify(r)):n(e,r)}function a(e,r){return n(e,r,(e,r)=>"LanguageStem"===t.type||"LanguageStemRange"===t.type?e===r||"-"===e[r.length]:e.startsWith(r))}function s(e,t){return n(e,t,(e,t)=>e===t)}if(i(t.stem)){if(!a(e,t.stem))return!1}else p(t.stem,"type","Wildcard");return!t.exclusions||!t.exclusions.some(function(t){if(i(t))return s(e,t);"type"in t||d("expected "+JSON.stringify(t)+" to have a 'type' attribute.");var r=["IriStem","LiteralStem","LanguageStem"];return-1===r.indexOf(t.type)&&d("expected type attribute '"+t.type+"' to be in '"+r+"'."),a(e,t.stem)})}})||o("value "+e+" not found in set "+JSON.stringify(n.values))),"pattern"in n){var f="flags"in n?new RegExp(n.pattern,n.flags):new RegExp(n.pattern);t(e).match(f)||o("value "+t(e)+" did not match pattern "+n.pattern)}return Object.keys(E).forEach(function(t){t in n&&!E[t](c,n[t])&&o("facet violation: expected "+t+" of "+n[t]+" but got "+e)}),Object.keys(A).forEach(function(t){t in n&&(l?A[t](j[l](c,o),n[t])||o("facet violation: expected "+t+" of "+n[t]+" but got "+e):o("facet violation: numeric facet "+t+" can't apply to "+e))}),Object.keys(F).forEach(function(t){t in n&&(l===_+"integer"||l===_+"decimal"?F[t](""+j[l](c,o),n[t])||o("facet violation: expected "+t+" of "+n[t]+" but got "+e):o("facet violation: numeric facet "+t+" can't apply to "+e))}),s},this.semActHandler={handlers:{},results:{},register:function(e,t){this.handlers[e]=t},dispatchAll:function(e,t,r){var n=this;return e.reduce(function(e,i){if(e&&i.name in n.handlers){var a="code"in i?i.code:v.options.semActs[i.name],o="extensions"in r&&i.name in r.extensions,s=o?r.extensions[i.name]:{};return e=e&&n.handlers[i.name].dispatch(a,t,s),!o&&Object.keys(s).length>0&&("extensions"in r||(r.extensions={}),r.extensions[i.name]=s),e}return e},!0)}}}function o(e,t,r){function n(){this.type="Epsilon"}function i(e,t,r,n,i){this.type="TripleConstraint",this.inverse=!!r,this.negated=!!n,this.predicate=t,void 0!==i&&(this.valueExpr=i)}function a(e){this.type="Choice",this.disjuncts=e}function o(e){this.type="EachOf",this.conjuncts=e}function s(e,t){this.type="SemActs",this.expression=e,this.semActs=t}function c(e){this.type="KleeneStar",this.expression=e}function u(e,r){function l(e,t,r){if(void 0===t&&(t=1),void 0===r&&(r=1),1===t&&1===r)return e;var i=r===m?new c(e):f(r-t).reduce(function(t,r,i){return new a(0===i?[e,new n]:[new o([e,t]),new n])},void 0);return 0!==t?new o(f(t).map(function(t){return e}).concat(i)):i}var p,h;if("TripleConstraint"===e.type){var d="valueExprRef"in e?r.valueExprDefns[e.valueExprRef]:e.valueExpr;return p=l(new i(t.push(e)-1,e.predicate,e.inverse,e.negated,d),e.min,e.max),e.semActs?new s(p,e.semActs):p}if("OneOf"===e.type)return h=new a(e.expressions.map(function(e){return u(e,r)})),p=l(h,e.min,e.max),e.semActs?new s(p,e.semActs):p;if("EachOf"===e.type)return h=new o(e.expressions.map(function(e){return u(e,r)})),p=l(h,e.min,e.max),e.semActs?new s(p,e.semActs):p;if("Inclusion"===e.type)return u(r.shapes[e.include].expression,r);throw Error("unexpected expr type: "+e.type)}return e?u(e,r):new n}function s(e){function t(){i=[];for(var t=0;t<r;t++)n[t]=0,i[t]=e[t][0]}var r=e.length,n=[],i=null;return{next:function(){if(null!==i&&0===i.length)return!1;if(null===i)return t(),!0;var a=r-1;if(n[a]++,n[a]<e[a].length)return i[a]=e[a][n[a]],!0;for(;n[a]>=e[a].length;){if(0==a)return!1;n[a]=0,i[a]=e[a][0],n[--a]++}return i[a]=e[a][n[a]],!0},do:function(e,t){return e.apply(t,i)},get:function(){return i}}}function c(e){return{byPredicate:e.reduce(function(e,t){var r=t.predicate;return r in e||(e[r]=[]),e[r].push(t),b&&(t.toString=I),e},{}),candidates:f(e.length).map(function(){return[]}),misses:[]}}function u(e,t){var r=e.subject,n=t.subject,i=y.isBlank(r)?1:y.isLiteral(r)?2:3,a=y.isBlank(n)?1:y.isLiteral(n)?2:3;return i===a?r>n:i>a}function l(e,t){var r=e.object,n=t.object,i=y.isBlank(r)?1:y.isLiteral(r)?2:3,a=y.isBlank(n)?1:y.isLiteral(n)?2:3;return i===a?r>n:i>a}function f(e){return 0===e?[]:Array(e).join(" ").split(/ /)}function p(e,t,r){t in e||d("expected "+JSON.stringify(e)+" to have a '"+t+"' attribute."),arguments.length>2&&e[t]!==r&&d("expected "+t+" attribute '"+e[t]+"' to equal '"+r+"'.")}function h(){}function d(){var e=Array.prototype.join.call(arguments,""),t=new Error(e);throw Error.captureStackTrace(t,d),t}var m=-1,g={term:"START"},v={or:{oneOf:"exactly one disjunct must pass",someOf:"one or more disjuncts must pass",firstOf:"disjunct evaluation stops after one passes"},partition:{greedy:"each triple constraint consumes all triples matching predicate and object",exhaustive:"search all mappings of triples to triple constriant"}},b="VERBOSE"in n.env,y=e("n3").Util,_="http://www.w3.org/2001/XMLSchema#",x=[_+"integer",_+"nonPositiveInteger",_+"negativeInteger",_+"long",_+"int",_+"short",_+"byte",_+"nonNegativeInteger",_+"unsignedLong",_+"unsignedInt",_+"unsignedShort",_+"unsignedByte",_+"positiveInteger"],k=[_+"decimal"].concat(x),w=[_+"float",_+"double"].concat(k),j={};j[_+"integer"]=function(e,t){return e.match(/^[+-]?[0-9]+$/)||t("illegal integer value '"+e+"'"),parseInt(e)},j[_+"decimal"]=function(e,t){return e.match(/^[+-]?(?:[0-9]*\.[0-9]+|[0-9]+)$/)||t("illegal decimal value '"+e+"'"),parseFloat(e)};const S=/^[+\-]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[eE][+\-]?[0-9]+)?$/;j[_+"float"]=function(e,t){return"NaN"===e?NaN:"INF"===e?1/0:"-INF"===e?-1/0:(e.match(S)||t("illegal float value '"+e+"'"),parseFloat(e))},j[_+"double"]=function(e,t){return"NaN"===e?NaN:"INF"===e?1/0:"-INF"===e?-1/0:(e.match(S)||t("illegal double value '"+e+"'"),Number(e))},testRange=function(e,t,r){var n={integer:{min:-1/0,max:1/0},decimal:{min:-1/0,max:1/0},float:{min:-1/0,max:1/0},double:{min:-1/0,max:1/0},nonPositiveInteger:{min:-1/0,max:0},negativeInteger:{min:-1/0,max:-1},long:{min:-0x8000000000000000,max:0x8000000000000000},int:{min:-2147483648,max:2147483647},short:{min:-32768,max:32767},byte:{min:-128,max:127},nonNegativeInteger:{min:0,max:1/0},unsignedLong:{min:0,max:0x10000000000000000},unsignedInt:{min:0,max:4294967295},unsignedShort:{min:0,max:65535},unsignedByte:{min:0,max:255},positiveInteger:{min:1,max:1/0}}[t.substr(_.length)];if(!n)throw Error("unexpected datatype: "+t);e<n.min?r('"'+e+'"^^<'+t+"> is less than the min:",n.min):e>n.max&&r('"'+e+'"^^<'+t+"> is greater than the max:",n.min)};var E={length:function(e,t){return e.length===t},minlength:function(e,t){return e.length>=t},maxlength:function(e,t){return e.length<=t}},A={mininclusive:function(e,t){return e>=t},minexclusive:function(e,t){return e>t},maxinclusive:function(e,t){return e<=t},maxexclusive:function(e,t){return e<t}},F={totaldigits:function(e,t){var r=e.match(/[0-9]/g);return r&&r.length<=t},fractiondigits:function(e,t){var r=e.match(/^[+-]?[0-9]*\.?([0-9]*)$/);return r&&r[1].length<=t}},I=function(){function e(e){return y.isLiteral(e)?-1!==["http://www.w3.org/2001/XMLSchema#integer","http://www.w3.org/2001/XMLSchema#float","http://www.w3.org/2001/XMLSchema#double"].indexOf(y.getLiteralType(e))?parseInt(y.getLiteralValue(e)):e:y.isBlank(e)?e:"<"+e+">"}return e(this.subject)+" "+e(this.predicate)+" "+e(this.object)+" ."};return{construct:a,start:g,options:v}}();void 0!==e&&void 0!==r&&(t.exports=i)}).call(this,e("_process"))},{"../lib/regex/nfax-val-1err":10,"../lib/regex/threaded-val-nerr":11,_process:346,n3:313}],6:[function(e,t,r){var n=function(){function t(e,r){if(!(this instanceof t))return new t(e,r);if(e&&"function"!=typeof e.write&&(r=e,e=null),r=r||{},e)this._outputStream=e,this._endStream=void 0===r.end||!!r.end;else{var n="";this._outputStream={write:function(e,t,r){n+=e,r&&r()},end:function(e){e&&e(null,n)}},this._endStream=!0}this._prefixIRIs=Object.create(null),r.prefixes&&this.addPrefixes(r.prefixes),this._error=r.error||i,this.forceParens=!r.simplifyParentheses,this._expect=r.lax?o:a}function r(e){var t=f[e];return void 0===t&&(1===e.length?(t=e.charCodeAt(0).toString(16),t="\\u0000".substr(0,6-t.length)+t):(t=(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)+9216).toString(16),t="\\U00000000".substr(0,10-t.length)+t)),t}function n(e){return e.replace(/\\/g,"\\\\").replace(/%/g,"\\%")}function i(e,t){"function"!=typeof e&&(t=e,e=i);var r=new Error(t);throw Error.captureStackTrace(r,e),r}function a(e,t,r){t in e||this._error(a,"expected "+e+" to have a ."+t),arguments.length>2&&e[t]!==r&&this._error(a,"expected "+e[e]+" to equal ."+r)}function o(){}var s=e("util"),c=-1,u=/["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/,l=/["\\\t\n\r\b\f\u0000-\u0019]|[\ud800-\udbff][\udc00-\udfff]/g,f={"\\":"\\\\",'"':'\\"',"/":"\\/","\t":"\\t","\n":"\\n","\r":"\\r","\b":"\\b","\f":"\\f"},p={iri:"IRI",bnode:"BNODE",literal:"LITERAL",nonliteral:"NONLITERAL"};return t.prototype={_write:function(e,t){this._outputStream.write(e,"utf8",t)},_writeSchema:function(e,t){var r=this;this._expect(e,"type","Schema"),r.addPrefixes(e.prefixes),e.base&&r._write("BASE "+this._encodeIriOrBlankNode(e.base)+"\n"),e.imports&&e.imports.forEach(function(e){r._write("IMPORT "+r._encodeIriOrBlankNode(e)+"\n")}),e.startActs&&e.startActs.forEach(function(e){r._expect(e,"type","SemAct"),r._write(" %"+r._encodePredicate(e.name)+("code"in e?"{"+n(e.code)+"%}":"%"))}),e.start&&r._write("start = "+r._writeShapeExpr(e.start,t,!0,0).join("")+"\n"),"shapes"in e&&Object.keys(e.shapes).forEach(function(n){r._write(r._encodeShapeName(n,!1)+" "+r._writeShapeExpr(e.shapes[n],t,!0,0).join("")+"\n",t)})},_writeShapeExpr:function(e,t,r,n){var i=this,a=[];if("ShapeRef"===e.type)a.push("@",i._encodeShapeName(e.reference));else if("ShapeExternal"===e.type)a.push("EXTERNAL");else if("ShapeAnd"===e.type)n>=3&&a.push("("),e.shapeExprs.forEach(function(r,n){n>0&&("NodeConstraint"!==e.shapeExprs[n-1].type||"datatype"in e.shapeExprs[n-1]||"Shape"!==e.shapeExprs[n].type&&"ShapeRef"!==e.shapeExprs[n].type)&&("NodeConstraint"!==e.shapeExprs[n].type||"datatype"in e.shapeExprs[n]||"Shape"!==e.shapeExprs[n-1].type&&"ShapeRef"!==e.shapeExprs[n-1].type)&&a.push(" AND "),a=a.concat(i._writeShapeExpr(r,t,!1,3))}),n>=3&&a.push(")");else if("ShapeOr"===e.type)n>=2&&a.push("("),e.shapeExprs.forEach(function(e,n){n>0&&a.push(" OR "),a=a.concat(i._writeShapeExpr(e,t,r,2))}),n>=2&&a.push(")");else if("ShapeNot"===e.type)n>=4&&a.push("("),a.push("NOT "),a=a.concat(i._writeShapeExpr(e.shapeExpr,t,r,4)),n>=4&&a.push(")");else if("Shape"===e.type)a=a.concat(i._writeShape(e,t,r));else{if("NodeConstraint"!==e.type)throw Error("expected Shape{,And,Or,Ref} or NodeConstraint in "+s.inspect(e));a=a.concat(i._writeNodeConstraint(e,t,r))}return a},_writeShape:function(e,t,r){var i=this;try{var a=[];this._expect(e,"type","Shape"),e.closed&&a.push("CLOSED "),e.extra&&e.extra.length>0&&(a.push("EXTRA "),e.extra.forEach(function(e,t){a.push(i._encodeShapeName(e,!1)+" ")}),a.push(" "));a.push("{\n");function o(e){e&&e.forEach(function(e){i._expect(e,"type","SemAct"),a.push(" %",i._encodePredicate(e.name),"code"in e?"{"+n(e.code)+"%}":"%")})}function s(e,t){e&&e.forEach(function(e){i._expect(e,"type","Annotation"),a.push("//\n"+t+" "),a.push(i._encodeValue(e.predicate)),a.push(" "),a.push(i._encodeValue(e.object))})}function u(e,t){0===e&&1===t?a.push("?"):0===e&&t===c?a.push("*"):void 0===e&&void 0===t||(1===e&&t===c?a.push("+"):a.push("{",e,",",t===c?"*":t,"}"))}function l(e,r,o){function c(e){e&&e.forEach(function(e){i._expect(e,"type","SemAct"),a.push("\n"+r+" %"),a.push(i._encodeValue(e.name)),"code"in e?a.push("{"+n(e.code)+"%}"):a.push("%")})}function f(e,t,n,i){var s=n<o||i;s&&a.push("("),e.forEach(function(i,o){l(i,r+" ",n),o<e.length-1&&a.push(t)}),s&&a.push(")")}if("id"in e&&(a.push("$"),a.push(i._encodeIriOrBlankNode(e.id,!0))),"TripleConstraint"===e.type)e.inverse&&a.push("^"),e.negated&&a.push("!"),a.push(r,i._encodePredicate(e.predicate)," "),"valueExpr"in e?a=a.concat(i._writeShapeExpr(e.valueExpr,t,!0,0)):a.push(". "),u(e.min,e.max),s(e.annotations,r),c(e.semActs);else if("OneOf"===e.type){p="id"in e||"min"in e||"max"in e||"annotations"in e||"semActs"in e;f(e.expressions,"\n"+r+"| ",1,p||i.forceParens),u(e.min,e.max),s(e.annotations,r),c(e.semActs)}else if("EachOf"===e.type){var p="id"in e||"min"in e||"max"in e||"annotations"in e||"semActs"in e;f(e.expressions,";\n"+r,2,p||i.forceParens),u(e.min,e.max),s(e.annotations,r),c(e.semActs)}else{if("Inclusion"!==e.type)throw Error("unexpected expr type: "+e.type);a.push("&"),a.push(i._encodeShapeName(e.include,!1))}}return e.expression&&l(e.expression," ",0),a.push("\n}"),o(e.semActs),s(e.annotations," "),a}catch(e){t&&t(e)}},_writeNodeConstraint:function(e,t){var r=this;try{r._expect(e,"type","NodeConstraint");var n=[];return e.nodeKind in p?n.push(p[e.nodeKind]," "):void 0!==e.nodeKind&&r._error("unexpected nodeKind: "+e.nodeKind),this._fillNodeConstraint(n,e,t),n}catch(e){t&&t(e)}},_fillNodeConstraint:function(e,t,r){function n(e){return"object"!=typeof e||"value"in e&&Object.keys(e).reduce((e,t)=>!1===e?e:-1!==["value","type","language"].indexOf(t),!0)}var i=this;if(t.datatype&&t.values&&i._error("found both datatype and values in "+expr),t.datatype&&e.push(i._encodeShapeName(t.datatype)),t.values&&(e.push("["),t.values.forEach(function(t,r){if(r>1&&e.push(" "),n(t))e.push(i._encodeValue(t));else{"type"in t||runtimeError("expected "+JSON.stringify(t)+" to have a 'type' attribute.");var o=["Language","IriStem","LiteralStem","LanguageStem","IriStemRange","LiteralStemRange","LanguageStemRange"];-1===o.indexOf(t.type)&&runtimeError("expected type attribute '"+t.type+"' to be in '"+o+"'."),"Language"===t.type?e.push("@"+t.languageTag):n(t.stem)?e.push(s(t,t.stem)+"~"):(a(t.stem,"type","Wildcard"),e.push(".")),t.exclusions&&t.exclusions.forEach(function(r){if(e.push(" - "),n(r))e.push(s(t,r));else{"type"in r||runtimeError("expected "+JSON.stringify(r)+" to have a 'type' attribute.");var i=["IriStem","LiteralStem","LanguageStem"];-1===i.indexOf(r.type)&&runtimeError("expected type attribute '"+r.type+"' to be in '"+i+"'."),e.push(s(t,r.stem)+"~")}});function s(e,t){return-1!==["LanguageStem","LanguageStemRange"].indexOf(e.type)?"@"+t:-1!==["LiteralStem","LiteralStemRange"].indexOf(e.type)?'"'+t.replace(l,t)+'"':i._encodeValue(t)}}}),e.push("]")),"pattern"in t){var o=t.pattern.replace(/\//g,"\\/"),s="flags"in t?t.flags:"";e.push("/"+o+"/"+s)}return["length","minlength","maxlength","mininclusive","minexclusive","maxinclusive","maxexclusive","totaldigits","fractiondigits"].forEach(function(r){t[r]&&e.push(" ",r," ",t[r])}),e},_encodeIriOrBlankNode:function(e,t){if(t=t?" ":"","_"===e[0]&&":"===e[1])return e;u.test(e)&&(e=e.replace(l,r));var n=this._prefixRegex.exec(e);return n?(n[1]?this._prefixIRIs[n[1]]+n[2]:e)+t:"<"+e+">"},_encodeLiteral:function(e,t,n){return u.test(e)&&(e=e.replace(l,r)),n?'"'+e+'"@'+n:t?'"'+e+'"^^'+this._encodeIriOrBlankNode(t):'"'+e+'"'},_encodeShapeName:function(e,t){if('"'===e[0])throw new Error("A literal as subject is not allowed: "+e);return this._encodeIriOrBlankNode(e,t)},_encodePredicate:function(e){if('"'===e[0])throw new Error("A literal as predicate is not allowed: "+e);return"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"===e?"a":this._encodeIriOrBlankNode(e)},_encodeValue:function(e){return"object"!=typeof e?this._encodeIriOrBlankNode(e):this._encodeLiteral(e.value,e.type,e.language)},_blockedWrite:function(){throw new Error("Cannot write because the writer has been closed.")},writeSchema:function(e,t){this._writeSchema(e,t),this.end(t)},addShape:function(e,t,r){this._write(_ShExWriter._encodeShapeName(t,!1)+" "+_ShExWriter._writeShapeExpr(e,r,!0,0).join(""),r)},addShapes:function(e){for(var t=0;t<e.length;t++)this.addShape(e[t])},addPrefix:function(e,t,r){var n={};n[e]=t,this.addPrefixes(n,r)},addPrefixes:function(e,t){var r=this._prefixIRIs,n=!1;for(var i in e){var a=e[i];r[a]!==(i+=":")&&(n=!0,r[a]=i,this._write("PREFIX "+i+" <"+a+">\n"))}if(n){var o="",s="";for(var c in r)o+=o?"|"+c:c,s+=(s?"|":"")+r[c];o=o.replace(/[\]\/\(\)\*\+\?\.\\\$]/g,"\\$&"),this._prefixRegex=new RegExp("^(?:"+s+")[^/]*$|^("+o+")([a-zA-Z][\\-_a-zA-Z0-9]*)$")}this._write(n?"\n":"",t)},_prefixRegex:/$0^/,end:function(e){this._write=this._blockedWrite;var t=e&&function(r,n){t=null,e(r,n)};if(this._endStream)try{return this._outputStream.end(t)}catch(e){}t&&t()}},t}();void 0!==e&&void 0!==r&&(t.exports=n)},{util:458}],7:[function(e,t,r){var n={focus:{term:"FOCUS"},wildcard:{term:"WILDCARD"}};void 0!==e&&void 0!==r&&(t.exports=n)},{}],8:[function(e,t,r){(function(n){var i=function(){function t(e){e||(e={});for(var t,r=1,n=arguments.length;r<n&&(t=arguments[r]||{});r++)for(var i in t)e[i]=t[i];return e}function r(e){switch(e[0]){case void 0:return l._schemaBase;case"#":return l._schemaBase+e;case"?":return l._schemaBase.replace(/(?:\?.*)?$/,e);case"/":return("/"===e[1]?l._schemaBaseScheme:l._schemaBaseRoot)+i(e);default:return i(l._schemaBasePath+e)}}function n(e){switch(e[0]){case void 0:return l._dataBase;case"#":return l._dataBase+e;case"?":return l._dataBase.replace(/(?:\?.*)?$/,e);case"/":return("/"===e[1]?l._dataBaseScheme:l._dataBaseRoot)+i(e);default:return i(l._dataBasePath+e)}}function i(e){if(!ue.test(e))return e;for(var t="",r=e.length,n=-1,i=-1,a=0,o="/";n<r;){switch(o){case":":if(i<0&&"/"===e[++n]&&"/"===e[++n])for(;(i=n+1)<r&&"/"!==e[i];)n=i;break;case"?":case"#":n=r;break;case"/":if("."===e[n+1])switch(o=e[++n+1]){case"/":t+=e.substring(a,n-1),a=n+1;break;case void 0:case"?":case"#":return t+e.substring(a,n)+e.substr(n+1);case".":if(void 0===(o=e[++n+1])||"/"===o||"?"===o||"#"===o){if(t+=e.substring(a,n-2),(a=t.lastIndexOf("/"))>=i&&(t=t.substr(0,a)),"/"!==o)return t+"/"+e.substr(n+1);a=n+1}}}o=e[++n]}return t+e.substring(a)}function a(){for(var e={},t=0;t<arguments.length;t+=2)e[arguments[t]]=arguments[t+1];return e}function o(e,t){return a("@value",e,"@type",t)}function s(e,t){return e=e.substring(t,e.length-t),a("@value",te.unescapeText(e,pe))}function c(e){throw l.reset(),new Error(e)}function u(e,t){return t in e||c("Parse error; unknown prefix: "+t),e[t]}function l(){this.yy={}}var f=function(e,t,r,n){for(r=r||{},n=e.length;n--;r[e[n]]=t);return r},p=[1,6],h=[1,15],d=[1,10],m=[1,13],g=[1,24],v=[1,23],b=[1,20],y=[1,21],_=[1,22],x=[1,27],k=[1,25],w=[1,26],j=[1,28],S=[1,11],E=[1,12],A=[1,14],F=[7,9],I=[16,19,20,21],O=[2,24],P=[16,19,20,21,37],T=[16,19,20,21,31,34,37,39,46,48,50,53,54,55,56,76,77,78,79,80,81,82],C=[7,9,16,19,20,21,37,43,74,75],z=[7,9,43],R=[29,46,80,81,82],B=[7,9,42,43],D=[1,58],q=[46,79,80,81,82],M=[31,34,39,46,48,50,53,54,55,56,76,77,78,80,81,82],L=[1,93],N=[1,84],U=[1,85],$=[1,86],H=[1,89],V=[1,90],K=[1,91],Q=[1,92],G=[1,94],Z=[33,48,49,50,53,54,55,56,63],J=[7,9,37,65],W=[1,98],X=[9,37],Y=[9,65],ee={trace:function(){},yy:{},symbols_:{error:2,shapeMap:3,pair:4,Q_O_QGT_COMMA_E_S_Qpair_E_C_E_Star:5,QGT_COMMA_E_Opt:6,EOF:7,O_QGT_COMMA_E_S_Qpair_E_C:8,GT_COMMA:9,nodeSelector:10,statusAndShape:11,Qreason_E_Opt:12,QjsonAttributes_E_Opt:13,reason:14,jsonAttributes:15,GT_AT:16,Qstatus_E_Opt:17,shapeSelector:18,ATSTART:19,ATPNAME_NS:20,ATPNAME_LN:21,status:22,objectTerm:23,triplePattern:24,IT_SPARQL:25,string:26,nodeIri:27,shapeIri:28,START:29,subjectTerm:30,BLANK_NODE_LABEL:31,literal:32,GT_LCURLEY:33,IT_FOCUS:34,nodePredicate:35,O_QobjectTerm_E_Or_QIT___E_C:36,GT_RCURLEY:37,O_QsubjectTerm_E_Or_QIT___E_C:38,IT__:39,GT_NOT:40,GT_OPT:41,GT_DIVIDE:42,GT_DOLLAR:43,O_QAPPINFO_COLON_E_Or_QAPPINFO_SPACE_COLON_E_C:44,jsonValue:45,APPINFO_COLON:46,APPINFO_SPACE_COLON:47,IT_false:48,IT_null:49,IT_true:50,jsonObject:51,jsonArray:52,INTEGER:53,DECIMAL:54,DOUBLE:55,STRING_LITERAL2:56,Q_O_QjsonMember_E_S_QGT_COMMA_E_S_QjsonMember_E_Star_C_E_Opt:57,O_QGT_COMMA_E_S_QjsonMember_E_C:58,jsonMember:59,Q_O_QGT_COMMA_E_S_QjsonMember_E_C_E_Star:60,O_QjsonMember_E_S_QGT_COMMA_E_S_QjsonMember_E_Star_C:61,STRING_LITERAL2_COLON:62,GT_LBRACKET:63,Q_O_QjsonValue_E_S_QGT_COMMA_E_S_QjsonValue_E_Star_C_E_Opt:64,GT_RBRACKET:65,O_QGT_COMMA_E_S_QjsonValue_E_C:66,Q_O_QGT_COMMA_E_S_QjsonValue_E_C_E_Star:67,O_QjsonValue_E_S_QGT_COMMA_E_S_QjsonValue_E_Star_C:68,rdfLiteral:69,numericLiteral:70,booleanLiteral:71,Q_O_QLANGTAG_E_Or_QGT_DTYPE_E_S_QnodeIri_E_C_E_Opt:72,O_QLANGTAG_E_Or_QGT_DTYPE_E_S_QnodeIri_E_C:73,LANGTAG:74,GT_DTYPE:75,STRING_LITERAL1:76,STRING_LITERAL_LONG1:77,STRING_LITERAL_LONG2:78,IT_a:79,IRIREF:80,PNAME_LN:81,PNAME_NS:82,$accept:0,$end:1},terminals_:{2:"error",7:"EOF",9:"GT_COMMA",16:"GT_AT",19:"ATSTART",20:"ATPNAME_NS",21:"ATPNAME_LN",25:"IT_SPARQL",29:"START",31:"BLANK_NODE_LABEL",33:"GT_LCURLEY",34:"IT_FOCUS",37:"GT_RCURLEY",39:"IT__",40:"GT_NOT",41:"GT_OPT",42:"GT_DIVIDE",43:"GT_DOLLAR",46:"APPINFO_COLON",47:"APPINFO_SPACE_COLON",48:"IT_false",49:"IT_null",50:"IT_true",53:"INTEGER",54:"DECIMAL",55:"DOUBLE",56:"STRING_LITERAL2",62:"STRING_LITERAL2_COLON",63:"GT_LBRACKET",65:"GT_RBRACKET",74:"LANGTAG",75:"GT_DTYPE",76:"STRING_LITERAL1",77:"STRING_LITERAL_LONG1",78:"STRING_LITERAL_LONG2",79:"IT_a",80:"IRIREF",81:"PNAME_LN",82:"PNAME_NS"},productions_:[0,[3,4],[8,2],[5,0],[5,2],[6,0],[6,1],[4,4],[12,0],[12,1],[13,0],[13,1],[11,3],[11,1],[11,1],[11,1],[17,0],[17,1],[10,1],[10,1],[10,2],[10,2],[18,1],[18,1],[30,1],[30,1],[23,1],[23,1],[24,5],[24,5],[36,1],[36,1],[38,1],[38,1],[22,1],[22,1],[14,2],[15,3],[44,1],[44,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[51,3],[58,2],[60,0],[60,2],[61,2],[57,0],[57,1],[59,2],[52,3],[66,2],[67,0],[67,2],[68,2],[64,0],[64,1],[32,1],[32,1],[32,1],[70,1],[70,1],[70,1],[69,2],[73,1],[73,2],[72,0],[72,1],[71,1],[71,1],[26,1],[26,1],[26,1],[26,1],[35,1],[35,1],[27,1],[27,1],[27,1],[27,1],[28,1],[28,1],[28,1],[28,1]],performAction:function(e,i,c,f,p,h,d){var m=h.length-1;switch(p){case 1:return[h[m-3]].concat(h[m-2]);case 2:case 50:case 58:this.$=h[m];break;case 3:case 59:case 62:this.$=[];break;case 4:case 60:this.$=h[m-1].concat(h[m]);break;case 7:this.$=t({node:h[m-3]},h[m-2],h[m-1],h[m]);break;case 8:case 10:case 51:case 54:case 73:this.$={};break;case 12:this.$=t({shape:h[m]},h[m-1]);break;case 13:this.$={shape:ShEx.Validator.start};break;case 14:h[m]=h[m].substr(1,h[m].length-1),this.$={shape:u(l._schemaPrefixes,h[m].substr(0,h[m].length-1))};break;case 15:h[m]=h[m].substr(1,h[m].length-1);b=h[m].indexOf(":");this.$={shape:u(l._schemaPrefixes,h[m].substr(0,b))+h[m].substr(b+1)};break;case 16:this.$={status:"conformant"};break;case 17:this.$={status:h[m]};break;case 20:this.$={type:"Extension",language:"http://www.w3.org/ns/shex#Extensions-sparql",lexical:h[m]["@value"]};break;case 21:this.$={type:"Extension",language:h[m-1],lexical:h[m]["@value"]};break;case 23:this.$=ShEx.Validator.start;break;case 28:this.$={type:"TriplePattern",subject:ShEx.ShapeMap.focus,predicate:h[m-2],object:h[m-1]};break;case 29:this.$={type:"TriplePattern",subject:h[m-3],predicate:h[m-2],object:ShEx.ShapeMap.focus};break;case 31:case 33:case 41:this.$=null;break;case 34:this.$="nonconformant";break;case 35:this.$="unknown";break;case 36:this.$={reason:h[m]};break;case 37:this.$={appinfo:h[m]};break;case 40:this.$=!1;break;case 42:this.$=!0;break;case 45:case 46:case 47:this.$=parseFloat(h[m]);break;case 48:this.$=s(h[m],1)["@value"];break;case 49:case 57:this.$=h[m-1];break;case 52:case 53:case 70:this.$=t(h[m-1],h[m]);break;case 56:this.$={};var g=h[m-1].substr(0,h[m-1].length-1).trim();this.$[s(g,1)["@value"]]=h[m];break;case 61:this.$=[h[m-1]].concat(h[m]);break;case 67:this.$=o(h[m],ne);break;case 68:this.$=o(h[m],ie);break;case 69:this.$=o(h[m],ae);break;case 71:this.$=a("@language",h[m].substr(1).toLowerCase());break;case 72:this.$=a("@type",h[m]);break;case 75:this.$=o("true",oe);break;case 76:this.$=o("false",oe);break;case 77:case 79:this.$=s(h[m],1);break;case 78:case 80:this.$=s(h[m],3);break;case 82:this.$="http://www.w3.org/1999/02/22-rdf-syntax-ns#type";break;case 83:v=te.unescapeText(h[m].slice(1,-1),{});this.$=null===l._dataBase||se.test(v)?v:n(v);break;case 84:case 85:case 89:b=h[m].indexOf(":");this.$=u(l._dataPrefixes,h[m].substr(0,b))+te.unescapeText(h[m].substr(b+1),he);break;case 86:this.$=u(l._dataPrefixes,h[m].substr(0,h[m].length-1));break;case 87:var v=te.unescapeText(h[m].slice(1,-1),{});this.$=null===l._schemaBase||se.test(v)?v:r(v);break;case 88:var b=h[m].indexOf(":");this.$=u(l._schemaPrefixes,h[m].substr(0,b))+te.unescapeText(h[m].substr(b+1),he);break;case 90:this.$=u(l._schemaPrefixes,h[m].substr(0,h[m].length-1))}},table:[{3:1,4:2,10:3,23:4,24:5,25:p,26:19,27:7,30:8,31:h,32:9,33:d,46:m,48:g,50:v,53:b,54:y,55:_,56:x,69:16,70:17,71:18,76:k,77:w,78:j,80:S,81:E,82:A},{1:[3]},f(F,[2,3],{5:29}),{11:30,16:[1,31],19:[1,32],20:[1,33],21:[1,34]},f(I,[2,18]),f(I,[2,19]),{26:35,56:x,76:k,77:w,78:j},f(I,O,{26:36,56:x,76:k,77:w,78:j}),f(P,[2,26]),f(P,[2,27]),{27:41,30:39,31:h,34:[1,37],38:38,39:[1,40],46:m,80:S,81:E,82:A},f(T,[2,83]),f(T,[2,84]),f(T,[2,85]),f(T,[2,86]),f([16,19,20,21,37,46,79,80,81,82],[2,25]),f(P,[2,64]),f(P,[2,65]),f(P,[2,66]),f(P,[2,73],{72:42,73:43,74:[1,44],75:[1,45]}),f(P,[2,67]),f(P,[2,68]),f(P,[2,69]),f(P,[2,75]),f(P,[2,76]),f(C,[2,77]),f(C,[2,78]),f(C,[2,79]),f(C,[2,80]),{6:46,7:[2,5],8:47,9:[1,48]},f(z,[2,8],{12:49,14:50,42:[1,51]}),f(R,[2,16],{17:52,22:53,40:[1,54],41:[1,55]}),f(B,[2,13]),f(B,[2,14]),f(B,[2,15]),f(I,[2,20]),f(I,[2,21]),{27:57,35:56,46:m,79:D,80:S,81:E,82:A},{27:57,35:59,46:m,79:D,80:S,81:E,82:A},f(q,[2,32]),f(q,[2,33]),f([37,46,79,80,81,82],O),f(P,[2,70]),f(P,[2,74]),f(P,[2,71]),{27:60,46:m,80:S,81:E,82:A},{7:[1,61]},f(F,[2,4]),{4:62,7:[2,6],10:3,23:4,24:5,25:p,26:19,27:7,30:8,31:h,32:9,33:d,46:m,48:g,50:v,53:b,54:y,55:_,56:x,69:16,70:17,71:18,76:k,77:w,78:j,80:S,81:E,82:A},f(F,[2,10],{13:63,15:64,43:[1,65]}),f(z,[2,9]),{26:66,56:x,76:k,77:w,78:j},{18:67,28:68,29:[1,69],46:[1,72],80:[1,70],81:[1,71],82:[1,73]},f(R,[2,17]),f(R,[2,34]),f(R,[2,35]),{23:75,26:19,27:41,30:8,31:h,32:9,36:74,39:[1,76],46:m,48:g,50:v,53:b,54:y,55:_,56:x,69:16,70:17,71:18,76:k,77:w,78:j,80:S,81:E,82:A},f(M,[2,81]),f(M,[2,82]),{34:[1,77]},f(P,[2,72]),{1:[2,1]},f(F,[2,2]),f(F,[2,7]),f(F,[2,11]),{44:78,46:[1,79],47:[1,80]},f(z,[2,36]),f(B,[2,12]),f(B,[2,22]),f(B,[2,23]),f(B,[2,87]),f(B,[2,88]),f(B,[2,89]),f(B,[2,90]),{37:[1,81]},{37:[2,30]},{37:[2,31]},{37:[1,82]},{33:L,45:83,48:N,49:U,50:$,51:87,52:88,53:H,54:V,55:K,56:Q,63:G},f(Z,[2,38]),f(Z,[2,39]),f(I,[2,28]),f(I,[2,29]),f(F,[2,37]),f(J,[2,40]),f(J,[2,41]),f(J,[2,42]),f(J,[2,43]),f(J,[2,44]),f(J,[2,45]),f(J,[2,46]),f(J,[2,47]),f(J,[2,48]),{37:[2,54],57:95,59:97,61:96,62:W},{33:L,45:101,48:N,49:U,50:$,51:87,52:88,53:H,54:V,55:K,56:Q,63:G,64:99,65:[2,62],68:100},{37:[1,102]},{37:[2,55]},f(X,[2,51],{60:103}),{33:L,45:104,48:N,49:U,50:$,51:87,52:88,53:H,54:V,55:K,56:Q,63:G},{65:[1,105]},{65:[2,63]},f(Y,[2,59],{67:106}),f(J,[2,49]),{9:[1,108],37:[2,53],58:107},f(X,[2,56]),f(J,[2,57]),{9:[1,110],65:[2,61],66:109},f(X,[2,52]),{59:111,62:W},f(Y,[2,60]),{33:L,45:112,48:N,49:U,50:$,51:87,52:88,53:H,54:V,55:K,56:Q,63:G},f(X,[2,50]),f(Y,[2,58])],defaultActions:{61:[2,1],75:[2,30],76:[2,31],96:[2,55],100:[2,63]},parseError:function(e,t){if(!t.recoverable){var r=new Error(e);throw r.hash=t,r}this.trace(e)},parse:function(e){var t=this,r=[0],n=[null],i=[],a=this.table,o="",s=0,c=0,u=0,l=i.slice.call(arguments,1),f=Object.create(this.lexer),p={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(p.yy[h]=this.yy[h]);f.setInput(e,p.yy),p.yy.lexer=f,p.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var d=f.yylloc;i.push(d);var m=f.options&&f.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,b,y,_,x,k,w,j,S=function(){var e;return"number"!=typeof(e=f.lex()||1)&&(e=t.symbols_[e]||e),e},E={};;){if(b=r[r.length-1],this.defaultActions[b]?y=this.defaultActions[b]:(null!==g&&void 0!==g||(g=S()),y=a[b]&&a[b][g]),void 0===y||!y.length||!y[0]){var A="";j=[];for(x in a[b])this.terminals_[x]&&x>2&&j.push("'"+this.terminals_[x]+"'");A=f.showPosition?"Parse error on line "+(s+1)+":\n"+f.showPosition()+"\nExpecting "+j.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:f.match,token:this.terminals_[g]||g,line:f.yylineno,loc:d,expected:j})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+g);switch(y[0]){case 1:r.push(g),n.push(f.yytext),i.push(f.yylloc),r.push(y[1]),g=null,v?(g=v,v=null):(c=f.yyleng,o=f.yytext,s=f.yylineno,d=f.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[y[1]][1],E.$=n[n.length-k],E._$={first_line:i[i.length-(k||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(k||1)].first_column,last_column:i[i.length-1].last_column},m&&(E._$.range=[i[i.length-(k||1)].range[0],i[i.length-1].range[1]]),void 0!==(_=this.performAction.apply(E,[o,c,s,p.yy,y[1],n,i].concat(l))))return _;k&&(r=r.slice(0,-1*k*2),n=n.slice(0,-1*k),i=i.slice(0,-1*k)),r.push(this.productions_[y[1]][0]),n.push(E.$),i.push(E._$),w=a[r[r.length-2]][r[r.length-1]],r.push(w);break;case 3:return!0}}return!0}},te=e("./ShExUtil"),re="http://www.w3.org/2001/XMLSchema#",ne=re+"integer",ie=re+"decimal",ae=re+"double",oe=re+"boolean",se=/^[a-z][a-z0-9+.-]*:/i,ce=/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i,ue=/(?:^|\/)\.\.?(?:$|[\/#?])/;l._setSchemaBase=function(e){e||(e=null),(l._schemaBase=e)&&(l._schemaBasePath=e.replace(/[^\/?]*(?:\?.*)?$/,""),e=e.match(ce),l._schemaBaseRoot=e[0],l._schemaBaseScheme=e[1])},l._setDataBase=function(e){e||(e=null),(l._dataBase=e)&&(l._dataBasePath=e.replace(/[^\/?]*(?:\?.*)?$/,""),e=e.match(ce),l._dataBaseRoot=e[0],l._dataBaseScheme=e[1])};var le=0;l._resetBlanks=function(){le=0},l.reset=function(){l._prefixes=l._imports=l.valueExprDefns=l.shapes=l.productions=l.start=l.startActs=null,l._schemaBase=l._schemaBasePath=l._schemaBaseRoot=l._schemaBaseIRIScheme=null};var fe;l._setFileName=function(e){fe=e};var pe={"\\":"\\","'":"'",'"':'"',t:"\t",b:"\b",n:"\n",r:"\r",f:"\f"},he={"\\":"\\","'":"'",'"':'"',n:"\n",r:"\r",t:"\t",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},de={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,r=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var n=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),r.length-1&&(this.yylineno-=r.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var r,n,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(n=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],r=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,r,n;this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((r=this._input.match(this.rules[i[a]]))&&(!t||r[0].length>t[0].length)){if(t=r,n=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(r,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,r,n){switch(r){case 0:break;case 1:return 47;case 2:return 62;case 3:return 34;case 4:return 29;case 5:return 19;case 6:return 25;case 7:return 21;case 8:return 20;case 9:return 74;case 10:return 81;case 11:return 46;case 12:return 82;case 13:return 55;case 14:return 54;case 15:return 53;case 16:return 80;case 17:return 31;case 18:return 77;case 19:return 78;case 20:return 76;case 21:return 56;case 22:return 79;case 23:return 9;case 24:return 33;case 25:return 37;case 26:return 16;case 27:return 40;case 28:return 41;case 29:return 42;case 30:return 43;case 31:return 63;case 32:return 65;case 33:return 75;case 34:return 39;case 35:return 50;case 36:return 48;case 37:return 49;case 38:return 7;case 39:return'unexpected word "'+t.yytext+'"';case 40:return"invalid character "+t.yytext}},rules:[/^(?:\s+|(#[^\u000a\u000d]*|\/\*([^*]|\*([^\/]|\\\/))*\*\/))/,/^(?:(appinfo[\u0020\u000A\u0009]+:))/,/^(?:("([^\u0022\u005C\u000A\u000D]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*"[\u0020\u000A\u0009]*:))/,/^(?:([Ff][Oo][Cc][Uu][Ss]))/,/^(?:([Ss][Tt][Aa][Rr][Tt]))/,/^(?:(@[Ss][Tt][Aa][Rr][Tt]))/,/^(?:([Ss][Pp][Aa][Rr][Qq][Ll]))/,/^(?:(@(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?)?:)(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|:|[0-9]|((%([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))|(\\(_|~|\.|-|!|\$|&|'|\(|\)|\*|\+|,|;|=|\/|\?|#|@|%))))(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.|:|((%([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))|(\\(_|~|\.|-|!|\$|&|'|\(|\)|\*|\+|,|;|=|\/|\?|#|@|%))))*))))/,/^(?:(@((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?)?:)))/,/^(?:(@([A-Za-z])+((-([0-9A-Za-z])+))*))/,/^(?:(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?)?:)(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|:|[0-9]|((%([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))|(\\(_|~|\.|-|!|\$|&|'|\(|\)|\*|\+|,|;|=|\/|\?|#|@|%))))(((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.|:|((%([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))|(\\(_|~|\.|-|!|\$|&|'|\(|\)|\*|\+|,|;|=|\/|\?|#|@|%))))*)))/,/^(?:(appinfo:))/,/^(?:((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?)?:))/,/^(?:(([+-])?((([0-9])+\.([0-9])*(([Ee]([+-])?([0-9])+)))|((\.)?([0-9])+(([Ee]([+-])?([0-9])+))))))/,/^(?:(([+-])?([0-9])*\.([0-9])+))/,/^(?:(([+-])?([0-9])+))/,/^(?:(<([^\u0000-\u0020<>\"{}|^`\\]|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*>))/,/^(?:(_:((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|[0-9])((((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040])|\.)*((([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]|[\uD800-\uDB7F][\uDC00-\uDFFF])|_|_\b)|-|[0-9]|[\u00b7]|[\u0300-\u036f]|[\u203f-\u2040]))?))/,/^(?:('''(('|'')?([^\'\\]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))))*'''))/,/^(?:("""(("|"")?([^\"\\]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f]))))*"""))/,/^(?:('([^\u0027\u005c\u000a\u000d]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*'))/,/^(?:("([^\u0022\u005c\u000a\u000d]|(\\[\"\'\\bfnrt])|(\\u([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])|\\U([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])([0-9]|[A-F]|[a-f])))*"))/,/^(?:a\b)/,/^(?:,)/,/^(?:\{)/,/^(?:\})/,/^(?:@)/,/^(?:!)/,/^(?:\?)/,/^(?:\/)/,/^(?:\$)/,/^(?:\[)/,/^(?:\])/,/^(?:\^\^)/,/^(?:_\b)/,/^(?:true\b)/,/^(?:false\b)/,/^(?:null\b)/,/^(?:$)/,/^(?:[a-zA-Z0-9_-]+)/,/^(?:.)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],inclusive:!0}}};return ee.lexer=de,l.prototype=ee,ee.Parser=l,new l}();void 0!==e&&void 0!==r&&(r.parser=i,r.Parser=i.Parser,r.parse=function(){return i.parse.apply(i,arguments)},r.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),n.exit(1));var i=e("fs").readFileSync(e("path").normalize(t[1]),"utf8");return r.parser.parse(i)},void 0!==t&&e.main===t&&r.main(n.argv.slice(1)))}).call(this,e("_process"))},{"./ShExUtil":4,_process:346,fs:151,path:338}],9:[function(e,t,r){var n=function(){void 0!==e&&void 0!==r?(ShapeMapJison=e("./ShapeMapJison").Parser,ShExUtil=e("./ShExUtil")):ShapeMapJison=ShapeMapJison.Parser;return{construct:function(e,t,r){function n(){ShapeMapJison._schemaPrefixes=Object.create(a),ShapeMapJison._setSchemaBase(i),ShapeMapJison._dataPrefixes=Object.create(c),ShapeMapJison._setDataBase(s),ShapeMapJison._setFileName(e);try{return ShapeMapJison.prototype.parse.apply(u,arguments)}catch(i){var t="lexer"in u.yy?u.yy.lexer.yylineno+1:1,r="lexer"in u.yy?u.yy.lexer.showPosition():"",o=Error(`${e}(${t}): ${i.message}\n${r}`);throw Error.captureStackTrace(o,n),u.reset(),o}}var i=t.base,a={};for(var o in t.prefixes||{})a[o]=t.prefixes[o];var s=r.base,c={};for(var o in r.prefixes||{})c[o]=r.prefixes[o];var u=new ShapeMapJison;return u.parse=n,u._setSchemaBase=function(e){ShapeMapJison._setSchemaBase,i=e},u._setDataBase=function(e){ShapeMapJison._setDataBase,s=e},u._setFileName=ShapeMapJison._setFileName,u.reset=ShapeMapJison.reset,u}}}();void 0!==e&&void 0!==r&&(t.exports=n)},{"./ShExUtil":4,"./ShapeMapJison":8}],10:[function(e,t,r){var n=function(){function t(e){e||(e={});for(var t,r=1,n=arguments.length;r<n&&(t=arguments[r]||{});r++)for(var i in t)e[i]=t[i];return e}var n=e("n3").Util,i="<span class='keyword' title='Split'>|</span>",a="<span class='keyword' title='Repeat'>×</span>",o="<span class='keyword' title='Match'>␃</span>",s=-1;return r={name:"nfax-val-1err",description:"simple regular expression engine with n out states",compile:function(e,r){function c(r,o,c,l,f,p,h,d,m,g,v){function b(e,t){var r=Object.keys(e.repeats).reduce((r,n)=>(parseInt(n)!==t&&(r[n]=e.repeats[n]),r),{});return{state:e.state,repeats:r,matched:e.matched,avail:e.avail.slice(),stack:e.stack}}function y(e,t){var r=Object.keys(e.repeats).reduce((r,n)=>(r[n]=parseInt(n)==t?e.repeats[n]+1:e.repeats[n],r),{});return{state:e.state,repeats:r,matched:e.matched,avail:e.avail.slice(),stack:e.stack}}function _(e,t){var r=Object.keys(t).map(e=>e+":"+t[e]).join(",");return r.length?e+"-"+r:""+e}function x(e,t,r,n){n=n||[];var o=_(t,r.repeats);if(-1===n.indexOf(o)){n.push(o);var s=j.states[t];if(s.c===i)return s.outs.reduce((t,i,a)=>t.concat(x(e,i,r,n)),[]);if(s.c===a){var c=[];t in r.repeats||(r.repeats[t]=0);var u=r.repeats[t];return u<s.max&&(c=c.concat(x(e,s.outs[0],y(r,t),n))),u>=s.min&&u<=s.max&&(c=c.concat(x(e,s.outs[1],b(r,t),n))),c}return[e.push({state:t,repeats:r.repeats,avail:r.avail.map(e=>e.slice()),stack:r.stack,matched:r.matched,errors:r.errors})-1]}}function k(e){return e.map(e=>{var t=j.states[e.state];return renderAtom(t.c,t.negated)})}function w(){return{type:"Failure",node:o,errors:k(S,j.states)}}function k(){return S.map(r=>{var i=t({},j.states[r.state].c.valueExpr);if("reference"in i){var a=i.reference;n.isBlank(a)&&(i.reference=e.shapes[a])}return t({type:O.c.negated?"NegatedProperty":r.state===j.end?"ExcessTripleViolation":"MissingProperty",property:O.c.predicate},Object.keys(i).length>0?{valueExpr:i}:{})})}var j=this,S=[],E=[];if(1===j.states.length)return u([],0,p,h,d,m,g);var A=null;for(x(S,this.start,{repeats:{},avail:[],matched:[],stack:[],errors:[]});S.length;){E=[],v&&v.push({threads:[]});for(var F=0;F<S.length;++F){var I=S[F];if(I.state!==j.end){var O=j.states[I.state],P=E.length,T=c.indexOf(O.c),C="min"in O.c?O.c.min:1,z="max"in O.c?O.c.max===s?1/0:O.c.max:1;"negated"in O.c&&O.c.negated&&(C=z=0),void 0===I.avail[T]&&(I.avail[T]=l[T].slice());var R=I.avail[T].splice(0,z);if(R.length>=C)do{var B=j.states.map(e=>e.c===a?e.expr:null),D=O.stack.map(e=>{var t=I.repeats[B.indexOf(e.c)];return void 0===t?t=0:t-=1,{c:e.c,e:e.e,i:t}}),q={c:O.c,triples:R,stack:D};I.matched=I.matched.concat(q),O.outs.forEach(e=>{x(E,e,I)})}while(I.avail[T].length>0&&R.length<z&&(R.push(I.avail[T].shift()),!0));v&&v[v.length-1].threads.push({state:S[F].state,to:E.slice(P).map(e=>_(e.state,e.repeats))})}}if(0===E.length&&null===A)return w(k(S,j.states));var M=S;S=E,E=M;var L=S.reduce((e,t)=>{var r=t.matched.reduce((e,t)=>e+t.triples.length,0)===f.reduce((e,t)=>void 0===t?e:e+1,0);return null!==e?e:t.state===j.end&&r?t:null},null);L&&(A=L)}return null===A?w():"errors"in A.matched?A.matched:u(A.matched,0,p,h,d,m,g)}function u(e,t,i,a,o,s,c){var u=[],l=[],f=[],p=e.reduce((e,t)=>{for(var r,h=0,d=e;h<u.length&&t.stack[h].c===u[h].c&&t.stack[h].i===u[h].i&&t.stack[h].e===u[h].e;)d=d.solutions[u[h].i].expressions[u[h].e],++h;for(;h<t.stack.length;){if(h>=u.length&&u.push({}),t.stack[h].c!==u[h].c){if(r=[],d.type="EachOf"===t.stack[h].c.type?"EachOfSolutions":"OneOfSolutions",d.solutions=r,"min"in t.stack[h].c&&(d.min=t.stack[h].c.min),"max"in t.stack[h].c&&(d.max=t.stack[h].c.max),"annotations"in t.stack[h].c&&(d.annotations=t.stack[h].c.annotations),"semActs"in t.stack[h].c&&(d.semActs=t.stack[h].c.semActs),d=r,u[h].i=null,"semActs"in t.stack[h].c&&!s.dispatchAll(t.stack[h].c.semActs,"???",d))throw{type:"SemActFailure",errors:[{type:"UntrackedSemActFailure"}]};p&&"semActs"in expr&&(p.semActs=expr.semActs)}else d=d.solutions;if(t.stack[h].i!==u[h].i?(r=[],d[t.stack[h].i]={type:"EachOf"===t.stack[h].c.type?"EachOfSolution":"OneOfSolution",expressions:r},d=r,u[h].e=null):d=d[u[h].i].expressions,t.stack[h].e===u[h].e)throw"how'd we get here?";r={},d[t.stack[h].e]=r,t.stack[h].e>0&&void 0===d[t.stack[h].e-1]&&-1===f.indexOf(d)&&f.push(d),d=r,u.length=h+1,++h}return d.type="TripleConstraintSolutions","min"in t.c&&(d.min=t.c.min),"max"in t.c&&(d.max=t.c.max),d.predicate=t.c.predicate,"valueExpr"in t.c&&(d.valueExpr=t.c.valueExpr),"productionLabel"in t.c&&(d.productionLabel=t.c.productionLabel),d.solutions=t.triples.map(e=>{function r(e,t,r){var i=r(e,t);if("errors"in i){var a={type:"ReferenceError",focus:e,shape:t,errors:i};return"string"==typeof shapeLabel&&n.isBlank(shapeLabel)&&(a.referencedShape=t),[a]}return("solution"in i&&0!==Object.keys(i.solution).length||"Recursion"===i.type)&&(f.referenced=i),[]}var u=i[e],f={type:"TestedTriple",subject:u.subject,predicate:u.predicate,object:function(e){if('"'!==e[0])return e;var t={value:n.getLiteralValue(e)},r=n.getLiteralType(e);r&&"http://www.w3.org/2001/XMLSchema#string"!==r&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"!==r&&(t.type=r);var i=n.getLiteralLanguage(e);return i&&(t.language=i),t}(u.object)};return"valueExpr"in d&&(l=l.concat(c(d.inverse?u.subject:u.object,d.valueExpr,function(e,t){return r(e,t,a)},function(e,t){return r(e,t,o)}))),0===l.length&&"semActs"in t.c&&!s.dispatchAll(t.c.semActs,u,f)&&l.push({type:"SemActFailure",errors:[{type:"UntrackedSemActFailure"}]}),f}),"annotations"in t.c&&(d.annotations=t.c.annotations),"semActs"in t.c&&(d.semActs=t.c.semActs),u=t.stack.slice(),e},{});return l.length?{type:"SemActFailure",errors:l}:(f.forEach(e=>{for(var t=0;t<e.length;++t)null!==e[t]&&void 0!==e[t]||e.splice(t--,1)}),"semActs"in r&&(p.semActs=r.semActs),p)}var l=r.expression;return function(){function t(o,c){function l(e,t){return void 0!=o.min&&1!==o.min||void 0!=o.max&&1!==o.max?(p=r(a,[e]),f[p].expr=o,f[p].min="min"in o?o.min:1,f[p].max="max"in o?o.max===s?1/0:o.max:1,n(t,p),{start:p,tail:[p]}):{start:e,tail:t}}var p,h,d;return"TripleConstraint"===o.type?(p=r(o,[]),f[p].stack=c,{start:p,tail:[p]}):"OneOf"===o.type?(d=[],h=[],o.expressions.forEach(function(e,r){u=t(e,c.concat({c:o,e:r})),h.push(u.start),d=d.concat(u.tail)}),p=r(i,h),f[p].expr=o,l(p,d)):"EachOf"===o.type?(o.expressions.forEach(function(e,r){u=t(e,c.concat({c:o,e:r})),0===r?p=u.start:n(d,u.start),d=u.tail}),l(p,d)):"Inclusion"===o.type?t(e.productions[o.include],c):void runtimeError("unexpected expr type: "+o.type)}function r(e,t,r){var n=f.length;return f.push({c:e,outs:t}),r&&(f[n].negated=!0),n}function n(e,t){e.forEach(e=>{f[e].outs.push(t)})}var u,f=[],p=r(o,[]),h=p;l&&(n((u=t(l,[])).tail,p),h=u.start);var d={algorithm:"rbenx",end:p,states:f,start:h,match:c};return p=f=h=null,d}()}}}();void 0!==e&&void 0!==r&&(t.exports=n)},{n3:313}],11:[function(e,t,r){var n=function(){function t(e){e||(e={});for(var t,r=1,n=arguments.length;r<n&&(t=arguments[r]||{});r++)for(var i in t)e[i]=t[i];return e}var r=e("n3").Util,n=-1;return{name:"threaded-val-nerr",description:"emulation of regular expression engine with error permutations",compile:function(e,i){function a(e,t,n,a,o,s,c){function u(l){function f(e){if('"'!==e[0])return e;var t={value:r.getLiteralValue(e)},n=r.getLiteralType(e);n&&"http://www.w3.org/2001/XMLSchema#string"!==n&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"!==n&&(t.type=n);var i=r.getLiteralLanguage(e);return i&&(t.language=i),t}if("OneOfSolutions"===l.type||"EachOfSolutions"===l.type)l.solutions.forEach(e=>{e.expressions.forEach(e=>{u(e)})});else{if("TripleConstraintSolutions"!==l.type)throw Error("unexpected expr type in "+JSON.stringify(l));l.solutions=l.solutions.map(u=>{function l(e,t,n){var a=n(e,t);if("errors"in a){var o={type:"ReferenceError",focus:e,shape:t};return"string"==typeof t&&r.isBlank(t)&&(o.referencedShape=i),o.errors=a,[o]}return("solution"in a&&0!==Object.keys(a.solution).length||"Recursion"===a.type)&&(d.referenced=a),[]}if("TestedTriple"===u.type)return u;var p=n[u.tripleNo],h=t[u.constraintNo],d={type:"TestedTriple",subject:p.subject,predicate:p.predicate,object:f(p.object)},m="valueExpr"in h?c(h.inverse?p.subject:p.object,h.valueExpr,function(e,t){return l(e,t,a)},function(e,t){return l(e,t,o)}):[];return 0===m.length&&"semActs"in h&&!s.dispatchAll(h.semActs,p,d)&&m.push({type:"SemActFailure",errors:[{type:"UntrackedSemActFailure"}]}),m.length>0&&(e.errors=e.errors||[],e.errors=e.errors.concat(m)),d})}}return Object.keys(e).length>0&&u(e),"semActs"in i&&(e.semActs=i.semActs),e}var o=i.expression;return{match:function(i,s,c,u,l,f,p,h,d,m,g){function v(i,a){function o(e,r){var n=0,o=[a],s={};("min"in i&&1!==i.min||"max"in i&&1!==i.max)&&(s.min=i.min,s.max=i.max),"semActs"in i&&(s.semActs=i.semActs),"annotations"in i&&(s.annotations=i.annotations);for(;n<f;++n){for(var c=[],u=0;u<o.length;++u){var p=o[u],h=r(p);if(h.length>0&&0===h[0].errors.length&&h.forEach(r=>{var n="expression"in p?p.expression.solutions:[];"solution"in r&&(n=n.concat(r.solution)),delete r.solution,r.expression=t({type:e,solutions:n},s)}),0===h.length||h[0].errors.length>0)return n<l?h:o;c=c.concat(h)}o=c}if(o.length>0&&0===o[0].errors.length&&"semActs"in i){var m=[],g=[];o.forEach(e=>{d.dispatchAll(i.semActs,"???",e)?m.push(e):(e.errors.push({type:"SemActFailure",errors:[{type:"UntrackedSemActFailure"}]}),g.push(e))}),o=m.length>0?m:g}return o}var s=c.indexOf(i),l="min"in i?i.min:1,f="max"in i?i.max===n?1/0:i.max:1;if("TripleConstraint"===i.type){var p="negated"in i&&i.negated||0===f;p&&(l=f=1/0),void 0===a.avail[s]&&(a.avail[s]=u[s].slice());var h={};("min"in i&&1!==i.min||"max"in i&&1!==i.max)&&(h.min=i.min,h.max=i.max),"semActs"in i&&(h.semActs=i.semActs),"annotations"in i&&(h.annotations=i.annotations);var m=a.avail[s].splice(0,l),g=p?0===m.length:m.length>=l,b=[],y=a.matched;if(g)do{b.push({avail:a.avail.map(e=>e.slice()),errors:a.errors.slice(),matched:y.concat({tNos:m.slice()}),expression:t({type:"TripleConstraintSolutions",predicate:i.predicate,solutions:m.map(e=>({type:"halfTestedTriple",tripleNo:e,constraintNo:s}))},"valueExpr"in i?{valueExpr:i.valueExpr}:{},"productionLabel"in i?{productionLabel:i.productionLabel}:{},h)})}while(a.avail[s].length>0&&m.length<f&&(m.push(a.avail[s].shift()),!0));else{var _=t({},i.valueExpr);if("reference"in _){var x=_.reference;r.isBlank(x)&&(_.reference=e.shapes[x])}b.push({avail:a.avail,errors:a.errors.concat([t({type:p?"NegatedProperty":"MissingProperty",property:i.predicate},Object.keys(_).length>0?{valueExpr:_}:{})]),matched:y})}return b}return"OneOf"===i.type?o("OneOfSolutions",e=>{var t=[],r=[];return i.expressions.forEach(n=>{var i={avail:e.avail.map(e=>e.slice()),errors:e.errors,matched:e.matched},a=v(n,i);0===a[0].errors.length?(t=t.concat(a),a.forEach(e=>{var t="solution"in i?i.solution.expressions:[];"expression"in e&&(t=t.concat([e.expression])),delete e.expression,e.solution={type:"OneOfSolution",expressions:t}})):r=r.concat(a)}),t.length>0?t:r}):"EachOf"===i.type?o("EachOfSolutions",e=>i.expressions.reduce((e,t)=>e.reduce((e,r)=>{var n=v(t,r);return n.forEach(e=>{if(0===e.errors.length){var t="solution"in r?r.solution.expressions:[];"expression"in e&&(t=t.concat([e.expression])),delete e.expression,e.solution={type:"EachOfSolution",expressions:t}}}),e.concat(n)},[]),[e])):"Inclusion"===i.type?v(e.productions[i.include],a):void runtimeError("unexpected expr type: "+i.type)}var b={avail:[],matched:[],errors:[]};if(!o)return{};var y=v(o,b),_=y.reduce((e,t)=>{if(t.errors.length>0)return e;var r={};return Object.keys(l).forEach(e=>{void 0!==l[e]&&(r[e]=l[e])}),t.matched.forEach(e=>{e.tNos.forEach(e=>{delete r[e]})}),Object.keys(r).forEach(e=>{t.errors.push({type:"ExcessTripleViolation",triple:f[e],constraint:c[r[e]]})}),null!==e?e:Object.keys(r).length>0?null:t},null);return null!==_?a(_.expression,c,f,p,h,d,m):y.length>1?{type:"PossibleErrors",errors:y.reduce((e,t)=>e.concat([t.errors]),[])}:y[0]}}}}}();void 0!==e&&void 0!==r&&(t.exports=n)},{n3:313}],12:[function(e,t,r){"use strict";var n=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];t.exports=function(e,t){for(var r=0;r<t.length;r++){e=JSON.parse(JSON.stringify(e));var i,a=t[r].split("/"),o=e;for(i=1;i<a.length;i++)o=o[a[i]];for(i=0;i<n.length;i++){var s=n[i],c=o[s];c&&(o[s]={anyOf:[c,{$ref:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#"}]})}}return e}},{}],13:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);e=this._opts=E.copy(e)||{},this._schemas={},this._refs={},this._fragments={},this._formats=k(e.format);var t=this._schemaUriFormat=this._formats["uri-reference"];this._schemaUriFormatFunc=function(e){return t.test(e)},this._cache=e.cache||new y,this._loadingSchemas={},this._compilations=[],this.RULES=w(),this._getId=c(e),e.loopRequired=e.loopRequired||1/0,"property"==e.errorDataPath&&(e._errorDataPathProperty=!0),void 0===e.serialize&&(e.serialize=x),this._metaOpts=g(this),e.formats&&d(this),p(this),"object"==typeof e.meta&&this.addMetaSchema(e.meta),h(this),e.patternGroups&&S(this)}function i(e){var t=e._opts.meta;return e._opts.defaultMeta="object"==typeof t?e._getId(t)||t:e.getSchema(O)?O:void 0,e._opts.defaultMeta}function a(e,t){var r=b.schema.call(e,{schema:{}},t);if(r){var n=r.schema,i=r.root,a=r.baseId,o=v.call(e,n,i,void 0,a);return e._fragments[t]=new _({ref:t,fragment:!0,schema:n,root:i,baseId:a,validate:o}),o}}function o(e,t){return t=b.normalizeId(t),e._schemas[t]||e._refs[t]||e._fragments[t]}function s(e,t,r){for(var n in t){var i=t[n];i.meta||r&&!r.test(n)||(e._cache.del(i.cacheKey),delete t[n])}}function c(e){switch(e.schemaId){case"$id":return l;case"id":return u;default:return f}}function u(e){return e.$id&&console.warn("schema $id ignored",e.$id),e.id}function l(e){return e.id&&console.warn("schema id ignored",e.id),e.$id}function f(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is different from id");return e.$id||e.id}function p(t){var r;if(t._opts.$data&&(r=e("./refs/$data.json"),t.addMetaSchema(r,r.$id,!0)),!1!==t._opts.meta){var n=e("./refs/json-schema-draft-06.json");t._opts.$data&&(n=j(n,T)),t.addMetaSchema(n,O,!0),t._refs["http://json-schema.org/schema"]=O}}function h(e){var t=e._opts.schemas;if(t)if(Array.isArray(t))e.addSchema(t);else for(var r in t)e.addSchema(t[r],r)}function d(e){for(var t in e._opts.formats){var r=e._opts.formats[t];e.addFormat(t,r)}}function m(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema with key or id "'+t+'" already exists')}function g(e){for(var t=E.copy(e._opts),r=0;r<P.length;r++)delete t[P[r]];return t}var v=e("./compile"),b=e("./compile/resolve"),y=e("./cache"),_=e("./compile/schema_obj"),x=e("json-stable-stringify"),k=e("./compile/formats"),w=e("./compile/rules"),j=e("./$data"),S=e("./patternGroups"),E=e("./compile/util"),A=e("co");t.exports=n,n.prototype.validate=function(e,t){var r;if("string"==typeof e){if(!(r=this.getSchema(e)))throw new Error('no schema with key or ref "'+e+'"')}else{var n=this._addSchema(e);r=n.validate||this._compile(n)}var i=r(t);return!0===r.$async?"*"==this._opts.async?A(i):i:(this.errors=r.errors,i)},n.prototype.compile=function(e,t){var r=this._addSchema(e,void 0,t);return r.validate||this._compile(r)},n.prototype.addSchema=function(e,t,r,n){if(Array.isArray(e))for(var i=0;i<e.length;i++)this.addSchema(e[i],void 0,r,n);else{var a=this._getId(e);if(void 0!==a&&"string"!=typeof a)throw new Error("schema id must be string");m(this,t=b.normalizeId(t||a)),this._schemas[t]=this._addSchema(e,r,n,!0)}},n.prototype.addMetaSchema=function(e,t,r){this.addSchema(e,t,r,!0)},n.prototype.validateSchema=function(e,t){var r=e.$schema;if(void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(!(r=r||this._opts.defaultMeta||i(this)))return console.warn("meta-schema not available"),this.errors=null,!0;var n=this._formats.uri;this._formats.uri="function"==typeof n?this._schemaUriFormatFunc:this._schemaUriFormat;var a;try{a=this.validate(r,e)}finally{this._formats.uri=n}if(!a&&t){var o="schema is invalid: "+this.errorsText();if("log"!=this._opts.validateSchema)throw new Error(o);console.error(o)}return a},n.prototype.getSchema=function(e){var t=o(this,e);switch(typeof t){case"object":return t.validate||this._compile(t);case"string":return this.getSchema(t);case"undefined":return a(this,e)}},n.prototype.removeSchema=function(e){if(e instanceof RegExp)return s(this,this._schemas,e),void s(this,this._refs,e);switch(typeof e){case"undefined":return s(this,this._schemas),s(this,this._refs),void this._cache.clear();case"string":var t=o(this,e);return t&&this._cache.del(t.cacheKey),delete this._schemas[e],void delete this._refs[e];case"object":var r=this._opts.serialize,n=r?r(e):e;this._cache.del(n);var i=this._getId(e);i&&(i=b.normalizeId(i),delete this._schemas[i],delete this._refs[i])}},n.prototype.addFormat=function(e,t){"string"==typeof t&&(t=new RegExp(t)),this._formats[e]=t},n.prototype.errorsText=function(e,t){if(!(e=e||this.errors))return"No errors";for(var r=void 0===(t=t||{}).separator?", ":t.separator,n=void 0===t.dataVar?"data":t.dataVar,i="",a=0;a<e.length;a++){var o=e[a];o&&(i+=n+o.dataPath+" "+o.message+r)}return i.slice(0,-r.length)},n.prototype._addSchema=function(e,t,r,n){if("object"!=typeof e&&"boolean"!=typeof e)throw new Error("schema should be object or boolean");var i=this._opts.serialize,a=i?i(e):e,o=this._cache.get(a);if(o)return o;n=n||!1!==this._opts.addUsedSchema;var s=b.normalizeId(this._getId(e));s&&n&&m(this,s);var c,u=!1!==this._opts.validateSchema&&!t;u&&!(c=s&&s==b.normalizeId(e.$schema))&&this.validateSchema(e,!0);var l=b.ids.call(this,e),f=new _({id:s,schema:e,localRefs:l,cacheKey:a,meta:r});return"#"!=s[0]&&n&&(this._refs[s]=f),this._cache.put(a,f),u&&c&&this.validateSchema(e,!0),f},n.prototype._compile=function(e,t){function r(){var t=e.validate,n=t.apply(null,arguments);return r.errors=t.errors,n}if(e.compiling)return e.validate=r,r.schema=e.schema,r.errors=null,r.root=t||r,!0===e.schema.$async&&(r.$async=!0),r;e.compiling=!0;var n;e.meta&&(n=this._opts,this._opts=this._metaOpts);var i;try{i=v.call(this,e.schema,t,e.localRefs)}finally{e.compiling=!1,e.meta&&(this._opts=n)}return e.validate=i,e.refs=i.refs,e.refVal=i.refVal,e.root=i.root,i},n.prototype.compileAsync=e("./compile/async");var F=e("./keyword");n.prototype.addKeyword=F.add,n.prototype.getKeyword=F.get,n.prototype.removeKeyword=F.remove;var I=e("./compile/error_classes");n.ValidationError=I.Validation,n.MissingRefError=I.MissingRef,n.$dataMetaSchema=j;var O="http://json-schema.org/draft-06/schema",P=["removeAdditional","useDefaults","coerceTypes"],T=["/properties"]},{"./$data":12,"./cache":14,"./compile":19,"./compile/async":16,"./compile/error_classes":17,"./compile/formats":18,"./compile/resolve":20,"./compile/rules":21,"./compile/schema_obj":22,"./compile/util":24,"./keyword":48,"./patternGroups":49,"./refs/$data.json":50,"./refs/json-schema-draft-06.json":51,co:158,"json-stable-stringify":260}],14:[function(e,t,r){"use strict";var n=t.exports=function(){this._cache={}};n.prototype.put=function(e,t){this._cache[e]=t},n.prototype.get=function(e){return this._cache[e]},n.prototype.del=function(e){delete this._cache[e]},n.prototype.clear=function(){this._cache={}}},{}],15:[function(e,t,r){"use strict";t.exports={$ref:e("../dotjs/ref"),allOf:e("../dotjs/allOf"),anyOf:e("../dotjs/anyOf"),const:e("../dotjs/const"),contains:e("../dotjs/contains"),dependencies:e("../dotjs/dependencies"),enum:e("../dotjs/enum"),format:e("../dotjs/format"),items:e("../dotjs/items"),maximum:e("../dotjs/_limit"),minimum:e("../dotjs/_limit"),maxItems:e("../dotjs/_limitItems"),minItems:e("../dotjs/_limitItems"),maxLength:e("../dotjs/_limitLength"),minLength:e("../dotjs/_limitLength"),maxProperties:e("../dotjs/_limitProperties"),minProperties:e("../dotjs/_limitProperties"),multipleOf:e("../dotjs/multipleOf"),not:e("../dotjs/not"),oneOf:e("../dotjs/oneOf"),pattern:e("../dotjs/pattern"),properties:e("../dotjs/properties"),propertyNames:e("../dotjs/propertyNames"),required:e("../dotjs/required"),uniqueItems:e("../dotjs/uniqueItems"),validate:e("../dotjs/validate")}},{"../dotjs/_limit":25,"../dotjs/_limitItems":26,"../dotjs/_limitLength":27,"../dotjs/_limitProperties":28,"../dotjs/allOf":29,"../dotjs/anyOf":30,"../dotjs/const":31,"../dotjs/contains":32,"../dotjs/dependencies":34,"../dotjs/enum":35,"../dotjs/format":36,"../dotjs/items":37,"../dotjs/multipleOf":38,"../dotjs/not":39,"../dotjs/oneOf":40,"../dotjs/pattern":41,"../dotjs/properties":42,"../dotjs/propertyNames":43,"../dotjs/ref":44,"../dotjs/required":45,"../dotjs/uniqueItems":46,"../dotjs/validate":47}],16:[function(e,t,r){"use strict";function n(e,t,r){function a(e){var t=e.$schema;return t&&!s.getSchema(t)?n.call(s,{$ref:t},!0):Promise.resolve()}function o(e){try{return s._compile(e)}catch(r){if(r instanceof i)return function(r){function n(){delete s._loadingSchemas[c]}function i(e){return s._refs[e]||s._schemas[e]}var c=r.missingSchema;if(i(c))throw new Error("Schema "+c+" is loaded but "+r.missingRef+" cannot be resolved");var u=s._loadingSchemas[c];return u||(u=s._loadingSchemas[c]=s._opts.loadSchema(c)).then(n,n),u.then(function(e){if(!i(c))return a(e).then(function(){i(c)||s.addSchema(e,c,void 0,t)})}).then(function(){return o(e)})}(r);throw r}}var s=this;if("function"!=typeof this._opts.loadSchema)throw new Error("options.loadSchema should be a function");"function"==typeof t&&(r=t,t=void 0);var c=a(e).then(function(){var r=s._addSchema(e,void 0,t);return r.validate||o(r)});return r&&c.then(function(e){r(null,e)},r),c}var i=e("./error_classes").MissingRef;t.exports=n},{"./error_classes":17}],17:[function(e,t,r){"use strict";function n(e,t,r){this.message=r||n.message(e,t),this.missingRef=a.url(e,t),this.missingSchema=a.normalizeId(a.fullPath(this.missingRef))}function i(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var a=e("./resolve");t.exports={Validation:i(function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0}),MissingRef:i(n)},n.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},{"./resolve":20}],18:[function(e,t,r){"use strict";function n(e){return e="full"==e?"full":"fast",s.copy(n[e])}function i(e){var t=e.match(c);if(!t)return!1;var r=+t[1],n=+t[2];return r>=1&&r<=12&&n>=1&&n<=u[r]}function a(e,t){var r=e.match(l);if(!r)return!1;var n=r[1],i=r[2],a=r[3],o=r[5];return n<=23&&i<=59&&a<=59&&(!t||o)}function o(e){if(x.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}}var s=e("./util"),c=/^\d\d\d\d-(\d\d)-(\d\d)$/,u=[0,31,29,31,30,31,30,31,31,30,31,30,31],l=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,f=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*$/i,p=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,h=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,d=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,m=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,g=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,v=/^(?:\/(?:[^~/]|~0|~1)*)*$|^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,b=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;t.exports=n,n.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^[0-2]\d:[0-5]\d:[0-5]\d(?:\.\d+)?(?:z|[+-]\d\d:\d\d)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s][0-2]\d:[0-5]\d:[0-5]\d(?:\.\d+)?(?:z|[+-]\d\d:\d\d)$/i,uri:/^(?:[a-z][a-z0-9+-.]*)(?::|\/)\/?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/\/)?[^\s]*$/i,"uri-template":d,url:m,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:f,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-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-f]{1,4}:){5}(?:(?:(?::[0-9a-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-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-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-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-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-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-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-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-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-f]{1,4}){1,7})|(?:(?::[0-9a-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}))|:)))(?:%.+)?\s*$/i,regex:o,uuid:g,"json-pointer":v,"relative-json-pointer":b},n.full={date:i,time:a,"date-time":function(e){var t=e.split(y);return 2==t.length&&i(t[0])&&a(t[1],!0)},uri:function(e){return _.test(e)&&p.test(e)},"uri-reference":h,"uri-template":d,url:m,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&''*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:function(e){return e.length<=255&&f.test(e)},ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-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-f]{1,4}:){5}(?:(?:(?::[0-9a-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-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-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-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-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-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-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-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-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-f]{1,4}){1,7})|(?:(?::[0-9a-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}))|:)))(?:%.+)?\s*$/i,regex:o,uuid:g,"json-pointer":v,"relative-json-pointer":b};var y=/t|\s/i,_=/\/|:/,x=/[^\\]\\Z/},{"./util":24}],19:[function(e,t,r){"use strict";function n(e,t,r,o){function x(){var e=N.validate,t=e.apply(null,arguments);return x.errors=e.errors,t}function k(e,r,i,a){var o=!r||r&&r.schema==e;if(r.schema!=t.schema)return n.call(P,e,r,i,a);var m=!0===e.$async,x=g({isTop:!0,schema:e,isRoot:o,baseId:a,root:r,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:d.MissingRef,RULES:$,validate:g,util:h,resolve:p,resolveRef:w,usePattern:F,useDefault:I,useCustomRule:O,opts:T,formats:U,self:P});x=f(C,u)+f(R,s)+f(D,c)+f(M,l)+x,T.processCode&&(x=T.processCode(x));var k;try{k=new Function("self","RULES","formats","root","refVal","defaults","customRules","co","equal","ucs2length","ValidationError",x)(P,$,U,t,C,D,M,v,y,b,_),C[0]=k}catch(e){throw console.error("Error compiling schema, function code:",x),e}return k.schema=e,k.errors=null,k.refs=z,k.refVal=C,k.root=o?k:r,m&&(k.$async=!0),!0===T.sourceCode&&(k.source={code:x,patterns:R,defaults:D}),k}function w(e,i,a){i=p.url(e,i);var o,s,c=z[i];if(void 0!==c)return o=C[c],s="refVal["+c+"]",A(o,s);if(!a&&t.refs){var u=t.refs[i];if(void 0!==u)return o=t.refVal[u],s=j(i,o),A(o,s)}s=j(i);var l=p.call(P,k,t,i);if(void 0===l){var f=r&&r[i];f&&(l=p.inlineRef(f,T.inlineRefs)?f:n.call(P,f,t,r,e))}if(void 0!==l)return E(i,l),A(l,s);S(i)}function j(e,t){var r=C.length;return C[r]=t,z[e]=r,"refVal"+r}function S(e){delete z[e]}function E(e,t){var r=z[e];C[r]=t}function A(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,schema:e,inline:!0}:{code:t,$async:e&&e.$async}}function F(e){var t=B[e];return void 0===t&&(t=B[e]=R.length,R[t]=e),"pattern"+t}function I(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return h.toQuotedString(e);case"object":if(null===e)return"null";var t=m(e),r=q[t];return void 0===r&&(r=q[t]=D.length,D[r]=e),"default"+r}}function O(e,t,r,n){var i=e.definition.validateSchema;if(i&&!1!==P._opts.validateSchema&&!i(t)){var a="keyword schema is invalid: "+P.errorsText(i.errors);if("log"!=P._opts.validateSchema)throw new Error(a);console.error(a)}var o,s=e.definition.compile,c=e.definition.inline,u=e.definition.macro;if(s)o=s.call(P,t,r,n);else if(u)o=u.call(P,t,r,n),!1!==T.validateSchema&&P.validateSchema(o,!0);else if(c)o=c.call(P,n,e.keyword,t,r);else if(!(o=e.definition.validate))return;if(void 0===o)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var l=M.length;return M[l]=o,{code:"customRule"+l,validate:o}}var P=this,T=this._opts,C=[void 0],z={},R=[],B={},D=[],q={},M=[];t=t||{schema:e,refVal:C,refs:z};var L=i.call(this,e,t,o),N=this._compilations[L.index];if(L.compiling)return N.callValidate=x;var U=this._formats,$=this.RULES;try{var H=k(e,t,r,o);N.validate=H;var V=N.callValidate;return V&&(V.schema=H.schema,V.errors=null,V.refs=H.refs,V.refVal=H.refVal,V.root=H.root,V.$async=H.$async,T.sourceCode&&(V.source=H.source)),H}finally{a.call(this,e,t,o)}}function i(e,t,r){var n=o.call(this,e,t,r);return n>=0?{index:n,compiling:!0}:(n=this._compilations.length,this._compilations[n]={schema:e,root:t,baseId:r},{index:n,compiling:!1})}function a(e,t,r){var n=o.call(this,e,t,r);n>=0&&this._compilations.splice(n,1)}function o(e,t,r){for(var n=0;n<this._compilations.length;n++){var i=this._compilations[n];if(i.schema==e&&i.root==t&&i.baseId==r)return n}return-1}function s(e,t){return"var pattern"+e+" = new RegExp("+h.toQuotedString(t[e])+");"}function c(e){return"var default"+e+" = defaults["+e+"];"}function u(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}function l(e){return"var customRule"+e+" = customRules["+e+"];"}function f(e,t){if(!e.length)return"";for(var r="",n=0;n<e.length;n++)r+=t(n,e);return r}var p=e("./resolve"),h=e("./util"),d=e("./error_classes"),m=e("json-stable-stringify"),g=e("../dotjs/validate"),v=e("co"),b=h.ucs2length,y=e("fast-deep-equal"),_=d.Validation;t.exports=n},{"../dotjs/validate":47,"./error_classes":17,"./resolve":20,"./util":24,co:158,"fast-deep-equal":204,"json-stable-stringify":260}],20:[function(e,t,r){"use strict";function n(e,t,r){var a=this._refs[r];if("string"==typeof a){if(!this._refs[a])return n.call(this,e,t,a);a=this._refs[a]}if((a=a||this._schemas[r])instanceof v)return s(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var o,c,u,l=i.call(this,t,r);return l&&(o=l.schema,t=l.root,u=l.baseId),o instanceof v?c=o.validate||e.call(this,o.schema,t,void 0,u):void 0!==o&&(c=s(o,this._opts.inlineRefs)?o:e.call(this,o,t,void 0,u)),c}function i(e,t){var r=d.parse(t,!1,!0),n=f(r),i=l(this._getId(e.schema));if(n!==i){var s=p(n),c=this._refs[s];if("string"==typeof c)return a.call(this,e,c,r);if(c instanceof v)c.validate||this._compile(c),e=c;else{if(!((c=this._schemas[s])instanceof v))return;if(c.validate||this._compile(c),s==p(t))return{schema:c,root:e,baseId:i};e=c}if(!e.schema)return;i=l(this._getId(e.schema))}return o.call(this,r,i,e.schema,e)}function a(e,t,r){var n=i.call(this,e,t);if(n){var a=n.schema,s=n.baseId;e=n.root;var c=this._getId(a);return c&&(s=h(s,c)),o.call(this,r,s,a,e)}}function o(e,t,r,n){if(e.hash=e.hash||"","#/"==e.hash.slice(0,2)){for(var a=e.hash.split("/"),o=1;o<a.length;o++){var s=a[o];if(s){if(s=g.unescapeFragment(s),void 0===(r=r[s]))break;var c;if(!y[s]&&((c=this._getId(r))&&(t=h(t,c)),r.$ref)){var u=h(t,r.$ref),l=i.call(this,n,u);l&&(r=l.schema,n=l.root,t=l.baseId)}}}return void 0!==r&&r!==n.schema?{schema:r,root:n,baseId:t}:void 0}}function s(e,t){return!1!==t&&(void 0===t||!0===t?c(e):t?u(e)<=t:void 0)}function c(e){var t;if(Array.isArray(e)){for(var r=0;r<e.length;r++)if("object"==typeof(t=e[r])&&!c(t))return!1}else for(var n in e){if("$ref"==n)return!1;if("object"==typeof(t=e[n])&&!c(t))return!1}return!0}function u(e){var t,r=0;if(Array.isArray(e)){for(var n=0;n<e.length;n++)if("object"==typeof(t=e[n])&&(r+=u(t)),r==1/0)return 1/0}else for(var i in e){if("$ref"==i)return 1/0;if(_[i])r++;else if("object"==typeof(t=e[i])&&(r+=u(t)+1),r==1/0)return 1/0}return r}function l(e,t){return!1!==t&&(e=p(e)),f(d.parse(e,!1,!0))}function f(e){var t=e.protocol||"//"==e.href.slice(0,2)?"//":"";return(e.protocol||"")+t+(e.host||"")+(e.path||"")+"#"}function p(e){return e?e.replace(x,""):""}function h(e,t){return t=p(t),d.resolve(e,t)}var d=e("url"),m=e("fast-deep-equal"),g=e("./util"),v=e("./schema_obj"),b=e("json-schema-traverse");t.exports=n,n.normalizeId=p,n.fullPath=l,n.url=h,n.ids=function(e){var t=p(this._getId(e)),r={"":t},n={"":l(t,!1)},i={},a=this;return b(e,{allKeys:!0},function(e,t,o,s,c,u,l){if(""!==t){var f=a._getId(e),h=r[s],v=n[s]+"/"+c;if(void 0!==l&&(v+="/"+("number"==typeof l?l:g.escapeFragment(l))),"string"==typeof f){f=h=p(h?d.resolve(h,f):f);var b=a._refs[f];if("string"==typeof b&&(b=a._refs[b]),b&&b.schema){if(!m(e,b.schema))throw new Error('id "'+f+'" resolves to more than one schema')}else if(f!=p(v))if("#"==f[0]){if(i[f]&&!m(e,i[f]))throw new Error('id "'+f+'" resolves to more than one schema');i[f]=e}else a._refs[f]=v}r[t]=h,n[t]=v}}),i},n.inlineRef=s,n.schema=i;var y=g.toHash(["properties","patternProperties","enum","dependencies","definitions"]),_=g.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]),x=/#\/?$/},{"./schema_obj":22,"./util":24,"fast-deep-equal":204,"json-schema-traverse":258,url:453}],21:[function(e,t,r){"use strict";var n=e("./_rules"),i=e("./util").toHash;t.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","uniqueItems","contains","items"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf"]}],t=["type"],r=["additionalItems","$schema","id","title","description","default","definitions"],a=["number","integer","string","array","object","boolean","null"];return e.all=i(t),e.types=i(a),e.forEach(function(r){r.rules=r.rules.map(function(r){var i;if("object"==typeof r){var a=Object.keys(r)[0];i=r[a],r=a,i.forEach(function(r){t.push(r),e.all[r]=!0})}return t.push(r),e.all[r]={keyword:r,code:n[r],implements:i}}),r.type&&(e.types[r.type]=r)}),e.keywords=i(t.concat(r)),e.custom={},e}},{"./_rules":15,"./util":24}],22:[function(e,t,r){"use strict";var n=e("./util");t.exports=function(e){n.copy(e,this)}},{"./util":24}],23:[function(e,t,r){"use strict";t.exports=function(e){for(var t,r=0,n=e.length,i=0;i<n;)r++,(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<n&&56320==(64512&(t=e.charCodeAt(i)))&&i++;return r}},{}],24:[function(e,t,r){"use strict";function n(e,t,r){var n=r?" !== ":" === ",i=r?" || ":" && ",a=r?"!":"",o=r?"":"!";switch(e){case"null":return t+n+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+i+"typeof "+t+n+'"object"'+i+o+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+n+'"number"'+i+o+"("+t+" % 1)"+i+t+n+t+")";default:return"typeof "+t+n+'"'+e+'"'}}function i(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!0;return t}function a(e){return"number"==typeof e?"["+e+"]":p.test(e)?"."+e:"['"+o(e)+"']"}function o(e){return e.replace(h,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function s(e){return"'"+o(e)+"'"}function c(e,t){return'""'==e?t:(e+" + "+t).replace(/' \+ '/g,"")}function u(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function l(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}t.exports={copy:function(e,t){t=t||{};for(var r in e)t[r]=e[r];return t},checkDataType:n,checkDataTypes:function(e,t){switch(e.length){case 1:return n(e[0],t,!0);default:var r="",a=i(e);a.array&&a.object&&(r=a.null?"(":"(!"+t+" || ",r+="typeof "+t+' !== "object")',delete a.null,delete a.array,delete a.object),a.number&&delete a.integer;for(var o in a)r+=(r?" && ":"")+n(o,t,!0);return r}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var r=[],n=0;n<t.length;n++){var i=t[n];f[i]?r[r.length]=i:"array"===e&&"array"===i&&(r[r.length]=i)}if(r.length)return r}else{if(f[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:i,getProperty:a,escapeQuotes:o,equal:e("fast-deep-equal"),ucs2length:e("./ucs2length"),varOccurences:function(e,t){t+="[^0-9]";var r=e.match(new RegExp(t,"g"));return r?r.length:0},varReplace:function(e,t,r){return t+="([^0-9])",r=r.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),r+"$1")},cleanUpCode:function(e){return e.replace(d,"").replace(m,"").replace(g,"if (!($1))")},finalCleanUpCode:function(e,t){var r=e.match(v);return r&&2==r.length&&(e=t?e.replace(y,"").replace(k,w):e.replace(b,"").replace(_,x)),(r=e.match(j))&&3===r.length?e.replace(S,""):e},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var r in e)if(t[r])return!0},schemaHasRulesExcept:function(e,t,r){if("boolean"==typeof e)return!e&&"not"!=r;for(var n in e)if(n!=r&&t[n])return!0},toQuotedString:s,getPathExpr:function(e,t,r,n){return c(e,r?"'/' + "+t+(n?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):n?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,r){return c(e,s(r?"/"+u(t):a(t)))},getData:function(e,t,r){var n,i,o,s;if(""===e)return"rootData";if("/"==e[0]){if(!E.test(e))throw new Error("Invalid JSON-pointer: "+e);i=e,o="rootData"}else{if(!(s=e.match(A)))throw new Error("Invalid JSON-pointer: "+e);if(n=+s[1],"#"==(i=s[2])){if(n>=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return r[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);if(o="data"+(t-n||""),!i)return o}for(var c=o,u=i.split("/"),f=0;f<u.length;f++){var p=u[f];p&&(c+=" && "+(o+=a(l(p))))}return c},unescapeFragment:function(e){return l(decodeURIComponent(e))},unescapeJsonPointer:l,escapeFragment:function(e){return encodeURIComponent(u(e))},escapeJsonPointer:u};var f=i(["string","number","integer","boolean","null"]),p=/^[a-z$_][a-z$_0-9]*$/i,h=/'|\\/g,d=/else\s*{\s*}/g,m=/if\s*\([^)]+\)\s*\{\s*\}(?!\s*else)/g,g=/if\s*\(([^)]+)\)\s*\{\s*\}\s*else(?!\s*if)/g,v=/[^v.]errors/g,b=/var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g,y=/var errors = 0;|var vErrors = null;/g,_="return errors === 0;",x="validate.errors = null; return true;",k=/if \(errors === 0\) return data;\s*else throw new ValidationError\(vErrors\);/,w="return data;",j=/[^A-Za-z_$]rootData[^A-Za-z0-9_$]/g,S=/if \(rootData === undefined\) rootData = data;/,E=/^\/(?:[^~]|~0|~1)*$/,A=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/},{"./ucs2length":23,"fast-deep-equal":204}],25:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s;var h="maximum"==t,d=h?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[d],g=e.opts.$data&&m&&m.$data,v=h?"<":">",b=h?">":"<",y=void 0;if(g){var _=e.util.getData(m.$data,o,e.dataPathArr),x="exclusive"+a,k="exclType"+a,w="exclIsNumber"+a,j="' + "+(S="op"+a)+" + '";i+=" var schemaExcl"+a+" = "+_+"; ",i+=" var "+x+"; var "+k+" = typeof "+(_="schemaExcl"+a)+"; if ("+k+" != 'boolean' && "+k+" != 'undefined' && "+k+" != 'number') { ";y=d;(E=E||[]).push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(y||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(i+=" , message: '"+d+" should be boolean' "),e.opts.verbose&&(i+=" , schema: validate.schema"+c+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";A=i;i=E.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+A+"]); ":i+=" validate.errors = ["+A+"]; return false; ":i+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+k+" == 'number' ? ( ("+x+" = "+n+" === undefined || "+_+" "+v+"= "+n+") ? "+f+" "+b+"= "+_+" : "+f+" "+b+" "+n+" ) : ( ("+x+" = "+_+" === true) ? "+f+" "+b+"= "+n+" : "+f+" "+b+" "+n+" ) || "+f+" !== "+f+") { var op"+a+" = "+x+" ? '"+v+"' : '"+v+"=';"}else{j=v;if((w="number"==typeof m)&&p){S="'"+j+"'";i+=" if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" ( "+n+" === undefined || "+m+" "+v+"= "+n+" ? "+f+" "+b+"= "+m+" : "+f+" "+b+" "+n+" ) || "+f+" !== "+f+") { "}else{w&&void 0===s?(x=!0,y=d,u=e.errSchemaPath+"/"+d,n=m,b+="="):(w&&(n=Math[h?"min":"max"](m,s)),m===(!w||n)?(x=!0,y=d,u=e.errSchemaPath+"/"+d,b+="="):(x=!1,j+="="));var S="'"+j+"'";i+=" if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+f+" "+b+" "+n+" || "+f+" !== "+f+") { "}}y=y||t;var E=E||[];E.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(y||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+S+", limit: "+n+", exclusive: "+x+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be "+j+" ",i+=p?"' + "+n:n+"'"),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var A=i;return i=E.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+A+"]); ":i+=" validate.errors = ["+A+"]; return false; ":i+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l&&(i+=" else { "),i}},{}],26:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s;var h="maxItems"==t?">":"<";i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" "+f+".length "+h+" "+n+") { ";var d=t,m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(d||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxItems"==t?"more":"less",i+=" than ",i+=p?"' + "+n+" + '":""+s,i+=" items' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var g=i;return i=m.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+g+"]); ":i+=" validate.errors = ["+g+"]; return false; ":i+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},{}],27:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s;var h="maxLength"==t?">":"<";i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),!1===e.opts.unicode?i+=" "+f+".length ":i+=" ucs2length("+f+") ",i+=" "+h+" "+n+") { ";var d=t,m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(d||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT be ",i+="maxLength"==t?"longer":"shorter",i+=" than ",i+=p?"' + "+n+" + '":""+s,i+=" characters' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var g=i;return i=m.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+g+"]); ":i+=" validate.errors = ["+g+"]; return false; ":i+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},{}],28:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s;var h="maxProperties"==t?">":"<";i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),i+=" Object.keys("+f+").length "+h+" "+n+") { ";var d=t,m=m||[];m.push(i),i="",!1!==e.createErrors?(i+=" { keyword: '"+(d||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have ",i+="maxProperties"==t?"more":"less",i+=" than ",i+=p?"' + "+n+" + '":""+s,i+=" properties' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var g=i;return i=m.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+g+"]); ":i+=" validate.errors = ["+g+"]; return false; ":i+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},{}],29:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.schema[t],a=e.schemaPath+e.util.getProperty(t),o=e.errSchemaPath+"/"+t,s=!e.opts.allErrors,c=e.util.copy(e),u="";c.level++;var l="valid"+c.level,f=c.baseId,p=!0,h=i;if(h)for(var d,m=-1,g=h.length-1;m<g;)d=h[m+=1],e.util.schemaHasRules(d,e.RULES.all)&&(p=!1,c.schema=d,c.schemaPath=a+"["+m+"]",c.errSchemaPath=o+"/"+m,n+=" "+e.validate(c)+" ",c.baseId=f,s&&(n+=" if ("+l+") { ",u+="}"));return s&&(n+=p?" if (true) { ":" "+u.slice(0,-1)+" "),n=e.util.cleanUpCode(n)}},{}],30:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level;if(o.every(function(t){return e.util.schemaHasRules(t,e.RULES.all)})){var g=h.baseId;n+=" var "+p+" = errors; var "+f+" = false; ";var v=e.compositeRule;e.compositeRule=h.compositeRule=!0;var b=o;if(b)for(var y,_=-1,x=b.length-1;_<x;)y=b[_+=1],h.schema=y,h.schemaPath=s+"["+_+"]",h.errSchemaPath=c+"/"+_,n+=" "+e.validate(h)+" ",h.baseId=g,n+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",d+="}";e.compositeRule=h.compositeRule=v,n+=" "+d+" if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } "),n=e.util.cleanUpCode(n)}else u&&(n+=" if (true) { ");return n}},{}],31:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="valid"+i,p=e.opts.$data&&o&&o.$data;p&&(n+=" var schema"+i+" = "+e.util.getData(o.$data,a,e.dataPathArr)+"; "),p||(n+=" var schema"+i+" = validate.schema"+s+";"),n+="var "+f+" = equal("+l+", schema"+i+"); if (!"+f+") { ";var h=h||[];h.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should be equal to constant' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var d=n;return n=h.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+d+"]); ":n+=" validate.errors = ["+d+"]; return false; ":n+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" }",u&&(n+=" else { "),n}},{}],32:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e);h.level++;var d="valid"+h.level,m="i"+i,g=h.dataLevel=e.dataLevel+1,v="data"+g,b=e.baseId,y=e.util.schemaHasRules(o,e.RULES.all);if(n+="var "+p+" = errors;var "+f+";",y){var _=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.schema=o,h.schemaPath=s,h.errSchemaPath=c,n+=" var "+d+" = false; for (var "+m+" = 0; "+m+" < "+l+".length; "+m+"++) { ",h.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers,!0);var x=l+"["+m+"]";h.dataPathArr[g]=m;var k=e.validate(h);h.baseId=b,e.util.varOccurences(k,v)<2?n+=" "+e.util.varReplace(k,v,x)+" ":n+=" var "+v+" = "+x+"; "+k+" ",n+=" if ("+d+") break; } ",e.compositeRule=h.compositeRule=_,n+=" if (!"+d+") {"}else n+=" if ("+l+".length == 0) {";var w=w||[];w.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should contain a valid item' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var j=n;return n=w.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+j+"]); ":n+=" validate.errors = ["+j+"]; return false; ":n+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { ",y&&(n+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(n+=" } "),n=e.util.cleanUpCode(n)}},{}],33:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n,i,a=" ",o=e.level,s=e.dataLevel,c=e.schema[t],u=e.schemaPath+e.util.getProperty(t),l=e.errSchemaPath+"/"+t,f=!e.opts.allErrors,p="data"+(s||""),h="valid"+o,d="errs__"+o,m=e.opts.$data&&c&&c.$data;m?(a+=" var schema"+o+" = "+e.util.getData(c.$data,s,e.dataPathArr)+"; ",i="schema"+o):i=c;var g,v,b,y,_,x=this,k="definition"+o,w=x.definition,j="";if(m&&w.$data){_="keywordValidate"+o;var S=w.validateSchema;a+=" var "+k+" = RULES.custom['"+t+"'].definition; var "+_+" = "+k+".validate;"}else{if(!(y=e.useCustomRule(x,c,e.schema,e)))return;i="validate.schema"+u,_=y.code,g=w.compile,v=w.inline,b=w.macro}var E=_+".errors",A="i"+o,F="ruleErr"+o,I=w.async;if(I&&!e.async)throw new Error("async keyword in sync schema");if(v||b||(a+=E+" = null;"),a+="var "+d+" = errors;var "+h+";",m&&w.$data&&(j+="}",a+=" if ("+i+" === undefined) { "+h+" = true; } else { ",S&&(j+="}",a+=" "+h+" = "+k+".validateSchema("+i+"); if ("+h+") { ")),v)w.statements?a+=" "+y.validate+" ":a+=" "+h+" = "+y.validate+"; ";else if(b){var O=e.util.copy(e),j="";O.level++;var P="valid"+O.level;O.schema=y.validate,O.schemaPath="";var T=e.compositeRule;e.compositeRule=O.compositeRule=!0;var C=e.validate(O).replace(/validate\.schema/g,_);e.compositeRule=O.compositeRule=T,a+=" "+C}else{(D=D||[]).push(a),a="",a+=" "+_+".call( ",e.opts.passContext?a+="this":a+="self",g||!1===w.schema?a+=" , "+p+" ":a+=" , "+i+" , "+p+" , validate.schema"+e.schemaPath+" ",a+=" , (dataPath || '')",'""'!=e.errorPath&&(a+=" + "+e.errorPath);var z=s?"data"+(s-1||""):"parentData",R=s?e.dataPathArr[s]:"parentDataProperty",B=a+=" , "+z+" , "+R+" , rootData ) ";a=D.pop(),!1===w.errors?(a+=" "+h+" = ",I&&(a+=""+e.yieldAwait),a+=B+"; "):a+=I?" var "+(E="customErrors"+o)+" = null; try { "+h+" = "+e.yieldAwait+B+"; } catch (e) { "+h+" = false; if (e instanceof ValidationError) "+E+" = e.errors; else throw e; } ":" "+E+" = null; "+h+" = "+B+"; "}if(w.modifying&&(a+=" if ("+z+") "+p+" = "+z+"["+R+"];"),a+=""+j,w.valid)f&&(a+=" if (true) { ");else{a+=" if ( ",void 0===w.valid?(a+=" !",a+=b?""+P:""+h):a+=" "+!w.valid+" ",a+=") { ",n=x.keyword;var D=D||[];D.push(a),a="",(D=D||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: '"+(n||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+x.keyword+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should pass \""+x.keyword+"\" keyword validation' "),e.opts.verbose&&(a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ";var q=a;a=D.pop(),!e.compositeRule&&f?e.async?a+=" throw new ValidationError(["+q+"]); ":a+=" validate.errors = ["+q+"]; return false; ":a+=" var err = "+q+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var M=a;a=D.pop(),v?w.errors?"full"!=w.errors&&(a+=" for (var "+A+"="+d+"; "+A+"<errors; "+A+"++) { var "+F+" = vErrors["+A+"]; if ("+F+".dataPath === undefined) "+F+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+F+".schemaPath === undefined) { "+F+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(a+=" "+F+".schema = "+i+"; "+F+".data = "+p+"; "),a+=" } "):!1===w.errors?a+=" "+M+" ":(a+=" if ("+d+" == errors) { "+M+" } else { for (var "+A+"="+d+"; "+A+"<errors; "+A+"++) { var "+F+" = vErrors["+A+"]; if ("+F+".dataPath === undefined) "+F+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+F+".schemaPath === undefined) { "+F+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(a+=" "+F+".schema = "+i+"; "+F+".data = "+p+"; "),a+=" } } "):b?(a+=" var err = ",!1!==e.createErrors?(a+=" { keyword: '"+(n||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+x.keyword+"' } ",!1!==e.opts.messages&&(a+=" , message: 'should pass \""+x.keyword+"\" keyword validation' "),e.opts.verbose&&(a+=" , schema: validate.schema"+u+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+p+" "),a+=" } "):a+=" {} ",a+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&f&&(e.async?a+=" throw new ValidationError(vErrors); ":a+=" validate.errors = vErrors; return false; ")):!1===w.errors?a+=" "+M+" ":(a+=" if (Array.isArray("+E+")) { if (vErrors === null) vErrors = "+E+"; else vErrors = vErrors.concat("+E+"); errors = vErrors.length; for (var "+A+"="+d+"; "+A+"<errors; "+A+"++) { var "+F+" = vErrors["+A+"]; if ("+F+".dataPath === undefined) "+F+".dataPath = (dataPath || '') + "+e.errorPath+"; "+F+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(a+=" "+F+".schema = "+i+"; "+F+".data = "+p+"; "),a+=" } } else { "+M+" } "),a+=" } ",f&&(a+=" else { ")}return a}},{}],34:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="errs__"+i,p=e.util.copy(e),h="";p.level++;var d="valid"+p.level,m={},g={},v=e.opts.ownProperties;for(x in o){var b=o[x],y=Array.isArray(b)?g:m;y[x]=b}n+="var "+f+" = errors;";var _=e.errorPath;n+="var missing"+i+";";for(var x in g)if((y=g[x]).length){if(n+=" if ( "+l+e.util.getProperty(x)+" !== undefined ",v&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(x)+"') "),u){n+=" && ( ";var k=y;if(k)for(var w=-1,j=k.length-1;w<j;)O=k[w+=1],w&&(n+=" || "),n+=" ( ( "+(z=l+(C=e.util.getProperty(O)))+" === undefined ",v&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "),n+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?O:C)+") ) ";n+=")) { ";var S="missing"+i,E="' + "+S+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(_,S,!0):_+" + "+S);var A=A||[];A.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(x)+"', missingProperty: '"+E+"', depsCount: "+y.length+", deps: '"+e.util.escapeQuotes(1==y.length?y[0]:y.join(", "))+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should have ",1==y.length?n+="property "+e.util.escapeQuotes(y[0]):n+="properties "+e.util.escapeQuotes(y.join(", ")),n+=" when property "+e.util.escapeQuotes(x)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var F=n;n=A.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+F+"]); ":n+=" validate.errors = ["+F+"]; return false; ":n+=" var err = "+F+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{n+=" ) { ";var I=y;if(I)for(var O,P=-1,T=I.length-1;P<T;){O=I[P+=1];var C=e.util.getProperty(O),E=e.util.escapeQuotes(O),z=l+C;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(_,O,e.opts.jsonPointers)),n+=" if ( "+z+" === undefined ",v&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { property: '"+e.util.escapeQuotes(x)+"', missingProperty: '"+E+"', depsCount: "+y.length+", deps: '"+e.util.escapeQuotes(1==y.length?y[0]:y.join(", "))+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should have ",1==y.length?n+="property "+e.util.escapeQuotes(y[0]):n+="properties "+e.util.escapeQuotes(y.join(", ")),n+=" when property "+e.util.escapeQuotes(x)+" is present' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}n+=" } ",u&&(h+="}",n+=" else { ")}e.errorPath=_;var R=p.baseId;for(var x in m){b=m[x];e.util.schemaHasRules(b,e.RULES.all)&&(n+=" "+d+" = true; if ( "+l+e.util.getProperty(x)+" !== undefined ",v&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(x)+"') "),n+=") { ",p.schema=b,p.schemaPath=s+e.util.getProperty(x),p.errSchemaPath=c+"/"+e.util.escapeFragment(x),n+=" "+e.validate(p)+" ",p.baseId=R,n+=" } ",u&&(n+=" if ("+d+") { ",h+="}"))}return u&&(n+=" "+h+" if ("+f+" == errors) {"),n=e.util.cleanUpCode(n)}},{}],35:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="valid"+i,p=e.opts.$data&&o&&o.$data;p&&(n+=" var schema"+i+" = "+e.util.getData(o.$data,a,e.dataPathArr)+"; ");var h="i"+i,d="schema"+i;p||(n+=" var "+d+" = validate.schema"+s+";"),n+="var "+f+";",p&&(n+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"),n+=f+" = false;for (var "+h+"=0; "+h+"<"+d+".length; "+h+"++) if (equal("+l+", "+d+"["+h+"])) { "+f+" = true; break; }",p&&(n+=" } "),n+=" if (!"+f+") { ";var m=m||[];m.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { allowedValues: schema"+i+" } ",!1!==e.opts.messages&&(n+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var g=n;return n=m.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+g+"]); ":n+=" validate.errors = ["+g+"]; return false; ":n+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" }",u&&(n+=" else { "),n}},{}],36:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||"");if(!1===e.opts.format)return u&&(n+=" if (true) { "),n;var f,p=e.opts.$data&&o&&o.$data;p?(n+=" var schema"+i+" = "+e.util.getData(o.$data,a,e.dataPathArr)+"; ",f="schema"+i):f=o;var h=e.opts.unknownFormats,d=Array.isArray(h);if(p)n+=" var "+(m="format"+i)+" = formats["+f+"]; var "+(g="isObject"+i)+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+(v="formatType"+i)+" = "+g+" && "+m+".type || 'string'; if ("+g+") { ",e.async&&(n+=" var async"+i+" = "+m+".async; "),n+=" "+m+" = "+m+".validate; } if ( ",p&&(n+=" ("+f+" !== undefined && typeof "+f+" != 'string') || "),n+=" (","ignore"!=h&&(n+=" ("+f+" && !"+m+" ",d&&(n+=" && self._opts.unknownFormats.indexOf("+f+") == -1 "),n+=") || "),n+=" ("+m+" && "+v+" == '"+r+"' && !(typeof "+m+" == 'function' ? ",e.async?n+=" (async"+i+" ? "+e.yieldAwait+" "+m+"("+l+") : "+m+"("+l+")) ":n+=" "+m+"("+l+") ",n+=" : "+m+".test("+l+"))))) {";else{var m=e.formats[o];if(!m){if("ignore"==h)return console.warn('unknown format "'+o+'" ignored in schema at path "'+e.errSchemaPath+'"'),u&&(n+=" if (true) { "),n;if(d&&h.indexOf(o)>=0)return u&&(n+=" if (true) { "),n;throw new Error('unknown format "'+o+'" is used in schema at path "'+e.errSchemaPath+'"')}var g="object"==typeof m&&!(m instanceof RegExp)&&m.validate,v=g&&m.type||"string";if(g){var b=!0===m.async;m=m.validate}if(v!=r)return u&&(n+=" if (true) { "),n;if(b){if(!e.async)throw new Error("async format in sync schema");y="formats"+e.util.getProperty(o)+".validate";n+=" if (!("+e.yieldAwait+" "+y+"("+l+"))) { "}else{n+=" if (! ";var y="formats"+e.util.getProperty(o);g&&(y+=".validate"),n+="function"==typeof m?" "+y+"("+l+") ":" "+y+".test("+l+") ",n+=") { "}}var _=_||[];_.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format: ",n+=p?""+f:""+e.util.toQuotedString(o),n+=" } ",!1!==e.opts.messages&&(n+=" , message: 'should match format \"",n+=p?"' + "+f+" + '":""+e.util.escapeQuotes(o),n+="\"' "),e.opts.verbose&&(n+=" , schema: ",n+=p?"validate.schema"+s:""+e.util.toQuotedString(o),n+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var x=n;return n=_.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+x+"]); ":n+=" validate.errors = ["+x+"]; return false; ":n+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",u&&(n+=" else { "),n}},{}],37:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level,g="i"+i,v=h.dataLevel=e.dataLevel+1,b="data"+v,y=e.baseId;if(n+="var "+p+" = errors;var "+f+";",Array.isArray(o)){var _=e.schema.additionalItems;if(!1===_){n+=" "+f+" = "+l+".length <= "+o.length+"; ";var x=c;c=e.errSchemaPath+"/additionalItems",n+=" if (!"+f+") { ";var k=k||[];k.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+o.length+" } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have more than "+o.length+" items' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var w=n;n=k.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+w+"]); ":n+=" validate.errors = ["+w+"]; return false; ":n+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",c=x,u&&(d+="}",n+=" else { ")}var j=o;if(j)for(var S,E=-1,A=j.length-1;E<A;)if(S=j[E+=1],e.util.schemaHasRules(S,e.RULES.all)){n+=" "+m+" = true; if ("+l+".length > "+E+") { ";F=l+"["+E+"]";h.schema=S,h.schemaPath=s+"["+E+"]",h.errSchemaPath=c+"/"+E,h.errorPath=e.util.getPathExpr(e.errorPath,E,e.opts.jsonPointers,!0),h.dataPathArr[v]=E;I=e.validate(h);h.baseId=y,e.util.varOccurences(I,b)<2?n+=" "+e.util.varReplace(I,b,F)+" ":n+=" var "+b+" = "+F+"; "+I+" ",n+=" } ",u&&(n+=" if ("+m+") { ",d+="}")}if("object"==typeof _&&e.util.schemaHasRules(_,e.RULES.all)){h.schema=_,h.schemaPath=e.schemaPath+".additionalItems",h.errSchemaPath=e.errSchemaPath+"/additionalItems",n+=" "+m+" = true; if ("+l+".length > "+o.length+") { for (var "+g+" = "+o.length+"; "+g+" < "+l+".length; "+g+"++) { ",h.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);F=l+"["+g+"]";h.dataPathArr[v]=g;I=e.validate(h);h.baseId=y,e.util.varOccurences(I,b)<2?n+=" "+e.util.varReplace(I,b,F)+" ":n+=" var "+b+" = "+F+"; "+I+" ",u&&(n+=" if (!"+m+") break; "),n+=" } } ",u&&(n+=" if ("+m+") { ",d+="}")}}else if(e.util.schemaHasRules(o,e.RULES.all)){h.schema=o,h.schemaPath=s,h.errSchemaPath=c,n+=" for (var "+g+" = 0; "+g+" < "+l+".length; "+g+"++) { ",h.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers,!0);var F=l+"["+g+"]";h.dataPathArr[v]=g;var I=e.validate(h);h.baseId=y,e.util.varOccurences(I,b)<2?n+=" "+e.util.varReplace(I,b,F)+" ":n+=" var "+b+" = "+F+"; "+I+" ",u&&(n+=" if (!"+m+") break; "),n+=" }"}return u&&(n+=" "+d+" if ("+p+" == errors) {"),n=e.util.cleanUpCode(n)}},{}],38:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s,i+="var division"+a+";if (",p&&(i+=" "+n+" !== undefined && ( typeof "+n+" != 'number' || "),i+=" (division"+a+" = "+f+" / "+n+", ",e.opts.multipleOfPrecision?i+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":i+=" division"+a+" !== parseInt(division"+a+") ",i+=" ) ",p&&(i+=" ) "),i+=" ) { ";var h=h||[];h.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+n+" } ",!1!==e.opts.messages&&(i+=" , message: 'should be multiple of ",i+=p?"' + "+n:n+"'"),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var d=i;return i=h.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+d+"]); ":i+=" validate.errors = ["+d+"]; return false; ":i+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},{}],39:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="errs__"+i,p=e.util.copy(e);p.level++;var h="valid"+p.level;if(e.util.schemaHasRules(o,e.RULES.all)){p.schema=o,p.schemaPath=s,p.errSchemaPath=c,n+=" var "+f+" = errors; ";var d=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1;var m;p.opts.allErrors&&(m=p.opts.allErrors,p.opts.allErrors=!1),n+=" "+e.validate(p)+" ",p.createErrors=!0,m&&(p.opts.allErrors=m),e.compositeRule=p.compositeRule=d,n+=" if ("+h+") { ";var g=g||[];g.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var v=n;n=g.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+v+"]); ":n+=" validate.errors = ["+v+"]; return false; ":n+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(n+=" } ")}else n+=" var err = ",!1!==e.createErrors?(n+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should NOT be valid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(n+=" if (false) { ");return n}},{}],40:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level;n+="var "+p+" = errors;var prevValid"+i+" = false;var "+f+" = false;";var g=h.baseId,v=e.compositeRule;e.compositeRule=h.compositeRule=!0;var b=o;if(b)for(var y,_=-1,x=b.length-1;_<x;)y=b[_+=1],e.util.schemaHasRules(y,e.RULES.all)?(h.schema=y,h.schemaPath=s+"["+_+"]",h.errSchemaPath=c+"/"+_,n+=" "+e.validate(h)+" ",h.baseId=g):n+=" var "+m+" = true; ",_&&(n+=" if ("+m+" && prevValid"+i+") "+f+" = false; else { ",d+="}"),n+=" if ("+m+") "+f+" = prevValid"+i+" = true;";return e.compositeRule=h.compositeRule=v,n+=d+"if (!"+f+") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ",!1!==e.opts.messages&&(n+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),n+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }",e.opts.allErrors&&(n+=" } "),n}},{}],41:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(o||""),p=e.opts.$data&&s&&s.$data;p?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s;var h=p?"(new RegExp("+n+"))":e.usePattern(s);i+="if ( ",p&&(i+=" ("+n+" !== undefined && typeof "+n+" != 'string') || "),i+=" !"+h+".test("+f+") ) { ";var d=d||[];d.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ",i+=p?""+n:""+e.util.toQuotedString(s),i+=" } ",!1!==e.opts.messages&&(i+=" , message: 'should match pattern \"",i+=p?"' + "+n+" + '":""+e.util.escapeQuotes(s),i+="\"' "),e.opts.verbose&&(i+=" , schema: ",i+=p?"validate.schema"+c:""+e.util.toQuotedString(s),i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var m=i;return i=d.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",l&&(i+=" else { "),i}},{}],42:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="valid"+i,p="errs__"+i,h=e.util.copy(e),d="";h.level++;var m="valid"+h.level,g="key"+i,v="idx"+i,b=h.dataLevel=e.dataLevel+1,y="data"+b,_="dataProperties"+i,x=Object.keys(o||{}),k=e.schema.patternProperties||{},w=Object.keys(k),j=e.schema.additionalProperties,S=x.length||w.length,E=!1===j,A="object"==typeof j&&Object.keys(j).length,F=e.opts.removeAdditional,I=E||A||F,O=e.opts.ownProperties,P=e.baseId,T=e.schema.required;if(T&&(!e.opts.v5||!T.$data)&&T.length<e.opts.loopRequired)var C=e.util.toHash(T);if(e.opts.patternGroups)var z=e.schema.patternGroups||{},R=Object.keys(z);if(n+="var "+p+" = errors;var "+m+" = true;",O&&(n+=" var "+_+" = undefined;"),I){if(n+=O?" "+_+" = "+_+" || Object.keys("+l+"); for (var "+v+"=0; "+v+"<"+_+".length; "+v+"++) { var "+g+" = "+_+"["+v+"]; ":" for (var "+g+" in "+l+") { ",S){if(n+=" var isAdditional"+i+" = !(false ",x.length)if(x.length>5)n+=" || validate.schema"+s+"["+g+"] ";else{var B=x;if(B)for(var D=-1,q=B.length-1;D<q;)Z=B[D+=1],n+=" || "+g+" == "+e.util.toQuotedString(Z)+" "}if(w.length){var M=w;if(M)for(var L=-1,N=M.length-1;L<N;)ae=M[L+=1],n+=" || "+e.usePattern(ae)+".test("+g+") "}if(e.opts.patternGroups&&R.length){var U=R;if(U)for(var L=-1,$=U.length-1;L<$;)ue=U[L+=1],n+=" || "+e.usePattern(ue)+".test("+g+") "}n+=" ); if (isAdditional"+i+") { "}if("all"==F)n+=" delete "+l+"["+g+"]; ";else{var H=e.errorPath,V="' + "+g+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers)),E)if(F)n+=" delete "+l+"["+g+"]; ";else{n+=" "+m+" = false; ";re=c;c=e.errSchemaPath+"/additionalProperties",(_e=_e||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { additionalProperty: '"+V+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have additional properties' "),e.opts.verbose&&(n+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";xe=n;n=_e.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+xe+"]); ":n+=" validate.errors = ["+xe+"]; return false; ":n+=" var err = "+xe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=re,u&&(n+=" break; ")}else if(A)if("failing"==F){n+=" var "+p+" = errors; ";var K=e.compositeRule;e.compositeRule=h.compositeRule=!0,h.schema=j,h.schemaPath=e.schemaPath+".additionalProperties",h.errSchemaPath=e.errSchemaPath+"/additionalProperties",h.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);Y=l+"["+g+"]";h.dataPathArr[b]=g;de=e.validate(h);h.baseId=P,e.util.varOccurences(de,y)<2?n+=" "+e.util.varReplace(de,y,Y)+" ":n+=" var "+y+" = "+Y+"; "+de+" ",n+=" if (!"+m+") { errors = "+p+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+l+"["+g+"]; } ",e.compositeRule=h.compositeRule=K}else{h.schema=j,h.schemaPath=e.schemaPath+".additionalProperties",h.errSchemaPath=e.errSchemaPath+"/additionalProperties",h.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);Y=l+"["+g+"]";h.dataPathArr[b]=g;de=e.validate(h);h.baseId=P,e.util.varOccurences(de,y)<2?n+=" "+e.util.varReplace(de,y,Y)+" ":n+=" var "+y+" = "+Y+"; "+de+" ",u&&(n+=" if (!"+m+") break; ")}e.errorPath=H}S&&(n+=" } "),n+=" } ",u&&(n+=" if ("+m+") { ",d+="}")}var Q=e.opts.useDefaults&&!e.compositeRule;if(x.length){var G=x;if(G)for(var Z,J=-1,W=G.length-1;J<W;){he=o[Z=G[J+=1]];if(e.util.schemaHasRules(he,e.RULES.all)){var X=e.util.getProperty(Z),Y=l+X,ee=Q&&void 0!==he.default;h.schema=he,h.schemaPath=s+X,h.errSchemaPath=c+"/"+e.util.escapeFragment(Z),h.errorPath=e.util.getPath(e.errorPath,Z,e.opts.jsonPointers),h.dataPathArr[b]=e.util.toQuotedString(Z);de=e.validate(h);if(h.baseId=P,e.util.varOccurences(de,y)<2){de=e.util.varReplace(de,y,Y);te=Y}else{var te=y;n+=" var "+y+" = "+Y+"; "}if(ee)n+=" "+de+" ";else{if(C&&C[Z]){n+=" if ( "+te+" === undefined ",O&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(Z)+"') "),n+=") { "+m+" = false; ";var H=e.errorPath,re=c,ne=e.util.escapeQuotes(Z);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(H,Z,e.opts.jsonPointers)),c=e.errSchemaPath+"/required",(_e=_e||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+ne+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+ne+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";xe=n;n=_e.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+xe+"]); ":n+=" validate.errors = ["+xe+"]; return false; ":n+=" var err = "+xe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c=re,e.errorPath=H,n+=" } else { "}else u?(n+=" if ( "+te+" === undefined ",O&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(Z)+"') "),n+=") { "+m+" = true; } else { "):(n+=" if ("+te+" !== undefined ",O&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(Z)+"') "),n+=" ) { ");n+=" "+de+" } "}}u&&(n+=" if ("+m+") { ",d+="}")}}if(w.length){var ie=w;if(ie)for(var ae,oe=-1,se=ie.length-1;oe<se;){he=k[ae=ie[oe+=1]];if(e.util.schemaHasRules(he,e.RULES.all)){h.schema=he,h.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(ae),h.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(ae),n+=O?" "+_+" = "+_+" || Object.keys("+l+"); for (var "+v+"=0; "+v+"<"+_+".length; "+v+"++) { var "+g+" = "+_+"["+v+"]; ":" for (var "+g+" in "+l+") { ",n+=" if ("+e.usePattern(ae)+".test("+g+")) { ",h.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);Y=l+"["+g+"]";h.dataPathArr[b]=g;de=e.validate(h);h.baseId=P,e.util.varOccurences(de,y)<2?n+=" "+e.util.varReplace(de,y,Y)+" ":n+=" var "+y+" = "+Y+"; "+de+" ",u&&(n+=" if (!"+m+") break; "),n+=" } ",u&&(n+=" else "+m+" = true; "),n+=" } ",u&&(n+=" if ("+m+") { ",d+="}")}}}if(e.opts.patternGroups&&R.length){var ce=R;if(ce)for(var ue,le=-1,fe=ce.length-1;le<fe;){var pe=z[ue=ce[le+=1]],he=pe.schema;if(e.util.schemaHasRules(he,e.RULES.all)){h.schema=he,h.schemaPath=e.schemaPath+".patternGroups"+e.util.getProperty(ue)+".schema",h.errSchemaPath=e.errSchemaPath+"/patternGroups/"+e.util.escapeFragment(ue)+"/schema",n+=" var pgPropCount"+i+" = 0; ",n+=O?" "+_+" = "+_+" || Object.keys("+l+"); for (var "+v+"=0; "+v+"<"+_+".length; "+v+"++) { var "+g+" = "+_+"["+v+"]; ":" for (var "+g+" in "+l+") { ",n+=" if ("+e.usePattern(ue)+".test("+g+")) { pgPropCount"+i+"++; ",h.errorPath=e.util.getPathExpr(e.errorPath,g,e.opts.jsonPointers);Y=l+"["+g+"]";h.dataPathArr[b]=g;var de=e.validate(h);h.baseId=P,e.util.varOccurences(de,y)<2?n+=" "+e.util.varReplace(de,y,Y)+" ":n+=" var "+y+" = "+Y+"; "+de+" ",u&&(n+=" if (!"+m+") break; "),n+=" } ",u&&(n+=" else "+m+" = true; "),n+=" } ",u&&(n+=" if ("+m+") { ",d+="}");var me=pe.minimum,ge=pe.maximum;if(void 0!==me||void 0!==ge){n+=" var "+f+" = true; ";re=c;if(void 0!==me){var ve=me,be="minimum",ye="less";n+=" "+f+" = pgPropCount"+i+" >= "+me+"; ",c=e.errSchemaPath+"/patternGroups/minimum",n+=" if (!"+f+") { ",(_e=_e||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'patternGroups' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { reason: '"+be+"', limit: "+ve+", pattern: '"+e.util.escapeQuotes(ue)+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have "+ye+" than "+ve+' properties matching pattern "'+e.util.escapeQuotes(ue)+"\"' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";xe=n;n=_e.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+xe+"]); ":n+=" validate.errors = ["+xe+"]; return false; ":n+=" var err = "+xe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } ",void 0!==ge&&(n+=" else ")}if(void 0!==ge){var ve=ge,be="maximum",ye="more";n+=" "+f+" = pgPropCount"+i+" <= "+ge+"; ",c=e.errSchemaPath+"/patternGroups/maximum",n+=" if (!"+f+") { ";var _e=_e||[];_e.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'patternGroups' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { reason: '"+be+"', limit: "+ve+", pattern: '"+e.util.escapeQuotes(ue)+"' } ",!1!==e.opts.messages&&(n+=" , message: 'should NOT have "+ye+" than "+ve+' properties matching pattern "'+e.util.escapeQuotes(ue)+"\"' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var xe=n;n=_e.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+xe+"]); ":n+=" validate.errors = ["+xe+"]; return false; ":n+=" var err = "+xe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } "}c=re,u&&(n+=" if ("+f+") { ",d+="}")}}}}return u&&(n+=" "+d+" if ("+p+" == errors) {"),n=e.util.cleanUpCode(n)}},{}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="errs__"+i,p=e.util.copy(e);p.level++;var h="valid"+p.level;if(e.util.schemaHasRules(o,e.RULES.all)){p.schema=o,p.schemaPath=s,p.errSchemaPath=c;var d="key"+i,m="idx"+i,g="i"+i,v="' + "+d+" + '",b="data"+(p.dataLevel=e.dataLevel+1),y="dataProperties"+i,_=e.opts.ownProperties,x=e.baseId;n+=" var "+f+" = errors; ",_&&(n+=" var "+y+" = undefined; "),n+=_?" "+y+" = "+y+" || Object.keys("+l+"); for (var "+m+"=0; "+m+"<"+y+".length; "+m+"++) { var "+d+" = "+y+"["+m+"]; ":" for (var "+d+" in "+l+") { ",n+=" var startErrs"+i+" = errors; ";var k=d,w=e.compositeRule;e.compositeRule=p.compositeRule=!0;var j=e.validate(p);p.baseId=x,e.util.varOccurences(j,b)<2?n+=" "+e.util.varReplace(j,b,k)+" ":n+=" var "+b+" = "+k+"; "+j+" ",e.compositeRule=p.compositeRule=w,n+=" if (!"+h+") { for (var "+g+"=startErrs"+i+"; "+g+"<errors; "+g+"++) { vErrors["+g+"].propertyName = "+d+"; } var err = ",!1!==e.createErrors?(n+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { propertyName: '"+v+"' } ",!1!==e.opts.messages&&(n+=" , message: 'property name \\'"+v+"\\' is invalid' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&u&&(e.async?n+=" throw new ValidationError(vErrors); ":n+=" validate.errors = vErrors; return false; "),u&&(n+=" break; "),n+=" } }"}return u&&(n+=" if ("+f+" == errors) {"),n=e.util.cleanUpCode(n)}},{}],44:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n,i,a=" ",o=e.level,s=e.dataLevel,c=e.schema[t],u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(s||""),p="valid"+o;if("#"==c||"#/"==c)e.isRoot?(n=e.async,i="validate"):(n=!0===e.root.schema.$async,i="root.refVal[0]");else{var h=e.resolveRef(e.baseId,c,e.isRoot);if(void 0===h){var d=e.MissingRefError.message(e.baseId,c);if("fail"==e.opts.missingRefs){console.error(d),(b=b||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { ref: '"+e.util.escapeQuotes(c)+"' } ",!1!==e.opts.messages&&(a+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(c)+"' "),e.opts.verbose&&(a+=" , schema: "+e.util.toQuotedString(c)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),a+=" } "):a+=" {} ";var m=a;a=b.pop(),!e.compositeRule&&l?e.async?a+=" throw new ValidationError(["+m+"]); ":a+=" validate.errors = ["+m+"]; return false; ":a+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(a+=" if (false) { ")}else{if("ignore"!=e.opts.missingRefs)throw new e.MissingRefError(e.baseId,c,d);console.warn(d),l&&(a+=" if (true) { ")}}else if(h.inline){var g=e.util.copy(e);g.level++;var v="valid"+g.level;g.schema=h.schema,g.schemaPath="",g.errSchemaPath=c,a+=" "+e.validate(g).replace(/validate\.schema/g,h.code)+" ",l&&(a+=" if ("+v+") { ")}else n=!0===h.$async,i=h.code}if(i){var b=b||[];b.push(a),a="",e.opts.passContext?a+=" "+i+".call(this, ":a+=" "+i+"( ",a+=" "+f+", (dataPath || '')",'""'!=e.errorPath&&(a+=" + "+e.errorPath);var y=a+=" , "+(s?"data"+(s-1||""):"parentData")+" , "+(s?e.dataPathArr[s]:"parentDataProperty")+", rootData) ";if(a=b.pop(),n){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(a+=" var "+p+"; "),a+=" try { "+e.yieldAwait+" "+y+"; ",l&&(a+=" "+p+" = true; "),a+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",l&&(a+=" "+p+" = false; "),a+=" } ",l&&(a+=" if ("+p+") { ")}else a+=" if (!"+y+") { if (vErrors === null) vErrors = "+i+".errors; else vErrors = vErrors.concat("+i+".errors); errors = vErrors.length; } ",l&&(a+=" else { ")}return a}},{}],45:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=" ",i=e.level,a=e.dataLevel,o=e.schema[t],s=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,u=!e.opts.allErrors,l="data"+(a||""),f="valid"+i,p=e.opts.$data&&o&&o.$data;p&&(n+=" var schema"+i+" = "+e.util.getData(o.$data,a,e.dataPathArr)+"; ");var h="schema"+i;if(!p)if(o.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var d=[],m=o;if(m)for(var g,v=-1,b=m.length-1;v<b;){g=m[v+=1];var y=e.schema.properties[g];y&&e.util.schemaHasRules(y,e.RULES.all)||(d[d.length]=g)}}else d=o;if(p||d.length){var _=e.errorPath,x=p||d.length>=e.opts.loopRequired,k=e.opts.ownProperties;if(u)if(n+=" var missing"+i+"; ",x){p||(n+=" var "+h+" = validate.schema"+s+"; ");I="' + "+(F="schema"+i+"["+(j="i"+i)+"]")+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(_,F,e.opts.jsonPointers)),n+=" var "+f+" = true; ",p&&(n+=" if (schema"+i+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+i+")) "+f+" = false; else {"),n+=" for (var "+j+" = 0; "+j+" < "+h+".length; "+j+"++) { "+f+" = "+l+"["+h+"["+j+"]] !== undefined ",k&&(n+=" && Object.prototype.hasOwnProperty.call("+l+", "+h+"["+j+"]) "),n+="; if (!"+f+") break; } ",p&&(n+=" } "),n+=" if (!"+f+") { ",(E=E||[]).push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+I+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+I+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";A=n;n=E.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+A+"]); ":n+=" validate.errors = ["+A+"]; return false; ":n+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else{n+=" if ( ";var w=d;if(w)for(var j=-1,S=w.length-1;j<S;)P=w[j+=1],j&&(n+=" || "),n+=" ( ( "+(R=l+(z=e.util.getProperty(P)))+" === undefined ",k&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(P)+"') "),n+=") && (missing"+i+" = "+e.util.toQuotedString(e.opts.jsonPointers?P:z)+") ) ";n+=") { ";I="' + "+(F="missing"+i)+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(_,F,!0):_+" + "+F);var E=E||[];E.push(n),n="",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+I+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+I+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ";var A=n;n=E.pop(),!e.compositeRule&&u?e.async?n+=" throw new ValidationError(["+A+"]); ":n+=" validate.errors = ["+A+"]; return false; ":n+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",n+=" } else { "}else if(x){p||(n+=" var "+h+" = validate.schema"+s+"; ");var F="schema"+i+"["+(j="i"+i)+"]",I="' + "+F+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(_,F,e.opts.jsonPointers)),p&&(n+=" if ("+h+" && !Array.isArray("+h+")) { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+I+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+I+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+h+" !== undefined) { "),n+=" for (var "+j+" = 0; "+j+" < "+h+".length; "+j+"++) { if ("+l+"["+h+"["+j+"]] === undefined ",k&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", "+h+"["+j+"]) "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+I+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+I+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(n+=" } ")}else{var O=d;if(O)for(var P,T=-1,C=O.length-1;T<C;){P=O[T+=1];var z=e.util.getProperty(P),I=e.util.escapeQuotes(P),R=l+z;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(_,P,e.opts.jsonPointers)),n+=" if ( "+R+" === undefined ",k&&(n+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(P)+"') "),n+=") { var err = ",!1!==e.createErrors?(n+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+I+"' } ",!1!==e.opts.messages&&(n+=" , message: '",e.opts._errorDataPathProperty?n+="is a required property":n+="should have required property \\'"+I+"\\'",n+="' "),e.opts.verbose&&(n+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "),n+=" } "):n+=" {} ",n+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=_}else u&&(n+=" if (true) {");return n}},{}],46:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n,i=" ",a=e.level,o=e.dataLevel,s=e.schema[t],c=e.schemaPath+e.util.getProperty(t),u=e.errSchemaPath+"/"+t,l=!e.opts.allErrors,f="data"+(o||""),p="valid"+a,h=e.opts.$data&&s&&s.$data;if(h?(i+=" var schema"+a+" = "+e.util.getData(s.$data,o,e.dataPathArr)+"; ",n="schema"+a):n=s,(s||h)&&!1!==e.opts.uniqueItems){h&&(i+=" var "+p+"; if ("+n+" === false || "+n+" === undefined) "+p+" = true; else if (typeof "+n+" != 'boolean') "+p+" = false; else { "),i+=" var "+p+" = true; if ("+f+".length > 1) { var i = "+f+".length, j; outer: for (;i--;) { for (j = i; j--;) { if (equal("+f+"[i], "+f+"[j])) { "+p+" = false; break outer; } } } } ",h&&(i+=" } "),i+=" if (!"+p+") { ";var d=d||[];d.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(i+=" , schema: ",i+=h?"validate.schema"+c:""+s,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),i+=" } "):i+=" {} ";var m=i;i=d.pop(),!e.compositeRule&&l?e.async?i+=" throw new ValidationError(["+m+"]); ":i+=" validate.errors = ["+m+"]; return false; ":i+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",l&&(i+=" else { ")}else l&&(i+=" if (true) { ");return i}},{}],47:[function(e,t,r){"use strict";t.exports=function(e,t,r){function n(e){for(var t=e.rules,r=0;r<t.length;r++)if(i(t[r]))return!0}function i(t){return void 0!==e.schema[t.keyword]||t.implements&&a(t)}function a(t){for(var r=t.implements,n=0;n<r.length;n++)if(void 0!==e.schema[r[n]])return!0}var o="",s=!0===e.schema.$async,c=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),u=e.self._getId(e.schema);if(e.isTop){if(s){e.async=!0;var l="es7"==e.opts.async;e.yieldAwait=l?"await":"yield"}o+=" var validate = ",s?l?o+=" (async function ":("*"!=e.opts.async&&(o+="co.wrap"),o+="(function* "):o+=" (function ",o+=" (data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",u&&(e.opts.sourceCode||e.opts.processCode)&&(o+=" /*# sourceURL="+u+" */ ")}if("boolean"==typeof e.schema||!c&&!e.schema.$ref){var f=e.level,p=e.dataLevel,h=e.schema["false schema"],d=e.schemaPath+e.util.getProperty("false schema"),m=e.errSchemaPath+"/false schema",g=!e.opts.allErrors,v="data"+(p||""),b="valid"+f;if(!1===e.schema){e.isTop?g=!0:o+=" var "+b+" = false; ",(Y=Y||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(_||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ",!1!==e.opts.messages&&(o+=" , message: 'boolean schema is false' "),e.opts.verbose&&(o+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),o+=" } "):o+=" {} ";ee=o;o=Y.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+ee+"]); ":o+=" validate.errors = ["+ee+"]; return false; ":o+=" var err = "+ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?o+=s?" return data; ":" validate.errors = null; return true; ":o+=" var "+b+" = true; ";return e.isTop&&(o+=" }); return validate; "),o}if(e.isTop){var y=e.isTop,f=e.level=0,p=e.dataLevel=0,v="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[void 0],o+=" var vErrors = null; ",o+=" var errors = 0; ",o+=" if (rootData === undefined) rootData = data; "}else{var f=e.level,v="data"+((p=e.dataLevel)||"");if(u&&(e.baseId=e.resolve.url(e.baseId,u)),s&&!e.async)throw new Error("async schema in sync schema");o+=" var errs_"+f+" = errors;"}var _,b="valid"+f,g=!e.opts.allErrors,x="",k="",w=e.schema.type,j=Array.isArray(w);if(j&&1==w.length&&(w=w[0],j=!1),e.schema.$ref&&c){if("fail"==e.opts.extendRefs)throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');!0!==e.opts.extendRefs&&(c=!1,console.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(w){if(e.opts.coerceTypes)var S=e.util.coerceToTypes(e.opts.coerceTypes,w);D=e.RULES.types[w];if(S||j||!0===D||D&&!n(D)){var d=e.schemaPath+".type",m=e.errSchemaPath+"/type",d=e.schemaPath+".type",m=e.errSchemaPath+"/type",E=j?"checkDataTypes":"checkDataType";if(o+=" if ("+e.util[E](w,v,!0)+") { ",S){var A="dataType"+f,F="coerced"+f;o+=" var "+A+" = typeof "+v+"; ","array"==e.opts.coerceTypes&&(o+=" if ("+A+" == 'object' && Array.isArray("+v+")) "+A+" = 'array'; "),o+=" var "+F+" = undefined; ";var I="",O=S;if(O)for(var P,T=-1,C=O.length-1;T<C;)P=O[T+=1],T&&(o+=" if ("+F+" === undefined) { ",I+="}"),"array"==e.opts.coerceTypes&&"array"!=P&&(o+=" if ("+A+" == 'array' && "+v+".length == 1) { "+F+" = "+v+" = "+v+"[0]; "+A+" = typeof "+v+"; } "),"string"==P?o+=" if ("+A+" == 'number' || "+A+" == 'boolean') "+F+" = '' + "+v+"; else if ("+v+" === null) "+F+" = ''; ":"number"==P||"integer"==P?(o+=" if ("+A+" == 'boolean' || "+v+" === null || ("+A+" == 'string' && "+v+" && "+v+" == +"+v+" ","integer"==P&&(o+=" && !("+v+" % 1)"),o+=")) "+F+" = +"+v+"; "):"boolean"==P?o+=" if ("+v+" === 'false' || "+v+" === 0 || "+v+" === null) "+F+" = false; else if ("+v+" === 'true' || "+v+" === 1) "+F+" = true; ":"null"==P?o+=" if ("+v+" === '' || "+v+" === 0 || "+v+" === false) "+F+" = null; ":"array"==e.opts.coerceTypes&&"array"==P&&(o+=" if ("+A+" == 'string' || "+A+" == 'number' || "+A+" == 'boolean' || "+v+" == null) "+F+" = ["+v+"]; ");o+=" "+I+" if ("+F+" === undefined) { ",(Y=Y||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(_||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",o+=j?""+w.join(","):""+w,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=j?""+w.join(","):""+w,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),o+=" } "):o+=" {} ";ee=o;o=Y.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+ee+"]); ":o+=" validate.errors = ["+ee+"]; return false; ":o+=" var err = "+ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } else { ";var z=p?"data"+(p-1||""):"parentData",R=p?e.dataPathArr[p]:"parentDataProperty";o+=" "+v+" = "+F+"; ",p||(o+="if ("+z+" !== undefined)"),o+=" "+z+"["+R+"] = "+F+"; } "}else{(Y=Y||[]).push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(_||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",o+=j?""+w.join(","):""+w,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=j?""+w.join(","):""+w,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),o+=" } "):o+=" {} ";ee=o;o=Y.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+ee+"]); ":o+=" validate.errors = ["+ee+"]; return false; ":o+=" var err = "+ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}o+=" } "}}if(e.schema.$ref&&!c)o+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",g&&(o+=" } if (errors === ",o+=y?"0":"errs_"+f,o+=") { ",k+="}");else{e.opts.v5&&e.schema.patternGroups&&console.warn('keyword "patternGroups" is deprecated and disabled. Use option patternGroups: true to enable.');var B=e.RULES;if(B)for(var D,q=-1,M=B.length-1;q<M;)if(D=B[q+=1],n(D)){if(D.type&&(o+=" if ("+e.util.checkDataType(D.type,v)+") { "),e.opts.useDefaults&&!e.compositeRule)if("object"==D.type&&e.schema.properties){var h=e.schema.properties,L=Object.keys(h);if(L)for(var N,U=-1,$=L.length-1;U<$;)void 0!==(V=h[N=L[U+=1]]).default&&(o+=" if ("+(Q=v+e.util.getProperty(N))+" === undefined) "+Q+" = ","shared"==e.opts.useDefaults?o+=" "+e.useDefault(V.default)+" ":o+=" "+JSON.stringify(V.default)+" ",o+="; ")}else if("array"==D.type&&Array.isArray(e.schema.items)){var H=e.schema.items;if(H)for(var V,T=-1,K=H.length-1;T<K;)if(void 0!==(V=H[T+=1]).default){var Q=v+"["+T+"]";o+=" if ("+Q+" === undefined) "+Q+" = ","shared"==e.opts.useDefaults?o+=" "+e.useDefault(V.default)+" ":o+=" "+JSON.stringify(V.default)+" ",o+="; "}}var G=D.rules;if(G)for(var Z,J=-1,W=G.length-1;J<W;)if(Z=G[J+=1],i(Z)){var X=Z.code(e,Z.keyword,D.type);X&&(o+=" "+X+" ",g&&(x+="}"))}if(g&&(o+=" "+x+" ",x=""),D.type&&(o+=" } ",w&&w===D.type&&!S)){o+=" else { ";var d=e.schemaPath+".type",m=e.errSchemaPath+"/type",Y=Y||[];Y.push(o),o="",!1!==e.createErrors?(o+=" { keyword: '"+(_||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: { type: '",o+=j?""+w.join(","):""+w,o+="' } ",!1!==e.opts.messages&&(o+=" , message: 'should be ",o+=j?""+w.join(","):""+w,o+="' "),e.opts.verbose&&(o+=" , schema: validate.schema"+d+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),o+=" } "):o+=" {} ";var ee=o;o=Y.pop(),!e.compositeRule&&g?e.async?o+=" throw new ValidationError(["+ee+"]); ":o+=" validate.errors = ["+ee+"]; return false; ":o+=" var err = "+ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",o+=" } "}g&&(o+=" if (errors === ",o+=y?"0":"errs_"+f,o+=") { ",k+="}")}}return g&&(o+=" "+k+" "),y?(s?(o+=" if (errors === 0) return data; ",o+=" else throw new ValidationError(vErrors); "):(o+=" validate.errors = vErrors; ",o+=" return errors === 0; "),o+=" }); return validate;"):o+=" var "+b+" = errors === errs_"+f+";",o=e.util.cleanUpCode(o),y&&(o=e.util.finalCleanUpCode(o,s)),o}},{}],48:[function(e,t,r){"use strict";var n=/^[a-z_$][a-z0-9_$-]*$/i,i=e("./dotjs/custom");t.exports={add:function(e,t){function r(e,t,r){for(var n,a=0;a<o.length;a++){var s=o[a];if(s.type==t){n=s;break}}n||(n={type:t,rules:[]},o.push(n));var c={keyword:e,definition:r,custom:!0,code:i,implements:r.implements};n.rules.push(c),o.custom[e]=c}function a(e){if(!o.types[e])throw new Error("Unknown type "+e)}var o=this.RULES;if(o.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!n.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){if(t.macro&&void 0!==t.valid)throw new Error('"valid" option cannot be used with macro keywords');var s=t.type;if(Array.isArray(s)){var c,u=s.length;for(c=0;c<u;c++)a(s[c]);for(c=0;c<u;c++)r(e,s[c],t)}else s&&a(s),r(e,s,t);var l=!0===t.$data&&this._opts.$data;if(l&&!t.validate)throw new Error('$data support: "validate" function is not defined');var f=t.metaSchema;f&&(l&&(f={anyOf:[f,{$ref:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#"}]}),t.validateSchema=this.compile(f,!0))}o.keywords[e]=o.all[e]=!0},get:function(e){var t=this.RULES.custom[e];return t?t.definition:this.RULES.keywords[e]||!1},remove:function(e){var t=this.RULES;delete t.keywords[e],delete t.all[e],delete t.custom[e];for(var r=0;r<t.length;r++)for(var n=t[r].rules,i=0;i<n.length;i++)if(n[i].keyword==e){n.splice(i,1);break}}}},{"./dotjs/custom":33}],49:[function(e,t,r){"use strict";t.exports=function(e){var t=e._opts.defaultMeta,r="string"==typeof t?{$ref:t}:e.getSchema("http://json-schema.org/draft-06/schema")?{$ref:"http://json-schema.org/draft-06/schema"}:{};e.addKeyword("patternGroups",{metaSchema:{type:"object",additionalProperties:{type:"object",required:["schema"],properties:{maximum:{type:"integer",minimum:0},minimum:{type:"integer",minimum:0},schema:r},additionalProperties:!1}}}),e.RULES.all.properties.implements.push("patternGroups")}},{}],50:[function(e,t,r){t.exports={$schema:"http://json-schema.org/draft-06/schema#",$id:"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/$data.json#",description:"Meta-schema for $data reference (JSON-schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}},{}],51:[function(e,t,r){t.exports={$schema:"http://json-schema.org/draft-06/schema#",$id:"http://json-schema.org/draft-06/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:{},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:{}}},{}],52:[function(e,t,r){"use strict";t.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},{}],53:[function(e,t,r){"use strict";Object.defineProperty(t,"exports",{enumerable:!0,get:function(){var e={modifiers:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},colors:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39]},bgColors:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49]}};return e.colors.grey=e.colors.gray,Object.keys(e).forEach(function(t){var r=e[t];Object.keys(r).forEach(function(t){var n=r[t];e[t]=r[t]={open:"["+n[0]+"m",close:"["+n[1]+"m"}}),Object.defineProperty(e,t,{value:r,enumerable:!1})}),e}})},{}],54:[function(e,t,r){"use strict";function n(e){var t;(t=o.length?o.pop():new i).task=e,a(t)}function i(){this.task=null}var a=e("./raw"),o=[],s=[],c=a.makeRequestCallFromTimer(function(){if(s.length)throw s.shift()});t.exports=n,i.prototype.call=function(){try{this.task.call()}catch(e){n.onerror?n.onerror(e):(s.push(e),c())}finally{this.task=null,o[o.length]=this}}},{"./raw":55}],55:[function(e,t,r){(function(e){"use strict";function r(e){o.length||(a(),s=!0),o[o.length]=e}function n(){for(;c<o.length;){var e=c;if(c+=1,o[e].call(),c>u){for(var t=0,r=o.length-c;t<r;t++)o[t]=o[t+c];o.length-=c,c=0}}o.length=0,c=0,s=!1}function i(e){return function(){function t(){clearTimeout(r),clearInterval(n),e()}var r=setTimeout(t,0),n=setInterval(t,50)}}t.exports=r;var a,o=[],s=!1,c=0,u=1024,l=void 0!==e?e:self,f=l.MutationObserver||l.WebKitMutationObserver;a="function"==typeof f?function(e){var t=1,r=new f(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}(n):i(n),r.requestFlush=a,r.makeRequestCallFromTimer=i}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],56:[function(e,t,r){var n=r;n.bignum=e("bn.js"),n.define=e("./asn1/api").define,n.base=e("./asn1/base"),n.constants=e("./asn1/constants"),n.decoders=e("./asn1/decoders"),n.encoders=e("./asn1/encoders")},{"./asn1/api":57,"./asn1/base":59,"./asn1/constants":63,"./asn1/decoders":65,"./asn1/encoders":68,"bn.js":120}],57:[function(e,t,r){function n(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}var i=e("../asn1"),a=e("inherits");r.define=function(e,t){return new n(e,t)},n.prototype._createNamed=function(t){var r;try{r=e("vm").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(e){r=function(e){this._initNamed(e)}}return a(r,t),r.prototype._initNamed=function(e){t.call(this,e)},new r(this)},n.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(i.decoders[e])),this.decoders[e]},n.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},n.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(i.encoders[e])),this.encoders[e]},n.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{"../asn1":56,inherits:252,vm:465}],58:[function(e,t,r){function n(e,t){o.call(this,t),s.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function i(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof i||(e=new i(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=s.byteLength(e);else{if(!s.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}var a=e("inherits"),o=e("../base").Reporter,s=e("buffer").Buffer;a(n,o),r.DecoderBuffer=n,n.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},n.prototype.restore=function(e){var t=new n(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,o.prototype.restore.call(this,e.reporter),t},n.prototype.isEmpty=function(){return this.offset===this.length},n.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},n.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new n(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},n.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=i,i.prototype.join=function(e,t){return e||(e=new s(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):s.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},{"../base":59,buffer:153,inherits:252}],59:[function(e,t,r){var n=r;n.Reporter=e("./reporter").Reporter,n.DecoderBuffer=e("./buffer").DecoderBuffer,n.EncoderBuffer=e("./buffer").EncoderBuffer,n.Node=e("./node")},{"./buffer":58,"./node":60,"./reporter":61}],60:[function(e,t,r){function n(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}var i=e("../base").Reporter,a=e("../base").EncoderBuffer,o=e("../base").DecoderBuffer,s=e("minimalistic-assert"),c=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c),l=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];t.exports=n;var f=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];n.prototype.clone=function(){var e=this._baseState,t={};f.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},n.prototype._wrap=function(){var e=this._baseState;u.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},n.prototype._init=function(e){var t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),s.equal(t.children.length,1,"Root node can have only one child")},n.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(s(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r}),t}))},l.forEach(function(e){n.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),c.forEach(function(e){n.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(r),this}}),n.prototype.use=function(e){s(e);var t=this._baseState;return s(null===t.use),t.use=e,this},n.prototype.optional=function(){return this._baseState.optional=!0,this},n.prototype.def=function(e){var t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},n.prototype.explicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},n.prototype.implicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},n.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},n.prototype.key=function(e){var t=this._baseState;return s(null===t.key),t.key=e,this},n.prototype.any=function(){return this._baseState.any=!0,this},n.prototype.choice=function(e){var t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},n.prototype.contains=function(e){var t=this._baseState;return s(null===t.use),t.contains=e,this},n.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n=r.default,i=!0,a=null;if(null!==r.key&&(a=e.enterKey(r.key)),r.optional){var s=null;if(null!==r.explicit?s=r.explicit:null!==r.implicit?s=r.implicit:null!==r.tag&&(s=r.tag),null!==s||r.any){if(i=this._peekTag(e,s,r.any),e.isError(i))return i}else{f=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),i=!0}catch(e){i=!1}e.restore(f)}}var c;if(r.obj&&i&&(c=e.enterObject()),i){if(null!==r.explicit){var u=this._decodeTag(e,r.explicit);if(e.isError(u))return u;e=u}var l=e.offset;if(null===r.use&&null===r.choice){if(r.any)var f=e.save();var p=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(p))return p;r.any?n=e.raw(f):e=p}if(t&&t.track&&null!==r.tag&&t.track(e.path(),l,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),n=r.any?n:null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),e.isError(n))return n;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var h=new o(n);n=this._getUse(r.contains,e._reporterState.obj)._decode(h,t)}}return r.obj&&i&&(n=e.leaveObject(c)),null===r.key||null===n&&!0!==i?null!==a&&e.exitKey(a):e.leaveKey(a,r.key,n),n},n.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},n.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),s(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},n.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some(function(a){var o=e.save(),s=r.choice[a];try{var c=s._decode(e,t);if(e.isError(c))return!1;n={type:a,value:c},i=!0}catch(t){return e.restore(o),!1}return!0},this),i?n:e.error("Choice not matched")},n.prototype._createEncoderBuffer=function(e){return new a(e,this.reporter)},n.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},n.prototype._encodeValue=function(e,t,r){var n=this._baseState;if(null===n.parent)return n.children[0]._encode(e,t||new i);c=null;if(this.reporter=t,n.optional&&void 0===e){if(null===n.default)return;e=n.default}var a=null,o=!1;if(n.any)c=this._createEncoderBuffer(e);else if(n.choice)c=this._encodeChoice(e,t);else if(n.contains)a=this._getUse(n.contains,r)._encode(e,t),o=!0;else if(n.children)a=n.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i},this).filter(function(e){return e}),a=this._createEncoderBuffer(a);else if("seqof"===n.tag||"setof"===n.tag){if(!n.args||1!==n.args.length)return t.error("Too many args for : "+n.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var s=this.clone();s._baseState.implicit=null,a=this._createEncoderBuffer(e.map(function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},s))}else null!==n.use?c=this._getUse(n.use,r)._encode(e,t):(a=this._encodePrimitive(n.tag,e),o=!0);var c;if(!n.any&&null===n.choice){var u=null!==n.implicit?n.implicit:n.tag,l=null===n.implicit?"universal":"context";null===u?null===n.use&&t.error("Tag could be ommited only for .use()"):null===n.use&&(c=this._encodeComposite(u,o,l,a))}return null!==n.explicit&&(c=this._encodeComposite(n.explicit,!1,"context",c)),c},n.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},n.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},n.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},n.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},{"../base":59,"minimalistic-assert":311}],61:[function(e,t,r){function n(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function i(e,t){this.path=e,this.rethrow(t)}var a=e("inherits");r.Reporter=n,n.prototype.isError=function(e){return e instanceof i},n.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},n.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},n.prototype.enterKey=function(e){return this._reporterState.path.push(e)},n.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},n.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},n.prototype.path=function(){return this._reporterState.path.join("/")},n.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},n.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},n.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof i;if(t=n?e:new i(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},n.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},a(i,Error),i.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},{inherits:252}],62:[function(e,t,r){var n=e("../constants");r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=n._reverse(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=n._reverse(r.tag)},{"../constants":63}],63:[function(e,t,r){var n=r;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r}),t},n.der=e("./der")},{"./der":62}],64:[function(e,t,r){function n(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new i,this.tree._init(e.body)}function i(e){u.Node.call(this,"der",e)}function a(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=f.tagClass[r>>6],i=0==(32&r);if(31==(31&r)){var a=r;for(r=0;128==(128&a);){if(a=e.readUInt8(t),e.isError(a))return a;r<<=7,r|=127&a}}else r&=31;return{cls:n,primitive:i,tag:r,tagStr:f.tag[r]}}function o(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var a=0;a<i;a++){n<<=8;var o=e.readUInt8(r);if(e.isError(o))return o;n|=o}return n}var s=e("inherits"),c=e("../../asn1"),u=c.base,l=c.bignum,f=c.constants.der;t.exports=n,n.prototype.decode=function(e,t){return e instanceof u.DecoderBuffer||(e=new u.DecoderBuffer(e,t)),this.tree._decode(e,t)},s(i,u.Node),i.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=a(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},i.prototype._decodeTag=function(e,t,r){var n=a(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=o(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var s=e.save(),c=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(c)?c:(i=e.offset-s.offset,e.restore(s),e.skip(i,'Failed to match body of: "'+t+'"'))},i.prototype._skipUntilEnd=function(e,t){for(;;){var r=a(e,t);if(e.isError(r))return r;var n=o(e,r.primitive,t);if(e.isError(n))return n;var i;if(i=r.primitive||null!==n?e.skip(n):this._skipUntilEnd(e,t),e.isError(i))return i;if("end"===r.tagStr)break}},i.prototype._decodeList=function(e,t,r,n){for(var i=[];!e.isEmpty();){var a=this._peekTag(e,"end");if(e.isError(a))return a;var o=r.decode(e,"der",n);if(e.isError(o)&&a)break;i.push(o)}return i},i.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",a=0;a<n.length/2;a++)i+=String.fromCharCode(n.readUInt16BE(2*a));return i}if("numstr"===t){var o=e.raw().toString("ascii");return this._isNumstr(o)?o:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},i.prototype._decodeObjid=function(e,t,r){for(var n,i=[],a=0;!e.isEmpty();){var o=e.readUInt8();a<<=7,a|=127&o,0==(128&o)&&(i.push(a),a=0)}128&o&&i.push(a);var s=i[0]/40|0,c=i[0]%40;if(n=r?i:[s,c].concat(i.slice(1)),t){var u=t[n.join(" ")];void 0===u&&(u=t[n.join(".")]),void 0!==u&&(n=u)}return n},i.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),a=0|r.slice(6,8),o=0|r.slice(8,10),s=0|r.slice(10,12),c=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");var n=0|r.slice(0,2),i=0|r.slice(2,4),a=0|r.slice(4,6),o=0|r.slice(6,8),s=0|r.slice(8,10),c=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,a,o,s,c,0)},i.prototype._decodeNull=function(e){return null},i.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},i.prototype._decodeInt=function(e,t){var r=e.raw(),n=new l(r);return t&&(n=t[n.toString(10)]||n),n},i.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../../asn1":56,inherits:252}],65:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":64,"./pem":66}],66:[function(e,t,r){function n(e){o.call(this,e),this.enc="pem"}var i=e("inherits"),a=e("buffer").Buffer,o=e("./der");i(n,o),t.exports=n,n.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),i=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,u=0;u<r.length;u++){var l=r[u].match(i);if(null!==l&&l[2]===n){if(-1!==s){if("END"!==l[1])break;c=u;break}if("BEGIN"!==l[1])break;s=u}}if(-1===s||-1===c)throw new Error("PEM section not found for: "+n);var f=r.slice(s+1,c).join("");f.replace(/[^a-z0-9\+\/=]+/gi,"");var p=new a(f,"base64");return o.prototype.decode.call(this,p,t)}},{"./der":64,buffer:153,inherits:252}],67:[function(e,t,r){function n(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new i,this.tree._init(e.body)}function i(e){l.Node.call(this,"der",e)}function a(e){return e<10?"0"+e:e}function o(e,t,r,n){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),f.tagByName.hasOwnProperty(e))i=f.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}return i>=31?n.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=f.tagClassByName[r||"universal"]<<6)}var s=e("inherits"),c=e("buffer").Buffer,u=e("../../asn1"),l=u.base,f=u.constants.der;t.exports=n,n.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},s(i,l.Node),i.prototype._encodeComposite=function(e,t,r,n){var i=o(e,t,r,this.reporter);if(n.length<128)return(u=new c(2))[0]=i,u[1]=n.length,this._createEncoderBuffer([u,n]);for(var a=1,s=n.length;s>=256;s>>=8)a++;var u=new c(2+a);u[0]=i,u[1]=128|a;for(var s=1+a,l=n.length;l>0;s--,l>>=8)u[s]=255&l;return this._createEncoderBuffer([u,n])},i.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new c(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},i.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(i=0;i<e.length;i++)e[i]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var n=0,i=0;i<e.length;i++){s=e[i];for(n++;s>=128;s>>=7)n++}for(var a=new c(n),o=a.length-1,i=e.length-1;i>=0;i--){var s=e[i];for(a[o--]=127&s;(s>>=7)>0;)a[o--]=128|127&s}return this._createEncoderBuffer(a)},i.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[a(n.getFullYear()),a(n.getUTCMonth()+1),a(n.getUTCDate()),a(n.getUTCHours()),a(n.getUTCMinutes()),a(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[a(n.getFullYear()%100),a(n.getUTCMonth()+1),a(n.getUTCDate()),a(n.getUTCHours()),a(n.getUTCMinutes()),a(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},i.prototype._encodeNull=function(){return this._createEncoderBuffer("")},i.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!c.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new c(r)}if(c.isBuffer(e)){i=e.length;0===e.length&&i++;var n=new c(i);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var i=1,a=e;a>=256;a>>=8)i++;for(a=(n=new Array(i)).length-1;a>=0;a--)n[a]=255&e,e>>=8;return 128&n[0]&&n.unshift(0),this._createEncoderBuffer(new c(n))},i.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},i.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},i.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;var a=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),a.length!==i.defaultBuffer.length)return!1;for(n=0;n<a.length;n++)if(a[n]!==i.defaultBuffer[n])return!1;return!0}},{"../../asn1":56,buffer:153,inherits:252}],68:[function(e,t,r){var n=r;n.der=e("./der"),n.pem=e("./pem")},{"./der":67,"./pem":69}],69:[function(e,t,r){function n(e){a.call(this,e),this.enc="pem"}var i=e("inherits"),a=e("./der");i(n,a),t.exports=n,n.prototype.encode=function(e,t){for(var r=a.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],i=0;i<r.length;i+=64)n.push(r.slice(i,i+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},{"./der":67,inherits:252}],70:[function(e,t,r){t.exports={newInvalidAsn1Error:function(e){var t=new Error;return t.name="InvalidAsn1Error",t.message=e||"",t}}},{}],71:[function(e,t,r){var n=e("./errors"),i=e("./types"),a=e("./reader"),o=e("./writer");t.exports={Reader:a,Writer:o};for(var s in i)i.hasOwnProperty(s)&&(t.exports[s]=i[s]);for(var c in n)n.hasOwnProperty(c)&&(t.exports[c]=n[c])},{"./errors":70,"./reader":72,"./types":73,"./writer":74}],72:[function(e,t,r){(function(r){function n(e){if(!e||!r.isBuffer(e))throw new TypeError("data must be a node Buffer");this._buf=e,this._size=e.length,this._len=0,this._offset=0}var i=e("assert"),a=e("./types"),o=e("./errors").newInvalidAsn1Error;Object.defineProperty(n.prototype,"length",{enumerable:!0,get:function(){return this._len}}),Object.defineProperty(n.prototype,"offset",{enumerable:!0,get:function(){return this._offset}}),Object.defineProperty(n.prototype,"remain",{get:function(){return this._size-this._offset}}),Object.defineProperty(n.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}}),n.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var t=255&this._buf[this._offset];return e||(this._offset+=1),t},n.prototype.peek=function(){return this.readByte(!0)},n.prototype.readLength=function(e){if(void 0===e&&(e=this._offset),e>=this._size)return null;var t=255&this._buf[e++];if(null===t)return null;if(128==(128&t)){if(0==(t&=127))throw o("Indefinite length not supported");if(t>4)throw o("encoding too long");if(this._size-e<t)return null;this._len=0;for(var r=0;r<t;r++)this._len=(this._len<<8)+(255&this._buf[e++])}else this._len=t;return e},n.prototype.readSequence=function(e){var t=this.peek();if(null===t)return null;if(void 0!==e&&e!==t)throw o("Expected 0x"+e.toString(16)+": got 0x"+t.toString(16));var r=this.readLength(this._offset+1);return null===r?null:(this._offset=r,t)},n.prototype.readInt=function(){return this._readTag(a.Integer)},n.prototype.readBoolean=function(){return 0!==this._readTag(a.Boolean)},n.prototype.readEnumeration=function(){return this._readTag(a.Enumeration)},n.prototype.readString=function(e,t){e||(e=a.OctetString);var n=this.peek();if(null===n)return null;if(n!==e)throw o("Expected 0x"+e.toString(16)+": got 0x"+n.toString(16));var i=this.readLength(this._offset+1);if(null===i)return null;if(this.length>this._size-i)return null;if(this._offset=i,0===this.length)return t?new r(0):"";var s=this._buf.slice(this._offset,this._offset+this.length);return this._offset+=this.length,t?s:s.toString("utf8")},n.prototype.readOID=function(e){e||(e=a.OID);var t=this.readString(e,!0);if(null===t)return null;for(var r=[],n=0,i=0;i<t.length;i++){var o=255&t[i];n<<=7,n+=127&o,0==(128&o)&&(r.push(n),n=0)}return n=r.shift(),r.unshift(n%40),r.unshift(n/40>>0),r.join(".")},n.prototype._readTag=function(e){i.ok(void 0!==e);var t=this.peek();if(null===t)return null;if(t!==e)throw o("Expected 0x"+e.toString(16)+": got 0x"+t.toString(16));var r=this.readLength(this._offset+1);if(null===r)return null;if(this.length>4)throw o("Integer too long: "+this.length);if(this.length>this._size-r)return null;this._offset=r;for(var n=this._buf[this._offset],a=0,s=0;s<this.length;s++)a<<=8,a|=255&this._buf[this._offset++];return 128==(128&n)&&4!==s&&(a-=1<<8*s),a>>0},t.exports=n}).call(this,e("buffer").Buffer)},{"./errors":70,"./types":73,assert:77,buffer:153}],73:[function(e,t,r){t.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},{}],74:[function(e,t,r){(function(r){function n(e,t){return a.ok(e),a.equal(typeof e,"object"),a.ok(t),a.equal(typeof t,"object"),Object.getOwnPropertyNames(e).forEach(function(r){if(!t[r]){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n)}}),t}function i(e){e=n(s,e||{}),this._buf=new r(e.size||1024),this._size=this._buf.length,this._offset=0,this._options=e,this._seq=[]}var a=e("assert"),o=e("./types"),s=(e("./errors").newInvalidAsn1Error,{size:1024,growthFactor:8});Object.defineProperty(i.prototype,"buffer",{get:function(){if(this._seq.length)throw new InvalidAsn1Error(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}}),i.prototype.writeByte=function(e){if("number"!=typeof e)throw new TypeError("argument must be a Number");this._ensure(1),this._buf[this._offset++]=e},i.prototype.writeInt=function(e,t){if("number"!=typeof e)throw new TypeError("argument must be a Number");"number"!=typeof t&&(t=o.Integer);for(var r=4;(0==(4286578688&e)||-8388608==(4286578688&e))&&r>1;)r--,e<<=8;if(r>4)throw new InvalidAsn1Error("BER ints cannot be > 0xffffffff");for(this._ensure(2+r),this._buf[this._offset++]=t,this._buf[this._offset++]=r;r-- >0;)this._buf[this._offset++]=(4278190080&e)>>>24,e<<=8},i.prototype.writeNull=function(){this.writeByte(o.Null),this.writeByte(0)},i.prototype.writeEnumeration=function(e,t){if("number"!=typeof e)throw new TypeError("argument must be a Number");return"number"!=typeof t&&(t=o.Enumeration),this.writeInt(e,t)},i.prototype.writeBoolean=function(e,t){if("boolean"!=typeof e)throw new TypeError("argument must be a Boolean");"number"!=typeof t&&(t=o.Boolean),this._ensure(3),this._buf[this._offset++]=t,this._buf[this._offset++]=1,this._buf[this._offset++]=e?255:0},i.prototype.writeString=function(e,t){if("string"!=typeof e)throw new TypeError("argument must be a string (was: "+typeof e+")");"number"!=typeof t&&(t=o.OctetString);var n=r.byteLength(e);this.writeByte(t),this.writeLength(n),n&&(this._ensure(n),this._buf.write(e,this._offset),this._offset+=n)},i.prototype.writeBuffer=function(e,t){if("number"!=typeof t)throw new TypeError("tag must be a number");if(!r.isBuffer(e))throw new TypeError("argument must be a buffer");this.writeByte(t),this.writeLength(e.length),this._ensure(e.length),e.copy(this._buf,this._offset,0,e.length),this._offset+=e.length},i.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError("argument must be an Array[String]");var t=this;e.forEach(function(e){t.writeString(e)})},i.prototype.writeOID=function(e,t){function r(e,t){t<128?e.push(t):t<16384?(e.push(t>>>7|128),e.push(127&t)):t<2097152?(e.push(t>>>14|128),e.push(255&(t>>>7|128)),e.push(127&t)):t<268435456?(e.push(t>>>21|128),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t)):(e.push(255&(t>>>28|128)),e.push(255&(t>>>21|128)),e.push(255&(t>>>14|128)),e.push(255&(t>>>7|128)),e.push(127&t))}if("string"!=typeof e)throw new TypeError("argument must be a string");if("number"!=typeof t&&(t=o.OID),!/^([0-9]+\.){3,}[0-9]+$/.test(e))throw new Error("argument is not a valid OID string");var n=e.split("."),i=[];i.push(40*parseInt(n[0],10)+parseInt(n[1],10)),n.slice(2).forEach(function(e){r(i,parseInt(e,10))});var a=this;this._ensure(2+i.length),this.writeByte(t),this.writeLength(i.length),i.forEach(function(e){a.writeByte(e)})},i.prototype.writeLength=function(e){if("number"!=typeof e)throw new TypeError("argument must be a Number");if(this._ensure(4),e<=127)this._buf[this._offset++]=e;else if(e<=255)this._buf[this._offset++]=129,this._buf[this._offset++]=e;else if(e<=65535)this._buf[this._offset++]=130,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e;else{if(!(e<=16777215))throw new InvalidAsn1ERror("Length too long (> 4 bytes)");this._buf[this._offset++]=131,this._buf[this._offset++]=e>>16,this._buf[this._offset++]=e>>8,this._buf[this._offset++]=e}},i.prototype.startSequence=function(e){"number"!=typeof e&&(e=o.Sequence|o.Constructor),this.writeByte(e),this._seq.push(this._offset),this._ensure(3),this._offset+=3},i.prototype.endSequence=function(){var e=this._seq.pop(),t=e+3,r=this._offset-t;if(r<=127)this._shift(t,r,-2),this._buf[e]=r;else if(r<=255)this._shift(t,r,-1),this._buf[e]=129,this._buf[e+1]=r;else if(r<=65535)this._buf[e]=130,this._buf[e+1]=r>>8,this._buf[e+2]=r;else{if(!(r<=16777215))throw new InvalidAsn1Error("Sequence too long");this._shift(t,r,1),this._buf[e]=131,this._buf[e+1]=r>>16,this._buf[e+2]=r>>8,this._buf[e+3]=r}},i.prototype._shift=function(e,t,r){a.ok(void 0!==e),a.ok(void 0!==t),a.ok(r),this._buf.copy(this._buf,e+r,e,e+t),this._offset+=r},i.prototype._ensure=function(e){if(a.ok(e),this._size-this._offset<e){var t=this._size*this._options.growthFactor;t-this._offset<e&&(t+=e);var n=new r(t);this._buf.copy(n,0,0,this._offset),this._buf=n,this._size=t}},t.exports=i}).call(this,e("buffer").Buffer)},{"./errors":70,"./types":73,assert:77,buffer:153}],75:[function(e,t,r){var n=e("./ber/index");t.exports={Ber:n,BerReader:n.Reader,BerWriter:n.Writer}},{"./ber/index":71}],76:[function(e,t,r){(function(r,n){function i(e){return e.charAt(0).toUpperCase()+e.slice(1)}function a(e,t,r,n,i){throw new u.AssertionError({message:f.format("%s (%s) is required",e,t),actual:void 0===i?typeof n:i(n),expected:t,operator:r||"===",stackStartFunction:a.caller})}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}function s(){}function c(e){var t,r=Object.keys(h);return t=n.env.NODE_NDEBUG?s:function(e,t){e||a(t,"true",e)},r.forEach(function(r){if(e)t[r]=s;else{var n=h[r];t[r]=function(e,t){n.check(e)||a(t,r,n.operator,e,n.actual)}}}),r.forEach(function(r){var n="optional"+i(r);if(e)t[n]=s;else{var o=h[r];t[n]=function(e,t){void 0!==e&&null!==e&&(o.check(e)||a(t,r,o.operator,e,o.actual))}}}),r.forEach(function(r){var n="arrayOf"+i(r);if(e)t[n]=s;else{var o=h[r],c="["+r+"]";t[n]=function(e,t){Array.isArray(e)||a(t,c,o.operator,e,o.actual);var r;for(r=0;r<e.length;r++)o.check(e[r])||a(t,c,o.operator,e,o.actual)}}}),r.forEach(function(r){var n="optionalArrayOf"+i(r);if(e)t[n]=s;else{var o=h[r],c="["+r+"]";t[n]=function(e,t){if(void 0!==e&&null!==e){Array.isArray(e)||a(t,c,o.operator,e,o.actual);var r;for(r=0;r<e.length;r++)o.check(e[r])||a(t,c,o.operator,e,o.actual)}}}}),Object.keys(u).forEach(function(r){t[r]="AssertionError"!==r&&e?s:u[r]}),t._setExports=c,t}var u=e("assert"),l=e("stream").Stream,f=e("util"),p=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/,h={bool:{check:function(e){return"boolean"==typeof e}},func:{check:function(e){return"function"==typeof e}},string:{check:function(e){return"string"==typeof e}},object:{check:function(e){return"object"==typeof e&&null!==e}},number:{check:function(e){return"number"==typeof e&&!isNaN(e)}},finite:{check:function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return r.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof l},operator:"instanceof",actual:o},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:o},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:o},uuid:{check:function(e){return"string"==typeof e&&p.test(e)},operator:"isUUID"}};t.exports=c(n.env.NODE_NDEBUG)}).call(this,{isBuffer:e("../is-buffer/index.js")},e("_process"))},{"../is-buffer/index.js":253,_process:346,assert:77,stream:434,util:458}],77:[function(e,t,r){(function(r){"use strict";/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
function n(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function i(e){return r.Buffer&&"function"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}function a(e){return Object.prototype.toString.call(e)}function o(e){return!i(e)&&("function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function s(e){if(_.isFunction(e)){if(w)return e.name;var t=e.toString().match(S);return t&&t[1]}}function c(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function u(e){if(w||!_.isFunction(e))return _.inspect(e);var t=s(e);return"[Function"+(t?": "+t:"")+"]"}function l(e){return c(u(e.actual),128)+" "+e.operator+" "+c(u(e.expected),128)}function f(e,t,r,n,i){throw new j.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function p(e,t){e||f(e,!0,t,"==",j.ok)}function h(e,t,r,s){if(e===t)return!0;if(i(e)&&i(t))return 0===n(e,t);if(_.isDate(e)&&_.isDate(t))return e.getTime()===t.getTime();if(_.isRegExp(e)&&_.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(o(e)&&o(t)&&a(e)===a(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===n(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(i(e)!==i(t))return!1;var c=(s=s||{actual:[],expected:[]}).actual.indexOf(e);return-1!==c&&c===s.expected.indexOf(t)||(s.actual.push(e),s.expected.push(t),m(e,t,r,s))}return r?e===t:e==t}function d(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function m(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(_.isPrimitive(e)||_.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=d(e),a=d(t);if(i&&!a||!i&&a)return!1;if(i)return e=k.call(e),t=k.call(t),h(e,t,r);var o,s,c=E(e),u=E(t);if(c.length!==u.length)return!1;for(c.sort(),u.sort(),s=c.length-1;s>=0;s--)if(c[s]!==u[s])return!1;for(s=c.length-1;s>=0;s--)if(o=c[s],!h(e[o],t[o],r,n))return!1;return!0}function g(e,t,r){h(e,t,!0)&&f(e,t,r,"notDeepStrictEqual",g)}function v(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function b(e){var t;try{e()}catch(e){t=e}return t}function y(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=b(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&f(i,r,"Missing expected exception"+n);var a="string"==typeof n,o=!e&&_.isError(i),s=!e&&i&&!r;if((o&&a&&v(i,r)||s)&&f(i,r,"Got unwanted exception"+n),e&&i&&r&&!v(i,r)||!e&&i)throw i}var _=e("util/"),x=Object.prototype.hasOwnProperty,k=Array.prototype.slice,w="foo"===function(){}.name,j=t.exports=p,S=/\s*function\s+([^\(\s]*)\s*/;j.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=l(this),this.generatedMessage=!0);var t=e.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=s(t),a=n.indexOf("\n"+i);if(a>=0){var o=n.indexOf("\n",a+1);n=n.substring(o+1)}this.stack=n}}},_.inherits(j.AssertionError,Error),j.fail=f,j.ok=p,j.equal=function(e,t,r){e!=t&&f(e,t,r,"==",j.equal)},j.notEqual=function(e,t,r){e==t&&f(e,t,r,"!=",j.notEqual)},j.deepEqual=function(e,t,r){h(e,t,!1)||f(e,t,r,"deepEqual",j.deepEqual)},j.deepStrictEqual=function(e,t,r){h(e,t,!0)||f(e,t,r,"deepStrictEqual",j.deepStrictEqual)},j.notDeepEqual=function(e,t,r){h(e,t,!1)&&f(e,t,r,"notDeepEqual",j.notDeepEqual)},j.notDeepStrictEqual=g,j.strictEqual=function(e,t,r){e!==t&&f(e,t,r,"===",j.strictEqual)},j.notStrictEqual=function(e,t,r){e===t&&f(e,t,r,"!==",j.notStrictEqual)},j.throws=function(e,t,r){y(!0,e,t,r)},j.doesNotThrow=function(e,t,r){y(!1,e,t,r)},j.ifError=function(e){if(e)throw e};var E=Object.keys||function(e){var t=[];for(var r in e)x.call(e,r)&&t.push(r);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":458}],78:[function(e,t,r){function n(e){return"AWS "+e.key+":"+a(e)}function i(e){return c.createHmac("sha1",e.secret).update(e.message).digest("base64")}function a(e){return e.message=o(e),i(e)}function o(e){var t=e.amazonHeaders||"";return t&&(t+="\n"),[e.verb,e.md5,e.contentType,e.date?e.date.toUTCString():"",t+e.resource].join("\n")}function s(e){return"GET\n\n\n"+e.date+"\n"+e.resource}var c=e("crypto"),u=e("url").parse,l=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];t.exports=n,t.exports.authorization=n,t.exports.hmacSha1=i,t.exports.sign=a,t.exports.signQuery=function(e){return e.message=s(e),i(e)},t.exports.stringToSign=o,t.exports.queryStringToSign=s,t.exports.canonicalizeHeaders=function(e){for(var t=[],r=Object.keys(e),n=0,i=r.length;n<i;++n){var a=r[n],o=e[a];0===(a=a.toLowerCase()).indexOf("x-amz")&&t.push(a+":"+o)}return t.sort().join("\n")},t.exports.canonicalizeResource=function(e){var t=u(e,!0),r=t.pathname,n=[];return Object.keys(t.query).forEach(function(e){if(~l.indexOf(e)){var r=""==t.query[e]?"":"="+encodeURIComponent(t.query[e]);n.push(e+r)}}),r+(n.length?"?"+n.sort().join("&"):"")}},{crypto:167,url:453}],79:[function(e,t,r){(function(t,n){function i(e,t,r){return f.createHmac("sha256",e).update(t,"utf8").digest(r)}function a(e,t){return f.createHash("sha256").update(e,"utf8").digest(t)}function o(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function s(e,t){"string"==typeof e&&(e=u.parse(e));var r=e.headers=e.headers||{},n=this.matchHost(e.hostname||e.host||r.Host||r.host);this.request=e,this.credentials=t||this.defaultCredentials(),this.service=e.service||n[0]||"",this.region=e.region||n[1]||"us-east-1","email"===this.service&&(this.service="ses"),!e.method&&e.body&&(e.method="POST"),r.Host||r.host||(r.Host=e.hostname||e.host||this.createHost(),e.port&&(r.Host+=":"+e.port)),e.hostname||e.host||(e.hostname=r.Host||r.host),this.isCodeCommitGit="codecommit"===this.service&&"GIT"===e.method}var c=r,u=e("url"),l=e("querystring"),f=e("crypto"),p=e("./lru")(1e3);s.prototype.matchHost=function(e){var t=((e||"").match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com$/)||[]).slice(1,3);return"es"===t[1]&&(t=t.reverse()),t},s.prototype.isSingleRegion=function(){return["s3","sdb"].indexOf(this.service)>=0&&"us-east-1"===this.region||["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0},s.prototype.createHost=function(){var e=this.isSingleRegion()?"":("s3"===this.service&&"us-east-1"!==this.region?"-":".")+this.region;return("ses"===this.service?"email":this.service)+e+".amazonaws.com"},s.prototype.prepareRequest=function(){this.parsePath();var e,t=this.request,r=t.headers;t.signQuery?(this.parsedPath.query=e=this.parsedPath.query||{},this.credentials.sessionToken&&(e["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||e["X-Amz-Expires"]||(e["X-Amz-Expires"]=86400),e["X-Amz-Date"]?this.datetime=e["X-Amz-Date"]:e["X-Amz-Date"]=this.getDateTime(),e["X-Amz-Algorithm"]="AWS4-HMAC-SHA256",e["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString(),e["X-Amz-SignedHeaders"]=this.signedHeaders()):(t.doNotModifyHeaders||this.isCodeCommitGit||(!t.body||r["Content-Type"]||r["content-type"]||(r["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8"),!t.body||r["Content-Length"]||r["content-length"]||(r["Content-Length"]=n.byteLength(t.body)),!this.credentials.sessionToken||r["X-Amz-Security-Token"]||r["x-amz-security-token"]||(r["X-Amz-Security-Token"]=this.credentials.sessionToken),"s3"!==this.service||r["X-Amz-Content-Sha256"]||r["x-amz-content-sha256"]||(r["X-Amz-Content-Sha256"]=a(this.request.body||"","hex")),r["X-Amz-Date"]||r["x-amz-date"]?this.datetime=r["X-Amz-Date"]||r["x-amz-date"]:r["X-Amz-Date"]=this.getDateTime()),delete r.Authorization,delete r.authorization)},s.prototype.sign=function(){return this.parsedPath||this.prepareRequest(),this.request.signQuery?this.parsedPath.query["X-Amz-Signature"]=this.signature():this.request.headers.Authorization=this.authHeader(),this.request.path=this.formatPath(),this.request},s.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,t=new Date(e.Date||e.date||new Date);this.datetime=t.toISOString().replace(/[:\-]|\.\d{3}/g,""),this.isCodeCommitGit&&(this.datetime=this.datetime.slice(0,-1))}return this.datetime},s.prototype.getDate=function(){return this.getDateTime().substr(0,8)},s.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")},s.prototype.signature=function(){var e=this.getDate(),t=[this.credentials.secretAccessKey,e,this.region,this.service].join(),r=p.get(t);return r||(r=i(i(i(i("AWS4"+this.credentials.secretAccessKey,e),this.region),this.service),"aws4_request"),p.set(t,r)),i(r,this.stringToSign(),"hex")},s.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),a(this.canonicalString(),"hex")].join("\n")},s.prototype.canonicalString=function(){this.parsedPath||this.prepareRequest();var e,t=this.parsedPath.path,r=this.parsedPath.query,n=this.request.headers,i="",s="s3"!==this.service,c="s3"===this.service||this.request.doNotEncodePath,u="s3"===this.service,f="s3"===this.service;return e="s3"===this.service&&this.request.signQuery?"UNSIGNED-PAYLOAD":this.isCodeCommitGit?"":n["X-Amz-Content-Sha256"]||n["x-amz-content-sha256"]||a(this.request.body||"","hex"),r&&(i=o(l.stringify(Object.keys(r).sort().reduce(function(e,t){return t?(e[t]=Array.isArray(r[t])?f?r[t][0]:r[t].slice().sort():r[t],e):e},{})))),"/"!==t&&(s&&(t=t.replace(/\/{2,}/g,"/")),"/"!==(t=t.split("/").reduce(function(e,t){return s&&".."===t?e.pop():s&&"."===t||(c&&(t=l.unescape(t)),e.push(o(l.escape(t)))),e},[]).join("/"))[0]&&(t="/"+t),u&&(t=t.replace(/%2F/g,"/"))),[this.request.method||"GET",t,i,this.canonicalHeaders()+"\n",this.signedHeaders(),e].join("\n")},s.prototype.canonicalHeaders=function(){function e(e){return e.toString().trim().replace(/\s+/g," ")}var t=this.request.headers;return Object.keys(t).sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1}).map(function(r){return r.toLowerCase()+":"+e(t[r])}).join("\n")},s.prototype.signedHeaders=function(){return Object.keys(this.request.headers).map(function(e){return e.toLowerCase()}).sort().join(";")},s.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,"aws4_request"].join("/")},s.prototype.defaultCredentials=function(){var e=t.env;return{accessKeyId:e.AWS_ACCESS_KEY_ID||e.AWS_ACCESS_KEY,secretAccessKey:e.AWS_SECRET_ACCESS_KEY||e.AWS_SECRET_KEY,sessionToken:e.AWS_SESSION_TOKEN}},s.prototype.parsePath=function(){var e=this.request.path||"/",t=e.indexOf("?"),r=null;t>=0&&(r=l.parse(e.slice(t+1)),e=e.slice(0,t)),/[^0-9A-Za-z!'()*\-._~%/]/.test(e)&&(e=e.split("/").map(function(e){return l.escape(l.unescape(e))}).join("/")),this.parsedPath={path:e,query:r}},s.prototype.formatPath=function(){var e=this.parsedPath.path,t=this.parsedPath.query;return t?(null!=t[""]&&delete t[""],e+"?"+o(l.stringify(t))):e},c.RequestSigner=s,c.sign=function(e,t){return new s(e,t).sign()}}).call(this,e("_process"),e("buffer").Buffer)},{"./lru":80,_process:346,buffer:153,crypto:167,querystring:369,url:453}],80:[function(e,t,r){function n(e){this.capacity=0|e,this.map=Object.create(null),this.list=new i}function i(){this.firstNode=null,this.lastNode=null}function a(e,t){this.key=e,this.val=t,this.prev=null,this.next=null}t.exports=function(e){return new n(e)},n.prototype.get=function(e){var t=this.map[e];if(null!=t)return this.used(t),t.val},n.prototype.set=function(e,t){var r=this.map[e];if(null!=r)r.val=t;else{if(this.capacity||this.prune(),!this.capacity)return!1;r=new a(e,t),this.map[e]=r,this.capacity--}return this.used(r),!0},n.prototype.used=function(e){this.list.moveToFront(e)},n.prototype.prune=function(){var e=this.list.pop();null!=e&&(delete this.map[e.key],this.capacity++)},i.prototype.moveToFront=function(e){this.firstNode!=e&&(this.remove(e),null==this.firstNode?(this.firstNode=e,this.lastNode=e,e.prev=null,e.next=null):(e.prev=null,e.next=this.firstNode,e.next.prev=e,this.firstNode=e))},i.prototype.pop=function(){var e=this.lastNode;return null!=e&&this.remove(e),e},i.prototype.remove=function(e){this.firstNode==e?this.firstNode=e.next:null!=e.prev&&(e.prev.next=e.next),this.lastNode==e?this.lastNode=e.prev:null!=e.next&&(e.next.prev=e.prev)}},{}],81:[function(e,t,r){"use strict";function n(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function i(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}function a(e,t,r){for(var n,a=[],o=t;o<r;o+=3)n=(e[o]<<16)+(e[o+1]<<8)+e[o+2],a.push(i(n));return a.join("")}r.byteLength=function(e){return 3*e.length/4-n(e)},r.toByteArray=function(e){var t,r,i,a,o,u=e.length;a=n(e),o=new c(3*u/4-a),r=a>0?u-4:u;var l=0;for(t=0;t<r;t+=4)i=s[e.charCodeAt(t)]<<18|s[e.charCodeAt(t+1)]<<12|s[e.charCodeAt(t+2)]<<6|s[e.charCodeAt(t+3)],o[l++]=i>>16&255,o[l++]=i>>8&255,o[l++]=255&i;return 2===a?(i=s[e.charCodeAt(t)]<<2|s[e.charCodeAt(t+1)]>>4,o[l++]=255&i):1===a&&(i=s[e.charCodeAt(t)]<<10|s[e.charCodeAt(t+1)]<<4|s[e.charCodeAt(t+2)]>>2,o[l++]=i>>8&255,o[l++]=255&i),o},r.fromByteArray=function(e){for(var t,r=e.length,n=r%3,i="",s=[],c=0,u=r-n;c<u;c+=16383)s.push(a(e,c,c+16383>u?u:c+16383));return 1===n?(t=e[r-1],i+=o[t>>2],i+=o[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=o[t>>10],i+=o[t>>4&63],i+=o[t<<2&63],i+="="),s.push(i),s.join("")};for(var o=[],s=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,f=u.length;l<f;++l)o[l]=u[l],s[u.charCodeAt(l)]=l;s["-".charCodeAt(0)]=62,s["_".charCodeAt(0)]=63},{}],82:[function(e,t,r){"use strict";function n(e,t,r){return(e[0][t[r+3]]+e[1][t[r+2]]^e[2][t[r+1]])+e[3][t[r]]}function i(e,t){var r,n=0;for(r=0;r<4;r++,s++)s>=t&&(s=0),n=n<<8|e[s];return n}function a(e,t,r){var n,a=new c,o=new Uint32Array(u),s=new Uint8Array([79,120,121,99,104,114,111,109,97,116,105,99,66,108,111,119,102,105,115,104,83,119,97,116,68,121,110,97,109,105,116,101]);for(a.expandstate(t,64,e,64),n=0;n<64;n++)a.expand0state(t,64),a.expand0state(e,64);for(n=0;n<u;n++)o[n]=i(s,s.byteLength);for(n=0;n<64;n++)a.enc(o,o.byteLength/8);for(n=0;n<u;n++)r[4*n+3]=o[n]>>>24,r[4*n+2]=o[n]>>>16,r[4*n+1]=o[n]>>>8,r[4*n+0]=o[n]}var o=e("tweetnacl").lowlevel.crypto_hash,s=0,c=function(){this.S=[new Uint32Array([3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946]),new Uint32Array([1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055]),new Uint32Array([3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504]),new Uint32Array([976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462])],this.P=new Uint32Array([608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731])};c.prototype.encipher=function(e,t){void 0===t&&(t=new Uint8Array(e.buffer),0!==e.byteOffset&&(t=t.subarray(e.byteOffset))),e[0]^=this.P[0];for(var r=1;r<16;r+=2)e[1]^=n(this.S,t,0)^this.P[r],e[0]^=n(this.S,t,4)^this.P[r+1];var i=e[0];e[0]=e[1]^this.P[17],e[1]=i},c.prototype.decipher=function(e){var t=new Uint8Array(e.buffer);0!==e.byteOffset&&(t=t.subarray(e.byteOffset)),e[0]^=this.P[17];for(var r=16;r>0;r-=2)e[1]^=n(this.S,t,0)^this.P[r],e[0]^=n(this.S,t,4)^this.P[r-1];var i=e[0];e[0]=e[1]^this.P[0],e[1]=i},c.prototype.expand0state=function(e,t){var r,n,a=new Uint32Array(2),o=new Uint8Array(a.buffer);for(r=0,s=0;r<18;r++)this.P[r]^=i(e,t);for(s=0,r=0;r<18;r+=2)this.encipher(a,o),this.P[r]=a[0],this.P[r+1]=a[1];for(r=0;r<4;r++)for(n=0;n<256;n+=2)this.encipher(a,o),this.S[r][n]=a[0],this.S[r][n+1]=a[1]},c.prototype.expandstate=function(e,t,r,n){var a,o,c=new Uint32Array(2);for(a=0,s=0;a<18;a++)this.P[a]^=i(r,n);for(a=0,s=0;a<18;a+=2)c[0]^=i(e,t),c[1]^=i(e,t),this.encipher(c),this.P[a]=c[0],this.P[a+1]=c[1];for(a=0;a<4;a++)for(o=0;o<256;o+=2)c[0]^=i(e,t),c[1]^=i(e,t),this.encipher(c),this.S[a][o]=c[0],this.S[a][o+1]=c[1];s=0},c.prototype.enc=function(e,t){for(var r=0;r<t;r++)this.encipher(e.subarray(2*r))},c.prototype.dec=function(e,t){for(var r=0;r<t;r++)this.decipher(e.subarray(2*r))};var u=8,l=32;t.exports={BLOCKS:u,HASHSIZE:l,hash:a,pbkdf:function(e,t,r,n,i,s,c){var u,f,p,h,d,m,g=new Uint8Array(64),v=new Uint8Array(64),b=new Uint8Array(l),y=new Uint8Array(l),_=new Uint8Array(n+4),x=s;if(c<1)return-1;if(0===t||0===n||0===s||s>b.byteLength*b.byteLength||n>1<<20)return-1;for(h=Math.floor((s+b.byteLength-1)/b.byteLength),p=Math.floor((s+h-1)/h),u=0;u<n;u++)_[u]=r[u];for(o(g,e,t),m=1;s>0;m++){for(_[n+0]=m>>>24,_[n+1]=m>>>16,_[n+2]=m>>>8,_[n+3]=m,o(v,_,n+4),a(g,v,y),u=b.byteLength;u--;)b[u]=y[u];for(u=1;u<c;u++)for(o(v,y,y.byteLength),a(g,v,y),f=0;f<b.byteLength;f++)b[f]^=y[f];for(p=Math.min(p,s),u=0;u<p&&!((d=u*h+(m-1))>=x);u++)i[d]=b[u];s-=u}return 0}}},{tweetnacl:452}],83:[function(e,t,r){"use strict";t.exports=function(e){function t(e){var t=new r(e),n=t.promise();return t.setHowMany(1),t.setUnwrap(),t.init(),n}var r=e._SomePromiseArray;e.any=function(e){return t(e)},e.prototype.any=function(){return t(this)}}},{}],84:[function(e,t,r){"use strict";function n(){this._isTickUsed=!1,this._lateQueue=new u(16),this._normalQueue=new u(16),this._trampolineEnabled=!0;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=c.isStatic?c(this.drainQueues):c}function i(e,t,r){this._lateQueue.push(e,t,r),this._queueTick()}function a(e,t,r){this._normalQueue.push(e,t,r),this._queueTick()}function o(e){this._normalQueue._pushOne(e),this._queueTick()}var s;try{throw new Error}catch(e){s=e}var c=e("./schedule.js"),u=e("./queue.js"),l=e("./util.js");n.prototype.disableTrampolineIfNecessary=function(){l.hasDevTools&&(this._trampolineEnabled=!1)},n.prototype.enableTrampoline=function(){this._trampolineEnabled||(this._trampolineEnabled=!0,this._schedule=function(e){setTimeout(e,0)})},n.prototype.haveItemsQueued=function(){return this._normalQueue.length()>0},n.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),"undefined"!=typeof setTimeout)setTimeout(function(){e(t)},0);else try{this._schedule(function(){e(t)})}catch(e){throw new Error("No async scheduler available\n\n See http://goo.gl/m3OTXk\n")}},l.hasDevTools?(c.isStatic&&(c=function(e){setTimeout(e,0)}),n.prototype.invokeLater=function(e,t,r){this._trampolineEnabled?i.call(this,e,t,r):this._schedule(function(){setTimeout(function(){e.call(t,r)},100)})},n.prototype.invoke=function(e,t,r){this._trampolineEnabled?a.call(this,e,t,r):this._schedule(function(){e.call(t,r)})},n.prototype.settlePromises=function(e){this._trampolineEnabled?o.call(this,e):this._schedule(function(){e._settlePromises()})}):(n.prototype.invokeLater=i,n.prototype.invoke=a,n.prototype.settlePromises=o),n.prototype.invokeFirst=function(e,t,r){this._normalQueue.unshift(e,t,r),this._queueTick()},n.prototype._drainQueue=function(e){for(;e.length()>0;){var t=e.shift();if("function"==typeof t){var r=e.shift(),n=e.shift();t.call(r,n)}else t._settlePromises()}},n.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._drainQueue(this._lateQueue)},n.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},n.prototype._reset=function(){this._isTickUsed=!1},t.exports=new n,t.exports.firstLineError=s},{"./queue.js":109,"./schedule.js":112,"./util.js":119}],85:[function(e,t,r){"use strict";t.exports=function(e,t,r){var n=function(e,t){this._reject(t)},i=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(n,n,null,this,e)},a=function(e,t){this._isPending()&&this._resolveCallback(t.target)},o=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(n){var s=r(n),c=new e(t);c._propagateFrom(this,1);var u=this._target();if(c._setBoundTo(s),s instanceof e){var l={promiseRejectionQueued:!1,promise:c,target:u,bindingPromise:s};u._then(t,i,c._progress,c,l),s._then(a,o,c._progress,c,l)}else c._resolveCallback(u);return c},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=131072|this._bitField,this._boundTo=e):this._bitField=-131073&this._bitField},e.prototype._isBound=function(){return 131072==(131072&this._bitField)},e.bind=function(n,i){var a=r(n),o=new e(t);return o._setBoundTo(a),a instanceof e?a._then(function(){o._resolveCallback(i)},o._reject,o._progress,o,null):o._resolveCallback(i),o}}},{}],86:[function(e,t,r){"use strict";var n=Object.create;if(n){var i=n(null),a=n(null);i[" size"]=a[" size"]=0}t.exports=function(t){function r(e,r){var n;if(null!=e&&(n=e[r]),"function"!=typeof n){var i="Object "+l.classString(e)+" has no method '"+l.toString(r)+"'";throw new t.TypeError(i)}return n}function n(e){return r(e,this.pop()).apply(e,this)}function o(e){return e[this]}function s(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}var c,u,l=e("./util.js"),f=l.canEvaluate,p=l.isIdentifier,h=function(e){return new Function("ensureMethod"," \n return function(obj) { \n 'use strict' \n var len = this.length; \n ensureMethod(obj, 'methodName'); \n switch(len) { \n case 1: return obj.methodName(this[0]); \n case 2: return obj.methodName(this[0], this[1]); \n case 3: return obj.methodName(this[0], this[1], this[2]); \n case 0: return obj.methodName(); \n default: \n return obj.methodName.apply(obj, this); \n } \n }; \n ".replace(/methodName/g,e))(r)},d=function(e){return new Function("obj"," \n 'use strict'; \n return obj.propertyName; \n ".replace("propertyName",e))},m=function(e,t,r){var n=r[e];if("function"!=typeof n){if(!p(e))return null;if(n=t(e),r[e]=n,r[" size"]++,r[" size"]>512){for(var i=Object.keys(r),a=0;a<256;++a)delete r[i[a]];r[" size"]=i.length-256}}return n};c=function(e){return m(e,h,i)},u=function(e){return m(e,d,a)},t.prototype.call=function(e){for(var t=arguments.length,r=new Array(t-1),i=1;i<t;++i)r[i-1]=arguments[i];if(f){var a=c(e);if(null!==a)return this._then(a,void 0,void 0,r,void 0)}return r.push(e),this._then(n,void 0,void 0,r,void 0)},t.prototype.get=function(e){var t;if("number"==typeof e)t=s;else if(f){var r=u(e);t=null!==r?r:o}else t=o;return this._then(t,void 0,void 0,e,void 0)}}},{"./util.js":119}],87:[function(e,t,r){"use strict";t.exports=function(t){var r=e("./errors.js"),n=e("./async.js"),i=r.CancellationError;t.prototype._cancel=function(e){if(!this.isCancellable())return this;for(var t,r=this;void 0!==(t=r._cancellationParent)&&t.isCancellable();)r=t;this._unsetCancellable(),r._target()._rejectCallback(e,!1,!0)},t.prototype.cancel=function(e){return this.isCancellable()?(void 0===e&&(e=new i),n.invokeLater(this._cancel,this,e),this):this},t.prototype.cancellable=function(){return this._cancellable()?this:(n.enableTrampoline(),this._setCancellable(),this._cancellationParent=void 0,this)},t.prototype.uncancellable=function(){var e=this.then();return e._unsetCancellable(),e},t.prototype.fork=function(e,t,r){var n=this._then(e,t,r,void 0,void 0);return n._setCancellable(),n._cancellationParent=void 0,n}}},{"./async.js":84,"./errors.js":94}],88:[function(e,t,r){(function(r){"use strict";t.exports=function(){function t(e){this._parent=e;var r=this._length=1+(void 0===e?0:e._length);x(this,t),r>32&&this.uncycle()}function n(e,t){for(var r=0;r<t.length-1;++r)t[r].push("From previous event:"),t[r]=t[r].join("\n");return r<t.length&&(t[r]=t[r].join("\n")),e+"\n"+t.join("\n")}function i(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}function a(e){for(var t=e[0],r=1;r<e.length;++r){for(var n=e[r],i=t.length-1,a=t[i],o=-1,s=n.length-1;s>=0;--s)if(n[s]===a){o=s;break}for(s=o;s>=0;--s){var c=n[s];if(t[i]!==c)break;t.pop(),i--}t=n}}function o(e){for(var t=[],r=0;r<e.length;++r){var n=e[r],i=m.test(n)||" (No stack trace)"===n,a=i&&b(n);i&&!a&&(v&&" "!==n.charAt(0)&&(n=" "+n),t.push(n))}return t}function s(e){for(var t=e.stack.replace(/\s+$/g,"").split("\n"),r=0;r<t.length;++r){var n=t[r];if(" (No stack trace)"===n||m.test(n))break}return r>0&&(t=t.slice(r)),t}function c(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{if(t=e.toString(),/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+u(t)+">, no stack trace)"}function u(e){return e.length<41?e:e.substr(0,38)+"..."}function l(e){var t=e.match(y);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}var f,p=e("./async.js"),h=e("./util.js"),d=/[\\\/]bluebird[\\\/]js[\\\/](main|debug|zalgo|instrumented)/,m=null,g=null,v=!1;h.inherits(t,Error),t.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],r={},n=0,i=this;void 0!==i;++n)t.push(i),i=i._parent;for(n=(e=this._length=n)-1;n>=0;--n){var a=t[n].stack;void 0===r[a]&&(r[a]=n)}for(n=0;n<e;++n){var o=r[t[n].stack];if(void 0!==o&&o!==n){o>0&&(t[o-1]._parent=void 0,t[o-1]._length=1),t[n]._parent=void 0,t[n]._length=1;var s=n>0?t[n-1]:this;o<e-1?(s._parent=t[o+1],s._parent.uncycle(),s._length=s._parent._length+1):(s._parent=void 0,s._length=1);for(var c=s._length+1,u=n-2;u>=0;--u)t[u]._length=c,c++;return}}}},t.prototype.parent=function(){return this._parent},t.prototype.hasParent=function(){return void 0!==this._parent},t.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var r=t.parseStackAndMessage(e),s=r.message,c=[r.stack],u=this;void 0!==u;)c.push(o(u.stack.split("\n"))),u=u._parent;a(c),i(c),h.notEnumerableProp(e,"stack",n(s,c)),h.notEnumerableProp(e,"__stackCleaned__",!0)}},t.parseStackAndMessage=function(e){var t=e.stack,r=e.toString();return t="string"==typeof t&&t.length>0?s(e):[" (No stack trace)"],{message:r,stack:o(t)}},t.formatAndLogError=function(e,t){if("undefined"!=typeof console){var r;if("object"==typeof e||"function"==typeof e){var n=e.stack;r=t+g(n,e)}else r=t+String(e);"function"==typeof f?f(r):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}},t.unhandledRejection=function(e){t.formatAndLogError(e,"^--- With additional stack trace: ")},t.isSupported=function(){return"function"==typeof x},t.fireRejectionEvent=function(e,r,n,i){var a=!1;try{"function"==typeof r&&(a=!0,"rejectionHandled"===e?r(i):r(n,i))}catch(e){p.throwLater(e)}var o=!1;try{o=k(e,n,i)}catch(e){o=!0,p.throwLater(e)}var s=!1;if(_)try{s=_(e.toLowerCase(),{reason:n,promise:i})}catch(e){s=!0,p.throwLater(e)}o||a||s||"unhandledRejection"!==e||t.formatAndLogError(n,"Unhandled rejection ")};var b=function(){return!1},y=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;t.setBounds=function(e,r){if(t.isSupported()){for(var n,i,a=e.stack.split("\n"),o=r.stack.split("\n"),s=-1,c=-1,u=0;u<a.length;++u)if(f=l(a[u])){n=f.fileName,s=f.line;break}for(u=0;u<o.length;++u){var f=l(o[u]);if(f){i=f.fileName,c=f.line;break}}s<0||c<0||!n||!i||n!==i||s>=c||(b=function(e){if(d.test(e))return!0;var t=l(e);return!!(t&&t.fileName===n&&s<=t.line&&t.line<=c)})}};var _,x=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():c(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit=Error.stackTraceLimit+6,m=e,g=t;var r=Error.captureStackTrace;return b=function(e){return d.test(e)},function(e,t){Error.stackTraceLimit=Error.stackTraceLimit+6,r(e,t),Error.stackTraceLimit=Error.stackTraceLimit-6}}var n=new Error;if("string"==typeof n.stack&&n.stack.split("\n")[0].indexOf("stackDetection@")>=0)return m=/@/,g=t,v=!0,function(e){e.stack=(new Error).stack};var i;try{throw new Error}catch(e){i="stack"in e}return"stack"in n||!i||"number"!=typeof Error.stackTraceLimit?(g=function(e,t){return"string"==typeof e?e:"object"!=typeof t&&"function"!=typeof t||void 0===t.name||void 0===t.message?c(t):t.toString()},null):(m=e,g=t,function(e){Error.stackTraceLimit=Error.stackTraceLimit+6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit=Error.stackTraceLimit-6})}(),k=function(){if(h.isNode)return function(e,t,n){return"rejectionHandled"===e?r.emit(e,n):r.emit(e,t,n)};var e=!1,t=!0;try{var n=new self.CustomEvent("test");e=n instanceof CustomEvent}catch(e){}if(!e)try{var i=document.createEvent("CustomEvent");i.initCustomEvent("testingtheevent",!1,!0,{}),self.dispatchEvent(i)}catch(e){t=!1}t&&(_=function(t,r){var n;return e?n=new self.CustomEvent(t,{detail:r,bubbles:!1,cancelable:!0}):self.dispatchEvent&&(n=document.createEvent("CustomEvent")).initCustomEvent(t,!1,!0,r),!!n&&!self.dispatchEvent(n)});var a={};return a.unhandledRejection="onunhandledRejection".toLowerCase(),a.rejectionHandled="onrejectionHandled".toLowerCase(),function(e,t,r){var n=a[e],i=self[n];return!!i&&("rejectionHandled"===e?i.call(self,r):i.call(self,t,r),!0)}}();return"undefined"!=typeof console&&void 0!==console.warn&&(f=function(e){console.warn(e)},h.isNode&&r.stderr.isTTY?f=function(e){r.stderr.write("[31m"+e+"[39m\n")}:h.isNode||"string"!=typeof(new Error).stack||(f=function(e){console.warn("%c"+e,"color: red")})),t}}).call(this,e("_process"))},{"./async.js":84,"./util.js":119,_process:346}],89:[function(e,t,r){"use strict";t.exports=function(t){function r(e,t,r){this._instances=e,this._callback=t,this._promise=r}function n(e,t){var r={},n=o(e).call(r,t);return n===s?n:c(r).length?(s.e=new u("Catch filter must inherit from Error or be a simple predicate function\n\n See http://goo.gl/o84o68\n"),s):n}var i=e("./util.js"),a=e("./errors.js"),o=i.tryCatch,s=i.errorObj,c=e("./es5.js").keys,u=a.TypeError;return r.prototype.doFilter=function(e){for(var r=this._callback,i=this._promise._boundValue(),a=0,c=this._instances.length;a<c;++a){var u=this._instances[a],l=u===Error||null!=u&&u.prototype instanceof Error;if(l&&e instanceof u)return(p=o(r).call(i,e))===s?(t.e=p.e,t):p;if("function"==typeof u&&!l){var f=n(u,e);if(f===s){e=s.e;break}if(f){var p=o(r).call(i,e);return p===s?(t.e=p.e,t):p}}}return t.e=e,t},r}},{"./errors.js":94,"./es5.js":95,"./util.js":119}],90:[function(e,t,r){"use strict";t.exports=function(e,t,r){function n(){this._trace=new t(i())}function i(){var e=a.length-1;if(e>=0)return a[e]}var a=[];return n.prototype._pushContext=function(){r()&&void 0!==this._trace&&a.push(this._trace)},n.prototype._popContext=function(){r()&&void 0!==this._trace&&a.pop()},e.prototype._peekContext=i,e.prototype._pushContext=n.prototype._pushContext,e.prototype._popContext=n.prototype._popContext,function(){if(r())return new n}}},{}],91:[function(e,t,r){(function(r){"use strict";t.exports=function(t,n){var i,a,o=t._getDomain,s=e("./async.js"),c=e("./errors.js").Warning,u=e("./util.js"),l=u.canAttachTrace,f=u.isNode&&(!!r.env.BLUEBIRD_DEBUG||"development"===r.env.NODE_ENV);return u.isNode&&0==r.env.BLUEBIRD_DEBUG&&(f=!1),f&&s.disableTrampolineIfNecessary(),t.prototype._ignoreRejections=function(){this._unsetRejectionIsUnhandled(),this._bitField=16777216|this._bitField},t.prototype._ensurePossibleRejectionHandled=function(){0==(16777216&this._bitField)&&(this._setRejectionIsUnhandled(),s.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){n.fireRejectionEvent("rejectionHandled",i,void 0,this)},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._getCarriedStackTrace()||this._settledValue;this._setUnhandledRejectionIsNotified(),n.fireRejectionEvent("unhandledRejection",a,e,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=524288|this._bitField},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-524289&this._bitField},t.prototype._isUnhandledRejectionNotified=function(){return(524288&this._bitField)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=2097152|this._bitField},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-2097153&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(2097152&this._bitField)>0},t.prototype._setCarriedStackTrace=function(e){this._bitField=1048576|this._bitField,this._fulfillmentHandler0=e},t.prototype._isCarryingStackTrace=function(){return(1048576&this._bitField)>0},t.prototype._getCarriedStackTrace=function(){return this._isCarryingStackTrace()?this._fulfillmentHandler0:void 0},t.prototype._captureStackTrace=function(){return f&&(this._trace=new n(this._peekContext())),this},t.prototype._attachExtraTrace=function(e,t){if(f&&l(e)){var r=this._trace;if(void 0!==r&&t&&(r=r._parent),void 0!==r)r.attachExtraTrace(e);else if(!e.__stackCleaned__){var i=n.parseStackAndMessage(e);u.notEnumerableProp(e,"stack",i.message+"\n"+i.stack.join("\n")),u.notEnumerableProp(e,"__stackCleaned__",!0)}}},t.prototype._warn=function(e){var t=new c(e),r=this._peekContext();if(r)r.attachExtraTrace(t);else{var i=n.parseStackAndMessage(t);t.stack=i.message+"\n"+i.stack.join("\n")}n.formatAndLogError(t,"")},t.onPossiblyUnhandledRejection=function(e){var t=o();a="function"==typeof e?null===t?e:t.bind(e):void 0},t.onUnhandledRejectionHandled=function(e){var t=o();i="function"==typeof e?null===t?e:t.bind(e):void 0},t.longStackTraces=function(){if(s.haveItemsQueued()&&!1===f)throw new Error("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/DT1qyG\n");(f=n.isSupported())&&s.disableTrampolineIfNecessary()},t.hasLongStackTraces=function(){return f&&n.isSupported()},n.isSupported()||(t.longStackTraces=function(){},f=!1),function(){return f}}}).call(this,e("_process"))},{"./async.js":84,"./errors.js":94,"./util.js":119,_process:346}],92:[function(e,t,r){"use strict";var n=e("./util.js").isPrimitive;t.exports=function(e){var t=function(){return this},r=function(){throw this},i=function(){},a=function(){throw void 0},o=function(e,t){return 1===t?function(){throw e}:2===t?function(){return e}:void 0};e.prototype.return=e.prototype.thenReturn=function(r){return void 0===r?this.then(i):n(r)?this._then(o(r,2),void 0,void 0,void 0,void 0):(r instanceof e&&r._ignoreRejections(),this._then(t,void 0,void 0,r,void 0))},e.prototype.throw=e.prototype.thenThrow=function(e){return void 0===e?this.then(a):n(e)?this._then(o(e,1),void 0,void 0,void 0,void 0):this._then(r,void 0,void 0,e,void 0)}}},{"./util.js":119}],93:[function(e,t,r){"use strict";t.exports=function(e,t){var r=e.reduce;e.prototype.each=function(e){return r(this,e,null,t)},e.each=function(e,n){return r(e,n,null,t)}}},{}],94:[function(e,t,r){"use strict";function n(e,t){function r(n){if(!(this instanceof r))return new r(n);f(this,"message","string"==typeof n?n:t),f(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return l(r,Error),r}function i(e){if(!(this instanceof i))return new i(e);f(this,"name","OperationalError"),f(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error?(f(this,"message",e.message),f(this,"stack",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}var a,o,s=e("./es5.js"),c=s.freeze,u=e("./util.js"),l=u.inherits,f=u.notEnumerableProp,p=n("Warning","warning"),h=n("CancellationError","cancellation error"),d=n("TimeoutError","timeout error"),m=n("AggregateError","aggregate error");try{a=TypeError,o=RangeError}catch(e){a=n("TypeError","type error"),o=n("RangeError","range error")}for(var g="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),v=0;v<g.length;++v)"function"==typeof Array.prototype[g[v]]&&(m.prototype[g[v]]=Array.prototype[g[v]]);s.defineProperty(m.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),m.prototype.isOperational=!0;var b=0;m.prototype.toString=function(){var e=Array(4*b+1).join(" "),t="\n"+e+"AggregateError of:\n";b++,e=Array(4*b+1).join(" ");for(var r=0;r<this.length;++r){for(var n=this[r]===this?"[Circular AggregateError]":this[r]+"",i=n.split("\n"),a=0;a<i.length;++a)i[a]=e+i[a];t+=(n=i.join("\n"))+"\n"}return b--,t},l(i,Error);var y=Error.__BluebirdErrorTypes__;y||(y=c({CancellationError:h,TimeoutError:d,OperationalError:i,RejectionError:i,AggregateError:m}),f(Error,"__BluebirdErrorTypes__",y)),t.exports={Error:Error,TypeError:a,RangeError:o,CancellationError:y.CancellationError,OperationalError:y.OperationalError,TimeoutError:y.TimeoutError,AggregateError:y.AggregateError,Warning:p}},{"./es5.js":95,"./util.js":119}],95:[function(e,t,r){var n=function(){"use strict";return void 0===this}();if(n)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:n,propertyIsWritable:function(e,t){var r=Object.getOwnPropertyDescriptor(e,t);return!(r&&!r.writable&&!r.set)}};else{var i={}.hasOwnProperty,a={}.toString,o={}.constructor.prototype,s=function(e){var t=[];for(var r in e)i.call(e,r)&&t.push(r);return t},c=function(e,t){return{value:e[t]}},u=function(e,t,r){return e[t]=r.value,e},l=function(e){return e},f=function(e){try{return Object(e).constructor.prototype}catch(e){return o}},p=function(e){try{return"[object Array]"===a.call(e)}catch(e){return!1}};t.exports={isArray:p,keys:s,names:s,defineProperty:u,getDescriptor:c,freeze:l,getPrototypeOf:f,isES5:n,propertyIsWritable:function(){return!0}}}},{}],96:[function(e,t,r){"use strict";t.exports=function(e,t){var r=e.map;e.prototype.filter=function(e,n){return r(this,e,n,t)},e.filter=function(e,n,i){return r(e,n,i,t)}}},{}],97:[function(e,t,r){"use strict";t.exports=function(t,r,n){function i(){return this}function a(){throw this}function o(e){return function(){return e}}function s(e){return function(){throw e}}function c(e,t,r){var n;return n=p(t)?r?o(t):s(t):r?i:a,e._then(n,h,void 0,t,void 0)}function u(e){var i=this.promise,a=this.handler,o=i._isBound()?a.call(i._boundValue()):a();if(void 0!==o){var s=n(o,i);if(s instanceof t)return s=s._target(),c(s,e,i.isFulfilled())}return i.isRejected()?(r.e=e,r):e}function l(e){var r=this.promise,i=this.handler,a=r._isBound()?i.call(r._boundValue(),e):i(e);if(void 0!==a){var o=n(a,r);if(o instanceof t)return o=o._target(),c(o,e,!0)}return e}var f=e("./util.js"),p=f.isPrimitive,h=f.thrower;t.prototype._passThroughHandler=function(e,t){if("function"!=typeof e)return this.then();var r={promise:this,handler:e};return this._then(t?u:l,t?u:void 0,void 0,r,void 0)},t.prototype.lastly=t.prototype.finally=function(e){return this._passThroughHandler(e,!0)},t.prototype.tap=function(e){return this._passThroughHandler(e,!1)}}},{"./util.js":119}],98:[function(e,t,r){"use strict";t.exports=function(t,r,n,i){function a(e,r,n){for(var a=0;a<r.length;++a){n._pushContext();var o=l(r[a])(e);if(n._popContext(),o===u){n._pushContext();var s=t.reject(u.e);return n._popContext(),s}var c=i(o,n);if(c instanceof t)return c}return null}function o(e,r,i,a){(this._promise=new t(n))._captureStackTrace(),this._stack=a,this._generatorFunction=e,this._receiver=r,this._generator=void 0,this._yieldHandlers="function"==typeof i?[i].concat(f):f}var s=e("./errors.js").TypeError,c=e("./util.js"),u=c.errorObj,l=c.tryCatch,f=[];o.prototype.promise=function(){return this._promise},o.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._next(void 0)},o.prototype._continue=function(e){if(e===u)return this._promise._rejectCallback(e.e,!1,!0);var r=e.value;if(!0===e.done)this._promise._resolveCallback(r);else{var n=i(r,this._promise);if(!(n instanceof t)&&null===(n=a(n,this._yieldHandlers,this._promise)))return void this._throw(new s("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/4Y4pDk\n\n".replace("%s",r)+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")));n._then(this._next,this._throw,void 0,this,null)}},o.prototype._throw=function(e){this._promise._attachExtraTrace(e),this._promise._pushContext();var t=l(this._generator.throw).call(this._generator,e);this._promise._popContext(),this._continue(t)},o.prototype._next=function(e){this._promise._pushContext();var t=l(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},t.coroutine=function(e,t){if("function"!=typeof e)throw new s("generatorFunction must be a function\n\n See http://goo.gl/6Vqhm0\n");var r=Object(t).yieldHandler,n=o,i=(new Error).stack;return function(){var t=e.apply(this,arguments),a=new n(void 0,void 0,r,i);return a._generator=t,a._next(void 0),a.promise()}},t.coroutine.addYieldHandler=function(e){if("function"!=typeof e)throw new s("fn must be a function\n\n See http://goo.gl/916lJJ\n");f.push(e)},t.spawn=function(e){if("function"!=typeof e)return r("generatorFunction must be a function\n\n See http://goo.gl/6Vqhm0\n");var n=new o(e,this),i=n.promise();return n._run(t.spawn),i}}},{"./errors.js":94,"./util.js":119}],99:[function(e,t,r){"use strict";t.exports=function(t,r,n,i){var a=e("./util.js"),o=a.canEvaluate,s=a.tryCatch,c=a.errorObj;if(o){for(var u=function(e){return new Function("value","holder"," \n 'use strict'; \n holder.pIndex = value; \n holder.checkFulfillment(this); \n ".replace(/Index/g,e))},l=function(e){for(var t=[],r=1;r<=e;++r)t.push("holder.p"+r);return new Function("holder"," \n 'use strict'; \n var callback = holder.fn; \n return callback(values); \n ".replace(/values/g,t.join(", ")))},f=[],p=[void 0],h=1;h<=5;++h)f.push(u(h)),p.push(l(h));var d=function(e,t){this.p1=this.p2=this.p3=this.p4=this.p5=null,this.fn=t,this.total=e,this.now=0};d.prototype.callers=p,d.prototype.checkFulfillment=function(e){var t=this.now;t++;var r=this.total;if(t>=r){var n=this.callers[r];e._pushContext();var i=s(n)(this);e._popContext(),i===c?e._rejectCallback(i.e,!1,!0):e._resolveCallback(i)}else this.now=t};var m=function(e){this._reject(e)}}t.join=function(){var e,a=arguments.length-1;if(a>0&&"function"==typeof arguments[a]&&(e=arguments[a],a<6&&o)){(v=new t(i))._captureStackTrace();for(var s=new d(a,e),c=f,u=0;u<a;++u){var l=n(arguments[u],v);l instanceof t?(l=l._target())._isPending()?l._then(c[u],m,void 0,v,s):l._isFulfilled()?c[u].call(v,l._value(),s):v._reject(l._reason()):c[u].call(v,l,s)}return v}for(var p=arguments.length,h=new Array(p),g=0;g<p;++g)h[g]=arguments[g];e&&h.pop();var v=new r(h).promise();return void 0!==e?v.spread(e):v}}},{"./util.js":119}],100:[function(e,t,r){"use strict";t.exports=function(t,r,n,i,a){function o(e,t,r,n){this.constructor$(e),this._promise._captureStackTrace();var i=u();this._callback=null===i?t:i.bind(t),this._preservedValues=n===a?new Array(this.length()):null,this._limit=r,this._inFlight=0,this._queue=r>=1?[]:m,l.invoke(s,this,void 0)}function s(){this._init$(void 0,-2)}function c(e,t,r,n){var i="object"==typeof r&&null!==r?r.concurrency:0;return i="number"==typeof i&&isFinite(i)&&i>=1?i:0,new o(e,t,i,n)}var u=t._getDomain,l=e("./async.js"),f=e("./util.js"),p=f.tryCatch,h=f.errorObj,d={},m=[];f.inherits(o,r),o.prototype._init=function(){},o.prototype._promiseFulfilled=function(e,r){var n=this._values,a=this.length(),o=this._preservedValues,s=this._limit;if(n[r]===d){if(n[r]=e,s>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return}else{if(s>=1&&this._inFlight>=s)return n[r]=e,void this._queue.push(r);null!==o&&(o[r]=e);var c=this._callback,u=this._promise._boundValue();this._promise._pushContext();var l=p(c).call(u,e,r,a);if(this._promise._popContext(),l===h)return this._reject(l.e);var f=i(l,this._promise);if(f instanceof t){if((f=f._target())._isPending())return s>=1&&this._inFlight++,n[r]=d,f._proxyPromiseArray(this,r);if(!f._isFulfilled())return this._reject(f._reason());l=f._value()}n[r]=l}++this._totalResolved>=a&&(null!==o?this._filter(n,o):this._resolve(n))},o.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,r=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var n=e.pop();this._promiseFulfilled(r[n],n)}},o.prototype._filter=function(e,t){for(var r=t.length,n=new Array(r),i=0,a=0;a<r;++a)e[a]&&(n[i++]=t[a]);n.length=i,this._resolve(n)},o.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return"function"!=typeof e?n("fn must be a function\n\n See http://goo.gl/916lJJ\n"):c(this,e,t,null).promise()},t.map=function(e,t,r,i){return"function"!=typeof t?n("fn must be a function\n\n See http://goo.gl/916lJJ\n"):c(e,t,r,i).promise()}}},{"./async.js":84,"./util.js":119}],101:[function(e,t,r){"use strict";t.exports=function(t,r,n,i){var a=e("./util.js"),o=a.tryCatch;t.method=function(e){if("function"!=typeof e)throw new t.TypeError("fn must be a function\n\n See http://goo.gl/916lJJ\n");return function(){var n=new t(r);n._captureStackTrace(),n._pushContext();var i=o(e).apply(this,arguments);return n._popContext(),n._resolveFromSyncValue(i),n}},t.attempt=t.try=function(e,n,s){if("function"!=typeof e)return i("fn must be a function\n\n See http://goo.gl/916lJJ\n");var c=new t(r);c._captureStackTrace(),c._pushContext();var u=a.isArray(n)?o(e).apply(s,n):o(e).call(s,n);return c._popContext(),c._resolveFromSyncValue(u),c},t.prototype._resolveFromSyncValue=function(e){e===a.errorObj?this._rejectCallback(e.e,!1,!0):this._resolveCallback(e,!0)}}},{"./util.js":119}],102:[function(e,t,r){"use strict";t.exports=function(t){function r(e,t){var r=this;if(!a.isArray(e))return n.call(r,e,t);var i=s(t).apply(r._boundValue(),[null].concat(e));i===c&&o.throwLater(i.e)}function n(e,t){var r=this._boundValue(),n=void 0===e?s(t).call(r,null):s(t).call(r,null,e);n===c&&o.throwLater(n.e)}function i(e,t){var r=this;if(!e){var n=r._target()._getCarriedStackTrace();n.cause=e,e=n}var i=s(t).call(r._boundValue(),e);i===c&&o.throwLater(i.e)}var a=e("./util.js"),o=e("./async.js"),s=a.tryCatch,c=a.errorObj;t.prototype.asCallback=t.prototype.nodeify=function(e,t){if("function"==typeof e){var a=n;void 0!==t&&Object(t).spread&&(a=r),this._then(a,i,void 0,this,e)}return this}}},{"./async.js":84,"./util.js":119}],103:[function(e,t,r){"use strict";t.exports=function(t,r){var n=e("./util.js"),i=e("./async.js"),a=n.tryCatch,o=n.errorObj;t.prototype.progressed=function(e){return this._then(void 0,void 0,e,void 0,void 0)},t.prototype._progress=function(e){this._isFollowingOrFulfilledOrRejected()||this._target()._progressUnchecked(e)},t.prototype._progressHandlerAt=function(e){return 0===e?this._progressHandler0:this[(e<<2)+e-5+2]},t.prototype._doProgressWith=function(e){var r=e.value,i=e.handler,s=e.promise,c=e.receiver,u=a(i).call(c,r);if(u===o){if(null!=u.e&&"StopProgressPropagation"!==u.e.name){var l=n.canAttachTrace(u.e)?u.e:new Error(n.toString(u.e));s._attachExtraTrace(l),s._progress(u.e)}}else u instanceof t?u._then(s._progress,null,null,s,void 0):s._progress(u)},t.prototype._progressUnchecked=function(e){for(var n=this._length(),a=this._progress,o=0;o<n;o++){var s=this._progressHandlerAt(o),c=this._promiseAt(o);if(c instanceof t)"function"==typeof s?i.invoke(this._doProgressWith,this,{handler:s,promise:c,receiver:this._receiverAt(o),value:e}):i.invoke(a,c,e);else{var u=this._receiverAt(o);"function"==typeof s?s.call(u,e,c):u instanceof r&&!u._isResolved()&&u._promiseProgressed(e,c)}}}}},{"./async.js":84,"./util.js":119}],104:[function(e,t,r){(function(r){"use strict";t.exports=function(){function n(e){if("function"!=typeof e)throw new h("the promise constructor requires a resolver function\n\n See http://goo.gl/EC22Yn\n");if(this.constructor!==n)throw new h("the promise constructor cannot be invoked directly\n\n See http://goo.gl/KsIlge\n");this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._progressHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._settledValue=void 0,e!==d&&this._resolveFromResolver(e)}function i(e){var t=new n(d);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._progressHandler0=e,t._promise0=e,t._receiver0=e,t._settledValue=e}var a,o=function(){return new h("circular promise resolution chain\n\n See http://goo.gl/LhFpo0\n")},s=function(){return new n.PromiseInspection(this._target())},c=function(e){return n.reject(new h(e))},u=e("./util.js");a=u.isNode?function(){var e=r.domain;return void 0===e&&(e=null),e}:function(){return null},u.notEnumerableProp(n,"_getDomain",a);var l={},f=e("./async.js"),p=e("./errors.js"),h=n.TypeError=p.TypeError;n.RangeError=p.RangeError,n.CancellationError=p.CancellationError,n.TimeoutError=p.TimeoutError,n.OperationalError=p.OperationalError,n.RejectionError=p.OperationalError,n.AggregateError=p.AggregateError;var d=function(){},m={},g={e:null},v=e("./thenables.js")(n,d),b=e("./promise_array.js")(n,d,v,c),y=e("./captured_trace.js")(),_=e("./debuggability.js")(n,y),x=e("./context.js")(n,y,_),k=e("./catch_filter.js")(g),w=e("./promise_resolver.js"),j=w._nodebackForPromise,S=u.errorObj,E=u.tryCatch;return n.prototype.toString=function(){return"[object Promise]"},n.prototype.caught=n.prototype.catch=function(e){var t=arguments.length;if(t>1){var r,i=new Array(t-1),a=0;for(r=0;r<t-1;++r){var o=arguments[r];if("function"!=typeof o)return n.reject(new h("Catch filter must inherit from Error or be a simple predicate function\n\n See http://goo.gl/o84o68\n"));i[a++]=o}i.length=a,e=arguments[r];var s=new k(i,e,this);return this._then(void 0,s.doFilter,void 0,s,void 0)}return this._then(void 0,e,void 0,void 0,void 0)},n.prototype.reflect=function(){return this._then(s,s,void 0,this,void 0)},n.prototype.then=function(e,t,r){if(_()&&arguments.length>0&&"function"!=typeof e&&"function"!=typeof t){var n=".then() only accepts functions but was passed: "+u.classString(e);arguments.length>1&&(n+=", "+u.classString(t)),this._warn(n)}return this._then(e,t,r,void 0,void 0)},n.prototype.done=function(e,t,r){this._then(e,t,r,void 0,void 0)._setIsFinal()},n.prototype.spread=function(e,t){return this.all()._then(e,t,void 0,m,void 0)},n.prototype.isCancellable=function(){return!this.isResolved()&&this._cancellable()},n.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},n.prototype.all=function(){return new b(this).promise()},n.prototype.error=function(e){return this.caught(u.originatesFromRejection,e)},n.getNewLibraryCopy=t.exports,n.is=function(e){return e instanceof n},n.fromNode=function(e){var t=new n(d),r=E(e)(j(t));return r===S&&t._rejectCallback(r.e,!0,!0),t},n.all=function(e){return new b(e).promise()},n.defer=n.pending=function(){var e=new n(d);return new w(e)},n.cast=function(e){var t=v(e);if(!(t instanceof n)){var r=t;(t=new n(d))._fulfillUnchecked(r)}return t},n.resolve=n.fulfilled=n.cast,n.reject=n.rejected=function(e){var t=new n(d);return t._captureStackTrace(),t._rejectCallback(e,!0),t},n.setScheduler=function(e){if("function"!=typeof e)throw new h("fn must be a function\n\n See http://goo.gl/916lJJ\n");var t=f._schedule;return f._schedule=e,t},n.prototype._then=function(e,t,r,i,o){var s=void 0!==o,c=s?o:new n(d);s||(c._propagateFrom(this,5),c._captureStackTrace());var u=this._target();u!==this&&(void 0===i&&(i=this._boundTo),s||c._setIsMigrated());var l=u._addCallbacks(e,t,r,c,i,a());return u._isResolved()&&!u._isSettlePromisesQueued()&&f.invoke(u._settlePromiseAtPostResolution,u,l),c},n.prototype._settlePromiseAtPostResolution=function(e){this._isRejectionUnhandled()&&this._unsetRejectionIsUnhandled(),this._settlePromiseAt(e)},n.prototype._length=function(){return 131071&this._bitField},n.prototype._isFollowingOrFulfilledOrRejected=function(){return(939524096&this._bitField)>0},n.prototype._isFollowing=function(){return 536870912==(536870912&this._bitField)},n.prototype._setLength=function(e){this._bitField=-131072&this._bitField|131071&e},n.prototype._setFulfilled=function(){this._bitField=268435456|this._bitField},n.prototype._setRejected=function(){this._bitField=134217728|this._bitField},n.prototype._setFollowing=function(){this._bitField=536870912|this._bitField},n.prototype._setIsFinal=function(){this._bitField=33554432|this._bitField},n.prototype._isFinal=function(){return(33554432&this._bitField)>0},n.prototype._cancellable=function(){return(67108864&this._bitField)>0},n.prototype._setCancellable=function(){this._bitField=67108864|this._bitField},n.prototype._unsetCancellable=function(){this._bitField=-67108865&this._bitField},n.prototype._setIsMigrated=function(){this._bitField=4194304|this._bitField},n.prototype._unsetIsMigrated=function(){this._bitField=-4194305&this._bitField},n.prototype._isMigrated=function(){return(4194304&this._bitField)>0},n.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[5*e-5+4];if(t!==l)return void 0===t&&this._isBound()?this._boundValue():t},n.prototype._promiseAt=function(e){return 0===e?this._promise0:this[5*e-5+3]},n.prototype._fulfillmentHandlerAt=function(e){return 0===e?this._fulfillmentHandler0:this[5*e-5+0]},n.prototype._rejectionHandlerAt=function(e){return 0===e?this._rejectionHandler0:this[5*e-5+1]},n.prototype._boundValue=function(){var e=this._boundTo;return void 0!==e&&e instanceof n?e.isFulfilled()?e.value():void 0:e},n.prototype._migrateCallbacks=function(e,t){var r=e._fulfillmentHandlerAt(t),i=e._rejectionHandlerAt(t),a=e._progressHandlerAt(t),o=e._promiseAt(t),s=e._receiverAt(t);o instanceof n&&o._setIsMigrated(),void 0===s&&(s=l),this._addCallbacks(r,i,a,o,s,null)},n.prototype._addCallbacks=function(e,t,r,n,i,a){var o=this._length();if(o>=131066&&(o=0,this._setLength(0)),0===o)this._promise0=n,void 0!==i&&(this._receiver0=i),"function"!=typeof e||this._isCarryingStackTrace()||(this._fulfillmentHandler0=null===a?e:a.bind(e)),"function"==typeof t&&(this._rejectionHandler0=null===a?t:a.bind(t)),"function"==typeof r&&(this._progressHandler0=null===a?r:a.bind(r));else{var s=5*o-5;this[s+3]=n,this[s+4]=i,"function"==typeof e&&(this[s+0]=null===a?e:a.bind(e)),"function"==typeof t&&(this[s+1]=null===a?t:a.bind(t)),"function"==typeof r&&(this[s+2]=null===a?r:a.bind(r))}return this._setLength(o+1),o},n.prototype._setProxyHandlers=function(e,t){var r=this._length();if(r>=131066&&(r=0,this._setLength(0)),0===r)this._promise0=t,this._receiver0=e;else{var n=5*r-5;this[n+3]=t,this[n+4]=e}this._setLength(r+1)},n.prototype._proxyPromiseArray=function(e,t){this._setProxyHandlers(e,t)},n.prototype._resolveCallback=function(e,t){if(!this._isFollowingOrFulfilledOrRejected()){if(e===this)return this._rejectCallback(o(),!1,!0);var r=v(e,this);if(!(r instanceof n))return this._fulfill(e);var i=1|(t?4:0);this._propagateFrom(r,i);var a=r._target();if(a._isPending()){for(var s=this._length(),c=0;c<s;++c)a._migrateCallbacks(this,c);this._setFollowing(),this._setLength(0),this._setFollowee(a)}else a._isFulfilled()?this._fulfillUnchecked(a._value()):this._rejectUnchecked(a._reason(),a._getCarriedStackTrace())}},n.prototype._rejectCallback=function(e,t,r){r||u.markAsOriginatingFromRejection(e);var n=u.ensureErrorObject(e),i=n===e;this._attachExtraTrace(n,!!t&&i),this._reject(e,i?void 0:n)},n.prototype._resolveFromResolver=function(e){var t=this;this._captureStackTrace(),this._pushContext();var r=!0,n=E(e)(function(e){null!==t&&(t._resolveCallback(e),t=null)},function(e){null!==t&&(t._rejectCallback(e,r),t=null)});r=!1,this._popContext(),void 0!==n&&n===S&&null!==t&&(t._rejectCallback(n.e,!0,!0),t=null)},n.prototype._settlePromiseFromHandler=function(e,t,r,n){if(!n._isRejected()){n._pushContext();var i;if(i=t!==m||this._isRejected()?E(e).call(t,r):E(e).apply(this._boundValue(),r),n._popContext(),i===S||i===n||i===g){var a=i===n?o():i.e;n._rejectCallback(a,!1,!0)}else n._resolveCallback(i)}},n.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},n.prototype._followee=function(){return this._rejectionHandler0},n.prototype._setFollowee=function(e){this._rejectionHandler0=e},n.prototype._cleanValues=function(){this._cancellable()&&(this._cancellationParent=void 0)},n.prototype._propagateFrom=function(e,t){(1&t)>0&&e._cancellable()&&(this._setCancellable(),this._cancellationParent=e),(4&t)>0&&e._isBound()&&this._setBoundTo(e._boundTo)},n.prototype._fulfill=function(e){this._isFollowingOrFulfilledOrRejected()||this._fulfillUnchecked(e)},n.prototype._reject=function(e,t){this._isFollowingOrFulfilledOrRejected()||this._rejectUnchecked(e,t)},n.prototype._settlePromiseAt=function(e){var t=this._promiseAt(e),r=t instanceof n;if(r&&t._isMigrated())return t._unsetIsMigrated(),f.invoke(this._settlePromiseAt,this,e);var i=this._isFulfilled()?this._fulfillmentHandlerAt(e):this._rejectionHandlerAt(e),a=this._isCarryingStackTrace()?this._getCarriedStackTrace():void 0,o=this._settledValue,s=this._receiverAt(e);this._clearCallbackDataAtIndex(e),"function"==typeof i?r?this._settlePromiseFromHandler(i,s,o,t):i.call(s,o,t):s instanceof b?s._isResolved()||(this._isFulfilled()?s._promiseFulfilled(o,t):s._promiseRejected(o,t)):r&&(this._isFulfilled()?t._fulfill(o):t._reject(o,a)),e>=4&&4==(31&e)&&f.invokeLater(this._setLength,this,0)},n.prototype._clearCallbackDataAtIndex=function(e){if(0===e)this._isCarryingStackTrace()||(this._fulfillmentHandler0=void 0),this._rejectionHandler0=this._progressHandler0=this._receiver0=this._promise0=void 0;else{var t=5*e-5;this[t+3]=this[t+4]=this[t+0]=this[t+1]=this[t+2]=void 0}},n.prototype._isSettlePromisesQueued=function(){return-1073741824==(-1073741824&this._bitField)},n.prototype._setSettlePromisesQueued=function(){this._bitField=-1073741824|this._bitField},n.prototype._unsetSettlePromisesQueued=function(){this._bitField=1073741823&this._bitField},n.prototype._queueSettlePromises=function(){f.settlePromises(this),this._setSettlePromisesQueued()},n.prototype._fulfillUnchecked=function(e){if(e===this){var t=o();return this._attachExtraTrace(t),this._rejectUnchecked(t,void 0)}this._setFulfilled(),this._settledValue=e,this._cleanValues(),this._length()>0&&this._queueSettlePromises()},n.prototype._rejectUncheckedCheckError=function(e){var t=u.ensureErrorObject(e);this._rejectUnchecked(e,t===e?void 0:t)},n.prototype._rejectUnchecked=function(e,t){if(e===this){var r=o();return this._attachExtraTrace(r),this._rejectUnchecked(r)}this._setRejected(),this._settledValue=e,this._cleanValues(),this._isFinal()?f.throwLater(function(e){throw"stack"in e&&f.invokeFirst(y.unhandledRejection,void 0,e),e},void 0===t?e:t):(void 0!==t&&t!==e&&this._setCarriedStackTrace(t),this._length()>0?this._queueSettlePromises():this._ensurePossibleRejectionHandled())},n.prototype._settlePromises=function(){this._unsetSettlePromisesQueued();for(var e=this._length(),t=0;t<e;t++)this._settlePromiseAt(t)},u.notEnumerableProp(n,"_makeSelfResolutionError",o),e("./progress.js")(n,b),e("./method.js")(n,d,v,c),e("./bind.js")(n,d,v),e("./finally.js")(n,g,v),e("./direct_resolve.js")(n),e("./synchronous_inspection.js")(n),e("./join.js")(n,b,v,d),n.version="2.11.0",n.Promise=n,e("./map.js")(n,b,c,v,d),e("./cancel.js")(n),e("./using.js")(n,c,v,x),e("./generators.js")(n,c,d,v),e("./nodeify.js")(n),e("./call_get.js")(n),e("./props.js")(n,b,v,c),e("./race.js")(n,d,v,c),e("./reduce.js")(n,b,c,v,d),e("./settle.js")(n,b),e("./some.js")(n,b,c),e("./promisify.js")(n,d),e("./any.js")(n),e("./each.js")(n,d),e("./timers.js")(n,d),e("./filter.js")(n,d),u.toFastProperties(n),u.toFastProperties(n.prototype),i({a:1}),i({b:2}),i({c:3}),i(1),i(function(){}),i(void 0),i(!1),i(new n(d)),y.setBounds(f.firstLineError,u.lastLineError),n}}).call(this,e("_process"))},{"./any.js":83,"./async.js":84,"./bind.js":85,"./call_get.js":86,"./cancel.js":87,"./captured_trace.js":88,"./catch_filter.js":89,"./context.js":90,"./debuggability.js":91,"./direct_resolve.js":92,"./each.js":93,"./errors.js":94,"./filter.js":96,"./finally.js":97,"./generators.js":98,"./join.js":99,"./map.js":100,"./method.js":101,"./nodeify.js":102,"./progress.js":103,"./promise_array.js":105,"./promise_resolver.js":106,"./promisify.js":107,"./props.js":108,"./race.js":110,"./reduce.js":111,"./settle.js":113,"./some.js":114,"./synchronous_inspection.js":115,"./thenables.js":116,"./timers.js":117,"./using.js":118,"./util.js":119,_process:346}],105:[function(e,t,r){"use strict";t.exports=function(t,r,n,i){function a(e){switch(e){case-2:return[];case-3:return{}}}function o(e){var n,i=this._promise=new t(r);e instanceof t&&(n=e,i._propagateFrom(n,5)),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var s=e("./util.js").isArray;return o.prototype.length=function(){return this._length},o.prototype.promise=function(){return this._promise},o.prototype._init=function e(r,o){var c=n(this._values,this._promise);if(c instanceof t){if(c=c._target(),this._values=c,!c._isFulfilled())return c._isPending()?void c._then(e,this._reject,void 0,this,o):void this._reject(c._reason());if(c=c._value(),!s(c)){var u=new t.TypeError("expecting an array, a promise or a thenable\n\n See http://goo.gl/s8MMhc\n");return void this.__hardReject__(u)}}else if(!s(c))return void this._promise._reject(i("expecting an array, a promise or a thenable\n\n See http://goo.gl/s8MMhc\n")._reason());if(0!==c.length){var l=this.getActualLength(c.length);this._length=l,this._values=this.shouldCopyValues()?new Array(l):this._values;for(var f=this._promise,p=0;p<l;++p){var h=this._isResolved(),d=n(c[p],f);d instanceof t?(d=d._target(),h?d._ignoreRejections():d._isPending()?d._proxyPromiseArray(this,p):d._isFulfilled()?this._promiseFulfilled(d._value(),p):this._promiseRejected(d._reason(),p)):h||this._promiseFulfilled(d,p)}}else-5===o?this._resolveEmptyArray():this._resolve(a(o))},o.prototype._isResolved=function(){return null===this._values},o.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},o.prototype.__hardReject__=o.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1,!0)},o.prototype._promiseProgressed=function(e,t){this._promise._progress({index:t,value:e})},o.prototype._promiseFulfilled=function(e,t){this._values[t]=e,++this._totalResolved>=this._length&&this._resolve(this._values)},o.prototype._promiseRejected=function(e,t){this._totalResolved++,this._reject(e)},o.prototype.shouldCopyValues=function(){return!0},o.prototype.getActualLength=function(e){return e},o}},{"./util.js":119}],106:[function(e,t,r){"use strict";function n(e){return e instanceof Error&&h.getPrototypeOf(e)===Error.prototype}function i(e){var t;if(n(e)){(t=new f(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var r=h.keys(e),i=0;i<r.length;++i){var a=r[i];d.test(a)||(t[a]=e[a])}return t}return s.markAsOriginatingFromRejection(e),e}function a(e){return function(t,r){if(null!==e){if(t){var n=i(c(t));e._attachExtraTrace(n),e._reject(n)}else if(arguments.length>2){for(var a=arguments.length,o=new Array(a-1),s=1;s<a;++s)o[s-1]=arguments[s];e._fulfill(o)}else e._fulfill(r);e=null}}}var o,s=e("./util.js"),c=s.maybeWrapAsError,u=e("./errors.js"),l=u.TimeoutError,f=u.OperationalError,p=s.haveGetters,h=e("./es5.js"),d=/^(?:name|message|stack|cause)$/;if(o=p?function(e){this.promise=e}:function(e){this.promise=e,this.asCallback=a(e),this.callback=this.asCallback},p){var m={get:function(){return a(this.promise)}};h.defineProperty(o.prototype,"asCallback",m),h.defineProperty(o.prototype,"callback",m)}o._nodebackForPromise=a,o.prototype.toString=function(){return"[object PromiseResolver]"},o.prototype.resolve=o.prototype.fulfill=function(e){if(!(this instanceof o))throw new TypeError("Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\n\n See http://goo.gl/sdkXL9\n");this.promise._resolveCallback(e)},o.prototype.reject=function(e){if(!(this instanceof o))throw new TypeError("Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\n\n See http://goo.gl/sdkXL9\n");this.promise._rejectCallback(e)},o.prototype.progress=function(e){if(!(this instanceof o))throw new TypeError("Illegal invocation, resolver resolve/reject must be called within a resolver context. Consider using the promise constructor instead.\n\n See http://goo.gl/sdkXL9\n");this.promise._progress(e)},o.prototype.cancel=function(e){this.promise.cancel(e)},o.prototype.timeout=function(){this.reject(new l("timeout"))},o.prototype.isResolved=function(){return this.promise.isResolved()},o.prototype.toJSON=function(){return this.promise.toJSON()},t.exports=o},{"./errors.js":94,"./es5.js":95,"./util.js":119}],107:[function(e,t,r){"use strict";t.exports=function(t,r){function n(e){return!_.test(e)}function i(e){try{return!0===e.__isPromisified__}catch(e){return!1}}function a(e,t,r){var n=p.getDataPropertyOrDefault(e,t+r,b);return!!n&&i(n)}function o(e,t,r){for(var n=0;n<e.length;n+=2){var i=e[n];if(r.test(i))for(var a=i.replace(r,""),o=0;o<e.length;o+=2)if(e[o]===a)throw new v("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/iWrZbw\n".replace("%s",t))}}function s(e,t,r,n){for(var s=p.inheritedDataKeys(e),c=[],u=0;u<s.length;++u){var l=s[u],f=e[l],h=n===x||x(l,f,e);"function"!=typeof f||i(f)||a(e,l,t)||!n(l,f,e,h)||c.push(l,f)}return o(c,t,r),c}function c(e,t,r,n){for(var i=new RegExp(k(t)+"$"),a=s(e,t,i,r),o=0,c=a.length;o<c;o+=2){var u=a[o],l=a[o+1],h=u+t;if(n===A)e[h]=A(u,f,u,l,t);else{var d=n(l,function(){return A(u,f,u,l,t)});p.notEnumerableProp(d,"__isPromisified__",!0),e[h]=d}}return p.toFastProperties(e),e}function u(e,t){return A(e,t,void 0,e)}var l,f={},p=e("./util.js"),h=e("./promise_resolver.js")._nodebackForPromise,d=p.withAppended,m=p.maybeWrapAsError,g=p.canEvaluate,v=e("./errors").TypeError,b={__isPromisified__:!0},y=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],_=new RegExp("^(?:"+y.join("|")+")$"),x=function(e){return p.isIdentifier(e)&&"_"!==e.charAt(0)&&"constructor"!==e},k=function(e){return e.replace(/([$])/,"\\$")},w=function(e){for(var t=[e],r=Math.max(0,e-1-3),n=e-1;n>=r;--n)t.push(n);for(n=e+1;n<=3;++n)t.push(n);return t},j=function(e){return p.filledRange(e,"_arg","")},S=function(e){return p.filledRange(Math.max(e,3),"_arg","")},E=function(e){return"number"==typeof e.length?Math.max(Math.min(e.length,1024),0):0};l=function(e,n,i,a){function o(e){var t=j(e).join(", "),r=e>0?", ":"";return(u?"ret = callback.call(this, {{args}}, nodeback); break;\n":void 0===n?"ret = callback({{args}}, nodeback); break;\n":"ret = callback.call(receiver, {{args}}, nodeback); break;\n").replace("{{args}}",t).replace(", ",r)}var s=Math.max(0,E(a)-1),c=w(s),u="string"==typeof e||n===f,l="string"==typeof e?"this != null ? this['"+e+"'] : fn":"fn";return new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL","'use strict'; \n var ret = function (Parameters) { \n 'use strict'; \n var len = arguments.length; \n var promise = new Promise(INTERNAL); \n promise._captureStackTrace(); \n var nodeback = nodebackForPromise(promise); \n var ret; \n var callback = tryCatch([GetFunctionCode]); \n switch(len) { \n [CodeForSwitchCase] \n } \n if (ret === errorObj) { \n promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n } \n return promise; \n }; \n notEnumerableProp(ret, '__isPromisified__', true); \n return ret; \n ".replace("Parameters",S(s)).replace("[CodeForSwitchCase]",function(){for(var e="",t=0;t<c.length;++t)e+="case "+c[t]+":"+o(c[t]);return e+=" \n default: \n var args = new Array(len + 1); \n var i = 0; \n for (var i = 0; i < len; ++i) { \n args[i] = arguments[i]; \n } \n args[i] = nodeback; \n [CodeForCall] \n break; \n ".replace("[CodeForCall]",u?"ret = callback.apply(this, args);\n":"ret = callback.apply(receiver, args);\n")}()).replace("[GetFunctionCode]",l))(t,a,n,d,m,h,p.tryCatch,p.errorObj,p.notEnumerableProp,r)};var A=g?l:function(e,n,i,a){function o(){var i=n;n===f&&(i=this);var a=new t(r);a._captureStackTrace();var o="string"==typeof c&&this!==s?this[c]:e,u=h(a);try{o.apply(i,d(arguments,u))}catch(e){a._rejectCallback(m(e),!0,!0)}return a}var s=function(){return this}(),c=e;return"string"==typeof c&&(e=a),p.notEnumerableProp(o,"__isPromisified__",!0),o};t.promisify=function(e,t){if("function"!=typeof e)throw new v("fn must be a function\n\n See http://goo.gl/916lJJ\n");if(i(e))return e;var r=u(e,arguments.length<2?f:t);return p.copyDescriptors(e,r,n),r},t.promisifyAll=function(e,t){if("function"!=typeof e&&"object"!=typeof e)throw new v("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/9ITlV0\n");var r=(t=Object(t)).suffix;"string"!=typeof r&&(r="Async");var n=t.filter;"function"!=typeof n&&(n=x);var i=t.promisifier;if("function"!=typeof i&&(i=A),!p.isIdentifier(r))throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/8FZo5V\n");for(var a=p.inheritedDataKeys(e),o=0;o<a.length;++o){var s=e[a[o]];"constructor"!==a[o]&&p.isClass(s)&&(c(s.prototype,r,n,i),c(s,r,n,i))}return c(e,r,n,i)}}},{"./errors":94,"./promise_resolver.js":106,"./util.js":119}],108:[function(e,t,r){"use strict";t.exports=function(t,r,n,i){function a(e){for(var t=u.keys(e),r=t.length,n=new Array(2*r),i=0;i<r;++i){var a=t[i];n[i]=e[a],n[i+r]=a}this.constructor$(n)}function o(e){var r,o=n(e);return c(o)?(r=o instanceof t?o._then(t.props,void 0,void 0,void 0,void 0):new a(o).promise(),o instanceof t&&r._propagateFrom(o,4),r):i("cannot await properties of a non-object\n\n See http://goo.gl/OsFKC8\n")}var s=e("./util.js"),c=s.isObject,u=e("./es5.js");s.inherits(a,r),a.prototype._init=function(){this._init$(void 0,-3)},a.prototype._promiseFulfilled=function(e,t){if(this._values[t]=e,++this._totalResolved>=this._length){for(var r={},n=this.length(),i=0,a=this.length();i<a;++i)r[this._values[i+n]]=this._values[i];this._resolve(r)}},a.prototype._promiseProgressed=function(e,t){this._promise._progress({key:this._values[t+this.length()],value:e})},a.prototype.shouldCopyValues=function(){return!1},a.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return o(this)},t.props=function(e){return o(e)}}},{"./es5.js":95,"./util.js":119}],109:[function(e,t,r){"use strict";function n(e,t,r,n,i){for(var a=0;a<i;++a)r[a+n]=e[a+t],e[a+t]=void 0}function i(e){this._capacity=e,this._length=0,this._front=0}i.prototype._willBeOverCapacity=function(e){return this._capacity<e},i.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1),this[this._front+t&this._capacity-1]=e,this._length=t+1},i.prototype._unshiftOne=function(e){var t=this._capacity;this._checkCapacity(this.length()+1);var r=(this._front-1&t-1^t)-t;this[r]=e,this._front=r,this._length=this.length()+1},i.prototype.unshift=function(e,t,r){this._unshiftOne(r),this._unshiftOne(t),this._unshiftOne(e)},i.prototype.push=function(e,t,r){var n=this.length()+3;if(this._willBeOverCapacity(n))return this._pushOne(e),this._pushOne(t),void this._pushOne(r);var i=this._front+n-3;this._checkCapacity(n);var a=this._capacity-1;this[i+0&a]=e,this[i+1&a]=t,this[i+2&a]=r,this._length=n},i.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},i.prototype.length=function(){return this._length},i.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},i.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e,n(this,0,this,t,this._front+this._length&t-1)},t.exports=i},{}],110:[function(e,t,r){"use strict";t.exports=function(t,r,n,i){function a(e,a){var c=n(e);if(c instanceof t)return s(c);if(!o(e))return i("expecting an array, a promise or a thenable\n\n See http://goo.gl/s8MMhc\n");var u=new t(r);void 0!==a&&u._propagateFrom(a,5);for(var l=u._fulfill,f=u._reject,p=0,h=e.length;p<h;++p){var d=e[p];(void 0!==d||p in e)&&t.cast(d)._then(l,f,void 0,u,null)}return u}var o=e("./util.js").isArray,s=function(e){return e.then(function(t){return a(t,e)})};t.race=function(e){return a(e,void 0)},t.prototype.race=function(){return a(this,void 0)}}},{"./util.js":119}],111:[function(e,t,r){"use strict";t.exports=function(t,r,n,i,a){function o(e,r,n,o){this.constructor$(e),this._promise._captureStackTrace(),this._preservedValues=o===a?[]:null,this._zerothIsAccum=void 0===n,this._gotAccum=!1,this._reducingIndex=this._zerothIsAccum?1:0,this._valuesPhase=void 0;var c=i(n,this._promise),f=!1,p=c instanceof t;p&&((c=c._target())._isPending()?c._proxyPromiseArray(this,-1):c._isFulfilled()?(n=c._value(),this._gotAccum=!0):(this._reject(c._reason()),f=!0)),p||this._zerothIsAccum||(this._gotAccum=!0);var h=u();this._callback=null===h?r:h.bind(r),this._accum=n,f||l.invoke(s,this,void 0)}function s(){this._init$(void 0,-5)}function c(e,t,r,i){return"function"!=typeof t?n("fn must be a function\n\n See http://goo.gl/916lJJ\n"):new o(e,t,r,i).promise()}var u=t._getDomain,l=e("./async.js"),f=e("./util.js"),p=f.tryCatch,h=f.errorObj;f.inherits(o,r),o.prototype._init=function(){},o.prototype._resolveEmptyArray=function(){(this._gotAccum||this._zerothIsAccum)&&this._resolve(null!==this._preservedValues?[]:this._accum)},o.prototype._promiseFulfilled=function(e,r){var n=this._values;n[r]=e;var a,o=this.length(),s=this._preservedValues,c=null!==s,u=this._gotAccum,l=this._valuesPhase;if(!l)for(l=this._valuesPhase=new Array(o),a=0;a<o;++a)l[a]=0;if(a=l[r],0===r&&this._zerothIsAccum?(this._accum=e,this._gotAccum=u=!0,l[r]=0===a?1:2):-1===r?(this._accum=e,this._gotAccum=u=!0):0===a?l[r]=1:(l[r]=2,this._accum=e),u){for(var f,d=this._callback,m=this._promise._boundValue(),g=this._reducingIndex;g<o;++g)if(2!==(a=l[g])){if(1!==a)return;if(e=n[g],this._promise._pushContext(),c?(s.push(e),f=p(d).call(m,e,g,o)):f=p(d).call(m,this._accum,e,g,o),this._promise._popContext(),f===h)return this._reject(f.e);var v=i(f,this._promise);if(v instanceof t){if((v=v._target())._isPending())return l[g]=4,v._proxyPromiseArray(this,g);if(!v._isFulfilled())return this._reject(v._reason());f=v._value()}this._reducingIndex=g+1,this._accum=f}else this._reducingIndex=g+1;this._resolve(c?s:this._accum)}},t.prototype.reduce=function(e,t){return c(this,e,t,null)},t.reduce=function(e,t,r,n){return c(e,t,r,n)}}},{"./async.js":84,"./util.js":119}],112:[function(e,t,r){(function(r,n){"use strict";var i,a=e("./util");if(a.isNode&&"undefined"==typeof MutationObserver){var o=n.setImmediate,s=r.nextTick;i=a.isRecentNode?function(e){o.call(n,e)}:function(e){s.call(r,e)}}else"undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&window.navigator.standalone?i="undefined"!=typeof setImmediate?function(e){setImmediate(e)}:"undefined"!=typeof setTimeout?function(e){setTimeout(e,0)}:function(){throw new Error("No async scheduler available\n\n See http://goo.gl/m3OTXk\n")}:(i=function(e){var t=document.createElement("div");return new MutationObserver(e).observe(t,{attributes:!0}),function(){t.classList.toggle("foo")}}).isStatic=!0;t.exports=i}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./util":119,_process:346}],113:[function(e,t,r){"use strict";t.exports=function(t,r){function n(e){this.constructor$(e)}var i=t.PromiseInspection;e("./util.js").inherits(n,r),n.prototype._promiseResolved=function(e,t){this._values[e]=t,++this._totalResolved>=this._length&&this._resolve(this._values)},n.prototype._promiseFulfilled=function(e,t){var r=new i;r._bitField=268435456,r._settledValue=e,this._promiseResolved(t,r)},n.prototype._promiseRejected=function(e,t){var r=new i;r._bitField=134217728,r._settledValue=e,this._promiseResolved(t,r)},t.settle=function(e){return new n(e).promise()},t.prototype.settle=function(){return new n(this).promise()}}},{"./util.js":119}],114:[function(e,t,r){"use strict";t.exports=function(t,r,n){function i(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function a(e,t){if((0|t)!==t||t<0)return n("expecting a positive integer\n\n See http://goo.gl/1wAmHx\n");var r=new i(e),a=r.promise();return r.setHowMany(t),r.init(),a}var o=e("./util.js"),s=e("./errors.js").RangeError,c=e("./errors.js").AggregateError,u=o.isArray;o.inherits(i,r),i.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=u(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(e){this._howMany=e},i.prototype._promiseFulfilled=function(e){this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values))},i.prototype._promiseRejected=function(e){if(this._addRejected(e),this.howMany()>this._canPossiblyFulfill()){for(var t=new c,r=this.length();r<this._values.length;++r)t.push(this._values[r]);this._reject(t)}},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(e){this._values.push(e)},i.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new s(t)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return a(e,t)},t.prototype.some=function(e){return a(this,e)},t._SomePromiseArray=i}},{"./errors.js":94,"./util.js":119}],115:[function(e,t,r){"use strict";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValue=e._settledValue):(this._bitField=0,this._settledValue=void 0)}t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/hc1DLj\n");return this._settledValue},t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/hPuiwB\n");return this._settledValue},t.prototype.isFulfilled=e.prototype._isFulfilled=function(){return(268435456&this._bitField)>0},t.prototype.isRejected=e.prototype._isRejected=function(){return(134217728&this._bitField)>0},t.prototype.isPending=e.prototype._isPending=function(){return 0==(402653184&this._bitField)},t.prototype.isResolved=e.prototype._isResolved=function(){return(402653184&this._bitField)>0},e.prototype.isPending=function(){return this._target()._isPending()},e.prototype.isRejected=function(){return this._target()._isRejected()},e.prototype.isFulfilled=function(){return this._target()._isFulfilled()},e.prototype.isResolved=function(){return this._target()._isResolved()},e.prototype._value=function(){return this._settledValue},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue},e.prototype.value=function(){var e=this._target();if(!e.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/hc1DLj\n");return e._settledValue},e.prototype.reason=function(){var e=this._target();if(!e.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/hPuiwB\n");return e._unsetRejectionIsUnhandled(),e._settledValue},e.PromiseInspection=t}},{}],116:[function(e,t,r){"use strict";t.exports=function(t,r){function n(e){return e.then}function i(e){return u.call(e,"_promise0")}function a(e,n,i){var a=new t(r),c=a;i&&i._pushContext(),a._captureStackTrace(),i&&i._popContext();var u=!0,l=o.tryCatch(n).call(e,function(e){a&&(a._resolveCallback(e),a=null)},function(e){a&&(a._rejectCallback(e,u,!0),a=null)},function(e){a&&"function"==typeof a._progress&&a._progress(e)});return u=!1,a&&l===s&&(a._rejectCallback(l.e,!0,!0),a=null),c}var o=e("./util.js"),s=o.errorObj,c=o.isObject,u={}.hasOwnProperty;return function(e,u){if(c(e)){if(e instanceof t)return e;if(i(e))return f=new t(r),e._then(f._fulfillUnchecked,f._rejectUncheckedCheckError,f._progressUnchecked,f,null),f;var l=o.tryCatch(n)(e);if(l===s){u&&u._pushContext();var f=t.reject(l.e);return u&&u._popContext(),f}if("function"==typeof l)return a(e,l,u)}return e}}},{"./util.js":119}],117:[function(e,t,r){"use strict";t.exports=function(t,r){function n(e){var t=this;return t instanceof Number&&(t=+t),clearTimeout(t),e}function i(e){var t=this;throw t instanceof Number&&(t=+t),clearTimeout(t),e}var a=e("./util.js"),o=t.TimeoutError,s=function(e,t){if(e.isPending()){var r;!a.isPrimitive(t)&&t instanceof Error?r=t:("string"!=typeof t&&(t="operation timed out"),r=new o(t)),a.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._cancel(r)}},c=function(e){return u(+this).thenReturn(e)},u=t.delay=function(e,n){if(void 0===n){n=e,e=void 0;var i=new t(r);return setTimeout(function(){i._fulfill()},n),i}return n=+n,t.resolve(e)._then(c,null,null,n,void 0)};t.prototype.delay=function(e){return u(this,e)},t.prototype.timeout=function(e,t){e=+e;var r=this.then().cancellable();r._cancellationParent=this;var a=setTimeout(function(){s(r,t)},e);return r._then(n,i,void 0,a,void 0)}}},{"./util.js":119}],118:[function(e,t,r){"use strict";t.exports=function(t,r,n,i){function a(e){for(var r=e.length,n=0;n<r;++n){var i=e[n];if(i.isRejected())return t.reject(i.error());e[n]=i._settledValue}return e}function o(e){setTimeout(function(){throw e},0)}function s(e){var t=n(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}function c(e,r){function i(){if(a>=c)return u.resolve();var l=s(e[a++]);if(l instanceof t&&l._isDisposable()){try{l=n(l._getDisposer().tryDispose(r),e.promise)}catch(e){return o(e)}if(l instanceof t)return l._then(i,o,null,null,null)}i()}var a=0,c=e.length,u=t.defer();return i(),u.promise}function u(e){var t=new g;return t._settledValue=e,t._bitField=268435456,c(this,t).thenReturn(e)}function l(e){var t=new g;return t._settledValue=e,t._bitField=134217728,c(this,t).thenThrow(e)}function f(e,t,r){this._data=e,this._promise=t,this._context=r}function p(e,t,r){this.constructor$(e,t,r)}function h(e){return f.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}var d=e("./errors.js").TypeError,m=e("./util.js").inherits,g=t.PromiseInspection;f.prototype.data=function(){return this._data},f.prototype.promise=function(){return this._promise},f.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():null},f.prototype.tryDispose=function(e){var t=this.resource(),r=this._context;void 0!==r&&r._pushContext();var n=null!==t?this.doDispose(t,e):null;return void 0!==r&&r._popContext(),this._promise._unsetDisposable(),this._data=null,n},f.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},m(p,f),p.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},t.using=function(){var e=arguments.length;if(e<2)return r("you must pass at least 2 arguments to Promise.using");var i=arguments[e-1];if("function"!=typeof i)return r("fn must be a function\n\n See http://goo.gl/916lJJ\n");var o,s=!0;2===e&&Array.isArray(arguments[0])?(e=(o=arguments[0]).length,s=!1):(o=arguments,e--);for(var c=new Array(e),p=0;p<e;++p){var d=o[p];if(f.isDisposer(d)){var m=d;(d=d.promise())._setDisposable(m)}else{var g=n(d);g instanceof t&&(d=g._then(h,null,null,{resources:c,index:p},void 0))}c[p]=d}var v=t.settle(c).then(a).then(function(e){v._pushContext();var t;try{t=s?i.apply(void 0,e):i.call(void 0,e)}finally{v._popContext()}return t})._then(u,l,void 0,c,void 0);return c.promise=v,v},t.prototype._setDisposable=function(e){this._bitField=262144|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(262144&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-262145&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if("function"==typeof e)return new p(e,this,i());throw new d}}},{"./errors.js":94,"./util.js":119}],119:[function(e,t,r){(function(r){"use strict";function n(){try{var e=E;return E=null,e.apply(this,arguments)}catch(e){return S.e=e,S}}function i(e){return E=e,n}function a(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function o(e){return!a(e)}function s(e){return a(e)?new Error(g(e)):e}function c(e,t){var r,n=e.length,i=new Array(n+1);for(r=0;r<n;++r)i[r]=e[r];return i[r]=t,i}function u(e,t,r){if(!k.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var n=Object.getOwnPropertyDescriptor(e,t);return null!=n?null==n.get&&null==n.set?n.value:r:void 0}function l(e,t,r){if(a(e))return e;var n={value:r,configurable:!0,enumerable:!1,writable:!0};return k.defineProperty(e,t,n),e}function f(e){throw e}function p(e){try{if("function"==typeof e){var t=k.names(e.prototype),r=k.isES5&&t.length>1,n=t.length>0&&!(1===t.length&&"constructor"===t[0]),i=I.test(e+"")&&k.names(e).length>0;if(r||n||i)return!0}return!1}catch(e){return!1}}function h(e){function t(){}t.prototype=e;for(var r=8;r--;)new t;return e}function d(e){return O.test(e)}function m(e,t,r){for(var n=new Array(e),i=0;i<e;++i)n[i]=t+i+r;return n}function g(e){try{return e+""}catch(e){return"[no string representation]"}}function v(e){try{l(e,"isOperational",!0)}catch(e){}}function b(e){return null!=e&&(e instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===e.isOperational)}function y(e){return e instanceof Error&&k.propertyIsWritable(e,"stack")}function _(e){return{}.toString.call(e)}function x(e,t,r){for(var n=k.names(e),i=0;i<n.length;++i){var a=n[i];if(r(a))try{k.defineProperty(t,a,k.getDescriptor(e,a))}catch(e){}}}var k=e("./es5.js"),w="undefined"==typeof navigator,j=function(){try{var e={};return k.defineProperty(e,"f",{get:function(){return 3}}),3===e.f}catch(e){return!1}}(),S={e:{}},E,A=function(e,t){function r(){this.constructor=e,this.constructor$=t;for(var r in t.prototype)n.call(t.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=t.prototype[r])}var n={}.hasOwnProperty;return r.prototype=t.prototype,e.prototype=new r,e.prototype},F=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var r=0;r<e.length;++r)if(e[r]===t)return!0;return!1};if(k.isES5){var r=Object.getOwnPropertyNames;return function(e){for(var n=[],i=Object.create(null);null!=e&&!t(e);){var a;try{a=r(e)}catch(e){return n}for(var o=0;o<a.length;++o){var s=a[o];if(!i[s]){i[s]=!0;var c=Object.getOwnPropertyDescriptor(e,s);null!=c&&null==c.get&&null==c.set&&n.push(s)}}e=k.getPrototypeOf(e)}return n}}var n={}.hasOwnProperty;return function(r){if(t(r))return[];var i=[];e:for(var a in r)if(n.call(r,a))i.push(a);else{for(var o=0;o<e.length;++o)if(n.call(e[o],a))continue e;i.push(a)}return i}}(),I=/this\s*\.\s*\S+\s*=/,O=/^[a-z$_][a-z$_0-9]*$/i,P="stack"in new Error?function(e){return y(e)?e:new Error(g(e))}:function(e){if(y(e))return e;try{throw new Error(g(e))}catch(e){return e}},T={isClass:p,isIdentifier:d,inheritedDataKeys:F,getDataPropertyOrDefault:u,thrower:f,isArray:k.isArray,haveGetters:j,notEnumerableProp:l,isPrimitive:a,isObject:o,canEvaluate:w,errorObj:S,tryCatch:i,inherits:A,withAppended:c,maybeWrapAsError:s,toFastProperties:h,filledRange:m,toString:g,canAttachTrace:y,ensureErrorObject:P,originatesFromRejection:b,markAsOriginatingFromRejection:v,classString:_,copyDescriptors:x,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:void 0!==r&&"[object process]"===_(r).toLowerCase()};T.isRecentNode=T.isNode&&function(){var e=r.versions.node.split(".").map(Number);return 0===e[0]&&e[1]>10||e[0]>0}(),T.isNode&&T.toFastProperties(r);try{throw new Error}catch(e){T.lastLineError=e}t.exports=T}).call(this,e("_process"))},{"./es5.js":95,_process:346}],120:[function(e,t,r){!function(t,r){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}function o(e,t,r){for(var n=0,i=Math.min(e.length,r),a=t;a<i;a++){var o=e.charCodeAt(a)-48;n<<=4,n|=o>=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return n}function s(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o<a;o++){var s=e.charCodeAt(o)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}function c(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}function u(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,c=o/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var l=c>>>26,f=67108863&c,p=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=p;h++){var d=u-h|0;l+=(o=(i=0|e.words[d])*(a=0|t.words[h])+f)/67108864|0,f=67108863&o}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}function l(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a<r.length-1;a++){var o=i;i=0;for(var s=67108863&n,c=Math.min(a,t.length-1),u=Math.max(0,a-e.length+1);u<=c;u++){var l=a-u,f=(0|e.words[l])*(0|t.words[u]),p=67108863&f;s=67108863&(p=p+s|0),i+=(o=(o=o+(f/67108864|0)|0)+(p>>>26)|0)>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}function f(e,t,r){return(new p).mulp(e,t,r)}function p(e,t){this.x=e,this.y=t}function h(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function d(){h.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function m(){h.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function g(){h.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function v(){h.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function b(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function y(e){b.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}"object"==typeof t?t.exports=a:r.BN=a,a.BN=a,a.wordSize=26;var _;try{_=e("buffer").Buffer}catch(e){}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var a,o,s=0;if("be"===r)for(i=e.length-1,a=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[a]|=o<<s&67108863,this.words[a+1]=o>>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var n,i,a=0;for(r=e.length-6,n=0;r>=t;r-=6)i=o(e,r,r+6),this.words[n]|=i<<a&67108863,this.words[n+1]|=i>>>26-a&4194303,(a+=24)>=26&&(a-=26,n++);r+6!==t&&(i=o(e,t,r+6),this.words[n]|=i<<a&67108863,this.words[n+1]|=i>>>26-a&4194303),this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,c=Math.min(a,a-o)+r,u=0,l=r;l<c;l+=n)u=s(e,l,l+n,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==o){var f=1;for(u=s(e,l,e.length,t),l=0;l<o;l++)f*=t;this.imuln(f),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},a.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},a.prototype.clone=function(){var e=new a(null);return this.copy(e),e},a.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},a.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var x=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],w=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];a.prototype.toString=function(e,t){e=e||10,t=0|t||1;var r;if(16===e||"hex"===e){r="";for(var i=0,a=0,o=0;o<this.length;o++){var s=this.words[o],c=(16777215&(s<<i|a)).toString(16);r=0!==(a=s>>>24-i&16777215)||o!==this.length-1?x[6-c.length]+c+r:c+r,(i+=2)>=26&&(i-=26,o--)}for(0!==a&&(r=a.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=k[e],l=w[e];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var p=f.modn(l).toString(e);r=(f=f.idivn(l)).isZero()?p+r:x[u-p.length]+p+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n(void 0!==_),this.toArrayLike(_,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,c="le"===t,u=new e(a),l=this.clone();if(c){for(s=0;!l.isZero();s++)o=l.andln(255),l.iushrn(8),u[s]=o;for(;s<a;s++)u[s]=0}else{for(s=0;s<a-i;s++)u[s]=0;for(s=0;!l.isZero();s++)o=l.andln(255),l.iushrn(8),u[a-s-1]=o}return u},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},a.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},a.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},a.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},a.prototype.isNeg=function(){return 0!==this.negative},a.prototype.neg=function(){return this.clone().ineg()},a.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},a.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},a.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},a.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},a.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},a.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},a.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},a.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},a.prototype.iadd=function(e){var t;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();var r,n;this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a<n.length;a++)t=(0|r.words[a])+(0|n.words[a])+i,this.words[a]=67108863&t,i=t>>>26;for(;0!==i&&a<r.length;a++)t=(0|r.words[a])+i,this.words[a]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this},a.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;var n,i;r>0?(n=this,i=e):(n=e,i=this);for(var a=0,o=0;o<i.length;o++)a=(t=(0|n.words[o])-(0|i.words[o])+a)>>26,this.words[o]=67108863&t;for(;0!==a&&o<n.length;o++)a=(t=(0|n.words[o])+a)>>26,this.words[o]=67108863&t;if(0===a&&o<n.length&&n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this.length=Math.max(this.length,o),n!==this&&(this.negative=1),this.strip()},a.prototype.sub=function(e){return this.clone().isub(e)};var j=function(e,t,r){var n,i,a,o=e.words,s=t.words,c=r.words,u=0,l=0|o[0],f=8191&l,p=l>>>13,h=0|o[1],d=8191&h,m=h>>>13,g=0|o[2],v=8191&g,b=g>>>13,y=0|o[3],_=8191&y,x=y>>>13,k=0|o[4],w=8191&k,j=k>>>13,S=0|o[5],E=8191&S,A=S>>>13,F=0|o[6],I=8191&F,O=F>>>13,P=0|o[7],T=8191&P,C=P>>>13,z=0|o[8],R=8191&z,B=z>>>13,D=0|o[9],q=8191&D,M=D>>>13,L=0|s[0],N=8191&L,U=L>>>13,$=0|s[1],H=8191&$,V=$>>>13,K=0|s[2],Q=8191&K,G=K>>>13,Z=0|s[3],J=8191&Z,W=Z>>>13,X=0|s[4],Y=8191&X,ee=X>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],ce=8191&se,ue=se>>>13,le=0|s[8],fe=8191&le,pe=le>>>13,he=0|s[9],de=8191&he,me=he>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(f,N))|0)+((8191&(i=(i=Math.imul(f,U))+Math.imul(p,N)|0))<<13)|0;u=((a=Math.imul(p,U))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(d,N),i=(i=Math.imul(d,U))+Math.imul(m,N)|0,a=Math.imul(m,U);var ve=(u+(n=n+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,V)|0)+Math.imul(p,H)|0))<<13)|0;u=((a=a+Math.imul(p,V)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(v,N),i=(i=Math.imul(v,U))+Math.imul(b,N)|0,a=Math.imul(b,U),n=n+Math.imul(d,H)|0,i=(i=i+Math.imul(d,V)|0)+Math.imul(m,H)|0,a=a+Math.imul(m,V)|0;var be=(u+(n=n+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(p,Q)|0))<<13)|0;u=((a=a+Math.imul(p,G)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(_,N),i=(i=Math.imul(_,U))+Math.imul(x,N)|0,a=Math.imul(x,U),n=n+Math.imul(v,H)|0,i=(i=i+Math.imul(v,V)|0)+Math.imul(b,H)|0,a=a+Math.imul(b,V)|0,n=n+Math.imul(d,Q)|0,i=(i=i+Math.imul(d,G)|0)+Math.imul(m,Q)|0,a=a+Math.imul(m,G)|0;var ye=(u+(n=n+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(p,J)|0))<<13)|0;u=((a=a+Math.imul(p,W)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(w,N),i=(i=Math.imul(w,U))+Math.imul(j,N)|0,a=Math.imul(j,U),n=n+Math.imul(_,H)|0,i=(i=i+Math.imul(_,V)|0)+Math.imul(x,H)|0,a=a+Math.imul(x,V)|0,n=n+Math.imul(v,Q)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(b,Q)|0,a=a+Math.imul(b,G)|0,n=n+Math.imul(d,J)|0,i=(i=i+Math.imul(d,W)|0)+Math.imul(m,J)|0,a=a+Math.imul(m,W)|0;var _e=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(p,Y)|0))<<13)|0;u=((a=a+Math.imul(p,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(E,N),i=(i=Math.imul(E,U))+Math.imul(A,N)|0,a=Math.imul(A,U),n=n+Math.imul(w,H)|0,i=(i=i+Math.imul(w,V)|0)+Math.imul(j,H)|0,a=a+Math.imul(j,V)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(x,Q)|0,a=a+Math.imul(x,G)|0,n=n+Math.imul(v,J)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(b,J)|0,a=a+Math.imul(b,W)|0,n=n+Math.imul(d,Y)|0,i=(i=i+Math.imul(d,ee)|0)+Math.imul(m,Y)|0,a=a+Math.imul(m,ee)|0;var xe=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(i=(i=i+Math.imul(f,ne)|0)+Math.imul(p,re)|0))<<13)|0;u=((a=a+Math.imul(p,ne)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(I,N),i=(i=Math.imul(I,U))+Math.imul(O,N)|0,a=Math.imul(O,U),n=n+Math.imul(E,H)|0,i=(i=i+Math.imul(E,V)|0)+Math.imul(A,H)|0,a=a+Math.imul(A,V)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,G)|0)+Math.imul(j,Q)|0,a=a+Math.imul(j,G)|0,n=n+Math.imul(_,J)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(x,J)|0,a=a+Math.imul(x,W)|0,n=n+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(b,Y)|0,a=a+Math.imul(b,ee)|0,n=n+Math.imul(d,re)|0,i=(i=i+Math.imul(d,ne)|0)+Math.imul(m,re)|0,a=a+Math.imul(m,ne)|0;var ke=(u+(n=n+Math.imul(f,ae)|0)|0)+((8191&(i=(i=i+Math.imul(f,oe)|0)+Math.imul(p,ae)|0))<<13)|0;u=((a=a+Math.imul(p,oe)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(T,N),i=(i=Math.imul(T,U))+Math.imul(C,N)|0,a=Math.imul(C,U),n=n+Math.imul(I,H)|0,i=(i=i+Math.imul(I,V)|0)+Math.imul(O,H)|0,a=a+Math.imul(O,V)|0,n=n+Math.imul(E,Q)|0,i=(i=i+Math.imul(E,G)|0)+Math.imul(A,Q)|0,a=a+Math.imul(A,G)|0,n=n+Math.imul(w,J)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(j,J)|0,a=a+Math.imul(j,W)|0,n=n+Math.imul(_,Y)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(x,Y)|0,a=a+Math.imul(x,ee)|0,n=n+Math.imul(v,re)|0,i=(i=i+Math.imul(v,ne)|0)+Math.imul(b,re)|0,a=a+Math.imul(b,ne)|0,n=n+Math.imul(d,ae)|0,i=(i=i+Math.imul(d,oe)|0)+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0;var we=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(i=(i=i+Math.imul(f,ue)|0)+Math.imul(p,ce)|0))<<13)|0;u=((a=a+Math.imul(p,ue)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(R,N),i=(i=Math.imul(R,U))+Math.imul(B,N)|0,a=Math.imul(B,U),n=n+Math.imul(T,H)|0,i=(i=i+Math.imul(T,V)|0)+Math.imul(C,H)|0,a=a+Math.imul(C,V)|0,n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,G)|0)+Math.imul(O,Q)|0,a=a+Math.imul(O,G)|0,n=n+Math.imul(E,J)|0,i=(i=i+Math.imul(E,W)|0)+Math.imul(A,J)|0,a=a+Math.imul(A,W)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(j,Y)|0,a=a+Math.imul(j,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(x,re)|0,a=a+Math.imul(x,ne)|0,n=n+Math.imul(v,ae)|0,i=(i=i+Math.imul(v,oe)|0)+Math.imul(b,ae)|0,a=a+Math.imul(b,oe)|0,n=n+Math.imul(d,ce)|0,i=(i=i+Math.imul(d,ue)|0)+Math.imul(m,ce)|0,a=a+Math.imul(m,ue)|0;var je=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,pe)|0)+Math.imul(p,fe)|0))<<13)|0;u=((a=a+Math.imul(p,pe)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(q,N),i=(i=Math.imul(q,U))+Math.imul(M,N)|0,a=Math.imul(M,U),n=n+Math.imul(R,H)|0,i=(i=i+Math.imul(R,V)|0)+Math.imul(B,H)|0,a=a+Math.imul(B,V)|0,n=n+Math.imul(T,Q)|0,i=(i=i+Math.imul(T,G)|0)+Math.imul(C,Q)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(I,J)|0,i=(i=i+Math.imul(I,W)|0)+Math.imul(O,J)|0,a=a+Math.imul(O,W)|0,n=n+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(A,Y)|0,a=a+Math.imul(A,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(j,re)|0,a=a+Math.imul(j,ne)|0,n=n+Math.imul(_,ae)|0,i=(i=i+Math.imul(_,oe)|0)+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,n=n+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,ue)|0)+Math.imul(b,ce)|0,a=a+Math.imul(b,ue)|0,n=n+Math.imul(d,fe)|0,i=(i=i+Math.imul(d,pe)|0)+Math.imul(m,fe)|0,a=a+Math.imul(m,pe)|0;var Se=(u+(n=n+Math.imul(f,de)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(p,de)|0))<<13)|0;u=((a=a+Math.imul(p,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(q,H),i=(i=Math.imul(q,V))+Math.imul(M,H)|0,a=Math.imul(M,V),n=n+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(B,Q)|0,a=a+Math.imul(B,G)|0,n=n+Math.imul(T,J)|0,i=(i=i+Math.imul(T,W)|0)+Math.imul(C,J)|0,a=a+Math.imul(C,W)|0,n=n+Math.imul(I,Y)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(O,Y)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(E,re)|0,i=(i=i+Math.imul(E,ne)|0)+Math.imul(A,re)|0,a=a+Math.imul(A,ne)|0,n=n+Math.imul(w,ae)|0,i=(i=i+Math.imul(w,oe)|0)+Math.imul(j,ae)|0,a=a+Math.imul(j,oe)|0,n=n+Math.imul(_,ce)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(x,ce)|0,a=a+Math.imul(x,ue)|0,n=n+Math.imul(v,fe)|0,i=(i=i+Math.imul(v,pe)|0)+Math.imul(b,fe)|0,a=a+Math.imul(b,pe)|0;var Ee=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(m,de)|0))<<13)|0;u=((a=a+Math.imul(m,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(q,Q),i=(i=Math.imul(q,G))+Math.imul(M,Q)|0,a=Math.imul(M,G),n=n+Math.imul(R,J)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(B,J)|0,a=a+Math.imul(B,W)|0,n=n+Math.imul(T,Y)|0,i=(i=i+Math.imul(T,ee)|0)+Math.imul(C,Y)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(E,ae)|0,i=(i=i+Math.imul(E,oe)|0)+Math.imul(A,ae)|0,a=a+Math.imul(A,oe)|0,n=n+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(j,ce)|0,a=a+Math.imul(j,ue)|0,n=n+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,pe)|0)+Math.imul(x,fe)|0,a=a+Math.imul(x,pe)|0;var Ae=(u+(n=n+Math.imul(v,de)|0)|0)+((8191&(i=(i=i+Math.imul(v,me)|0)+Math.imul(b,de)|0))<<13)|0;u=((a=a+Math.imul(b,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(q,J),i=(i=Math.imul(q,W))+Math.imul(M,J)|0,a=Math.imul(M,W),n=n+Math.imul(R,Y)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(B,Y)|0,a=a+Math.imul(B,ee)|0,n=n+Math.imul(T,re)|0,i=(i=i+Math.imul(T,ne)|0)+Math.imul(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(I,ae)|0,i=(i=i+Math.imul(I,oe)|0)+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(E,ce)|0,i=(i=i+Math.imul(E,ue)|0)+Math.imul(A,ce)|0,a=a+Math.imul(A,ue)|0,n=n+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,pe)|0)+Math.imul(j,fe)|0,a=a+Math.imul(j,pe)|0;var Fe=(u+(n=n+Math.imul(_,de)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(x,de)|0))<<13)|0;u=((a=a+Math.imul(x,me)|0)+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,n=Math.imul(q,Y),i=(i=Math.imul(q,ee))+Math.imul(M,Y)|0,a=Math.imul(M,ee),n=n+Math.imul(R,re)|0,i=(i=i+Math.imul(R,ne)|0)+Math.imul(B,re)|0,a=a+Math.imul(B,ne)|0,n=n+Math.imul(T,ae)|0,i=(i=i+Math.imul(T,oe)|0)+Math.imul(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(I,ce)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(O,ce)|0,a=a+Math.imul(O,ue)|0,n=n+Math.imul(E,fe)|0,i=(i=i+Math.imul(E,pe)|0)+Math.imul(A,fe)|0,a=a+Math.imul(A,pe)|0;var Ie=(u+(n=n+Math.imul(w,de)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(j,de)|0))<<13)|0;u=((a=a+Math.imul(j,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(q,re),i=(i=Math.imul(q,ne))+Math.imul(M,re)|0,a=Math.imul(M,ne),n=n+Math.imul(R,ae)|0,i=(i=i+Math.imul(R,oe)|0)+Math.imul(B,ae)|0,a=a+Math.imul(B,oe)|0,n=n+Math.imul(T,ce)|0,i=(i=i+Math.imul(T,ue)|0)+Math.imul(C,ce)|0,a=a+Math.imul(C,ue)|0,n=n+Math.imul(I,fe)|0,i=(i=i+Math.imul(I,pe)|0)+Math.imul(O,fe)|0,a=a+Math.imul(O,pe)|0;var Oe=(u+(n=n+Math.imul(E,de)|0)|0)+((8191&(i=(i=i+Math.imul(E,me)|0)+Math.imul(A,de)|0))<<13)|0;u=((a=a+Math.imul(A,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(q,ae),i=(i=Math.imul(q,oe))+Math.imul(M,ae)|0,a=Math.imul(M,oe),n=n+Math.imul(R,ce)|0,i=(i=i+Math.imul(R,ue)|0)+Math.imul(B,ce)|0,a=a+Math.imul(B,ue)|0,n=n+Math.imul(T,fe)|0,i=(i=i+Math.imul(T,pe)|0)+Math.imul(C,fe)|0,a=a+Math.imul(C,pe)|0;var Pe=(u+(n=n+Math.imul(I,de)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(O,de)|0))<<13)|0;u=((a=a+Math.imul(O,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(q,ce),i=(i=Math.imul(q,ue))+Math.imul(M,ce)|0,a=Math.imul(M,ue),n=n+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,pe)|0)+Math.imul(B,fe)|0,a=a+Math.imul(B,pe)|0;var Te=(u+(n=n+Math.imul(T,de)|0)|0)+((8191&(i=(i=i+Math.imul(T,me)|0)+Math.imul(C,de)|0))<<13)|0;u=((a=a+Math.imul(C,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(q,fe),i=(i=Math.imul(q,pe))+Math.imul(M,fe)|0,a=Math.imul(M,pe);var Ce=(u+(n=n+Math.imul(R,de)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(B,de)|0))<<13)|0;u=((a=a+Math.imul(B,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863;var ze=(u+(n=Math.imul(q,de))|0)+((8191&(i=(i=Math.imul(q,me))+Math.imul(M,de)|0))<<13)|0;return u=((a=Math.imul(M,me))+(i>>>13)|0)+(ze>>>26)|0,ze&=67108863,c[0]=ge,c[1]=ve,c[2]=be,c[3]=ye,c[4]=_e,c[5]=xe,c[6]=ke,c[7]=we,c[8]=je,c[9]=Se,c[10]=Ee,c[11]=Ae,c[12]=Fe,c[13]=Ie,c[14]=Oe,c[15]=Pe,c[16]=Te,c[17]=Ce,c[18]=ze,0!==u&&(c[19]=u,r.length++),r};Math.imul||(j=u),a.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?j(this,e,t):r<63?u(this,e,t):r<1024?l(this,e,t):f(this,e,t)},p.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},p.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},p.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o<a;o++)n[o]=t[e[o]],i[o]=r[e[o]]},p.prototype.transform=function(e,t,r,n,i,a){this.permute(a,e,t,r,n,i);for(var o=1;o<i;o<<=1)for(var s=o<<1,c=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),l=0;l<i;l+=s)for(var f=c,p=u,h=0;h<o;h++){var d=r[l+h],m=n[l+h],g=r[l+h+o],v=n[l+h+o],b=f*g-p*v;v=f*v+p*g,g=b,r[l+h]=d+g,n[l+h]=m+v,r[l+h+o]=d-g,n[l+h+o]=m-v,h!==s&&(b=c*f-u*p,p=c*p+u*f,f=b)}},p.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},p.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},p.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},p.prototype.convert13b=function(e,t,r,i){for(var a=0,o=0;o<t;o++)a+=0|e[o],r[2*o]=8191&a,a>>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o<i;++o)r[o]=0;n(0===a),n(0==(-8192&a))},p.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},p.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),a=this.stub(n),o=new Array(n),s=new Array(n),c=new Array(n),u=new Array(n),l=new Array(n),f=new Array(n),p=r.words;p.length=n,this.convert13b(e.words,e.length,o,n),this.convert13b(t.words,t.length,u,n),this.transform(o,a,s,c,n,i),this.transform(u,a,l,f,n,i);for(var h=0;h<n;h++){var d=s[h]*l[h]-c[h]*f[h];c[h]=s[h]*f[h]+c[h]*l[h],s[h]=d}return this.conjugate(s,c,n),this.transform(s,c,p,a,n,i),this.conjugate(p,a,n),this.normalize13b(p,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},a.prototype.mul=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},a.prototype.mulf=function(e){var t=new a(null);return t.words=new Array(this.length+e.length),f(this,e,t)},a.prototype.imul=function(e){return this.clone().mulTo(e,this)},a.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,a=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=c(e);if(0===t.length)return new a(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},a.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t<this.length;t++){var s=this.words[t]&a,c=(0|this.words[t])-s<<r;this.words[t]=c|o,o=s>>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},a.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},a.prototype.iushrn=function(e,t,r){n("number"==typeof e&&e>=0);var i;i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<<a,c=r;if(i-=o,i=Math.max(0,i),c){for(var u=0;u<o;u++)c.words[u]=this.words[u];c.length=o}if(0===o);else if(this.length>o)for(this.length-=o,u=0;u<this.length;u++)this.words[u]=this.words[u+o];else this.words[0]=0,this.length=1;var l=0;for(u=this.length-1;u>=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-a|f>>>a,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},a.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},a.prototype.maskn=function(e){return this.clone().imaskn(e)},a.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},a.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},a.prototype.addn=function(e){return this.clone().iaddn(e)},a.prototype.subn=function(e){return this.clone().isubn(e)},a.prototype.iabs=function(){return this.negative=0,this},a.prototype.abs=function(){return this.clone().iabs()},a.prototype._ishlnsubmul=function(e,t,r){var i,a=e.length+r;this._expand(a);var o,s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var c=(0|e.words[i])*t;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==t){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var l=n.clone()._ishlnsubmul(i,1,c);0===l.negative&&(n=l,s&&(s.words[c]=1));for(var f=c-1;f>=0;f--){var p=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(p=Math.min(p/o|0,67108863),n._ishlnsubmul(i,p,f);0!==n.negative;)p--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=p)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(e,t,r){if(n(!e.isZero()),this.isZero())return{div:new a(0),mod:new a(0)};var i,o,s;return 0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},a.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var p=0,h=1;0==(t.words[0]&h)&&p<26;++p,h<<=1);if(p>0)for(t.iushrn(p);p-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(l),o.isub(f)),i.iushrn(1),o.iushrn(1);for(var d=0,m=1;0==(r.words[0]&m)&&d<26;++d,m<<=1);if(d>0)for(r.iushrn(d);d-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(c)):(r.isub(t),s.isub(i),c.isub(o))}return{a:s,b:c,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,u=1;0==(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(t.iushrn(c);c-- >0;)i.isOdd()&&i.iadd(s),i.iushrn(1);for(var l=0,f=1;0==(r.words[0]&f)&&l<26;++l,f<<=1);if(l>0)for(r.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(o)):(r.isub(t),o.isub(i))}var p;return(p=0===t.cmpn(1)?i:o).cmpn(0)<0&&p.iadd(e),p},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var a=i,o=r;0!==a&&o<this.length;o++){var s=0|this.words[o];a=(s+=a)>>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t=e<0;if(0!==this.negative&&!t)return-1;if(0===this.negative&&t)return 1;this.strip();var r;if(this.length>1)r=1;else{t&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];r=i===e?0:i<e?-1:1}return 0!==this.negative?0|-r:r},a.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},a.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new b(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var S={k256:null,p224:null,p192:null,p25519:null};h.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},h.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):r.strip(),r},h.prototype.split=function(e,t){e.iushrn(this.n,0,t)},h.prototype.imulK=function(e){return e.imul(this.k)},i(d,h),d.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n<r;n++)t.words[n]=e.words[n];if(t.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,n=10;n<e.length;n++){var a=0|e.words[n];e.words[n-10]=(4194303&a)<<4|i>>>22,i=a}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},d.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(m,h),i(g,h),i(v,h),v.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(S[e])return S[e];var t;if("k256"===e)t=new d;else if("p224"===e)t=new m;else if("p192"===e)t=new g;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new v}return S[e]=t,t},b.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},b.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},b.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},b.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},b.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},b.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},b.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},b.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},b.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},b.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},b.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},b.prototype.isqr=function(e){return this.imul(e,e.clone())},b.prototype.sqr=function(e){return this.mul(e,e)},b.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),p=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),d=o;0!==h.cmp(s);){for(var m=h,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<d);var v=this.pow(f,new a(1).iushln(d-g-1));p=p.redMul(v),f=v.redSqr(),h=h.redMul(f),d=g}return p},b.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},b.prototype.pow=function(e,t){if(t.isZero())return new a(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new a(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],o=0,s=0,c=t.bitLength()%26;for(0===c&&(c=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==o?(o<<=1,o|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}c=26}return i},b.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},b.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new y(e)},i(y,b),y.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},y.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},y.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},y.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},y.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===t||t,this)},{buffer:122}],121:[function(e,t,r){function n(e){this.rand=e}var i;if(t.exports=function(e){return i||(i=new n(null)),i.generate(e)},t.exports.Rand=n,n.prototype.generate=function(e){return this._rand(e)},n.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?n.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(n.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var a=e("crypto");if("function"!=typeof a.randomBytes)throw new Error("Not supported");n.prototype._rand=function(e){return a.randomBytes(e)}}catch(e){}},{crypto:122}],122:[function(e,t,r){},{}],123:[function(e,t,r){function n(e){s.isBuffer(e)||(e=s.from(e));for(var t=e.length/4|0,r=new Array(t),n=0;n<t;n++)r[n]=e.readUInt32BE(4*n);return r}function i(e){for(;0<e.length;e++)e[0]=0}function a(e,t,r,n,i){for(var a,o,s,c,u=r[0],l=r[1],f=r[2],p=r[3],h=e[0]^t[0],d=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],v=4,b=1;b<i;b++)a=u[h>>>24]^l[d>>>16&255]^f[m>>>8&255]^p[255&g]^t[v++],o=u[d>>>24]^l[m>>>16&255]^f[g>>>8&255]^p[255&h]^t[v++],s=u[m>>>24]^l[g>>>16&255]^f[h>>>8&255]^p[255&d]^t[v++],c=u[g>>>24]^l[h>>>16&255]^f[d>>>8&255]^p[255&m]^t[v++],h=a,d=o,m=s,g=c;return a=(n[h>>>24]<<24|n[d>>>16&255]<<16|n[m>>>8&255]<<8|n[255&g])^t[v++],o=(n[d>>>24]<<24|n[m>>>16&255]<<16|n[g>>>8&255]<<8|n[255&h])^t[v++],s=(n[m>>>24]<<24|n[g>>>16&255]<<16|n[h>>>8&255]<<8|n[255&d])^t[v++],c=(n[g>>>24]<<24|n[h>>>16&255]<<16|n[d>>>8&255]<<8|n[255&m])^t[v++],a>>>=0,o>>>=0,s>>>=0,c>>>=0,[a,o,s,c]}function o(e){this._key=n(e),this._reset()}var s=e("safe-buffer").Buffer,c=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[o]=u,n[u]=o;var l=e[o],f=e[l],p=e[f],h=257*e[u]^16843008*u;i[0][o]=h<<24|h>>>8,i[1][o]=h<<16|h>>>16,i[2][o]=h<<8|h>>>24,i[3][o]=h,h=16843009*p^65537*f^257*l^16843008*o,a[0][u]=h<<24|h>>>8,a[1][u]=h<<16|h>>>16,a[2][u]=h<<8|h>>>24,a[3][u]=h,0===o?o=s=1:(o=l^e[e[e[p^l]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:a}}();o.blockSize=16,o.keySize=32,o.prototype.blockSize=o.blockSize,o.prototype.keySize=o.keySize,o.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],a=0;a<t;a++)i[a]=e[a];for(a=t;a<n;a++){var o=i[a-1];a%t==0?(o=o<<8|o>>>24,o=u.SBOX[o>>>24]<<24|u.SBOX[o>>>16&255]<<16|u.SBOX[o>>>8&255]<<8|u.SBOX[255&o],o^=c[a/t|0]<<24):t>6&&a%t==4&&(o=u.SBOX[o>>>24]<<24|u.SBOX[o>>>16&255]<<16|u.SBOX[o>>>8&255]<<8|u.SBOX[255&o]),i[a]=i[a-t]^o}for(var s=[],l=0;l<n;l++){var f=n-l,p=i[f-(l%4?0:4)];s[l]=l<4||f<=4?p:u.INV_SUB_MIX[0][u.SBOX[p>>>24]]^u.INV_SUB_MIX[1][u.SBOX[p>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[p>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&p]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=s},o.prototype.encryptBlockRaw=function(e){return e=n(e),a(e,this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},o.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=s.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},o.prototype.decryptBlock=function(e){var t=(e=n(e))[1];e[1]=e[3],e[3]=t;var r=a(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),i=s.allocUnsafe(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[3],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[1],12),i},o.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},t.exports.AES=o},{"safe-buffer":402}],124:[function(e,t,r){function n(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}function i(e,t,r,n){s.call(this),this._finID=o.concat([r,o.from([0,0,0,1])]),r=o.concat([r,o.from([0,0,0,2])]),this._cipher=new a.AES(t),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=n,this._alen=0,this._len=0,this._mode=e;var i=o.alloc(4,0);this._ghash=new u(this._cipher.encryptBlock(i)),this._authTag=null,this._called=!1}var a=e("./aes"),o=e("safe-buffer").Buffer,s=e("cipher-base"),c=e("inherits"),u=e("./ghash"),l=e("buffer-xor");c(i,s),i.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=o.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},i.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&n(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},i.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},i.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},i.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},t.exports=i},{"./aes":123,"./ghash":128,"buffer-xor":152,"cipher-base":157,inherits:252,"safe-buffer":402}],125:[function(e,t,r){var n=e("./encrypter"),i=e("./decrypter"),a=e("./modes/list.json");r.createCipher=r.Cipher=n.createCipher,r.createCipheriv=r.Cipheriv=n.createCipheriv,r.createDecipher=r.Decipher=i.createDecipher,r.createDecipheriv=r.Decipheriv=i.createDecipheriv,r.listCiphers=r.getCiphers=function(){return Object.keys(a)}},{"./decrypter":126,"./encrypter":127,"./modes/list.json":136}],126:[function(e,t,r){function n(e,t,r){f.call(this),this._cache=new i,this._last=void 0,this._cipher=new p.AES(t),this._prev=c.from(r),this._mode=e,this._autopadding=!0}function i(){this.cache=c.allocUnsafe(0)}function a(e){for(var t=e[15],r=-1;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}function o(e,t,r){var i=u[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=c.from(r)),r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=c.from(t)),t.length!==i.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===i.type?new l(i.module,t,r,!0):"auth"===i.type?new s(i.module,t,r,!0):new n(i.module,t,r)}var s=e("./authCipher"),c=e("safe-buffer").Buffer,u=e("./modes"),l=e("./streamCipher"),f=e("cipher-base"),p=e("./aes"),h=e("evp_bytestokey");e("inherits")(n,f),n.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return c.concat(n)},n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return a(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},i.prototype.add=function(e){this.cache=c.concat([this.cache,e])},i.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},i.prototype.flush=function(){if(this.cache.length)return this.cache},r.createDecipher=function(e,t){var r=u[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=h(t,!1,r.key,r.iv);return o(e,n.key,n.iv)},r.createDecipheriv=o},{"./aes":123,"./authCipher":124,"./modes":135,"./streamCipher":138,"cipher-base":157,evp_bytestokey:201,inherits:252,"safe-buffer":402}],127:[function(e,t,r){function n(e,t,r){l.call(this),this._cache=new i,this._cipher=new f.AES(t),this._prev=c.from(r),this._mode=e,this._autopadding=!0}function i(){this.cache=c.allocUnsafe(0)}function a(e,t,r){var i=o[e.toLowerCase()];if(!i)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=c.from(t)),t.length!==i.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=c.from(r)),r.length!==i.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===i.type?new u(i.module,t,r):"auth"===i.type?new s(i.module,t,r):new n(i.module,t,r)}var o=e("./modes"),s=e("./authCipher"),c=e("safe-buffer").Buffer,u=e("./streamCipher"),l=e("cipher-base"),f=e("./aes"),p=e("evp_bytestokey");e("inherits")(n,l),n.prototype._update=function(e){this._cache.add(e);for(var t,r,n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return c.concat(n)};var h=c.alloc(16,16);n.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(h))throw this._cipher.scrub(),new Error("data not multiple of block length")},n.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},i.prototype.add=function(e){this.cache=c.concat([this.cache,e])},i.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},i.prototype.flush=function(){for(var e=16-this.cache.length,t=c.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return c.concat([this.cache,t])},r.createCipheriv=a,r.createCipher=function(e,t){var r=o[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=p(t,!1,r.key,r.iv);return a(e,n.key,n.iv)}},{"./aes":123,"./authCipher":124,"./modes":135,"./streamCipher":138,"cipher-base":157,evp_bytestokey:201,inherits:252,"safe-buffer":402}],128:[function(e,t,r){function n(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function i(e){var t=o.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=o.alloc(16,0),this.cache=o.allocUnsafe(0)}var o=e("safe-buffer").Buffer,s=o.alloc(16,0);a.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},a.prototype._multiply=function(){for(var e,t,r=n(this.h),a=[0,0,0,0],o=-1;++o<128;){for(0!=(this.state[~~(o/8)]&1<<7-o%8)&&(a[0]^=r[0],a[1]^=r[1],a[2]^=r[2],a[3]^=r[3]),t=0!=(1&r[3]),e=3;e>0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,t&&(r[0]=r[0]^225<<24)}this.state=i(a)},a.prototype.update=function(e){this.cache=o.concat([this.cache,e]);for(var t;this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(o.concat([this.cache,s],16)),this.ghash(i([0,e,0,t])),this.state},t.exports=a},{"safe-buffer":402}],129:[function(e,t,r){var n=e("buffer-xor");r.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},{"buffer-xor":152}],130:[function(e,t,r){function n(e,t,r){var n=t.length,o=a(t,e._cache);return e._cache=e._cache.slice(n),e._prev=i.concat([e._prev,r?t:o]),o}var i=e("safe-buffer").Buffer,a=e("buffer-xor");r.encrypt=function(e,t,r){for(var a,o=i.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=i.allocUnsafe(0)),!(e._cache.length<=t.length)){o=i.concat([o,n(e,t,r)]);break}a=e._cache.length,o=i.concat([o,n(e,t.slice(0,a),r)]),t=t.slice(a)}return o}},{"buffer-xor":152,"safe-buffer":402}],131:[function(e,t,r){function n(e,t,r){for(var n,a,o,s=-1,c=0;++s<8;)n=e._cipher.encryptBlock(e._prev),a=t&1<<7-s?128:0,c+=(128&(o=n[0]^a))>>s%8,e._prev=i(e._prev,r?a:o);return c}function i(e,t){var r=e.length,n=-1,i=a.allocUnsafe(e.length);for(e=a.concat([e,a.from([t])]);++n<r;)i[n]=e[n]<<1|e[n+1]>>7;return i}var a=e("safe-buffer").Buffer;r.encrypt=function(e,t,r){for(var i=t.length,o=a.allocUnsafe(i),s=-1;++s<i;)o[s]=n(e,t[s],r);return o}},{"safe-buffer":402}],132:[function(e,t,r){(function(e){function t(t,r,n){var i=t._cipher.encryptBlock(t._prev)[0]^r;return t._prev=e.concat([t._prev.slice(1),e.from([n?r:i])]),i}r.encrypt=function(r,n,i){for(var a=n.length,o=e.allocUnsafe(a),s=-1;++s<a;)o[s]=t(r,n[s],i);return o}}).call(this,e("buffer").Buffer)},{buffer:153}],133:[function(e,t,r){(function(t){function n(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}function i(e){var t=e._cipher.encryptBlockRaw(e._prev);return n(e._prev),t}var a=e("buffer-xor");r.encrypt=function(e,r){var n=Math.ceil(r.length/16),o=e._cache.length;e._cache=t.concat([e._cache,t.allocUnsafe(16*n)]);for(var s=0;s<n;s++){var c=i(e),u=o+16*s;e._cache.writeUInt32BE(c[0],u+0),e._cache.writeUInt32BE(c[1],u+4),e._cache.writeUInt32BE(c[2],u+8),e._cache.writeUInt32BE(c[3],u+12)}var l=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),a(r,l)}}).call(this,e("buffer").Buffer)},{buffer:153,"buffer-xor":152}],134:[function(e,t,r){r.encrypt=function(e,t){return e._cipher.encryptBlock(t)},r.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],135:[function(e,t,r){var n={ECB:e("./ecb"),CBC:e("./cbc"),CFB:e("./cfb"),CFB8:e("./cfb8"),CFB1:e("./cfb1"),OFB:e("./ofb"),CTR:e("./ctr"),GCM:e("./ctr")},i=e("./list.json");for(var a in i)i[a].module=n[i[a].mode];t.exports=i},{"./cbc":129,"./cfb":130,"./cfb1":131,"./cfb8":132,"./ctr":133,"./ecb":134,"./list.json":136,"./ofb":137}],136:[function(e,t,r){t.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}},{}],137:[function(e,t,r){(function(t){function n(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}var i=e("buffer-xor");r.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,n(e)]);var a=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),i(r,a)}}).call(this,e("buffer").Buffer)},{buffer:153,"buffer-xor":152}],138:[function(e,t,r){function n(e,t,r,n){o.call(this),this._cipher=new i.AES(t),this._prev=a.from(r),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=n,this._mode=e}var i=e("./aes"),a=e("safe-buffer").Buffer,o=e("cipher-base");e("inherits")(n,o),n.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},n.prototype._final=function(){this._cipher.scrub()},t.exports=n},{"./aes":123,"cipher-base":157,inherits:252,"safe-buffer":402}],139:[function(e,t,r){function n(e,t,r){if(e=e.toLowerCase(),u[e])return o.createCipheriv(e,t,r);if(c[e])return new s({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function i(e,t,r){if(e=e.toLowerCase(),u[e])return o.createDecipheriv(e,t,r);if(c[e])return new s({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}var a=e("evp_bytestokey"),o=e("browserify-aes/browser"),s=e("browserify-des"),c=e("browserify-des/modes"),u=e("browserify-aes/modes");r.createCipher=r.Cipher=function(e,t){var r,i;if(e=e.toLowerCase(),u[e])r=u[e].key,i=u[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,i=c[e].iv}var o=a(t,!1,r,i);return n(e,o.key,o.iv)},r.createCipheriv=r.Cipheriv=n,r.createDecipher=r.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),u[e])r=u[e].key,n=u[e].iv;else{if(!c[e])throw new TypeError("invalid suite type");r=8*c[e].key,n=c[e].iv}var o=a(t,!1,r,n);return i(e,o.key,o.iv)},r.createDecipheriv=r.Decipheriv=i,r.listCiphers=r.getCiphers=function(){return Object.keys(c).concat(o.getCiphers())}},{"browserify-aes/browser":125,"browserify-aes/modes":135,"browserify-des":140,"browserify-des/modes":141,evp_bytestokey:201}],140:[function(e,t,r){(function(r){function n(e){i.call(this);var t,n=e.mode.toLowerCase(),a=s[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;"des-ede"!==n&&"des-ede-cbc"!==n||(o=r.concat([o,o.slice(0,8)]));var c=e.iv;this._des=a.create({key:o,iv:c,type:t})}var i=e("cipher-base"),a=e("des.js"),o=e("inherits"),s={"des-ede3-cbc":a.CBC.instantiate(a.EDE),"des-ede3":a.EDE,"des-ede-cbc":a.CBC.instantiate(a.EDE),"des-ede":a.EDE,"des-cbc":a.CBC.instantiate(a.DES),"des-ecb":a.DES};s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],t.exports=n,o(n,i),n.prototype._update=function(e){return new r(this._des.update(e))},n.prototype._final=function(){return new r(this._des.final())}}).call(this,e("buffer").Buffer)},{buffer:153,"cipher-base":157,"des.js":169,inherits:252}],141:[function(e,t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],142:[function(e,t,r){(function(r){function n(e){var t=a(e);return{blinder:t.toRed(o.mont(e.modulus)).redPow(new o(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}function i(e,t){var i=n(t),a=t.modulus.byteLength(),s=(o.mont(t.modulus),new o(e).mul(i.blinder).umod(t.modulus)),c=s.toRed(o.mont(t.prime1)),u=s.toRed(o.mont(t.prime2)),l=t.coefficient,f=t.prime1,p=t.prime2,h=c.redPow(t.exponent1),d=u.redPow(t.exponent2);h=h.fromRed(),d=d.fromRed();var m=h.isub(d).imul(l).umod(f);return m.imul(p),d.iadd(m),new r(d.imul(i.unblinder).umod(t.modulus).toArray(!1,a))}function a(e){for(var t=e.modulus.byteLength(),r=new o(s(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new o(s(t));return r}var o=e("bn.js"),s=e("randombytes");t.exports=i,i.getr=a}).call(this,e("buffer").Buffer)},{"bn.js":120,buffer:153,randombytes:370}],143:[function(e,t,r){t.exports=e("./browser/algorithms.json")},{"./browser/algorithms.json":144}],144:[function(e,t,r){t.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}},{}],145:[function(e,t,r){t.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}},{}],146:[function(e,t,r){(function(r){function n(e){c.Writable.call(this);var t=p[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function i(e){c.Writable.call(this);var t=p[e];if(!t)throw new Error("Unknown message digest");this._hash=s(t.hash),this._tag=t.id,this._signType=t.sign}function a(e){return new n(e)}function o(e){return new i(e)}var s=e("create-hash"),c=e("stream"),u=e("inherits"),l=e("./sign"),f=e("./verify"),p=e("./algorithms.json");Object.keys(p).forEach(function(e){p[e].id=new r(p[e].id,"hex"),p[e.toLowerCase()]=p[e]}),u(n,c.Writable),n.prototype._write=function(e,t,r){this._hash.update(e),r()},n.prototype.update=function(e,t){return"string"==typeof e&&(e=new r(e,t)),this._hash.update(e),this},n.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=l(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},u(i,c.Writable),i.prototype._write=function(e,t,r){this._hash.update(e),r()},i.prototype.update=function(e,t){return"string"==typeof e&&(e=new r(e,t)),this._hash.update(e),this},i.prototype.verify=function(e,t,n){"string"==typeof t&&(t=new r(t,n)),this.end();var i=this._hash.digest();return f(t,i,e,this._signType,this._tag)},t.exports={Sign:a,Verify:o,createSign:a,createVerify:o}}).call(this,e("buffer").Buffer)},{"./algorithms.json":144,"./sign":147,"./verify":148,buffer:153,"create-hash":162,inherits:252,stream:434}],147:[function(e,t,r){(function(r){function n(e,t){var n=g[t.curve.join(".")];if(!n)throw new Error("unknown curve "+t.curve.join("."));var i=new h(n).keyFromPrivate(t.privateKey).sign(e);return new r(i.toDER())}function i(e,t,r){for(var n,i=t.params.priv_key,c=t.params.p,f=t.params.q,p=t.params.g,h=new d(0),m=s(e,f).mod(f),g=!1,v=o(i,f,e,r);!1===g;)h=l(p,n=u(f,v,r),c,f),0===(g=n.invm(f).imul(m.add(i.mul(h))).mod(f)).cmpn(0)&&(g=!1,h=new d(0));return a(h,g)}function a(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var n=[48,e.length+t.length+4,2,e.length];return n=n.concat(e,[2,t.length],t),new r(n)}function o(e,t,n,i){if((e=new r(e.toArray())).length<t.byteLength()){var a=new r(t.byteLength()-e.length);a.fill(0),e=r.concat([a,e])}var o=n.length,s=c(n,t),u=new r(o);u.fill(1);var l=new r(o);return l.fill(0),l=f(i,l).update(u).update(new r([0])).update(e).update(s).digest(),u=f(i,l).update(u).digest(),l=f(i,l).update(u).update(new r([1])).update(e).update(s).digest(),u=f(i,l).update(u).digest(),{k:l,v:u}}function s(e,t){var r=new d(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function c(e,t){e=(e=s(e,t)).mod(t);var n=new r(e.toArray());if(n.length<t.byteLength()){var i=new r(t.byteLength()-n.length);i.fill(0),n=r.concat([i,n])}return n}function u(e,t,n){var i,a;do{for(i=new r(0);8*i.length<e.bitLength();)t.v=f(n,t.k).update(t.v).digest(),i=r.concat([i,t.v]);a=s(i,e),t.k=f(n,t.k).update(t.v).update(new r([0])).digest(),t.v=f(n,t.k).update(t.v).digest()}while(-1!==a.cmp(e));return a}function l(e,t,r,n){return e.toRed(d.mont(r)).redPow(t).fromRed().mod(n)}var f=e("create-hmac"),p=e("browserify-rsa"),h=e("elliptic").ec,d=e("bn.js"),m=e("parse-asn1"),g=e("./curves.json");t.exports=function(e,t,a,o,s){var c=m(t);if(c.curve){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");return n(e,c)}if("dsa"===c.type){if("dsa"!==o)throw new Error("wrong private key type");return i(e,c,a)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");e=r.concat([s,e]);for(var u=c.modulus.byteLength(),l=[0,1];e.length+l.length+1<u;)l.push(255);l.push(0);for(var f=-1;++f<e.length;)l.push(e[f]);return p(l,c)},t.exports.getKey=o,t.exports.makeKey=u}).call(this,e("buffer").Buffer)},{"./curves.json":145,"bn.js":120,"browserify-rsa":142,buffer:153,"create-hmac":165,elliptic:182,"parse-asn1":337}],148:[function(e,t,r){(function(r){function n(e,t,r){var n=u[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new s(n),a=r.data.subjectPrivateKey.data;return i.verify(t,e,a)}function i(e,t,r){var n=r.data.p,i=r.data.q,s=r.data.g,u=r.data.pub_key,l=c.signature.decode(e,"der"),f=l.s,p=l.r;a(f,i),a(p,i);var h=o.mont(n),d=f.invm(i);return 0===s.toRed(h).redPow(new o(t).mul(d).mod(i)).fromRed().mul(u.toRed(h).redPow(p.mul(d).mod(i)).fromRed()).mod(n).mod(i).cmp(p)}function a(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}var o=e("bn.js"),s=e("elliptic").ec,c=e("parse-asn1"),u=e("./curves.json");t.exports=function(e,t,a,s,u){var l=c(a);if("ec"===l.type){if("ecdsa"!==s&&"ecdsa/rsa"!==s)throw new Error("wrong public key type");return n(e,t,l)}if("dsa"===l.type){if("dsa"!==s)throw new Error("wrong public key type");return i(e,t,l)}if("rsa"!==s&&"ecdsa/rsa"!==s)throw new Error("wrong public key type");t=r.concat([u,t]);for(var f=l.modulus.byteLength(),p=[1],h=0;t.length+p.length+2<f;)p.push(255),h++;p.push(0);for(var d=-1;++d<t.length;)p.push(t[d]);p=new r(p);var m=o.mont(l.modulus);e=(e=new o(e).toRed(m)).redPow(new o(l.publicExponent)),e=new r(e.fromRed().toArray());var g=h<8?1:0;for(f=Math.min(e.length,p.length),e.length!==p.length&&(g=1),d=-1;++d<f;)g|=e[d]^p[d];return 0===g}}).call(this,e("buffer").Buffer)},{"./curves.json":145,"bn.js":120,buffer:153,elliptic:182,"parse-asn1":337}],149:[function(e,t,r){(function(t,n){function i(e){if(e<r.DEFLATE||e>r.UNZIP)throw new TypeError("Bad argument");this.mode=e,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function a(e,t){for(var r=0;r<e.length;r++)this[t+r]=e[r]}var o=e("pako/lib/zlib/messages"),s=e("pako/lib/zlib/zstream"),c=e("pako/lib/zlib/deflate.js"),u=e("pako/lib/zlib/inflate.js"),l=e("pako/lib/zlib/constants");for(var f in l)r[f]=l[f];r.NONE=0,r.DEFLATE=1,r.INFLATE=2,r.GZIP=3,r.GUNZIP=4,r.DEFLATERAW=5,r.INFLATERAW=6,r.UNZIP=7,i.prototype.init=function(e,t,n,i,a){switch(this.windowBits=e,this.level=t,this.memLevel=n,this.strategy=i,this.mode!==r.GZIP&&this.mode!==r.GUNZIP||(this.windowBits+=16),this.mode===r.UNZIP&&(this.windowBits+=32),this.mode!==r.DEFLATERAW&&this.mode!==r.INFLATERAW||(this.windowBits=-this.windowBits),this.strm=new s,this.mode){case r.DEFLATE:case r.GZIP:case r.DEFLATERAW:o=c.deflateInit2(this.strm,this.level,r.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case r.INFLATE:case r.GUNZIP:case r.INFLATERAW:case r.UNZIP:var o=u.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}o===r.Z_OK?(this.write_in_progress=!1,this.init_done=!0):this._error(o)},i.prototype.params=function(){throw new Error("deflateParams Not supported")},i.prototype._writeCheck=function(){if(!this.init_done)throw new Error("write before init");if(this.mode===r.NONE)throw new Error("already finalized");if(this.write_in_progress)throw new Error("write already in progress");if(this.pending_close)throw new Error("close is pending")},i.prototype.write=function(e,r,n,i,a,o,s){this._writeCheck(),this.write_in_progress=!0;var c=this;return t.nextTick(function(){c.write_in_progress=!1;var t=c._write(e,r,n,i,a,o,s);c.callback(t[0],t[1]),c.pending_close&&c.close()}),this},i.prototype.writeSync=function(e,t,r,n,i,a,o){return this._writeCheck(),this._write(e,t,r,n,i,a,o)},i.prototype._write=function(e,t,i,o,s,l,f){if(this.write_in_progress=!0,e!==r.Z_NO_FLUSH&&e!==r.Z_PARTIAL_FLUSH&&e!==r.Z_SYNC_FLUSH&&e!==r.Z_FULL_FLUSH&&e!==r.Z_FINISH&&e!==r.Z_BLOCK)throw new Error("Invalid flush value");null==t&&(t=new n(0),o=0,i=0),s._set?s.set=s._set:s.set=a;var p=this.strm;switch(p.avail_in=o,p.input=t,p.next_in=i,p.avail_out=f,p.output=s,p.next_out=l,this.mode){case r.DEFLATE:case r.GZIP:case r.DEFLATERAW:h=c.deflate(p,e);break;case r.UNZIP:case r.INFLATE:case r.GUNZIP:case r.INFLATERAW:var h=u.inflate(p,e);break;default:throw new Error("Unknown mode "+this.mode)}return h!==r.Z_STREAM_END&&h!==r.Z_OK&&this._error(h),this.write_in_progress=!1,[p.avail_in,p.avail_out]},i.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,this.mode===r.DEFLATE||this.mode===r.GZIP||this.mode===r.DEFLATERAW?c.deflateEnd(this.strm):u.inflateEnd(this.strm),this.mode=r.NONE)},i.prototype.reset=function(){switch(this.mode){case r.DEFLATE:case r.DEFLATERAW:e=c.deflateReset(this.strm);break;case r.INFLATE:case r.INFLATERAW:var e=u.inflateReset(this.strm)}e!==r.Z_OK&&this._error(e)},i.prototype._error=function(e){this.onerror(o[e]+": "+this.strm.msg,e),this.write_in_progress=!1,this.pending_close&&this.close()},r.Zlib=i}).call(this,e("_process"),e("buffer").Buffer)},{_process:346,buffer:153,"pako/lib/zlib/constants":324,"pako/lib/zlib/deflate.js":326,"pako/lib/zlib/inflate.js":328,"pako/lib/zlib/messages":330,"pako/lib/zlib/zstream":332}],150:[function(e,t,r){(function(t,n){function i(e,t,r){function i(){for(var t;null!==(t=e.read());)o.push(t),s+=t.length;e.once("readable",i)}function a(){var t=n.concat(o,s);o=[],r(null,t),e.close()}var o=[],s=0;e.on("error",function(t){e.removeListener("end",a),e.removeListener("readable",i),r(t)}),e.on("end",a),e.end(t),i()}function a(e,t){if("string"==typeof t&&(t=new n(t)),!n.isBuffer(t))throw new TypeError("Not a string or buffer");var r=m.Z_FINISH;return e._processChunk(t,r)}function o(e){if(!(this instanceof o))return new o(e);h.call(this,e,m.DEFLATE)}function s(e){if(!(this instanceof s))return new s(e);h.call(this,e,m.INFLATE)}function c(e){if(!(this instanceof c))return new c(e);h.call(this,e,m.GZIP)}function u(e){if(!(this instanceof u))return new u(e);h.call(this,e,m.GUNZIP)}function l(e){if(!(this instanceof l))return new l(e);h.call(this,e,m.DEFLATERAW)}function f(e){if(!(this instanceof f))return new f(e);h.call(this,e,m.INFLATERAW)}function p(e){if(!(this instanceof p))return new p(e);h.call(this,e,m.UNZIP)}function h(e,t){if(this._opts=e=e||{},this._chunkSize=e.chunkSize||r.Z_DEFAULT_CHUNK,d.call(this,e),e.flush&&e.flush!==m.Z_NO_FLUSH&&e.flush!==m.Z_PARTIAL_FLUSH&&e.flush!==m.Z_SYNC_FLUSH&&e.flush!==m.Z_FULL_FLUSH&&e.flush!==m.Z_FINISH&&e.flush!==m.Z_BLOCK)throw new Error("Invalid flush flag: "+e.flush);if(this._flushFlag=e.flush||m.Z_NO_FLUSH,e.chunkSize&&(e.chunkSize<r.Z_MIN_CHUNK||e.chunkSize>r.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBits<r.Z_MIN_WINDOWBITS||e.windowBits>r.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.level<r.Z_MIN_LEVEL||e.level>r.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevel<r.Z_MIN_MEMLEVEL||e.memLevel>r.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=r.Z_FILTERED&&e.strategy!=r.Z_HUFFMAN_ONLY&&e.strategy!=r.Z_RLE&&e.strategy!=r.Z_FIXED&&e.strategy!=r.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!n.isBuffer(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new m.Zlib(t);var i=this;this._hadError=!1,this._binding.onerror=function(e,t){i._binding=null,i._hadError=!0;var n=new Error(e);n.errno=t,n.code=r.codes[t],i.emit("error",n)};var a=r.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(a=e.level);var o=r.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(o=e.strategy),this._binding.init(e.windowBits||r.Z_DEFAULT_WINDOWBITS,a,e.memLevel||r.Z_DEFAULT_MEMLEVEL,o,e.dictionary),this._buffer=new n(this._chunkSize),this._offset=0,this._closed=!1,this._level=a,this._strategy=o,this.once("end",this.close)}var d=e("_stream_transform"),m=e("./binding"),g=e("util"),v=e("assert").ok;m.Z_MIN_WINDOWBITS=8,m.Z_MAX_WINDOWBITS=15,m.Z_DEFAULT_WINDOWBITS=15,m.Z_MIN_CHUNK=64,m.Z_MAX_CHUNK=1/0,m.Z_DEFAULT_CHUNK=16384,m.Z_MIN_MEMLEVEL=1,m.Z_MAX_MEMLEVEL=9,m.Z_DEFAULT_MEMLEVEL=8,m.Z_MIN_LEVEL=-1,m.Z_MAX_LEVEL=9,m.Z_DEFAULT_LEVEL=m.Z_DEFAULT_COMPRESSION,Object.keys(m).forEach(function(e){e.match(/^Z/)&&(r[e]=m[e])}),r.codes={Z_OK:m.Z_OK,Z_STREAM_END:m.Z_STREAM_END,Z_NEED_DICT:m.Z_NEED_DICT,Z_ERRNO:m.Z_ERRNO,Z_STREAM_ERROR:m.Z_STREAM_ERROR,Z_DATA_ERROR:m.Z_DATA_ERROR,Z_MEM_ERROR:m.Z_MEM_ERROR,Z_BUF_ERROR:m.Z_BUF_ERROR,Z_VERSION_ERROR:m.Z_VERSION_ERROR},Object.keys(r.codes).forEach(function(e){r.codes[r.codes[e]]=e}),r.Deflate=o,r.Inflate=s,r.Gzip=c,r.Gunzip=u,r.DeflateRaw=l,r.InflateRaw=f,r.Unzip=p,r.createDeflate=function(e){return new o(e)},r.createInflate=function(e){return new s(e)},r.createDeflateRaw=function(e){return new l(e)},r.createInflateRaw=function(e){return new f(e)},r.createGzip=function(e){return new c(e)},r.createGunzip=function(e){return new u(e)},r.createUnzip=function(e){return new p(e)},r.deflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),i(new o(t),e,r)},r.deflateSync=function(e,t){return a(new o(t),e)},r.gzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),i(new c(t),e,r)},r.gzipSync=function(e,t){return a(new c(t),e)},r.deflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),i(new l(t),e,r)},r.deflateRawSync=function(e,t){return a(new l(t),e)},r.unzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),i(new p(t),e,r)},r.unzipSync=function(e,t){return a(new p(t),e)},r.inflate=function(e,t,r){return"function"==typeof t&&(r=t,t={}),i(new s(t),e,r)},r.inflateSync=function(e,t){return a(new s(t),e)},r.gunzip=function(e,t,r){return"function"==typeof t&&(r=t,t={}),i(new u(t),e,r)},r.gunzipSync=function(e,t){return a(new u(t),e)},r.inflateRaw=function(e,t,r){return"function"==typeof t&&(r=t,t={}),i(new f(t),e,r)},r.inflateRawSync=function(e,t){return a(new f(t),e)},g.inherits(h,d),h.prototype.params=function(e,n,i){if(e<r.Z_MIN_LEVEL||e>r.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(n!=r.Z_FILTERED&&n!=r.Z_HUFFMAN_ONLY&&n!=r.Z_RLE&&n!=r.Z_FIXED&&n!=r.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+n);if(this._level!==e||this._strategy!==n){var a=this;this.flush(m.Z_SYNC_FLUSH,function(){a._binding.params(e,n),a._hadError||(a._level=e,a._strategy=n,i&&i())})}else t.nextTick(i)},h.prototype.reset=function(){return this._binding.reset()},h.prototype._flush=function(e){this._transform(new n(0),"",e)},h.prototype.flush=function(e,r){var i=this._writableState;if(("function"==typeof e||void 0===e&&!r)&&(r=e,e=m.Z_FULL_FLUSH),i.ended)r&&t.nextTick(r);else if(i.ending)r&&this.once("end",r);else if(i.needDrain){var a=this;this.once("drain",function(){a.flush(r)})}else this._flushFlag=e,this.write(new n(0),"",r)},h.prototype.close=function(e){if(e&&t.nextTick(e),!this._closed){this._closed=!0,this._binding.close();var r=this;t.nextTick(function(){r.emit("close")})}},h.prototype._transform=function(e,t,r){var i,a=this._writableState,o=(a.ending||a.ended)&&(!e||a.length===e.length);if(null===!e&&!n.isBuffer(e))return r(new Error("invalid input"));o?i=m.Z_FINISH:(i=this._flushFlag,e.length>=a.length&&(this._flushFlag=this._opts.flush||m.Z_NO_FLUSH));this._processChunk(e,i,r)},h.prototype._processChunk=function(e,t,r){function i(l,h){if(!c._hadError){var d=o-h;if(v(d>=0,"have should not go down"),d>0){var m=c._buffer.slice(c._offset,c._offset+d);c._offset+=d,u?c.push(m):(f.push(m),p+=m.length)}if((0===h||c._offset>=c._chunkSize)&&(o=c._chunkSize,c._offset=0,c._buffer=new n(c._chunkSize)),0===h){if(s+=a-l,a=l,!u)return!0;var g=c._binding.write(t,e,s,a,c._buffer,c._offset,c._chunkSize);return g.callback=i,void(g.buffer=e)}if(!u)return!1;r()}}var a=e&&e.length,o=this._chunkSize-this._offset,s=0,c=this,u="function"==typeof r;if(!u){var l,f=[],p=0;this.on("error",function(e){l=e});do{var h=this._binding.writeSync(t,e,s,a,this._buffer,this._offset,o)}while(!this._hadError&&i(h[0],h[1]));if(this._hadError)throw l;var d=n.concat(f,p);return this.close(),d}var m=this._binding.write(t,e,s,a,this._buffer,this._offset,o);m.buffer=e,m.callback=i},g.inherits(o,h),g.inherits(s,h),g.inherits(c,h),g.inherits(u,h),g.inherits(l,h),g.inherits(f,h),g.inherits(p,h)}).call(this,e("_process"),e("buffer").Buffer)},{"./binding":149,_process:346,_stream_transform:383,assert:77,buffer:153,util:458}],151:[function(e,t,r){arguments[4][122][0].apply(r,arguments)},{dup:122}],152:[function(e,t,r){(function(e){t.exports=function(t,r){for(var n=Math.min(t.length,r.length),i=new e(n),a=0;a<n;++a)i[a]=t[a]^r[a];return i}}).call(this,e("buffer").Buffer)},{buffer:153}],153:[function(e,t,r){(function(t){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
"use strict";function n(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return a.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=a.prototype:(null===e&&(e=new a(t)),e.length=t),e}function a(e,t,r){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(this,e)}return o(this,e,t,r)}function o(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?p(e,t,r,n):"string"==typeof t?l(e,t,r):h(e,t)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function c(e,t,r,n){return s(t),t<=0?i(e,t):void 0!==r?"string"==typeof n?i(e,t).fill(r,n):i(e,t).fill(r):i(e,t)}function u(e,t){if(s(t),e=i(e,t<0?0:0|d(t)),!a.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function l(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!a.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|m(t,r),o=(e=i(e,n)).write(t,r);return o!==n&&(e=e.slice(0,o)),e}function f(e,t){var r=t.length<0?0:0|d(t.length);e=i(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function p(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),a.TYPED_ARRAY_SUPPORT?(e=t).__proto__=a.prototype:e=f(e,t),e}function h(e,t){if(a.isBuffer(t)){var r=0|d(t.length);return 0===(e=i(e,r)).length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||G(t.length)?i(e,0):f(e,t);if("Buffer"===t.type&&W(t.data))return f(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function d(e){if(e>=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function m(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(e).length;default:if(n)return $(e).length;t=(""+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,r);case"utf8":case"utf-8":return A(this,t,r);case"ascii":return I(this,t,r);case"latin1":case"binary":return O(this,t,r);case"base64":return E(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){function a(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,s=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,c/=2,r/=2}var u;if(i){var l=-1;for(u=r;u<s;u++)if(a(e,u)===a(t,-1===l?0:u-l)){if(-1===l&&(l=u),u-l+1===c)return l*o}else-1!==l&&(u-=u-l),l=-1}else for(r+c>s&&(r=s-c),u=r;u>=0;u--){for(var f=!0,p=0;p<c;p++)if(a(e,u+p)!==a(t,p)){f=!1;break}if(f)return u}return-1}function _(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[r+o]=s}return o}function x(e,t,r,n){return Q($(t,e.length-r),e,r,n)}function k(e,t,r,n){return Q(H(t),e,r,n)}function w(e,t,r,n){return k(e,t,r,n)}function j(e,t,r,n){return Q(K(t),e,r,n)}function S(e,t,r,n){return Q(V(t,e.length-r),e,r,n)}function E(e,t,r){return 0===t&&r===e.length?Z.fromByteArray(e):Z.fromByteArray(e.slice(t,r))}function A(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a=e[i],o=null,s=a>239?4:a>223?3:a>191?2:1;if(i+s<=r){var c,u,l,f;switch(s){case 1:a<128&&(o=a);break;case 2:128==(192&(c=e[i+1]))&&(f=(31&a)<<6|63&c)>127&&(o=f);break;case 3:c=e[i+1],u=e[i+2],128==(192&c)&&128==(192&u)&&(f=(15&a)<<12|(63&c)<<6|63&u)>2047&&(f<55296||f>57343)&&(o=f);break;case 4:c=e[i+1],u=e[i+2],l=e[i+3],128==(192&c)&&128==(192&u)&&128==(192&l)&&(f=(15&a)<<18|(63&c)<<12|(63&u)<<6|63&l)>65535&&f<1114112&&(o=f)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return F(n)}function F(e){var t=e.length;if(t<=X)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=X));return r}function I(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function O(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function P(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=U(e[a]);return i}function T(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function C(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function z(e,t,r,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function R(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i<a;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function B(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i<a;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function D(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function q(e,t,r,n,i){return i||D(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(e,t,r,n,23,4),r+4}function M(e,t,r,n,i){return i||D(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(e,t,r,n,52,8),r+8}function L(e){if((e=N(e).replace(Y,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function N(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function $(e,t){t=t||1/0;for(var r,n=e.length,i=null,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function H(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function V(e,t){for(var r,n,i,a=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i=r%256,a.push(i),a.push(n);return a}function K(e){return Z.toByteArray(L(e))}function Q(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function G(e){return e!==e}var Z=e("base64-js"),J=e("ieee754"),W=e("isarray");r.Buffer=a,r.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},r.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),r.kMaxLength=n(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,r){return o(null,e,t,r)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,r){return c(null,e,t,r)},a.allocUnsafe=function(e){return u(null,e)},a.allocUnsafeSlow=function(e){return u(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},a.isEncoding=function(e){switch(String(e).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!0;default:return!1}},a.concat=function(e,t){if(!W(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=a.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},a.byteLength=m,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},a.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?A(this,0,e):g.apply(this,arguments)},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},a.prototype.compare=function(e,t,r,n,i){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,c=Math.min(o,s),u=this.slice(n,i),l=e.slice(t,r),f=0;f<c;++f)if(u[f]!==l[f]){o=u[f],s=l[f];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return b(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return b(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return _(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":return k(this,e,t,r);case"latin1":case"binary":return w(this,e,t,r);case"base64":return j(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var X=4096;a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n;if(a.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=a.prototype;else{var i=t-e;n=new a(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},a.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||C(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},a.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||C(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUInt8=function(e,t){return t||C(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||C(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||C(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||C(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||C(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*t)),a},a.prototype.readInt8=function(e,t){return t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||C(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){t||C(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||C(e,4,this.length),J.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||C(e,4,this.length),J.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||C(e,8,this.length),J.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||C(e,8,this.length),J.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){e=+e,t|=0,r|=0,n||z(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},a.prototype.writeUIntBE=function(e,t,r,n){e=+e,t|=0,r|=0,n||z(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);z(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);z(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,r){return q(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return q(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return M(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return M(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=a.isBuffer(e)?e:$(new a(e,n).toString()),c=s.length;for(o=0;o<r-t;++o)this[o+t]=s[o%c]}return this};var Y=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":81,ieee754:250,isarray:255}],154:[function(e,t,r){t.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"}},{}],155:[function(e,t,r){function n(e){this.dict=e||{}}n.prototype.set=function(e,t,r){if("object"!=typeof e){void 0===r&&(r=!0);var n=this.has(e);return!r&&n?this.dict[n]=this.dict[n]+","+t:this.dict[n||e]=t,n}for(var i in e)this.set(i,e[i],t)},n.prototype.has=function(e){for(var t=Object.keys(this.dict),e=e.toLowerCase(),r=0;r<t.length;r++)if(t[r].toLowerCase()===e)return t[r];return!1},n.prototype.get=function(e){e=e.toLowerCase();var t,r,n=this.dict;return Object.keys(n).forEach(function(i){r=i.toLowerCase(),e===r&&(t=n[i])}),t},n.prototype.swap=function(e){var t=this.has(e);if(t!==e){if(!t)throw new Error('There is no header than matches "'+e+'"');this.dict[e]=this.dict[t],delete this.dict[t]}},n.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},t.exports=function(e){return new n(e)},t.exports.httpify=function(e,t){var r=new n(t);return e.setHeader=function(e,t,n){if(void 0!==t)return r.set(e,t,n)},e.hasHeader=function(e){return r.has(e)},e.getHeader=function(e){return r.get(e)},e.removeHeader=function(e){return r.del(e)},e.headers=r.dict,r}},{}],156:[function(e,t,r){(function(r){"use strict";function n(e){this.enabled=e&&void 0!==e.enabled?e.enabled:l}function i(e){var t=function(){return a.apply(t,arguments)};return t._styles=e,t.enabled=this.enabled,t.__proto__=d,t}function a(){var e=arguments,t=e.length,r=0!==t&&String(arguments[0]);if(t>1)for(var n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||!r)return r;var i=this._styles,a=i.length,o=s.dim.open;for(!p||-1===i.indexOf("gray")&&-1===i.indexOf("grey")||(s.dim.open="");a--;){var c=s[i[a]];r=c.open+r.replace(c.closeRe,c.open)+c.close}return s.dim.open=o,r}var o=e("escape-string-regexp"),s=e("ansi-styles"),c=e("strip-ansi"),u=e("has-ansi"),l=e("supports-color"),f=Object.defineProperties,p="win32"===r.platform&&!/^xterm/i.test(r.env.TERM);p&&(s.blue.open="[94m");var h=function(){var e={};return Object.keys(s).forEach(function(t){s[t].closeRe=new RegExp(o(s[t].close),"g"),e[t]={get:function(){return i.call(this,this._styles.concat(t))}}}),e}(),d=f(function(){},h);f(n.prototype,function(){var e={};return Object.keys(h).forEach(function(t){e[t]={get:function(){return i.call(this,[t])}}}),e}()),t.exports=new n,t.exports.styles=s,t.exports.hasColor=u,t.exports.stripColor=c,t.exports.supportsColor=l}).call(this,e("_process"))},{_process:346,"ansi-styles":53,"escape-string-regexp":199,"has-ansi":228,"strip-ansi":441,"supports-color":442}],157:[function(e,t,r){function n(e){a.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}var i=e("safe-buffer").Buffer,a=e("stream").Transform,o=e("string_decoder").StringDecoder;e("inherits")(n,a),n.prototype.update=function(e,t,r){"string"==typeof e&&(e=i.from(e,t));var n=this._update(e);return this.hashMode?this:(r&&(n=this._toString(n,r)),n)},n.prototype.setAutoPadding=function(){},n.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},n.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},n.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},n.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},n.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},n.prototype._finalOrDigest=function(e){var t=this.__final()||i.alloc(0);return e&&(t=this._toString(t,e,!0)),t},n.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},t.exports=n},{inherits:252,"safe-buffer":402,stream:434,string_decoder:439}],158:[function(e,t,r){function n(e){var t=this,r=p.call(arguments,1);return new Promise(function(n,a){function o(t){var r;try{r=e.next(t)}catch(e){return a(e)}u(r)}function s(t){var r;try{r=e.throw(t)}catch(e){return a(e)}u(r)}function u(e){if(e.done)return n(e.value);var r=i.call(t,e.value);return r&&c(r)?r.then(o,s):s(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}if("function"==typeof e&&(e=e.apply(t,r)),!e||"function"!=typeof e.next)return n(e);o()})}function i(e){return e?c(e)?e:l(e)||u(e)?n.call(this,e):"function"==typeof e?a.call(this,e):Array.isArray(e)?o.call(this,e):f(e)?s.call(this,e):e:e}function a(e){var t=this;return new Promise(function(r,n){e.call(t,function(e,t){if(e)return n(e);arguments.length>2&&(t=p.call(arguments,1)),r(t)})})}function o(e){return Promise.all(e.map(i,this))}function s(e){for(var t=new e.constructor,r=Object.keys(e),n=[],a=0;a<r.length;a++){var o=r[a],s=i.call(this,e[o]);s&&c(s)?function(e,r){t[r]=void 0,n.push(e.then(function(e){t[r]=e}))}(s,o):t[o]=e[o]}return Promise.all(n).then(function(){return t})}function c(e){return"function"==typeof e.then}function u(e){return"function"==typeof e.next&&"function"==typeof e.throw}function l(e){var t=e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName||u(t.prototype))}function f(e){return Object==e.constructor}var p=Array.prototype.slice;t.exports=n.default=n.co=n,n.wrap=function(e){function t(){return n.call(this,e.apply(this,arguments))}return t.__generatorFunction__=e,t}},{}],159:[function(e,t,r){(function(r){function n(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null}var i=e("util"),a=e("stream").Stream,o=e("delayed-stream");t.exports=n,i.inherits(n,a),n.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t},n.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!r.isBuffer(e)},n.prototype.append=function(e){if(n.isStreamLike(e)){if(!(e instanceof o)){var t=o.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},n.prototype.pipe=function(e,t){return a.prototype.pipe.call(this,e,t),this.resume(),e},n.prototype._getNext=function(){this._currentStream=null;var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){n.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},n.prototype._pipeNext=function(e){if(this._currentStream=e,n.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},n.prototype._handleErrors=function(e){var t=this;e.on("error",function(e){t._emitError(e)})},n.prototype.write=function(e){this.emit("data",e)},n.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},n.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},n.prototype.end=function(){this._reset(),this.emit("end")},n.prototype.destroy=function(){this._reset(),this.emit("close")},n.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},n.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},n.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},n.prototype._emitError=function(e){this._reset(),this.emit("error",e)}}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":253,"delayed-stream":168,stream:434,util:458}],160:[function(e,t,r){(function(e){function t(e){return Object.prototype.toString.call(e)}r.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===t(e)},r.isBoolean=function(e){return"boolean"==typeof e},r.isNull=function(e){return null===e},r.isNullOrUndefined=function(e){return null==e},r.isNumber=function(e){return"number"==typeof e},r.isString=function(e){return"string"==typeof e},r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=function(e){return void 0===e},r.isRegExp=function(e){return"[object RegExp]"===t(e)},r.isObject=function(e){return"object"==typeof e&&null!==e},r.isDate=function(e){return"[object Date]"===t(e)},r.isError=function(e){return"[object Error]"===t(e)||e instanceof Error},r.isFunction=function(e){return"function"==typeof e},r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":253}],161:[function(e,t,r){(function(r){function n(e){this.curveType=s[e],this.curveType||(this.curveType={name:e}),this.curve=new a.ec(this.curveType.name),this.keys=void 0}function i(e,t,n){Array.isArray(e)||(e=e.toArray());var i=new r(e);if(n&&i.length<n){var a=new r(n-i.length);a.fill(0),i=r.concat([a,i])}return t?i.toString(t):i}var a=e("elliptic"),o=e("bn.js");t.exports=function(e){return new n(e)};var s={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};s.p224=s.secp224r1,s.p256=s.secp256r1=s.prime256v1,s.p192=s.secp192r1=s.prime192v1,s.p384=s.secp384r1,s.p521=s.secp521r1,n.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},n.prototype.computeSecret=function(e,t,n){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),i(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},n.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),i(r,e)},n.prototype.getPrivateKey=function(e){return i(this.keys.getPrivate(),e)},n.prototype.setPublicKey=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.keys._importPublic(e),this},n.prototype.setPrivateKey=function(e,t){t=t||"utf8",r.isBuffer(e)||(e=new r(e,t));var n=new o(e);return n=n.toString(16),this.keys._importPrivate(n),this}}).call(this,e("buffer").Buffer)},{"bn.js":120,buffer:153,elliptic:182}],162:[function(e,t,r){(function(r){"use strict";function n(e){u.call(this,"digest"),this._hash=e,this.buffers=[]}function i(e){u.call(this,"digest"),this._hash=e}var a=e("inherits"),o=e("./md5"),s=e("ripemd160"),c=e("sha.js"),u=e("cipher-base");a(n,u),n.prototype._update=function(e){this.buffers.push(e)},n.prototype._final=function(){var e=r.concat(this.buffers),t=this._hash(e);return this.buffers=null,t},a(i,u),i.prototype._update=function(e){this._hash.update(e)},i.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return"md5"===(e=e.toLowerCase())?new n(o):new i("rmd160"===e||"ripemd160"===e?new s:c(e))}}).call(this,e("buffer").Buffer)},{"./md5":164,buffer:153,"cipher-base":157,inherits:252,ripemd160:401,"sha.js":404}],163:[function(e,t,r){(function(e){"use strict";function r(t){if(t.length%n!=0){var r=t.length+(n-t.length%n);t=e.concat([t,i],r)}for(var a=new Array(t.length>>>2),o=0,s=0;o<t.length;o+=n,s++)a[s]=t.readInt32LE(o);return a}var n=4,i=new e(n);i.fill(0);t.exports=function(t,n){var i=n(r(t),8*t.length);t=new e(16);for(var a=0;a<i.length;a++)t.writeInt32LE(i[a],a<<2,!0);return t}}).call(this,e("buffer").Buffer)},{buffer:153}],164:[function(e,t,r){"use strict";function n(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var r=1732584193,n=-271733879,i=-1732584194,l=271733878,f=0;f<e.length;f+=16){var p=r,h=n,d=i,m=l;n=c(n=c(n=c(n=c(n=s(n=s(n=s(n=s(n=o(n=o(n=o(n=o(n=a(n=a(n=a(n=a(n,i=a(i,l=a(l,r=a(r,n,i,l,e[f+0],7,-680876936),n,i,e[f+1],12,-389564586),r,n,e[f+2],17,606105819),l,r,e[f+3],22,-1044525330),i=a(i,l=a(l,r=a(r,n,i,l,e[f+4],7,-176418897),n,i,e[f+5],12,1200080426),r,n,e[f+6],17,-1473231341),l,r,e[f+7],22,-45705983),i=a(i,l=a(l,r=a(r,n,i,l,e[f+8],7,1770035416),n,i,e[f+9],12,-1958414417),r,n,e[f+10],17,-42063),l,r,e[f+11],22,-1990404162),i=a(i,l=a(l,r=a(r,n,i,l,e[f+12],7,1804603682),n,i,e[f+13],12,-40341101),r,n,e[f+14],17,-1502002290),l,r,e[f+15],22,1236535329),i=o(i,l=o(l,r=o(r,n,i,l,e[f+1],5,-165796510),n,i,e[f+6],9,-1069501632),r,n,e[f+11],14,643717713),l,r,e[f+0],20,-373897302),i=o(i,l=o(l,r=o(r,n,i,l,e[f+5],5,-701558691),n,i,e[f+10],9,38016083),r,n,e[f+15],14,-660478335),l,r,e[f+4],20,-405537848),i=o(i,l=o(l,r=o(r,n,i,l,e[f+9],5,568446438),n,i,e[f+14],9,-1019803690),r,n,e[f+3],14,-187363961),l,r,e[f+8],20,1163531501),i=o(i,l=o(l,r=o(r,n,i,l,e[f+13],5,-1444681467),n,i,e[f+2],9,-51403784),r,n,e[f+7],14,1735328473),l,r,e[f+12],20,-1926607734),i=s(i,l=s(l,r=s(r,n,i,l,e[f+5],4,-378558),n,i,e[f+8],11,-2022574463),r,n,e[f+11],16,1839030562),l,r,e[f+14],23,-35309556),i=s(i,l=s(l,r=s(r,n,i,l,e[f+1],4,-1530992060),n,i,e[f+4],11,1272893353),r,n,e[f+7],16,-155497632),l,r,e[f+10],23,-1094730640),i=s(i,l=s(l,r=s(r,n,i,l,e[f+13],4,681279174),n,i,e[f+0],11,-358537222),r,n,e[f+3],16,-722521979),l,r,e[f+6],23,76029189),i=s(i,l=s(l,r=s(r,n,i,l,e[f+9],4,-640364487),n,i,e[f+12],11,-421815835),r,n,e[f+15],16,530742520),l,r,e[f+2],23,-995338651),i=c(i,l=c(l,r=c(r,n,i,l,e[f+0],6,-198630844),n,i,e[f+7],10,1126891415),r,n,e[f+14],15,-1416354905),l,r,e[f+5],21,-57434055),i=c(i,l=c(l,r=c(r,n,i,l,e[f+12],6,1700485571),n,i,e[f+3],10,-1894986606),r,n,e[f+10],15,-1051523),l,r,e[f+1],21,-2054922799),i=c(i,l=c(l,r=c(r,n,i,l,e[f+8],6,1873313359),n,i,e[f+15],10,-30611744),r,n,e[f+6],15,-1560198380),l,r,e[f+13],21,1309151649),i=c(i,l=c(l,r=c(r,n,i,l,e[f+4],6,-145523070),n,i,e[f+11],10,-1120210379),r,n,e[f+2],15,718787259),l,r,e[f+9],21,-343485551),r=u(r,p),n=u(n,h),i=u(i,d),l=u(l,m)}return[r,n,i,l]}function i(e,t,r,n,i,a){return u(l(u(u(t,e),u(n,a)),i),r)}function a(e,t,r,n,a,o,s){return i(t&r|~t&n,e,t,a,o,s)}function o(e,t,r,n,a,o,s){return i(t&n|r&~n,e,t,a,o,s)}function s(e,t,r,n,a,o,s){return i(t^r^n,e,t,a,o,s)}function c(e,t,r,n,a,o,s){return i(r^(t|~n),e,t,a,o,s)}function u(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function l(e,t){return e<<t|e>>>32-t}var f=e("./make-hash");t.exports=function(e){return f(e,n)}},{"./make-hash":163}],165:[function(e,t,r){"use strict";function n(e,t){o.call(this,"digest"),"string"==typeof t&&(t=s.from(t));var r="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>r?t=("rmd160"===e?new u:l(e)).update(t).digest():t.length<r&&(t=s.concat([t,f],r));for(var n=this._ipad=s.allocUnsafe(r),i=this._opad=s.allocUnsafe(r),a=0;a<r;a++)n[a]=54^t[a],i[a]=92^t[a];this._hash="rmd160"===e?new u:l(e),this._hash.update(n)}var i=e("inherits"),a=e("./legacy"),o=e("cipher-base"),s=e("safe-buffer").Buffer,c=e("create-hash/md5"),u=e("ripemd160"),l=e("sha.js"),f=s.alloc(128);i(n,o),n.prototype._update=function(e){this._hash.update(e)},n.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new u:l(this._alg)).update(this._opad).update(e).digest()},t.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new n("rmd160",t):"md5"===e?new a(c,t):new n(e,t)}},{"./legacy":166,"cipher-base":157,"create-hash/md5":164,inherits:252,ripemd160:401,"safe-buffer":402,"sha.js":404}],166:[function(e,t,r){"use strict";function n(e,t){o.call(this,"digest"),"string"==typeof t&&(t=a.from(t)),this._alg=e,this._key=t,t.length>c?t=e(t):t.length<c&&(t=a.concat([t,s],c));for(var r=this._ipad=a.allocUnsafe(c),n=this._opad=a.allocUnsafe(c),i=0;i<c;i++)r[i]=54^t[i],n[i]=92^t[i];this._hash=[r]}var i=e("inherits"),a=e("safe-buffer").Buffer,o=e("cipher-base"),s=a.alloc(128),c=64;i(n,o),n.prototype._update=function(e){this._hash.push(e)},n.prototype._final=function(){var e=this._alg(a.concat(this._hash));return this._alg(a.concat([this._opad,e]))},t.exports=n},{"cipher-base":157,inherits:252,"safe-buffer":402}],167:[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var n=e("browserify-sign/algos"),i=Object.keys(n),a=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);r.getHashes=function(){return a};var o=e("pbkdf2");r.pbkdf2=o.pbkdf2,r.pbkdf2Sync=o.pbkdf2Sync;var s=e("browserify-cipher");r.Cipher=s.Cipher,r.createCipher=s.createCipher,r.Cipheriv=s.Cipheriv,r.createCipheriv=s.createCipheriv,r.Decipher=s.Decipher,r.createDecipher=s.createDecipher,r.Decipheriv=s.Decipheriv,r.createDecipheriv=s.createDecipheriv,r.getCiphers=s.getCiphers,r.listCiphers=s.listCiphers;var c=e("diffie-hellman");r.DiffieHellmanGroup=c.DiffieHellmanGroup,r.createDiffieHellmanGroup=c.createDiffieHellmanGroup,r.getDiffieHellman=c.getDiffieHellman,r.createDiffieHellman=c.createDiffieHellman,r.DiffieHellman=c.DiffieHellman;var u=e("browserify-sign");r.createSign=u.createSign,r.Sign=u.Sign,r.createVerify=u.createVerify,r.Verify=u.Verify,r.createECDH=e("create-ecdh");var l=e("public-encrypt");r.publicEncrypt=l.publicEncrypt,r.privateEncrypt=l.privateEncrypt,r.publicDecrypt=l.publicDecrypt,r.privateDecrypt=l.privateDecrypt,r.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},r.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":139,"browserify-sign":146,"browserify-sign/algos":143,"create-ecdh":161,"create-hash":162,"create-hmac":165,"diffie-hellman":175,pbkdf2:339,"public-encrypt":355,randombytes:370}],168:[function(e,t,r){function n(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}var i=e("stream").Stream,a=e("util");t.exports=n,a.inherits(n,i),n.create=function(e,t){var r=new this;t=t||{};for(var n in t)r[n]=t[n];r.source=e;var i=e.emit;return e.emit=function(){return r._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r},Object.defineProperty(n.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),n.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},n.prototype.resume=function(){this._released||this.release(),this.source.resume()},n.prototype.pause=function(){this.source.pause()},n.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},n.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);return this.resume(),e},n.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},n.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},{stream:434,util:458}],169:[function(e,t,r){"use strict";r.utils=e("./des/utils"),r.Cipher=e("./des/cipher"),r.DES=e("./des/des"),r.CBC=e("./des/cbc"),r.EDE=e("./des/ede")},{"./des/cbc":170,"./des/cipher":171,"./des/des":172,"./des/ede":173,"./des/utils":174}],170:[function(e,t,r){"use strict";function n(e){i.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}var i=e("minimalistic-assert"),a=e("inherits"),o={};r.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}a(t,e);for(var r=Object.keys(o),n=0;n<r.length;n++){var i=r[n];t.prototype[i]=o[i]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new n(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var i=this._cbcState,a=this.constructor.super_.prototype,o=i.iv;if("encrypt"===this.type){for(s=0;s<this.blockSize;s++)o[s]^=e[t+s];a._update.call(this,o,0,r,n);for(s=0;s<this.blockSize;s++)o[s]=r[n+s]}else{a._update.call(this,e,t,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=o[s];for(var s=0;s<this.blockSize;s++)o[s]=e[t+s]}}},{inherits:252,"minimalistic-assert":311}],171:[function(e,t,r){"use strict";function n(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}var i=e("minimalistic-assert");t.exports=n,n.prototype._init=function(){},n.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},n.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},n.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},n.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var a=e.length-(e.length-t)%this.blockSize;t<a;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},n.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},n.prototype.final=function(e){var t;e&&(t=this.update(e));var r;return r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},n.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},n.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},n.prototype._unpad=function(e){return e},n.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":311}],172:[function(e,t,r){"use strict";function n(){this.tmp=new Array(2),this.keys=null}function i(e){u.call(this,e);var t=new n;this._desState=t,this.deriveKeys(t,e.key)}var a=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),c=s.utils,u=s.Cipher;o(i,u),t.exports=i,i.create=function(e){return new i(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];i.prototype.deriveKeys=function(e,t){e.keys=new Array(32),a.equal(t.length,this.blockSize,"Invalid key length");var r=c.readUInt32BE(t,0),n=c.readUInt32BE(t,4);c.pc1(r,n,e.tmp,0),r=e.tmp[0],n=e.tmp[1];for(var i=0;i<e.keys.length;i+=2){var o=l[i>>>1];r=c.r28shl(r,o),n=c.r28shl(n,o),c.pc2(r,n,e.keys,i)}},i.prototype._update=function(e,t,r,n){var i=this._desState,a=c.readUInt32BE(e,t),o=c.readUInt32BE(e,t+4);c.ip(a,o,i.tmp,0),a=i.tmp[0],o=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,o,i.tmp,0):this._decrypt(i,a,o,i.tmp,0),a=i.tmp[0],o=i.tmp[1],c.writeUInt32BE(r,a,n),c.writeUInt32BE(r,o,n+4)},i.prototype._pad=function(e,t){for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},i.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)a.equal(e[r],t);return e.slice(0,e.length-t)},i.prototype._encrypt=function(e,t,r,n,i){for(var a=t,o=r,s=0;s<e.keys.length;s+=2){var u=e.keys[s],l=e.keys[s+1];c.expand(o,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var f=c.substitute(u,l),p=o;o=(a^c.permute(f))>>>0,a=p}c.rip(o,a,n,i)},i.prototype._decrypt=function(e,t,r,n,i){for(var a=r,o=t,s=e.keys.length-2;s>=0;s-=2){var u=e.keys[s],l=e.keys[s+1];c.expand(a,e.tmp,0),u^=e.tmp[0],l^=e.tmp[1];var f=c.substitute(u,l),p=a;a=(o^c.permute(f))>>>0,o=p}c.rip(a,o,n,i)}},{"../des":169,inherits:252,"minimalistic-assert":311}],173:[function(e,t,r){"use strict";function n(e,t){a.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),n=t.slice(8,16),i=t.slice(16,24);this.ciphers="encrypt"===e?[u.create({type:"encrypt",key:r}),u.create({type:"decrypt",key:n}),u.create({type:"encrypt",key:i})]:[u.create({type:"decrypt",key:i}),u.create({type:"encrypt",key:n}),u.create({type:"decrypt",key:r})]}function i(e){c.call(this,e);var t=new n(this.type,this.options.key);this._edeState=t}var a=e("minimalistic-assert"),o=e("inherits"),s=e("../des"),c=s.Cipher,u=s.DES;o(i,c),t.exports=i,i.create=function(e){return new i(e)},i.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},i.prototype._pad=u.prototype._pad,i.prototype._unpad=u.prototype._unpad},{"../des":169,inherits:252,"minimalistic-assert":311}],174:[function(e,t,r){"use strict";r.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,n){for(var i=0,a=0,o=6;o>=0;o-=2){for(s=0;s<=24;s+=8)i<<=1,i|=t>>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+o&1}for(o=6;o>=0;o-=2){for(s=1;s<=25;s+=8)a<<=1,a|=t>>>s+o&1;for(var s=1;s<=25;s+=8)a<<=1,a|=e>>>s+o&1}r[n+0]=i>>>0,r[n+1]=a>>>0},r.rip=function(e,t,r,n){for(var i=0,a=0,o=0;o<4;o++)for(s=24;s>=0;s-=8)i<<=1,i|=t>>>s+o&1,i<<=1,i|=e>>>s+o&1;for(o=4;o<8;o++)for(var s=24;s>=0;s-=8)a<<=1,a|=t>>>s+o&1,a<<=1,a|=e>>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},r.pc1=function(e,t,r,n){for(var i=0,a=0,o=7;o>=5;o--){for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+o&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+o&1;for(o=1;o<=3;o++){for(s=0;s<=24;s+=8)a<<=1,a|=t>>s+o&1;for(s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1}for(var s=0;s<=24;s+=8)a<<=1,a|=e>>s+o&1;r[n+0]=i>>>0,r[n+1]=a>>>0},r.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,i){for(var a=0,o=0,s=n.length>>>1,c=0;c<s;c++)a<<=1,a|=e>>>n[c]&1;for(c=s;c<n.length;c++)o<<=1,o|=t>>>n[c]&1;r[i+0]=a>>>0,r[i+1]=o>>>0},r.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(a=23;a>=15;a-=4)n<<=6,n|=e>>>a&63;for(var a=11;a>=3;a-=4)i|=e>>>a&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,n=0;n<4;n++)r<<=4,r|=o=i[64*n+(a=e>>>18-6*n&63)];for(n=0;n<4;n++){var a=t>>>18-6*n&63,o=i[256+64*n+a];r<<=4,r|=o}return r>>>0};var a=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r<a.length;r++)t<<=1,t|=e>>>a[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],a=0;a<t;a+=r)i.push(n.slice(a,a+r));return i.join(" ")}},{}],175:[function(e,t,r){(function(t){function n(e,r,a,c){return t.isBuffer(r)||void 0===s[r]?n(e,"binary",r,a):(r=r||"binary",c=c||"binary",a=a||new t([2]),t.isBuffer(a)||(a=new t(a,c)),"number"==typeof e?new o(i(e,a),a,!0):(t.isBuffer(e)||(e=new t(e,r)),new o(e,a,!0)))}var i=e("./lib/generatePrime"),a=e("./lib/primes.json"),o=e("./lib/dh"),s={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=function(e){var r=new t(a[e].prime,"hex"),n=new t(a[e].gen,"hex");return new o(r,n)},r.createDiffieHellman=r.DiffieHellman=n}).call(this,e("buffer").Buffer)},{"./lib/dh":176,"./lib/generatePrime":177,"./lib/primes.json":178,buffer:153}],176:[function(e,t,r){(function(r){function n(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._pub=new c(e),this}function i(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._priv=new c(e),this}function a(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in v)return v[n];var i=0;if(e.isEven()||!m.simpleSieve||!m.fermatTest(e)||!u.test(e))return i+=1,i+="02"===r||"05"===r?8:4,v[n]=i,i;u.test(e.shrn(1))||(i+=2);var a;switch(r){case"02":e.mod(l).cmp(f)&&(i+=8);break;case"05":(a=e.mod(p)).cmp(h)&&a.cmp(d)&&(i+=8);break;default:i+=4}return v[n]=i,i}function o(e,t,r){this.setGenerator(t),this.__prime=new c(e),this._prime=c.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=n,this.setPrivateKey=i):this._primeCode=8}function s(e,t){var n=new r(e.toArray());return t?n.toString(t):n}var c=e("bn.js"),u=new(e("miller-rabin")),l=new c(24),f=new c(11),p=new c(10),h=new c(3),d=new c(7),m=e("./generatePrime"),g=e("randombytes");t.exports=o;var v={};Object.defineProperty(o.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=a(this.__prime,this.__gen)),this._primeCode}}),o.prototype.generateKeys=function(){return this._priv||(this._priv=new c(g(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},o.prototype.computeSecret=function(e){var t=(e=(e=new c(e)).toRed(this._prime)).redPow(this._priv).fromRed(),n=new r(t.toArray()),i=this.getPrime();if(n.length<i.length){var a=new r(i.length-n.length);a.fill(0),n=r.concat([a,n])}return n},o.prototype.getPublicKey=function(e){return s(this._pub,e)},o.prototype.getPrivateKey=function(e){return s(this._priv,e)},o.prototype.getPrime=function(e){return s(this.__prime,e)},o.prototype.getGenerator=function(e){return s(this._gen,e)},o.prototype.setGenerator=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.__gen=e,this._gen=new c(e),this}}).call(this,e("buffer").Buffer)},{"./generatePrime":177,"bn.js":120,buffer:153,"miller-rabin":307,randombytes:370}],177:[function(e,t,r){function n(){if(null!==b)return b;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!=0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return b=e,e}function i(e){for(var t=n(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function a(e){var t=c.mont(e);return 0===p.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function o(e,t){if(e<16)return new c(2===t||5===t?[140,123]:[140,39]);t=new c(t);for(var r,n;;){for(r=new c(s(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(f),r.testn(1)||r.iadd(p),t.cmp(p)){if(!t.cmp(h))for(;r.mod(d).cmp(m);)r.iadd(v)}else for(;r.mod(u).cmp(g);)r.iadd(v);if(n=r.shrn(1),i(n)&&i(r)&&a(n)&&a(r)&&l.test(n)&&l.test(r))return r}}var s=e("randombytes");t.exports=o,o.simpleSieve=i,o.fermatTest=a;var c=e("bn.js"),u=new c(24),l=new(e("miller-rabin")),f=new c(1),p=new c(2),h=new c(5),d=(new c(16),new c(8),new c(10)),m=new c(3),g=(new c(7),new c(11)),v=new c(4),b=(new c(12),null)},{"bn.js":120,"miller-rabin":307,randombytes:370}],178:[function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],179:[function(e,t,r){(function(t){function n(e,t){return e.length>=t?e:n("0"+e,t)}var i=e("crypto"),a=e("jsbn").BigInteger;e("./lib/ec.js").ECPointFp;r.ECCurves=e("./lib/sec.js"),r.ECKey=function(e,r,o){var s,c=e(),u=c.getN(),l=Math.floor(u.bitLength()/8);if(r)if(o){var e=c.getCurve();this.P=e.decodePointHex(r.toString("hex"))}else{if(r.length!=l)return!1;s=new a(r.toString("hex"),16)}else{var f=u.subtract(a.ONE),p=new a(i.randomBytes(u.bitLength()));s=p.mod(f).add(a.ONE),this.P=c.getG().multiply(s)}this.P&&(this.PublicKey=new t(c.getCurve().encodeCompressedPointHex(this.P),"hex")),s&&(this.PrivateKey=new t(n(s.toString(16),2*l),"hex"),this.deriveSharedSecret=function(e){if(!e||!e.P)return!1;var r=e.P.multiply(s);return new t(n(r.getX().toBigInteger().toString(16),2*l),"hex")})}}).call(this,e("buffer").Buffer)},{"./lib/ec.js":180,"./lib/sec.js":181,buffer:153,crypto:167,jsbn:257}],180:[function(e,t,r){function n(e,t){this.x=t,this.q=e}function i(e,t,r,n){this.curve=e,this.x=t,this.y=r,this.z=null==n?o.ONE:n,this.zinv=null}function a(e,t,r){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(r),this.infinity=new i(this,null,null),this.reducer=new s(this.q)}var o=e("jsbn").BigInteger,s=o.prototype.Barrett;n.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)},n.prototype.toBigInteger=function(){return this.x},n.prototype.negate=function(){return new n(this.q,this.x.negate().mod(this.q))},n.prototype.add=function(e){return new n(this.q,this.x.add(e.toBigInteger()).mod(this.q))},n.prototype.subtract=function(e){return new n(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))},n.prototype.multiply=function(e){return new n(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))},n.prototype.square=function(){return new n(this.q,this.x.square().mod(this.q))},n.prototype.divide=function(e){return new n(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))},i.prototype.getX=function(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)},i.prototype.getY=function(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)},i.prototype.equals=function(e){if(e==this)return!0;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();return!!e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(o.ZERO)&&e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(o.ZERO)},i.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(o.ZERO)&&!this.y.toBigInteger().equals(o.ZERO)},i.prototype.negate=function(){return new i(this.curve,this.x,this.y.negate(),this.z)},i.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),r=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(o.ZERO.equals(r))return o.ZERO.equals(t)?this.twice():this.curve.getInfinity();var n=new o("3"),a=this.x.toBigInteger(),s=this.y.toBigInteger(),c=(e.x.toBigInteger(),e.y.toBigInteger(),r.square()),u=c.multiply(r),l=a.multiply(c),f=t.square().multiply(this.z),p=f.subtract(l.shiftLeft(1)).multiply(e.z).subtract(u).multiply(r).mod(this.curve.q),h=l.multiply(n).multiply(t).subtract(s.multiply(u)).subtract(f.multiply(t)).multiply(e.z).add(t.multiply(u)).mod(this.curve.q),d=u.multiply(this.z).multiply(e.z).mod(this.curve.q);return new i(this.curve,this.curve.fromBigInteger(p),this.curve.fromBigInteger(h),d)},i.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new o("3"),t=this.x.toBigInteger(),r=this.y.toBigInteger(),n=r.multiply(this.z),a=n.multiply(r).mod(this.curve.q),s=this.curve.a.toBigInteger(),c=t.square().multiply(e);o.ZERO.equals(s)||(c=c.add(this.z.square().multiply(s)));var u=(c=c.mod(this.curve.q)).square().subtract(t.shiftLeft(3).multiply(a)).shiftLeft(1).multiply(n).mod(this.curve.q),l=c.multiply(e).multiply(t).subtract(a.shiftLeft(1)).shiftLeft(2).multiply(a).subtract(c.square().multiply(c)).mod(this.curve.q),f=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new i(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(l),f)},i.prototype.multiply=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,r=e,n=r.multiply(new o("3")),i=this.negate(),a=this;for(t=n.bitLength()-2;t>0;--t){a=a.twice();var s=n.testBit(t);s!=r.testBit(t)&&(a=a.add(s?this:i))}return a},i.prototype.multiplyTwo=function(e,t,r){var n;n=e.bitLength()>r.bitLength()?e.bitLength()-1:r.bitLength()-1;for(var i=this.curve.getInfinity(),a=this.add(t);n>=0;)i=i.twice(),e.testBit(n)?i=r.testBit(n)?i.add(a):i.add(this):r.testBit(n)&&(i=i.add(t)),--n;return i},a.prototype.getQ=function(){return this.q},a.prototype.getA=function(){return this.a},a.prototype.getB=function(){return this.b},a.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},a.prototype.getInfinity=function(){return this.infinity},a.prototype.fromBigInteger=function(e){return new n(this.q,e)},a.prototype.reduce=function(e){this.reducer.reduce(e)},a.prototype.encodePointHex=function(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16),r=e.getY().toBigInteger().toString(16),n=this.getQ().toString(16).length;for(n%2!=0&&n++;t.length<n;)t="0"+t;for(;r.length<n;)r="0"+r;return"04"+t+r},a.prototype.decodePointHex=function(e){var t;switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:t=!1;case 3:void 0==t&&(t=!0);var r=e.length-2,n=e.substr(2,r),a=this.fromBigInteger(new o(n,16)),s=a.multiply(a.square().add(this.getA())).add(this.getB()).sqrt();if(null==s)throw"Invalid point compression";var c=s.toBigInteger();return c.testBit(0)!=t&&(s=this.fromBigInteger(this.getQ().subtract(c))),new i(this,a,s);case 4:case 6:case 7:var r=(e.length-2)/2,n=e.substr(2,r),u=e.substr(r+2,r);return new i(this,this.fromBigInteger(new o(n,16)),this.fromBigInteger(new o(u,16)));default:return null}},a.prototype.encodeCompressedPointHex=function(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16),r=this.getQ().toString(16).length;for(r%2!=0&&r++;t.length<r;)t="0"+t;return(e.getY().toBigInteger().isEven()?"02":"03")+t},n.prototype.getR=function(){if(void 0!=this.r)return this.r;this.r=null;var e=this.q.bitLength();return e>128&&-1==this.q.shiftRight(e-64).intValue()&&(this.r=o.ONE.shiftLeft(e).subtract(this.q)),this.r},n.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},n.prototype.modReduce=function(e){if(null!=this.getR()){for(var t=q.bitLength();e.bitLength()>t+1;){var r=e.shiftRight(t),n=e.subtract(r.shiftLeft(t));this.getR().equals(o.ONE)||(r=r.multiply(this.getR())),e=r.add(n)}for(;e.compareTo(q)>=0;)e=e.subtract(q)}else e=e.mod(q);return e},n.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var e=new n(this.q,this.x.modPow(this.q.shiftRight(2).add(o.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(o.ONE),r=t.shiftRight(1);if(!this.x.modPow(r,this.q).equals(o.ONE))return null;var i,a,s=t.shiftRight(2).shiftLeft(1).add(o.ONE),c=this.x,u=modDouble(modDouble(c));do{var l;do{l=new o(this.q.bitLength(),new SecureRandom)}while(l.compareTo(this.q)>=0||!l.multiply(l).subtract(u).modPow(r,this.q).equals(t));var f=this.lucasSequence(l,c,s);if(i=f[0],a=f[1],this.modMult(a,a).equals(u))return a.testBit(0)&&(a=a.add(q)),a=a.shiftRight(1),new n(q,a)}while(i.equals(o.ONE)||i.equals(t));return null},n.prototype.lucasSequence=function(e,t,r){for(var n=r.bitLength(),i=r.getLowestSetBit(),a=o.ONE,s=o.TWO,c=e,u=o.ONE,l=o.ONE,f=n-1;f>=i+1;--f)u=this.modMult(u,l),r.testBit(f)?(l=this.modMult(u,t),a=this.modMult(a,c),s=this.modReduce(c.multiply(s).subtract(e.multiply(u))),c=this.modReduce(c.multiply(c).subtract(l.shiftLeft(1)))):(l=u,a=this.modReduce(a.multiply(s).subtract(u)),c=this.modReduce(c.multiply(s).subtract(e.multiply(u))),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1))));u=this.modMult(u,l),l=this.modMult(u,t),a=this.modReduce(a.multiply(s).subtract(u)),s=this.modReduce(c.multiply(s).subtract(e.multiply(u))),u=this.modMult(u,l);for(f=1;f<=i;++f)a=this.modMult(a,s),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1))),u=this.modMult(u,u);return[a,s]};var r={ECCurveFp:a,ECPointFp:i,ECFieldElementFp:n};t.exports=r},{jsbn:257}],181:[function(e,t,r){function n(e,t,r,n){this.curve=e,this.g=t,this.n=r,this.h=n}function i(e){return new p(e,16)}function a(){var e=i("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF"),t=i("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC"),r=i("E87579C11079F43DD824993C2CEE5ED3"),a=i("FFFFFFFE0000000075A30D1B9038A115"),o=p.ONE,s=new h(e,t,r);return new n(s,s.decodePointHex("04161FF7528B899B2D0C28607CA52C5B86CF5AC8395BAFEB13C02DA292DDED7A83"),a,o)}function o(){var e=i("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73"),t=p.ZERO,r=i("7"),a=i("0100000000000000000001B8FA16DFAB9ACA16B6B3"),o=p.ONE,s=new h(e,t,r);return new n(s,s.decodePointHex("043B4C382CE37AA192A4019E763036F4F5DD4D7EBB938CF935318FDCED6BC28286531733C3F03C4FEE"),a,o)}function s(){var e=i("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF"),t=i("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC"),r=i("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45"),a=i("0100000000000000000001F4C8F927AED3CA752257"),o=p.ONE,s=new h(e,t,r);return new n(s,s.decodePointHex("044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB32"),a,o)}function c(){var e=i("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37"),t=p.ZERO,r=i("3"),a=i("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D"),o=p.ONE,s=new h(e,t,r);return new n(s,s.decodePointHex("04DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D"),a,o)}function u(){var e=i("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF"),t=i("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC"),r=i("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1"),a=i("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831"),o=p.ONE,s=new h(e,t,r);return new n(s,s.decodePointHex("04188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF101207192B95FFC8DA78631011ED6B24CDD573F977A11E794811"),a,o)}function l(){var e=i("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001"),t=i("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE"),r=i("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4"),a=i("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D"),o=p.ONE,s=new h(e,t,r);return new n(s,s.decodePointHex("04B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34"),a,o)}function f(){var e=i("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF"),t=i("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC"),r=i("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B"),a=i("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551"),o=p.ONE,s=new h(e,t,r);return new n(s,s.decodePointHex("046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5"),a,o)}var p=e("jsbn").BigInteger,h=e("./ec.js").ECCurveFp;n.prototype.getCurve=function(){return this.curve},n.prototype.getG=function(){return this.g},n.prototype.getN=function(){return this.n},n.prototype.getH=function(){return this.h},t.exports={secp128r1:a,secp160k1:o,secp160r1:s,secp192k1:c,secp192r1:u,secp224r1:l,secp256r1:f}},{"./ec.js":180,jsbn:257}],182:[function(e,t,r){"use strict";var n=r;n.version=e("../package.json").version,n.utils=e("./elliptic/utils"),n.rand=e("brorand"),n.curve=e("./elliptic/curve"),n.curves=e("./elliptic/curves"),n.ec=e("./elliptic/ec"),n.eddsa=e("./elliptic/eddsa")},{"../package.json":197,"./elliptic/curve":185,"./elliptic/curves":188,"./elliptic/ec":189,"./elliptic/eddsa":192,"./elliptic/utils":196,brorand:121}],183:[function(e,t,r){"use strict";function n(e,t){this.type=e,this.p=new a(t.p,16),this.red=t.prime?a.red(t.prime):a.mont(this.p),this.zero=new a(0).toRed(this.red),this.one=new a(1).toRed(this.red),this.two=new a(2).toRed(this.red),this.n=t.n&&new a(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function i(e,t){this.curve=e,this.type=t,this.precomputed=null}var a=e("bn.js"),o=e("../../elliptic").utils,s=o.getNAF,c=o.getJSF,u=o.assert;t.exports=n,n.prototype.point=function(){throw new Error("Not implemented")},n.prototype.validate=function(){throw new Error("Not implemented")},n.prototype._fixedNafMul=function(e,t){u(e.precomputed);var r=e._getDoubles(),n=s(t,1),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;for(var a=[],o=0;o<n.length;o+=r.step){for(var c=0,t=o+r.step-1;t>=o;t--)c=(c<<1)+n[t];a.push(c)}for(var l=this.jpoint(null,null,null),f=this.jpoint(null,null,null),p=i;p>0;p--){for(o=0;o<a.length;o++)(c=a[o])===p?f=f.mixedAdd(r.points[o]):c===-p&&(f=f.mixedAdd(r.points[o].neg()));l=l.add(f)}return l.toP()},n.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=s(t,r),o=this.jpoint(null,null,null),c=a.length-1;c>=0;c--){for(var t=0;c>=0&&0===a[c];c--)t++;if(c>=0&&t++,o=o.dblp(t),c<0)break;var l=a[c];u(0!==l),o="affine"===e.type?l>0?o.mixedAdd(i[l-1>>1]):o.mixedAdd(i[-l-1>>1].neg()):l>0?o.add(i[l-1>>1]):o.add(i[-l-1>>1].neg())}return"affine"===e.type?o.toP():o},n.prototype._wnafMulAdd=function(e,t,r,n,i){for(var a=this._wnafT1,o=this._wnafT2,u=this._wnafT3,l=0,f=0;f<n;f++){var p=(S=t[f])._getNAFPoints(e);a[f]=p.wnd,o[f]=p.points}for(f=n-1;f>=1;f-=2){var h=f-1,d=f;if(1===a[h]&&1===a[d]){var m=[t[h],null,null,t[d]];0===t[h].y.cmp(t[d].y)?(m[1]=t[h].add(t[d]),m[2]=t[h].toJ().mixedAdd(t[d].neg())):0===t[h].y.cmp(t[d].y.redNeg())?(m[1]=t[h].toJ().mixedAdd(t[d]),m[2]=t[h].add(t[d].neg())):(m[1]=t[h].toJ().mixedAdd(t[d]),m[2]=t[h].toJ().mixedAdd(t[d].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],v=c(r[h],r[d]);l=Math.max(v[0].length,l),u[h]=new Array(l),u[d]=new Array(l);for(j=0;j<l;j++){var b=0|v[0][j],y=0|v[1][j];u[h][j]=g[3*(b+1)+(y+1)],u[d][j]=0,o[h]=m}}else u[h]=s(r[h],a[h]),u[d]=s(r[d],a[d]),l=Math.max(u[h].length,l),l=Math.max(u[d].length,l)}for(var _=this.jpoint(null,null,null),x=this._wnafT4,f=l;f>=0;f--){for(var k=0;f>=0;){for(var w=!0,j=0;j<n;j++)x[j]=0|u[j][f],0!==x[j]&&(w=!1);if(!w)break;k++,f--}if(f>=0&&k++,_=_.dblp(k),f<0)break;for(j=0;j<n;j++){var S,E=x[j];0!==E&&(E>0?S=o[j][E-1>>1]:E<0&&(S=o[j][-E-1>>1].neg()),_="affine"===S.type?_.mixedAdd(S):_.add(S))}}for(f=0;f<n;f++)o[f]=null;return i?_:_.toP()},n.BasePoint=i,i.prototype.eq=function(){throw new Error("Not implemented")},i.prototype.validate=function(){return this.curve.validate(this)},n.prototype.decodePoint=function(e,t){e=o.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?u(e[e.length-1]%2==0):7===e[0]&&u(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},i.prototype.encodeCompressed=function(e){return this.encode(e,!0)},i.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},i.prototype.encode=function(e,t){return o.encode(this._encode(t),e)},i.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},i.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},i.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var a=0;a<e;a++)n=n.dbl();r.push(n)}return{step:e,points:r}},i.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},i.prototype._getBeta=function(){return null},i.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},{"../../elliptic":182,"bn.js":120}],184:[function(e,t,r){"use strict";function n(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,u.call(this,"edwards",e),this.a=new s(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new s(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new s(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function i(e,t,r,n,i){u.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new s(t,16),this.y=new s(r,16),this.z=n?new s(n,16):this.curve.one,this.t=i&&new s(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}var a=e("../curve"),o=e("../../elliptic"),s=e("bn.js"),c=e("inherits"),u=a.base,l=o.utils.assert;c(n,u),t.exports=n,n.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},n.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},n.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},n.prototype.pointFromX=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),i=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(i.redInvm()),o=a.redSqrt();if(0!==o.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=o.fromRed().isOdd();return(t&&!c||!t&&c)&&(o=o.redNeg()),this.point(e,o)},n.prototype.pointFromY=function(e,t){(e=new s(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.one),i=r.redMul(this.d).redAdd(this.one),a=n.redMul(i.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var o=a.redSqrt();if(0!==o.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return o.isOdd()!==t&&(o=o.redNeg()),this.point(o,e)},n.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},c(i,u.BasePoint),n.prototype.pointFromJSON=function(e){return i.fromJSON(this,e)},n.prototype.point=function(e,t,r,n){return new i(this,e,t,r,n)},i.fromJSON=function(e,t){return new i(e,t[0],t[1],t[2])},i.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},i.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},i.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),a=n.redAdd(t),o=a.redSub(r),s=n.redSub(t),c=i.redMul(o),u=a.redMul(s),l=i.redMul(s),f=o.redMul(a);return this.curve.point(c,u,f,l)},i.prototype._projDbl=function(){var e,t,r,n=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),a=this.y.redSqr();if(this.curve.twisted){var o=(u=this.curve._mulA(i)).redAdd(a);if(this.zOne)e=n.redSub(i).redSub(a).redMul(o.redSub(this.curve.two)),t=o.redMul(u.redSub(a)),r=o.redSqr().redSub(o).redSub(o);else{var s=this.z.redSqr(),c=o.redSub(s).redISub(s);e=n.redSub(i).redISub(a).redMul(c),t=o.redMul(u.redSub(a)),r=o.redMul(c)}}else{var u=i.redAdd(a),s=this.curve._mulC(this.c.redMul(this.z)).redSqr(),c=u.redSub(s).redSub(s);e=this.curve._mulC(n.redISub(u)).redMul(c),t=this.curve._mulC(u).redMul(i.redISub(a)),r=u.redMul(c)}return this.curve.point(e,t,r)},i.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},i.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),a=r.redSub(t),o=i.redSub(n),s=i.redAdd(n),c=r.redAdd(t),u=a.redMul(o),l=s.redMul(c),f=a.redMul(c),p=o.redMul(s);return this.curve.point(u,l,p,f)},i.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),a=this.x.redMul(e.x),o=this.y.redMul(e.y),s=this.curve.d.redMul(a).redMul(o),c=i.redSub(s),u=i.redAdd(s),l=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(a).redISub(o),f=n.redMul(c).redMul(l);return this.curve.twisted?(t=n.redMul(u).redMul(o.redSub(this.curve._mulA(a))),r=c.redMul(u)):(t=n.redMul(u).redMul(o.redSub(a)),r=this.curve._mulC(c).redMul(u)),this.curve.point(f,t,r)},i.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},i.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},i.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},i.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},i.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},i.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},i.prototype.getX=function(){return this.normalize(),this.x.fromRed()},i.prototype.getY=function(){return this.normalize(),this.y.fromRed()},i.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},i.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}return!1},i.prototype.toP=i.prototype.normalize,i.prototype.mixedAdd=i.prototype.add},{"../../elliptic":182,"../curve":185,"bn.js":120,inherits:252}],185:[function(e,t,r){"use strict";var n=r;n.base=e("./base"),n.short=e("./short"),n.mont=e("./mont"),n.edwards=e("./edwards")},{"./base":183,"./edwards":184,"./mont":186,"./short":187}],186:[function(e,t,r){"use strict";function n(e){c.call(this,"mont",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.i4=new o(4).toRed(this.red).redInvm(),this.two=new o(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function i(e,t,r){c.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new o(t,16),this.z=new o(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}var a=e("../curve"),o=e("bn.js"),s=e("inherits"),c=a.base,u=e("../../elliptic").utils;s(n,c),t.exports=n,n.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},s(i,c.BasePoint),n.prototype.decodePoint=function(e,t){return this.point(u.toArray(e,t),1)},n.prototype.point=function(e,t){return new i(this,e,t)},n.prototype.pointFromJSON=function(e){return i.fromJSON(this,e)},i.prototype.precompute=function(){},i.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},i.fromJSON=function(e,t){return new i(e,t[0],t[1]||e.one)},i.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},i.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},i.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},i.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},i.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),a=e.x.redSub(e.z).redMul(r),o=i.redMul(n),s=t.z.redMul(a.redAdd(o).redSqr()),c=t.x.redMul(a.redISub(o).redSqr());return this.curve.point(s,c)},i.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=this,a=[];0!==t.cmpn(0);t.iushrn(1))a.push(t.andln(1));for(var o=a.length-1;o>=0;o--)0===a[o]?(r=r.diffAdd(n,i),n=n.dbl()):(n=r.diffAdd(n,i),r=r.dbl());return n},i.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},i.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},i.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},i.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},i.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../../elliptic":182,"../curve":185,"bn.js":120,inherits:252}],187:[function(e,t,r){"use strict";function n(e){l.call(this,"short",e),this.a=new c(e.a,16).toRed(this.red),this.b=new c(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function i(e,t,r,n){l.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new c(t,16),this.y=new c(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function a(e,t,r,n){l.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new c(0)):(this.x=new c(t,16),this.y=new c(r,16),this.z=new c(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}var o=e("../curve"),s=e("../../elliptic"),c=e("bn.js"),u=e("inherits"),l=o.base,f=s.utils.assert;u(n,l),t.exports=n,n.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new c(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new c(e.lambda,16);else{var i=this._getEndoRoots(this.n);0===this.g.mul(i[0]).x.cmp(this.g.x.redMul(t))?r=i[0]:(r=i[1],f(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}var a;return a=e.basis?e.basis.map(function(e){return{a:new c(e.a,16),b:new c(e.b,16)}}):this._getEndoBasis(r),{beta:t,lambda:r,basis:a}}},n.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:c.mont(e),r=new c(2).toRed(t).redInvm(),n=r.redNeg(),i=new c(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(i).fromRed(),n.redSub(i).fromRed()]},n.prototype._getEndoBasis=function(e){for(var t,r,n,i,a,o,s,u,l,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),p=e,h=this.n.clone(),d=new c(1),m=new c(0),g=new c(0),v=new c(1),b=0;0!==p.cmpn(0);){var y=h.div(p);u=h.sub(y.mul(p)),l=g.sub(y.mul(d));var _=v.sub(y.mul(m));if(!n&&u.cmp(f)<0)t=s.neg(),r=d,n=u.neg(),i=l;else if(n&&2==++b)break;s=u,h=p,p=u,g=d,d=l,v=m,m=_}a=u.neg(),o=l;var x=n.sqr().add(i.sqr());return a.sqr().add(o.sqr()).cmp(x)>=0&&(a=t,o=r),n.negative&&(n=n.neg(),i=i.neg()),a.negative&&(a=a.neg(),o=o.neg()),[{a:n,b:i},{a:a,b:o}]},n.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=i.mul(r.a),s=a.mul(n.a),c=i.mul(r.b),u=a.mul(n.b);return{k1:e.sub(o).sub(s),k2:c.add(u).neg()}},n.prototype.pointFromX=function(e,t){(e=new c(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(t&&!i||!t&&i)&&(n=n.redNeg()),this.point(e,n)},n.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},n.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,a=0;a<e.length;a++){var o=this._endoSplit(t[a]),s=e[a],c=s._getBeta();o.k1.negative&&(o.k1.ineg(),s=s.neg(!0)),o.k2.negative&&(o.k2.ineg(),c=c.neg(!0)),n[2*a]=s,n[2*a+1]=c,i[2*a]=o.k1,i[2*a+1]=o.k2}for(var u=this._wnafMulAdd(1,n,i,2*a,r),l=0;l<2*a;l++)n[l]=null,i[l]=null;return u},u(i,l.BasePoint),n.prototype.point=function(e,t,r){return new i(this,e,t,r)},n.prototype.pointFromJSON=function(e,t){return i.fromJSON(this,e,t)},i.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},i.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},i.fromJSON=function(e,t,r){function n(t){return e.point(t[0],t[1],r)}"string"==typeof t&&(t=JSON.parse(t));var i=e.point(t[0],t[1],r);if(!t[2])return i;var a=t[2];return i.precomputed={beta:null,doubles:a.doubles&&{step:a.doubles.step,points:[i].concat(a.doubles.points.map(n))},naf:a.naf&&{wnd:a.naf.wnd,points:[i].concat(a.naf.points.map(n))}},i},i.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},i.prototype.isInfinity=function(){return this.inf},i.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},i.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},i.prototype.getX=function(){return this.x.fromRed()},i.prototype.getY=function(){return this.y.fromRed()},i.prototype.mul=function(e){return e=new c(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},i.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},i.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},i.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},i.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},i.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},u(a,l.BasePoint),n.prototype.jpoint=function(e,t,r){return new a(this,e,t,r)},a.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},a.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},a.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),c=a.redSub(o);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),f=n.redMul(u),p=c.redSqr().redIAdd(l).redISub(f).redISub(f),h=c.redMul(f.redISub(p)).redISub(a.redMul(l)),d=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(p,h,d)},a.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),u=c.redMul(o),l=r.redMul(c),f=s.redSqr().redIAdd(u).redISub(l).redISub(l),p=s.redMul(l.redISub(f)).redISub(i.redMul(u)),h=this.z.redMul(o);return this.curve.jpoint(f,p,h)},a.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}for(var n=this.curve.a,i=this.curve.tinv,a=this.x,o=this.y,s=this.z,c=s.redSqr().redSqr(),u=o.redAdd(o),r=0;r<e;r++){var l=a.redSqr(),f=u.redSqr(),p=f.redSqr(),h=l.redAdd(l).redIAdd(l).redIAdd(n.redMul(c)),d=a.redMul(f),m=h.redSqr().redISub(d.redAdd(d)),g=d.redISub(m),v=h.redMul(g);v=v.redIAdd(v).redISub(p);var b=u.redMul(s);r+1<e&&(c=c.redMul(p)),a=m,s=b,u=v}return this.curve.jpoint(a,u.redMul(i),s)},a.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},a.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(n).redISub(a);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n),c=s.redSqr().redISub(o).redISub(o),u=a.redIAdd(a);u=(u=u.redIAdd(u)).redIAdd(u),e=c,t=s.redMul(o.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.x.redSqr(),f=this.y.redSqr(),p=f.redSqr(),h=this.x.redAdd(f).redSqr().redISub(l).redISub(p);h=h.redIAdd(h);var d=l.redAdd(l).redIAdd(l),m=d.redSqr(),g=p.redIAdd(p);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(h).redISub(h),t=d.redMul(h.redISub(e)).redISub(g),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},a.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),a=i.redSqr(),o=this.x.redAdd(i).redSqr().redISub(n).redISub(a);o=o.redIAdd(o);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=s.redSqr().redISub(o).redISub(o);e=c;var u=a.redIAdd(a);u=(u=u.redIAdd(u)).redIAdd(u),t=s.redMul(o.redISub(c)).redISub(u),r=this.y.redAdd(this.y)}else{var l=this.z.redSqr(),f=this.y.redSqr(),p=this.x.redMul(f),h=this.x.redSub(l).redMul(this.x.redAdd(l));h=h.redAdd(h).redIAdd(h);var d=p.redIAdd(p),m=(d=d.redIAdd(d)).redAdd(d);e=h.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(f).redISub(l);var g=f.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=h.redMul(d.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,r)},a.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),a=t.redSqr(),o=r.redSqr(),s=a.redAdd(a).redIAdd(a).redIAdd(e.redMul(i)),c=t.redAdd(t),u=(c=c.redIAdd(c)).redMul(o),l=s.redSqr().redISub(u.redAdd(u)),f=u.redISub(l),p=o.redSqr();p=(p=(p=p.redIAdd(p)).redIAdd(p)).redIAdd(p);var h=s.redMul(f).redISub(p),d=r.redAdd(r).redMul(n);return this.curve.jpoint(l,h,d)},a.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),a=i.redSqr(),o=this.x.redAdd(t).redSqr().redISub(e).redISub(n),s=(o=(o=(o=o.redIAdd(o)).redAdd(o).redIAdd(o)).redISub(a)).redSqr(),c=n.redIAdd(n);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var u=i.redIAdd(o).redSqr().redISub(a).redISub(s).redISub(c),l=t.redMul(u);l=(l=l.redIAdd(l)).redIAdd(l);var f=this.x.redMul(s).redISub(l);f=(f=f.redIAdd(f)).redIAdd(f);var p=this.y.redMul(u.redMul(c.redISub(u)).redISub(o.redMul(s)));p=(p=(p=p.redIAdd(p)).redIAdd(p)).redIAdd(p);var h=this.z.redAdd(o).redSqr().redISub(r).redISub(s);return this.curve.jpoint(f,p,h)},a.prototype.mul=function(e,t){return e=new c(e,t),this.curve._wnafMul(this,e)},a.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)},a.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}return!1},a.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},a.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":182,"../curve":185,"bn.js":120,inherits:252}],188:[function(e,t,r){"use strict";function n(e){"short"===e.type?this.curve=new s.curve.short(e):"edwards"===e.type?this.curve=new s.curve.edwards(e):this.curve=new s.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,c(this.g.validate(),"Invalid curve"),c(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function i(e,t){Object.defineProperty(a,e,{configurable:!0,enumerable:!0,get:function(){var r=new n(t);return Object.defineProperty(a,e,{configurable:!0,enumerable:!0,value:r}),r}})}var a=r,o=e("hash.js"),s=e("../elliptic"),c=s.utils.assert;a.PresetCurve=n,i("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),i("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),i("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),i("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),i("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),i("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),i("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var u;try{u=e("./precomputed/secp256k1")}catch(e){u=void 0}i("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",u]})},{"../elliptic":182,"./precomputed/secp256k1":195,"hash.js":230}],189:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);"string"==typeof e&&(s(o.curves.hasOwnProperty(e),"Unknown curve "+e),e=o.curves[e]),e instanceof o.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var i=e("bn.js"),a=e("hmac-drbg"),o=e("../../elliptic"),s=o.utils.assert,c=e("./key"),u=e("./signature");t.exports=n,n.prototype.keyPair=function(e){return new c(this,e)},n.prototype.keyFromPrivate=function(e,t){return c.fromPrivate(this,e,t)},n.prototype.keyFromPublic=function(e,t){return c.fromPublic(this,e,t)},n.prototype.genKeyPair=function(e){e||(e={});for(var t=new a({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||o.rand(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new i(2));;){var s=new i(t.generate(r));if(!(s.cmp(n)>0))return s.iaddn(1),this.keyFromPrivate(s)}},n.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},n.prototype.sign=function(e,t,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new i(e,16));for(var o=this.n.byteLength(),s=t.getPrivate().toArray("be",o),c=e.toArray("be",o),l=new a({hash:this.hash,entropy:s,nonce:c,pers:n.pers,persEnc:n.persEnc||"utf8"}),f=this.n.sub(new i(1)),p=0;!0;p++){var h=n.k?n.k(p):new i(l.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(f)>=0)){var d=this.g.mul(h);if(!d.isInfinity()){var m=d.getX(),g=m.umod(this.n);if(0!==g.cmpn(0)){var v=h.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var b=(d.getY().isOdd()?1:0)|(0!==m.cmp(g)?2:0);return n.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),b^=1),new u({r:g,s:v,recoveryParam:b})}}}}}},n.prototype.verify=function(e,t,r,n){e=this._truncateToN(new i(e,16)),r=this.keyFromPublic(r,n);var a=(t=new u(t,"hex")).r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s=o.invm(this.n),c=s.mul(e).umod(this.n),l=s.mul(a).umod(this.n);if(!this.curve._maxwellTrick)return!(f=this.g.mulAdd(c,r.getPublic(),l)).isInfinity()&&0===f.getX().umod(this.n).cmp(a);var f=this.g.jmulAdd(c,r.getPublic(),l);return!f.isInfinity()&&f.eqXToP(a)},n.prototype.recoverPubKey=function(e,t,r,n){s((3&r)===r,"The recovery param is more than two bits"),t=new u(t,n);var a=this.n,o=new i(e),c=t.r,l=t.s,f=1&r,p=r>>1;if(c.cmp(this.curve.p.umod(this.curve.n))>=0&&p)throw new Error("Unable to find sencond key candinate");c=p?this.curve.pointFromX(c.add(this.curve.n),f):this.curve.pointFromX(c,f);var h=t.r.invm(a),d=a.sub(o).mul(h).umod(a),m=l.mul(h).umod(a);return this.g.mulAdd(d,c,m)},n.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new u(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":182,"./key":190,"./signature":191,"bn.js":120,"hmac-drbg":243}],190:[function(e,t,r){"use strict";function n(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}var i=e("bn.js"),a=e("../../elliptic").utils.assert;t.exports=n,n.fromPublic=function(e,t,r){return t instanceof n?t:new n(e,{pub:t,pubEnc:r})},n.fromPrivate=function(e,t,r){return t instanceof n?t:new n(e,{priv:t,privEnc:r})},n.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},n.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},n.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},n.prototype._importPrivate=function(e,t){this.priv=new i(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},n.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?a(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||a(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},n.prototype.derive=function(e){return e.mul(this.priv).getX()},n.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},n.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},n.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../../elliptic":182,"bn.js":120}],191:[function(e,t,r){"use strict";function n(e,t){if(e instanceof n)return e;this._importDER(e,t)||(l(e.r&&e.s,"Signature without r or s"),this.r=new c(e.r,16),this.s=new c(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function i(){this.place=0}function a(e,t){var r=e[t.place++];if(!(128&r))return r;for(var n=15&r,i=0,a=0,o=t.place;a<n;a++,o++)i<<=8,i|=e[o];return t.place=o,i}function o(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function s(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}var c=e("bn.js"),u=e("../../elliptic").utils,l=u.assert;t.exports=n,n.prototype._importDER=function(e,t){e=u.toArray(e,t);var r=new i;if(48!==e[r.place++])return!1;if(a(e,r)+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var n=a(e,r),o=e.slice(r.place,n+r.place);if(r.place+=n,2!==e[r.place++])return!1;var s=a(e,r);if(e.length!==s+r.place)return!1;var l=e.slice(r.place,s+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===l[0]&&128&l[1]&&(l=l.slice(1)),this.r=new c(o),this.s=new c(l),this.recoveryParam=null,!0},n.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=o(t),r=o(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];s(n,t.length),(n=n.concat(t)).push(2),s(n,r.length);var i=n.concat(r),a=[48];return s(a,i.length),a=a.concat(i),u.encode(a,e)}},{"../../elliptic":182,"bn.js":120}],192:[function(e,t,r){"use strict";function n(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof n))return new n(e);var e=a.curves[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=i.sha512}var i=e("hash.js"),a=e("../../elliptic"),o=a.utils,s=o.assert,c=o.parseBytes,u=e("./key"),l=e("./signature");t.exports=n,n.prototype.sign=function(e,t){e=c(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),a=this.encodePoint(i),o=this.hashInt(a,r.pubBytes(),e).mul(r.priv()),s=n.add(o).umod(this.curve.n);return this.makeSignature({R:i,S:s,Rencoded:a})},n.prototype.verify=function(e,t,r){e=c(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),a=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(a)},n.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},n.prototype.keyFromPublic=function(e){return u.fromPublic(this,e)},n.prototype.keyFromSecret=function(e){return u.fromSecret(this,e)},n.prototype.makeSignature=function(e){return e instanceof l?e:new l(this,e)},n.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},n.prototype.decodePoint=function(e){var t=(e=o.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},n.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},n.prototype.decodeInt=function(e){return o.intFromLE(e)},n.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../../elliptic":182,"./key":193,"./signature":194,"hash.js":230}],193:[function(e,t,r){"use strict";function n(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}var i=e("../../elliptic").utils,a=i.assert,o=i.parseBytes,s=i.cachedProperty;n.fromPublic=function(e,t){return t instanceof n?t:new n(e,{pub:t})},n.fromSecret=function(e,t){return t instanceof n?t:new n(e,{secret:t})},n.prototype.secret=function(){return this._secret},s(n,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),s(n,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),s(n,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),s(n,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),s(n,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),s(n,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),n.prototype.sign=function(e){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},n.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},n.prototype.getSecret=function(e){return a(this._secret,"KeyPair is public only"),i.encode(this.secret(),e)},n.prototype.getPublic=function(e){return i.encode(this.pubBytes(),e)},t.exports=n},{"../../elliptic":182}],194:[function(e,t,r){"use strict";function n(e,t){this.eddsa=e,"object"!=typeof t&&(t=c(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof i&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}var i=e("bn.js"),a=e("../../elliptic").utils,o=a.assert,s=a.cachedProperty,c=a.parseBytes;s(n,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),s(n,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),s(n,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),s(n,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),n.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},n.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},t.exports=n},{"../../elliptic":182,"bn.js":120}],195:[function(e,t,r){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},{}],196:[function(e,t,r){"use strict";var n=r,i=e("bn.js"),a=e("minimalistic-assert"),o=e("minimalistic-crypto-utils");n.assert=a,n.toArray=o.toArray,n.zero2=o.zero2,n.toHex=o.toHex,n.encode=o.encode,n.getNAF=function(e,t){for(var r=[],n=1<<t+1,i=e.clone();i.cmpn(1)>=0;){var a;if(i.isOdd()){var o=i.andln(n-1);a=o>(n>>1)-1?(n>>1)-o:o,i.isubn(a)}else a=0;r.push(a);for(var s=0!==i.cmpn(0)&&0===i.andln(n-1)?t+1:1,c=1;c<s;c++)r.push(0);i.iushrn(s)}return r},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n=0,i=0;e.cmpn(-n)>0||t.cmpn(-i)>0;){var a=e.andln(3)+n&3,o=t.andln(3)+i&3;3===a&&(a=-1),3===o&&(o=-1);var s;s=0==(1&a)?0:3!=(u=e.andln(7)+n&7)&&5!==u||2!==o?a:-a,r[0].push(s);var c;if(0==(1&o))c=0;else{var u=t.andln(7)+i&7;c=3!==u&&5!==u||2!==a?o:-o}r[1].push(c),2*n===s+1&&(n=1-n),2*i===c+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},{"bn.js":120,"minimalistic-assert":311,"minimalistic-crypto-utils":312}],197:[function(e,t,r){t.exports={_args:[[{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},"/home/eric/checkouts/shexSpec/shex.js/node_modules/browserify-sign"]],_from:"elliptic@>=6.0.0 <7.0.0",_id:"elliptic@6.4.0",_inCache:!0,_location:"/elliptic",_nodeVersion:"7.0.0",_npmOperationalInternal:{host:"packages-18-east.internal.npmjs.com",tmp:"tmp/elliptic-6.4.0.tgz_1487798866428_0.30510620190761983"},_npmUser:{name:"indutny",email:"fedor@indutny.com"},_npmVersion:"3.10.8",_phantomChildren:{},_requested:{raw:"elliptic@^6.0.0",scope:null,escapedName:"elliptic",name:"elliptic",rawSpec:"^6.0.0",spec:">=6.0.0 <7.0.0",type:"range"},_requiredBy:["/browserify-sign","/create-ecdh"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz",_shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",_shrinkwrap:null,_spec:"elliptic@^6.0.0",_where:"/home/eric/checkouts/shexSpec/shex.js/node_modules/browserify-sign",author:{name:"Fedor Indutny",email:"fedor@indutny.com"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"cac9af8762c85836187003c8dfe193e5e2eae5df",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz"},files:["lib"],gitHead:"6b0d2b76caae91471649c8e21f0b1d3ba0f96090",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{name:"indutny",email:"fedor@indutny.com"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://git@github.com/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.4.0"}},{}],198:[function(e,t,r){(function(r,n){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
* @version 2.3.0
*/
(function(){"use strict";function i(e){return"function"==typeof e||"object"==typeof e&&null!==e}function a(e){return"function"==typeof e}function o(e){return"object"==typeof e&&null!==e}function s(){return function(){C(u)}}function c(){return function(){setTimeout(u,1)}}function u(){for(var e=0;e<D;e+=2)(0,H[e])(H[e+1]),H[e]=void 0,H[e+1]=void 0;D=0}function l(){}function f(){return new TypeError("You cannot resolve a promise with itself")}function p(){return new TypeError("A promises callback cannot return that same promise.")}function h(e){try{return e.then}catch(e){return G.error=e,G}}function d(e,t,r,n){try{e.call(t,r,n)}catch(e){return e}}function m(e,t,r){q(function(e){var n=!1,i=d(r,t,function(r){n||(n=!0,t!==r?b(e,r):_(e,r))},function(t){n||(n=!0,x(e,t))},"Settle: "+(e._label||" unknown promise"));!n&&i&&(n=!0,x(e,i))},e)}function g(e,t){t._state===K?_(e,t._result):t._state===Q?x(e,t._result):k(t,void 0,function(t){b(e,t)},function(t){x(e,t)})}function v(e,t){if(t.constructor===e.constructor)g(e,t);else{var r=h(t);r===G?x(e,G.error):void 0===r?_(e,t):a(r)?m(e,t,r):_(e,t)}}function b(e,t){e===t?x(e,f()):i(t)?v(e,t):_(e,t)}function y(e){e._onerror&&e._onerror(e._result),w(e)}function _(e,t){e._state===V&&(e._result=t,e._state=K,0!==e._subscribers.length&&q(w,e))}function x(e,t){e._state===V&&(e._state=Q,e._result=t,q(y,e))}function k(e,t,r,n){var i=e._subscribers,a=i.length;e._onerror=null,i[a]=t,i[a+K]=r,i[a+Q]=n,0===a&&e._state&&q(w,e)}function w(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n,i,a=e._result,o=0;o<t.length;o+=3)n=t[o],i=t[o+r],n?E(r,n,i,a):i(a);e._subscribers.length=0}}function j(){this.error=null}function S(e,t){try{return e(t)}catch(e){return Z.error=e,Z}}function E(e,t,r,n){var i,o,s,c,u=a(r);if(u){if((i=S(r,n))===Z?(c=!0,o=i.error,i=null):s=!0,t===i)return void x(t,p())}else i=n,s=!0;t._state!==V||(u&&s?b(t,i):c?x(t,o):e===K?_(t,i):e===Q&&x(t,i))}function A(e,t){try{t(function(t){b(e,t)},function(t){x(e,t)})}catch(t){x(e,t)}}function F(e,t){var r=this;r._instanceConstructor=e,r.promise=new e(l),r._validateInput(t)?(r._input=t,r.length=t.length,r._remaining=t.length,r._init(),0===r.length?_(r.promise,r._result):(r.length=r.length||0,r._enumerate(),0===r._remaining&&_(r.promise,r._result))):x(r.promise,r._validationError())}function I(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function O(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function P(e){this._id=W++,this._state=void 0,this._result=void 0,this._subscribers=[],l!==e&&(a(e)||I(),this instanceof P||O(),A(this,e))}var T,C,z,R,B=T=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},D=0,q=function(e,t){H[D]=e,H[D+1]=t,2===(D+=2)&&(z?z(u):R())},M="undefined"!=typeof window?window:void 0,L=M||{},N=L.MutationObserver||L.WebKitMutationObserver,U=void 0!==r&&"[object process]"==={}.toString.call(r),$="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,H=new Array(1e3);R=U?function(){var e=r.nextTick,t=r.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/);return Array.isArray(t)&&"0"===t[1]&&"10"===t[2]&&(e=setImmediate),function(){e(u)}}():N?function(){var e=0,t=new N(u),r=document.createTextNode("");return t.observe(r,{characterData:!0}),function(){r.data=e=++e%2}}():$?function(){var e=new MessageChannel;return e.port1.onmessage=u,function(){e.port2.postMessage(0)}}():void 0===M&&"function"==typeof e?function(){try{var t=e("vertx");return C=t.runOnLoop||t.runOnContext,s()}catch(e){return c()}}():c();var V=void 0,K=1,Q=2,G=new j,Z=new j;F.prototype._validateInput=function(e){return B(e)},F.prototype._validationError=function(){return new Error("Array Methods must be provided an Array")},F.prototype._init=function(){this._result=new Array(this.length)};var J=F;F.prototype._enumerate=function(){for(var e=this,t=e.length,r=e.promise,n=e._input,i=0;r._state===V&&i<t;i++)e._eachEntry(n[i],i)},F.prototype._eachEntry=function(e,t){var r=this,n=r._instanceConstructor;o(e)?e.constructor===n&&e._state!==V?(e._onerror=null,r._settledAt(e._state,t,e._result)):r._willSettleAt(n.resolve(e),t):(r._remaining--,r._result[t]=e)},F.prototype._settledAt=function(e,t,r){var n=this,i=n.promise;i._state===V&&(n._remaining--,e===Q?x(i,r):n._result[t]=r),0===n._remaining&&_(i,n._result)},F.prototype._willSettleAt=function(e,t){var r=this;k(e,void 0,function(e){r._settledAt(K,t,e)},function(e){r._settledAt(Q,t,e)})};var W=0,X=P;P.all=function(e){return new J(this,e).promise},P.race=function(e){var t=this,r=new t(l);if(!B(e))return x(r,new TypeError("You must pass an array to race.")),r;for(var n=e.length,i=0;r._state===V&&i<n;i++)k(t.resolve(e[i]),void 0,function(e){b(r,e)},function(e){x(r,e)});return r},P.resolve=function(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var r=new t(l);return b(r,e),r},P.reject=function(e){var t=new this(l);return x(t,e),t},P._setScheduler=function(e){z=e},P._setAsap=function(e){q=e},P._asap=q,P.prototype={constructor:P,then:function(e,t){var r=this,n=r._state;if(n===K&&!e||n===Q&&!t)return this;var i=new this.constructor(l),a=r._result;if(n){var o=arguments[n-1];q(function(){E(n,i,o,a)})}else k(r,i,e,t);return i},catch:function(e){return this.then(null,e)}};var Y=function(){var e;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;t&&"[object Promise]"===Object.prototype.toString.call(t.resolve())&&!t.cast||(e.Promise=X)},ee={Promise:X,polyfill:Y};"function"==typeof define&&define.amd?define(function(){return ee}):void 0!==t&&t.exports?t.exports=ee:void 0!==this&&(this.ES6Promise=ee),Y()}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:346}],199:[function(e,t,r){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")}},{}],200:[function(e,t,r){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function a(e){return"number"==typeof e}function o(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!a(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,a,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(r=this._events[e],s(r))return!1;if(i(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),r.apply(this,a)}else if(o(r))for(a=Array.prototype.slice.call(arguments,1),n=(u=r.slice()).length,c=0;c<n;c++)u[c].apply(this,a);return!0},n.prototype.addListener=function(e,t){var r;if(!i(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(r=s(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var n=!1;return r.listener=t,this.on(e,r),this},n.prototype.removeListener=function(e,t){var r,n,a,s;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],a=r.length,n=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(r)){for(s=a;s-- >0;)if(r[s]===t||r[s].listener&&r[s].listener===t){n=s;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},{}],201:[function(e,t,r){var n=e("safe-buffer").Buffer,i=e("md5.js");t.exports=function(e,t,r,a){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var o=r/8,s=n.alloc(o),c=n.alloc(a||0),u=n.alloc(0);o>0||a>0;){var l=new i;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var f=0;if(o>0){var p=s.length-o;f=Math.min(o,u.length),u.copy(s,p,0,f),o-=f}if(f<u.length&&a>0){var h=c.length-a,d=Math.min(a,u.length-f);u.copy(c,h,f,f+d),a-=d}}return u.fill(0),{key:s,iv:c}}},{"md5.js":305,"safe-buffer":402}],202:[function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},o=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t=n.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!r)return!1;var a;for(a in e);return void 0===a||n.call(e,a)};t.exports=function e(){var t,r,n,i,s,c,u=arguments[0],l=1,f=arguments.length,p=!1;for("boolean"==typeof u&&(p=u,u=arguments[1]||{},l=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});l<f;++l)if(null!=(t=arguments[l]))for(r in t)n=u[r],u!==(i=t[r])&&(p&&i&&(o(i)||(s=a(i)))?(s?(s=!1,c=n&&a(n)?n:[]):c=n&&o(n)?n:{},u[r]=e(p,c,i)):void 0!==i&&(u[r]=i));return u}},{}],203:[function(e,t,r){(function(t){function n(e){var t,r,n,i,u,l,f,p,h,d=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join(""),m=new RegExp(d),g=Array.prototype.slice.call(arguments,1),v="",b=1;for(s.equal("string",typeof e);null!==(h=m.exec(e));)if(v+=h[1],e=e.substring(h[0].length),t=h[2]||"",r=h[3]||0,n=h[4]||"",i=h[6],u=!1,f=!1,l=" ","%"!=i){if(0===g.length)throw new Error("too few args to sprintf");if(p=g.shift(),b++,t.match(/[\' #]/))throw new Error("unsupported flags: "+t);if(n.length>0)throw new Error("non-zero precision not supported");switch(t.match(/-/)&&(u=!0),t.match(/0/)&&(l="0"),t.match(/\+/)&&(f=!0),i){case"s":if(void 0===p||null===p)throw new Error("argument "+b+": attempted to print undefined or null as a string");v+=a(l,r,u,p.toString());break;case"d":p=Math.floor(p);case"f":v+=(f=f&&p>0?"+":"")+a(l,r,u,p.toString());break;case"x":v+=a(l,r,u,p.toString(16));break;case"j":0===r&&(r=10),v+=c.inspect(p,!1,r);break;case"r":v+=o(p);break;default:throw new Error("unsupported conversion: "+i)}}else v+="%";return v+=e}function i(e){var t=Array.prototype.slice.call(arguments,1);return e.write(n.apply(this,t))}function a(e,t,r,n){for(var i=n;i.length<t;)r?i+=e:i=e+i;return i}function o(e){var t;if(!(e instanceof Error))throw new Error(n("invalid type for %%r: %j",e));if(t="EXCEPTION: "+e.constructor.name+": "+e.stack,e.cause&&"function"==typeof e.cause){var r=e.cause();r&&(t+="\nCaused by: "+o(r))}return t}var s=e("assert"),c=e("util");r.sprintf=n,r.printf=function(){var e=Array.prototype.slice.call(arguments);e.unshift(t.stdout),i.apply(null,e)},r.fprintf=i}).call(this,e("_process"))},{_process:346,assert:77,util:458}],204:[function(e,t,r){"use strict";t.exports=function e(t,r){if(t===r)return!0;var n,i=Array.isArray(t),a=Array.isArray(r);if(i&&a){if(t.length!=r.length)return!1;for(n=0;n<t.length;n++)if(!e(t[n],r[n]))return!1;return!0}if(i!=a)return!1;if(t&&r&&"object"==typeof t&&"object"==typeof r){var o=Object.keys(t);if(o.length!==Object.keys(r).length)return!1;var s=t instanceof Date,c=r instanceof Date;if(s&&c)return t.getTime()==r.getTime();if(s!=c)return!1;var u=t instanceof RegExp,l=r instanceof RegExp;if(u&&l)return t.toString()==r.toString();if(u!=l)return!1;for(n=0;n<o.length;n++)if(!Object.prototype.hasOwnProperty.call(r,o[n]))return!1;for(n=0;n<o.length;n++)if(!e(t[o[n]],r[o[n]]))return!1;return!0}return!1}},{}],205:[function(e,t,r){function n(e,t){return"string"==typeof e?e+":"+t:e.host+":"+e.port+":"+(e.localAddress?e.localAddress+":":":")}function i(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.freeSockets={},t.maxSockets=t.options.maxSockets||s.defaultMaxSockets,t.minSockets=t.options.minSockets||i.defaultMinSockets,t.on("free",function(e,r,i){var a=n(r,i);if(t.requests[a]&&t.requests[a].length)t.requests[a].shift().onSocket(e);else if(t.sockets[a].length<t.minSockets){t.freeSockets[a]||(t.freeSockets[a]=[]),t.freeSockets[a].push(e);var o=function(){e.destroy()};e._onIdleError=o,e.on("error",o)}else e.destroy()})}function a(e){i.call(this,e)}t.exports=i,i.SSL=a;var o=e("util"),s=e("http").Agent,c=e("net"),u=e("tls"),l=e("https").Agent;o.inherits(i,s),i.defaultMinSockets=5,i.prototype.createConnection=c.createConnection,i.prototype.addRequestNoreuse=s.prototype.addRequest,i.prototype.addRequest=function(e,t,r){var i=n(t,r);if("string"!=typeof t){var a=t;r=a.port,t=a.host}if(this.freeSockets[i]&&this.freeSockets[i].length>0&&!e.useChunkedEncodingByDefault){var o=this.freeSockets[i].pop();o.removeListener("error",o._onIdleError),delete o._onIdleError,e._reusedSocket=!0,e.onSocket(o)}else this.addRequestNoreuse(e,t,r)},i.prototype.removeSocket=function(e,t,r,n){if(this.sockets[t]?-1!==(i=this.sockets[t].indexOf(e))&&this.sockets[t].splice(i,1):this.sockets[t]&&0===this.sockets[t].length&&(delete this.sockets[t],delete this.requests[t]),this.freeSockets[t]){var i=this.freeSockets[t].indexOf(e);-1!==i&&(this.freeSockets[t].splice(i,1),0===this.freeSockets[t].length&&delete this.freeSockets[t])}this.requests[t]&&this.requests[t].length&&this.createSocket(t,r,n).emit("free")},o.inherits(a,i),a.prototype.createConnection=function(e,t,r){return r="object"==typeof e?e:"object"==typeof t?t:"object"==typeof r?r:{},"number"==typeof e&&(r.port=e),"string"==typeof t&&(r.host=t),u.connect(r)},a.prototype.addRequestNoreuse=l.prototype.addRequest},{http:435,https:249,net:151,tls:151,util:458}],206:[function(e,t,r){t.exports="object"==typeof self?self.FormData:window.FormData},{}],207:[function(e,t,r){t.exports={$id:"afterRequest.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["lastAccess","eTag","hitCount"],properties:{expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}}}},{}],208:[function(e,t,r){t.exports={$id:"beforeRequest.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["lastAccess","eTag","hitCount"],properties:{expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}}}},{}],209:[function(e,t,r){t.exports={$id:"browser.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","version"],properties:{name:{type:"string"},version:{type:"string"},comment:{type:"string"}}}},{}],210:[function(e,t,r){t.exports={$id:"cache.json#",$schema:"http://json-schema.org/draft-06/schema#",properties:{beforeRequest:{oneOf:[{type:"null"},{$ref:"beforeRequest.json#"}]},afterRequest:{oneOf:[{type:"null"},{$ref:"afterRequest.json#"}]},comment:{type:"string"}}}},{}],211:[function(e,t,r){t.exports={$id:"content.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["size","mimeType"],properties:{size:{type:"integer"},compression:{type:"integer"},mimeType:{type:"string"},text:{type:"string"},encoding:{type:"string"},comment:{type:"string"}}}},{}],212:[function(e,t,r){t.exports={$id:"cookie.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},path:{type:"string"},domain:{type:"string"},expires:{type:["string","null"],format:"date-time"},httpOnly:{type:"boolean"},secure:{type:"boolean"},comment:{type:"string"}}}},{}],213:[function(e,t,r){t.exports={$id:"creator.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","version"],properties:{name:{type:"string"},version:{type:"string"},comment:{type:"string"}}}},{}],214:[function(e,t,r){t.exports={$id:"entry.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["startedDateTime","time","request","response","cache","timings"],properties:{pageref:{type:"string"},startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},time:{type:"number",min:0},request:{$ref:"request.json#"},response:{$ref:"response.json#"},cache:{$ref:"cache.json#"},timings:{$ref:"timings.json#"},serverIPAddress:{type:"string",oneOf:[{format:"ipv4"},{format:"ipv6"}]},connection:{type:"string"},comment:{type:"string"}}}},{}],215:[function(e,t,r){t.exports={$id:"har.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["log"],properties:{log:{$ref:"log.json#"}}}},{}],216:[function(e,t,r){t.exports={$id:"header.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},comment:{type:"string"}}}},{}],217:[function(e,t,r){"use strict";t.exports={afterRequest:e("./afterRequest.json"),beforeRequest:e("./beforeRequest.json"),browser:e("./browser.json"),cache:e("./cache.json"),content:e("./content.json"),cookie:e("./cookie.json"),creator:e("./creator.json"),entry:e("./entry.json"),har:e("./har.json"),header:e("./header.json"),log:e("./log.json"),page:e("./page.json"),pageTimings:e("./pageTimings.json"),postData:e("./postData.json"),query:e("./query.json"),request:e("./request.json"),response:e("./response.json"),timings:e("./timings.json")}},{"./afterRequest.json":207,"./beforeRequest.json":208,"./browser.json":209,"./cache.json":210,"./content.json":211,"./cookie.json":212,"./creator.json":213,"./entry.json":214,"./har.json":215,"./header.json":216,"./log.json":218,"./page.json":219,"./pageTimings.json":220,"./postData.json":221,"./query.json":222,"./request.json":223,"./response.json":224,"./timings.json":225}],218:[function(e,t,r){t.exports={$id:"log.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["version","creator","entries"],properties:{version:{type:"string"},creator:{$ref:"creator.json#"},browser:{$ref:"browser.json#"},pages:{type:"array",items:{$ref:"page.json#"}},entries:{type:"array",items:{$ref:"entry.json#"}},comment:{type:"string"}}}},{}],219:[function(e,t,r){t.exports={$id:"page.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["startedDateTime","id","title","pageTimings"],properties:{startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},id:{type:"string",unique:!0},title:{type:"string"},pageTimings:{$ref:"pageTimings.json#"},comment:{type:"string"}}}},{}],220:[function(e,t,r){t.exports={$id:"pageTimings.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",properties:{onContentLoad:{type:"number",min:-1},onLoad:{type:"number",min:-1},comment:{type:"string"}}}},{}],221:[function(e,t,r){t.exports={$id:"postData.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:!0,required:["mimeType"],properties:{mimeType:{type:"string"},text:{type:"string"},params:{type:"array",required:["name"],properties:{name:{type:"string"},value:{type:"string"},fileName:{type:"string"},contentType:{type:"string"},comment:{type:"string"}}},comment:{type:"string"}}}},{}],222:[function(e,t,r){t.exports={$id:"query.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","value"],properties:{name:{type:"string"},value:{type:"string"},comment:{type:"string"}}}},{}],223:[function(e,t,r){t.exports={$id:"request.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["method","url","httpVersion","cookies","headers","queryString","headersSize","bodySize"],properties:{method:{type:"string"},url:{type:"string",format:"uri"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},queryString:{type:"array",items:{$ref:"query.json#"}},postData:{$ref:"postData.json#"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}}}},{}],224:[function(e,t,r){t.exports={$id:"response.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["status","statusText","httpVersion","cookies","headers","content","redirectURL","headersSize","bodySize"],properties:{status:{type:"integer"},statusText:{type:"string"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},content:{$ref:"content.json#"},redirectURL:{type:"string"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}}}},{}],225:[function(e,t,r){t.exports={$id:"timings.json#",$schema:"http://json-schema.org/draft-06/schema#",required:["send","wait","receive"],properties:{dns:{type:"number",min:-1},connect:{type:"number",min:-1},blocked:{type:"number",min:-1},send:{type:"number",min:-1},wait:{type:"number",min:-1},receive:{type:"number",min:-1},ssl:{type:"number",min:-1},comment:{type:"string"}}}},{}],226:[function(e,t,r){function n(e){this.name="HARError",this.message="validation failed",this.errors=e,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error("validation failed").stack}n.prototype=Error.prototype,t.exports=n},{}],227:[function(e,t,r){function n(e,t){t=t||{};var r=(i=i||new a({allErrors:!0,schemas:s})).getSchema(e+".json");return new Promise(function(e,n){r(t)?e(t):n(new o(r.errors))})}var i,a=e("ajv"),o=e("./error"),s=e("har-schema");r.afterRequest=function(e){return n("afterRequest",e)},r.beforeRequest=function(e){return n("beforeRequest",e)},r.browser=function(e){return n("browser",e)},r.cache=function(e){return n("cache",e)},r.content=function(e){return n("content",e)},r.cookie=function(e){return n("cookie",e)},r.creator=function(e){return n("creator",e)},r.entry=function(e){return n("entry",e)},r.har=function(e){return n("har",e)},r.header=function(e){return n("header",e)},r.log=function(e){return n("log",e)},r.page=function(e){return n("page",e)},r.pageTimings=function(e){return n("pageTimings",e)},r.postData=function(e){return n("postData",e)},r.query=function(e){return n("query",e)},r.request=function(e){return n("request",e)},r.response=function(e){return n("response",e)},r.timings=function(e){return n("timings",e)}},{"./error":226,ajv:13,"har-schema":217}],228:[function(e,t,r){"use strict";var n=e("ansi-regex"),i=new RegExp(n().source);t.exports=i.test.bind(i)},{"ansi-regex":52}],229:[function(e,t,r){(function(r){"use strict";function n(e){i.call(this),this._block=new r(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var i=e("stream").Transform;e("inherits")(n,i),n.prototype._transform=function(e,t,n){var i=null;try{"buffer"!==t&&(e=new r(e,t)),this.update(e)}catch(e){i=e}n(i)},n.prototype._flush=function(e){var t=null;try{this.push(this._digest())}catch(e){t=e}e(t)},n.prototype.update=function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError("Data must be a string or a buffer");if(this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=new r(e,t||"binary"));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)n[a++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var o=0,s=8*e.length;s>0;++o)this._length[o]+=s,(s=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*s);return this},n.prototype._update=function(e){throw new Error("_update is not implemented")},n.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();return void 0!==e&&(t=t.toString(e)),t},n.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=n}).call(this,e("buffer").Buffer)},{buffer:153,inherits:252,stream:434}],230:[function(e,t,r){var n=r;n.utils=e("./hash/utils"),n.common=e("./hash/common"),n.sha=e("./hash/sha"),n.ripemd=e("./hash/ripemd"),n.hmac=e("./hash/hmac"),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},{"./hash/common":231,"./hash/hmac":232,"./hash/ripemd":233,"./hash/sha":234,"./hash/utils":241}],231:[function(e,t,r){"use strict";function n(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var i=e("./utils"),a=e("minimalistic-assert");r.BlockHash=n,n.prototype.update=function(e,t){if(e=i.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-r,this.endian);for(var n=0;n<e.length;n+=this._delta32)this._update(e,n,n+this._delta32)}return this},n.prototype.digest=function(e){return this.update(this._pad()),a(null===this.pending),this._digest(e)},n.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var a=8;a<this.padLength;a++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,a=8;a<this.padLength;a++)n[i++]=0;return n}},{"./utils":241,"minimalistic-assert":311}],232:[function(e,t,r){"use strict";function n(e,t,r){if(!(this instanceof n))return new n(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(t,r))}var i=e("./utils"),a=e("minimalistic-assert");t.exports=n,n.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),a(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},n.prototype.update=function(e,t){return this.inner.update(e,t),this},n.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"./utils":241,"minimalistic-assert":311}],233:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function i(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function a(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function o(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}var s=e("./utils"),c=e("./common"),u=s.rotl32,l=s.sum32,f=s.sum32_3,p=s.sum32_4,h=c.BlockHash;s.inherits(n,h),r.ripemd160=n,n.blockSize=512,n.outSize=160,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],s=this.h[2],c=this.h[3],h=this.h[4],b=r,y=n,_=s,x=c,k=h,w=0;w<80;w++){var j=l(u(p(r,i(w,n,s,c),e[d[w]+t],a(w)),g[w]),h);r=h,h=c,c=u(s,10),s=n,n=j,j=l(u(p(b,i(79-w,y,_,x),e[m[w]+t],o(w)),v[w]),k),b=k,k=x,x=u(_,10),_=y,y=j}j=f(this.h[1],s,x),this.h[1]=f(this.h[2],c,k),this.h[2]=f(this.h[3],h,b),this.h[3]=f(this.h[4],r,y),this.h[4]=f(this.h[0],n,_),this.h[0]=j},n.prototype._digest=function(e){return"hex"===e?s.toHex32(this.h,"little"):s.split32(this.h,"little")};var d=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":231,"./utils":241}],234:[function(e,t,r){"use strict";r.sha1=e("./sha/1"),r.sha224=e("./sha/224"),r.sha256=e("./sha/256"),r.sha384=e("./sha/384"),r.sha512=e("./sha/512")},{"./sha/1":235,"./sha/224":236,"./sha/256":237,"./sha/384":238,"./sha/512":239}],235:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}var i=e("../utils"),a=e("../common"),o=e("./common"),s=i.rotl32,c=i.sum32,u=i.sum32_5,l=o.ft_1,f=a.BlockHash,p=[1518500249,1859775393,2400959708,3395469782];i.inherits(n,f),t.exports=n,n.blockSize=512,n.outSize=160,n.hmacStrength=80,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=s(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],a=this.h[1],o=this.h[2],f=this.h[3],h=this.h[4];for(n=0;n<r.length;n++){var d=~~(n/20),m=u(s(i,5),l(d,a,o,f),h,r[n],p[d]);h=f,f=o,o=s(a,30),a=i,i=m}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],a),this.h[2]=c(this.h[2],o),this.h[3]=c(this.h[3],f),this.h[4]=c(this.h[4],h)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":231,"../utils":241,"./common":240}],236:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;a.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}var i=e("../utils"),a=e("./256");i.inherits(n,a),t.exports=n,n.blockSize=512,n.outSize=224,n.hmacStrength=192,n.padLength=64,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,7),"big"):i.split32(this.h.slice(0,7),"big")}},{"../utils":241,"./256":237}],237:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}var i=e("../utils"),a=e("../common"),o=e("./common"),s=e("minimalistic-assert"),c=i.sum32,u=i.sum32_4,l=i.sum32_5,f=o.ch32,p=o.maj32,h=o.s0_256,d=o.s1_256,m=o.g0_256,g=o.g1_256,v=a.BlockHash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];i.inherits(n,v),t.exports=n,n.blockSize=512,n.outSize=256,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=u(g(r[n-2]),r[n-7],m(r[n-15]),r[n-16]);var i=this.h[0],a=this.h[1],o=this.h[2],v=this.h[3],b=this.h[4],y=this.h[5],_=this.h[6],x=this.h[7];for(s(this.k.length===r.length),n=0;n<r.length;n++){var k=l(x,d(b),f(b,y,_),this.k[n],r[n]),w=c(h(i),p(i,a,o));x=_,_=y,y=b,b=c(v,k),v=o,o=a,a=i,i=c(k,w)}this.h[0]=c(this.h[0],i),this.h[1]=c(this.h[1],a),this.h[2]=c(this.h[2],o),this.h[3]=c(this.h[3],v),this.h[4]=c(this.h[4],b),this.h[5]=c(this.h[5],y),this.h[6]=c(this.h[6],_),this.h[7]=c(this.h[7],x)},n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"big"):i.split32(this.h,"big")}},{"../common":231,"../utils":241,"./common":240,"minimalistic-assert":311}],238:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;a.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}var i=e("../utils"),a=e("./512");i.inherits(n,a),t.exports=n,n.blockSize=1024,n.outSize=384,n.hmacStrength=192,n.padLength=128,n.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h.slice(0,12),"big"):i.split32(this.h.slice(0,12),"big")}},{"../utils":241,"./512":239}],239:[function(e,t,r){"use strict";function n(){if(!(this instanceof n))return new n;O.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=P,this.W=new Array(160)}function i(e,t,r,n,i){var a=e&r^~e&i;return a<0&&(a+=4294967296),a}function a(e,t,r,n,i,a){var o=t&n^~t&a;return o<0&&(o+=4294967296),o}function o(e,t,r,n,i){var a=e&r^e&i^r&i;return a<0&&(a+=4294967296),a}function s(e,t,r,n,i,a){var o=t&n^t&a^n&a;return o<0&&(o+=4294967296),o}function c(e,t){var r=y(e,t,28)^y(t,e,2)^y(t,e,7);return r<0&&(r+=4294967296),r}function u(e,t){var r=_(e,t,28)^_(t,e,2)^_(t,e,7);return r<0&&(r+=4294967296),r}function l(e,t){var r=y(e,t,14)^y(e,t,18)^y(t,e,9);return r<0&&(r+=4294967296),r}function f(e,t){var r=_(e,t,14)^_(e,t,18)^_(t,e,9);return r<0&&(r+=4294967296),r}function p(e,t){var r=y(e,t,1)^y(e,t,8)^x(e,t,7);return r<0&&(r+=4294967296),r}function h(e,t){var r=_(e,t,1)^_(e,t,8)^k(e,t,7);return r<0&&(r+=4294967296),r}function d(e,t){var r=y(e,t,19)^y(t,e,29)^x(e,t,6);return r<0&&(r+=4294967296),r}function m(e,t){var r=_(e,t,19)^_(t,e,29)^k(e,t,6);return r<0&&(r+=4294967296),r}var g=e("../utils"),v=e("../common"),b=e("minimalistic-assert"),y=g.rotr64_hi,_=g.rotr64_lo,x=g.shr64_hi,k=g.shr64_lo,w=g.sum64,j=g.sum64_hi,S=g.sum64_lo,E=g.sum64_4_hi,A=g.sum64_4_lo,F=g.sum64_5_hi,I=g.sum64_5_lo,O=v.BlockHash,P=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];g.inherits(n,O),t.exports=n,n.blockSize=1024,n.outSize=512,n.hmacStrength=192,n.padLength=128,n.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=d(r[n-4],r[n-3]),a=m(r[n-4],r[n-3]),o=r[n-14],s=r[n-13],c=p(r[n-30],r[n-29]),u=h(r[n-30],r[n-29]),l=r[n-32],f=r[n-31];r[n]=E(i,a,o,s,c,u,l,f),r[n+1]=A(i,a,o,s,c,u,l,f)}},n.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],p=this.h[1],h=this.h[2],d=this.h[3],m=this.h[4],g=this.h[5],v=this.h[6],y=this.h[7],_=this.h[8],x=this.h[9],k=this.h[10],E=this.h[11],A=this.h[12],O=this.h[13],P=this.h[14],T=this.h[15];b(this.k.length===r.length);for(var C=0;C<r.length;C+=2){var z=P,R=T,B=l(_,x),D=f(_,x),q=i(_,0,k,0,A),M=a(0,x,0,E,0,O),L=this.k[C],N=this.k[C+1],U=r[C],$=r[C+1],H=F(z,R,B,D,q,M,L,N,U,$),V=I(z,R,B,D,q,M,L,N,U,$);z=c(n,p),R=u(n,p),B=o(n,0,h,0,m),D=s(0,p,0,d,0,g);var K=j(z,R,B,D),Q=S(z,R,B,D);P=A,T=O,A=k,O=E,k=_,E=x,_=j(v,y,H,V),x=S(y,y,H,V),v=m,y=g,m=h,g=d,h=n,d=p,n=j(H,V,K,Q),p=S(H,V,K,Q)}w(this.h,0,n,p),w(this.h,2,h,d),w(this.h,4,m,g),w(this.h,6,v,y),w(this.h,8,_,x),w(this.h,10,k,E),w(this.h,12,A,O),w(this.h,14,P,T)},n.prototype._digest=function(e){return"hex"===e?g.toHex32(this.h,"big"):g.split32(this.h,"big")}},{"../common":231,"../utils":241,"minimalistic-assert":311}],240:[function(e,t,r){"use strict";function n(e,t,r){return e&t^~e&r}function i(e,t,r){return e&t^e&r^t&r}function a(e,t,r){return e^t^r}var o=e("../utils").rotr32;r.ft_1=function(e,t,r,o){return 0===e?n(t,r,o):1===e||3===e?a(t,r,o):2===e?i(t,r,o):void 0},r.ch32=n,r.maj32=i,r.p32=a,r.s0_256=function(e){return o(e,2)^o(e,13)^o(e,22)},r.s1_256=function(e){return o(e,6)^o(e,11)^o(e,25)},r.g0_256=function(e){return o(e,7)^o(e,18)^e>>>3},r.g1_256=function(e){return o(e,17)^o(e,19)^e>>>10}},{"../utils":241}],241:[function(e,t,r){"use strict";function n(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function i(e){return 1===e.length?"0"+e:e}function a(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}var o=e("minimalistic-assert"),s=e("inherits");r.inherits=s,r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),a=i>>8,o=255&i;a?r.push(a,o):r.push(o)}else for(n=0;n<e.length;n++)r[n]=0|e[n];return r},r.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=i(e[r].toString(16));return t},r.htonl=n,r.toHex32=function(e,t){for(var r="",i=0;i<e.length;i++){var o=e[i];"little"===t&&(o=n(o)),r+=a(o.toString(16))}return r},r.zero2=i,r.zero8=a,r.join32=function(e,t,r,n){var i=r-t;o(i%4==0);for(var a=new Array(i/4),s=0,c=t;s<a.length;s++,c+=4){var u;u="big"===n?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],a[s]=u>>>0}return a},r.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var a=e[n];"big"===t?(r[i]=a>>>24,r[i+1]=a>>>16&255,r[i+2]=a>>>8&255,r[i+3]=255&a):(r[i+3]=a>>>24,r[i+2]=a>>>16&255,r[i+1]=a>>>8&255,r[i]=255&a)}return r},r.rotr32=function(e,t){return e>>>t|e<<32-t},r.rotl32=function(e,t){return e<<t|e>>>32-t},r.sum32=function(e,t){return e+t>>>0},r.sum32_3=function(e,t,r){return e+t+r>>>0},r.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},r.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},r.sum64=function(e,t,r,n){var i=e[t],a=n+e[t+1]>>>0,o=(a<n?1:0)+r+i;e[t]=o>>>0,e[t+1]=a},r.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},r.sum64_lo=function(e,t,r,n){return t+n>>>0},r.sum64_4_hi=function(e,t,r,n,i,a,o,s){var c=0,u=t;return c+=(u=u+n>>>0)<t?1:0,c+=(u=u+a>>>0)<a?1:0,e+r+i+o+(c+=(u=u+s>>>0)<s?1:0)>>>0},r.sum64_4_lo=function(e,t,r,n,i,a,o,s){return t+n+a+s>>>0},r.sum64_5_hi=function(e,t,r,n,i,a,o,s,c,u){var l=0,f=t;return l+=(f=f+n>>>0)<t?1:0,l+=(f=f+a>>>0)<a?1:0,l+=(f=f+s>>>0)<s?1:0,e+r+i+o+c+(l+=(f=f+u>>>0)<u?1:0)>>>0},r.sum64_5_lo=function(e,t,r,n,i,a,o,s,c,u){return t+n+a+s+u>>>0},r.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},r.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},r.shr64_hi=function(e,t,r){return e>>>r},r.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},{inherits:252,"minimalistic-assert":311}],242:[function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i={internals:{}};i.client={header:function(e,t,r){var a={field:"",artifacts:{}};if(!e||"string"!=typeof e&&"object"!==(void 0===e?"undefined":n(e))||!t||"string"!=typeof t||!r||"object"!==(void 0===r?"undefined":n(r)))return a.err="Invalid argument type",a;var o=r.timestamp||i.utils.nowSec(r.localtimeOffsetMsec),s=r.credentials;if(!(s&&s.id&&s.key&&s.algorithm))return a.err="Invalid credentials object",a;if(-1===i.crypto.algorithms.indexOf(s.algorithm))return a.err="Unknown algorithm",a;"string"==typeof e&&(e=i.utils.parseUri(e));var c={ts:o,nonce:r.nonce||i.utils.randomString(6),method:t,resource:e.resource,host:e.host,port:e.port,hash:r.hash,ext:r.ext,app:r.app,dlg:r.dlg};a.artifacts=c,c.hash||!r.payload&&""!==r.payload||(c.hash=i.crypto.calculatePayloadHash(r.payload,s.algorithm,r.contentType));var u=i.crypto.calculateMac("header",s,c),l=null!==c.ext&&void 0!==c.ext&&""!==c.ext,f='Hawk id="'+s.id+'", ts="'+c.ts+'", nonce="'+c.nonce+(c.hash?'", hash="'+c.hash:"")+(l?'", ext="'+i.utils.escapeHeaderAttribute(c.ext):"")+'", mac="'+u+'"';return c.app&&(f+=', app="'+c.app+(c.dlg?'", dlg="'+c.dlg:"")+'"'),a.field=f,a},bewit:function(e,t){if(!e||"string"!=typeof e||!t||"object"!==(void 0===t?"undefined":n(t))||!t.ttlSec)return"";t.ext=null===t.ext||void 0===t.ext?"":t.ext;var r=i.utils.nowSec(t.localtimeOffsetMsec),a=t.credentials;if(!(a&&a.id&&a.key&&a.algorithm))return"";if(-1===i.crypto.algorithms.indexOf(a.algorithm))return"";e=i.utils.parseUri(e);var o=r+t.ttlSec,s=i.crypto.calculateMac("bewit",a,{ts:o,nonce:"",method:"GET",resource:e.resource,host:e.host,port:e.port,ext:t.ext}),c=a.id+"\\"+o+"\\"+s+"\\"+t.ext;return i.utils.base64urlEncode(c)},authenticate:function(e,t,r,n){n=n||{};var a=function(t){return e.headers?"function"==typeof e.headers.get?e.headers.get(t):e.headers[t]:e.getResponseHeader?e.getResponseHeader(t):e.getHeader(t)},o=a("www-authenticate");if(o){var s=i.utils.parseAuthorizationHeader(o,["ts","tsm","error"]);if(!s)return!1;if(s.ts){if(i.crypto.calculateTsMac(s.ts,t)!==s.tsm)return!1;i.utils.setNtpSecOffset(s.ts-Math.floor(Date.now()/1e3))}}var c=a("server-authorization");if(!c&&!n.required)return!0;var u=i.utils.parseAuthorizationHeader(c,["mac","ext","hash"]);if(!u)return!1;var l={ts:r.ts,nonce:r.nonce,method:r.method,resource:r.resource,host:r.host,port:r.port,hash:u.hash,ext:u.ext,app:r.app,dlg:r.dlg};return i.crypto.calculateMac("response",t,l)===u.mac&&(!n.payload&&""!==n.payload||!!u.hash&&i.crypto.calculatePayloadHash(n.payload,t.algorithm,a("content-type"))===u.hash)},message:function(e,t,r,a){if(!e||"string"!=typeof e||!t||"number"!=typeof t||null===r||void 0===r||"string"!=typeof r||!a||"object"!==(void 0===a?"undefined":n(a)))return null;var o=a.timestamp||i.utils.nowSec(a.localtimeOffsetMsec),s=a.credentials;if(!(s&&s.id&&s.key&&s.algorithm))return null;if(-1===i.crypto.algorithms.indexOf(s.algorithm))return null;var c={ts:o,nonce:a.nonce||i.utils.randomString(6),host:e,port:t,hash:i.crypto.calculatePayloadHash(r,s.algorithm)};return{id:s.id,ts:c.ts,nonce:c.nonce,hash:c.hash,mac:i.crypto.calculateMac("message",s,c)}},authenticateTimestamp:function(e,t,r){return i.crypto.calculateTsMac(e.ts,t)===e.tsm&&(!1!==r&&i.utils.setNtpSecOffset(e.ts-Math.floor(Date.now()/1e3)),!0)}},i.crypto={headerVersion:"1",algorithms:["sha1","sha256"],calculateMac:function(e,t,r){var n=i.crypto.generateNormalizedString(e,r);return a["Hmac"+t.algorithm.toUpperCase()](n,t.key).toString(a.enc.Base64)},generateNormalizedString:function(e,t){var r="hawk."+i.crypto.headerVersion+"."+e+"\n"+t.ts+"\n"+t.nonce+"\n"+(t.method||"").toUpperCase()+"\n"+(t.resource||"")+"\n"+t.host.toLowerCase()+"\n"+t.port+"\n"+(t.hash||"")+"\n";return t.ext&&(r+=t.ext.replace("\\","\\\\").replace("\n","\\n")),r+="\n",t.app&&(r+=t.app+"\n"+(t.dlg||"")+"\n"),r},calculatePayloadHash:function(e,t,r){var n=a.algo[t.toUpperCase()].create();return n.update("hawk."+i.crypto.headerVersion+".payload\n"),n.update(i.utils.parseContentType(r)+"\n"),n.update(e),n.update("\n"),n.finalize().toString(a.enc.Base64)},calculateTsMac:function(e,t){return a["Hmac"+t.algorithm.toUpperCase()]("hawk."+i.crypto.headerVersion+".ts\n"+e+"\n",t.key).toString(a.enc.Base64)}},i.internals.LocalStorage=function(){this._cache={},this.length=0,this.getItem=function(e){return this._cache.hasOwnProperty(e)?String(this._cache[e]):null},this.setItem=function(e,t){this._cache[e]=String(t),this.length=Object.keys(this._cache).length},this.removeItem=function(e){delete this._cache[e],this.length=Object.keys(this._cache).length},this.clear=function(){this._cache={},this.length=0},this.key=function(e){return Object.keys(this._cache)[e||0]}},i.utils={storage:new i.internals.LocalStorage,setStorage:function(e){var t=i.utils.storage.getItem("hawk_ntp_offset");i.utils.storage=e,t&&i.utils.setNtpSecOffset(t)},setNtpSecOffset:function(e){try{i.utils.storage.setItem("hawk_ntp_offset",e)}catch(e){console.error("[hawk] could not write to storage."),console.error(e)}},getNtpSecOffset:function(){var e=i.utils.storage.getItem("hawk_ntp_offset");return e?parseInt(e,10):0},now:function(e){return Date.now()+(e||0)+1e3*i.utils.getNtpSecOffset()},nowSec:function(e){return Math.floor(i.utils.now(e)/1e3)},escapeHeaderAttribute:function(e){return e.replace(/\\/g,"\\\\").replace(/\"/g,'\\"')},parseContentType:function(e){return e?e.split(";")[0].replace(/^\s+|\s+$/g,"").toLowerCase():""},parseAuthorizationHeader:function(e,t){if(!e)return null;var r=e.match(/^(\w+)(?:\s+(.*))?$/);if(!r)return null;if("hawk"!==r[1].toLowerCase())return null;var n=r[2];if(!n)return null;var i={};return""!==n.replace(/(\w+)="([^"\\]*)"\s*(?:,\s*|$)/g,function(e,r,n){if(-1!==t.indexOf(r)&&null!==n.match(/^[ \w\!#\$%&'\(\)\*\+,\-\.\/\:;<\=>\?@\[\]\^`\{\|\}~]+$/)&&!i.hasOwnProperty(r))return i[r]=n,""})?null:i},randomString:function(e){for(var t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",r=t.length,n=[],i=0;i<e;++i)n[i]=t[Math.floor(Math.random()*r)];return n.join("")},uriRegex:/^([^:]+)\:\/\/(?:[^@/]*@)?([^\/:]+)(?:\:(\d+))?([^#]*)(?:#.*)?$/,parseUri:function(e){var t=e.match(i.utils.uriRegex);if(!t)return{host:"",port:"",resource:""};var r=t[1].toLowerCase();return{host:t[2],port:t[3]||("http"===r?"80":"https"===r?"443":""),resource:t[4]}},base64urlEncode:function(e){var t=a.enc.Utf8.parse(e);return a.enc.Base64.stringify(t).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}};var a=a||function(e,t){var r={},n=r.lib={},i=function(){},a=n.Base={extend:function(e){i.prototype=this;var t=new i;return e&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},o=n.WordArray=a.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes;if(e=e.sigBytes,this.clamp(),n%4)for(var i=0;i<e;i++)t[n+i>>>2]|=(r[i>>>2]>>>24-i%4*8&255)<<24-(n+i)%4*8;else if(65535<r.length)for(var a=0;a<e;a+=4)t[n+a>>>2]=r[a>>>2];else t.push.apply(t,r);return this.sigBytes+=e,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var r=[],n=0;n<t;n+=4)r.push(4294967296*e.random()|0);return new o.init(b,t)}}),s=r.enc={},c=s.Hex={stringify:function(e){var t=e.words;e=e.sigBytes;for(var r=[],n=0;n<e;n++){var i=t[n>>>2]>>>24-n%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new o.init(r,t/2)}},u=s.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var r=[],n=0;n<e;n++)r.push(String.fromCharCode(t[n>>>2]>>>24-n%4*8&255));return r.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new o.init(r,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},f=n.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r=this._data,n=r.words,i=r.sigBytes,a=this.blockSize,s=i/(4*a);if(t=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,i=e.min(4*t,i),t){for(var c=0;c<t;c+=a)this._doProcessBlock(n,c);c=n.splice(0,t),r.sigBytes-=i}return new o.init(c,i)},clone:function(){var e=a.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});n.Hasher=f.extend({cfg:a.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new p.HMAC.init(e,r).finalize(t)}}});var p=r.algo={};return r}(Math);!function(){var e=a,t=(i=e.lib).WordArray,r=i.Hasher,n=[],i=e.algo.SHA1=r.extend({_doReset:function(){this._hash=new t.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],a=r[1],o=r[2],s=r[3],c=r[4],u=0;80>u;u++){if(16>u)n[u]=0|e[t+u];else{var l=n[u-3]^n[u-8]^n[u-14]^n[u-16];n[u]=l<<1|l>>>31}l=(i<<5|i>>>27)+c+n[u],l=20>u?l+(1518500249+(a&o|~a&s)):40>u?l+(1859775393+(a^o^s)):60>u?l+((a&o|a&s|o&s)-1894007588):l+((a^o^s)-899497514),c=s,s=o,o=a<<30|a>>>2,a=i,i=l}r[0]=r[0]+i|0,r[1]=r[1]+a|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e}});e.SHA1=r._createHelper(i),e.HmacSHA1=r._createHmacHelper(i)}(),function(e){for(var t=a,r=(i=t.lib).WordArray,n=i.Hasher,i=t.algo,o=[],s=[],c=function(e){return 4294967296*(e-(0|e))|0},u=2,l=0;64>l;){var f;e:{f=u;for(var p=e.sqrt(f),h=2;h<=p;h++)if(!(f%h)){f=!1;break e}f=!0}f&&(8>l&&(o[l]=c(e.pow(u,.5))),s[l]=c(e.pow(u,1/3)),l++),u++}var d=[],i=i.SHA256=n.extend({_doReset:function(){this._hash=new r.init(o.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],o=r[3],c=r[4],u=r[5],l=r[6],f=r[7],p=0;64>p;p++){if(16>p)d[p]=0|e[t+p];else{var h=d[p-15],m=d[p-2];d[p]=((h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3)+d[p-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+d[p-16]}h=f+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&u^~c&l)+s[p]+d[p],m=((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+(n&i^n&a^i&a),f=l,l=u,u=c,c=o+h|0,o=a,a=i,i=n,n=h+m|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+o|0,r[4]=r[4]+c|0,r[5]=r[5]+u|0,r[6]=r[6]+l|0,r[7]=r[7]+f|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=e.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=n._createHelper(i),t.HmacSHA256=n._createHmacHelper(i)}(Math),function(){var e=a,t=e.enc.Utf8;e.algo.HMAC=e.lib.Base.extend({init:function(e,r){e=this._hasher=new e.init,"string"==typeof r&&(r=t.parse(r));var n=e.blockSize,i=4*n;r.sigBytes>i&&(r=e.finalize(r)),r.clamp();for(var a=this._oKey=r.clone(),o=this._iKey=r.clone(),s=a.words,c=o.words,u=0;u<n;u++)s[u]^=1549556828,c[u]^=909522486;a.sigBytes=o.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher;return e=t.finalize(e),t.reset(),t.finalize(this._oKey.clone().concat(e))}})}(),function(){var e=a,t=e.lib.WordArray;e.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp(),e=[];for(var i=0;i<r;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,o=0;4>o&&i+.75*o<r;o++)e.push(n.charAt(a>>>6*(3-o)&63));if(t=n.charAt(64))for(;e.length%4;)e.push(t);return e.join("")},parse:function(e){var r=e.length,n=this._map;(i=n.charAt(64))&&-1!=(i=e.indexOf(i))&&(r=i);for(var i=[],a=0,o=0;o<r;o++)if(o%4){var s=n.indexOf(e.charAt(o-1))<<o%4*2,c=n.indexOf(e.charAt(o))>>>6-o%4*2;i[a>>>2]|=(s|c)<<24-a%4*8,a++}return t.create(i,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),i.crypto.utils=a,void 0!==t&&t.exports&&(t.exports=i)},{}],243:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=a.toArray(e.entropy,e.entropyEnc||"hex"),r=a.toArray(e.nonce,e.nonceEnc||"hex"),i=a.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,i)}var i=e("hash.js"),a=e("minimalistic-crypto-utils"),o=e("minimalistic-assert");t.exports=n,n.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},n.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},n.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},n.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=a.toArray(e,t),r=a.toArray(r,n),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},n.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=a.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length<e;)this.V=this._hmac().update(this.V).digest(),i=i.concat(this.V);var o=i.slice(0,e);return this._update(r),this._reseed++,a.encode(o,t)}},{"hash.js":230,"minimalistic-assert":311,"minimalistic-crypto-utils":312}],244:[function(e,t,r){var n=e("./parser"),i=e("./signer"),a=e("./verify"),o=e("./utils");t.exports={parse:n.parseRequest,parseRequest:n.parseRequest,sign:i.signRequest,signRequest:i.signRequest,createSigner:i.createSigner,isSigner:i.isSigner,sshKeyToPEM:o.sshKeyToPEM,sshKeyFingerprint:o.fingerprint,pemToRsaSSHKey:o.pemToRsaSSHKey,verify:a.verifySignature,verifySignature:a.verifySignature,verifyHMAC:a.verifyHMAC}},{"./parser":245,"./signer":246,"./utils":247,"./verify":248}],245:[function(e,t,r){function n(e){f.call(this,e,n)}function i(e){f.call(this,e,i)}function a(e){f.call(this,e,a)}function o(e){f.call(this,e,o)}function s(e){f.call(this,e,s)}var c=e("assert-plus"),u=e("util"),l=e("./utils"),f=(l.HASH_ALGOS,l.PK_ALGOS,l.HttpSignatureError),p=l.InvalidAlgorithmError,h=l.validateAlgorithm,d={New:0,Params:1},m={Name:0,Quote:1,Value:2,Comma:3};u.inherits(n,f),u.inherits(i,f),u.inherits(a,f),u.inherits(o,f),u.inherits(s,f),t.exports={parseRequest:function(e,t){c.object(e,"request"),c.object(e.headers,"request.headers"),void 0===t&&(t={}),void 0===t.headers&&(t.headers=[e.headers["x-date"]?"x-date":"date"]),c.object(t,"options"),c.arrayOfString(t.headers,"options.headers"),c.optionalFinite(t.clockSkew,"options.clockSkew");var r=t.authorizationHeaderName||"authorization";if(!e.headers[r])throw new o("no "+r+" header present in the request");t.clockSkew=t.clockSkew||300;var u=0,l=d.New,f=m.Name,g="",v="",b={scheme:"",params:{},signingString:""},y=e.headers[r];for(u=0;u<y.length;u++){var _=y.charAt(u);switch(Number(l)){case d.New:" "!==_?b.scheme+=_:l=d.Params;break;case d.Params:switch(Number(f)){case m.Name:var x=_.charCodeAt(0);if(x>=65&&x<=90||x>=97&&x<=122)g+=_;else{if("="!==_)throw new i("bad param format");if(0===g.length)throw new i("bad param format");f=m.Quote}break;case m.Quote:if('"'!==_)throw new i("bad param format");v="",f=m.Value;break;case m.Value:'"'===_?(b.params[g]=v,f=m.Comma):v+=_;break;case m.Comma:if(","!==_)throw new i("bad param format");g="",f=m.Name;break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(b.params.headers&&""!==b.params.headers?b.params.headers=b.params.headers.split(" "):e.headers["x-date"]?b.params.headers=["x-date"]:b.params.headers=["date"],!b.scheme||"Signature"!==b.scheme)throw new i('scheme was not "Signature"');if(!b.params.keyId)throw new i("keyId was not specified");if(!b.params.algorithm)throw new i("algorithm was not specified");if(!b.params.signature)throw new i("signature was not specified");b.params.algorithm=b.params.algorithm.toLowerCase();try{h(b.params.algorithm)}catch(e){throw e instanceof p?new a(b.params.algorithm+" is not supported"):e}for(u=0;u<b.params.headers.length;u++){var k=b.params.headers[u].toLowerCase();if(b.params.headers[u]=k,"request-line"===k){if(t.strict)throw new s("request-line is not a valid header with strict parsing enabled.");b.signingString+=e.method+" "+e.url+" HTTP/"+e.httpVersion}else if("(request-target)"===k)b.signingString+="(request-target): "+e.method.toLowerCase()+" "+e.url;else{var w=e.headers[k];if(void 0===w)throw new o(k+" was not in the request");b.signingString+=k+": "+w}u+1<b.params.headers.length&&(b.signingString+="\n")}var j;if(e.headers.date||e.headers["x-date"]){j=e.headers["x-date"]?new Date(e.headers["x-date"]):new Date(e.headers.date);var S=new Date,E=Math.abs(S.getTime()-j.getTime());if(E>1e3*t.clockSkew)throw new n("clock skew of "+E/1e3+"s was greater than "+t.clockSkew+"s")}if(t.headers.forEach(function(e){if(b.params.headers.indexOf(e.toLowerCase())<0)throw new o(e+" was not a signed header")}),t.algorithms&&-1===t.algorithms.indexOf(b.params.algorithm))throw new a(b.params.algorithm+" is not a supported algorithm");return b.algorithm=b.params.algorithm.toUpperCase(),b.keyId=b.params.keyId,b}}},{"./utils":247,"assert-plus":76,util:458}],246:[function(e,t,r){(function(r){function n(e){g.call(this,e,n)}function i(e){g.call(this,e,i)}function a(e){o.object(e,"options");var t=[];if(void 0!==e.algorithm&&(o.string(e.algorithm,"options.algorithm"),t=v(e.algorithm)),this.rs_alg=t,void 0!==e.sign)o.func(e.sign,"options.sign"),this.rs_signFunc=e.sign;else if("hmac"===t[0]&&void 0!==e.key){if(o.string(e.keyId,"options.keyId"),this.rs_keyId=e.keyId,"string"!=typeof e.key&&!r.isBuffer(e.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=s.createHmac(t[1].toUpperCase(),e.key),this.rs_signer.sign=function(){var e=this.digest("base64");return{hashAlgorithm:t[1],toString:function(){return e}}}}else{if(void 0===e.key)throw new TypeError("options.sign (func) or options.key is required");var n=e.key;if(("string"==typeof n||r.isBuffer(n))&&(n=u.parsePrivateKey(n)),o.ok(u.PrivateKey.isPrivateKey(n,[1,2]),"options.key must be a sshpk.PrivateKey"),this.rs_key=n,o.string(e.keyId,"options.keyId"),this.rs_keyId=e.keyId,!d[n.type])throw new m(n.type.toUpperCase()+" type keys are not supported");if(void 0!==t[0]&&n.type!==t[0])throw new m("options.key must be a "+t[0].toUpperCase()+" key, was given a "+n.type.toUpperCase()+" key instead");this.rs_signer=n.createSign(t[1])}this.rs_headers=[],this.rs_lines=[]}var o=e("assert-plus"),s=e("crypto"),c=(e("http"),e("util")),u=e("sshpk"),l=e("jsprim"),f=e("./utils"),p=e("util").format,h=f.HASH_ALGOS,d=f.PK_ALGOS,m=f.InvalidAlgorithmError,g=f.HttpSignatureError,v=f.validateAlgorithm,b='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';c.inherits(n,g),c.inherits(i,g),a.prototype.writeHeader=function(e,t){if(o.string(e,"header"),e=e.toLowerCase(),o.string(t,"value"),this.rs_headers.push(e),this.rs_signFunc)this.rs_lines.push(e+": "+t);else{var r=e+": "+t;this.rs_headers.length>0&&(r="\n"+r),this.rs_signer.update(r)}return t},a.prototype.writeDateHeader=function(){return this.writeHeader("date",l.rfc1123(new Date))},a.prototype.writeTarget=function(e,t){o.string(e,"method"),o.string(t,"path"),e=e.toLowerCase(),this.writeHeader("(request-target)",e+" "+t)},a.prototype.sign=function(e){if(o.func(e,"callback"),this.rs_headers.length<1)throw new Error("At least one header must be signed");var t,r;if(this.rs_signFunc){var n=this.rs_lines.join("\n"),i=this;this.rs_signFunc(n,function(n,a){if(n)e(n);else{try{o.object(a,"signature"),o.string(a.keyId,"signature.keyId"),o.string(a.algorithm,"signature.algorithm"),o.string(a.signature,"signature.signature"),t=v(a.algorithm),r=p(b,a.keyId,a.algorithm,i.rs_headers.join(" "),a.signature)}catch(t){return void e(t)}e(null,r)}})}else{try{var a=this.rs_signer.sign()}catch(t){return void e(t)}t=(this.rs_alg[0]||this.rs_key.type)+"-"+a.hashAlgorithm;var s=a.toString();r=p(b,this.rs_keyId,t,this.rs_headers.join(" "),s),e(null,r)}},t.exports={isSigner:function(e){return"object"==typeof e&&e instanceof a},createSigner:function(e){return new a(e)},signRequest:function(e,t){o.object(e,"request"),o.object(t,"options"),o.optionalString(t.algorithm,"options.algorithm"),o.string(t.keyId,"options.keyId"),o.optionalArrayOfString(t.headers,"options.headers"),o.optionalString(t.httpVersion,"options.httpVersion"),e.getHeader("Date")||e.setHeader("Date",l.rfc1123(new Date)),t.headers||(t.headers=["date"]),t.httpVersion||(t.httpVersion="1.1");var a=[];t.algorithm&&(t.algorithm=t.algorithm.toLowerCase(),a=v(t.algorithm));var c,f="";for(c=0;c<t.headers.length;c++){if("string"!=typeof t.headers[c])throw new TypeError("options.headers must be an array of Strings");var g=t.headers[c].toLowerCase();if("request-line"===g){if(t.strict)throw new i("request-line is not a valid header with strict parsing enabled.");f+=e.method+" "+e.path+" HTTP/"+t.httpVersion}else if("(request-target)"===g)f+="(request-target): "+e.method.toLowerCase()+" "+e.path;else{var y=e.getHeader(g);if(void 0===y||""===y)throw new n(g+" was not in the request");f+=g+": "+y}c+1<t.headers.length&&(f+="\n")}e.hasOwnProperty("_stringToSign")&&(e._stringToSign=f);var _;if("hmac"===a[0]){if("string"!=typeof t.key&&!r.isBuffer(t.key))throw new TypeError("options.key must be a string or Buffer");var x=s.createHmac(a[1].toUpperCase(),t.key);x.update(f),_=x.digest("base64")}else{var k=t.key;if(("string"==typeof k||r.isBuffer(k))&&(k=u.parsePrivateKey(t.key)),o.ok(u.PrivateKey.isPrivateKey(k,[1,2]),"options.key must be a sshpk.PrivateKey"),!d[k.type])throw new m(k.type.toUpperCase()+" type keys are not supported");if(void 0!==a[0]&&k.type!==a[0])throw new m("options.key must be a "+a[0].toUpperCase()+" key, was given a "+k.type.toUpperCase()+" key instead");var w=k.createSign(a[1]);w.update(f);var j=w.sign();if(!h[j.hashAlgorithm])throw new m(j.hashAlgorithm.toUpperCase()+" is not a supported hash algorithm");t.algorithm=k.type+"-"+j.hashAlgorithm,_=j.toString(),o.notStrictEqual(_,"","empty signature produced")}var S=t.authorizationHeaderName||"Authorization";return e.setHeader(S,p(b,t.keyId,t.algorithm,t.headers.join(" "),_)),!0}}}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":253,"./utils":247,"assert-plus":76,crypto:167,http:435,jsprim:267,sshpk:428,util:458}],247:[function(e,t,r){function n(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||n),this.message=e,this.name=t.name}function i(e){n.call(this,e,i)}var a=e("assert-plus"),o=e("sshpk"),s=e("util"),c={sha1:!0,sha256:!0,sha512:!0},u={rsa:!0,dsa:!0,ecdsa:!0};s.inherits(n,Error),s.inherits(i,n),t.exports={HASH_ALGOS:c,PK_ALGOS:u,HttpSignatureError:n,InvalidAlgorithmError:i,validateAlgorithm:function(e){var t=e.toLowerCase().split("-");if(2!==t.length)throw new i(t[0].toUpperCase()+" is not a valid algorithm");if("hmac"!==t[0]&&!u[t[0]])throw new i(t[0].toUpperCase()+" type keys are not supported");if(!c[t[1]])throw new i(t[1].toUpperCase()+" is not a supported hash algorithm");return t},sshKeyToPEM:function(e){return a.string(e,"ssh_key"),o.parseKey(e,"ssh").toString("pem")},fingerprint:function(e){return a.string(e,"ssh_key"),o.parseKey(e,"ssh").fingerprint("md5").toString("hex")},pemToRsaSSHKey:function(e,t){a.equal("string",typeof e,"typeof pem");var r=o.parseKey(e,"pem");return r.comment=t,r.toString("ssh")}}},{"assert-plus":76,sshpk:428,util:458}],248:[function(e,t,r){(function(r){var n=e("assert-plus"),i=e("crypto"),a=e("sshpk"),o=e("./utils"),s=(o.HASH_ALGOS,o.PK_ALGOS,o.InvalidAlgorithmError,o.HttpSignatureError,o.validateAlgorithm);t.exports={verifySignature:function(e,t){n.object(e,"parsedSignature"),("string"==typeof t||r.isBuffer(t))&&(t=a.parseKey(t)),n.ok(a.Key.isKey(t,[1,1]),"pubkey must be a sshpk.Key");var i=s(e.algorithm);if("hmac"===i[0]||i[0]!==t.type)return!1;var o=t.createVerify(i[1]);return o.update(e.signingString),o.verify(e.params.signature,"base64")},verifyHMAC:function(e,t){n.object(e,"parsedHMAC"),n.string(t,"secret");var a=s(e.algorithm);if("hmac"!==a[0])return!1;var o=a[1].toUpperCase(),c=i.createHmac(o,t);c.update(e.signingString);var u=i.createHmac(o,t);u.update(c.digest()),u=u.digest();var l=i.createHmac(o,t);return l.update(new r(e.params.signature,"base64")),l=l.digest(),"string"==typeof u?u===l:r.isBuffer(u)&&!u.equals?u.toString("binary")===l.toString("binary"):u.equals(l)}}}).call(this,e("buffer").Buffer)},{"./utils":247,"assert-plus":76,buffer:153,crypto:167,sshpk:428}],249:[function(e,t,r){var n=e("http"),i=t.exports;for(var a in n)n.hasOwnProperty(a)&&(i[a]=n[a]);i.request=function(e,t){return e||(e={}),e.scheme="https",e.protocol="https:",n.request.call(this,e,t)}},{http:435}],250:[function(e,t,r){r.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,c=(1<<s)-1,u=c>>1,l=-7,f=r?i-1:0,p=r?-1:1,h=e[t+f];for(f+=p,a=h&(1<<-l)-1,h>>=-l,l+=s;l>0;a=256*a+e[t+f],f+=p,l-=8);for(o=a&(1<<-l)-1,a>>=-l,l+=n;l>0;o=256*o+e[t+f],f+=p,l-=8);if(0===a)a=1-u;else{if(a===c)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=u}return(h?-1:1)*o*Math.pow(2,a-n)},r.write=function(e,t,r,n,i,a){var o,s,c,u=8*a-i-1,l=(1<<u)-1,f=l>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:a-1,d=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+f>=1?p/c:p*Math.pow(2,1-f))*c>=2&&(o++,c/=2),o+f>=l?(s=0,o=l):o+f>=1?(s=(t*c-1)*Math.pow(2,i),o+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;e[r+h]=255&s,h+=d,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+h]=255&o,h+=d,o/=256,u-=8);e[r+h-d]|=128*m}},{}],251:[function(e,t,r){var n=[].indexOf;t.exports=function(e,t){if(n)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},{}],252:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],253:[function(e,t,r){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function i(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
t.exports=function(e){return null!=e&&(n(e)||i(e)||!!e._isBuffer)}},{}],254:[function(e,t,r){function n(e){return i(e)||a(e)}function i(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function a(e){return s[o.call(e)]}t.exports=n,n.strict=i,n.loose=a;var o=Object.prototype.toString,s={"[object Int8Array]":!0,"[object Int16Array]":!0,"[object Int32Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Uint16Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0}},{}],255:[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},{}],256:[function(e,t,r){function n(e){return e instanceof o.Stream}function i(e){return n(e)&&"function"==typeof e._read&&"object"==typeof e._readableState}function a(e){return n(e)&&"function"==typeof e._write&&"object"==typeof e._writableState}var o=e("stream");t.exports=n,t.exports.isReadable=i,t.exports.isWritable=a,t.exports.isDuplex=function(e){return i(e)&&a(e)}},{stream:434}],257:[function(e,t,r){(function(){function e(e,t,r){null!=e&&("number"==typeof e?this.fromNumber(e,t,r):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function n(){return new e(null)}function i(e){return I.charAt(e)}function a(e,t){var r=O[e.charCodeAt(t)];return null==r?-1:r}function o(e){var t=n();return t.fromInt(e),t}function s(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function c(e){this.m=e}function u(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function l(e,t){return e&t}function f(e,t){return e|t}function p(e,t){return e^t}function h(e,t){return e&~t}function d(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function m(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function g(){}function v(e){return e}function b(t){this.r2=n(),this.q3=n(),e.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function y(e){z[R++]^=255&e,z[R++]^=e>>8&255,z[R++]^=e>>16&255,z[R++]^=e>>24&255,R>=M&&(R-=M)}function _(){y((new Date).getTime())}function x(){if(null==C){for(_(),(C=j()).init(z),R=0;R<z.length;++R)z[R]=0;R=0}return C.next()}function k(){}function w(){this.i=0,this.j=0,this.S=new Array}function j(){return new w}var S,E="undefined"!=typeof navigator;E&&"Microsoft Internet Explorer"==navigator.appName?(e.prototype.am=function(e,t,r,n,i,a){for(var o=32767&t,s=t>>15;--a>=0;){var c=32767&this[e],u=this[e++]>>15,l=s*c+u*o;i=((c=o*c+((32767&l)<<15)+r[n]+(1073741823&i))>>>30)+(l>>>15)+s*u+(i>>>30),r[n++]=1073741823&c}return i},S=30):E&&"Netscape"!=navigator.appName?(e.prototype.am=function(e,t,r,n,i,a){for(;--a>=0;){var o=t*this[e++]+r[n]+i;i=Math.floor(o/67108864),r[n++]=67108863&o}return i},S=26):(e.prototype.am=function(e,t,r,n,i,a){for(var o=16383&t,s=t>>14;--a>=0;){var c=16383&this[e],u=this[e++]>>14,l=s*c+u*o;i=((c=o*c+((16383&l)<<14)+r[n]+i)>>28)+(l>>14)+s*u,r[n++]=268435455&c}return i},S=28),e.prototype.DB=S,e.prototype.DM=(1<<S)-1,e.prototype.DV=1<<S;e.prototype.FV=Math.pow(2,52),e.prototype.F1=52-S,e.prototype.F2=2*S-52;var A,F,I="0123456789abcdefghijklmnopqrstuvwxyz",O=new Array;for(A="0".charCodeAt(0),F=0;F<=9;++F)O[A++]=F;for(A="a".charCodeAt(0),F=10;F<36;++F)O[A++]=F;for(A="A".charCodeAt(0),F=10;F<36;++F)O[A++]=F;c.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},c.prototype.revert=function(e){return e},c.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},c.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},c.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},u.prototype.convert=function(t){var r=n();return t.abs().dlShiftTo(this.m.t,r),r.divRemTo(this.m,null,r),t.s<0&&r.compareTo(e.ZERO)>0&&this.m.subTo(r,r),r},u.prototype.revert=function(e){var t=n();return e.copyTo(t),this.reduce(t),t},u.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},u.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},u.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},e.prototype.fromString=function(t,r){var n;if(16==r)n=4;else if(8==r)n=3;else if(256==r)n=8;else if(2==r)n=1;else if(32==r)n=5;else{if(4!=r)return void this.fromRadix(t,r);n=2}this.t=0,this.s=0;for(var i=t.length,o=!1,s=0;--i>=0;){var c=8==n?255&t[i]:a(t,i);c<0?"-"==t.charAt(i)&&(o=!0):(o=!1,0==s?this[this.t++]=c:s+n>this.DB?(this[this.t-1]|=(c&(1<<this.DB-s)-1)<<s,this[this.t++]=c>>this.DB-s):this[this.t-1]|=c<<s,(s+=n)>=this.DB&&(s-=this.DB))}8==n&&0!=(128&t[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},e.prototype.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},e.prototype.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.lShiftTo=function(e,t){var r,n=e%this.DB,i=this.DB-n,a=(1<<i)-1,o=Math.floor(e/this.DB),s=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)t[r+o+1]=this[r]>>i|s,s=(this[r]&a)<<n;for(r=o-1;r>=0;--r)t[r]=0;t[o]=s,t.t=this.t+o+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,a=(1<<n)-1;t[0]=this[r]>>n;for(var o=r+1;o<this.t;++o)t[o-r-1]|=(this[o]&a)<<i,t[o-r]=this[o]>>n;n>0&&(t[this.t-r-1]|=(this.s&a)<<i),t.t=this.t-r,t.clamp()}},e.prototype.subTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},e.prototype.multiplyTo=function(t,r){var n=this.abs(),i=t.abs(),a=n.t;for(r.t=a+i.t;--a>=0;)r[a]=0;for(a=0;a<i.t;++a)r[a+n.t]=n.am(0,i[a],r,a,0,n.t);r.s=0,r.clamp(),this.s!=t.s&&e.ZERO.subTo(r,r)},e.prototype.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},e.prototype.divRemTo=function(t,r,i){var a=t.abs();if(!(a.t<=0)){var o=this.abs();if(o.t<a.t)return null!=r&&r.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=n());var c=n(),u=this.s,l=t.s,f=this.DB-s(a[a.t-1]);f>0?(a.lShiftTo(f,c),o.lShiftTo(f,i)):(a.copyTo(c),o.copyTo(i));var p=c.t,h=c[p-1];if(0!=h){var d=h*(1<<this.F1)+(p>1?c[p-2]>>this.F2:0),m=this.FV/d,g=(1<<this.F1)/d,v=1<<this.F2,b=i.t,y=b-p,_=null==r?n():r;for(c.dlShiftTo(y,_),i.compareTo(_)>=0&&(i[i.t++]=1,i.subTo(_,i)),e.ONE.dlShiftTo(p,_),_.subTo(c,c);c.t<p;)c[c.t++]=0;for(;--y>=0;){var x=i[--b]==h?this.DM:Math.floor(i[b]*m+(i[b-1]+v)*g);if((i[b]+=c.am(0,x,i,y,0,p))<x)for(c.dlShiftTo(y,_),i.subTo(_,i);i[b]<--x;)i.subTo(_,i)}null!=r&&(i.drShiftTo(p,r),u!=l&&e.ZERO.subTo(r,r)),i.t=p,i.clamp(),f>0&&i.rShiftTo(f,i),u<0&&e.ZERO.subTo(i,i)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return t=t*(2-(15&e)*t)&15,t=t*(2-(255&e)*t)&255,t=t*(2-((65535&e)*t&65535))&65535,(t=t*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.exp=function(t,r){if(t>4294967295||t<1)return e.ONE;var i=n(),a=n(),o=r.convert(this),c=s(t)-1;for(o.copyTo(i);--c>=0;)if(r.sqrTo(i,a),(t&1<<c)>0)r.mulTo(a,o,i);else{var u=i;i=a,a=u}return r.revert(i)},e.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var r,n=(1<<t)-1,a=!1,o="",s=this.t,c=this.DB-s*this.DB%t;if(s-- >0)for(c<this.DB&&(r=this[s]>>c)>0&&(a=!0,o=i(r));s>=0;)c<t?(r=(this[s]&(1<<c)-1)<<t-c,r|=this[--s]>>(c+=this.DB-t)):(r=this[s]>>(c-=t)&n,c<=0&&(c+=this.DB,--s)),r>0&&(a=!0),a&&(o+=i(r));return a?o:"0"},e.prototype.negate=function(){var t=n();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+s(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var r=n();return this.abs().divRemTo(t,null,r),this.s<0&&r.compareTo(e.ZERO)>0&&t.subTo(r,r),r},e.prototype.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new c(t):new u(t),this.exp(e,r)},e.ZERO=o(0),e.ONE=o(1),g.prototype.convert=v,g.prototype.revert=v,g.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},g.prototype.sqrTo=function(e,t){e.squareTo(t)},b.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=n();return e.copyTo(t),this.reduce(t),t},b.prototype.revert=function(e){return e},b.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},b.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},b.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var P=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],T=(1<<26)/P[P.length-1];e.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},e.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),i=o(r),a=n(),s=n(),c="";for(this.divRemTo(i,a,s);a.signum()>0;)c=(r+s.intValue()).toString(e).substr(1)+c,a.divRemTo(i,a,s);return s.intValue().toString(e)+c},e.prototype.fromRadix=function(t,r){this.fromInt(0),null==r&&(r=10);for(var n=this.chunkSize(r),i=Math.pow(r,n),o=!1,s=0,c=0,u=0;u<t.length;++u){var l=a(t,u);l<0?"-"==t.charAt(u)&&0==this.signum()&&(o=!0):(c=r*c+l,++s>=n&&(this.dMultiply(i),this.dAddOffset(c,0),s=0,c=0))}s>0&&(this.dMultiply(Math.pow(r,s)),this.dAddOffset(c,0)),o&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,r,n){if("number"==typeof r)if(t<2)this.fromInt(1);else for(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),f,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(r);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=new Array,a=7&t;i.length=1+(t>>3),r.nextBytes(i),a>0?i[0]&=(1<<a)-1:i[0]=0,this.fromString(i,256)}},e.prototype.bitwiseTo=function(e,t,r){var n,i,a=Math.min(e.t,this.t);for(n=0;n<a;++n)r[n]=t(this[n],e[n]);if(e.t<this.t){for(i=e.s&this.DM,n=a;n<this.t;++n)r[n]=t(this[n],i);r.t=this.t}else{for(i=this.s&this.DM,n=a;n<e.t;++n)r[n]=t(i,e[n]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},e.prototype.changeBit=function(t,r){var n=e.ONE.shiftLeft(t);return this.bitwiseTo(n,r,n),n},e.prototype.addTo=function(e,t){for(var r=0,n=0,i=Math.min(e.t,this.t);r<i;)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},e.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},e.prototype.multiplyLowerTo=function(e,t,r){var n=Math.min(this.t+e.t,t);for(r.s=0,r.t=n;n>0;)r[--n]=0;var i;for(i=r.t-this.t;n<i;++n)r[n+this.t]=this.am(0,e[n],r,n,0,this.t);for(i=Math.min(e.t,t);n<i;++n)this.am(0,e[n],r,n,0,t-n);r.clamp()},e.prototype.multiplyUpperTo=function(e,t,r){--t;var n=r.t=this.t+e.t-t;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(t-this.t,0);n<e.t;++n)r[this.t+n-t]=this.am(t-n,e[n],r,0,0,this.t+n-t);r.clamp(),r.drShiftTo(1,r)},e.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0)if(0==t)r=this[0]%e;else for(var n=this.t-1;n>=0;--n)r=(t*r+this[n])%e;return r},e.prototype.millerRabin=function(t){var r=this.subtract(e.ONE),i=r.getLowestSetBit();if(i<=0)return!1;var a=r.shiftRight(i);(t=t+1>>1)>P.length&&(t=P.length);for(var o=n(),s=0;s<t;++s){o.fromInt(P[Math.floor(Math.random()*P.length)]);var c=o.modPow(a,this);if(0!=c.compareTo(e.ONE)&&0!=c.compareTo(r)){for(var u=1;u++<i&&0!=c.compareTo(r);)if(0==(c=c.modPowInt(2,this)).compareTo(e.ONE))return!1;if(0!=c.compareTo(r))return!1}}return!0},e.prototype.clone=function(){var e=n();return this.copyTo(e),e},e.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var r,n=this.DB-e*this.DB%8,i=0;if(e-- >0)for(n<this.DB&&(r=this[e]>>n)!=(this.s&this.DM)>>n&&(t[i++]=r|this.s<<this.DB-n);e>=0;)n<8?(r=(this[e]&(1<<n)-1)<<8-n,r|=this[--e]>>(n+=this.DB-8)):(r=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&r)&&(r|=-256),0==i&&(128&this.s)!=(128&r)&&++i,(i>0||r!=this.s)&&(t[i++]=r);return t},e.prototype.equals=function(e){return 0==this.compareTo(e)},e.prototype.min=function(e){return this.compareTo(e)<0?this:e},e.prototype.max=function(e){return this.compareTo(e)>0?this:e},e.prototype.and=function(e){var t=n();return this.bitwiseTo(e,l,t),t},e.prototype.or=function(e){var t=n();return this.bitwiseTo(e,f,t),t},e.prototype.xor=function(e){var t=n();return this.bitwiseTo(e,p,t),t},e.prototype.andNot=function(e){var t=n();return this.bitwiseTo(e,h,t),t},e.prototype.not=function(){for(var e=n(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},e.prototype.shiftLeft=function(e){var t=n();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},e.prototype.shiftRight=function(e){var t=n();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},e.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+d(this[e]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,r=0;r<this.t;++r)e+=m(this[r]^t);return e},e.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},e.prototype.setBit=function(e){return this.changeBit(e,f)},e.prototype.clearBit=function(e){return this.changeBit(e,h)},e.prototype.flipBit=function(e){return this.changeBit(e,p)},e.prototype.add=function(e){var t=n();return this.addTo(e,t),t},e.prototype.subtract=function(e){var t=n();return this.subTo(e,t),t},e.prototype.multiply=function(e){var t=n();return this.multiplyTo(e,t),t},e.prototype.divide=function(e){var t=n();return this.divRemTo(e,t,null),t},e.prototype.remainder=function(e){var t=n();return this.divRemTo(e,null,t),t},e.prototype.divideAndRemainder=function(e){var t=n(),r=n();return this.divRemTo(e,t,r),new Array(t,r)},e.prototype.modPow=function(e,t){var r,i,a=e.bitLength(),l=o(1);if(a<=0)return l;r=a<18?1:a<48?3:a<144?4:a<768?5:6,i=a<8?new c(t):t.isEven()?new b(t):new u(t);var f=new Array,p=3,h=r-1,d=(1<<r)-1;if(f[1]=i.convert(this),r>1){var m=n();for(i.sqrTo(f[1],m);p<=d;)f[p]=n(),i.mulTo(m,f[p-2],f[p]),p+=2}var g,v,y=e.t-1,_=!0,x=n();for(a=s(e[y])-1;y>=0;){for(a>=h?g=e[y]>>a-h&d:(g=(e[y]&(1<<a+1)-1)<<h-a,y>0&&(g|=e[y-1]>>this.DB+a-h)),p=r;0==(1&g);)g>>=1,--p;if((a-=p)<0&&(a+=this.DB,--y),_)f[g].copyTo(l),_=!1;else{for(;p>1;)i.sqrTo(l,x),i.sqrTo(x,l),p-=2;p>0?i.sqrTo(l,x):(v=l,l=x,x=v),i.mulTo(x,f[g],l)}for(;y>=0&&0==(e[y]&1<<a);)i.sqrTo(l,x),v=l,l=x,x=v,--a<0&&(a=this.DB-1,--y)}return i.revert(l)},e.prototype.modInverse=function(t){var r=t.isEven();if(this.isEven()&&r||0==t.signum())return e.ZERO;for(var n=t.clone(),i=this.clone(),a=o(1),s=o(0),c=o(0),u=o(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),r?(a.isEven()&&s.isEven()||(a.addTo(this,a),s.subTo(t,s)),a.rShiftTo(1,a)):s.isEven()||s.subTo(t,s),s.rShiftTo(1,s);for(;i.isEven();)i.rShiftTo(1,i),r?(c.isEven()&&u.isEven()||(c.addTo(this,c),u.subTo(t,u)),c.rShiftTo(1,c)):u.isEven()||u.subTo(t,u),u.rShiftTo(1,u);n.compareTo(i)>=0?(n.subTo(i,n),r&&a.subTo(c,a),s.subTo(u,s)):(i.subTo(n,i),r&&c.subTo(a,c),u.subTo(s,u))}return 0!=i.compareTo(e.ONE)?e.ZERO:u.compareTo(t)>=0?u.subtract(t):u.signum()<0?(u.addTo(t,u),u.signum()<0?u.add(t):u):u},e.prototype.pow=function(e){return this.exp(e,new g)},e.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(t.compareTo(r)<0){var n=t;t=r,r=n}var i=t.getLowestSetBit(),a=r.getLowestSetBit();if(a<0)return t;for(i<a&&(a=i),a>0&&(t.rShiftTo(a,t),r.rShiftTo(a,r));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return a>0&&r.lShiftTo(a,r),r},e.prototype.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r[0]<=P[P.length-1]){for(t=0;t<P.length;++t)if(r[0]==P[t])return!0;return!1}if(r.isEven())return!1;for(t=1;t<P.length;){for(var n=P[t],i=t+1;i<P.length&&n<T;)n*=P[i++];for(n=r.modInt(n);t<i;)if(n%P[t++]==0)return!1}return r.millerRabin(e)},e.prototype.square=function(){var e=n();return this.squareTo(e),e},e.prototype.Barrett=b;var C,z,R;if(null==z){z=new Array,R=0;var B;if("undefined"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var D=new Uint8Array(32);for(window.crypto.getRandomValues(D),B=0;B<32;++B)z[R++]=D[B]}else if("Netscape"==navigator.appName&&navigator.appVersion<"5"){var q=window.crypto.random(32);for(B=0;B<q.length;++B)z[R++]=255&q.charCodeAt(B)}for(;R<M;)B=Math.floor(65536*Math.random()),z[R++]=B>>>8,z[R++]=255&B;R=0,_()}k.prototype.nextBytes=function(e){var t;for(t=0;t<e.length;++t)e[t]=x()},w.prototype.init=function(e){var t,r,n;for(t=0;t<256;++t)this.S[t]=t;for(r=0,t=0;t<256;++t)r=r+this.S[t]+e[t%e.length]&255,n=this.S[t],this.S[t]=this.S[r],this.S[r]=n;this.i=0,this.j=0},w.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]};var M=256;e.SecureRandom=k,e.BigInteger=e,void 0!==r?r=t.exports=e:(this.BigInteger=e,this.SecureRandom=k)}).call(this)},{}],258:[function(e,t,r){"use strict";function n(e,t,r,o,s,c,u,l,f){if(r&&"object"==typeof r&&!Array.isArray(r)){t(r,o,s,c,u,l,f);for(var p in r){var h=r[p];if(Array.isArray(h)){if(p in a.arrayKeywords)for(var d=0;d<h.length;d++)n(e,t,h[d],o+"/"+p+"/"+d,s,o,p,r,d)}else if(p in a.propsKeywords){if(h&&"object"==typeof h)for(var m in h)n(e,t,h[m],o+"/"+p+"/"+i(m),s,o,p,r,m)}else(p in a.keywords||e.allKeys&&!(p in a.skipKeywords))&&n(e,t,h,o+"/"+p,s,o,p,r)}}}function i(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var a=t.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,r,e,"",e)};a.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},a.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},a.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},a.skipKeywords={enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},{}],259:[function(e,t,r){!function(e,r){"function"==typeof define&&define.amd?define([],function(){return r()}):"object"==typeof t&&t.exports?t.exports=r():e.jsonSchema=r()}(this,function(){function e(t,r){return e(t,r,{changing:!1})}var t=e;t.Integer={type:"integer"};var r={String:String,Boolean:Boolean,Number:Number,Object:Object,Array:Array,Date:Date};t.validate=e,t.checkPropertyChange=function(t,r,n){return e(t,r,{changing:n||"property"})};var e=t._validate=function(e,t,n){function i(e){return e.type||r[e.name]==e&&e.name.toLowerCase()}function a(e,t,r,u){function l(e){c.push({property:r,message:e})}function f(e,t){if(e){if(!("string"!=typeof e||"any"==e||("null"==e?null===t:typeof t==e)||t instanceof Array&&"array"==e||t instanceof Date&&"date"==e||"integer"==e&&t%1==0))return[{property:r,message:typeof t+" value found, but a "+e+" is required"}];if(e instanceof Array){for(var n=[],i=0;i<e.length&&(n=f(e[i],t)).length;i++);if(n.length)return n}else if("object"==typeof e){var o=c;c=[],a(t,e,r);var s=c;return c=o,s}}return[]}var p;if(r+=r?"number"==typeof u?"["+u+"]":void 0===u?"":"."+u:u,("object"!=typeof t||t instanceof Array)&&(r||"function"!=typeof t)&&(!t||!i(t)))return"function"==typeof t?e instanceof t||l("is not an instance of the class/constructor "+t.name):t&&l("Invalid schema/property definition "+t),null;if(s&&t.readonly&&l("is a readonly field, it can not be changed"),t.extends&&a(e,t.extends,r,u),void 0===e)t.required&&l("is missing and it is required");else if(c=c.concat(f(i(t),e)),t.disallow&&!f(t.disallow,e).length&&l(" disallowed value was matched"),null!==e){if(e instanceof Array){if(t.items){var h=t.items instanceof Array,d=t.items;for(u=0,p=e.length;u<p;u+=1)h&&(d=t.items[u]),n.coerce&&(e[u]=n.coerce(e[u],d)),c.concat(a(e[u],d,r,u))}t.minItems&&e.length<t.minItems&&l("There must be a minimum of "+t.minItems+" in the array"),t.maxItems&&e.length>t.maxItems&&l("There must be a maximum of "+t.maxItems+" in the array")}else(t.properties||t.additionalProperties)&&c.concat(o(e,t.properties,r,t.additionalProperties));if(t.pattern&&"string"==typeof e&&!e.match(t.pattern)&&l("does not match the regex pattern "+t.pattern),t.maxLength&&"string"==typeof e&&e.length>t.maxLength&&l("may only be "+t.maxLength+" characters long"),t.minLength&&"string"==typeof e&&e.length<t.minLength&&l("must be at least "+t.minLength+" characters long"),void 0!==typeof t.minimum&&typeof e==typeof t.minimum&&t.minimum>e&&l("must have a minimum value of "+t.minimum),void 0!==typeof t.maximum&&typeof e==typeof t.maximum&&t.maximum<e&&l("must have a maximum value of "+t.maximum),t.enum){var m=t.enum;p=m.length;for(var g,v=0;v<p;v++)if(m[v]===e){g=1;break}g||l("does not have a value in the enumeration "+m.join(", "))}"number"==typeof t.maxDecimal&&e.toString().match(new RegExp("\\.[0-9]{"+(t.maxDecimal+1)+",}"))&&l("may only have "+t.maxDecimal+" digits of decimal places")}return null}function o(e,t,r,i){if("object"==typeof t){("object"!=typeof e||e instanceof Array)&&c.push({property:r,message:"an object is required"});for(var o in t)if(t.hasOwnProperty(o)){var u=e[o];if(void 0===u&&n.existingOnly)continue;var l=t[o];void 0===u&&l.default&&(u=e[o]=l.default),n.coerce&&o in e&&(u=e[o]=n.coerce(u,l)),a(u,l,r,o)}}for(o in e){if(e.hasOwnProperty(o)&&("_"!=o.charAt(0)||"_"!=o.charAt(1))&&t&&!t[o]&&!1===i){if(n.filter){delete e[o];continue}c.push({property:r,message:typeof u+"The property "+o+" is not defined in the schema and the schema does not allow additional properties"})}var f=t&&t[o]&&t[o].requires;!f||f in e||c.push({property:r,message:"the presence of the property "+o+" requires that "+f+" also be present"}),u=e[o],!i||t&&"object"==typeof t&&o in t||(n.coerce&&(u=e[o]=n.coerce(u,i)),a(u,i,r,o)),!s&&u&&u.$schema&&(c=c.concat(a(u,u.$schema,r,o)))}return c}n||(n={});var s=n.changing,c=[];return t&&a(e,t,"",s||""),!s&&e&&e.$schema&&a(e,e.$schema,"",""),{valid:!c.length,errors:c}};return t.mustBeValid=function(e){if(!e.valid)throw new TypeError(e.errors.map(function(e){return"for property "+e.property+": "+e.message}).join(", \n"))},t})},{}],260:[function(e,t,r){var n="undefined"!=typeof JSON?JSON:e("jsonify");t.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r=t.space||"";"number"==typeof r&&(r=Array(r+1).join(" "));var o="boolean"==typeof t.cycles&&t.cycles,s=t.replacer||function(e,t){return t},c=t.cmp&&function(e){return function(t){return function(r,n){var i={key:r,value:t[r]},a={key:n,value:t[n]};return e(i,a)}}}(t.cmp),u=[];return function e(t,l,f,p){var h=r?"\n"+new Array(p+1).join(r):"",d=r?": ":":";if(f&&f.toJSON&&"function"==typeof f.toJSON&&(f=f.toJSON()),void 0!==(f=s.call(t,l,f))){if("object"!=typeof f||null===f)return n.stringify(f);if(i(f)){for(var m=[],g=0;g<f.length;g++){var v=e(f,g,f[g],p+1)||n.stringify(null);m.push(h+r+v)}return"["+m.join(",")+h+"]"}if(-1!==u.indexOf(f)){if(o)return n.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}u.push(f);for(var b=a(f).sort(c&&c(f)),m=[],g=0;g<b.length;g++){var y=e(f,l=b[g],f[l],p+1);if(y){var _=n.stringify(l)+d+y;m.push(h+r+_)}}return u.splice(u.indexOf(f),1),"{"+m.join(",")+h+"}"}}({"":e},"",e,0)};var i=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},a=Object.keys||function(e){var t=Object.prototype.hasOwnProperty||function(){return!0},r=[];for(var n in e)t.call(e,n)&&r.push(n);return r}},{jsonify:262}],261:[function(e,t,r){function n(e,t){var r=[],n=[];return null==t&&(t=function(e,t){return r[0]===t?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(t)).join(".")+"]"}),function(i,a){if(r.length>0){var o=r.indexOf(this);~o?r.splice(o+1):r.push(this),~o?n.splice(o,1/0,i):n.push(i),~r.indexOf(a)&&(a=t.call(this,i,a))}else r.push(a);return null==e?a:e.call(this,i,a)}}(t.exports=function(e,t,r,i){return JSON.stringify(e,n(t,i),r)}).getSerialize=n},{}],262:[function(e,t,r){r.parse=e("./lib/parse"),r.stringify=e("./lib/stringify")},{"./lib/parse":263,"./lib/stringify":264}],263:[function(e,t,r){var n,i,a,o,s={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},c=function(e){throw{name:"SyntaxError",message:e,at:n,text:a}},u=function(e){return e&&e!==i&&c("Expected '"+e+"' instead of '"+i+"'"),i=a.charAt(n),n+=1,i},l=function(){var e,t="";for("-"===i&&(t="-",u("-"));i>="0"&&i<="9";)t+=i,u();if("."===i)for(t+=".";u()&&i>="0"&&i<="9";)t+=i;if("e"===i||"E"===i)for(t+=i,u(),"-"!==i&&"+"!==i||(t+=i,u());i>="0"&&i<="9";)t+=i,u();if(e=+t,isFinite(e))return e;c("Bad number")},f=function(){var e,t,r,n="";if('"'===i)for(;u();){if('"'===i)return u(),n;if("\\"===i)if(u(),"u"===i){for(r=0,t=0;t<4&&(e=parseInt(u(),16),isFinite(e));t+=1)r=16*r+e;n+=String.fromCharCode(r)}else{if("string"!=typeof s[i])break;n+=s[i]}else n+=i}c("Bad string")},p=function(){for(;i&&i<=" ";)u()},h=function(){switch(i){case"t":return u("t"),u("r"),u("u"),u("e"),!0;case"f":return u("f"),u("a"),u("l"),u("s"),u("e"),!1;case"n":return u("n"),u("u"),u("l"),u("l"),null}c("Unexpected '"+i+"'")},d=function(){var e=[];if("["===i){if(u("["),p(),"]"===i)return u("]"),e;for(;i;){if(e.push(o()),p(),"]"===i)return u("]"),e;u(","),p()}}c("Bad array")},m=function(){var e,t={};if("{"===i){if(u("{"),p(),"}"===i)return u("}"),t;for(;i;){if(e=f(),p(),u(":"),Object.hasOwnProperty.call(t,e)&&c('Duplicate key "'+e+'"'),t[e]=o(),p(),"}"===i)return u("}"),t;u(","),p()}}c("Bad object")};o=function(){switch(p(),i){case"{":return m();case"[":return d();case'"':return f();case"-":return l();default:return i>="0"&&i<="9"?l():h()}},t.exports=function(e,t){var r;return a=e,n=0,i=" ",r=o(),p(),i&&c("Syntax error"),"function"==typeof t?function e(r,n){var i,a,o=r[n];if(o&&"object"==typeof o)for(i in o)Object.prototype.hasOwnProperty.call(o,i)&&(void 0!==(a=e(o,i))?o[i]=a:delete o[i]);return t.call(r,n,o)}({"":r},""):r}},{}],264:[function(e,t,r){function n(e){return c.lastIndex=0,c.test(e)?'"'+e.replace(c,function(e){var t=u[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function i(e,t){var r,c,u,l,f,p=a,h=t[e];switch(h&&"object"==typeof h&&"function"==typeof h.toJSON&&(h=h.toJSON(e)),"function"==typeof s&&(h=s.call(t,e,h)),typeof h){case"string":return n(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(a+=o,f=[],"[object Array]"===Object.prototype.toString.apply(h)){for(l=h.length,r=0;r<l;r+=1)f[r]=i(r,h)||"null";return u=0===f.length?"[]":a?"[\n"+a+f.join(",\n"+a)+"\n"+p+"]":"["+f.join(",")+"]",a=p,u}if(s&&"object"==typeof s)for(l=s.length,r=0;r<l;r+=1)"string"==typeof(c=s[r])&&(u=i(c,h))&&f.push(n(c)+(a?": ":":")+u);else for(c in h)Object.prototype.hasOwnProperty.call(h,c)&&(u=i(c,h))&&f.push(n(c)+(a?": ":":")+u);return u=0===f.length?"{}":a?"{\n"+a+f.join(",\n"+a)+"\n"+p+"}":"{"+f.join(",")+"}",a=p,u}}var a,o,s,c=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,u={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};t.exports=function(e,t,r){var n;if(a="",o="","number"==typeof r)for(n=0;n<r;n+=1)o+=" ";else"string"==typeof r&&(o=r);if(s=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return i("",{"":e})}},{}],265:[function(e,t,r){},{}],266:[function(e,t,r){(function(r,n,i){/**
* A JavaScript implementation of the JSON-LD API.
*
* @author Dave Longley
*
* @license BSD 3-Clause License
* Copyright (c) 2011-2015 Digital Bazaar, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* Neither the name of the Digital Bazaar, Inc. nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
!function(){var a=void 0!==r&&r.versions&&r.versions.node,o=!a&&("undefined"!=typeof window||"undefined"!=typeof self);o&&void 0===n&&("undefined"!=typeof window?n=window:"undefined"!=typeof self?n=self:"undefined"!=typeof $&&(n=$));var s=function(t){function s(){}function c(e){for(var t=[],r=Object.keys(e).sort(),n=0;n<r.length;++n){var i=r[n],a=e[i];L(a)||(a=[a]);for(var o=0;o<a.length;++o){var s=a[o];if(null!==s){if(!U(s))throw new Ie("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:e});t.push({"@value":s,"@language":i.toLowerCase()})}}}return t}function u(e,t){if(L(t))for(var r=0;r<t.length;++r)t[r]=u(e,t[r]);else if(W(t))t["@list"]=u(e,t["@list"]);else if(q(t)){X(t)&&(t["@id"]=e.getId(t["@id"]));for(var n=Object.keys(t).sort(),i=0;i<n.length;++i){var a=n[i];"@id"!==a&&(t[a]=u(e,t[a]))}}return t}function l(e,r,n){if(null===n||void 0===n)return null;var i=C(e,r,{vocab:!0});if("@id"===i)return C(e,n,{base:!0});if("@type"===i)return C(e,n,{vocab:!0,base:!0});var a=t.getContextValue(e,r,"@type");if("@id"===a||"@graph"===i&&U(n))return{"@id":C(e,n,{base:!0})};if("@vocab"===a)return{"@id":C(e,n,{vocab:!0,base:!0})};if(D(i))return n;var o={};if(null!==a)o["@type"]=a;else if(U(n)){var s=t.getContextValue(e,r,"@language");null!==s&&(o["@language"]=s)}return-1===["boolean","number","string"].indexOf(typeof n)&&(n=n.toString()),o["@value"]=n,o}function f(e,t,r){for(var n=[],i=Object.keys(e).sort(),a=0;a<i.length;++a)for(var o=i[a],s=e[o],c=Object.keys(s).sort(),u=0;u<c.length;++u){var l=c[u],f=s[l];if("@type"===l)l=ke;else if(D(l))continue;for(var d=0;d<f.length;++d){var m=f[d],g={};if(g.type=0===o.indexOf("_:")?"blank node":"IRI",g.value=o,Y(o)){var v={};if(v.type=0===l.indexOf("_:")?"blank node":"IRI",v.value=l,Y(l)&&("blank node"!==v.type||r.produceGeneralizedRdf))if(W(m))p(m["@list"],t,g,v,n);else{var b=h(m);b&&n.push({subject:g,predicate:v,object:b})}}}}return n}function p(e,t,r,n,i){for(var a={type:"IRI",value:ye},o={type:"IRI",value:_e},s={type:"IRI",value:xe},c=0;c<e.length;++c){var u=e[c],l={type:"blank node",value:t.getId()};i.push({subject:r,predicate:n,object:l}),r=l,n=a;var f=h(u);f&&i.push({subject:r,predicate:n,object:f}),n=o}i.push({subject:r,predicate:n,object:s})}function h(e){var t={};if(J(e)){t.type="literal";var r=e["@value"],n=e["@type"]||null;K(r)?(t.value=r.toString(),t.datatype=n||de):H(r)||n===me?(H(r)||(r=parseFloat(r)),t.value=r.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),t.datatype=n||me):$(r)?(t.value=r.toFixed(0),t.datatype=n||ge):"@language"in e?(t.value=r,t.datatype=n||Ee,t.language=e["@language"]):(t.value=r,t.datatype=n||ve)}else{var i=q(e)?e["@id"]:e;t.type=0===i.indexOf("_:")?"blank node":"IRI",t.value=i}return"IRI"!==t.type||Y(t.value)?t:null}function d(e,t){if("IRI"===e.type||"blank node"===e.type)return{"@id":e.value};var r={"@value":e.value};if(e.language)r["@language"]=e.language;else{var n=e.datatype;if(n||(n=ve),t){if(n===de)"true"===r["@value"]?r["@value"]=!0:"false"===r["@value"]&&(r["@value"]=!1);else if(V(r["@value"]))if(n===ge){var i=parseInt(r["@value"],10);i.toFixed(0)===r["@value"]&&(r["@value"]=i)}else n===me&&(r["@value"]=parseFloat(r["@value"]));-1===[de,ge,me,ve].indexOf(n)&&(r["@type"]=n)}else n!==ve&&(r["@type"]=n)}return r}function m(e,t){for(var r=["subject","predicate","object"],n=0;n<r.length;++n){var i=r[n];if(e[i].type!==t[i].type||e[i].value!==t[i].value)return!1}return e.object.language===t.object.language&&e.object.datatype===t.object.datatype}function g(e,r,n,i,a,o){if(L(e))for(c=0;c<e.length;++c)g(e[c],r,n,i,void 0,o);else if(q(e)){if(J(e))return"@type"in e&&0===(u=e["@type"]).indexOf("_:")&&(e["@type"]=u=i.getId(u)),void(o&&o.push(e));if("@type"in e)for(var s=e["@type"],c=0;c<s.length;++c){var u=s[c];0===u.indexOf("_:")&&i.getId(u)}Q(a)&&(a=X(e)?i.getId(e["@id"]):e["@id"]),o&&o.push({"@id":a});var l=r[n],f=l[a]=l[a]||{};f["@id"]=a;for(var p=Object.keys(e).sort(),h=0;h<p.length;++h){var d=p[h];if("@id"!==d)if("@reverse"!==d)if("@graph"!==d)if("@type"!==d&&D(d)){if("@index"===d&&d in f&&(e[d]!==f[d]||e[d]["@id"]!==f[d]["@id"]))throw new Ie("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:f});f[d]=e[d]}else{var m=e[d];if(0===d.indexOf("_:")&&(d=i.getId(d)),0!==m.length)for(var v=0;v<m.length;++v){var b=m[v];if("@type"===d&&(b=0===b.indexOf("_:")?i.getId(b):b),G(b)||Z(b)){var y=X(b)?i.getId(b["@id"]):b["@id"];t.addValue(f,d,{"@id":y},{propertyIsArray:!0,allowDuplicate:!1}),g(b,r,n,i,y)}else if(W(b)){var _=[];g(b["@list"],r,n,i,a,_),b={"@list":_},t.addValue(f,d,b,{propertyIsArray:!0,allowDuplicate:!1})}else g(b,r,n,i,a),t.addValue(f,d,b,{propertyIsArray:!0,allowDuplicate:!1})}else t.addValue(f,d,[],{propertyIsArray:!0})}else{a in r||(r[a]={});var x="@merged"===n?n:a;g(e[d],r,x,i)}else{var k={"@id":a},w=e["@reverse"];for(var j in w)for(var S=w[j],E=0;E<S.length;++E){var A=S[E],F=A["@id"];X(A)&&(F=i.getId(F)),g(A,r,n,i,F),t.addValue(l[F],j,k,{propertyIsArray:!0,allowDuplicate:!1})}}}}else o&&o.push(e)}function v(e){for(var t=e["@default"],r=Object.keys(e).sort(),n=0;n<r.length;++n){var i=r[n];if("@default"!==i){var a=e[i],o=t[i];o?"@graph"in o||(o["@graph"]=[]):t[i]=o={"@id":i,"@graph":[]};for(var s=o["@graph"],c=Object.keys(a).sort(),u=0;u<c.length;++u){var l=a[c[u]];Z(l)||s.push(l)}}}return t}function b(e,t,r,n,i){k(r),r=r[0];for(var a=e.options,o={embed:x(r,a,"embed"),explicit:x(r,a,"explicit"),requireAll:x(r,a,"requireAll")},s=w(e,t,r,o),c=Object.keys(s).sort(),u=0;u<c.length;++u){var l=c[u],f=s[l];if("@link"===o.embed&&l in e.link)E(n,i,e.link[l]);else{null===i&&(e.uniqueEmbeds={});var p={};if(p["@id"]=l,e.link[l]=p,"@never"===o.embed||_(f,e.subjectStack))E(n,i,p);else{"@last"===o.embed&&(l in e.uniqueEmbeds&&S(e,l),e.uniqueEmbeds[l]={parent:n,property:i}),e.subjectStack.push(f);for(var h=Object.keys(f).sort(),d=0;d<h.length;d++)if(D(O=h[d]))p[O]=ee(f[O]);else if(!o.explicit||O in r)for(var m=f[O],g=0;g<m.length;++g){var v=m[g];if(W(v)){var j={"@list":[]};E(p,O,j);var A=v["@list"];for(var F in A)if(v=A[F],Z(v)){I=O in r?r[O][0]["@list"]:y(o);b(e,[v["@id"]],I,j,"@list")}else E(j,"@list",ee(v))}else if(Z(v)){var I=O in r?r[O]:y(o);b(e,[v["@id"]],I,p,O)}else E(p,O,ee(v))}for(var h=Object.keys(r).sort(),d=0;d<h.length;++d){var O=h[d];if(!D(O)){var P=r[O][0];if(!(x(P,a,"omitDefault")||O in p)){var T="@null";"@default"in P&&(T=ee(P["@default"])),L(T)||(T=[T]),p[O]=[{"@preserve":T}]}}}E(n,i,p),e.subjectStack.pop()}}}}function y(e){var t={};for(var r in e)void 0!==e[r]&&(t["@"+r]=[e[r]]);return[t]}function _(e,t){for(var r=t.length-1;r>=0;--r)if(t[r]["@id"]===e["@id"])return!0;return!1}function x(e,t,r){var n="@"+r,i=n in e?e[n][0]:t[r];return"embed"===r&&(!0===i?i="@last":!1===i?i="@never":"@always"!==i&&"@never"!==i&&"@link"!==i&&(i="@last")),i}function k(e){if(!L(e)||1!==e.length||!q(e[0]))throw new Ie("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:e})}function w(e,t,r,n){for(var i={},a=0;a<t.length;++a){var o=t[a],s=e.subjects[o];j(s,r,n)&&(i[o]=s)}return i}function j(e,r,n){if("@type"in r&&(1!==r["@type"].length||!q(r["@type"][0]))){for(var i=r["@type"],a=0;a<i.length;++a)if(t.hasValue(e,"@type",i[a]))return!0;return!1}var o=!0,s=!1;for(var c in r){if(D(c)){if("@id"!==c&&"@type"!==c)continue;if(o=!1,"@id"===c&&U(r[c])){if(e[c]!==r[c])return!1;s=!0;continue}}if(o=!1,c in e){if(L(r[c])&&0===r[c].length&&void 0!==e[c])return!1;s=!0}else{var u=L(r[c])&&q(r[c][0])&&"@default"in r[c][0];if(n.requireAll&&!u)return!1}}return o||s}function S(e,r){var n=e.uniqueEmbeds,i=n[r],a=i.parent,o=i.property,s={"@id":r};if(L(a)){for(var c=0;c<a.length;++c)if(t.compareValues(a[c],s)){a[c]=s;break}}else{var u=L(a[o]);t.removeValue(a,o,s,{propertyIsArray:u}),t.addValue(a,o,s,{propertyIsArray:u})}var l=function(e){for(var t=Object.keys(n),r=0;r<t.length;++r){var i=t[r];i in n&&q(n[i].parent)&&n[i].parent["@id"]===e&&(delete n[i],l(i))}};l(r)}function E(e,r,n){q(e)?t.addValue(e,r,n,{propertyIsArray:!0}):e.push(n)}/**
* Removes the @preserve keywords as the last step of the framing algorithm.
*
* @param ctx the active context used to compact the input.
* @param input the framed, compacted output.
* @param options the compaction options used.
*
* @return the resulting output.
*/
function A(e,r,n){if(L(r)){for(var i=[],a=0;a<r.length;++a)null!==(l=A(e,r[a],n))&&i.push(l);r=i}else if(q(r)){if("@preserve"in r)return"@null"===r["@preserve"]?null:r["@preserve"];if(J(r))return r;if(W(r))return r["@list"]=A(e,r["@list"],n),r;var o=O(e,"@id");if(o in r){var s=r[o];if(s in n.link){var c=n.link[s].indexOf(r);if(-1!==c)return n.link[s][c];n.link[s].push(r)}else n.link[s]=[r]}for(var u in r){var l=A(e,r[u],n),f=t.getContextValue(e,u,"@container");n.compactArrays&&L(l)&&1===l.length&&null===f&&(l=l[0]),r[u]=l}}return r}function F(e,t){return e.length<t.length?-1:t.length<e.length?1:e===t?0:e<t?-1:1}function I(e,t,r,n,i,a){null===a&&(a="@null");var o=[];if("@id"!==a&&"@reverse"!==a||!Z(r))o.push(a);else{"@reverse"===a&&o.push("@reverse");var s=O(e,r["@id"],null,{vocab:!0});s in e.mappings&&e.mappings[s]&&e.mappings[s]["@id"]===r["@id"]?o.push.apply(o,["@vocab","@id"]):o.push.apply(o,["@id","@vocab"])}o.push("@none");for(var c=e.inverse[t],u=0;u<n.length;++u){var l=n[u];if(l in c)for(var f=c[l][i],p=0;p<o.length;++p){var h=o[p];if(h in f)return f[h]}}return null}function O(e,t,r,n,i){if(null===t)return t;Q(r)&&(r=null),Q(i)&&(i=!1),n=n||{};var a=e.getInverse();if(D(t))return t in a?a[t]["@none"]["@type"]["@none"]:t;if(n.vocab&&t in a){var o=e["@language"]||"@none",s=[];q(r)&&"@index"in r&&s.push("@index");var c="@language",u="@null";if(i)c="@type",u="@reverse",s.push("@set");else if(W(r)){"@index"in r||s.push("@list");for(var l=r["@list"],f=0===l.length?o:null,p=null,h=0;h<l.length;++h){var d=l[h],m="@none",g="@none";if(J(d)?"@language"in d?m=d["@language"]:"@type"in d?g=d["@type"]:m="@null":g="@id",null===f?f=m:m!==f&&J(d)&&(f="@none"),null===p?p=g:g!==p&&(p="@none"),"@none"===f&&"@none"===p)break}f=f||"@none","@none"!==(p=p||"@none")?(c="@type",u=p):u=f}else J(r)?"@language"in r&&!("@index"in r)?(s.push("@language"),u=r["@language"]):"@type"in r&&(c="@type",u=r["@type"]):(c="@type",u="@id"),s.push("@set");s.push("@none");var v=I(e,t,r,s,c,u);if(null!==v)return v}if(n.vocab&&"@vocab"in e){var b=e["@vocab"];if(0===t.indexOf(b)&&t!==b){var y=t.substr(b.length);if(!(y in e.mappings))return y}}for(var _=null,x=0,k=[],w=e.fastCurieMap,j=t.length-1;x<j&&t[x]in w;++x)""in(w=w[t[x]])&&k.push(w[""][0]);for(h=k.length-1;h>=0;--h)for(var S=k[h],E=S.terms,A=0;A<E.length;++A){var O=E[A]+":"+t.substr(S.iri.length);(!(O in e.mappings)||null===r&&e.mappings[O]["@id"]===t)&&(null===_||F(O,_)<0)&&(_=O)}return null!==_?_:n.vocab?t:R(e["@base"],t)}function P(e,r,n){if(J(n)){var i=t.getContextValue(e,r,"@type"),a=t.getContextValue(e,r,"@language"),o=t.getContextValue(e,r,"@container"),s="@index"in n&&"@index"!==o;if(!s&&(n["@type"]===i||n["@language"]===a))return n["@value"];var c=Object.keys(n).length,u=1===c||2===c&&"@index"in n&&!s,l="@language"in e,f=U(n["@value"]),p=e.mappings[r]&&null===e.mappings[r]["@language"];if(u&&(!l||!f||p))return n["@value"];var h={};return s&&(h[O(e,"@index")]=n["@index"]),"@type"in n?h[O(e,"@type")]=O(e,n["@type"],null,{vocab:!0}):"@language"in n&&(h[O(e,"@language")]=n["@language"]),h[O(e,"@value")]=n["@value"],h}var d=C(e,r,{vocab:!0}),i=t.getContextValue(e,r,"@type"),m=O(e,n["@id"],null,{vocab:"@vocab"===i});return"@id"===i||"@vocab"===i||"@graph"===d?m:((h={})[O(e,"@id")]=m,h)}function T(e,t,r,n){if(r in n){if(n[r])return;throw new Ie("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:t,term:r})}if(n[r]=!1,D(r))throw new Ie("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:t,term:r});if(""===r)throw new Ie("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:t});e.mappings[r]&&delete e.mappings[r];var i=t[r];if(null===i||q(i)&&null===i["@id"])return e.mappings[r]=null,void(n[r]=!0);if(U(i)&&(i={"@id":i}),!q(i))throw new Ie("Invalid JSON-LD syntax; @context property values must be strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:t});var a=e.mappings[r]={};if(a.reverse=!1,"@reverse"in i){if("@id"in i)throw new Ie("Invalid JSON-LD syntax; a @reverse term definition must not contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});var o=i["@reverse"];if(!U(o))throw new Ie("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});if(!Y(h=C(e,o,{vocab:!0,base:!1},t,n)))throw new Ie("Invalid JSON-LD syntax; a @context @reverse value must be an absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});a["@id"]=h,a.reverse=!0}else if("@id"in i){if(!U(h=i["@id"]))throw new Ie("Invalid JSON-LD syntax; a @context @id value must be an array of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});if(h!==r){if(h=C(e,h,{vocab:!0,base:!1},t,n),!Y(h)&&!D(h))throw new Ie("Invalid JSON-LD syntax; a @context @id value must be an absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t});a["@id"]=h}}var s=r.indexOf(":");if(a._termHasColon=-1!==s,!("@id"in a))if(a._termHasColon){var c=r.substr(0,s);if(c in t&&T(e,t,c,n),e.mappings[c]){var u=r.substr(s+1);a["@id"]=e.mappings[c]["@id"]+u}else a["@id"]=r}else{if(!("@vocab"in e))throw new Ie("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:t,term:r});a["@id"]=e["@vocab"]+r}if(n[r]=!0,"@type"in i){var l=i["@type"];if(!U(l))throw new Ie("Invalid JSON-LD syntax; an @context @type values must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:t});if("@id"!==l&&"@vocab"!==l){if(l=C(e,l,{vocab:!0,base:!1},t,n),!Y(l))throw new Ie("Invalid JSON-LD syntax; an @context @type value must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:t});if(0===l.indexOf("_:"))throw new Ie("Invalid JSON-LD syntax; an @context @type values must be an IRI, not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:t})}a["@type"]=l}if("@container"in i){var f=i["@container"];if("@list"!==f&&"@set"!==f&&"@index"!==f&&"@language"!==f)throw new Ie("Invalid JSON-LD syntax; @context @container value must be one of the following: @list, @set, @index, or @language.","jsonld.SyntaxError",{code:"invalid container mapping",context:t});if(a.reverse&&"@index"!==f&&"@set"!==f&&null!==f)throw new Ie("Invalid JSON-LD syntax; @context @container value for a @reverse type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:t});a["@container"]=f}if("@language"in i&&!("@type"in i)){var p=i["@language"];if(null!==p&&!U(p))throw new Ie("Invalid JSON-LD syntax; @context @language value must be a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:t});null!==p&&(p=p.toLowerCase()),a["@language"]=p}var h=a["@id"];if("@context"===h||"@preserve"===h)throw new Ie("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:t})}function C(e,r,n,i,a){if(null===r||D(r))return r;if(r=String(r),i&&r in i&&!0!==a[r]&&T(e,i,r,a),(n=n||{}).vocab){if(null===(u=e.mappings[r]))return null;if(u)return u["@id"]}var o=r.indexOf(":");if(-1!==o){var s=r.substr(0,o),c=r.substr(o+1);if("_"===s||0===c.indexOf("//"))return r;i&&s in i&&T(e,i,s,a);var u=e.mappings[s];return u?u["@id"]+c:r}if(n.vocab&&"@vocab"in e)return e["@vocab"]+r;var l=r;return n.base&&(l=t.prependBase(e["@base"],l)),l}function z(e,r){if(null===e)return r;if(-1!==r.indexOf(":"))return r;U(e)&&(e=t.url.parse(e||""));var n=t.url.parse(r),i={protocol:e.protocol||""};if(null!==n.authority)i.authority=n.authority,i.path=n.path,i.query=n.query;else if(i.authority=e.authority,""===n.path)i.path=e.path,null!==n.query?i.query=n.query:i.query=e.query;else{if(0===n.path.indexOf("/"))i.path=n.path;else{var a=e.path;""!==n.path&&((a=a.substr(0,a.lastIndexOf("/")+1)).length>0&&"/"!==a.substr(-1)&&(a+="/"),a+=n.path),i.path=a}i.query=n.query}i.path=se(i.path,!!i.authority);var o=i.protocol;return null!==i.authority&&(o+="//"+i.authority),o+=i.path,null!==i.query&&(o+="?"+i.query),null!==n.fragment&&(o+="#"+n.fragment),""===o&&(o="./"),o}function R(e,r){if(null===e)return r;U(e)&&(e=t.url.parse(e||""));var n="";if(""!==e.href?n+=(e.protocol||"")+"//"+(e.authority||""):r.indexOf("//")&&(n+="//"),0!==r.indexOf(n))return r;for(var i=t.url.parse(r.substr(n.length)),a=e.normalizedPath.split("/"),o=i.normalizedPath.split("/"),s=i.fragment||i.query?0:1;a.length>0&&o.length>s&&a[0]===o[0];)a.shift(),o.shift();var c="";if(a.length>0){a.pop();for(var u=0;u<a.length;++u)c+="../"}return c+=o.join("/"),null!==i.query&&(c+="?"+i.query),null!==i.fragment&&(c+="#"+i.fragment),""===c&&(c="./"),c}function B(e){function r(e,t,n){for(var i,a,o=e[t],s=e[t]={},c=0;c<o.length;++c)(a=n>=(i=o[c].iri).length?"":i[n])in s?s[a].push(o[c]):s[a]=[o[c]];for(var t in s)""!==t&&r(s,t,n+1)}function n(e,t,r,n){n in r||(r[n]=t)}return{"@base":t.url.parse(e.base||""),mappings:{},inverse:null,getInverse:function(){var e=this;if(e.inverse)return e.inverse;for(var t=e.inverse={},i=e.fastCurieMap={},a={},o=e["@language"]||"@none",s=e.mappings,c=Object.keys(s).sort(F),u=0;u<c.length;++u){var l=c[u],f=s[l];if(null!==f){var p=f["@container"]||"@none",h=f["@id"];L(h)||(h=[h]);for(var d=0;d<h.length;++d){var m=h[d],g=t[m],v=D(m);if(g)v||f._termHasColon||a[m].push(l);else if(t[m]=g={},!v&&!f._termHasColon){a[m]=[l];var b={iri:m,terms:a[m]};m[0]in i?i[m[0]].push(b):i[m[0]]=[b]}if(g[p]||(g[p]={"@language":{},"@type":{}}),g=g[p],f.reverse)n(0,l,g["@type"],"@reverse");else if("@type"in f)n(0,l,g["@type"],f["@type"]);else if("@language"in f){var y=f["@language"]||"@null";n(0,l,g["@language"],y)}else n(0,l,g["@language"],o),n(0,l,g["@type"],"@none"),n(0,l,g["@language"],"@none")}}}for(var _ in i)r(i,_,1);return t},clone:function(){var e={};return e["@base"]=this["@base"],e.mappings=ee(this.mappings),e.clone=this.clone,e.inverse=null,e.getInverse=this.getInverse,"@language"in this&&(e["@language"]=this["@language"]),"@vocab"in this&&(e["@vocab"]=this["@vocab"]),e}}}function D(e){if(!U(e))return!1;switch(e){case"@base":case"@context":case"@container":case"@default":case"@embed":case"@explicit":case"@graph":case"@id":case"@index":case"@language":case"@list":case"@omitDefault":case"@preserve":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@vocab":return!0}return!1}function q(e){return"[object Object]"===Object.prototype.toString.call(e)}function M(e){return q(e)&&0===Object.keys(e).length}function L(e){return Array.isArray(e)}function N(e){if(!U(e)&&!M(e)){var t=!1;if(L(e)){t=!0;for(var r=0;r<e.length;++r)if(!U(e[r])){t=!1;break}}if(!t)throw new Ie('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, or an empty object.',"jsonld.SyntaxError",{code:"invalid type value",value:e})}}function U(e){return"string"==typeof e||"[object String]"===Object.prototype.toString.call(e)}function $(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function H(e){return $(e)&&-1!==String(e).indexOf(".")}function V(e){return!isNaN(parseFloat(e))&&isFinite(e)}function K(e){return"boolean"==typeof e||"[object Boolean]"===Object.prototype.toString.call(e)}function Q(e){return void 0===e}function G(e){var t=!1;return q(e)&&!("@value"in e||"@set"in e||"@list"in e)&&(t=Object.keys(e).length>1||!("@id"in e)),t}function Z(e){return q(e)&&1===Object.keys(e).length&&"@id"in e}function J(e){return q(e)&&"@value"in e}function W(e){return q(e)&&"@list"in e}function X(e){var t=!1;return q(e)&&(t="@id"in e?0===e["@id"].indexOf("_:"):0===Object.keys(e).length||!("@value"in e||"@set"in e||"@list"in e)),t}function Y(e){return U(e)&&-1!==e.indexOf(":")}function ee(e){if(e&&"object"==typeof e){var t;if(L(e)){t=[];for(var r=0;r<e.length;++r)t[r]=ee(e[r])}else if(q(e)){t={};for(var n in e)t[n]=ee(e[n])}else t=e.toString();return t}return e}function te(e,r,n,i){var a=Object.keys(r).length;if(L(e)){for(u=0;u<e.length;++u)te(e[u],r,n,i);return a<Object.keys(r).length}if(q(e)){for(var o in e)if("@context"===o){var s=e[o];if(L(s))for(var c=s.length,u=0;u<c;++u){var l=s[u];U(l)&&(l=t.prependBase(i,l),n?L(l=r[l])?(Array.prototype.splice.apply(s,[u,1].concat(l)),u+=l.length-1,c=s.length):s[u]=l:l in r||(r[l]=!1))}else U(s)&&(s=t.prependBase(i,s),n?e[o]=r[s]:s in r||(r[s]=!1))}else te(e[o],r,n,i);return a<Object.keys(r).length}return!1}function re(e,t,r){var n=null,i=t.documentLoader,a=function(e,t,r,i,o){if(Object.keys(t).length>Fe)return n=new Ie("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:"loading remote context failed",max:Fe}),o(n);var s={},c=function(){te(e,s,!0,i),o(null,e)};if(!te(e,s,!1,i))return c();var u=[];for(var l in s)!1===s[l]&&u.push(l);for(var f=u.length,p=0;p<u.length;++p)!function(e){if(e in t)return n=new Ie("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:"recursive context inclusion",url:e}),o(n);var i=ee(t);i[e]=!0;var u=function(t,u){if(!n){var l=u?u.document:null;if(!t&&U(l))try{l=JSON.parse(l)}catch(e){t=e}if(t?t=new Ie("Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:e,cause:t}):q(l)||(t=new Ie("Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:e,cause:t})),t)return n=t,o(n);l="@context"in l?{"@context":l["@context"]}:{"@context":{}},u.contextUrl&&(L(l["@context"])||(l["@context"]=[l["@context"]]),l["@context"].push(u.contextUrl)),a(l,i,r,e,function(t,r){if(t)return o(t);s[e]=r["@context"],0===(f-=1)&&c()})}},l=r(e,u);l&&"then"in l&&l.then(u.bind(null,null),u)}(u[p])};a(e,{},i,t.base,r)}function ne(e){for(var t=/(?:\r\n)|(?:\n)|(?:\r)/g,r=new RegExp("^[ \\t]*(?:#.*)?$"),n=new RegExp('^[ \\t]*(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-z0-9]+)))[ \\t]+(?:<([^:]+:[^>]*)>)[ \\t]+(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-z0-9]+))|(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"(?:(?:\\^\\^(?:<([^:]+:[^>]*)>))|(?:@([a-z]+(?:-[a-z0-9]+)*)))?))[ \\t]*(?:\\.|(?:(?:(?:<([^:]+:[^>]*)>)|(_:(?:[A-Za-z0-9]+)))[ \\t]*\\.))[ \\t]*(?:#.*)?$'),i={},a=e.split(t),o=0,s=0;s<a.length;++s){var c=a[s];if(o++,!r.test(c)){var u=c.match(n);if(null===u)throw new Ie("Error while parsing N-Quads; invalid quad.","jsonld.ParseError",{line:o});var l={};if(Q(u[1])?l.subject={type:"blank node",value:u[2]}:l.subject={type:"IRI",value:u[1]},l.predicate={type:"IRI",value:u[3]},Q(u[4]))if(Q(u[5])){l.object={type:"literal"},Q(u[7])?Q(u[8])?l.object.datatype=ve:(l.object.datatype=Ee,l.object.language=u[8]):l.object.datatype=u[7];var f=u[6].replace(/\\"/g,'"').replace(/\\t/g,"\t").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\\\/g,"\\");l.object.value=f}else l.object={type:"blank node",value:u[5]};else l.object={type:"IRI",value:u[4]};var p="@default";if(Q(u[9])?Q(u[10])||(p=u[10]):p=u[9],p in i){for(var h=!0,d=i[p],g=0;h&&g<d.length;++g)m(d[g],l)&&(h=!1);h&&d.push(l)}else i[p]=[l]}}return i}function ie(e){var t=[];for(var r in e)for(var n=e[r],i=0;i<n.length;++i){var a=n[i];"@default"===r&&(r=null),t.push(ae(a,r))}return t.sort().join("")}function ae(e,t){var r=e.subject,n=e.predicate,i=e.object,a=t||null;"name"in e&&e.name&&(a=e.name.value);var o="";return"IRI"===r.type?o+="<"+r.value+">":o+=r.value,o+=" ","IRI"===n.type?o+="<"+n.value+">":o+=n.value,o+=" ","IRI"===i.type?o+="<"+i.value+">":"blank node"===i.type?o+=i.value:(o+='"'+i.value.replace(/\\/g,"\\\\").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\"/g,'\\"')+'"',i.datatype===Ee?i.language&&(o+="@"+i.language):i.datatype!==ve&&(o+="^^<"+i.datatype+">")),null!==a&&void 0!==a&&(0!==a.indexOf("_:")?o+=" <"+a+">":o+=" "+a),o+=" .\n"}function oe(e){this.prefix=e,this.counter=0,this.existing={}}function se(e,t){var r="";0===e.indexOf("/")&&(r="/");for(var n=e.split("/"),i=[];n.length>0;)"."===n[0]||""===n[0]&&n.length>1?n.shift():".."!==n[0]?i.push(n.shift()):(n.shift(),t||i.length>0&&".."!==i[i.length-1]?i.pop():i.push(".."));return r+i.join("/")}t.compact=function(e,r,n,i){function a(e,t,n,a){if(e)return i(e);a.compactArrays&&!a.graph&&L(t)?1===t.length?t=t[0]:0===t.length&&(t={}):a.graph&&q(t)&&(t=[t]),q(r)&&"@context"in r&&(r=r["@context"]),L(r=ee(r))||(r=[r]);var o=r;r=[];for(var s=0;s<o.length;++s)(!q(o[s])||Object.keys(o[s]).length>0)&&r.push(o[s]);var c=r.length>0;if(1===r.length&&(r=r[0]),L(t)){var u=O(n,"@graph"),l=t;t={},c&&(t["@context"]=r),t[u]=l}else if(q(t)&&c){l=t;t={"@context":r};for(var f in l)t[f]=l[f]}i(null,t,n)}if(arguments.length<2)return t.nextTick(function(){i(new TypeError("Could not compact, too few arguments."))});if("function"==typeof n&&(i=n,n={}),n=n||{},null===r)return t.nextTick(function(){i(new Ie("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"}))});if(null===e)return t.nextTick(function(){i(null,null)});"base"in n||(n.base="string"==typeof e?e:""),"compactArrays"in n||(n.compactArrays=!0),"graph"in n||(n.graph=!1),"skipExpansion"in n||(n.skipExpansion=!1),"documentLoader"in n||(n.documentLoader=t.loadDocument),"link"in n||(n.link=!1),n.link&&(n.skipExpansion=!0);!function(e,r,n){if(r.skipExpansion)return t.nextTick(function(){n(null,e)});t.expand(e,r,n)}(e,n,function(e,o){if(e)return i(new Ie("Could not expand input before compaction.","jsonld.CompactError",{cause:e}));var s=B(n);t.processContext(s,r,n,function(e,t){if(e)return i(new Ie("Could not process context before compaction.","jsonld.CompactError",{cause:e}));var r;try{r=(new Oe).compact(t,null,o,n)}catch(e){return i(e)}a(null,r,t,n)})})},t.expand=function(e,r,n){function i(e){"base"in r||(r.base=e.documentUrl||"");var t={document:ee(e.document),remoteContext:{"@context":e.contextUrl}};if("expandContext"in r){var i=ee(r.expandContext);t.expandContext="object"==typeof i&&"@context"in i?i:{"@context":i}}re(t,r,function(e,t){if(e)return n(e);var i;try{var a=new Oe,o=B(r),s=t.document,c=t.remoteContext["@context"];t.expandContext&&(o=a.processContext(o,t.expandContext["@context"],r)),c&&(o=a.processContext(o,c,r)),q(i=a.expand(o,null,s,r,!1))&&"@graph"in i&&1===Object.keys(i).length?i=i["@graph"]:null===i&&(i=[]),L(i)||(i=[i])}catch(e){return n(e)}n(null,i)})}if(arguments.length<1)return t.nextTick(function(){n(new TypeError("Could not expand, too few arguments."))});"function"==typeof r&&(n=r,r={}),"documentLoader"in(r=r||{})||(r.documentLoader=t.loadDocument),"keepFreeFloatingNodes"in r||(r.keepFreeFloatingNodes=!1),t.nextTick(function(){if("string"!=typeof e)i({contextUrl:null,documentUrl:null,document:e});else{var t=function(e,t){if(e)return n(e);try{if(!t.document)throw new Ie("No remote document found at the given URL.","jsonld.NullRemoteDocument");"string"==typeof t.document&&(t.document=JSON.parse(t.document))}catch(e){return n(new Ie("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",cause:e,remoteDoc:t}))}i(t)},a=r.documentLoader(e,t);a&&"then"in a&&a.then(t.bind(null,null),t)}})},t.flatten=function(e,r,n,i){if(arguments.length<1)return t.nextTick(function(){i(new TypeError("Could not flatten, too few arguments."))});"function"==typeof n?(i=n,n={}):"function"==typeof r&&(i=r,r=null,n={}),"base"in(n=n||{})||(n.base="string"==typeof e?e:""),"documentLoader"in n||(n.documentLoader=t.loadDocument),t.expand(e,n,function(e,a){if(e)return i(new Ie("Could not expand input before flattening.","jsonld.FlattenError",{cause:e}));var o;try{o=(new Oe).flatten(a)}catch(e){return i(e)}if(null===r)return i(null,o);n.graph=!0,n.skipExpansion=!0,t.compact(o,r,n,function(e,t){if(e)return i(new Ie("Could not compact flattened output.","jsonld.FlattenError",{cause:e}));i(null,t)})})},t.frame=function(e,r,n,i){function a(r){var a,o=r.document;o?(a=o["@context"],r.contextUrl?(a?L(a)?a.push(r.contextUrl):a=[a,r.contextUrl]:a=r.contextUrl,o["@context"]=a):a=a||{}):a={},t.expand(e,n,function(e,r){if(e)return i(new Ie("Could not expand input before framing.","jsonld.FrameError",{cause:e}));var s=ee(n);s.isFrame=!0,s.keepFreeFloatingNodes=!0,t.expand(o,s,function(e,n){if(e)return i(new Ie("Could not expand frame before framing.","jsonld.FrameError",{cause:e}));var o;try{o=(new Oe).frame(r,n,s)}catch(e){return i(e)}s.graph=!0,s.skipExpansion=!0,s.link={},t.compact(o,a,s,function(e,t,r){if(e)return i(new Ie("Could not compact framed output.","jsonld.FrameError",{cause:e}));var n=O(r,"@graph");s.link={},t[n]=A(r,t[n],s),i(null,t)})})})}if(arguments.length<2)return t.nextTick(function(){i(new TypeError("Could not frame, too few arguments."))});"function"==typeof n&&(i=n,n={}),"base"in(n=n||{})||(n.base="string"==typeof e?e:""),"documentLoader"in n||(n.documentLoader=t.loadDocument),"embed"in n||(n.embed="@last"),n.explicit=n.explicit||!1,"requireAll"in n||(n.requireAll=!0),n.omitDefault=n.omitDefault||!1,t.nextTick(function(){if("string"!=typeof r)a({contextUrl:null,documentUrl:null,document:r});else{var e=function(e,t){if(e)return i(e);try{if(!t.document)throw new Ie("No remote document found at the given URL.","jsonld.NullRemoteDocument");"string"==typeof t.document&&(t.document=JSON.parse(t.document))}catch(e){return i(new Ie("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",cause:e,remoteDoc:t}))}a(t)},t=n.documentLoader(r,e);t&&"then"in t&&t.then(e.bind(null,null),e)}})},t.link=function(e,r,n,i){var a={};r&&(a["@context"]=r),a["@embed"]="@link",t.frame(e,a,n,i)},t.objectify=function(e,r,n,i){"function"==typeof n&&(i=n,n={}),"base"in(n=n||{})||(n.base="string"==typeof e?e:""),"documentLoader"in n||(n.documentLoader=t.loadDocument),t.expand(e,n,function(e,a){if(e)return i(new Ie("Could not expand input before linking.","jsonld.LinkError",{cause:e}));var o;try{o=(new Oe).flatten(a)}catch(e){return i(e)}n.graph=!0,n.skipExpansion=!0,t.compact(o,r,n,function(e,r,n){if(e)return i(new Ie("Could not compact flattened output before linking.","jsonld.LinkError",{cause:e}));var a=r[O(n,"@graph")][0],o=function(e){if(q(e)||L(e)){if(q(e)){if(o.visited[e["@id"]])return;o.visited[e["@id"]]=!0}for(var r in e){var i=e[r],s="@id"===t.getContextValue(n,r,"@type");if(L(i)||q(i)||s)if(U(i)&&s)e[r]=i=a[i],o(i);else if(L(i))for(var c=0;c<i.length;++c)U(i[c])&&s?i[c]=a[i[c]]:q(i[c])&&"@id"in i[c]&&(i[c]=a[i[c]["@id"]]),o(i[c]);else if(q(i)){var u=i["@id"];e[r]=i=a[u],o(i)}}}};o.visited={},o(a),r.of_type={};for(var s in a)if("@type"in a[s]){var c=a[s]["@type"];L(c)||(c=[c]);for(var u=0;u<c.length;++u)c[u]in r.of_type||(r.of_type[c[u]]=[]),r.of_type[c[u]].push(a[s])}i(null,r)})})},t.normalize=function(e,r,n){if(arguments.length<1)return t.nextTick(function(){n(new TypeError("Could not normalize, too few arguments."))});if("function"==typeof r&&(n=r,r={}),"algorithm"in(r=r||{})||(r.algorithm="URGNA2012"),"base"in r||(r.base="string"==typeof e?e:""),"documentLoader"in r||(r.documentLoader=t.loadDocument),"inputFormat"in r){if("application/nquads"!==r.inputFormat)return n(new Ie("Unknown normalization input format.","jsonld.NormalizeError"));var i=ne(e);(new Oe).normalize(i,r,n)}else{var a=ee(r);delete a.format,a.produceGeneralizedRdf=!1,t.toRDF(e,a,function(e,t){if(e)return n(new Ie("Could not convert input to RDF dataset before normalization.","jsonld.NormalizeError",{cause:e}));(new Oe).normalize(t,r,n)})}},t.fromRDF=function(e,r,n){if(arguments.length<1)return t.nextTick(function(){n(new TypeError("Could not convert from RDF, too few arguments."))});"function"==typeof r&&(n=r,r={}),"useRdfType"in(r=r||{})||(r.useRdfType=!1),"useNativeTypes"in r||(r.useNativeTypes=!1),"format"in r||!U(e)||"format"in r||(r.format="application/nquads"),t.nextTick(function(){function t(e,t,r){(new Oe).fromRDF(e,t,r)}var i;if(r.format){if(!(i=r.rdfParser||fe[r.format]))return n(new Ie("Unknown input format.","jsonld.UnknownFormat",{format:r.format}))}else i=function(){return e};var a=!1;try{e=i(e,function(e,i){if(a=!0,e)return n(e);t(i,r,n)})}catch(e){if(!a)return n(e);throw e}if(e){if("then"in e)return e.then(function(e){t(e,r,n)},n);t(e,r,n)}})},t.toRDF=function(e,r,n){if(arguments.length<1)return t.nextTick(function(){n(new TypeError("Could not convert to RDF, too few arguments."))});"function"==typeof r&&(n=r,r={}),"base"in(r=r||{})||(r.base="string"==typeof e?e:""),"documentLoader"in r||(r.documentLoader=t.loadDocument),t.expand(e,r,function(e,t){if(e)return n(new Ie("Could not expand input before serialization to RDF.","jsonld.RdfError",{cause:e}));var i;try{if(i=Oe.prototype.toRDF(t,r),r.format){if("application/nquads"===r.format)return n(null,ie(i));throw new Ie("Unknown output format.","jsonld.UnknownFormat",{format:r.format})}}catch(e){return n(e)}n(null,i)})},t.createNodeMap=function(e,r,n){if(arguments.length<1)return t.nextTick(function(){n(new TypeError("Could not create node map, too few arguments."))});"function"==typeof r&&(n=r,r={}),"base"in(r=r||{})||(r.base="string"==typeof e?e:""),"documentLoader"in r||(r.documentLoader=t.loadDocument),t.expand(e,r,function(e,t){if(e)return n(new Ie("Could not expand input before creating node map.","jsonld.CreateNodeMapError",{cause:e}));var i;try{i=(new Oe).createNodeMap(t,r)}catch(e){return n(e)}n(null,i)})},t.merge=function(e,r,n,i){function a(e){var a=!0;"mergeNodes"in n&&(a=n.mergeNodes);var o,s=n.namer||n.issuer||new oe("_:b"),c={"@default":{}};try{for(var u=0;u<e.length;++u){var l=e[u];l=t.relabelBlankNodes(l,{issuer:new oe("_:b"+u+"-")});var f=a||0===u?c:{"@default":{}};if(g(l,f,"@default",s),f!==c)for(var p in f){var h=f[p];if(p in c){var d=c[p];for(var m in h)m in d||(d[m]=h[m])}else c[p]=h}}o=v(c)}catch(e){return i(e)}for(var b=[],y=Object.keys(o).sort(),_=0;_<y.length;++_){var x=o[y[_]];Z(x)||b.push(x)}if(null===r)return i(null,b);n.graph=!0,n.skipExpansion=!0,t.compact(b,r,n,function(e,t){if(e)return i(new Ie("Could not compact merged output.","jsonld.MergeError",{cause:e}));i(null,t)})}if(arguments.length<1)return t.nextTick(function(){i(new TypeError("Could not merge, too few arguments."))});if(!L(e))return t.nextTick(function(){i(new TypeError('Could not merge, "docs" must be an array.'))});"function"==typeof n?(i=n,n={}):"function"==typeof r&&(i=r,r=null,n={}),n=n||{};for(var o=[],s=null,c=e.length,u=0;u<e.length;++u){var l={};for(var f in n)l[f]=n[f];t.expand(e[u],l,function(e,t){if(!s){if(e)return s=e,i(new Ie("Could not expand input before flattening.","jsonld.FlattenError",{cause:e}));o.push(t),0==--c&&a(o)}})}},t.relabelBlankNodes=function(e,t){return u((t=t||{}).namer||t.issuer||new oe("_:b"),e)},t.prependBase=function(e,t){return z(e,t)},t.documentLoader=function(e,r){var n=new Ie("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed"});return a?r(n,{contextUrl:null,documentUrl:e,document:null}):t.promisify(function(e){e(n)})},t.loadDocument=function(e,r){var n=t.documentLoader(e,r);n&&"then"in n&&n.then(r.bind(null,null),r)},t.promises=function(r){r=r||{};var i=Array.prototype.slice,a=t.promisify,o=r.api||{},s=r.version||"jsonld.js";"string"==typeof r.api&&(r.version||(s=r.api),o={}),o.expand=function(e){if(arguments.length<1)throw new TypeError("Could not expand, too few arguments.");return a.apply(null,[t.expand].concat(i.call(arguments)))},o.compact=function(e,r){if(arguments.length<2)throw new TypeError("Could not compact, too few arguments.");return a.apply(null,[function(e,r,n,i){"function"==typeof n&&(i=n,n={}),n=n||{},t.compact(e,r,n,function(e,t){i(e,t)})}].concat(i.call(arguments)))},o.flatten=function(e){if(arguments.length<1)throw new TypeError("Could not flatten, too few arguments.");return a.apply(null,[t.flatten].concat(i.call(arguments)))},o.frame=function(e,r){if(arguments.length<2)throw new TypeError("Could not frame, too few arguments.");return a.apply(null,[t.frame].concat(i.call(arguments)))},o.fromRDF=function(e){if(arguments.length<1)throw new TypeError("Could not convert from RDF, too few arguments.");return a.apply(null,[t.fromRDF].concat(i.call(arguments)))},o.toRDF=function(e){if(arguments.length<1)throw new TypeError("Could not convert to RDF, too few arguments.");return a.apply(null,[t.toRDF].concat(i.call(arguments)))},o.normalize=function(e){if(arguments.length<1)throw new TypeError("Could not normalize, too few arguments.");return a.apply(null,[t.normalize].concat(i.call(arguments)))},"jsonld.js"===s&&(o.link=function(e,r){if(arguments.length<2)throw new TypeError("Could not link, too few arguments.");return a.apply(null,[t.link].concat(i.call(arguments)))},o.objectify=function(e){return a.apply(null,[t.objectify].concat(i.call(arguments)))},o.createNodeMap=function(e){return a.apply(null,[t.createNodeMap].concat(i.call(arguments)))},o.merge=function(e){return a.apply(null,[t.merge].concat(i.call(arguments)))});try{t.Promise=n.Promise||e("es6-promise").Promise}catch(e){var c=function(){throw new Error("Unable to find a Promise implementation.")};for(var u in o)o[u]=c}return o},t.promisify=function(r){if(!t.Promise)try{t.Promise=n.Promise||e("es6-promise").Promise}catch(e){throw new Error("Unable to find a Promise implementation.")}var i=Array.prototype.slice.call(arguments,1);return new t.Promise(function(e,t){r.apply(null,i.concat(function(r,n){r?t(r):e(n)}))})},t.promises({api:t.promises}),(s.prototype=t.promises({version:"json-ld-1.0"})).toString=function(){return this instanceof s?"[object JsonLdProcessor]":"[object JsonLdProcessorPrototype]"},t.JsonLdProcessor=s;var ce=!!Object.defineProperty;if(ce)try{Object.defineProperty({},"x",{})}catch(e){ce=!1}ce&&(Object.defineProperty(s,"prototype",{writable:!1,enumerable:!1}),Object.defineProperty(s.prototype,"constructor",{writable:!0,enumerable:!1,configurable:!0,value:s})),o&&void 0===n.JsonLdProcessor&&(ce?Object.defineProperty(n,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:s}):n.JsonLdProcessor=s);var ue="function"==typeof setImmediate&&setImmediate,le=ue?function(e){ue(e)}:function(e){setTimeout(e,0)};"object"==typeof r&&"function"==typeof r.nextTick?t.nextTick=r.nextTick:t.nextTick=le,t.setImmediate=ue?le:t.nextTick,t.parseLinkHeader=function(e){for(var t={},r=e.match(/(?:<[^>]*?>|"[^"]*?"|[^,])+/g),n=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,i=0;i<r.length;++i){var a=r[i].match(n);if(a){for(var o={target:a[1]},s=a[2],c=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g;a=c.exec(s);)o[a[1]]=void 0===a[2]?a[3]:a[2];var u=o.rel||"";L(t[u])?t[u].push(o):t[u]=u in t?[t[u],o]:o}}return t},t.RequestQueue=function(){this._requests={}},t.RequestQueue.prototype.wrapLoader=function(e){return this._loader=e,this._usePromise=1===e.length,this.add.bind(this)},t.RequestQueue.prototype.add=function(e,r){var n=this;if(!r&&!n._usePromise)throw new Error("callback must be specified.");if(n._usePromise)return new t.Promise(function(t,r){var i=n._requests[e];i||(i=n._requests[e]=n._loader(e).then(function(t){return delete n._requests[e],t}).catch(function(t){throw delete n._requests[e],t})),i.then(function(e){t(e)}).catch(function(e){r(e)})});e in n._requests?n._requests[e].push(r):(n._requests[e]=[r],n._loader(e,function(t,r){var i=n._requests[e];delete n._requests[e];for(var a=0;a<i.length;++a)i[a](t,r)}))},t.DocumentCache=function(e){this.order=[],this.cache={},this.size=e||50,this.expires=3e4},t.DocumentCache.prototype.get=function(e){if(e in this.cache){var t=this.cache[e];if(t.expires>=+new Date)return t.ctx;delete this.cache[e],this.order.splice(this.order.indexOf(e),1)}return null},t.DocumentCache.prototype.set=function(e,t){this.order.length===this.size&&delete this.cache[this.order.shift()],this.order.push(e),this.cache[e]={ctx:t,expires:+new Date+this.expires}},t.ActiveContextCache=function(e){this.order=[],this.cache={},this.size=e||100},t.ActiveContextCache.prototype.get=function(e,t){var r=JSON.stringify(e),n=JSON.stringify(t),i=this.cache[r];return i&&n in i?i[n]:null},t.ActiveContextCache.prototype.set=function(e,t,r){if(this.order.length===this.size){var n=this.order.shift();delete this.cache[n.activeCtx][n.localCtx]}var i=JSON.stringify(e),a=JSON.stringify(t);this.order.push({activeCtx:i,localCtx:a}),i in this.cache||(this.cache[i]={}),this.cache[i][a]=ee(r)},t.cache={activeCtx:new t.ActiveContextCache},t.documentLoaders={},t.documentLoaders.jquery=function(e,r){function n(n,i){return 0!==n.indexOf("http:")&&0!==n.indexOf("https:")?i(new Ie('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:n}),{contextUrl:null,documentUrl:n,document:null}):r.secure&&0!==n.indexOf("https")?i(new Ie('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:n}),{contextUrl:null,documentUrl:n,document:null}):void e.ajax({url:n,accepts:{json:"application/ld+json, application/json"},headers:{Accept:"application/ld+json, application/json"},dataType:"json",crossDomain:!0,success:function(e,r,a){var o={contextUrl:null,documentUrl:n,document:e},s=a.getResponseHeader("Content-Type"),c=a.getResponseHeader("Link");if(c&&"application/ld+json"!==s){if(c=t.parseLinkHeader(c)[Ae],L(c))return i(new Ie("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:n}),o);c&&(o.contextUrl=c.target)}i(null,o)},error:function(e,t,r){i(new Ie("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:n,cause:r}),{contextUrl:null,documentUrl:n,document:null})}})}r=r||{};var i=new t.RequestQueue;return("usePromise"in r?r.usePromise:"undefined"!=typeof Promise)?i.wrapLoader(function(e){return t.promisify(n,e)}):i.wrapLoader(n)},t.documentLoaders.node=function(r){function n(e,u,l){if(0!==e.indexOf("http:")&&0!==e.indexOf("https:"))return l(new Ie('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:e}),{contextUrl:null,documentUrl:e,document:null});if(r.secure&&0!==e.indexOf("https"))return l(new Ie('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:e}),{contextUrl:null,documentUrl:e,document:null});var f=null;if(null!==f)return l(null,f);var p={Accept:s};for(var h in r.headers)p[h]=r.headers[h];o({url:e,headers:p,strictSSL:i,followRedirect:!1},function(r,i,o){if(f={contextUrl:null,documentUrl:e,document:o||null},r)return l(new Ie("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:e,cause:r}),f);var s=c.STATUS_CODES[i.statusCode];if(i.statusCode>=400)return l(new Ie("URL could not be dereferenced: "+s,"jsonld.InvalidUrl",{code:"loading document failed",url:e,httpStatusCode:i.statusCode}),f);if(i.headers.link&&"application/ld+json"!==i.headers["content-type"]){var p=t.parseLinkHeader(i.headers.link)[Ae];if(L(p))return l(new Ie("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:e}),f);p&&(f.contextUrl=p.target)}if(i.statusCode>=300&&i.statusCode<400&&i.headers.location)return u.length===a?l(new Ie("URL could not be dereferenced; there were too many redirects.","jsonld.TooManyRedirects",{code:"loading document failed",url:e,httpStatusCode:i.statusCode,redirects:u}),f):-1!==u.indexOf(e)?l(new Ie("URL could not be dereferenced; infinite redirection was detected.","jsonld.InfiniteRedirectDetected",{code:"recursive context inclusion",url:e,httpStatusCode:i.statusCode,redirects:u}),f):(u.push(e),n(i.headers.location,u,l));u.push(e),l(r,f)})}var i=!("strictSSL"in(r=r||{}))||r.strictSSL,a="maxRedirects"in r?r.maxRedirects:-1,o="request"in r?r.request:e("request"),s="application/ld+json, application/json",c=e("http"),u=new t.RequestQueue;if(r.usePromise)return u.wrapLoader(function(e){return t.promisify(n,e,[])});var l=r.headers||{};if("Accept"in l||"accept"in l)throw new RangeError('Accept header may not be specified as an option; only "'+s+'" is supported.');return u.wrapLoader(function(e,t){n(e,[],t)})},t.documentLoaders.xhr=function(e){function r(r,i){if(0!==r.indexOf("http:")&&0!==r.indexOf("https:"))return i(new Ie('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:r}),{contextUrl:null,documentUrl:r,document:null});if(e.secure&&0!==r.indexOf("https"))return i(new Ie('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:r}),{contextUrl:null,documentUrl:r,document:null});var a=new(e.xhr||XMLHttpRequest);a.onload=function(){if(a.status>=400)return i(new Ie("URL could not be dereferenced: "+a.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:r,httpStatusCode:a.status}),{contextUrl:null,documentUrl:r,document:null});var e,o={contextUrl:null,documentUrl:r,document:a.response},s=a.getResponseHeader("Content-Type");if(n.test(a.getAllResponseHeaders())&&(e=a.getResponseHeader("Link")),e&&"application/ld+json"!==s){if(e=t.parseLinkHeader(e)[Ae],L(e))return i(new Ie("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:r}),o);e&&(o.contextUrl=e.target)}i(null,o)},a.onerror=function(){i(new Ie("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:r}),{contextUrl:null,documentUrl:r,document:null})},a.open("GET",r,!0),a.setRequestHeader("Accept","application/ld+json, application/json"),a.send()}e=e||{};var n=/(^|(\r\n))link:/i,i=new t.RequestQueue;return("usePromise"in e?e.usePromise:"undefined"!=typeof Promise)?i.wrapLoader(function(e){return t.promisify(r,e)}):i.wrapLoader(r)},t.useDocumentLoader=function(e){if(!(e in t.documentLoaders))throw new Ie('Unknown document loader type: "'+e+'"',"jsonld.UnknownDocumentLoader",{type:e});t.documentLoader=t.documentLoaders[e].apply(t,Array.prototype.slice.call(arguments,1))},t.processContext=function(e,r){var n={},i=2;arguments.length>3&&(n=arguments[2]||{},i+=1);var a=arguments[i];if("base"in n||(n.base=""),"documentLoader"in n||(n.documentLoader=t.loadDocument),null===r)return a(null,B(n));q(r=ee(r))&&"@context"in r||(r={"@context":r}),re(r,n,function(t,r){if(t)return a(t);try{r=(new Oe).processContext(e,r,n)}catch(e){return a(e)}a(null,r)})},t.hasProperty=function(e,t){var r=!1;if(t in e){var n=e[t];r=!L(n)||n.length>0}return r},t.hasValue=function(e,r,n){var i=!1;if(t.hasProperty(e,r)){var a=e[r],o=W(a);if(L(a)||o){o&&(a=a["@list"]);for(var s=0;s<a.length;++s)if(t.compareValues(n,a[s])){i=!0;break}}else L(n)||(i=t.compareValues(n,a))}return i},t.addValue=function(e,r,n,i){if("propertyIsArray"in(i=i||{})||(i.propertyIsArray=!1),"allowDuplicate"in i||(i.allowDuplicate=!0),L(n)){0!==n.length||!i.propertyIsArray||r in e||(e[r]=[]);for(var a=0;a<n.length;++a)t.addValue(e,r,n[a],i)}else if(r in e){var o=!i.allowDuplicate&&t.hasValue(e,r,n);L(e[r])||o&&!i.propertyIsArray||(e[r]=[e[r]]),o||e[r].push(n)}else e[r]=i.propertyIsArray?[n]:n},t.getValues=function(e,t){var r=e[t]||[];return L(r)||(r=[r]),r},t.removeProperty=function(e,t){delete e[t]},t.removeValue=function(e,r,n,i){"propertyIsArray"in(i=i||{})||(i.propertyIsArray=!1);var a=t.getValues(e,r).filter(function(e){return!t.compareValues(e,n)});0===a.length?t.removeProperty(e,r):1!==a.length||i.propertyIsArray?e[r]=a:e[r]=a[0]},t.compareValues=function(e,t){return e===t||(!(!J(e)||!J(t)||e["@value"]!==t["@value"]||e["@type"]!==t["@type"]||e["@language"]!==t["@language"]||e["@index"]!==t["@index"])||!!(q(e)&&"@id"in e&&q(t)&&"@id"in t)&&e["@id"]===t["@id"])},t.getContextValue=function(e,t,r){var n=null;if(null===t)return n;if("@language"===r&&r in e&&(n=e[r]),e.mappings[t]){var i=e.mappings[t];Q(r)?n=i:r in i&&(n=i[r])}return n};var fe={};if(t.registerRDFParser=function(e,t){fe[e]=t},t.unregisterRDFParser=function(e){delete fe[e]},a){if(void 0===pe)var pe=null;if(void 0===he)var he={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12}}var de="http://www.w3.org/2001/XMLSchema#boolean",me="http://www.w3.org/2001/XMLSchema#double",ge="http://www.w3.org/2001/XMLSchema#integer",ve="http://www.w3.org/2001/XMLSchema#string",be="http://www.w3.org/1999/02/22-rdf-syntax-ns#",ye=be+"first",_e=be+"rest",xe=be+"nil",ke=be+"type",we=be+"PlainLiteral",je=be+"XMLLiteral",Se=be+"object",Ee=be+"langString",Ae="http://www.w3.org/ns/json-ld#context",Fe=10,Ie=function(e,t,r){a?(Error.call(this),Error.captureStackTrace(this,this.constructor)):"undefined"!=typeof Error&&(this.stack=(new Error).stack),this.name=t||"jsonld.Error",this.message=e||"An unspecified JSON-LD error occurred.",this.details=r||{}};a?e("util").inherits(Ie,Error):"undefined"!=typeof Error&&(Ie.prototype=new Error);var Oe=function(){};Oe.prototype.compact=function(e,r,n,i){if(L(n)){for(var a=[],o=0;o<n.length;++o){var s=this.compact(e,r,n[o],i);null!==s&&a.push(s)}return i.compactArrays&&1===a.length&&null===(g=t.getContextValue(e,r,"@container"))&&(a=a[0]),a}if(q(n)){if(i.link&&"@id"in n&&n["@id"]in i.link)for(var c=i.link[n["@id"]],o=0;o<c.length;++o)if(c[o].expanded===n)return c[o].compacted;if(J(n)||Z(n)){a=P(e,r,n);return i.link&&Z(n)&&(n["@id"]in i.link||(i.link[n["@id"]]=[]),i.link[n["@id"]].push({expanded:n,compacted:a})),a}var u="@reverse"===r,a={};i.link&&"@id"in n&&(n["@id"]in i.link||(i.link[n["@id"]]=[]),i.link[n["@id"]].push({expanded:n,compacted:a}));for(var l=Object.keys(n).sort(),f=0;f<l.length;++f){var p=l[f],h=n[p];if("@id"!==p&&"@type"!==p)if("@reverse"!==p)if("@index"!==p)if("@graph"!==p&&"@list"!==p&&D(p)){A=O(e,p);t.addValue(a,A,h)}else{if(0===h.length){m=O(e,p,h,{vocab:!0},u);t.addValue(a,m,h,{propertyIsArray:!0})}for(E=0;E<h.length;++E){var d=h[E],m=O(e,p,d,{vocab:!0},u),g=t.getContextValue(e,m,"@container"),v=W(d),b=null;v&&(b=d["@list"]);var y=this.compact(e,m,v?b:d,i);if(v)if(L(y)||(y=[y]),"@list"!==g){var _={};_[O(e,"@list")]=y,y=_,"@index"in d&&(y[O(e,"@index")]=d["@index"])}else if(m in a)throw new Ie('JSON-LD compact error; property has a "@list" @container rule but there is more than a single @list that matches the compacted term in the document. Compaction might mix unwanted items into the list.',"jsonld.SyntaxError",{code:"compaction to list of lists"});if("@language"===g||"@index"===g){var x;m in a?x=a[m]:a[m]=x={},"@language"===g&&J(y)&&(y=y["@value"]),t.addValue(x,d[g],y)}else{F=!i.compactArrays||"@set"===g||"@list"===g||L(y)&&0===y.length||"@list"===p||"@graph"===p;t.addValue(a,m,y,{propertyIsArray:F})}}}else{if("@index"===(g=t.getContextValue(e,r,"@container")))continue;A=O(e,p);t.addValue(a,A,h)}else{S=this.compact(e,"@reverse",h,i);for(var k in S)if(e.mappings[k]&&e.mappings[k].reverse){var w=S[k],j="@set"===(g=t.getContextValue(e,k,"@container"))||!i.compactArrays;t.addValue(a,k,w,{propertyIsArray:j}),delete S[k]}if(Object.keys(S).length>0){A=O(e,p);t.addValue(a,A,S)}}else{var S;if(U(h))S=O(e,h,null,{vocab:"@type"===p});else{S=[];for(var E=0;E<h.length;++E)S.push(O(e,h[E],null,{vocab:!0}))}var A=O(e,p),F=L(S)&&0===h.length;t.addValue(a,A,S,{propertyIsArray:F})}}return a}return n},Oe.prototype.expand=function(e,r,n,i,a){var o=this;if(null===n||void 0===n)return null;if(!L(n)&&!q(n))return a||null!==r&&"@graph"!==C(e,r,{vocab:!0})?l(e,r,n):null;if(L(n)){var s=[],u=t.getContextValue(e,r,"@container");a=a||"@list"===u;for(var f=0;f<n.length;++f){var p=o.expand(e,r,n[f],i);if(a&&(L(p)||W(p)))throw new Ie("Invalid JSON-LD syntax; lists of lists are not permitted.","jsonld.SyntaxError",{code:"list of lists"});null!==p&&(L(p)?s=s.concat(p):s.push(p))}return s}"@context"in n&&(e=o.processContext(e,n["@context"],i));for(var h=C(e,r,{vocab:!0}),s={},d=Object.keys(n).sort(),m=0;m<d.length;++m){var g,v=d[m],b=n[v];if("@context"!==v){var y=C(e,v,{vocab:!0});if(null!==y&&(Y(y)||D(y))){if(D(y)){if("@reverse"===h)throw new Ie("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:b});if(y in s)throw new Ie("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:y})}if("@id"===y&&!U(b)){if(!i.isFrame)throw new Ie('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:b});if(!q(b))throw new Ie('Invalid JSON-LD syntax; "@id" value must be a string or an object.',"jsonld.SyntaxError",{code:"invalid @id value",value:b})}if("@type"===y&&N(b),"@graph"===y&&!q(b)&&!L(b))throw new Ie('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:b});if("@value"===y&&(q(b)||L(b)))throw new Ie('Invalid JSON-LD syntax; "@value" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid value object value",value:b});if("@language"===y){if(null===b)continue;if(!U(b))throw new Ie('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:b});b=b.toLowerCase()}if("@index"===y&&!U(b))throw new Ie('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:b});if("@reverse"!==y){if("@language"===(u=t.getContextValue(e,v,"@container"))&&q(b))g=c(b);else if("@index"===u&&q(b))g=function(t){for(var r=[],n=Object.keys(b).sort(),a=0;a<n.length;++a){var s=n[a],c=b[s];L(c)||(c=[c]),c=o.expand(e,t,c,i,!1);for(var u=0;u<c.length;++u){var l=c[u];"@index"in l||(l["@index"]=s),r.push(l)}}return r}(v);else{var _="@list"===y;if(_||"@set"===y){var x=r;if(_&&"@graph"===h&&(x=null),g=o.expand(e,x,b,i,_),_&&W(g))throw new Ie("Invalid JSON-LD syntax; lists of lists are not permitted.","jsonld.SyntaxError",{code:"list of lists"})}else g=o.expand(e,v,b,i,!1)}if(null!==g||"@value"===y)if("@list"===y||W(g)||"@list"!==u||(g={"@list":g=L(g)?g:[g]}),e.mappings[v]&&e.mappings[v].reverse){S=s["@reverse"]=s["@reverse"]||{};L(g)||(g=[g]);for(A=0;A<g.length;++A){var k=g[A];if(J(k)||W(k))throw new Ie('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:g});t.addValue(S,y,k,{propertyIsArray:!0})}}else{var w=-1===["@index","@id","@type","@value","@language"].indexOf(y);t.addValue(s,y,g,{propertyIsArray:w})}}else{if(!q(b))throw new Ie('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:b});if("@reverse"in(g=o.expand(e,"@reverse",b,i)))for(var j in g["@reverse"])t.addValue(s,j,g["@reverse"][j],{propertyIsArray:!0});var S=s["@reverse"]||null;for(var j in g)if("@reverse"!==j){null===S&&(S=s["@reverse"]={}),t.addValue(S,j,[],{propertyIsArray:!0});for(var E=g[j],A=0;A<E.length;++A){if(J(k=E[A])||W(k))throw new Ie('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:g});t.addValue(S,j,k,{propertyIsArray:!0})}}}}}}var F=(d=Object.keys(s)).length;if("@value"in s){if("@type"in s&&"@language"in s)throw new Ie('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and "@language".',"jsonld.SyntaxError",{code:"invalid value object",element:s});var I=F-1;if("@type"in s&&(I-=1),"@index"in s&&(I-=1),"@language"in s&&(I-=1),0!==I)throw new Ie('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and at most one other property which can be "@type" or "@language".',"jsonld.SyntaxError",{code:"invalid value object",element:s});if(null===s["@value"])s=null;else{if("@language"in s&&!U(s["@value"]))throw new Ie("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:s});if("@type"in s&&(!Y(s["@type"])||0===s["@type"].indexOf("_:")))throw new Ie('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:s})}}else if("@type"in s&&!L(s["@type"]))s["@type"]=[s["@type"]];else if("@set"in s||"@list"in s){if(F>1&&!(2===F&&"@index"in s))throw new Ie('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:s});"@set"in s&&(s=s["@set"],F=(d=Object.keys(s)).length)}else 1===F&&"@language"in s&&(s=null);return!q(s)||i.keepFreeFloatingNodes||a||null!==r&&"@graph"!==h||(0===F||"@value"in s||"@list"in s||1===F&&"@id"in s)&&(s=null),s},Oe.prototype.createNodeMap=function(e,t){var r={"@default":{}};return g(e,r,"@default",(t=t||{}).namer||t.issuer||new oe("_:b")),v(r)},Oe.prototype.flatten=function(e){for(var t=this.createNodeMap(e),r=[],n=Object.keys(t).sort(),i=0;i<n.length;++i){var a=t[n[i]];Z(a)||r.push(a)}return r},Oe.prototype.frame=function(e,t,r){var n={options:r,graphs:{"@default":{},"@merged":{}},subjectStack:[],link:{}},i=new oe("_:b");g(e,n.graphs,"@merged",i),n.subjects=n.graphs["@merged"];var a=[];return b(n,Object.keys(n.subjects).sort(),t,a,null),a},Oe.prototype.normalize=function(e,t,r){return"URDNA2015"===t.algorithm?new Pe(t).main(e,r):"URGNA2012"===t.algorithm?new Te(t).main(e,r):void r(new Error("Invalid RDF Dataset Normalization algorithm: "+t.algorithm))},Oe.prototype.fromRDF=function(e,r,n){var i={},a={"@default":i},o={};for(var s in e){P=e[s];s in a||(a[s]={}),"@default"===s||s in i||(i[s]={"@id":s});for(var c=a[s],u=0;u<P.length;++u){var l=P[u],f=l.subject.value,p=l.predicate.value,h=l.object;f in c||(c[f]={"@id":f});var m=c[f],g="IRI"===h.type||"blank node"===h.type;if(!g||h.value in c||(c[h.value]={"@id":h.value}),p!==ke||r.useRdfType||!g){var v=d(h,r.useNativeTypes);if(t.addValue(m,p,v,{propertyIsArray:!0}),g)if(h.value===xe){var b=c[h.value];"usages"in b||(b.usages=[]),b.usages.push({node:m,property:p,value:v})}else h.value in o?o[h.value]=!1:o[h.value]={node:m,property:p,value:v}}else t.addValue(m,"@type",h.value,{propertyIsArray:!0})}}for(var s in a){T=a[s];if(xe in T){for(var y=T[xe],_=0;_<y.usages.length;++_){for(var x=y.usages[_],m=x.node,k=x.property,w=x.value,j=[],S=[],E=Object.keys(m).length;k===_e&&q(o[m["@id"]])&&L(m[ye])&&1===m[ye].length&&L(m[_e])&&1===m[_e].length&&(3===E||4===E&&L(m["@type"])&&1===m["@type"].length&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#List"===m["@type"][0])&&(j.push(m[ye][0]),S.push(m["@id"]),x=o[m["@id"]],m=x.node,k=x.property,w=x.value,E=Object.keys(m).length,0===m["@id"].indexOf("_:")););if(k===ye){if(m["@id"]===xe)continue;w=T[w["@id"]][_e][0],j.pop(),S.pop()}delete w["@id"],w["@list"]=j.reverse();for(var A=0;A<S.length;++A)delete T[S[A]]}delete y.usages}}for(var F=[],I=Object.keys(i).sort(),_=0;_<I.length;++_){var O=I[_],m=i[O];if(O in a)for(var P=m["@graph"]=[],T=a[O],C=Object.keys(T).sort(),z=0;z<C.length;++z){var R=T[C[z]];Z(R)||P.push(R)}Z(m)||F.push(m)}n(null,F)},Oe.prototype.toRDF=function(e,t){var r=new oe("_:b"),n={"@default":{}};g(e,n,"@default",r);for(var i={},a=Object.keys(n).sort(),o=0;o<a.length;++o){var s=a[o];("@default"===s||Y(s))&&(i[s]=f(n[s],r,t))}return i},Oe.prototype.processContext=function(e,r,n){q(r)&&"@context"in r&&L(r["@context"])&&(r=r["@context"]);var i=L(r)?r:[r];if(0===i.length)return e.clone();for(var a=e,o=0;o<i.length;++o){var s=i[o];if(null!==s){if(q(s)&&"@context"in s&&(s=s["@context"]),!q(s))throw new Ie("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:s});if(t.cache.activeCtx){var c=t.cache.activeCtx.get(e,s);if(c){a=e=c;continue}}e=a,a=a.clone();var u={};if("@base"in s){var l=s["@base"];if(null===l)l=null;else{if(!U(l))throw new Ie('Invalid JSON-LD syntax; the value of "@base" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid base IRI",context:s});if(""!==l&&!Y(l))throw new Ie('Invalid JSON-LD syntax; the value of "@base" in a @context must be an absolute IRI or the empty string.',"jsonld.SyntaxError",{code:"invalid base IRI",context:s})}null!==l&&(l=t.url.parse(l||"")),a["@base"]=l,u["@base"]=!0}if("@vocab"in s){if(null===(f=s["@vocab"]))delete a["@vocab"];else{if(!U(f))throw new Ie('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:s});if(!Y(f))throw new Ie('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be an absolute IRI.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:s});a["@vocab"]=f}u["@vocab"]=!0}if("@language"in s){var f=s["@language"];if(null===f)delete a["@language"];else{if(!U(f))throw new Ie('Invalid JSON-LD syntax; the value of "@language" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid default language",context:s});a["@language"]=f.toLowerCase()}u["@language"]=!0}for(var p in s)T(a,s,p,u);t.cache.activeCtx&&t.cache.activeCtx.set(e,s,a)}else a=e=B(n)}return a};var Pe=function(){var e={subject:"s",object:"o",name:"g"},r=function(e){e=e||{},this.name="URDNA2015",this.options=e,this.blankNodeInfo={},this.hashToBlankNodes={},this.canonicalIssuer=new oe("_:c14n"),this.quads=[],this.schedule={},this.schedule.MAX_DEPTH="maxCallStackDepth"in e?e.maxCallStackDepth:500,this.schedule.MAX_TOTAL_DEPTH="maxTotalCallStackDepth"in e?e.maxCallStackDepth:4294967295,this.schedule.depth=0,this.schedule.totalDepth=0,this.schedule.timeSlice="timeSlice"in e?e.timeSlice:10};return r.prototype.doWork=function(e,r){var n=this.schedule;if(n.totalDepth>=n.MAX_TOTAL_DEPTH)return r(new Error("Maximum total call stack depth exceeded; normalization aborting."));!function i(){if(n.depth===n.MAX_DEPTH)return n.depth=0,n.running=!1,t.nextTick(i);var a=(new Date).getTime();if(n.running||(n.start=(new Date).getTime(),n.deadline=n.start+n.timeSlice),a<n.deadline)return n.running=!0,n.depth++,n.totalDepth++,e(function(e,t){n.depth--,n.totalDepth--,r(e,t)});n.depth=0,n.running=!1,t.setImmediate(i)}()},r.prototype.forEach=function(e,t,r){var n,i,a=this,o=0;if(L(e))i=e.length,n=function(){return o!==i&&(n.value=e[o++],n.key=o,!0)};else{var s=Object.keys(e);i=s.length,n=function(){return o!==i&&(n.key=s[o++],n.value=e[n.key],!0)}}!function e(i,o){return i?r(i):n()?a.doWork(function(){t(n.value,n.key,e)}):void r()}()},r.prototype.waterfall=function(e,t){var r=this;r.forEach(e,function(e,t,n){r.doWork(e,n)},t)},r.prototype.whilst=function(e,t,r){var n=this;!function i(a){return a?r(a):e()?void n.doWork(t,i):r()}()},r.prototype.main=function(e,t){var r=this;r.schedule.start=(new Date).getTime();var n;if(r.options.format&&"application/nquads"!==r.options.format)return t(new Ie("Unknown output format.","jsonld.UnknownFormat",{format:r.options.format}));var i={};r.waterfall([function(t){r.forEach(e,function(e,t,n){"@default"===t&&(t=null),r.forEach(e,function(e,n,a){null!==t&&(0===t.indexOf("_:")?e.name={type:"blank node",value:t}:e.name={type:"IRI",value:t}),r.quads.push(e),r.forEachComponent(e,function(t){if("blank node"===t.type){var n=t.value;n in r.blankNodeInfo?r.blankNodeInfo[n].quads.push(e):(i[n]=!0,r.blankNodeInfo[n]={quads:[e]})}}),a()},n)},t)},function(e){var t=!0;r.whilst(function(){return t},function(e){t=!1,r.hashToBlankNodes={},r.waterfall([function(e){r.forEach(i,function(e,t,n){r.hashFirstDegreeQuads(t,function(e,i){if(e)return n(e);i in r.hashToBlankNodes?r.hashToBlankNodes[i].push(t):r.hashToBlankNodes[i]=[t],n()})},e)},function(e){var n=Object.keys(r.hashToBlankNodes).sort();r.forEach(n,function(e,n,a){var o=r.hashToBlankNodes[e];if(o.length>1)return a();var s=o[0];r.canonicalIssuer.getId(s),delete i[s],delete r.hashToBlankNodes[e],t=!0,a()},e)}],e)},e)},function(e){var t=Object.keys(r.hashToBlankNodes).sort();r.forEach(t,function(e,t,n){var i=[],a=r.hashToBlankNodes[e];r.waterfall([function(e){r.forEach(a,function(e,t,n){if(r.canonicalIssuer.hasId(e))return n();var a=new oe("_:b");a.getId(e),r.hashNDegreeQuads(e,a,function(e,t){if(e)return n(e);i.push(t),n()})},e)},function(e){i.sort(function(e,t){return e.hash<t.hash?-1:e.hash>t.hash?1:0}),r.forEach(i,function(e,t,n){for(var i in e.issuer.existing)r.canonicalIssuer.getId(i);n()},e)}],n)},e)},function(e){var t=[];r.waterfall([function(e){r.forEach(r.quads,function(e,n,i){r.forEachComponent(e,function(e){"blank node"===e.type&&0!==e.value.indexOf(r.canonicalIssuer.prefix)&&(e.value=r.canonicalIssuer.getId(e.value))}),t.push(ae(e)),i()},e)},function(e){if(t.sort(),"application/nquads"===r.options.format)return n=t.join(""),e();n=ne(t.join("")),e()}],e)}],function(e){t(e,n)})},r.prototype.hashFirstDegreeQuads=function(e,t){var r=this,n=r.blankNodeInfo[e];if("hash"in n)return t(null,n.hash);var i=[],a=n.quads;r.forEach(a,function(t,n,a){var o={predicate:t.predicate};r.forEachComponent(t,function(t,n){o[n]=r.modifyFirstDegreeComponent(e,t,n)}),i.push(ae(o)),a()},function(e){if(e)return t(e);i.sort(),n.hash=ze.hashNQuads(r.name,i),t(null,n.hash)})},r.prototype.modifyFirstDegreeComponent=function(e,t){return"blank node"!==t.type?t:(t=ee(t),t.value=t.value===e?"_:a":"_:z",t)},r.prototype.hashRelatedBlankNode=function(e,t,r,n,i){var a,o=this;o.waterfall([function(t){return o.canonicalIssuer.hasId(e)?(a=o.canonicalIssuer.getId(e),t()):r.hasId(e)?(a=r.getId(e),t()):void o.hashFirstDegreeQuads(e,function(e,r){if(e)return t(e);a=r,t()})}],function(e){if(e)return i(e);var r=new ze(o.name);return r.update(n),"g"!==n&&r.update(o.getRelatedPredicate(t)),r.update(a),i(null,r.digest())})},r.prototype.getRelatedPredicate=function(e){return"<"+e.predicate.value+">"},r.prototype.hashNDegreeQuads=function(e,t,r){var n,i=this,a=new ze(i.name);i.waterfall([function(r){i.createHashToRelated(e,t,function(e,t){if(e)return r(e);n=t,r()})},function(e){var r=Object.keys(n).sort();i.forEach(r,function(e,r,o){a.update(e);var s,c="",u=new Ce(n[e]);i.whilst(function(){return u.hasNext()},function(e){var r=u.next(),n=t.clone(),a="",o=[];i.waterfall([function(t){i.forEach(r,function(t,r,s){if(i.canonicalIssuer.hasId(t)?a+=i.canonicalIssuer.getId(t):(n.hasId(t)||o.push(t),a+=n.getId(t)),0!==c.length&&a.length>=c.length&&a>c)return e();s()},t)},function(t){i.forEach(o,function(t,r,o){i.hashNDegreeQuads(t,n,function(r,i){return r?o(r):(a+=n.getId(t),a+="<"+i.hash+">",n=i.issuer,0!==c.length&&a.length>=c.length&&a>c?e():void o())})},t)},function(e){(0===c.length||a<c)&&(c=a,s=n),e()}],e)},function(e){if(e)return o(e);a.update(c),t=s,o()})},e)}],function(e){r(e,{hash:a.digest(),issuer:t})})},r.prototype.createHashToRelated=function(t,r,n){var i=this,a={},o=i.blankNodeInfo[t].quads;i.forEach(o,function(n,o,s){i.forEach(n,function(o,s,c){if("predicate"===s||"blank node"!==o.type||o.value===t)return c();var u=o.value,l=e[s];i.hashRelatedBlankNode(u,n,r,l,function(e,t){if(e)return c(e);t in a?a[t].push(u):a[t]=[u],c()})},s)},function(e){n(e,a)})},r.prototype.forEachComponent=function(e,t){for(var r in e)"predicate"!==r&&t(e[r],r,e)},r}(),Te=function(){var e=function(e){Pe.call(this,e),this.name="URGNA2012"};return e.prototype=new Pe,e.prototype.modifyFirstDegreeComponent=function(e,t,r){return"blank node"!==t.type?t:(t=ee(t),t.value="name"===r?"_:g":t.value===e?"_:a":"_:z",t)},e.prototype.getRelatedPredicate=function(e){return e.predicate.value},e.prototype.createHashToRelated=function(e,t,r){var n=this,i={},a=n.blankNodeInfo[e].quads;n.forEach(a,function(r,a,o){var s,c;if("blank node"===r.subject.type&&r.subject.value!==e)c=r.subject.value,s="p";else{if("blank node"!==r.object.type||r.object.value===e)return o();c=r.object.value,s="r"}n.hashRelatedBlankNode(c,r,t,s,function(e,t){t in i?i[t].push(c):i[t]=[c],o()})},function(e){r(e,i)})},e}();Object.keys||(Object.keys=function(e){if(e!==Object(e))throw new TypeError("Object.keys called on non-object");var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}),t.registerRDFParser("application/nquads",ne),t.registerRDFParser("rdfa-api",function(e){var t={};t["@default"]=[];for(var r=e.getSubjects(),n=0;n<r.length;++n){var i=r[n];if(null!==i){var a=e.getSubjectTriples(i);if(null!==a){var o=a.predicates;for(var s in o)for(var c=o[s].objects,u=0;u<c.length;++u){var l=c[u],f={};0===i.indexOf("_:")?f.subject={type:"blank node",value:i}:f.subject={type:"IRI",value:i},0===s.indexOf("_:")?f.predicate={type:"blank node",value:s}:f.predicate={type:"IRI",value:s};var p=l.value;if(l.type===je){pe||Re();var h=new pe;p="";for(var d=0;d<l.value.length;d++)l.value[d].nodeType===he.ELEMENT_NODE?p+=h.serializeToString(l.value[d]):l.value[d].nodeType===he.TEXT_NODE&&(p+=l.value[d].nodeValue)}f.object={},l.type===Se?0===l.value.indexOf("_:")?f.object.type="blank node":f.object.type="IRI":(f.object.type="literal",l.type===we?l.language?(f.object.datatype=Ee,f.object.language=l.language):f.object.datatype=ve:f.object.datatype=l.type),f.object.value=p,t["@default"].push(f)}}}}return t}),t.IdentifierIssuer=oe,t.UniqueNamer=oe,oe.prototype.clone=function(){var e=new oe(this.prefix);return e.counter=this.counter,e.existing=ee(this.existing),e},oe.prototype.getId=function(e){if(e&&e in this.existing)return this.existing[e];var t=this.prefix+this.counter;return this.counter+=1,e&&(this.existing[e]=t),t},oe.prototype.getName=oe.prototype.getName,oe.prototype.hasId=function(e){return e in this.existing},oe.prototype.isNamed=oe.prototype.hasId;var Ce=function(e){this.list=e.sort(),this.done=!1,this.left={};for(var t=0;t<e.length;++t)this.left[e[t]]=!0};Ce.prototype.hasNext=function(){return!this.done},Ce.prototype.next=function(){for(var e=this.list.slice(),t=null,r=0,n=this.list.length,i=0;i<n;++i){var a=this.list[i],o=this.left[a];(null===t||a>t)&&(o&&i>0&&a>this.list[i-1]||!o&&i<n-1&&a>this.list[i+1])&&(t=a,r=i)}if(null===t)this.done=!0;else{var s=this.left[t]?r-1:r+1;this.list[r]=this.list[s],this.list[s]=t;for(i=0;i<n;++i)this.list[i]>t&&(this.left[this.list[i]]=!this.left[this.list[i]])}return e};var ze=function(e){if(!(this instanceof ze))return new ze(e);if(-1===["URDNA2015","URGNA2012"].indexOf(e))throw new Error("Invalid RDF Dataset Normalization algorithm: "+e);ze._init.call(this,e)};if(ze.hashNQuads=function(e,t){for(var r=new ze(e),n=0;n<t.length;++n)r.update(t[n]);return r.digest()},function(t){if(t){var r=e("crypto");return ze._init=function(e){e="URDNA2015"===e?"sha256":"sha1",this.md=r.createHash(e)},ze.prototype.update=function(e){return this.md.update(e,"utf8")},void(ze.prototype.digest=function(){return this.md.digest("hex")})}ze._init=function(e){e="URDNA2015"===e?new a.Algorithm:new i.Algorithm,this.md=new n(e)},ze.prototype.update=function(e){return this.md.update(e)},ze.prototype.digest=function(){return this.md.digest().toHex()};var n=function(e){if(!(this instanceof n))return new n(e);if(this._algorithm=e,!n._padding||n._padding.length<this._algorithm.blockSize){n._padding=String.fromCharCode(128);for(var t=String.fromCharCode(0),r=64;r>0;)1&r&&(n._padding+=t),(r>>>=1)>0&&(t+=t)}this.start()};n.prototype.start=function(){this.messageLength=0,this.fullMessageLength=[];for(var e=this._algorithm.messageLengthSize/4,t=0;t<e;++t)this.fullMessageLength.push(0);return this._input=new n.ByteBuffer,this.state=this._algorithm.start(),this},n.prototype.update=function(e){e=new n.ByteBuffer(unescape(encodeURIComponent(e))),this.messageLength+=e.length();var t=e.length();t=[t/4294967296>>>0,t>>>0];for(var r=this.fullMessageLength.length-1;r>=0;--r)this.fullMessageLength[r]+=t[1],t[1]=t[0]+(this.fullMessageLength[r]/4294967296>>>0),this.fullMessageLength[r]=this.fullMessageLength[r]>>>0,t[0]=t[1]/4294967296>>>0;for(this._input.putBytes(e.bytes());this._input.length()>=this._algorithm.blockSize;)this.state=this._algorithm.digest(this.state,this._input);return(this._input.read>2048||0===this._input.length())&&this._input.compact(),this},n.prototype.digest=function(){var e=new n.ByteBuffer;e.putBytes(this._input.bytes());var t=this.fullMessageLength[this.fullMessageLength.length-1]+this._algorithm.messageLengthSize&this._algorithm.blockSize-1;e.putBytes(n._padding.substr(0,this._algorithm.blockSize-t));for(var r=new n.ByteBuffer,i=0;i<this.fullMessageLength.length;++i)r.putInt32(this.fullMessageLength[i]<<3|this.fullMessageLength[i+1]>>>28);this._algorithm.writeMessageLength(e,r);var a=this._algorithm.digest(this.state.copy(),e),o=new n.ByteBuffer;return a.write(o),o},n.ByteBuffer=function(e){this.data="string"==typeof e?e:"",this.read=0},n.ByteBuffer.prototype.putInt32=function(e){this.data+=String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e)},n.ByteBuffer.prototype.getInt32=function(){var e=this.data.charCodeAt(this.read)<<24^this.data.charCodeAt(this.read+1)<<16^this.data.charCodeAt(this.read+2)<<8^this.data.charCodeAt(this.read+3);return this.read+=4,e},n.ByteBuffer.prototype.putBytes=function(e){this.data+=e},n.ByteBuffer.prototype.bytes=function(){return this.data.slice(this.read)},n.ByteBuffer.prototype.length=function(){return this.data.length-this.read},n.ByteBuffer.prototype.compact=function(){this.data=this.data.slice(this.read),this.read=0},n.ByteBuffer.prototype.toHex=function(){for(var e="",t=this.read;t<this.data.length;++t){var r=this.data.charCodeAt(t);r<16&&(e+="0"),e+=r.toString(16)}return e};var i={_w:null};i.Algorithm=function(){this.name="sha1",this.blockSize=64,this.digestLength=20,this.messageLengthSize=8},i.Algorithm.prototype.start=function(){return i._w||(i._w=new Array(80)),i._createState()},i.Algorithm.prototype.writeMessageLength=function(e,t){e.putBytes(t.bytes())},i.Algorithm.prototype.digest=function(e,t){for(var r,n,a,o,s,c,u,l=t.length(),f=i._w;l>=64;){for(n=e.h0,a=e.h1,o=e.h2,s=e.h3,c=e.h4,u=0;u<16;++u)r=t.getInt32(),f[u]=r,r=(n<<5|n>>>27)+(s^a&(o^s))+c+1518500249+r,c=s,s=o,o=a<<30|a>>>2,a=n,n=r;for(;u<20;++u)r=(r=f[u-3]^f[u-8]^f[u-14]^f[u-16])<<1|r>>>31,f[u]=r,r=(n<<5|n>>>27)+(s^a&(o^s))+c+1518500249+r,c=s,s=o,o=a<<30|a>>>2,a=n,n=r;for(;u<32;++u)r=(r=f[u-3]^f[u-8]^f[u-14]^f[u-16])<<1|r>>>31,f[u]=r,r=(n<<5|n>>>27)+(a^o^s)+c+1859775393+r,c=s,s=o,o=a<<30|a>>>2,a=n,n=r;for(;u<40;++u)r=(r=f[u-6]^f[u-16]^f[u-28]^f[u-32])<<2|r>>>30,f[u]=r,r=(n<<5|n>>>27)+(a^o^s)+c+1859775393+r,c=s,s=o,o=a<<30|a>>>2,a=n,n=r;for(;u<60;++u)r=(r=f[u-6]^f[u-16]^f[u-28]^f[u-32])<<2|r>>>30,f[u]=r,r=(n<<5|n>>>27)+(a&o|s&(a^o))+c+2400959708+r,c=s,s=o,o=a<<30|a>>>2,a=n,n=r;for(;u<80;++u)r=(r=f[u-6]^f[u-16]^f[u-28]^f[u-32])<<2|r>>>30,f[u]=r,r=(n<<5|n>>>27)+(a^o^s)+c+3395469782+r,c=s,s=o,o=a<<30|a>>>2,a=n,n=r;e.h0=e.h0+n|0,e.h1=e.h1+a|0,e.h2=e.h2+o|0,e.h3=e.h3+s|0,e.h4=e.h4+c|0,l-=64}return e},i._createState=function(){var e={h0:1732584193,h1:4023233417,h2:2562383102,h3:271733878,h4:3285377520};return e.copy=function(){var t=i._createState();return t.h0=e.h0,t.h1=e.h1,t.h2=e.h2,t.h3=e.h3,t.h4=e.h4,t},e.write=function(t){t.putInt32(e.h0),t.putInt32(e.h1),t.putInt32(e.h2),t.putInt32(e.h3),t.putInt32(e.h4)},e};var a={_k:null,_w:null};a.Algorithm=function(){this.name="sha256",this.blockSize=64,this.digestLength=32,this.messageLengthSize=8},a.Algorithm.prototype.start=function(){return a._k||a._init(),a._createState()},a.Algorithm.prototype.writeMessageLength=function(e,t){e.putBytes(t.bytes())},a.Algorithm.prototype.digest=function(e,t){for(var r,n,i,o,s,c,u,l,f,p,h,d,m,g=t.length(),v=a._k,b=a._w;g>=64;){for(s=0;s<16;++s)b[s]=t.getInt32();for(;s<64;++s)r=((r=b[s-2])>>>17|r<<15)^(r>>>19|r<<13)^r>>>10,n=((n=b[s-15])>>>7|n<<25)^(n>>>18|n<<14)^n>>>3,b[s]=r+b[s-7]+n+b[s-16]|0;for(c=e.h0,u=e.h1,l=e.h2,f=e.h3,p=e.h4,h=e.h5,d=e.h6,m=e.h7,s=0;s<64;++s)i=(c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10),o=c&u|l&(c^u),r=m+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))+(d^p&(h^d))+v[s]+b[s],m=d,d=h,h=p,p=f+r|0,f=l,l=u,u=c,c=r+(n=i+o)|0;e.h0=e.h0+c|0,e.h1=e.h1+u|0,e.h2=e.h2+l|0,e.h3=e.h3+f|0,e.h4=e.h4+p|0,e.h5=e.h5+h|0,e.h6=e.h6+d|0,e.h7=e.h7+m|0,g-=64}return e},a._createState=function(){var e={h0:1779033703,h1:3144134277,h2:1013904242,h3:2773480762,h4:1359893119,h5:2600822924,h6:528734635,h7:1541459225};return e.copy=function(){var t=a._createState();return t.h0=e.h0,t.h1=e.h1,t.h2=e.h2,t.h3=e.h3,t.h4=e.h4,t.h5=e.h5,t.h6=e.h6,t.h7=e.h7,t},e.write=function(t){t.putInt32(e.h0),t.putInt32(e.h1),t.putInt32(e.h2),t.putInt32(e.h3),t.putInt32(e.h4),t.putInt32(e.h5),t.putInt32(e.h6),t.putInt32(e.h7)},e},a._init=function(){a._k=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a._w=new Array(64)}}(a),!pe)var Re=function(){pe=e("xmldom").XMLSerializer};if(t.url={},t.url.parsers={simple:{keys:["href","scheme","authority","path","query","fragment"],regex:/^(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/},full:{keys:["href","protocol","scheme","authority","auth","user","password","hostname","port","path","directory","file","query","fragment"],regex:/^(([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/}},t.url.parse=function(e,r){for(var n={},i=t.url.parsers[r||"full"],a=i.regex.exec(e),o=i.keys.length;o--;)n[i.keys[o]]=void 0===a[o]?null:a[o];return n.normalizedPath=se(n.path,!!n.authority),n},a?t.useDocumentLoader("node"):"undefined"!=typeof XMLHttpRequest&&t.useDocumentLoader("xhr"),a){t.use=function(r){switch(r){case"request":t.request=e("jsonld-request");break;default:throw new Ie("Unknown extension.","jsonld.UnknownExtension",{extension:r})}};var Be={exports:{},filename:i};e("pkginfo")(Be,"version"),t.version=Be.exports.version}return t},c=function(){return s(function(){return c()})};!a&&"function"==typeof define&&define.amd?define([],function(){return s(c),c}):(s(c),"function"==typeof e&&void 0!==t&&t.exports&&(t.exports=c),o&&("undefined"==typeof jsonld?jsonld=jsonldjs=c:jsonldjs=c))}()}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},"/node_modules/jsonld/js")},{_process:346,crypto:265,"es6-promise":198,http:265,"jsonld-request":265,pkginfo:265,request:265,util:265,xmldom:265}],267:[function(e,t,r){function n(e){var t,r,i="__deepCopy";if(e&&e[i])throw new Error("attempted deep copy of cyclic object");if(e&&e.constructor==Object){t={},e[i]=!0;for(r in e)r!=i&&(t[r]=n(e[r]));return delete e[i],t}if(e&&e.constructor==Array){for(t=[],e[i]=!0,r=0;r<e.length;r++)t.push(n(e[r]));return delete e[i],t}return e}function i(e,t){if(typeof e!=typeof t)return!1;if(null===e||null===t||"object"!=typeof e)return e===t;if(e.constructor!=t.constructor)return!1;var r;for(r in e){if(!t.hasOwnProperty(r))return!1;if(!i(e[r],t[r]))return!1}for(r in t)if(!e.hasOwnProperty(r))return!1;return!0}function a(e,t){return v.equal(typeof t,"string"),Object.prototype.hasOwnProperty.call(e,t)}function o(e,t){if(null!==e&&"object"==typeof e){if(e.hasOwnProperty(t))return e[t];var r=t.indexOf(".");if(-1!=r){var n=t.substr(0,r);if(e.hasOwnProperty(n))return o(e[n],t.substr(r+1))}}}function s(e,t,r,n){var i,a;if(0===t)return(i=r.slice(0)).push(e),void n(i);v.ok(null!==e),v.equal(typeof e,"object"),v.equal(typeof t,"number"),v.ok(t>=0);for(a in e)(i=r.slice(0)).push(a),s(e[a],t-1,i,n)}function c(e,t){if(0===t)return[e];v.ok(null!==e),v.equal(typeof e,"object"),v.equal(typeof t,"number"),v.ok(t>=0);var r,n=[];for(r in e)c(e[r],t-1).forEach(function(e){n.push([r].concat(e))});return n}function u(e){return e>=E&&e<=A?e-L:e>=F&&e<=C?e-N:e>=z&&e<=M?e-U:-1}function l(e){return 32===e||e>=9&&e<=13||160===e||5760===e||6158===e||e>=8192&&e<=8202||8232===e||8233===e||8239===e||8287===e||12288===e||65279===e}function f(e){return e===R||e===I?2:e===B||e===O?8:e===D||e===P?10:e===q||e===T?16:-1}function p(e,t){var r=_.validate(t,e);if(0===r.errors.length)return null;var n,i,a=r.errors[0],o=a.property,s=a.message.toLowerCase();-1!=(n=s.indexOf("the property "))&&-1!=(i=s.indexOf(" is not defined in the schema and the schema does not allow additional properties"))&&(n+="the property ".length,o=""===o?s.substr(n,i-n):o+"."+s.substr(n,i-n),s="unsupported property");var c=new y.VError('property "%s": %s',o,s);return c.jsv_details=a,c}function h(e){v.ok(e[0]>=0&&e[1]>=0,"negative numbers not allowed in hrtimes"),v.ok(e[1]<1e9,"nanoseconds column overflow")}function d(e,t){h(e),h(t),v.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],"negative differences not allowed");var r=[e[0]-t[0],0];return e[1]>=t[1]?r[1]=e[1]-t[1]:(r[0]--,r[1]=1e9-(t[1]-e[1])),r}function m(e,t){return h(e),h(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9),e[0]+=t[0],e}function g(e,t,r){var n,i;if(n={},r)for(i in r)n[i]=r[i];if(e)for(i in e)n[i]=e[i];if(t)for(i in t)n[i]=t[i];return n}var v=e("assert-plus"),b=(e("util"),e("extsprintf")),y=e("verror"),_=e("json-schema");r.deepCopy=n,r.deepEqual=i,r.isEmpty=function(e){var t;for(t in e)return!1;return!0},r.hasKey=a,r.forEachKey=function(e,t){for(var r in e)a(e,r)&&t(r,e[r])},r.pluck=function(e,t){return v.equal(typeof t,"string"),o(e,t)},r.flattenObject=c,r.flattenIter=function(e,t,r){s(e,t,[],r)},r.validateJsonObject=p,r.validateJsonObjectJS=p,r.randElt=function(e){return v.ok(Array.isArray(e)&&e.length>0,"randElt argument must be a non-empty array"),e[Math.floor(Math.random()*e.length)]},r.extraProperties=function(e,t){v.ok("object"==typeof e&&null!==e,"obj argument must be a non-null object"),v.ok(Array.isArray(t),"allowed argument must be an array of strings");for(var r=0;r<t.length;r++)v.ok("string"==typeof t[r],"allowed argument must be an array of strings");return Object.keys(e).filter(function(e){return-1===t.indexOf(e)})},r.mergeObjects=g,r.startsWith=function(e,t){return e.substr(0,t.length)==t},r.endsWith=function(e,t){return e.substr(e.length-t.length,t.length)==t},r.parseInteger=function(e,t){v.string(e,"str"),v.optionalObject(t,"options");var r=!1,n=S;t&&(r=a(t,"base"),n=g(n,t),v.number(n.base,"options.base"),v.ok(n.base>=2,"options.base >= 2"),v.ok(n.base<=36,"options.base <= 36"),v.bool(n.allowSign,"options.allowSign"),v.bool(n.allowPrefix,"options.allowPrefix"),v.bool(n.allowTrailing,"options.allowTrailing"),v.bool(n.allowImprecise,"options.allowImprecise"),v.bool(n.trimWhitespace,"options.trimWhitespace"),v.bool(n.leadingZeroIsOctal,"options.leadingZeroIsOctal"),n.leadingZeroIsOctal&&v.ok(!r,'"base" and "leadingZeroIsOctal" are mutually exclusive'));var i,o,s=-1,c=n.base,p=1,h=0,d=0,m=e.length;if(n.trimWhitespace)for(;d<m&&l(e.charCodeAt(d));)++d;for(n.allowSign&&("-"===e[d]?(d+=1,p=-1):"+"===e[d]&&(d+=1)),"0"===e[d]&&(n.allowPrefix&&(-1===(s=f(e.charCodeAt(d+1)))||r&&s!==c||(c=s,d+=2)),-1===s&&n.leadingZeroIsOctal&&(c=8)),o=d;d<m&&-1!==(i=u(e.charCodeAt(d)))&&i<c;++d)h*=c,h+=i;if(o===d)return new Error("invalid number: "+JSON.stringify(e));if(n.trimWhitespace)for(;d<m&&l(e.charCodeAt(d));)++d;if(d<m&&!n.allowTrailing)return new Error("trailing characters after number: "+JSON.stringify(e.slice(d)));if(0===h)return 0;var b=h*p;return!n.allowImprecise&&(h>w||b<j)?new Error("number is outside of the supported range: "+JSON.stringify(e.slice(o,d))):b},r.iso8601=function(e){return"number"==typeof e&&(e=new Date(e)),v.ok(e.constructor===Date),b.sprintf("%4d-%02d-%02dT%02d:%02d:%02d.%03dZ",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())},r.rfc1123=function(e){return b.sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",k[e.getUTCDay()],e.getUTCDate(),x[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},r.parseDateTime=function(e){var t=+e;return isNaN(t)?new Date(e):new Date(t)},r.hrtimediff=d,r.hrtimeDiff=d,r.hrtimeAccum=m,r.hrtimeAdd=function(e,t){return h(e),m([e[0],e[1]],t)},r.hrtimeNanosec=function(e){return h(e),Math.floor(1e9*e[0]+e[1])},r.hrtimeMicrosec=function(e){return h(e),Math.floor(1e6*e[0]+e[1]/1e3)},r.hrtimeMillisec=function(e){return h(e),Math.floor(1e3*e[0]+e[1]/1e6)};var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],k=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],w=Number.MAX_SAFE_INTEGER||9007199254740991,j=Number.MIN_SAFE_INTEGER||-9007199254740991,S={base:10,allowSign:!0,allowPrefix:!1,allowTrailing:!1,allowImprecise:!1,trimWhitespace:!1,leadingZeroIsOctal:!1},E=48,A=57,F=65,I=66,O=79,P=84,T=88,C=90,z=97,R=98,B=111,D=116,q=120,M=122,L=48,N=55,U=87},{"assert-plus":76,extsprintf:203,"json-schema":259,util:458,verror:464}],268:[function(e,t,r){var n=e("../internal/arrayEach"),i=e("../internal/baseEach"),a=e("../internal/createForEach")(n,i);t.exports=a},{"../internal/arrayEach":270,"../internal/baseEach":274,"../internal/createForEach":283}],269:[function(e,t,r){var n="Expected a function",i=Math.max;t.exports=function(e,t){if("function"!=typeof e)throw new TypeError(n);return t=i(void 0===t?e.length-1:+t||0,0),function(){for(var r=arguments,n=-1,a=i(r.length-t,0),o=Array(a);++n<a;)o[n]=r[t+n];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,r[0],o);case 2:return e.call(this,r[0],r[1],o)}var s=Array(t+1);for(n=-1;++n<t;)s[n]=r[n];return s[t]=o,e.apply(this,s)}}},{}],270:[function(e,t,r){t.exports=function(e,t){for(var r=-1,n=e.length;++r<n&&!1!==t(e[r],r,e););return e}},{}],271:[function(e,t,r){var n=e("../object/keys");t.exports=function(e,t,r){for(var i=-1,a=n(t),o=a.length;++i<o;){var s=a[i],c=e[s],u=r(c,t[s],s,e,t);(u===u?u===c:c!==c)&&(void 0!==c||s in e)||(e[s]=u)}return e}},{"../object/keys":302}],272:[function(e,t,r){var n=e("./baseCopy"),i=e("../object/keys");t.exports=function(e,t){return null==t?e:n(t,i(t),e)}},{"../object/keys":302,"./baseCopy":273}],273:[function(e,t,r){t.exports=function(e,t,r){r||(r={});for(var n=-1,i=t.length;++n<i;){var a=t[n];r[a]=e[a]}return r}},{}],274:[function(e,t,r){var n=e("./baseForOwn"),i=e("./createBaseEach")(n);t.exports=i},{"./baseForOwn":277,"./createBaseEach":281}],275:[function(e,t,r){var n=e("./createBaseFor")();t.exports=n},{"./createBaseFor":282}],276:[function(e,t,r){var n=e("./baseFor"),i=e("../object/keysIn");t.exports=function(e,t){return n(e,t,i)}},{"../object/keysIn":303,"./baseFor":275}],277:[function(e,t,r){var n=e("./baseFor"),i=e("../object/keys");t.exports=function(e,t){return n(e,t,i)}},{"../object/keys":302,"./baseFor":275}],278:[function(e,t,r){t.exports=function(e){return function(t){return null==t?void 0:t[e]}}},{}],279:[function(e,t,r){var n=e("../utility/identity");t.exports=function(e,t,r){if("function"!=typeof e)return n;if(void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 3:return function(r,n,i){return e.call(t,r,n,i)};case 4:return function(r,n,i,a){return e.call(t,r,n,i,a)};case 5:return function(r,n,i,a,o){return e.call(t,r,n,i,a,o)}}return function(){return e.apply(t,arguments)}}},{"../utility/identity":304}],280:[function(e,t,r){var n=e("./bindCallback"),i=e("./isIterateeCall"),a=e("../function/restParam");t.exports=function(e){return a(function(t,r){var a=-1,o=null==t?0:r.length,s=o>2?r[o-2]:void 0,c=o>2?r[2]:void 0,u=o>1?r[o-1]:void 0;for("function"==typeof s?(s=n(s,u,5),o-=2):o-=(s="function"==typeof u?u:void 0)?1:0,c&&i(r[0],r[1],c)&&(s=o<3?void 0:s,o=1);++a<o;){var l=r[a];l&&e(t,l,s)}return t})}},{"../function/restParam":269,"./bindCallback":279,"./isIterateeCall":288}],281:[function(e,t,r){var n=e("./getLength"),i=e("./isLength"),a=e("./toObject");t.exports=function(e,t){return function(r,o){var s=r?n(r):0;if(!i(s))return e(r,o);for(var c=t?s:-1,u=a(r);(t?c--:++c<s)&&!1!==o(u[c],c,u););return r}}},{"./getLength":284,"./isLength":289,"./toObject":292}],282:[function(e,t,r){var n=e("./toObject");t.exports=function(e){return function(t,r,i){for(var a=n(t),o=i(t),s=o.length,c=e?s:-1;e?c--:++c<s;){var u=o[c];if(!1===r(a[u],u,a))break}return t}}},{"./toObject":292}],283:[function(e,t,r){var n=e("./bindCallback"),i=e("../lang/isArray");t.exports=function(e,t){return function(r,a,o){return"function"==typeof a&&void 0===o&&i(r)?e(r,a):t(r,n(a,o,3))}}},{"../lang/isArray":294,"./bindCallback":279}],284:[function(e,t,r){var n=e("./baseProperty")("length");t.exports=n},{"./baseProperty":278}],285:[function(e,t,r){var n=e("../lang/isNative");t.exports=function(e,t){var r=null==e?void 0:e[t];return n(r)?r:void 0}},{"../lang/isNative":296}],286:[function(e,t,r){var n=e("./getLength"),i=e("./isLength");t.exports=function(e){return null!=e&&i(n(e))}},{"./getLength":284,"./isLength":289}],287:[function(e,t,r){var n=/^\d+$/,i=9007199254740991;t.exports=function(e,t){return e="number"==typeof e||n.test(e)?+e:-1,t=null==t?i:t,e>-1&&e%1==0&&e<t}},{}],288:[function(e,t,r){var n=e("./isArrayLike"),i=e("./isIndex"),a=e("../lang/isObject");t.exports=function(e,t,r){if(!a(r))return!1;var o=typeof t;if("number"==o?n(r)&&i(t,r.length):"string"==o&&t in r){var s=r[t];return e===e?e===s:s!==s}return!1}},{"../lang/isObject":297,"./isArrayLike":286,"./isIndex":287}],289:[function(e,t,r){var n=9007199254740991;t.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},{}],290:[function(e,t,r){t.exports=function(e){return!!e&&"object"==typeof e}},{}],291:[function(e,t,r){var n=e("../lang/isArguments"),i=e("../lang/isArray"),a=e("./isIndex"),o=e("./isLength"),s=e("../object/keysIn"),c=Object.prototype.hasOwnProperty;t.exports=function(e){for(var t=s(e),r=t.length,u=r&&e.length,l=!!u&&o(u)&&(i(e)||n(e)),f=-1,p=[];++f<r;){var h=t[f];(l&&a(h,u)||c.call(e,h))&&p.push(h)}return p}},{"../lang/isArguments":293,"../lang/isArray":294,"../object/keysIn":303,"./isIndex":287,"./isLength":289}],292:[function(e,t,r){var n=e("../lang/isObject");t.exports=function(e){return n(e)?e:Object(e)}},{"../lang/isObject":297}],293:[function(e,t,r){var n=e("../internal/isArrayLike"),i=e("../internal/isObjectLike"),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable;t.exports=function(e){return i(e)&&n(e)&&o.call(e,"callee")&&!s.call(e,"callee")}},{"../internal/isArrayLike":286,"../internal/isObjectLike":290}],294:[function(e,t,r){var n=e("../internal/getNative"),i=e("../internal/isLength"),a=e("../internal/isObjectLike"),o=Object.prototype.toString,s=n(Array,"isArray")||function(e){return a(e)&&i(e.length)&&"[object Array]"==o.call(e)};t.exports=s},{"../internal/getNative":285,"../internal/isLength":289,"../internal/isObjectLike":290}],295:[function(e,t,r){var n=e("./isObject"),i="[object Function]",a=Object.prototype.toString;t.exports=function(e){return n(e)&&a.call(e)==i}},{"./isObject":297}],296:[function(e,t,r){var n=e("./isFunction"),i=e("../internal/isObjectLike"),a=/^\[object .+?Constructor\]$/,o=Object.prototype,s=Function.prototype.toString,c=o.hasOwnProperty,u=RegExp("^"+s.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e){return null!=e&&(n(e)?u.test(s.call(e)):i(e)&&a.test(e))}},{"../internal/isObjectLike":290,"./isFunction":295}],297:[function(e,t,r){t.exports=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}},{}],298:[function(e,t,r){var n=e("../internal/baseForIn"),i=e("./isArguments"),a=e("../internal/isObjectLike"),o="[object Object]",s=Object.prototype,c=s.hasOwnProperty,u=s.toString;t.exports=function(e){var t;if(!a(e)||u.call(e)!=o||i(e)||!c.call(e,"constructor")&&"function"==typeof(t=e.constructor)&&!(t instanceof t))return!1;var r;return n(e,function(e,t){r=t}),void 0===r||c.call(e,r)}},{"../internal/baseForIn":276,"../internal/isObjectLike":290,"./isArguments":293}],299:[function(e,t,r){var n=e("../internal/isObjectLike"),i="[object String]",a=Object.prototype.toString;t.exports=function(e){return"string"==typeof e||n(e)&&a.call(e)==i}},{"../internal/isObjectLike":290}],300:[function(e,t,r){t.exports=function(e){return void 0===e}},{}],301:[function(e,t,r){var n=e("../internal/assignWith"),i=e("../internal/baseAssign"),a=e("../internal/createAssigner")(function(e,t,r){return r?n(e,t,r):i(e,t)});t.exports=a},{"../internal/assignWith":271,"../internal/baseAssign":272,"../internal/createAssigner":280}],302:[function(e,t,r){var n=e("../internal/getNative"),i=e("../internal/isArrayLike"),a=e("../lang/isObject"),o=e("../internal/shimKeys"),s=n(Object,"keys"),c=s?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&i(e)?o(e):a(e)?s(e):[]}:o;t.exports=c},{"../internal/getNative":285,"../internal/isArrayLike":286,"../internal/shimKeys":291,"../lang/isObject":297}],303:[function(e,t,r){var n=e("../lang/isArguments"),i=e("../lang/isArray"),a=e("../internal/isIndex"),o=e("../internal/isLength"),s=e("../lang/isObject"),c=Object.prototype.hasOwnProperty;t.exports=function(e){if(null==e)return[];s(e)||(e=Object(e));var t=e.length;t=t&&o(t)&&(i(e)||n(e))&&t||0;for(var r=e.constructor,u=-1,l="function"==typeof r&&r.prototype===e,f=Array(t),p=t>0;++u<t;)f[u]=u+"";for(var h in e)p&&a(h,t)||"constructor"==h&&(l||!c.call(e,h))||f.push(h);return f}},{"../internal/isIndex":287,"../internal/isLength":289,"../lang/isArguments":293,"../lang/isArray":294,"../lang/isObject":297}],304:[function(e,t,r){t.exports=function(e){return e}},{}],305:[function(e,t,r){(function(r){"use strict";function n(){l.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function i(e,t){return e<<t|e>>>32-t}function a(e,t,r,n,a,o,s){return i(e+(t&r|~t&n)+a+o|0,s)+t|0}function o(e,t,r,n,a,o,s){return i(e+(t&n|r&~n)+a+o|0,s)+t|0}function s(e,t,r,n,a,o,s){return i(e+(t^r^n)+a+o|0,s)+t|0}function c(e,t,r,n,a,o,s){return i(e+(r^(t|~n))+a+o|0,s)+t|0}var u=e("inherits"),l=e("hash-base"),f=new Array(16);u(n,l),n.prototype._update=function(){for(var e=f,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,u=this._d;n=c(n=c(n=c(n=c(n=s(n=s(n=s(n=s(n=o(n=o(n=o(n=o(n=a(n=a(n=a(n=a(n,i=a(i,u=a(u,r=a(r,n,i,u,e[0],3614090360,7),n,i,e[1],3905402710,12),r,n,e[2],606105819,17),u,r,e[3],3250441966,22),i=a(i,u=a(u,r=a(r,n,i,u,e[4],4118548399,7),n,i,e[5],1200080426,12),r,n,e[6],2821735955,17),u,r,e[7],4249261313,22),i=a(i,u=a(u,r=a(r,n,i,u,e[8],1770035416,7),n,i,e[9],2336552879,12),r,n,e[10],4294925233,17),u,r,e[11],2304563134,22),i=a(i,u=a(u,r=a(r,n,i,u,e[12],1804603682,7),n,i,e[13],4254626195,12),r,n,e[14],2792965006,17),u,r,e[15],1236535329,22),i=o(i,u=o(u,r=o(r,n,i,u,e[1],4129170786,5),n,i,e[6],3225465664,9),r,n,e[11],643717713,14),u,r,e[0],3921069994,20),i=o(i,u=o(u,r=o(r,n,i,u,e[5],3593408605,5),n,i,e[10],38016083,9),r,n,e[15],3634488961,14),u,r,e[4],3889429448,20),i=o(i,u=o(u,r=o(r,n,i,u,e[9],568446438,5),n,i,e[14],3275163606,9),r,n,e[3],4107603335,14),u,r,e[8],1163531501,20),i=o(i,u=o(u,r=o(r,n,i,u,e[13],2850285829,5),n,i,e[2],4243563512,9),r,n,e[7],1735328473,14),u,r,e[12],2368359562,20),i=s(i,u=s(u,r=s(r,n,i,u,e[5],4294588738,4),n,i,e[8],2272392833,11),r,n,e[11],1839030562,16),u,r,e[14],4259657740,23),i=s(i,u=s(u,r=s(r,n,i,u,e[1],2763975236,4),n,i,e[4],1272893353,11),r,n,e[7],4139469664,16),u,r,e[10],3200236656,23),i=s(i,u=s(u,r=s(r,n,i,u,e[13],681279174,4),n,i,e[0],3936430074,11),r,n,e[3],3572445317,16),u,r,e[6],76029189,23),i=s(i,u=s(u,r=s(r,n,i,u,e[9],3654602809,4),n,i,e[12],3873151461,11),r,n,e[15],530742520,16),u,r,e[2],3299628645,23),i=c(i,u=c(u,r=c(r,n,i,u,e[0],4096336452,6),n,i,e[7],1126891415,10),r,n,e[14],2878612391,15),u,r,e[5],4237533241,21),i=c(i,u=c(u,r=c(r,n,i,u,e[12],1700485571,6),n,i,e[3],2399980690,10),r,n,e[10],4293915773,15),u,r,e[1],2240044497,21),i=c(i,u=c(u,r=c(r,n,i,u,e[8],1873313359,6),n,i,e[15],4264355552,10),r,n,e[6],2734768916,15),u,r,e[13],1309151649,21),i=c(i,u=c(u,r=c(r,n,i,u,e[4],4149444226,6),n,i,e[11],3174756917,10),r,n,e[2],718787259,15),u,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+u|0},n.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new r(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},t.exports=n}).call(this,e("buffer").Buffer)},{buffer:153,"hash-base":306,inherits:252}],306:[function(e,t,r){"use strict";function n(e,t){if(!a.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}function i(e){o.call(this),this._block=a.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}var a=e("safe-buffer").Buffer,o=e("stream").Transform;e("inherits")(i,o),i.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},i.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},i.prototype.update=function(e,t){if(n(e,"Data"),this._finalized)throw new Error("Digest already called");a.isBuffer(e)||(e=a.from(e,t));for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)r[this._blockOffset++]=e[i++];for(var s=0,c=8*e.length;c>0;++s)this._length[s]+=c,(c=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*c);return this},i.prototype._update=function(){throw new Error("_update is not implemented")},i.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},i.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=i},{inherits:252,"safe-buffer":402,stream:434}],307:[function(e,t,r){function n(e){this.rand=e||new a.Rand}var i=e("bn.js"),a=e("brorand");t.exports=n,n.create=function(e){return new n(e)},n.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var n=new i(this.rand.generate(r))}while(n.cmp(e)>=0);return n},n.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},n.prototype.test=function(e,t,r){var n=e.bitLength(),a=i.mont(e),o=new i(1).toRed(a);t||(t=Math.max(1,n/48|0));for(var s=e.subn(1),c=0;!s.testn(c);c++);for(var u=e.shrn(c),l=s.toRed(a);t>0;t--){var f=this._randrange(new i(2),s);r&&r(f);var p=f.toRed(a).redPow(u);if(0!==p.cmp(o)&&0!==p.cmp(l)){for(var h=1;h<c;h++){if(0===(p=p.redSqr()).cmp(o))return!1;if(0===p.cmp(l))break}if(h===c)return!1}}return!0},n.prototype.getDivisor=function(e,t){var r=e.bitLength(),n=i.mont(e),a=new i(1).toRed(n);t||(t=Math.max(1,r/48|0));for(var o=e.subn(1),s=0;!o.testn(s);s++);for(var c=e.shrn(s),u=o.toRed(n);t>0;t--){var l=this._randrange(new i(2),o),f=e.gcd(l);if(0!==f.cmpn(1))return f;var p=l.toRed(n).redPow(c);if(0!==p.cmp(a)&&0!==p.cmp(u)){for(var h=1;h<s;h++){if(0===(p=p.redSqr()).cmp(a))return p.fromRed().subn(1).gcd(e);if(0===p.cmp(u))break}if(h===s)return(p=p.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":120,brorand:121}],308:[function(e,t,r){t.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana"},"application/3gpp-ims+xml":{source:"iana"},"application/a2l":{source:"iana"},"application/activemessage":{source:"iana"},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana"},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",extensions:["atomsvc"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana"},"application/bacnet-xdd+zip":{source:"iana"},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana"},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana"},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/cbor":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana"},"application/ccxml+xml":{source:"iana",extensions:["ccxml"]},"application/cdfx+xml":{source:"iana"},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana"},"application/cellml+xml":{source:"iana"},"application/cfw":{source:"iana"},"application/clue_info+xml":{source:"iana"},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana"},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana"},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana"},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana"},"application/cstadata+xml":{source:"iana"},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",extensions:["mpd"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana"},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana"},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/docbook+xml":{source:"apache",extensions:["dbk"]},"application/dskpp+xml":{source:"iana"},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/emergencycalldata.comment+xml":{source:"iana"},"application/emergencycalldata.control+xml":{source:"iana"},"application/emergencycalldata.deviceinfo+xml":{source:"iana"},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana"},"application/emergencycalldata.serviceinfo+xml":{source:"iana"},"application/emergencycalldata.subscriberinfo+xml":{source:"iana"},"application/emergencycalldata.veds+xml":{source:"iana"},"application/emma+xml":{source:"iana",extensions:["emma"]},"application/emotionml+xml":{source:"iana"},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana"},"application/epub+zip":{source:"iana",extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana"},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1,extensions:["woff"]},"application/font-woff2":{compressible:!1,extensions:["woff2"]},"application/framework-attributes+xml":{source:"iana"},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geoxacml+xml":{source:"iana"},"application/gml+xml":{source:"iana",extensions:["gml"]},"application/gpx+xml":{source:"apache",extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana"},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana"},"application/ibe-pkg-reply+xml":{source:"iana"},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana"},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana"},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana"},"application/kpml-response+xml":{source:"iana"},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana"},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana"},"application/lost+xml":{source:"iana",extensions:["lostxml"]},"application/lostsync+xml":{source:"iana"},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",extensions:["mads"]},"application/manifest+json":{charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",extensions:["mathml"]},"application/mathml-content+xml":{source:"iana"},"application/mathml-presentation+xml":{source:"iana"},"application/mbms-associated-procedure-description+xml":{source:"iana"},"application/mbms-deregister+xml":{source:"iana"},"application/mbms-envelope+xml":{source:"iana"},"application/mbms-msk+xml":{source:"iana"},"application/mbms-msk-response+xml":{source:"iana"},"application/mbms-protection-description+xml":{source:"iana"},"application/mbms-reception-report+xml":{source:"iana"},"application/mbms-register+xml":{source:"iana"},"application/mbms-register-response+xml":{source:"iana"},"application/mbms-schedule+xml":{source:"iana"},"application/mbms-user-service-description+xml":{source:"iana"},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana"},"application/media_control+xml":{source:"iana"},"application/mediaservercontrol+xml":{source:"iana",extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",extensions:["metalink"]},"application/metalink4+xml":{source:"iana",extensions:["meta4"]},"application/mets+xml":{source:"iana",extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mmt-usd+xml":{source:"iana"},"application/mods+xml":{source:"iana",extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana"},"application/mrb-publish+xml":{source:"iana"},"application/msc-ivr+xml":{source:"iana"},"application/msc-mixer+xml":{source:"iana"},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana"},"application/n-triples":{source:"iana"},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana"},"application/news-groupinfo":{source:"iana"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana"},"application/nss":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p2p-overlay+xml":{source:"iana"},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana"},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana"},"application/pidf-diff+xml":{source:"iana"},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",extensions:["pls"]},"application/poc-settings+xml":{source:"iana"},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana"},"application/provenance+xml":{source:"iana"},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.hpub+zip":{source:"iana"},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana"},"application/pskc+xml":{source:"iana",extensions:["pskcxml"]},"application/qsig":{source:"iana"},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf"]},"application/reginfo+xml":{source:"iana",extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",extensions:["rld"]},"application/rfc+xml":{source:"iana"},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana"},"application/rls-services+xml":{source:"iana",extensions:["rs"]},"application/route-apd+xml":{source:"iana"},"application/route-s-tsid+xml":{source:"iana"},"application/route-usd+xml":{source:"iana"},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana"},"application/samlmetadata+xml":{source:"iana"},"application/sbml+xml":{source:"iana",extensions:["sbml"]},"application/scaip+xml":{source:"iana"},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/sep+xml":{source:"iana"},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",extensions:["shf"]},"application/sieve":{source:"iana"},"application/simple-filter+xml":{source:"iana"},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",extensions:["srx"]},"application/spirits-event+xml":{source:"iana"},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",extensions:["grxml"]},"application/sru+xml":{source:"iana",extensions:["sru"]},"application/ssdl+xml":{source:"apache",extensions:["ssdl"]},"application/ssml+xml":{source:"iana",extensions:["ssml"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/tei+xml":{source:"iana",extensions:["tei","teicorpus"]},"application/thraud+xml":{source:"iana",extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/trig":{source:"iana"},"application/ttml+xml":{source:"iana"},"application/tve-trigger":{source:"iana"},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana"},"application/urc-ressheet+xml":{source:"iana"},"application/urc-targetdesc+xml":{source:"iana"},"application/urc-uisocketdesc+xml":{source:"iana"},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana"},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana"},"application/vnd.3gpp-prose+xml":{source:"iana"},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana"},"application/vnd.3gpp.bsf+xml":{source:"iana"},"application/vnd.3gpp.gmop+xml":{source:"iana"},"application/vnd.3gpp.mcptt-info+xml":{source:"iana"},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana"},"application/vnd.3gpp.mid-call+xml":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana"},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana"},"application/vnd.3gpp.srvcc-info+xml":{source:"iana"},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana"},"application/vnd.3gpp.ussd+xml":{source:"iana"},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana"},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",extensions:["mpkg"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avistar+xml":{source:"iana"},"application/vnd.balsamiq.bmml+xml":{source:"iana"},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana"},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana"},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",extensions:["wbs"]},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana"},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana"},"application/vnd.cybank":{source:"iana"},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume-movie":{source:"iana"},"application/vnd.desmume.movie":{source:"apache"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana"},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana"},"application/vnd.dvb.notif-container+xml":{source:"iana"},"application/vnd.dvb.notif-generic+xml":{source:"iana"},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana"},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana"},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana"},"application/vnd.dvb.notif-init+xml":{source:"iana"},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana"},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana"},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana"},"application/vnd.eszigno3+xml":{source:"iana",extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana"},"application/vnd.etsi.asic-e+zip":{source:"iana"},"application/vnd.etsi.asic-s+zip":{source:"iana"},"application/vnd.etsi.cug+xml":{source:"iana"},"application/vnd.etsi.iptvcommand+xml":{source:"iana"},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana"},"application/vnd.etsi.iptvprofile+xml":{source:"iana"},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana"},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana"},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana"},"application/vnd.etsi.iptvservice+xml":{source:"iana"},"application/vnd.etsi.iptvsync+xml":{source:"iana"},"application/vnd.etsi.iptvueprofile+xml":{source:"iana"},"application/vnd.etsi.mcid+xml":{source:"iana"},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana"},"application/vnd.etsi.pstn+xml":{source:"iana"},"application/vnd.etsi.sci+xml":{source:"iana"},"application/vnd.etsi.simservs+xml":{source:"iana"},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana"},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana"},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana"},"application/vnd.gov.sk.e-form+zip":{source:"iana"},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana"},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana"},"application/vnd.imagemeter.image+zip":{source:"iana"},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana"},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana"},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana"},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana"},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana"},"application/vnd.iptc.g2.newsitem+xml":{source:"iana"},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana"},"application/vnd.iptc.g2.packageitem+xml":{source:"iana"},"application/vnd.iptc.g2.planningitem+xml":{source:"iana"},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",extensions:["lasxml"]},"application/vnd.liberty-request+xml":{source:"iana"},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",extensions:["lbe"]},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana"},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana"},"application/vnd.marlin.drm.conftoken+xml":{source:"iana"},"application/vnd.marlin.drm.license+xml":{source:"iana"},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana"},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana"},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana"},"application/vnd.ms-printing.printticket+xml":{source:"apache"},"application/vnd.ms-printschematicket+xml":{source:"iana"},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana"},"application/vnd.nokia.iptv.config+xml":{source:"iana"},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana"},"application/vnd.nokia.landmarkcollection+xml":{source:"iana"},"application/vnd.nokia.n-gage.ac+xml":{source:"iana"},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana"},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana"},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana"},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana"},"application/vnd.oipf.dae.xhtml+xml":{source:"iana"},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana"},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana"},"application/vnd.oipf.spdlist+xml":{source:"iana"},"application/vnd.oipf.ueprofile+xml":{source:"iana"},"application/vnd.oipf.userprofile+xml":{source:"iana"},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana"},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana"},"application/vnd.oma.bcast.imd+xml":{source:"iana"},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana"},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana"},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana"},"application/vnd.oma.bcast.sprov+xml":{source:"iana"},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana"},"application/vnd.oma.cab-feature-handler+xml":{source:"iana"},"application/vnd.oma.cab-pcc+xml":{source:"iana"},"application/vnd.oma.cab-subs-invite+xml":{source:"iana"},"application/vnd.oma.cab-user-prefs+xml":{source:"iana"},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana"},"application/vnd.oma.group-usage-list+xml":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana"},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana"},"application/vnd.oma.poc.final-report+xml":{source:"iana"},"application/vnd.oma.poc.groups+xml":{source:"iana"},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana"},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana"},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana"},"application/vnd.oma.xcap-directory+xml":{source:"iana"},"application/vnd.omads-email+xml":{source:"iana"},"application/vnd.omads-file+xml":{source:"iana"},"application/vnd.omads-folder+xml":{source:"iana"},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana"},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml-template":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"apache",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml-template":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"apache",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml-template":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"apache",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana"},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana"},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana"},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana"},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana"},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos+xml":{source:"iana"},"application/vnd.paos.xml":{source:"apache"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana"},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana"},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana"},"application/vnd.radisys.msml+xml":{source:"iana"},"application/vnd.radisys.msml-audit+xml":{source:"iana"},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana"},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana"},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana"},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana"},"application/vnd.radisys.msml-conf+xml":{source:"iana"},"application/vnd.radisys.msml-dialog+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana"},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana"},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana"},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.software602.filler.form+xml":{source:"iana"},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana"},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana"},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.tmd.mediaflex.api+xml":{source:"iana"},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana"},"application/vnd.wv.ssp+xml":{source:"iana"},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana"},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",extensions:["zaz"]},"application/voicexml+xml":{source:"iana",extensions:["vxml"]},"application/vq-rtcpxr":{source:"iana"},"application/watcherinfo+xml":{source:"iana"},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-otf":{source:"apache",compressible:!0,extensions:["otf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-ttf":{source:"apache",compressible:!0,extensions:["ttf","ttc"]},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"apache",extensions:["der","crt","pem"]},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana"},"application/xaml+xml":{source:"apache",extensions:["xaml"]},"application/xcap-att+xml":{source:"iana"},"application/xcap-caps+xml":{source:"iana"},"application/xcap-diff+xml":{source:"iana",extensions:["xdf"]},"application/xcap-el+xml":{source:"iana"},"application/xcap-error+xml":{source:"iana"},"application/xcap-ns+xml":{source:"iana"},"application/xcon-conference-info+xml":{source:"iana"},"application/xcon-conference-info-diff+xml":{source:"iana"},"application/xenc+xml":{source:"iana",extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache"},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana"},"application/xmpp+xml":{source:"iana"},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",extensions:["xpl"]},"application/xslt+xml":{source:"iana",extensions:["xslt"]},"application/xspf+xml":{source:"apache",extensions:["xspf"]},"application/xv+xml":{source:"iana",extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana"},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana"},"application/yin+xml":{source:"iana",extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana"},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana"},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tone":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/otf":{compressible:!0,extensions:["otf"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana"},"image/emf":{source:"iana"},"image/fits":{source:"iana"},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana"},"image/jp2":{source:"iana"},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jpm":{source:"iana"},"image/jpx":{source:"iana"},"image/ktx":{source:"iana",extensions:["ktx"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana"},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana"},"image/tiff":{source:"iana",compressible:!1,extensions:["tiff","tif"]},"image/tiff-fx":{source:"iana"},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana"},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana"},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana"},"image/vnd.valve.source.texture":{source:"iana"},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana"},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana"},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana"},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana"},"message/global-delivery-status":{source:"iana"},"message/global-disposition-notification":{source:"iana"},"message/global-headers":{source:"iana"},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana"},"model/3mf":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/vnd.collada+xml":{source:"iana",extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana"},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana"},"model/vnd.parasolid.transmit.binary":{source:"iana"},"model/vnd.parasolid.transmit.text":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.valve.source.compiled-map":{source:"iana"},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana"},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana"},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana",compressible:!1},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fwdred":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/hjson":{extensions:["hjson"]},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/slim":{extensions:["slim","slm"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana"},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vp8":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}},{}],309:[function(e,t,r){t.exports=e("./db.json")},{"./db.json":308}],310:[function(e,t,r){"use strict";function n(e){if(!e||"string"!=typeof e)return!1;var t=o.exec(e),r=t&&i[t[1].toLowerCase()];return r&&r.charset?r.charset:!(!t||!s.test(t[1]))&&"UTF-8"}var i=e("mime-db"),a=e("path").extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,s=/^text\//i;r.charset=n,r.charsets={lookup:n},r.contentType=function(e){if(!e||"string"!=typeof e)return!1;var t=-1===e.indexOf("/")?r.lookup(e):e;if(!t)return!1;if(-1===t.indexOf("charset")){var n=r.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t},r.extension=function(e){if(!e||"string"!=typeof e)return!1;var t=o.exec(e),n=t&&r.extensions[t[1].toLowerCase()];return!(!n||!n.length)&&n[0]},r.extensions=Object.create(null),r.lookup=function(e){if(!e||"string"!=typeof e)return!1;var t=a("x."+e).toLowerCase().substr(1);return!!t&&(r.types[t]||!1)},r.types=Object.create(null),function(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(i).forEach(function(n){var a=i[n],o=a.extensions;if(o&&o.length){e[n]=o;for(var s=0;s<o.length;s++){var c=o[s];if(t[c]){var u=r.indexOf(i[t[c]].source),l=r.indexOf(a.source);if("application/octet-stream"!==t[c]&&(u>l||u===l&&"application/"===t[c].substr(0,12)))continue}t[c]=n}}})}(r.extensions,r.types)},{"mime-db":309,path:338}],311:[function(e,t,r){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=n,n.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},{}],312:[function(e,t,r){"use strict";function n(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",r=0;r<e.length;r++)t+=n(e[r].toString(16));return t}var a=r;a.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16));else for(var n=0;n<e.length;n++){var i=e.charCodeAt(n),a=i>>8,o=255&i;a?r.push(a,o):r.push(o)}return r},a.zero2=n,a.toHex=i,a.encode=function(e,t){return"hex"===t?i(e):e}},{}],313:[function(e,t,r){var n=e;e=function(){};var r=t.exports={Lexer:e("./lib/N3Lexer"),Parser:e("./lib/N3Parser"),Writer:e("./lib/N3Writer"),Store:e("./lib/N3Store"),StreamParser:e("./lib/N3StreamParser"),StreamWriter:e("./lib/N3StreamWriter"),Util:e("./lib/N3Util")};Object.keys(r).forEach(function(e){Object.defineProperty(r,e,{configurable:!0,enumerable:!0,get:function(){return delete r[e],r[e]=n("./lib/N3"+e)}})})},{"./lib/N3Lexer":314,"./lib/N3Parser":315,"./lib/N3Store":316,"./lib/N3StreamParser":317,"./lib/N3StreamWriter":318,"./lib/N3Util":319,"./lib/N3Writer":320}],314:[function(e,t,r){function n(e){if(!(this instanceof n))return new n(e);if((e=e||{}).lineMode){this._tripleQuotedString=this._number=this._boolean=/$0^/;var t=this;this._tokenize=this.tokenize,this.tokenize=function(e,r){this._tokenize(e,function(e,n){!e&&/^(?:IRI|prefixed|literal|langcode|type|\.|eof)$/.test(n.type)?r&&r(e,n):r&&r(e||t._syntaxError(n.type,r=null))})}}this._n3Mode=!1!==e.n3,this._comments=!!e.comments}var i=String.fromCharCode,a="function"==typeof setImmediate?setImmediate:function(e){setTimeout(e,0)},o=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\[uU]|\\(.)/g,s={"\\":"\\","'":"'",'"':'"',n:"\n",r:"\r",t:"\t",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},c=/[\x00-\x20<>\\"\{\}\|\^\`]/;n.prototype={_iri:/^<((?:[^ <>{}\\]|\\[uU])+)>[ \t]*/,_unescapedIri:/^<([^\x00-\x20<>\\"\{\}\|\^\`]*)>[ \t]*/,_unescapedString:/^"[^"\\]+"(?=[^"\\])/,_singleQuotedString:/^"[^"\\]*(?:\\.[^"\\]*)*"(?=[^"\\])|^'[^'\\]*(?:\\.[^'\\]*)*'(?=[^'\\])/,_tripleQuotedString:/^""("[^"\\]*(?:(?:\\.|"(?!""))[^"\\]*)*")""|^''('[^'\\]*(?:(?:\\.|'(?!''))[^'\\]*)*')''/,_langcode:/^@([a-z]+(?:-[a-z0-9]+)*)(?=[^a-z0-9\-])/i,_prefix:/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:(?=[#\s<])/,_prefixed:/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:((?:(?:[0-:A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])(?:(?:[\.\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])*(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~]))?)?)(?:[ \t]+|(?=\.?[,;!\^\s#()\[\]\{\}"'<]))/,_variable:/^\?(?:(?:[A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?=[.,;!\^\s#()\[\]\{\}"'<])/,_blank:/^_:((?:[0-9A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?:[ \t]+|(?=\.?[,;:\s#()\[\]\{\}"'<]))/,_number:/^[\-+]?(?:\d+\.?\d*([eE](?:[\-\+])?\d+)|\d*\.?\d+)(?=[.,;:\s#()\[\]\{\}"'<])/,_boolean:/^(?:true|false)(?=[.,;\s#()\[\]\{\}"'<])/,_keyword:/^@[a-z]+(?=[\s#<])/i,_sparqlKeyword:/^(?:PREFIX|BASE|GRAPH)(?=[\s#<])/i,_shortPredicates:/^a(?=\s+|<)/,_newline:/^[ \t]*(?:#[^\n\r]*)?(?:\r\n|\n|\r)[ \t]*/,_comment:/#([^\n\r]*)/,_whitespace:/^[ \t]+/,_endOfFile:/^(?:#[^\n\r]*)?$/,_tokenizeToEnd:function(e,t){function r(t){e(t._syntaxError(/^\S*/.exec(n)[0]))}for(var n=this._input,i=this._comments;;){for(var a,o;a=this._newline.exec(n);)i&&(o=this._comment.exec(a[0]))&&e(null,{line:this._line,type:"comment",value:o[1],prefix:""}),n=n.substr(a[0].length,n.length),this._line++;if((a=this._whitespace.exec(n))&&(n=n.substr(a[0].length,n.length)),this._endOfFile.test(n))return t&&(i&&(o=this._comment.exec(n))&&e(null,{line:this._line,type:"comment",value:o[1],prefix:""}),e(n=null,{line:this._line,type:"eof",value:"",prefix:""})),this._input=n;var s,u=this._line,l="",f="",p="",h=n[0],d=null,m=0,g=!1;switch(h){case"^":if(n.length<3)break;if("^"!==n[1]){this._n3Mode&&(m=1,l="^");break}if(this._prevTokenType="^^","<"!==(n=n.substr(2))[0]){g=!0;break}case"<":if(d=this._unescapedIri.exec(n))l="IRI",f=d[1];else if(d=this._iri.exec(n)){if(null===(s=this._unescape(d[1]))||c.test(s))return r(this);l="IRI",f=s}else this._n3Mode&&n.length>1&&"="===n[1]&&(l="inverse",m=2,f="http://www.w3.org/2000/10/swap/log#implies");break;case"_":((d=this._blank.exec(n))||t&&(d=this._blank.exec(n+" ")))&&(l="blank",p="_",f=d[1]);break;case'"':case"'":if(d=this._unescapedString.exec(n))l="literal",f=d[0];else if(d=this._singleQuotedString.exec(n)){if(null===(s=this._unescape(d[0])))return r(this);l="literal",f=s.replace(/^'|'$/g,'"')}else if(d=this._tripleQuotedString.exec(n)){if(s=d[1]||d[2],this._line+=s.split(/\r\n|\r|\n/).length-1,null===(s=this._unescape(s)))return r(this);l="literal",f=s.replace(/^'|'$/g,'"')}break;case"?":this._n3Mode&&(d=this._variable.exec(n))&&(l="var",f=d[0]);break;case"@":"literal"===this._prevTokenType&&(d=this._langcode.exec(n))?(l="langcode",f=d[1]):(d=this._keyword.exec(n))&&(l=d[0]);break;case".":if(1===n.length?t:n[1]<"0"||n[1]>"9"){l=".",m=1;break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":case"-":(d=this._number.exec(n))&&(l="literal",f='"'+d[0]+'"^^http://www.w3.org/2001/XMLSchema#'+(d[1]?"double":/^[+\-]?\d+$/.test(d[0])?"integer":"decimal"));break;case"B":case"b":case"p":case"P":case"G":case"g":(d=this._sparqlKeyword.exec(n))?l=d[0].toUpperCase():g=!0;break;case"f":case"t":(d=this._boolean.exec(n))?(l="literal",f='"'+d[0]+'"^^http://www.w3.org/2001/XMLSchema#boolean'):g=!0;break;case"a":(d=this._shortPredicates.exec(n))?(l="abbreviation",f="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"):g=!0;break;case"=":this._n3Mode&&n.length>1&&(l="abbreviation",">"!==n[1]?(m=1,f="http://www.w3.org/2002/07/owl#sameAs"):(m=2,f="http://www.w3.org/2000/10/swap/log#implies"));break;case"!":if(!this._n3Mode)break;case",":case";":case"[":case"]":case"(":case")":case"{":case"}":m=1,l=h;break;default:g=!0}if(g&&("@prefix"!==this._prevTokenType&&"PREFIX"!==this._prevTokenType||!(d=this._prefix.exec(n))?((d=this._prefixed.exec(n))||t&&(d=this._prefixed.exec(n+" ")))&&(l="prefixed",p=d[1]||"",f=this._unescape(d[2])):(l="prefix",f=d[1]||"")),"^^"===this._prevTokenType)switch(l){case"prefixed":l="type";break;case"IRI":l="typeIRI";break;default:l=""}if(!l)return t||!/^'''|^"""/.test(n)&&/\n|\r/.test(n)?r(this):this._input=n;e(null,{line:u,type:l,value:f,prefix:p}),this._prevTokenType=l,n=n.substr(m||d[0].length,n.length)}},_unescape:function(e){try{return e.replace(o,function(e,t,r,n){var a;if(t){if(a=parseInt(t,16),isNaN(a))throw new Error;return i(a)}if(r){if(a=parseInt(r,16),isNaN(a))throw new Error;return a<=65535?i(a):i(55296+(a-=65536)/1024,56320+(1023&a))}var o=s[n];if(!o)throw new Error;return o})}catch(e){return null}},_syntaxError:function(e){return this._input=null,new Error('Unexpected "'+e+'" on line '+this._line+".")},tokenize:function(e,t){var r=this;if(this._line=1,"string"==typeof e){if(this._input=e,"function"!=typeof t){var n,i=[];if(this._tokenizeToEnd(function(e,t){e?n=e:i.push(t)},!0),n)throw n;return i}a(function(){r._tokenizeToEnd(t,!0)})}else this._input="","function"==typeof e.setEncoding&&e.setEncoding("utf8"),e.on("data",function(e){null!==r._input&&(r._input+=e,r._tokenizeToEnd(t,!1))}),e.on("end",function(){null!==r._input&&r._tokenizeToEnd(t,!0)})}},t.exports=n},{}],315:[function(e,t,r){function n(e){if(!(this instanceof n))return new n(e);this._contextStack=[],this._graph=null,e=e||{},this._setBase(e.documentIRI);var t="string"==typeof e.format?e.format.match(/\w*$/)[0].toLowerCase():"",r="turtle"===t,o="trig"===t,s=/triple/.test(t),c=/quad/.test(t),u=this._n3Mode=/n3/.test(t),l=s||c;(this._supportsNamedGraphs=!(r||u))||(this._readPredicateOrNamedGraph=this._readPredicate),this._supportsQuads=!(r||o||s||u),l&&(this._base="",this._resolveIRI=function(e){return this._error("Disallowed relative IRI",e),this._callback=i,this._subject=null}),this._blankNodePrefix="string"!=typeof e.blankNodePrefix?"":"_:"+e.blankNodePrefix.replace(/^_:/,""),this._lexer=e.lexer||new a({lineMode:l,n3:u}),this._explicitQuantifiers=!!e.explicitQuantifiers}function i(){}var a=e("./N3Lexer"),o="http://www.w3.org/1999/02/22-rdf-syntax-ns#",s=o+"nil",c=o+"first",u=o+"rest",l=/^[a-z][a-z0-9+.-]*:/i,f=/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i,p=/(?:^|\/)\.\.?(?:$|[\/#?])/,h=0,d=0;n._resetBlankNodeIds=function(){h=d=0},n.prototype={_setBase:function(e){if(e){var t=e.indexOf("#");t>=0&&(e=e.substr(0,t)),this._base=e,this._basePath=e.indexOf("/")<0?e:e.replace(/[^\/?]*(?:\?.*)?$/,""),e=e.match(f),this._baseRoot=e[0],this._baseScheme=e[1]}else this._base=null},_saveContext:function(e,t,r,n,i){var a=this._n3Mode;this._contextStack.push({subject:r,predicate:n,object:i,graph:t,type:e,inverse:!!a&&this._inversePredicate,blankPrefix:a?this._prefixes._:"",quantified:a?this._quantified:null}),a&&(this._inversePredicate=!1,this._prefixes._=this._graph+".",this._quantified=Object.create(this._quantified))},_restoreContext:function(){var e=this._contextStack.pop(),t=this._n3Mode;this._subject=e.subject,this._predicate=e.predicate,this._object=e.object,this._graph=e.graph,t&&(this._inversePredicate=e.inverse,this._prefixes._=e.blankPrefix,this._quantified=e.quantified)},_readInTopContext:function(e){switch(e.type){case"eof":return null!==this._graph?this._error("Unclosed graph",e):(delete this._prefixes._,this._callback(null,null,this._prefixes));case"PREFIX":this._sparqlStyle=!0;case"@prefix":return this._readPrefix;case"BASE":this._sparqlStyle=!0;case"@base":return this._readBaseIRI;case"{":if(this._supportsNamedGraphs)return this._graph="",this._subject=null,this._readSubject;case"GRAPH":if(this._supportsNamedGraphs)return this._readNamedGraphLabel;default:return this._readSubject(e)}},_readEntity:function(e,t){var r;switch(e.type){case"IRI":case"typeIRI":r=null===this._base||l.test(e.value)?e.value:this._resolveIRI(e);break;case"type":case"blank":case"prefixed":var n=this._prefixes[e.prefix];if(void 0===n)return this._error('Undefined prefix "'+e.prefix+':"',e);r=n+e.value;break;case"var":return e.value;default:return this._error("Expected entity but got "+e.type,e)}return!t&&this._n3Mode&&r in this._quantified&&(r=this._quantified[r]),r},_readSubject:function(e){switch(this._predicate=null,e.type){case"[":return this._saveContext("blank",this._graph,this._subject="_:b"+d++,null,null),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,s,null,null),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._graph="_:b"+d++,null,null),this._readSubject):this._error("Unexpected graph",e);case"}":return this._readPunctuation(e);case"@forSome":return this._subject=null,this._predicate="http://www.w3.org/2000/10/swap/reify#forSome",this._quantifiedPrefix="_:b",this._readQuantifierList;case"@forAll":return this._subject=null,this._predicate="http://www.w3.org/2000/10/swap/reify#forAll",this._quantifiedPrefix="?b-",this._readQuantifierList;default:if(void 0===(this._subject=this._readEntity(e)))return;if(this._n3Mode)return this._getPathReader(this._readPredicateOrNamedGraph)}return this._readPredicateOrNamedGraph},_readPredicate:function(e){var t=e.type;switch(t){case"inverse":this._inversePredicate=!0;case"abbreviation":this._predicate=e.value;break;case".":case"]":case"}":return null===this._predicate?this._error("Unexpected "+t,e):(this._subject=null,"]"===t?this._readBlankNodeTail(e):this._readPunctuation(e));case";":return this._readPredicate;case"blank":if(!this._n3Mode)return this._error("Disallowed blank node as predicate",e);default:if(void 0===(this._predicate=this._readEntity(e)))return}return this._readObject},_readObject:function(e){switch(e.type){case"literal":return this._object=e.value,this._readDataTypeOrLang;case"[":return this._saveContext("blank",this._graph,this._subject,this._predicate,this._subject="_:b"+d++),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this._subject,this._predicate,s),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph="_:b"+d++),this._readSubject):this._error("Unexpected graph",e);default:if(void 0===(this._object=this._readEntity(e)))return;if(this._n3Mode)return this._getPathReader(this._getContextEndReader())}return this._getContextEndReader()},_readPredicateOrNamedGraph:function(e){return"{"===e.type?this._readGraph(e):this._readPredicate(e)},_readGraph:function(e){return"{"!==e.type?this._error("Expected graph but got "+e.type,e):(this._graph=this._subject,this._subject=null,this._readSubject)},_readBlankNodeHead:function(e){return"]"===e.type?(this._subject=null,this._readBlankNodeTail(e)):(this._predicate=null,this._readPredicate(e))},_readBlankNodeTail:function(e){if("]"!==e.type)return this._readBlankNodePunctuation(e);null!==this._subject&&this._triple(this._subject,this._predicate,this._object,this._graph);var t=null===this._predicate;return this._restoreContext(),null===this._object?t?this._readPredicateOrNamedGraph:this._readPredicateAfterBlank:this._getContextEndReader()},_readPredicateAfterBlank:function(e){return"."!==e.type||this._contextStack.length?this._readPredicate(e):(this._subject=null,this._readPunctuation(e))},_readListItem:function(e){var t=null,r=null,n=this._subject,i=this._contextStack,a=i[i.length-1],o=this._readListItem,l=!0;switch(e.type){case"[":this._saveContext("blank",this._graph,r="_:b"+d++,c,this._subject=t="_:b"+d++),o=this._readBlankNodeHead;break;case"(":this._saveContext("list",this._graph,r="_:b"+d++,c,s),this._subject=null;break;case")":if(this._restoreContext(),0!==i.length&&"list"===i[i.length-1].type&&this._triple(this._subject,this._predicate,this._object,this._graph),null===this._predicate){if(o=this._readPredicate,this._subject===s)return o}else if(o=this._getContextEndReader(),this._object===s)return o;r=s;break;case"literal":t=e.value,l=!1,o=this._readListItemDataTypeOrLang;break;default:if(void 0===(t=this._readEntity(e)))return}if(null===r&&(this._subject=r="_:b"+d++),null===n?null===a.predicate?a.subject=r:a.object=r:this._triple(n,u,r,this._graph),null!==t){if(this._n3Mode&&("IRI"===e.type||"prefixed"===e.type))return this._saveContext("item",this._graph,r,c,t),this._subject=t,this._predicate=null,this._getPathReader(this._readListItem);l?this._triple(r,c,t,this._graph):this._object=t}return o},_readDataTypeOrLang:function(e){return this._completeLiteral(e,!1)},_readListItemDataTypeOrLang:function(e){return this._completeLiteral(e,!0)},_completeLiteral:function(e,t){var r=!1;switch(e.type){case"type":case"typeIRI":r=!0,this._object+="^^"+this._readEntity(e);break;case"langcode":r=!0,this._object+="@"+e.value.toLowerCase()}return t&&this._triple(this._subject,c,this._object,this._graph),r?this._getContextEndReader():(this._readCallback=this._getContextEndReader(),this._readCallback(e))},_readFormulaTail:function(e){return"}"!==e.type?this._readPunctuation(e):(null!==this._subject&&this._triple(this._subject,this._predicate,this._object,this._graph),this._restoreContext(),null===this._object?this._readPredicate:this._getContextEndReader())},_readPunctuation:function(e){var t,r=this._subject,n=this._graph,i=this._inversePredicate;switch(e.type){case"}":if(null===this._graph)return this._error("Unexpected graph closing",e);if(this._n3Mode)return this._readFormulaTail(e);this._graph=null;case".":this._subject=null,t=this._contextStack.length?this._readSubject:this._readInTopContext,i&&(this._inversePredicate=!1);break;case";":t=this._readPredicate;break;case",":t=this._readObject;break;default:if(this._supportsQuads&&null===this._graph&&void 0!==(n=this._readEntity(e))){t=this._readQuadPunctuation;break}return this._error('Expected punctuation to follow "'+this._object+'"',e)}if(null!==r){var a=this._predicate,o=this._object;i?this._triple(o,a,r,n):this._triple(r,a,o,n)}return t},_readBlankNodePunctuation:function(e){var t;switch(e.type){case";":t=this._readPredicate;break;case",":t=this._readObject;break;default:return this._error('Expected punctuation to follow "'+this._object+'"',e)}return this._triple(this._subject,this._predicate,this._object,this._graph),t},_readQuadPunctuation:function(e){return"."!==e.type?this._error("Expected dot to follow quad",e):this._readInTopContext},_readPrefix:function(e){return"prefix"!==e.type?this._error("Expected prefix to follow @prefix",e):(this._prefix=e.value,this._readPrefixIRI)},_readPrefixIRI:function(e){if("IRI"!==e.type)return this._error('Expected IRI to follow prefix "'+this._prefix+':"',e);var t=this._readEntity(e);return this._prefixes[this._prefix]=t,this._prefixCallback(this._prefix,t),this._readDeclarationPunctuation},_readBaseIRI:function(e){return"IRI"!==e.type?this._error("Expected IRI to follow base declaration",e):(this._setBase(null===this._base||l.test(e.value)?e.value:this._resolveIRI(e)),this._readDeclarationPunctuation)},_readNamedGraphLabel:function(e){switch(e.type){case"IRI":case"blank":case"prefixed":return this._readSubject(e),this._readGraph;case"[":return this._readNamedGraphBlankLabel;default:return this._error("Invalid graph label",e)}},_readNamedGraphBlankLabel:function(e){return"]"!==e.type?this._error("Invalid graph label",e):(this._subject="_:b"+d++,this._readGraph)},_readDeclarationPunctuation:function(e){return this._sparqlStyle?(this._sparqlStyle=!1,this._readInTopContext(e)):"."!==e.type?this._error("Expected declaration to end with a dot",e):this._readInTopContext},_readQuantifierList:function(e){var t;switch(e.type){case"IRI":case"prefixed":if(void 0!==(t=this._readEntity(e,!0)))break;default:return this._error("Unexpected "+e.type,e)}return this._explicitQuantifiers?(null===this._subject?this._triple(this._graph||"",this._predicate,this._subject="_:b"+d++,"urn:n3:quantifiers"):this._triple(this._subject,u,this._subject="_:b"+d++,"urn:n3:quantifiers"),this._triple(this._subject,c,t,"urn:n3:quantifiers")):this._quantified[t]=this._quantifiedPrefix+d++,this._readQuantifierPunctuation},_readQuantifierPunctuation:function(e){return","===e.type?this._readQuantifierList:(this._explicitQuantifiers&&(this._triple(this._subject,u,s,"urn:n3:quantifiers"),this._subject=null),this._readCallback=this._getContextEndReader(),this._readCallback(e))},_getPathReader:function(e){return this._afterPath=e,this._readPath},_readPath:function(e){switch(e.type){case"!":return this._readForwardPath;case"^":return this._readBackwardPath;default:var t=this._contextStack,r=t.length&&t[t.length-1];if(r&&"item"===r.type){var n=this._subject;this._restoreContext(),this._triple(this._subject,c,n,this._graph)}return this._afterPath(e)}},_readForwardPath:function(e){var t,r,n="_:b"+d++;if(void 0!==(r=this._readEntity(e)))return null===this._predicate?(t=this._subject,this._subject=n):(t=this._object,this._object=n),this._triple(t,r,n,this._graph),this._readPath},_readBackwardPath:function(e){var t,r,n="_:b"+d++;if(void 0!==(t=this._readEntity(e)))return null===this._predicate?(r=this._subject,this._subject=n):(r=this._object,this._object=n),this._triple(n,t,r,this._graph),this._readPath},_getContextEndReader:function(){var e=this._contextStack;if(!e.length)return this._readPunctuation;switch(e[e.length-1].type){case"blank":return this._readBlankNodeTail;case"list":return this._readListItem;case"formula":return this._readFormulaTail}},_triple:function(e,t,r,n){this._callback(null,{subject:e,predicate:t,object:r,graph:n||""})},_error:function(e,t){this._callback(new Error(e+" on line "+t.line+"."))},_resolveIRI:function(e){var t=e.value;switch(t[0]){case void 0:return this._base;case"#":return this._base+t;case"?":return this._base.replace(/(?:\?.*)?$/,t);case"/":return("/"===t[1]?this._baseScheme:this._baseRoot)+this._removeDotSegments(t);default:return this._removeDotSegments(this._basePath+t)}},_removeDotSegments:function(e){if(!p.test(e))return e;for(var t="",r=e.length,n=-1,i=-1,a=0,o="/";n<r;){switch(o){case":":if(i<0&&"/"===e[++n]&&"/"===e[++n])for(;(i=n+1)<r&&"/"!==e[i];)n=i;break;case"?":case"#":n=r;break;case"/":if("."===e[n+1])switch(o=e[++n+1]){case"/":t+=e.substring(a,n-1),a=n+1;break;case void 0:case"?":case"#":return t+e.substring(a,n)+e.substr(n+1);case".":if(void 0===(o=e[++n+1])||"/"===o||"?"===o||"#"===o){if(t+=e.substring(a,n-2),(a=t.lastIndexOf("/"))>=i&&(t=t.substr(0,a)),"/"!==o)return t+"/"+e.substr(n+1);a=n+1}}}o=e[++n]}return t+e.substring(a)},parse:function(e,t,r){var n=this;if(this._readCallback=this._readInTopContext,this._sparqlStyle=!1,this._prefixes=Object.create(null),this._prefixes._=this._blankNodePrefix||"_:b"+h+++"_",this._prefixCallback=r||i,this._inversePredicate=!1,this._quantified=Object.create(null),!t){var a,o=[];if(this._callback=function(e,t){e?a=e:t&&o.push(t)},this._lexer.tokenize(e).every(function(e){return n._readCallback=n._readCallback(e)}),a)throw a;return o}this._callback=t,this._lexer.tokenize(e,function(e,t){null!==e?(n._callback(e),n._callback=i):n._readCallback&&(n._readCallback=n._readCallback(t))})}},t.exports=n},{"./N3Lexer":314}],316:[function(e,t,r){function n(e,t){if(!(this instanceof n))return new n(e,t);this._size=0,this._graphs=Object.create(null),this._id=0,this._ids=Object.create(null),this._ids["><"]=0,this._entities=Object.create(null),this._blankNodeIndex=0,t||!e||e[0]||(t=e,e=null),t=t||{},this._prefixes=Object.create(null),t.prefixes&&this.addPrefixes(t.prefixes),e&&this.addTriples(e)}function i(e){return"string"==typeof e||e instanceof String}var a=e("./N3Util").expandPrefixedName;n.prototype={get size(){var e=this._size;if(null!==e)return e;e=0;var t,r,n=this._graphs;for(var i in n)for(var a in t=n[i].subjects)for(var o in r=t[a])e+=Object.keys(r[o]).length;return this._size=e},_addToIndex:function(e,t,r,n){var i=e[t]||(e[t]={}),a=i[r]||(i[r]={}),o=n in a;return o||(a[n]=null),!o},_removeFromIndex:function(e,t,r,n){var i,a=e[t],o=a[r];delete o[n];for(i in o)return;delete a[r];for(i in a)return;delete e[t]},_findInIndex:function(e,t,r,n,i,a,o,s,c,u){var l,f,p,h=!t+!r+!n>1?Object.keys(this._ids):this._entities;t&&((l=e,e={})[t]=l[t]);for(var d in e){var m=h[d];if(f=e[d]){r&&((l=f,f={})[r]=l[r]);for(var g in f){var v=h[g];if(p=f[g])for(var b=(n?n in p?[n]:[]:Object.keys(p)),y=b.length-1;y>=0;y--){var _={subject:"",predicate:"",object:"",graph:s};if(_[i]=m,_[a]=v,_[o]=h[b[y]],u)u.push(_);else if(c(_))return!0}}}}return u},_loop:function(e,t){for(var r in e)t(r)},_loopByKey0:function(e,t,r){var n,i;if(n=e[t])for(i in n)r(i)},_loopByKey1:function(e,t,r){var n;for(n in e)e[n][t]&&r(n)},_loopBy2Keys:function(e,t,r,n){var i,a,o;if((i=e[t])&&(a=i[r]))for(o in a)n(o)},_countInIndex:function(e,t,r,n){var i,a,o,s=0;t&&((i=e,e={})[t]=i[t]);for(var c in e)if(a=e[c]){r&&((i=a,a={})[r]=i[r]);for(var u in a)(o=a[u])&&(n?n in o&&s++:s+=Object.keys(o).length)}return s},_getGraphs:function(e){if(!i(e))return this._graphs;var t={};return t[e]=this._graphs[e],t},_uniqueEntities:function(e){var t=Object.create(null),r=this._entities;return function(n){n in t||(t[n]=!0,e(r[n]))}},addTriple:function(e,t,r,n){t||(n=e.graph,r=e.object,t=e.predicate,e=e.subject),n=n||"";var i=this._graphs[n];i||(i=this._graphs[n]={subjects:{},predicates:{},objects:{}},Object.freeze(i));var a=this._ids,o=this._entities;e=a[e]||(a[o[++this._id]=e]=this._id),t=a[t]||(a[o[++this._id]=t]=this._id),r=a[r]||(a[o[++this._id]=r]=this._id);var s=this._addToIndex(i.subjects,e,t,r);return this._addToIndex(i.predicates,t,r,e),this._addToIndex(i.objects,r,e,t),this._size=null,s},addTriples:function(e){for(var t=e.length-1;t>=0;t--)this.addTriple(e[t])},addPrefix:function(e,t){this._prefixes[e]=t},addPrefixes:function(e){for(var t in e)this.addPrefix(t,e[t])},removeTriple:function(e,t,r,n){t||(n=e.graph,r=e.object,t=e.predicate,e=e.subject),n=n||"";var i,a,o,s=this._ids,c=this._graphs;if(!((e=s[e])&&(t=s[t])&&(r=s[r])&&(i=c[n])&&(a=i.subjects[e])&&(o=a[t])&&r in o))return!1;this._removeFromIndex(i.subjects,e,t,r),this._removeFromIndex(i.predicates,t,r,e),this._removeFromIndex(i.objects,r,e,t),null!==this._size&&this._size--;for(e in i.subjects)return!0;return delete c[n],!0},removeTriples:function(e){for(var t=e.length-1;t>=0;t--)this.removeTriple(e[t])},getTriples:function(e,t,r,n){var i=this._prefixes;return this.getTriplesByIRI(a(e,i),a(t,i),a(r,i),a(n,i))},getTriplesByIRI:function(e,t,r,n){var a,o,s,c,u=[],l=this._getGraphs(n),f=this._ids;if(i(e)&&!(o=f[e])||i(t)&&!(s=f[t])||i(r)&&!(c=f[r]))return u;for(var p in l)(a=l[p])&&(o?c?this._findInIndex(a.objects,c,o,s,"object","subject","predicate",p,null,u):this._findInIndex(a.subjects,o,s,null,"subject","predicate","object",p,null,u):s?this._findInIndex(a.predicates,s,c,null,"predicate","object","subject",p,null,u):c?this._findInIndex(a.objects,c,null,null,"object","subject","predicate",p,null,u):this._findInIndex(a.subjects,null,null,null,"subject","predicate","object",p,null,u));return u},countTriples:function(e,t,r,n){var i=this._prefixes;return this.countTriplesByIRI(a(e,i),a(t,i),a(r,i),a(n,i))},countTriplesByIRI:function(e,t,r,n){var a,o,s,c,u=0,l=this._getGraphs(n),f=this._ids;if(i(e)&&!(o=f[e])||i(t)&&!(s=f[t])||i(r)&&!(c=f[r]))return 0;for(var p in l)(a=l[p])&&(u+=e?r?this._countInIndex(a.objects,c,o,s):this._countInIndex(a.subjects,o,s,c):t?this._countInIndex(a.predicates,s,c,o):this._countInIndex(a.objects,c,o,s));return u},forEach:function(e,t,r,n,i){var o=this._prefixes;this.forEachByIRI(e,a(t,o),a(r,o),a(n,o),a(i,o))},forEachByIRI:function(e,t,r,n,i){this.someByIRI(function(t){return e(t),!1},t,r,n,i)},every:function(e,t,r,n,i){var o=this._prefixes;return this.everyByIRI(e,a(t,o),a(r,o),a(n,o),a(i,o))},everyByIRI:function(e,t,r,n,i){var a=!1,o=!this.someByIRI(function(t){return a=!0,!e(t)},t,r,n,i);return a&&o},some:function(e,t,r,n,i){var o=this._prefixes;return this.someByIRI(e,a(t,o),a(r,o),a(n,o),a(i,o))},someByIRI:function(e,t,r,n,a){var o,s,c,u,l=this._getGraphs(a),f=this._ids;if(i(t)&&!(s=f[t])||i(r)&&!(c=f[r])||i(n)&&!(u=f[n]))return!1;for(var p in l)if(o=l[p])if(s){if(u){if(this._findInIndex(o.objects,u,s,c,"object","subject","predicate",p,e,null))return!0}else if(this._findInIndex(o.subjects,s,c,null,"subject","predicate","object",p,e,null))return!0}else if(c){if(this._findInIndex(o.predicates,c,u,null,"predicate","object","subject",p,e,null))return!0}else if(u){if(this._findInIndex(o.objects,u,null,null,"object","subject","predicate",p,e,null))return!0}else if(this._findInIndex(o.subjects,null,null,null,"subject","predicate","object",p,e,null))return!0;return!1},getSubjects:function(e,t,r){var n=this._prefixes;return this.getSubjectsByIRI(a(e,n),a(t,n),a(r,n))},getSubjectsByIRI:function(e,t,r){var n=[];return this.forSubjectsByIRI(function(e){n.push(e)},e,t,r),n},forSubjects:function(e,t,r,n){var i=this._prefixes;this.forSubjectsByIRI(e,a(t,i),a(r,i),a(n,i))},forSubjectsByIRI:function(e,t,r,n){var a,o,s,c=this._ids,u=this._getGraphs(n);if(e=this._uniqueEntities(e),!(i(t)&&!(o=c[t])||i(r)&&!(s=c[r])))for(n in u)(a=u[n])&&(o?s?this._loopBy2Keys(a.predicates,o,s,e):this._loopByKey1(a.subjects,o,e):s?this._loopByKey0(a.objects,s,e):this._loop(a.subjects,e))},getPredicates:function(e,t,r){var n=this._prefixes;return this.getPredicatesByIRI(a(e,n),a(t,n),a(r,n))},getPredicatesByIRI:function(e,t,r){var n=[];return this.forPredicatesByIRI(function(e){n.push(e)},e,t,r),n},forPredicates:function(e,t,r,n){var i=this._prefixes;this.forPredicatesByIRI(e,a(t,i),a(r,i),a(n,i))},forPredicatesByIRI:function(e,t,r,n){var a,o,s,c=this._ids,u=this._getGraphs(n);if(e=this._uniqueEntities(e),!(i(t)&&!(o=c[t])||i(r)&&!(s=c[r])))for(n in u)(a=u[n])&&(o?s?this._loopBy2Keys(a.objects,s,o,e):this._loopByKey0(a.subjects,o,e):s?this._loopByKey1(a.predicates,s,e):this._loop(a.predicates,e))},getObjects:function(e,t,r){var n=this._prefixes;return this.getObjectsByIRI(a(e,n),a(t,n),a(r,n))},getObjectsByIRI:function(e,t,r){var n=[];return this.forObjectsByIRI(function(e){n.push(e)},e,t,r),n},forObjects:function(e,t,r,n){var i=this._prefixes;this.forObjectsByIRI(e,a(t,i),a(r,i),a(n,i))},forObjectsByIRI:function(e,t,r,n){var a,o,s,c=this._ids,u=this._getGraphs(n);if(e=this._uniqueEntities(e),!(i(t)&&!(o=c[t])||i(r)&&!(s=c[r])))for(n in u)(a=u[n])&&(o?s?this._loopBy2Keys(a.subjects,o,s,e):this._loopByKey1(a.objects,o,e):s?this._loopByKey0(a.predicates,s,e):this._loop(a.objects,e))},getGraphs:function(e,t,r){var n=this._prefixes;return this.getGraphsByIRI(a(e,n),a(t,n),a(r,n))},getGraphsByIRI:function(e,t,r){var n=[];return this.forGraphsByIRI(function(e){n.push(e)},e,t,r),n},forGraphs:function(e,t,r,n){var i=this._prefixes;this.forGraphsByIRI(e,a(t,i),a(r,i),a(n,i))},forGraphsByIRI:function(e,t,r,n){for(var i in this._graphs)this.someByIRI(function(t){return e(t.graph),!0},t,r,n,i)},createBlankNode:function(e){var t,r;if(e)for(t=e="_:"+e,r=1;this._ids[t];)t=e+r++;else do{t="_:b"+this._blankNodeIndex++}while(this._ids[t]);return this._ids[t]=++this._id,this._entities[this._id]=t,t}},t.exports=n},{"./N3Util":319}],317:[function(e,t,r){function n(e){if(!(this instanceof n))return new n(e);i.call(this,{decodeStrings:!0}),this._readableState.objectMode=!0;var t,r,a=this;new o(e).parse({on:function(e,n){"data"===e?t=n:r=n}},function(e,t){e&&a.emit("error",e)||t&&a.push(t)},function(e,t){a.emit("prefix",e,t)}),this._transform=function(e,r,n){t(e),n()},this._flush=function(e){r(),e()}}var i=e("stream").Transform,a=e("util"),o=e("./N3Parser.js");a.inherits(n,i),t.exports=n},{"./N3Parser.js":315,stream:434,util:458}],318:[function(e,t,r){function n(e){if(!(this instanceof n))return new n(e);i.call(this,{encoding:"utf8"}),this._writableState.objectMode=!0;var t=this,r=new o({write:function(e,r,n){t.push(e),n&&n()},end:function(e){t.push(null),e&&e()}},e);this._transform=function(e,t,n){r.addTriple(e,n)},this._flush=function(e){r.end(e)}}var i=e("stream").Transform,a=e("util"),o=e("./N3Writer.js");a.inherits(n,i),t.exports=n},{"./N3Writer.js":320,stream:434,util:458}],319:[function(e,t,r){var n="http://www.w3.org/2001/XMLSchema#",i=n+"double",a={isIRI:function(e){if("string"!=typeof e)return!1;if(0===e.length)return!0;var t=e[0];return'"'!==t&&"_"!==t},isLiteral:function(e){return"string"==typeof e&&'"'===e[0]},isBlank:function(e){return"string"==typeof e&&"_:"===e.substr(0,2)},isDefaultGraph:function(e){return!e},inDefaultGraph:function(e){return!e.graph},getLiteralValue:function(e){var t=/^"([^]*)"/.exec(e);if(!t)throw new Error(e+" is not a literal");return t[1]},getLiteralType:function(e){var t=/^"[^]*"(?:\^\^([^"]+)|(@)[^@"]+)?$/.exec(e);if(!t)throw new Error(e+" is not a literal");return t[1]||(t[2]?"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString":"http://www.w3.org/2001/XMLSchema#string")},getLiteralLanguage:function(e){var t=/^"[^]*"(?:@([^@"]+)|\^\^[^"]+)?$/.exec(e);if(!t)throw new Error(e+" is not a literal");return t[1]?t[1].toLowerCase():""},isPrefixedName:function(e){return"string"==typeof e&&/^[^:\/"']*:[^:\/"']+$/.test(e)},expandPrefixedName:function(e,t){var r,n,i,a=/(?:^|"\^\^)([^:\/#"'\^_]*):[^\/]*$/.exec(e);return a&&(r=a[1],n=t[r],i=a.index),void 0===n?e:0===i?n+e.substr(r.length+1):e.substr(0,i+3)+n+e.substr(i+r.length+4)},createIRI:function(e){return e&&'"'===e[0]?a.getLiteralValue(e):e},createLiteral:function(e,t){if(!t)switch(typeof e){case"boolean":t="http://www.w3.org/2001/XMLSchema#boolean";break;case"number":isFinite(e)?t=e%1==0?"http://www.w3.org/2001/XMLSchema#integer":i:(t=i,isNaN(e)||(e=e>0?"INF":"-INF"));break;default:return'"'+e+'"'}return'"'+e+(/^[a-z]+(-[a-z0-9]+)*$/i.test(t)?'"@'+t.toLowerCase():'"^^'+t)},prefix:function(e){return a.prefixes({"":e})("")},prefixes:function(e){function t(e,t){if(t||!(e in r)){var n=Object.create(null);t=t||"",r[e]=function(e){return n[e]||(n[e]=t+e)}}return r[e]}var r=Object.create(null);for(var n in e)t(n,e[n]);return t}};t.exports=a},{}],320:[function(e,t,r){function n(e,t){if(!(this instanceof n))return new n(e,t);if(e&&"function"!=typeof e.write&&(t=e,e=null),t=t||{},e)this._outputStream=e,this._endStream=void 0===t.end||!!t.end;else{var r="";this._outputStream={write:function(e,t,n){r+=e,n&&n()},end:function(e){e&&e(null,r)}},this._endStream=!0}this._subject=null,/triple|quad/i.test(t.format)?this._writeTriple=this._writeTripleLine:(this._graph="",this._prefixIRIs=Object.create(null),t.prefixes&&this.addPrefixes(t.prefixes))}function i(e){var t=c[e];return void 0===t&&(1===e.length?(t=e.charCodeAt(0).toString(16),t="\\u0000".substr(0,6-t.length)+t):(t=(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)+9216).toString(16),t="\\U00000000".substr(0,10-t.length)+t)),t}var a=/^"([^]*)"(?:\^\^(.+)|@([\-a-z]+))?$/i,o=/["\\\t\n\r\b\f\u0000-\u0019\ud800-\udbff]/,s=/["\\\t\n\r\b\f\u0000-\u0019]|[\ud800-\udbff][\udc00-\udfff]/g,c={"\\":"\\\\",'"':'\\"',"\t":"\\t","\n":"\\n","\r":"\\r","\b":"\\b","\f":"\\f"};n.prototype={_write:function(e,t){this._outputStream.write(e,"utf8",t)},_writeTriple:function(e,t,r,n,i){try{this._graph!==n&&(this._write((null===this._subject?"":this._graph?"\n}\n":".\n")+(n?this._encodeIriOrBlankNode(n)+" {\n":"")),this._subject=null,this._graph="["!==n[0]?n:"]"),this._subject===e?this._predicate===t?this._write(", "+this._encodeObject(r),i):this._write(";\n "+this._encodePredicate(this._predicate=t)+" "+this._encodeObject(r),i):this._write((null===this._subject?"":".\n")+this._encodeSubject(this._subject=e)+" "+this._encodePredicate(this._predicate=t)+" "+this._encodeObject(r),i)}catch(e){i&&i(e)}},_writeTripleLine:function(e,t,r,n,i){delete this._prefixMatch;try{this._write(this._encodeIriOrBlankNode(e)+" "+this._encodeIriOrBlankNode(t)+" "+this._encodeObject(r)+(n?" "+this._encodeIriOrBlankNode(n)+".\n":".\n"),i)}catch(e){i&&i(e)}},_encodeIriOrBlankNode:function(e){var t=e[0];if("["===t||"("===t||"_"===t&&":"===e[1])return e;o.test(e)&&(e=e.replace(s,i));var r=this._prefixRegex.exec(e);return r?r[1]?this._prefixIRIs[r[1]]+r[2]:e:"<"+e+">"},_encodeLiteral:function(e,t,r){return o.test(e)&&(e=e.replace(s,i)),r?'"'+e+'"@'+r:t?'"'+e+'"^^'+this._encodeIriOrBlankNode(t):'"'+e+'"'},_encodeSubject:function(e){if('"'===e[0])throw new Error("A literal as subject is not allowed: "+e);return"["===e[0]&&(this._subject="]"),this._encodeIriOrBlankNode(e)},_encodePredicate:function(e){if('"'===e[0])throw new Error("A literal as predicate is not allowed: "+e);return"http://www.w3.org/1999/02/22-rdf-syntax-ns#type"===e?"a":this._encodeIriOrBlankNode(e)},_encodeObject:function(e){if('"'!==e[0])return this._encodeIriOrBlankNode(e);var t=a.exec(e);if(!t)throw new Error("Invalid literal: "+e);return this._encodeLiteral(t[1],t[2],t[3])},_blockedWrite:function(){throw new Error("Cannot write because the writer has been closed.")},addTriple:function(e,t,r,n,i){void 0===r?this._writeTriple(e.subject,e.predicate,e.object,e.graph||"",t):"string"!=typeof n?this._writeTriple(e,t,r,"",n):this._writeTriple(e,t,r,n,i)},addTriples:function(e){for(var t=0;t<e.length;t++)this.addTriple(e[t])},addPrefix:function(e,t,r){var n={};n[e]=t,this.addPrefixes(n,r)},addPrefixes:function(e,t){var r=this._prefixIRIs,n=!1;for(var i in e){var a=e[i];/[#\/]$/.test(a)&&r[a]!==(i+=":")&&(n=!0,r[a]=i,null!==this._subject&&(this._write(this._graph?"\n}\n":".\n"),this._subject=null,this._graph=""),this._write("@prefix "+i+" <"+a+">.\n"))}if(n){var o="",s="";for(var c in r)o+=o?"|"+c:c,s+=(s?"|":"")+r[c];o=o.replace(/[\]\/\(\)\*\+\?\.\\\$]/g,"\\$&"),this._prefixRegex=new RegExp("^(?:"+s+")[^/]*$|^("+o+")([a-zA-Z][\\-_a-zA-Z0-9]*)$")}this._write(n?"\n":"",t)},blank:function(e,t){var r,n,i=e;switch(void 0===e?i=[]:"string"==typeof e?i=[{predicate:e,object:t}]:"length"in e||(i=[e]),n=i.length){case 0:return"[]";case 1:if("["!==(r=i[0]).object[0])return"[ "+this._encodePredicate(r.predicate)+" "+this._encodeObject(r.object)+" ]";default:for(var a="[",o=0;o<n;o++)(r=i[o]).predicate===e?a+=", "+this._encodeObject(r.object):(a+=(o?";\n ":"\n ")+this._encodePredicate(r.predicate)+" "+this._encodeObject(r.object),e=r.predicate);return a+"\n]"}},list:function(e){for(var t=e&&e.length||0,r=new Array(t),n=0;n<t;n++)r[n]=this._encodeObject(e[n]);return"("+r.join(" ")+")"},_prefixRegex:/$0^/,end:function(e){null!==this._subject&&(this._write(this._graph?"\n}\n":".\n"),this._subject=null),this._write=this._blockedWrite;var t=e&&function(r,n){t=null,e(r,n)};if(this._endStream)try{return this._outputStream.end(t)}catch(e){}t&&t()}},t.exports=n},{}],321:[function(e,t,r){function n(e,t){return p.createHmac("sha1",e).update(t).digest("base64")}function i(e,t){return p.createSign("RSA-SHA1").update(t).sign(e,"base64")}function a(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function o(e){var t,r,n=[];for(t in e)if(r=e[t],Array.isArray(r))for(var i=0;i<r.length;i++)n.push([t,r[i]]);else if("object"==typeof r)for(var a in r)n.push([t+"["+a+"]",r[a]]);else n.push([t,r]);return n}function s(e,t){return e>t?1:e<t?-1:0}function c(e,t,r){var n=o(r).map(function(e){return[a(e[0]),a(e[1]||"")]}).sort(function(e,t){return s(e[0],t[0])||s(e[1],t[1])}).map(function(e){return e.join("=")}).join("&");return[a(e?e.toUpperCase():"GET"),a(t),a(n)].join("&")}function u(e,t,r,i,o){var s=c(e,t,r);return n([i||"",o||""].map(a).join("&"),s)}function l(e,t,r,n,a){var o=c(e,t,r);return i(n||"",o)}function f(e,t){return[e||"",t||""].map(a).join("&")}var p=e("crypto");e("querystring");r.hmacsign=u,r.rsasign=l,r.plaintext=f,r.sign=function(e,t,r,n,i,a){var o,s=1;switch(e){case"RSA-SHA1":o=l;break;case"HMAC-SHA1":o=u;break;case"PLAINTEXT":o=f,s=4;break;default:throw new Error("Signature method not supported: "+e)}return o.apply(null,[].slice.call(arguments,s))},r.rfc3986=a,r.generateBase=c},{crypto:167,querystring:369}],322:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,a))},r.setTyped(n)},{}],323:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{a=a+(i=i+t[n++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16|0}},{}],324:[function(e,t,r){"use strict";t.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}},{}],325:[function(e,t,r){"use strict";var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var a=n,o=i+r;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],326:[function(e,t,r){"use strict";function n(e,t){return e.msg=F[t],t}function i(e){return(e<<1)-(e>4?9:0)}function a(e){for(var t=e.length;--t>=0;)e[t]=0}function o(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(j.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function s(e,t){S._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,o(e.strm)}function c(e,t){e.pending_buf[e.pending++]=t}function u(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function l(e,t,r,n){var i=e.avail_in;return i>n&&(i=n),0===i?0:(e.avail_in-=i,j.arraySet(t,e.input,e.next_in,i,r),1===e.state.wrap?e.adler=E(e.adler,t,i,r):2===e.state.wrap&&(e.adler=A(e.adler,t,i,r)),e.next_in+=i,e.total_in+=i,i)}function f(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-ne?e.strstart-(e.w_size-ne):0,u=e.window,l=e.w_mask,f=e.prev,p=e.strstart+re,h=u[a+o-1],d=u[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(r=t,u[r+o]===d&&u[r+o-1]===h&&u[r]===u[a]&&u[++r]===u[a+1]){a+=2,r++;do{}while(u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&a<p);if(n=re-(p-a),a=p-re,n>o){if(e.match_start=t,o=n,n>=s)break;h=u[a+o-1],d=u[a+o]}}}while((t=f[t&l])>c&&0!=--i);return o<=e.lookahead?o:e.lookahead}function p(e){var t,r,n,i,a,o=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=o+(o-ne)){j.arraySet(e.window,e.window,o,o,0),e.match_start-=o,e.strstart-=o,e.block_start-=o,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=o?n-o:0}while(--r);t=r=o;do{n=e.prev[--t],e.prev[t]=n>=o?n-o:0}while(--r);i+=o}if(0===e.strm.avail_in)break;if(r=l(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=r,e.lookahead+e.insert>=te)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+te-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<te)););}while(e.lookahead<ne&&0!==e.strm.avail_in)}function h(e,t){for(var r,n;;){if(e.lookahead<ne){if(p(e),e.lookahead<ne&&t===I)return pe;if(0===e.lookahead)break}if(r=0,e.lookahead>=te&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+te-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-ne&&(e.match_length=f(e,r)),e.match_length>=te)if(n=S._tr_tally(e,e.strstart-e.match_start,e.match_length-te),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=te){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+te-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=S._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(s(e,!1),0===e.strm.avail_out))return pe}return e.insert=e.strstart<te-1?e.strstart:te-1,t===T?(s(e,!0),0===e.strm.avail_out?de:me):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?pe:he}function d(e,t){for(var r,n,i;;){if(e.lookahead<ne){if(p(e),e.lookahead<ne&&t===I)return pe;if(0===e.lookahead)break}if(r=0,e.lookahead>=te&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+te-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=te-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-ne&&(e.match_length=f(e,r),e.match_length<=5&&(e.strategy===L||e.match_length===te&&e.strstart-e.match_start>4096)&&(e.match_length=te-1)),e.prev_length>=te&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-te,n=S._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-te),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+te-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=te-1,e.strstart++,n&&(s(e,!1),0===e.strm.avail_out))return pe}else if(e.match_available){if((n=S._tr_tally(e,0,e.window[e.strstart-1]))&&s(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return pe}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=S._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<te-1?e.strstart:te-1,t===T?(s(e,!0),0===e.strm.avail_out?de:me):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?pe:he}function m(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=re){if(p(e),e.lookahead<=re&&t===I)return pe;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=te&&e.strstart>0&&(i=e.strstart-1,(n=o[i])===o[++i]&&n===o[++i]&&n===o[++i])){a=e.strstart+re;do{}while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=re-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=te?(r=S._tr_tally(e,1,e.match_length-te),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=S._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(s(e,!1),0===e.strm.avail_out))return pe}return e.insert=0,t===T?(s(e,!0),0===e.strm.avail_out?de:me):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?pe:he}function g(e,t){for(var r;;){if(0===e.lookahead&&(p(e),0===e.lookahead)){if(t===I)return pe;break}if(e.match_length=0,r=S._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(s(e,!1),0===e.strm.avail_out))return pe}return e.insert=0,t===T?(s(e,!0),0===e.strm.avail_out?de:me):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?pe:he}function v(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function b(e){e.window_size=2*e.w_size,a(e.head),e.max_lazy_match=w[e.level].max_lazy,e.good_match=w[e.level].good_length,e.nice_match=w[e.level].nice_length,e.max_chain_length=w[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=te-1,e.match_available=0,e.ins_h=0}function y(){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=K,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 j.Buf16(2*Y),this.dyn_dtree=new j.Buf16(2*(2*W+1)),this.bl_tree=new j.Buf16(2*(2*X+1)),a(this.dyn_ltree),a(this.dyn_dtree),a(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new j.Buf16(ee+1),this.heap=new j.Buf16(2*J+1),a(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new j.Buf16(2*J+1),a(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 _(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=V,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?ae:le,e.adler=2===t.wrap?0:1,t.last_flush=I,S._tr_init(t),z):n(e,B)}function x(e){var t=_(e);return t===z&&b(e.state),t}function k(e,t,r,i,a,o){if(!e)return B;var s=1;if(t===M&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),a<1||a>Q||r!==K||i<8||i>15||t<0||t>9||o<0||o>$)return n(e,B);8===i&&(i=9);var c=new y;return e.state=c,c.strm=e,c.wrap=s,c.gzhead=null,c.w_bits=i,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+te-1)/te),c.window=new j.Buf8(2*c.w_size),c.head=new j.Buf16(c.hash_size),c.prev=new j.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new j.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=r,x(e)}var w,j=e("../utils/common"),S=e("./trees"),E=e("./adler32"),A=e("./crc32"),F=e("./messages"),I=0,O=1,P=3,T=4,C=5,z=0,R=1,B=-2,D=-3,q=-5,M=-1,L=1,N=2,U=3,$=4,H=0,V=2,K=8,Q=9,G=15,Z=8,J=286,W=30,X=19,Y=2*J+1,ee=15,te=3,re=258,ne=re+te+1,ie=32,ae=42,oe=69,se=73,ce=91,ue=103,le=113,fe=666,pe=1,he=2,de=3,me=4,ge=3;w=[new v(0,0,0,0,function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(p(e),0===e.lookahead&&t===I)return pe;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,s(e,!1),0===e.strm.avail_out))return pe;if(e.strstart-e.block_start>=e.w_size-ne&&(s(e,!1),0===e.strm.avail_out))return pe}return e.insert=0,t===T?(s(e,!0),0===e.strm.avail_out?de:me):(e.strstart>e.block_start&&(s(e,!1),e.strm.avail_out),pe)}),new v(4,4,8,4,h),new v(4,5,16,8,h),new v(4,6,32,32,h),new v(4,4,16,16,d),new v(8,16,32,32,d),new v(8,16,128,128,d),new v(8,32,128,256,d),new v(32,128,258,1024,d),new v(32,258,258,4096,d)],r.deflateInit=function(e,t){return k(e,t,K,G,Z,H)},r.deflateInit2=k,r.deflateReset=x,r.deflateResetKeep=_,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?B:(e.state.gzhead=t,z):B},r.deflate=function(e,t){var r,s,l,f;if(!e||!e.state||t>C||t<0)return e?n(e,B):B;if(s=e.state,!e.output||!e.input&&0!==e.avail_in||s.status===fe&&t!==T)return n(e,0===e.avail_out?q:B);if(s.strm=e,r=s.last_flush,s.last_flush=t,s.status===ae)if(2===s.wrap)e.adler=0,c(s,31),c(s,139),c(s,8),s.gzhead?(c(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)),c(s,255&s.gzhead.time),c(s,s.gzhead.time>>8&255),c(s,s.gzhead.time>>16&255),c(s,s.gzhead.time>>24&255),c(s,9===s.level?2:s.strategy>=N||s.level<2?4:0),c(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(c(s,255&s.gzhead.extra.length),c(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(e.adler=A(e.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=oe):(c(s,0),c(s,0),c(s,0),c(s,0),c(s,0),c(s,9===s.level?2:s.strategy>=N||s.level<2?4:0),c(s,ge),s.status=le);else{var p=K+(s.w_bits-8<<4)<<8;p|=(s.strategy>=N||s.level<2?0:s.level<6?1:6===s.level?2:3)<<6,0!==s.strstart&&(p|=ie),p+=31-p%31,s.status=le,u(s,p),0!==s.strstart&&(u(s,e.adler>>>16),u(s,65535&e.adler)),e.adler=1}if(s.status===oe)if(s.gzhead.extra){for(l=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>l&&(e.adler=A(e.adler,s.pending_buf,s.pending-l,l)),o(e),l=s.pending,s.pending!==s.pending_buf_size));)c(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>l&&(e.adler=A(e.adler,s.pending_buf,s.pending-l,l)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=se)}else s.status=se;if(s.status===se)if(s.gzhead.name){l=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>l&&(e.adler=A(e.adler,s.pending_buf,s.pending-l,l)),o(e),l=s.pending,s.pending===s.pending_buf_size)){f=1;break}f=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,c(s,f)}while(0!==f);s.gzhead.hcrc&&s.pending>l&&(e.adler=A(e.adler,s.pending_buf,s.pending-l,l)),0===f&&(s.gzindex=0,s.status=ce)}else s.status=ce;if(s.status===ce)if(s.gzhead.comment){l=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>l&&(e.adler=A(e.adler,s.pending_buf,s.pending-l,l)),o(e),l=s.pending,s.pending===s.pending_buf_size)){f=1;break}f=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,c(s,f)}while(0!==f);s.gzhead.hcrc&&s.pending>l&&(e.adler=A(e.adler,s.pending_buf,s.pending-l,l)),0===f&&(s.status=ue)}else s.status=ue;if(s.status===ue&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&o(e),s.pending+2<=s.pending_buf_size&&(c(s,255&e.adler),c(s,e.adler>>8&255),e.adler=0,s.status=le)):s.status=le),0!==s.pending){if(o(e),0===e.avail_out)return s.last_flush=-1,z}else if(0===e.avail_in&&i(t)<=i(r)&&t!==T)return n(e,q);if(s.status===fe&&0!==e.avail_in)return n(e,q);if(0!==e.avail_in||0!==s.lookahead||t!==I&&s.status!==fe){var h=s.strategy===N?g(s,t):s.strategy===U?m(s,t):w[s.level].func(s,t);if(h!==de&&h!==me||(s.status=fe),h===pe||h===de)return 0===e.avail_out&&(s.last_flush=-1),z;if(h===he&&(t===O?S._tr_align(s):t!==C&&(S._tr_stored_block(s,0,0,!1),t===P&&(a(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),o(e),0===e.avail_out))return s.last_flush=-1,z}return t!==T?z:s.wrap<=0?R:(2===s.wrap?(c(s,255&e.adler),c(s,e.adler>>8&255),c(s,e.adler>>16&255),c(s,e.adler>>24&255),c(s,255&e.total_in),c(s,e.total_in>>8&255),c(s,e.total_in>>16&255),c(s,e.total_in>>24&255)):(u(s,e.adler>>>16),u(s,65535&e.adler)),o(e),s.wrap>0&&(s.wrap=-s.wrap),0!==s.pending?z:R)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==ae&&t!==oe&&t!==se&&t!==ce&&t!==ue&&t!==le&&t!==fe?n(e,B):(e.state=null,t===le?n(e,D):z):B},r.deflateSetDictionary=function(e,t){var r,n,i,o,s,c,u,l,f=t.length;if(!e||!e.state)return B;if(r=e.state,2===(o=r.wrap)||1===o&&r.status!==ae||r.lookahead)return B;for(1===o&&(e.adler=E(e.adler,t,f,0)),r.wrap=0,f>=r.w_size&&(0===o&&(a(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new j.Buf8(r.w_size),j.arraySet(l,t,f-r.w_size,r.w_size,0),t=l,f=r.w_size),s=e.avail_in,c=e.next_in,u=e.input,e.avail_in=f,e.next_in=0,e.input=t,p(r);r.lookahead>=te;){n=r.strstart,i=r.lookahead-(te-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+te-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--i);r.strstart=n,r.lookahead=te-1,p(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=te-1,r.match_available=0,e.next_in=c,e.input=u,e.avail_in=s,r.wrap=o,z},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":322,"./adler32":323,"./crc32":325,"./messages":330,"./trees":331}],327:[function(e,t,r){"use strict";t.exports=function(e,t){var r,n,i,a,o,s,c,u,l,f,p,h,d,m,g,v,b,y,_,x,k,w,j,S,E;r=e.state,n=e.next_in,S=e.input,i=n+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),c=r.dmax,u=r.wsize,l=r.whave,f=r.wnext,p=r.window,h=r.hold,d=r.bits,m=r.lencode,g=r.distcode,v=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;e:do{d<15&&(h+=S[n++]<<d,d+=8,h+=S[n++]<<d,d+=8),y=m[h&v];t:for(;;){if(_=y>>>24,h>>>=_,d-=_,0===(_=y>>>16&255))E[a++]=65535&y;else{if(!(16&_)){if(0==(64&_)){y=m[(65535&y)+(h&(1<<_)-1)];continue t}if(32&_){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}x=65535&y,(_&=15)&&(d<_&&(h+=S[n++]<<d,d+=8),x+=h&(1<<_)-1,h>>>=_,d-=_),d<15&&(h+=S[n++]<<d,d+=8,h+=S[n++]<<d,d+=8),y=g[h&b];r:for(;;){if(_=y>>>24,h>>>=_,d-=_,!(16&(_=y>>>16&255))){if(0==(64&_)){y=g[(65535&y)+(h&(1<<_)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(k=65535&y,_&=15,d<_&&(h+=S[n++]<<d,(d+=8)<_&&(h+=S[n++]<<d,d+=8)),(k+=h&(1<<_)-1)>c){e.msg="invalid distance too far back",r.mode=30;break e}if(h>>>=_,d-=_,_=a-o,k>_){if((_=k-_)>l&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(w=0,j=p,0===f){if(w+=u-_,_<x){x-=_;do{E[a++]=p[w++]}while(--_);w=a-k,j=E}}else if(f<_){if(w+=u+f-_,(_-=f)<x){x-=_;do{E[a++]=p[w++]}while(--_);if(w=0,f<x){x-=_=f;do{E[a++]=p[w++]}while(--_);w=a-k,j=E}}}else if(w+=f-_,_<x){x-=_;do{E[a++]=p[w++]}while(--_);w=a-k,j=E}for(;x>2;)E[a++]=j[w++],E[a++]=j[w++],E[a++]=j[w++],x-=3;x&&(E[a++]=j[w++],x>1&&(E[a++]=j[w++]))}else{w=a-k;do{E[a++]=E[w++],E[a++]=E[w++],E[a++]=E[w++],x-=3}while(x>2);x&&(E[a++]=E[w++],x>1&&(E[a++]=E[w++]))}break}}break}}while(n<i&&a<s);n-=x=d>>3,h&=(1<<(d-=x<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=h,r.bits=d}},{}],328:[function(e,t,r){"use strict";function n(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function i(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,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 h.Buf16(320),this.work=new h.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=T,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new h.Buf32(le),t.distcode=t.distdyn=new h.Buf32(fe),t.sane=1,t.back=-1,j):A}function o(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,a(e)):A}function s(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?A:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,o(e))):A}function c(e,t){var r,n;return e?(n=new i,e.state=n,n.window=null,(r=s(e,t))!==j&&(e.state=null),r):A}function u(e){if(he){var t;for(f=new h.Buf32(512),p=new h.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(v(y,e.lens,0,288,f,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;v(_,e.lens,0,32,p,0,e.work,{bits:5}),he=!1}e.lencode=f,e.lenbits=9,e.distcode=p,e.distbits=5}function l(e,t,r,n){var i,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new h.Buf8(a.wsize)),n>=a.wsize?(h.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((i=a.wsize-a.wnext)>n&&(i=n),h.arraySet(a.window,t,r-n,i,a.wnext),(n-=i)?(h.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}var f,p,h=e("../utils/common"),d=e("./adler32"),m=e("./crc32"),g=e("./inffast"),v=e("./inftrees"),b=0,y=1,_=2,x=4,k=5,w=6,j=0,S=1,E=2,A=-2,F=-3,I=-4,O=-5,P=8,T=1,C=2,z=3,R=4,B=5,D=6,q=7,M=8,L=9,N=10,U=11,$=12,H=13,V=14,K=15,Q=16,G=17,Z=18,J=19,W=20,X=21,Y=22,ee=23,te=24,re=25,ne=26,ie=27,ae=28,oe=29,se=30,ce=31,ue=32,le=852,fe=592,pe=15,he=!0;r.inflateReset=o,r.inflateReset2=s,r.inflateResetKeep=a,r.inflateInit=function(e){return c(e,pe)},r.inflateInit2=c,r.inflate=function(e,t){var r,i,a,o,s,c,f,p,le,fe,pe,he,de,me,ge,ve,be,ye,_e,xe,ke,we,je,Se,Ee=0,Ae=new h.Buf8(4),Fe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return A;(r=e.state).mode===$&&(r.mode=H),s=e.next_out,a=e.output,f=e.avail_out,o=e.next_in,i=e.input,c=e.avail_in,p=r.hold,le=r.bits,fe=c,pe=f,we=j;e:for(;;)switch(r.mode){case T:if(0===r.wrap){r.mode=H;break}for(;le<16;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if(2&r.wrap&&35615===p){r.check=0,Ae[0]=255&p,Ae[1]=p>>>8&255,r.check=m(r.check,Ae,2,0),p=0,le=0,r.mode=C;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&p)<<8)+(p>>8))%31){e.msg="incorrect header check",r.mode=se;break}if((15&p)!==P){e.msg="unknown compression method",r.mode=se;break}if(p>>>=4,le-=4,ke=8+(15&p),0===r.wbits)r.wbits=ke;else if(ke>r.wbits){e.msg="invalid window size",r.mode=se;break}r.dmax=1<<ke,e.adler=r.check=1,r.mode=512&p?N:$,p=0,le=0;break;case C:for(;le<16;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if(r.flags=p,(255&r.flags)!==P){e.msg="unknown compression method",r.mode=se;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=se;break}r.head&&(r.head.text=p>>8&1),512&r.flags&&(Ae[0]=255&p,Ae[1]=p>>>8&255,r.check=m(r.check,Ae,2,0)),p=0,le=0,r.mode=z;case z:for(;le<32;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}r.head&&(r.head.time=p),512&r.flags&&(Ae[0]=255&p,Ae[1]=p>>>8&255,Ae[2]=p>>>16&255,Ae[3]=p>>>24&255,r.check=m(r.check,Ae,4,0)),p=0,le=0,r.mode=R;case R:for(;le<16;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}r.head&&(r.head.xflags=255&p,r.head.os=p>>8),512&r.flags&&(Ae[0]=255&p,Ae[1]=p>>>8&255,r.check=m(r.check,Ae,2,0)),p=0,le=0,r.mode=B;case B:if(1024&r.flags){for(;le<16;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}r.length=p,r.head&&(r.head.extra_len=p),512&r.flags&&(Ae[0]=255&p,Ae[1]=p>>>8&255,r.check=m(r.check,Ae,2,0)),p=0,le=0}else r.head&&(r.head.extra=null);r.mode=D;case D:if(1024&r.flags&&((he=r.length)>c&&(he=c),he&&(r.head&&(ke=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),h.arraySet(r.head.extra,i,o,he,ke)),512&r.flags&&(r.check=m(r.check,i,he,o)),c-=he,o+=he,r.length-=he),r.length))break e;r.length=0,r.mode=q;case q:if(2048&r.flags){if(0===c)break e;he=0;do{ke=i[o+he++],r.head&&ke&&r.length<65536&&(r.head.name+=String.fromCharCode(ke))}while(ke&&he<c);if(512&r.flags&&(r.check=m(r.check,i,he,o)),c-=he,o+=he,ke)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=M;case M:if(4096&r.flags){if(0===c)break e;he=0;do{ke=i[o+he++],r.head&&ke&&r.length<65536&&(r.head.comment+=String.fromCharCode(ke))}while(ke&&he<c);if(512&r.flags&&(r.check=m(r.check,i,he,o)),c-=he,o+=he,ke)break e}else r.head&&(r.head.comment=null);r.mode=L;case L:if(512&r.flags){for(;le<16;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if(p!==(65535&r.check)){e.msg="header crc mismatch",r.mode=se;break}p=0,le=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=$;break;case N:for(;le<32;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}e.adler=r.check=n(p),p=0,le=0,r.mode=U;case U:if(0===r.havedict)return e.next_out=s,e.avail_out=f,e.next_in=o,e.avail_in=c,r.hold=p,r.bits=le,E;e.adler=r.check=1,r.mode=$;case $:if(t===k||t===w)break e;case H:if(r.last){p>>>=7&le,le-=7&le,r.mode=ie;break}for(;le<3;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}switch(r.last=1&p,p>>>=1,le-=1,3&p){case 0:r.mode=V;break;case 1:if(u(r),r.mode=W,t===w){p>>>=2,le-=2;break e}break;case 2:r.mode=G;break;case 3:e.msg="invalid block type",r.mode=se}p>>>=2,le-=2;break;case V:for(p>>>=7&le,le-=7≤le<32;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if((65535&p)!=(p>>>16^65535)){e.msg="invalid stored block lengths",r.mode=se;break}if(r.length=65535&p,p=0,le=0,r.mode=K,t===w)break e;case K:r.mode=Q;case Q:if(he=r.length){if(he>c&&(he=c),he>f&&(he=f),0===he)break e;h.arraySet(a,i,o,he,s),c-=he,o+=he,f-=he,s+=he,r.length-=he;break}r.mode=$;break;case G:for(;le<14;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if(r.nlen=257+(31&p),p>>>=5,le-=5,r.ndist=1+(31&p),p>>>=5,le-=5,r.ncode=4+(15&p),p>>>=4,le-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=se;break}r.have=0,r.mode=Z;case Z:for(;r.have<r.ncode;){for(;le<3;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}r.lens[Fe[r.have++]]=7&p,p>>>=3,le-=3}for(;r.have<19;)r.lens[Fe[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,je={bits:r.lenbits},we=v(b,r.lens,0,19,r.lencode,0,r.work,je),r.lenbits=je.bits,we){e.msg="invalid code lengths set",r.mode=se;break}r.have=0,r.mode=J;case J:for(;r.have<r.nlen+r.ndist;){for(;Ee=r.lencode[p&(1<<r.lenbits)-1],ge=Ee>>>24,ve=Ee>>>16&255,be=65535&Ee,!(ge<=le);){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if(be<16)p>>>=ge,le-=ge,r.lens[r.have++]=be;else{if(16===be){for(Se=ge+2;le<Se;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if(p>>>=ge,le-=ge,0===r.have){e.msg="invalid bit length repeat",r.mode=se;break}ke=r.lens[r.have-1],he=3+(3&p),p>>>=2,le-=2}else if(17===be){for(Se=ge+3;le<Se;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}le-=ge,ke=0,he=3+(7&(p>>>=ge)),p>>>=3,le-=3}else{for(Se=ge+7;le<Se;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}le-=ge,ke=0,he=11+(127&(p>>>=ge)),p>>>=7,le-=7}if(r.have+he>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=se;break}for(;he--;)r.lens[r.have++]=ke}}if(r.mode===se)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=se;break}if(r.lenbits=9,je={bits:r.lenbits},we=v(y,r.lens,0,r.nlen,r.lencode,0,r.work,je),r.lenbits=je.bits,we){e.msg="invalid literal/lengths set",r.mode=se;break}if(r.distbits=6,r.distcode=r.distdyn,je={bits:r.distbits},we=v(_,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,je),r.distbits=je.bits,we){e.msg="invalid distances set",r.mode=se;break}if(r.mode=W,t===w)break e;case W:r.mode=X;case X:if(c>=6&&f>=258){e.next_out=s,e.avail_out=f,e.next_in=o,e.avail_in=c,r.hold=p,r.bits=le,g(e,pe),s=e.next_out,a=e.output,f=e.avail_out,o=e.next_in,i=e.input,c=e.avail_in,p=r.hold,le=r.bits,r.mode===$&&(r.back=-1);break}for(r.back=0;Ee=r.lencode[p&(1<<r.lenbits)-1],ge=Ee>>>24,ve=Ee>>>16&255,be=65535&Ee,!(ge<=le);){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if(ve&&0==(240&ve)){for(ye=ge,_e=ve,xe=be;Ee=r.lencode[xe+((p&(1<<ye+_e)-1)>>ye)],ge=Ee>>>24,ve=Ee>>>16&255,be=65535&Ee,!(ye+ge<=le);){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}p>>>=ye,le-=ye,r.back+=ye}if(p>>>=ge,le-=ge,r.back+=ge,r.length=be,0===ve){r.mode=ne;break}if(32&ve){r.back=-1,r.mode=$;break}if(64&ve){e.msg="invalid literal/length code",r.mode=se;break}r.extra=15&ve,r.mode=Y;case Y:if(r.extra){for(Se=r.extra;le<Se;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}r.length+=p&(1<<r.extra)-1,p>>>=r.extra,le-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=ee;case ee:for(;Ee=r.distcode[p&(1<<r.distbits)-1],ge=Ee>>>24,ve=Ee>>>16&255,be=65535&Ee,!(ge<=le);){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if(0==(240&ve)){for(ye=ge,_e=ve,xe=be;Ee=r.distcode[xe+((p&(1<<ye+_e)-1)>>ye)],ge=Ee>>>24,ve=Ee>>>16&255,be=65535&Ee,!(ye+ge<=le);){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}p>>>=ye,le-=ye,r.back+=ye}if(p>>>=ge,le-=ge,r.back+=ge,64&ve){e.msg="invalid distance code",r.mode=se;break}r.offset=be,r.extra=15&ve,r.mode=te;case te:if(r.extra){for(Se=r.extra;le<Se;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}r.offset+=p&(1<<r.extra)-1,p>>>=r.extra,le-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=se;break}r.mode=re;case re:if(0===f)break e;if(he=pe-f,r.offset>he){if((he=r.offset-he)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=se;break}he>r.wnext?(he-=r.wnext,de=r.wsize-he):de=r.wnext-he,he>r.length&&(he=r.length),me=r.window}else me=a,de=s-r.offset,he=r.length;he>f&&(he=f),f-=he,r.length-=he;do{a[s++]=me[de++]}while(--he);0===r.length&&(r.mode=X);break;case ne:if(0===f)break e;a[s++]=r.length,f--,r.mode=X;break;case ie:if(r.wrap){for(;le<32;){if(0===c)break e;c--,p|=i[o++]<<le,le+=8}if(pe-=f,e.total_out+=pe,r.total+=pe,pe&&(e.adler=r.check=r.flags?m(r.check,a,pe,s-pe):d(r.check,a,pe,s-pe)),pe=f,(r.flags?p:n(p))!==r.check){e.msg="incorrect data check",r.mode=se;break}p=0,le=0}r.mode=ae;case ae:if(r.wrap&&r.flags){for(;le<32;){if(0===c)break e;c--,p+=i[o++]<<le,le+=8}if(p!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=se;break}p=0,le=0}r.mode=oe;case oe:we=S;break e;case se:we=F;break e;case ce:return I;case ue:default:return A}return e.next_out=s,e.avail_out=f,e.next_in=o,e.avail_in=c,r.hold=p,r.bits=le,(r.wsize||pe!==e.avail_out&&r.mode<se&&(r.mode<ie||t!==x))&&l(e,e.output,e.next_out,pe-e.avail_out)?(r.mode=ce,I):(fe-=e.avail_in,pe-=e.avail_out,e.total_in+=fe,e.total_out+=pe,r.total+=pe,r.wrap&&pe&&(e.adler=r.check=r.flags?m(r.check,a,pe,e.next_out-pe):d(r.check,a,pe,e.next_out-pe)),e.data_type=r.bits+(r.last?64:0)+(r.mode===$?128:0)+(r.mode===W||r.mode===K?256:0),(0===fe&&0===pe||t===x)&&we===j&&(we=O),we)},r.inflateEnd=function(e){if(!e||!e.state)return A;var t=e.state;return t.window&&(t.window=null),e.state=null,j},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?A:(r.head=t,t.done=!1,j):A},r.inflateSetDictionary=function(e,t){var r,n,i=t.length;return e&&e.state?0!==(r=e.state).wrap&&r.mode!==U?A:r.mode===U&&(n=1,(n=d(n,t,i,0))!==r.check)?F:l(e,t,i,i)?(r.mode=ce,I):(r.havedict=1,j):A},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":322,"./adler32":323,"./crc32":325,"./inffast":327,"./inftrees":329}],329:[function(e,t,r){"use strict";var n=e("../utils/common"),i=[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],a=[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],o=[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],s=[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];t.exports=function(e,t,r,c,u,l,f,p){var h,d,m,g,v,b,y,_,x,k=p.bits,w=0,j=0,S=0,E=0,A=0,F=0,I=0,O=0,P=0,T=0,C=null,z=0,R=new n.Buf16(16),B=new n.Buf16(16),D=null,q=0;for(w=0;w<=15;w++)R[w]=0;for(j=0;j<c;j++)R[t[r+j]]++;for(A=k,E=15;E>=1&&0===R[E];E--);if(A>E&&(A=E),0===E)return u[l++]=20971520,u[l++]=20971520,p.bits=1,0;for(S=1;S<E&&0===R[S];S++);for(A<S&&(A=S),O=1,w=1;w<=15;w++)if(O<<=1,(O-=R[w])<0)return-1;if(O>0&&(0===e||1!==E))return-1;for(B[1]=0,w=1;w<15;w++)B[w+1]=B[w]+R[w];for(j=0;j<c;j++)0!==t[r+j]&&(f[B[t[r+j]]++]=j);if(0===e?(C=D=f,b=19):1===e?(C=i,z-=257,D=a,q-=257,b=256):(C=o,D=s,b=-1),T=0,j=0,w=S,v=l,F=A,I=0,m=-1,P=1<<A,g=P-1,1===e&&P>852||2===e&&P>592)return 1;for(;;){0,y=w-I,f[j]<b?(_=0,x=f[j]):f[j]>b?(_=D[q+f[j]],x=C[z+f[j]]):(_=96,x=0),h=1<<w-I,S=d=1<<F;do{u[v+(T>>I)+(d-=h)]=y<<24|_<<16|x|0}while(0!==d);for(h=1<<w-1;T&h;)h>>=1;if(0!==h?(T&=h-1,T+=h):T=0,j++,0==--R[w]){if(w===E)break;w=t[r+f[j]]}if(w>A&&(T&g)!==m){for(0===I&&(I=A),v+=S,O=1<<(F=w-I);F+I<E&&!((O-=R[F+I])<=0);)F++,O<<=1;if(P+=1<<F,1===e&&P>852||2===e&&P>592)return 1;u[m=T&g]=A<<24|F<<16|v-l|0}}return 0!==T&&(u[v+T]=w-I<<24|64<<16|0),p.bits=A,0}},{"../utils/common":322}],330:[function(e,t,r){"use strict";t.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"}},{}],331:[function(e,t,r){"use strict";function n(e){for(var t=e.length;--t>=0;)e[t]=0}function i(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function a(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function o(e){return e<256?te[e]:te[256+(e>>>7)]}function s(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function c(e,t,r){e.bi_valid>$-r?(e.bi_buf|=t<<e.bi_valid&65535,s(e,e.bi_buf),e.bi_buf=t>>$-e.bi_valid,e.bi_valid+=r-$):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function u(e,t,r){c(e,r[2*t],r[2*t+1])}function l(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function f(e){16===e.bi_valid?(s(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function p(e,t){var r,n,i,a,o,s,c=t.dyn_tree,u=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,d=t.stat_desc.max_length,m=0;for(a=0;a<=U;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<N;r++)(a=c[2*c[2*(n=e.heap[r])+1]+1]+1)>d&&(a=d,m++),c[2*n+1]=a,n>u||(e.bl_count[a]++,o=0,n>=h&&(o=p[n-h]),s=c[2*n],e.opt_len+=s*(a+o),f&&(e.static_len+=s*(l[2*n+1]+o)));if(0!==m){do{for(a=d-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[d]--,m-=2}while(m>0);for(a=d;0!==a;a--)for(n=e.bl_count[a];0!==n;)(i=e.heap[--r])>u||(c[2*i+1]!==a&&(e.opt_len+=(a-c[2*i+1])*c[2*i],c[2*i+1]=a),n--)}}function h(e,t,r){var n,i,a=new Array(U+1),o=0;for(n=1;n<=U;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=l(a[s]++,s))}}function d(){var e,t,r,n,a,o=new Array(U+1);for(r=0,n=0;n<B-1;n++)for(ne[n]=r,e=0;e<1<<Z[n];e++)re[r++]=n;for(re[r-1]=n,a=0,n=0;n<16;n++)for(ie[n]=a,e=0;e<1<<J[n];e++)te[a++]=n;for(a>>=7;n<M;n++)for(ie[n]=a<<7,e=0;e<1<<J[n]-7;e++)te[256+a++]=n;for(t=0;t<=U;t++)o[t]=0;for(e=0;e<=143;)Y[2*e+1]=8,e++,o[8]++;for(;e<=255;)Y[2*e+1]=9,e++,o[9]++;for(;e<=279;)Y[2*e+1]=7,e++,o[7]++;for(;e<=287;)Y[2*e+1]=8,e++,o[8]++;for(h(Y,q+1,o),e=0;e<M;e++)ee[2*e+1]=5,ee[2*e]=l(e,5);ae=new i(Y,Z,D+1,q,U),oe=new i(ee,J,0,M,U),se=new i(new Array(0),W,0,L,H)}function m(e){var t;for(t=0;t<q;t++)e.dyn_ltree[2*t]=0;for(t=0;t<M;t++)e.dyn_dtree[2*t]=0;for(t=0;t<L;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*V]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function g(e){e.bi_valid>8?s(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function v(e,t,r,n){g(e),n&&(s(e,r),s(e,~r)),F.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function b(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function y(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&b(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!b(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function _(e,t,r){var n,i,a,s,l=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],i=e.pending_buf[e.l_buf+l],l++,0===n?u(e,i,t):(u(e,(a=re[i])+D+1,t),0!==(s=Z[a])&&c(e,i-=ne[a],s),u(e,a=o(--n),r),0!==(s=J[a])&&c(e,n-=ie[a],s))}while(l<e.last_lit);u(e,V,t)}function x(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=N,r=0;r<c;r++)0!==a[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=u,r=e.heap_len>>1;r>=1;r--)y(e,a,r);i=c;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],y(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,y(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],p(e,t),h(a,u,e.bl_count)}function k(e,t,r){var n,i,a=-1,o=t[1],s=0,c=7,u=4;for(0===o&&(c=138,u=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<c&&i===o||(s<u?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*K]++):s<=10?e.bl_tree[2*Q]++:e.bl_tree[2*G]++,s=0,a=i,0===o?(c=138,u=3):i===o?(c=6,u=3):(c=7,u=4))}function w(e,t,r){var n,i,a=-1,o=t[1],s=0,l=7,f=4;for(0===o&&(l=138,f=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<l&&i===o)){if(s<f)do{u(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(u(e,i,e.bl_tree),s--),u(e,K,e.bl_tree),c(e,s-3,2)):s<=10?(u(e,Q,e.bl_tree),c(e,s-3,3)):(u(e,G,e.bl_tree),c(e,s-11,7));s=0,a=i,0===o?(l=138,f=3):i===o?(l=6,f=3):(l=7,f=4)}}function j(e){var t;for(k(e,e.dyn_ltree,e.l_desc.max_code),k(e,e.dyn_dtree,e.d_desc.max_code),x(e,e.bl_desc),t=L-1;t>=3&&0===e.bl_tree[2*X[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}function S(e,t,r,n){var i;for(c(e,t-257,5),c(e,r-1,5),c(e,n-4,4),i=0;i<n;i++)c(e,e.bl_tree[2*X[i]+1],3);w(e,e.dyn_ltree,t-1),w(e,e.dyn_dtree,r-1)}function E(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return O;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return P;for(t=32;t<D;t++)if(0!==e.dyn_ltree[2*t])return P;return O}function A(e,t,r,n){c(e,(C<<1)+(n?1:0),3),v(e,t,r,!0)}var F=e("../utils/common"),I=4,O=0,P=1,T=2,C=0,z=1,R=2,B=29,D=256,q=D+1+B,M=30,L=19,N=2*q+1,U=15,$=16,H=7,V=256,K=16,Q=17,G=18,Z=[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],J=[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],W=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],X=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Y=new Array(2*(q+2));n(Y);var ee=new Array(2*M);n(ee);var te=new Array(512);n(te);var re=new Array(256);n(re);var ne=new Array(B);n(ne);var ie=new Array(M);n(ie);var ae,oe,se,ce=!1;r._tr_init=function(e){ce||(d(),ce=!0),e.l_desc=new a(e.dyn_ltree,ae),e.d_desc=new a(e.dyn_dtree,oe),e.bl_desc=new a(e.bl_tree,se),e.bi_buf=0,e.bi_valid=0,m(e)},r._tr_stored_block=A,r._tr_flush_block=function(e,t,r,n){var i,a,o=0;e.level>0?(e.strm.data_type===T&&(e.strm.data_type=E(e)),x(e,e.l_desc),x(e,e.d_desc),o=j(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=r+5,r+4<=i&&-1!==t?A(e,t,r,n):e.strategy===I||a===i?(c(e,(z<<1)+(n?1:0),3),_(e,Y,ee)):(c(e,(R<<1)+(n?1:0),3),S(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),_(e,e.dyn_ltree,e.dyn_dtree)),m(e),n&&g(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(re[r]+D+1)]++,e.dyn_dtree[2*o(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){c(e,z<<1,3),u(e,V,Y),f(e)}},{"../utils/common":322}],332:[function(e,t,r){"use strict";t.exports=function(){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}},{}],333:[function(e,t,r){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],334:[function(e,t,r){"use strict";var n=e("asn1.js");r.certificate=e("./certificate");var i=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});r.RSAPrivateKey=i;var a=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});r.RSAPublicKey=a;var o=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())});r.PublicKey=o;var s=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),c=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())});r.PrivateKey=c;var u=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});r.EncryptedPrivateKey=u;var l=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});r.DSAPrivateKey=l,r.DSAparam=n.define("DSAparam",function(){this.int()});var f=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(p),this.key("publicKey").optional().explicit(1).bitstr())});r.ECPrivateKey=f;var p=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});r.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":335,"asn1.js":56}],335:[function(e,t,r){"use strict";var n=e("asn1.js"),i=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),a=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),o=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),s=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())}),c=n.define("RelativeDistinguishedName",function(){this.setof(a)}),u=n.define("RDNSequence",function(){this.seqof(c)}),l=n.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),f=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),p=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),h=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(),this.key("serialNumber").int(),this.key("signature").use(o),this.key("issuer").use(l),this.key("validity").use(f),this.key("subject").use(l),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(p).optional())}),d=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(o),this.key("signatureValue").bitstr())});t.exports=d},{"asn1.js":56}],336:[function(e,t,r){(function(r){var n=/Proc-Type: 4,ENCRYPTED\n\r?DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\n\r?\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?/m,i=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n/m,a=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?-----END \1-----$/m,o=e("evp_bytestokey"),s=e("browserify-aes");t.exports=function(e,t){var c,u=e.toString(),l=u.match(n);if(l){var f="aes"+l[1],p=new r(l[2],"hex"),h=new r(l[3].replace(/\r?\n/g,""),"base64"),d=o(t,p.slice(0,8),parseInt(l[1],10)).key,m=[],g=s.createDecipheriv(f,d,p);m.push(g.update(h)),m.push(g.final()),c=r.concat(m)}else{var v=u.match(a);c=new r(v[2].replace(/\r?\n/g,""),"base64")}return{tag:u.match(i)[1],data:c}}}).call(this,e("buffer").Buffer)},{"browserify-aes":125,buffer:153,evp_bytestokey:201}],337:[function(e,t,r){(function(r){function n(e){var t;"object"!=typeof e||r.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=new r(e));var n,o,c=s(e,t),u=c.tag,l=c.data;switch(u){case"CERTIFICATE":o=a.certificate.decode(l,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(o||(o=a.PublicKey.decode(l,"der")),n=o.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPublicKey.decode(o.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return o.subjectPrivateKey=o.subjectPublicKey,{type:"ec",data:o};case"1.2.840.10040.4.1":return o.algorithm.params.pub_key=a.DSAparam.decode(o.subjectPublicKey.data,"der"),{type:"dsa",data:o.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+u);case"ENCRYPTED PRIVATE KEY":l=i(l=a.EncryptedPrivateKey.decode(l,"der"),t);case"PRIVATE KEY":switch(o=a.PrivateKey.decode(l,"der"),n=o.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPrivateKey.decode(o.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:o.algorithm.curve,privateKey:a.ECPrivateKey.decode(o.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return o.algorithm.params.priv_key=a.DSAparam.decode(o.subjectPrivateKey,"der"),{type:"dsa",params:o.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+u);case"RSA PUBLIC KEY":return a.RSAPublicKey.decode(l,"der");case"RSA PRIVATE KEY":return a.RSAPrivateKey.decode(l,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:a.DSAPrivateKey.decode(l,"der")};case"EC PRIVATE KEY":return l=a.ECPrivateKey.decode(l,"der"),{curve:l.parameters.value,privateKey:l.privateKey};default:throw new Error("unknown key type "+u)}}function i(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=o[e.algorithm.decrypt.cipher.algo.join(".")],s=e.algorithm.decrypt.cipher.iv,l=e.subjectPrivateKey,f=parseInt(a.split("-")[1],10)/8,p=u.pbkdf2Sync(t,n,i,f),h=c.createDecipheriv(a,p,s),d=[];return d.push(h.update(l)),d.push(h.final()),r.concat(d)}var a=e("./asn1"),o=e("./aesid.json"),s=e("./fixProc"),c=e("browserify-aes"),u=e("pbkdf2");t.exports=n,n.signature=a.signature}).call(this,e("buffer").Buffer)},{"./aesid.json":333,"./asn1":334,"./fixProc":336,"browserify-aes":125,buffer:153,pbkdf2:339}],338:[function(e,t,r){(function(e){function t(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,a=function(e){return i.exec(e).slice(1)};r.resolve=function(){for(var r="",i=!1,a=arguments.length-1;a>=-1&&!i;a--){var o=a>=0?arguments[a]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(r=o+"/"+r,i="/"===o.charAt(0))}return r=t(n(r.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+r||"."},r.normalize=function(e){var i=r.isAbsolute(e),a="/"===o(e,-1);return(e=t(n(e.split("/"),function(e){return!!e}),!i).join("/"))||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+e},r.isAbsolute=function(e){return"/"===e.charAt(0)},r.join=function(){var e=Array.prototype.slice.call(arguments,0);return r.normalize(n(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},r.relative=function(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=r.resolve(e).substr(1),t=r.resolve(t).substr(1);for(var i=n(e.split("/")),a=n(t.split("/")),o=Math.min(i.length,a.length),s=o,c=0;c<o;c++)if(i[c]!==a[c]){s=c;break}for(var u=[],c=s;c<i.length;c++)u.push("..");return(u=u.concat(a.slice(s))).join("/")},r.sep="/",r.delimiter=":",r.dirname=function(e){var t=a(e),r=t[0],n=t[1];return r||n?(n&&(n=n.substr(0,n.length-1)),r+n):"."},r.basename=function(e,t){var r=a(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},r.extname=function(e){return a(e)[3]};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,e("_process"))},{_process:346}],339:[function(e,t,r){r.pbkdf2=e("./lib/async"),r.pbkdf2Sync=e("./lib/sync")},{"./lib/async":340,"./lib/sync":343}],340:[function(e,t,r){(function(r,n){function i(e){if(n.process&&!n.process.browser)return Promise.resolve(!1);if(!p||!p.importKey||!p.deriveBits)return Promise.resolve(!1);if(void 0!==d[e])return d[e];var t=a(s=s||f.alloc(8),s,10,128,e).then(function(){return!0}).catch(function(){return!1});return d[e]=t,t}function a(e,t,r,n,i){return p.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return p.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)}).then(function(e){return f.from(e)})}function o(e,t){e.then(function(e){r.nextTick(function(){t(null,e)})},function(e){r.nextTick(function(){t(e)})})}var s,c=e("./precondition"),u=e("./default-encoding"),l=e("./sync"),f=e("safe-buffer").Buffer,p=n.crypto&&n.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},d=[];t.exports=function(e,t,s,p,d,m){if(f.isBuffer(e)||(e=f.from(e,u)),f.isBuffer(t)||(t=f.from(t,u)),c(s,p),"function"==typeof d&&(m=d,d=void 0),"function"!=typeof m)throw new Error("No callback provided to pbkdf2");var g=h[(d=d||"sha1").toLowerCase()];if(!g||"function"!=typeof n.Promise)return r.nextTick(function(){var r;try{r=l(e,t,s,p,d)}catch(e){return m(e)}m(null,r)});o(i(g).then(function(r){return r?a(e,t,s,p,g):l(e,t,s,p,d)}),m)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./default-encoding":341,"./precondition":342,"./sync":343,_process:346,"safe-buffer":402}],341:[function(e,t,r){(function(e){var r;r=e.browser?"utf-8":parseInt(e.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary",t.exports=r}).call(this,e("_process"))},{_process:346}],342:[function(e,t,r){var n=Math.pow(2,30)-1;t.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>n||t!==t)throw new TypeError("Bad key length")}},{}],343:[function(e,t,r){function n(e,t,r){var n=i(e),a="sha512"===e||"sha384"===e?128:64;t.length>a?t=n(t):t.length<a&&(t=l.concat([t,f],a));for(var o=l.allocUnsafe(a+p[e]),s=l.allocUnsafe(a+p[e]),c=0;c<a;c++)o[c]=54^t[c],s[c]=92^t[c];var u=l.allocUnsafe(a+r+4);o.copy(u,0,0,a),this.ipad1=u,this.ipad2=o,this.opad=s,this.alg=e,this.blocksize=a,this.hash=n,this.size=p[e]}function i(e){return"rmd160"===e||"ripemd160"===e?o:"md5"===e?a:function(t){return s(e).update(t).digest()}}var a=e("create-hash/md5"),o=e("ripemd160"),s=e("sha.js"),c=e("./precondition"),u=e("./default-encoding"),l=e("safe-buffer").Buffer,f=l.alloc(128),p={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};n.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(e,t,r,i,a){l.isBuffer(e)||(e=l.from(e,u)),l.isBuffer(t)||(t=l.from(t,u)),c(r,i);var o=new n(a=a||"sha1",e,t.length),s=l.allocUnsafe(i),f=l.allocUnsafe(t.length+4);t.copy(f,0,0,t.length);for(var h=0,d=p[a],m=Math.ceil(i/d),g=1;g<=m;g++){f.writeUInt32BE(g,t.length);for(var v=o.run(f,o.ipad1),b=v,y=1;y<r;y++){b=o.run(b,o.ipad2);for(var _=0;_<d;_++)v[_]^=b[_]}v.copy(s,h),h+=d}return s}},{"./default-encoding":341,"./precondition":342,"create-hash/md5":164,ripemd160:401,"safe-buffer":402,"sha.js":404}],344:[function(e,t,r){(function(e){(function(){var r,n,i,a,o,s;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:void 0!==e&&null!==e&&e.hrtime?(t.exports=function(){return(r()-o)/1e6},n=e.hrtime,a=(r=function(){var e;return 1e9*(e=n())[0]+e[1]})(),s=1e9*e.uptime(),o=a-s):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,e("_process"))},{_process:346}],345:[function(e,t,r){(function(e){"use strict";!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=function(t,r,n,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,r)});case 3:return e.nextTick(function(){t.call(null,r,n)});case 4:return e.nextTick(function(){t.call(null,r,n,i)});default:for(a=new Array(s-1),o=0;o<a.length;)a[o++]=arguments[o];return e.nextTick(function(){t.apply(null,a)})}}:t.exports=e.nextTick}).call(this,e("_process"))},{_process:346}],346:[function(e,t,r){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function o(e){if(p===clearTimeout)return clearTimeout(e);if((p===i||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function s(){g&&d&&(g=!1,d.length?m=d.concat(m):v=-1,m.length&&c())}function c(){if(!g){var e=a(s);g=!0;for(var t=m.length;t;){for(d=m,m=[];++v<t;)d&&d[v].run();v=-1,t=m.length}d=null,g=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var f,p,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{p="function"==typeof clearTimeout?clearTimeout:i}catch(e){p=i}}();var d,m=[],g=!1,v=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];m.push(new u(e,t)),1!==m.length||g||a(c)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=l,h.addListener=l,h.once=l,h.off=l,h.removeListener=l,h.removeAllListeners=l,h.emit=l,h.prependListener=l,h.prependOnceListener=l,h.listeners=function(e){return[]},h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},{}],347:[function(e,t,r){"use strict";t.exports=e("./lib")},{"./lib":352}],348:[function(e,t,r){"use strict";function n(){}function i(e){try{return e.then}catch(e){return v=e,b}}function a(e,t){try{return e(t)}catch(e){return v=e,b}}function o(e,t,r){try{e(t,r)}catch(e){return v=e,b}}function s(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("Promise constructor's argument is not a function");this._40=0,this._65=0,this._55=null,this._72=null,e!==n&&m(e,this)}function c(e,t,r){return new e.constructor(function(i,a){var o=new s(n);o.then(i,a),u(e,new d(t,r,o))})}function u(e,t){for(;3===e._65;)e=e._55;if(s._37&&s._37(e),0===e._65)return 0===e._40?(e._40=1,void(e._72=t)):1===e._40?(e._40=2,void(e._72=[e._72,t])):void e._72.push(t);l(e,t)}function l(e,t){g(function(){var r=1===e._65?t.onFulfilled:t.onRejected;if(null!==r){var n=a(r,e._55);n===b?p(t.promise,v):f(t.promise,n)}else 1===e._65?f(t.promise,e._55):p(t.promise,e._55)})}function f(e,t){if(t===e)return p(e,new TypeError("A promise cannot be resolved with itself."));if(t&&("object"==typeof t||"function"==typeof t)){var r=i(t);if(r===b)return p(e,v);if(r===e.then&&t instanceof s)return e._65=3,e._55=t,void h(e);if("function"==typeof r)return void m(r.bind(t),e)}e._65=1,e._55=t,h(e)}function p(e,t){e._65=2,e._55=t,s._87&&s._87(e,t),h(e)}function h(e){if(1===e._40&&(u(e,e._72),e._72=null),2===e._40){for(var t=0;t<e._72.length;t++)u(e,e._72[t]);e._72=null}}function d(e,t,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=r}function m(e,t){var r=!1,n=o(e,function(e){r||(r=!0,f(t,e))},function(e){r||(r=!0,p(t,e))});r||n!==b||(r=!0,p(t,v))}var g=e("asap/raw"),v=null,b={};t.exports=s,s._37=null,s._87=null,s._61=n,s.prototype.then=function(e,t){if(this.constructor!==s)return c(this,e,t);var r=new s(n);return u(this,new d(e,t,r)),r}},{"asap/raw":55}],349:[function(e,t,r){"use strict";var n=e("./core.js");t.exports=n,n.prototype.done=function(e,t){(arguments.length?this.then.apply(this,arguments):this).then(null,function(e){setTimeout(function(){throw e},0)})}},{"./core.js":348}],350:[function(e,t,r){"use strict";function n(e){var t=new i(i._61);return t._65=1,t._55=e,t}var i=e("./core.js");t.exports=i;var a=n(!0),o=n(!1),s=n(null),c=n(void 0),u=n(0),l=n("");i.resolve=function(e){if(e instanceof i)return e;if(null===e)return s;if(void 0===e)return c;if(!0===e)return a;if(!1===e)return o;if(0===e)return u;if(""===e)return l;if("object"==typeof e||"function"==typeof e)try{var t=e.then;if("function"==typeof t)return new i(t.bind(e))}catch(e){return new i(function(t,r){r(e)})}return n(e)},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,r){function n(o,s){if(s&&("object"==typeof s||"function"==typeof s)){if(s instanceof i&&s.then===i.prototype.then){for(;3===s._65;)s=s._55;return 1===s._65?n(o,s._55):(2===s._65&&r(s._55),void s.then(function(e){n(o,e)},r))}var c=s.then;if("function"==typeof c)return void new i(c.bind(s)).then(function(e){n(o,e)},r)}t[o]=s,0==--a&&e(t)}if(0===t.length)return e([]);for(var a=t.length,o=0;o<t.length;o++)n(o,t[o])})},i.reject=function(e){return new i(function(t,r){r(e)})},i.race=function(e){return new i(function(t,r){e.forEach(function(e){i.resolve(e).then(t,r)})})},i.prototype.catch=function(e){return this.then(null,e)}},{"./core.js":348}],351:[function(e,t,r){"use strict";var n=e("./core.js");t.exports=n,n.prototype.finally=function(e){return this.then(function(t){return n.resolve(e()).then(function(){return t})},function(t){return n.resolve(e()).then(function(){throw t})})}},{"./core.js":348}],352:[function(e,t,r){"use strict";t.exports=e("./core.js"),e("./done.js"),e("./finally.js"),e("./es6-extensions.js"),e("./node-extensions.js"),e("./synchronous.js")},{"./core.js":348,"./done.js":349,"./es6-extensions.js":350,"./finally.js":351,"./node-extensions.js":353,"./synchronous.js":354}],353:[function(e,t,r){"use strict";function n(e,t){for(var r=[],n=0;n<t;n++)r.push("a"+n);var i=["return function ("+r.join(",")+") {","var self = this;","return new Promise(function (rs, rj) {","var res = fn.call(",["self"].concat(r).concat([s]).join(","),");","if (res &&",'(typeof res === "object" || typeof res === "function") &&','typeof res.then === "function"',") {rs(res);}","});","};"].join("");return Function(["Promise","fn"],i)(a,e)}function i(e){for(var t=Math.max(e.length-1,3),r=[],n=0;n<t;n++)r.push("a"+n);var i=["return function ("+r.join(",")+") {","var self = this;","var args;","var argLength = arguments.length;","if (arguments.length > "+t+") {","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 = "+s+";","var res;","switch (argLength) {",r.concat(["extra"]).map(function(e,t){return"case "+t+":res = fn.call("+["self"].concat(r.slice(0,t)).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"],i)(a,e)}var a=e("./core.js"),o=e("asap");t.exports=a,a.denodeify=function(e,t){return"number"==typeof t&&t!==1/0?n(e,t):i(e)};var s="function (err, res) {if (err) { rj(err); } else { rs(res); }}";a.nodeify=function(e){return function(){var t=Array.prototype.slice.call(arguments),r="function"==typeof t[t.length-1]?t.pop():null,n=this;try{return e.apply(this,arguments).nodeify(r,n)}catch(e){if(null===r||void 0===r)return new a(function(t,r){r(e)});o(function(){r.call(n,e)})}}},a.prototype.nodeify=function(e,t){if("function"!=typeof e)return this;this.then(function(r){o(function(){e.call(t,null,r)})},function(r){o(function(){e.call(t,r)})})}},{"./core.js":348,asap:54}],354:[function(e,t,r){"use strict";var n=e("./core.js");t.exports=n,n.enableSynchronous=function(){n.prototype.isPending=function(){return 0==this.getState()},n.prototype.isFulfilled=function(){return 1==this.getState()},n.prototype.isRejected=function(){return 2==this.getState()},n.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},n.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},n.prototype.getState=function(){return 3===this._65?this._55.getState():-1===this._65||-2===this._65?0:this._65}},n.disableSynchronous=function(){n.prototype.isPending=void 0,n.prototype.isFulfilled=void 0,n.prototype.isRejected=void 0,n.prototype.getValue=void 0,n.prototype.getReason=void 0,n.prototype.getState=void 0}},{"./core.js":348}],355:[function(e,t,r){r.publicEncrypt=e("./publicEncrypt"),r.privateDecrypt=e("./privateDecrypt"),r.privateEncrypt=function(e,t){return r.publicEncrypt(e,t,!0)},r.publicDecrypt=function(e,t){return r.privateDecrypt(e,t,!0)}},{"./privateDecrypt":357,"./publicEncrypt":358}],356:[function(e,t,r){(function(r){function n(e){var t=new r(4);return t.writeUInt32BE(e,0),t}var i=e("create-hash");t.exports=function(e,t){for(var a,o=new r(""),s=0;o.length<t;)a=n(s++),o=r.concat([o,i("sha1").update(e).update(a).digest()]);return o.slice(0,t)}}).call(this,e("buffer").Buffer)},{buffer:153,"create-hash":162}],357:[function(e,t,r){(function(r){function n(e,t){e.modulus;var n=e.modulus.byteLength(),i=(t.length,f("sha1").update(new r("")).digest()),o=i.length;if(0!==t[0])throw new Error("decryption error");var u=t.slice(1,o+1),l=t.slice(o+1),p=c(u,s(l,o)),h=c(l,s(p,n-o-1));if(a(i,h.slice(0,o)))throw new Error("decryption error");for(var d=o;0===h[d];)d++;if(1!==h[d++])throw new Error("decryption error");return h.slice(d)}function i(e,t,r){for(var n=t.slice(0,2),i=2,a=0;0!==t[i++];)if(i>=t.length){a++;break}var o=t.slice(2,i-1);t.slice(i-1,i);if(("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&a++,o.length<8&&a++,a)throw new Error("decryption error");return t.slice(i)}function a(e,t){e=new r(e),t=new r(t);var n=0,i=e.length;e.length!==t.length&&(n++,i=Math.min(e.length,t.length));for(var a=-1;++a<i;)n+=e[a]^t[a];return n}var o=e("parse-asn1"),s=e("./mgf"),c=e("./xor"),u=e("bn.js"),l=e("browserify-rsa"),f=e("create-hash"),p=e("./withPublic");t.exports=function(e,t,a){var s;s=e.padding?e.padding:a?1:4;var c=o(e),f=c.modulus.byteLength();if(t.length>f||new u(t).cmp(c.modulus)>=0)throw new Error("decryption error");var h;h=a?p(new u(t),c):l(t,c);var d=new r(f-h.length);if(d.fill(0),h=r.concat([d,h],f),4===s)return n(c,h);if(1===s)return i(0,h,a);if(3===s)return h;throw new Error("unknown padding")}}).call(this,e("buffer").Buffer)},{"./mgf":356,"./withPublic":359,"./xor":360,"bn.js":120,"browserify-rsa":142,buffer:153,"create-hash":162,"parse-asn1":337}],358:[function(e,t,r){(function(r){function n(e,t){var n=e.modulus.byteLength(),i=t.length,a=c("sha1").update(new r("")).digest(),o=a.length,p=2*o;if(i>n-p-2)throw new Error("message too long");var h=new r(n-i-p-2);h.fill(0);var d=n-o-1,m=s(o),g=l(r.concat([a,h,new r([1]),t],d),u(m,d)),v=l(m,u(g,o));return new f(r.concat([new r([0]),v,g],n))}function i(e,t,n){var i=t.length,o=e.modulus.byteLength();if(i>o-11)throw new Error("message too long");var s;return n?(s=new r(o-i-3)).fill(255):s=a(o-i-3),new f(r.concat([new r([0,n?1:2]),s,new r([0]),t],o))}function a(e,t){for(var n,i=new r(e),a=0,o=s(2*e),c=0;a<e;)c===o.length&&(o=s(2*e),c=0),(n=o[c++])&&(i[a++]=n);return i}var o=e("parse-asn1"),s=e("randombytes"),c=e("create-hash"),u=e("./mgf"),l=e("./xor"),f=e("bn.js"),p=e("./withPublic"),h=e("browserify-rsa");t.exports=function(e,t,r){var a;a=e.padding?e.padding:r?1:4;var s,c=o(e);if(4===a)s=n(c,t);else if(1===a)s=i(c,t,r);else{if(3!==a)throw new Error("unknown padding");if((s=new f(t)).cmp(c.modulus)>=0)throw new Error("data too long for modulus")}return r?h(s,c):p(s,c)}}).call(this,e("buffer").Buffer)},{"./mgf":356,"./withPublic":359,"./xor":360,"bn.js":120,"browserify-rsa":142,buffer:153,"create-hash":162,"parse-asn1":337,randombytes:370}],359:[function(e,t,r){(function(r){var n=e("bn.js");t.exports=function(e,t){return new r(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}}).call(this,e("buffer").Buffer)},{"bn.js":120,buffer:153}],360:[function(e,t,r){t.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},{}],361:[function(e,t,r){(function(e){!function(n){function i(e){throw new RangeError(P[e])}function a(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function o(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+a((e=e.replace(O,".")).split("."),t).join(".")}function s(e){for(var t,r,n=[],i=0,a=e.length;i<a;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<a?56320==(64512&(r=e.charCodeAt(i++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),i--):n.push(t);return n}function c(e){return a(e,function(e){var t="";return e>65535&&(t+=z((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=z(e)}).join("")}function u(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:_}function l(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,r){var n=0;for(e=r?C(e/j):e>>1,e+=C(e/t);e>T*k>>1;n+=_)e=C(e/T);return C(n+(T+1)*e/(e+w))}function p(e){var t,r,n,a,o,s,l,p,h,d,m=[],g=e.length,v=0,b=E,w=S;for((r=e.lastIndexOf(A))<0&&(r=0),n=0;n<r;++n)e.charCodeAt(n)>=128&&i("not-basic"),m.push(e.charCodeAt(n));for(a=r>0?r+1:0;a<g;){for(o=v,s=1,l=_;a>=g&&i("invalid-input"),((p=u(e.charCodeAt(a++)))>=_||p>C((y-v)/s))&&i("overflow"),v+=p*s,h=l<=w?x:l>=w+k?k:l-w,!(p<h);l+=_)s>C(y/(d=_-h))&&i("overflow"),s*=d;w=f(v-o,t=m.length+1,0==o),C(v/t)>y-b&&i("overflow"),b+=C(v/t),v%=t,m.splice(v++,0,b)}return c(m)}function h(e){var t,r,n,a,o,c,u,p,h,d,m,g,v,b,w,j=[];for(g=(e=s(e)).length,t=E,r=0,o=S,c=0;c<g;++c)(m=e[c])<128&&j.push(z(m));for(n=a=j.length,a&&j.push(A);n<g;){for(u=y,c=0;c<g;++c)(m=e[c])>=t&&m<u&&(u=m);for(u-t>C((y-r)/(v=n+1))&&i("overflow"),r+=(u-t)*v,t=u,c=0;c<g;++c)if((m=e[c])<t&&++r>y&&i("overflow"),m==t){for(p=r,h=_;d=h<=o?x:h>=o+k?k:h-o,!(p<d);h+=_)w=p-d,b=_-d,j.push(z(l(d+w%b,0))),p=C(w/b);j.push(z(l(p,0))),o=f(r,v,n==a),r=0,++n}++r,++t}return j.join("")}var d="object"==typeof r&&r&&!r.nodeType&&r,m="object"==typeof t&&t&&!t.nodeType&&t,g="object"==typeof e&&e;g.global!==g&&g.window!==g&&g.self!==g||(n=g);var v,b,y=2147483647,_=36,x=1,k=26,w=38,j=700,S=72,E=128,A="-",F=/^xn--/,I=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},T=_-x,C=Math.floor,z=String.fromCharCode;if(v={version:"1.4.1",ucs2:{decode:s,encode:c},decode:p,encode:h,toASCII:function(e){return o(e,function(e){return I.test(e)?"xn--"+h(e):e})},toUnicode:function(e){return o(e,function(e){return F.test(e)?p(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return v});else if(d&&m)if(t.exports==d)m.exports=v;else for(b in v)v.hasOwnProperty(b)&&(d[b]=v[b]);else n.punycode=v}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],362:[function(e,t,r){"use strict";var n=String.prototype.replace,i=/%20/g;t.exports={default:"RFC3986",formatters:{RFC1738:function(e){return n.call(e,i,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},{}],363:[function(e,t,r){"use strict";var n=e("./stringify"),i=e("./parse"),a=e("./formats");t.exports={formats:a,parse:i,stringify:n}},{"./formats":362,"./parse":364,"./stringify":365}],364:[function(e,t,r){"use strict";var n=e("./utils"),i=Object.prototype.hasOwnProperty,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:n.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},o=function(e,t){for(var r={},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,s=n.split(t.delimiter,o),c=0;c<s.length;++c){var u,l,f=s[c],p=f.indexOf("]="),h=-1===p?f.indexOf("="):p+1;-1===h?(u=t.decoder(f,a.decoder),l=t.strictNullHandling?null:""):(u=t.decoder(f.slice(0,h),a.decoder),l=t.decoder(f.slice(h+1),a.decoder)),i.call(r,u)?r[u]=[].concat(r[u]).concat(l):r[u]=l}return r},s=function(e,t,r){for(var n=t,i=e.length-1;i>=0;--i){var a,o=e[i];if("[]"===o)a=(a=[]).concat(n);else{a=r.plainObjects?Object.create(null):{};var s="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,c=parseInt(s,10);!isNaN(c)&&o!==s&&String(c)===s&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=n:a[s]=n}n=a}return n},c=function(e,t,r){if(e){var n=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,o=/(\[[^[\]]*])/.exec(n),c=o?n.slice(0,o.index):n,u=[];if(c){if(!r.plainObjects&&i.call(Object.prototype,c)&&!r.allowPrototypes)return;u.push(c)}for(var l=0;null!==(o=a.exec(n))&&l<r.depth;){if(l+=1,!r.plainObjects&&i.call(Object.prototype,o[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(o[1])}return o&&u.push("["+n.slice(o.index)+"]"),s(u,t,r)}};t.exports=function(e,t){var r=t?n.assign({},t):{};if(null!==r.decoder&&void 0!==r.decoder&&"function"!=typeof r.decoder)throw new TypeError("Decoder has to be a function.");if(r.ignoreQueryPrefix=!0===r.ignoreQueryPrefix,r.delimiter="string"==typeof r.delimiter||n.isRegExp(r.delimiter)?r.delimiter:a.delimiter,r.depth="number"==typeof r.depth?r.depth:a.depth,r.arrayLimit="number"==typeof r.arrayLimit?r.arrayLimit:a.arrayLimit,r.parseArrays=!1!==r.parseArrays,r.decoder="function"==typeof r.decoder?r.decoder:a.decoder,r.allowDots="boolean"==typeof r.allowDots?r.allowDots:a.allowDots,r.plainObjects="boolean"==typeof r.plainObjects?r.plainObjects:a.plainObjects,r.allowPrototypes="boolean"==typeof r.allowPrototypes?r.allowPrototypes:a.allowPrototypes,r.parameterLimit="number"==typeof r.parameterLimit?r.parameterLimit:a.parameterLimit,r.strictNullHandling="boolean"==typeof r.strictNullHandling?r.strictNullHandling:a.strictNullHandling,""===e||null===e||void 0===e)return r.plainObjects?Object.create(null):{};for(var i="string"==typeof e?o(e,r):e,s=r.plainObjects?Object.create(null):{},u=Object.keys(i),l=0;l<u.length;++l){var f=u[l],p=c(f,i[f],r);s=n.merge(s,p,r)}return n.compact(s)}},{"./utils":366}],365:[function(e,t,r){"use strict";var n=e("./utils"),i=e("./formats"),a={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},o=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,serializeDate:function(e){return o.call(e)},skipNulls:!1,strictNullHandling:!1},c=function e(t,r,i,a,o,c,u,l,f,p,h,d){var m=t;if("function"==typeof u)m=u(r,m);else if(m instanceof Date)m=p(m);else if(null===m){if(a)return c&&!d?c(r,s.encoder):r;m=""}if("string"==typeof m||"number"==typeof m||"boolean"==typeof m||n.isBuffer(m))return c?[h(d?r:c(r,s.encoder))+"="+h(c(m,s.encoder))]:[h(r)+"="+h(String(m))];var g=[];if(void 0===m)return g;var v;if(Array.isArray(u))v=u;else{var b=Object.keys(m);v=l?b.sort(l):b}for(var y=0;y<v.length;++y){var _=v[y];o&&null===m[_]||(g=Array.isArray(m)?g.concat(e(m[_],i(r,_),i,a,o,c,u,l,f,p,h,d)):g.concat(e(m[_],r+(f?"."+_:"["+_+"]"),i,a,o,c,u,l,f,p,h,d)))}return g};t.exports=function(e,t){var r=e,o=t?n.assign({},t):{};if(null!==o.encoder&&void 0!==o.encoder&&"function"!=typeof o.encoder)throw new TypeError("Encoder has to be a function.");var u=void 0===o.delimiter?s.delimiter:o.delimiter,l="boolean"==typeof o.strictNullHandling?o.strictNullHandling:s.strictNullHandling,f="boolean"==typeof o.skipNulls?o.skipNulls:s.skipNulls,p="boolean"==typeof o.encode?o.encode:s.encode,h="function"==typeof o.encoder?o.encoder:s.encoder,d="function"==typeof o.sort?o.sort:null,m=void 0!==o.allowDots&&o.allowDots,g="function"==typeof o.serializeDate?o.serializeDate:s.serializeDate,v="boolean"==typeof o.encodeValuesOnly?o.encodeValuesOnly:s.encodeValuesOnly;if(void 0===o.format)o.format=i.default;else if(!Object.prototype.hasOwnProperty.call(i.formatters,o.format))throw new TypeError("Unknown format option provided.");var b,y,_=i.formatters[o.format];"function"==typeof o.filter?r=(y=o.filter)("",r):Array.isArray(o.filter)&&(b=y=o.filter);var x=[];if("object"!=typeof r||null===r)return"";var k;k=o.arrayFormat in a?o.arrayFormat:"indices"in o?o.indices?"indices":"repeat":"indices";var w=a[k];b||(b=Object.keys(r)),d&&b.sort(d);for(var j=0;j<b.length;++j){var S=b[j];f&&null===r[S]||(x=x.concat(c(r[S],S,w,l,f,p?h:null,y,d,m,g,_,v)))}var E=x.join(u),A=!0===o.addQueryPrefix?"?":"";return E.length>0?A+E:""}},{"./formats":362,"./utils":366}],366:[function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e){for(var t;e.length;){var r=e.pop();if(t=r.obj[r.prop],Array.isArray(t)){for(var n=[],i=0;i<t.length;++i)void 0!==t[i]&&n.push(t[i]);r.obj[r.prop]=n}}return t};r.arrayToObject=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},r.merge=function(e,t,i){if(!t)return e;if("object"!=typeof t){if(Array.isArray(e))e.push(t);else{if("object"!=typeof e)return[e,t];(i.plainObjects||i.allowPrototypes||!n.call(Object.prototype,t))&&(e[t]=!0)}return e}if("object"!=typeof e)return[e].concat(t);var a=e;return Array.isArray(e)&&!Array.isArray(t)&&(a=r.arrayToObject(e,i)),Array.isArray(e)&&Array.isArray(t)?(t.forEach(function(t,a){n.call(e,a)?e[a]&&"object"==typeof e[a]?e[a]=r.merge(e[a],t,i):e.push(t):e[a]=t}),e):Object.keys(t).reduce(function(e,a){var o=t[a];return n.call(e,a)?e[a]=r.merge(e[a],o,i):e[a]=o,e},a)},r.assign=function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},r.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},r.encode=function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),r="",n=0;n<t.length;++n){var a=t.charCodeAt(n);45===a||46===a||95===a||126===a||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122?r+=t.charAt(n):a<128?r+=i[a]:a<2048?r+=i[192|a>>6]+i[128|63&a]:a<55296||a>=57344?r+=i[224|a>>12]+i[128|a>>6&63]+i[128|63&a]:(n+=1,a=65536+((1023&a)<<10|1023&t.charCodeAt(n)),r+=i[240|a>>18]+i[128|a>>12&63]+i[128|a>>6&63]+i[128|63&a])}return r},r.compact=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],o=i.obj[i.prop],s=Object.keys(o),c=0;c<s.length;++c){var u=s[c],l=o[u];"object"==typeof l&&null!==l&&-1===r.indexOf(l)&&(t.push({obj:o,prop:u}),r.push(l))}return a(t)},r.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},r.isBuffer=function(e){return null!==e&&void 0!==e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},{}],367:[function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,a){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var c=1e3;a&&"number"==typeof a.maxKeys&&(c=a.maxKeys);var u=e.length;c>0&&u>c&&(u=c);for(var l=0;l<u;++l){var f,p,h,d,m=e[l].replace(s,"%20"),g=m.indexOf(r);g>=0?(f=m.substr(0,g),p=m.substr(g+1)):(f=m,p=""),h=decodeURIComponent(f),d=decodeURIComponent(p),n(o,h)?i(o[h])?o[h].push(d):o[h]=[o[h],d]:o[h]=d}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],368:[function(e,t,r){"use strict";function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?n(o(e),function(o){var s=encodeURIComponent(i(o))+r;return a(e[o])?n(e[o],function(e){return s+encodeURIComponent(i(e))}).join(t):s+encodeURIComponent(i(e[o]))}).join(t):s?encodeURIComponent(i(s))+r+encodeURIComponent(i(e)):""};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},{}],369:[function(e,t,r){"use strict";r.decode=r.parse=e("./decode"),r.encode=r.stringify=e("./encode")},{"./decode":367,"./encode":368}],370:[function(e,t,r){(function(r,n){"use strict";var i=e("safe-buffer").Buffer,a=n.crypto||n.msCrypto;a&&a.getRandomValues?t.exports=function(e,t){if(e>65536)throw new Error("requested too many random bytes");var o=new n.Uint8Array(e);e>0&&a.getRandomValues(o);var s=i.from(o.buffer);return"function"==typeof t?r.nextTick(function(){t(null,s)}):s}:t.exports=function(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:346,"safe-buffer":402}],371:[function(e,t,r){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":372}],372:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);u.call(this,e),l.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||o(a,this)}function a(e){e.end()}var o=e("process-nextick-args"),s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};t.exports=n;var c=e("core-util-is");c.inherits=e("inherits");var u=e("./_stream_readable"),l=e("./_stream_writable");c.inherits(n,u);for(var f=s(l.prototype),p=0;p<f.length;p++){var h=f[p];n.prototype[h]||(n.prototype[h]=l.prototype[h])}Object.defineProperty(n.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),n.prototype._destroy=function(e,t){this.push(null),this.end(),o(t,e)}},{"./_stream_readable":374,"./_stream_writable":376,"core-util-is":160,inherits:252,"process-nextick-args":345}],373:[function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);i.call(this,e)}t.exports=n;var i=e("./_stream_transform"),a=e("core-util-is");a.inherits=e("inherits"),a.inherits(n,i),n.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":375,"core-util-is":160,inherits:252}],374:[function(e,t,r){(function(r,n){"use strict";function i(e){return D.from(e)}function a(e){return D.isBuffer(e)||e instanceof q}function o(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?z(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}function s(t,r){C=C||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,r instanceof C&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var n=t.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new $,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(U||(U=e("string_decoder/").StringDecoder),this.decoder=new U(t.encoding),this.encoding=t.encoding)}function c(t){if(C=C||e("./_stream_duplex"),!(this instanceof c))return new c(t);this._readableState=new s(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),B.call(this)}function u(e,t,r,n,a){var o=e._readableState;if(null===t)o.reading=!1,m(e,o);else{var s;a||(s=f(o,t)),s?e.emit("error",s):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===D.prototype||(t=i(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):l(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?l(e,o,t,!1):b(e,o)):l(e,o,t,!1))):n||(o.reading=!1)}return p(o)}function l(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&g(e)),b(e,t)}function f(e,t){var r;return a(t)||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function p(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function h(e){return e>=K?e=K:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function d(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=h(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function m(e,t){if(!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,g(e)}}function g(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(N("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?T(v,e):v(e))}function v(e){N("emit readable"),e.emit("readable"),j(e)}function b(e,t){t.readingMore||(t.readingMore=!0,T(y,e,t))}function y(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(N("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function _(e){return function(){var t=e._readableState;N("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&R(e,"data")&&(t.flowing=!0,j(e))}}function x(e){N("readable nexttick read 0"),e.read(0)}function k(e,t){t.resumeScheduled||(t.resumeScheduled=!0,T(w,e,t))}function w(e,t){t.reading||(N("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),j(e),t.flowing&&!t.reading&&e.read(0)}function j(e){var t=e._readableState;for(N("flow",t.flowing);t.flowing&&null!==e.read(););}function S(e,t){if(0===t.length)return null;var r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=E(e,t.buffer,t.decoder),r}function E(e,t,r){var n;return e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?A(e,t):F(e,t),n}function A(e,t){var r=t.head,n=1,i=r.data;for(e-=i.length;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}function F(e,t){var r=D.allocUnsafe(e),n=t.head,i=1;for(n.data.copy(r),e-=n.data.length;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,T(O,t,e))}function O(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function P(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}var T=e("process-nextick-args");t.exports=c;var C,z=e("isarray");c.ReadableState=s;e("events").EventEmitter;var R=function(e,t){return e.listeners(t).length},B=e("./internal/streams/stream"),D=e("safe-buffer").Buffer,q=n.Uint8Array||function(){},M=e("core-util-is");M.inherits=e("inherits");var L=e("util"),N=void 0;N=L&&L.debuglog?L.debuglog("stream"):function(){};var U,$=e("./internal/streams/BufferList"),H=e("./internal/streams/destroy");M.inherits(c,B);var V=["error","close","destroy","pause","resume"];Object.defineProperty(c.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),c.prototype.destroy=H.destroy,c.prototype._undestroy=H.undestroy,c.prototype._destroy=function(e,t){this.push(null),t(e)},c.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=D.from(e,t),t=""),r=!0),u(this,e,t,!1,r)},c.prototype.unshift=function(e){return u(this,e,null,!0,!1)},c.prototype.isPaused=function(){return!1===this._readableState.flowing},c.prototype.setEncoding=function(t){return U||(U=e("string_decoder/").StringDecoder),this._readableState.decoder=new U(t),this._readableState.encoding=t,this};var K=8388608;c.prototype.read=function(e){N("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return N("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):g(this),null;if(0===(e=d(e,t))&&t.ended)return 0===t.length&&I(this),null;var n=t.needReadable;N("need readable",n),(0===t.length||t.length-e<t.highWaterMark)&&N("length less than watermark",n=!0),t.ended||t.reading?N("reading or ended",n=!1):n&&(N("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=d(r,t)));var i;return null===(i=e>0?S(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&I(this)),null!==i&&this.emit("data",i),i},c.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},c.prototype.pipe=function(e,t){function n(e,t){N("onunpipe"),e===p&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,a())}function i(){N("onend"),e.end()}function a(){N("cleanup"),e.removeListener("close",u),e.removeListener("finish",l),e.removeListener("drain",m),e.removeListener("error",c),e.removeListener("unpipe",n),p.removeListener("end",i),p.removeListener("end",f),p.removeListener("data",s),g=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||m()}function s(t){N("ondata"),v=!1,!1!==e.write(t)||v||((1===h.pipesCount&&h.pipes===e||h.pipesCount>1&&-1!==P(h.pipes,e))&&!g&&(N("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,v=!0),p.pause())}function c(t){N("onerror",t),f(),e.removeListener("error",c),0===R(e,"error")&&e.emit("error",t)}function u(){e.removeListener("finish",l),f()}function l(){N("onfinish"),e.removeListener("close",u),f()}function f(){N("unpipe"),p.unpipe(e)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,N("pipe count=%d opts=%j",h.pipesCount,t);var d=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?i:f;h.endEmitted?T(d):p.once("end",d),e.on("unpipe",n);var m=_(p);e.on("drain",m);var g=!1,v=!1;return p.on("data",s),o(e,"error",c),e.once("close",u),e.once("finish",l),e.emit("pipe",p),h.flowing||(N("pipe resume"),p.resume()),e},c.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r),this);if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,r);return this}var o=P(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r),this)},c.prototype.on=function(e,t){var r=B.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&g(this):T(x,this))}return r},c.prototype.addListener=c.prototype.on,c.prototype.resume=function(){var e=this._readableState;return e.flowing||(N("resume"),e.flowing=!0,k(this,e)),this},c.prototype.pause=function(){return N("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(N("pause"),this._readableState.flowing=!1,this.emit("pause")),this},c.prototype.wrap=function(e){var t=this._readableState,r=!1,n=this;e.on("end",function(){if(N("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&n.push(e)}n.push(null)}),e.on("data",function(i){N("wrapped data"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)&&(n.push(i)||(r=!0,e.pause()))});for(var i in e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<V.length;a++)e.on(V[a],n.emit.bind(n,V[a]));return n._read=function(t){N("wrapped _read",t),r&&(r=!1,e.resume())},n},c._fromList=S}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":372,"./internal/streams/BufferList":377,"./internal/streams/destroy":378,"./internal/streams/stream":379,_process:346,"core-util-is":160,events:200,inherits:252,isarray:255,"process-nextick-args":345,"safe-buffer":402,"string_decoder/":380,util:122}],375:[function(e,t,r){"use strict";function n(e){this.afterTransform=function(t,r){return i(e,t,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(e,t,r){var n=e._transformState;n.transforming=!1;var i=n.writecb;if(!i)return e.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!==r&&void 0!==r&&e.push(r),i(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&e._read(a.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);s.call(this,e),this._transformState=new n(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e,r){o(t,e,r)}):o(t)})}function o(e,t,r){if(t)return e.emit("error",t);null!==r&&void 0!==r&&e.push(r);var n=e._writableState,i=e._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(i.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}t.exports=a;var s=e("./_stream_duplex"),c=e("core-util-is");c.inherits=e("inherits"),c.inherits(a,s),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var r=this;s.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},{"./_stream_duplex":372,"core-util-is":160,inherits:252}],376:[function(e,t,r){(function(r,n){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){E(t,e)}}function a(e){return C.from(e)}function o(e){return C.isBuffer(e)||e instanceof z}function s(){}function c(t,r){F=F||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,r instanceof F&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var n=t.highWaterMark,a=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===t.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){v(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function u(t){if(F=F||e("./_stream_duplex"),!(B.call(u,this)||this instanceof F))return new u(t);this._writableState=new c(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),T.call(this)}function l(e,t){var r=new Error("write after end");e.emit("error",r),A(t,r)}function f(e,t,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),A(n,a),i=!1),i}function p(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=C.from(t,r)),t}function h(e,t,r,n,i,a){if(!r){var o=p(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else d(e,t,!1,s,n,i,a);return c}function d(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function m(e,t,r,n,i){--t.pendingcb,r?(A(i,n),A(j,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),j(e,t))}function g(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function v(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(g(r),t)m(e,r,n,t,i);else{var a=x(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||_(e,r),n?I(b,e,r,a,i):b(e,r,a,i)}}function b(e,t,r,n){r||y(e,t),t.pendingcb--,n(),j(e,t)}function y(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function _(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,a=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)a[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;a.allBuffers=c,d(e,t,!0,t.length,a,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t)}else{for(;r;){var u=r.chunk,l=r.encoding,f=r.callback;if(d(e,t,!1,t.objectMode?1:u.length,u,l,f),r=r.next,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=r,t.bufferProcessing=!1}function x(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),j(e,t)})}function w(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,A(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}function j(e,t){var r=x(t);return r&&(w(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}function S(e,t,r){t.ending=!0,j(e,t),r&&(t.finished?A(r):e.once("finish",r)),t.ended=!0,e.writable=!1}function E(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}var A=e("process-nextick-args");t.exports=u;var F,I=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?setImmediate:A;u.WritableState=c;var O=e("core-util-is");O.inherits=e("inherits");var P={deprecate:e("util-deprecate")},T=e("./internal/streams/stream"),C=e("safe-buffer").Buffer,z=n.Uint8Array||function(){},R=e("./internal/streams/destroy");O.inherits(u,T),c.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(c.prototype,"buffer",{get:P.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}();var B;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(B=Function.prototype[Symbol.hasInstance],Object.defineProperty(u,Symbol.hasInstance,{value:function(e){return!!B.call(this,e)||e&&e._writableState instanceof c}})):B=function(e){return e instanceof this},u.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},u.prototype.write=function(e,t,r){var n=this._writableState,i=!1,c=o(e)&&!n.objectMode;return c&&!C.isBuffer(e)&&(e=a(e)),"function"==typeof t&&(r=t,t=null),c?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=s),n.ended?l(this,r):(c||f(this,n,e,r))&&(n.pendingcb++,i=h(this,n,c,e,t,r)),i},u.prototype.cork=function(){this._writableState.corked++},u.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||_(this,e))},u.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},u.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},u.prototype._writev=null,u.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||S(this,n,r)},Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),u.prototype.destroy=R.destroy,u.prototype._undestroy=R.undestroy,u.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":372,"./internal/streams/destroy":378,"./internal/streams/stream":379,_process:346,"core-util-is":160,inherits:252,"process-nextick-args":345,"safe-buffer":402,"util-deprecate":455}],377:[function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,r){e.copy(t,r)}var a=e("safe-buffer").Buffer;t.exports=function(){function e(){n(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return a.alloc(0);if(1===this.length)return this.head.data;for(var t=a.allocUnsafe(e>>>0),r=this.head,n=0;r;)i(r.data,t,n),n+=r.data.length,r=r.next;return t},e}()},{"safe-buffer":402}],378:[function(e,t,r){"use strict";function n(e,t){e.emit("error",t)}var i=e("process-nextick-args");t.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;a||o?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||i(n,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?(i(n,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)}))},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":345}],379:[function(e,t,r){t.exports=e("events").EventEmitter},{events:200}],380:[function(e,t,r){"use strict";function n(e){if(!e)return"utf8";for(var t;;)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function i(e){var t=n(e);if("string"!=typeof t&&(g.isEncoding===v||!v(e)))throw new Error("Unknown encoding: "+e);return t||e}function a(e){this.encoding=i(e);var t;switch(this.encoding){case"utf16le":this.text=l,this.end=f,t=4;break;case"utf8":this.fillLast=u,t=4;break;case"base64":this.text=p,this.end=h,t=3;break;default:return this.write=d,void(this.end=m)}this.lastNeed=0,this.lastTotal=0,this.lastChar=g.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function s(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r?0:(i=o(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r?0:(i=o(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}function c(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(r);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(r+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(r+2)}}function u(e){var t=this.lastTotal-this.lastNeed,r=c(this,e,t);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function f(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function p(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function m(e){return e&&e.length?this.write(e):""}var g=e("safe-buffer").Buffer,v=g.isEncoding||function(e){switch((e=""+e)&&e.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!0;default:return!1}};r.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t},a.prototype.text=function(e,t){var r=s(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":402}],381:[function(e,t,r){t.exports=e("./readable").PassThrough},{"./readable":382}],382:[function(e,t,r){(r=t.exports=e("./lib/_stream_readable.js")).Stream=r,r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":372,"./lib/_stream_passthrough.js":373,"./lib/_stream_readable.js":374,"./lib/_stream_transform.js":375,"./lib/_stream_writable.js":376}],383:[function(e,t,r){t.exports=e("./readable").Transform},{"./readable":382}],384:[function(e,t,r){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":376}],385:[function(e,t,r){t.exports=e("bluebird/js/main/captured_trace")()},{"bluebird/js/main/captured_trace":88}],386:[function(e,t,r){t.exports=e("bluebird/js/main/promise")()},{"bluebird/js/main/promise":104}],387:[function(e,t,r){"use strict";function n(e){this.name="RequestError",this.message=String(e),this.cause=e,Error.captureStackTrace&&Error.captureStackTrace(this)}function i(e,t){this.name="StatusCodeError",this.statusCode=e,this.message=e+" - "+t,Error.captureStackTrace&&Error.captureStackTrace(this)}(n.prototype=Object.create(Error.prototype)).constructor=n,(i.prototype=Object.create(Error.prototype)).constructor=i,t.exports={RequestError:n,StatusCodeError:i}},{}],388:[function(e,t,r){"use strict";function n(e,t,r){var n,i=this,a=!1;if(l(i._rp_callbackOrig))try{i._rp_callbackOrig.apply(i,arguments)}catch(e){a=!0,n=e}if(e)i._rp_reject(c(new g.RequestError(e),{error:e,options:i._rp_options,response:t}));else if(i._rp_options.simple&&!/^2/.test(""+t.statusCode))i._rp_reject(c(new g.StatusCodeError(t.statusCode,r),{error:r,options:i._rp_options,response:t}));else if(l(i._rp_options.transform))try{i._rp_resolve(i._rp_options.transform(r,t))}catch(e){i._rp_reject(e)}else i._rp_options.resolveWithFullResponse?i._rp_resolve(t):i._rp_resolve(r);if(a)throw n;if(e&&!1===l(i._rp_callbackOrig)&&!0!==i._rp_promise_in_use&&1===i.listeners("error").length)throw e}function i(e){e._rp_promise_in_use=!0,e._rp_promise._rp_in_use=!0}function a(e,t){t=t||e,h(v.Request.prototype[t])?v.Request.prototype[t]=function(){return i(this),this._rp_promise[e].apply(this._rp_promise,arguments)}:console.error(m.bold.bgRed('[Request-Promise] Unable to expose method "'+t+'". It is already implemented by Request. Please visit https://github.com/request/request-promise/wiki/Troubleshooting'))}var o=e("./bluebird-fresh.js"),s=e("./bluebird-captured-trace-fresh.js"),c=e("lodash/object/assign"),u=e("lodash/collection/forEach"),l=e("lodash/lang/isFunction"),f=e("lodash/lang/isPlainObject"),p=e("lodash/lang/isString"),h=e("lodash/lang/isUndefined"),d=e("lodash/object/keys"),m=e("chalk"),g=e("./errors.js"),v=function(){function t(){u(d(e.cache),function(t){delete e.cache[t]})}var r=c({},e.cache);t();var n=e("request");return t(),c(e.cache,r),n}(),b=v.Request.prototype.init;v.Request.prototype.init=function(e){var t=this;return f(e)&&void 0===t._callback&&void 0===t._rp_promise&&(t._rp_promise=new o(function(e,r){t._rp_resolve=e,t._rp_reject=r}),t._rp_promise._rp_in_use=!1,t._rp_callbackOrig=t.callback,t.callback=n,p(e.method)&&(e.method=e.method.toUpperCase()),t._rp_options=e,t._rp_options.simple=!1!==e.simple,t._rp_options.resolveWithFullResponse=!0===e.resolveWithFullResponse),b.apply(t,arguments)},a("then"),a("catch"),a("finally"),v.Request.prototype.promise=function(){return i(this),this._rp_promise};var y=s.formatAndLogError||s.possiblyUnhandledRejection;o.onPossiblyUnhandledRejection(function(e,t){!1!==t._rp_in_use&&y(e,"Possibly unhandled ")}),t.exports=v},{"./bluebird-captured-trace-fresh.js":385,"./bluebird-fresh.js":386,"./errors.js":387,chalk:156,"lodash/collection/forEach":268,"lodash/lang/isFunction":295,"lodash/lang/isPlainObject":298,"lodash/lang/isString":299,"lodash/lang/isUndefined":300,"lodash/object/assign":301,"lodash/object/keys":302,request:389}],389:[function(e,t,r){"use strict";function n(e,t,r){"function"==typeof t&&(r=t);var n={};return"object"==typeof t?s(n,t,{uri:e}):"string"==typeof e?s(n,{uri:e}):s(n,e),n.callback=r||n.callback,n}function i(e,t,r){if(void 0===e)throw new Error("undefined is not a valid uri or options object.");var a=n(e,t,r);if("HEAD"===a.method&&u(a))throw new Error("HTTP HEAD requests MUST NOT include a request body.");return new i.Request(a)}function a(e){var t=e.toUpperCase();return function(e,r,a){var o=n(e,r,a);return o.method=t,i(o,o.callback)}}function o(e,t,r,i){return function(a,o,c){var u=n(a,o,c),l={};return s(!0,l,t,u),l.pool=u.pool||t.pool,i&&(l.method=i.toUpperCase()),"function"==typeof r&&(e=r),e(l,l.callback)}}var s=e("extend"),c=e("./lib/cookies"),u=e("./lib/helpers").paramsHaveRequestBody;i.get=a("get"),i.head=a("head"),i.options=a("options"),i.post=a("post"),i.put=a("put"),i.patch=a("patch"),i.del=a("delete"),i.delete=a("delete"),i.jar=function(e){return c.jar(e)},i.cookie=function(e){return c.parse(e)},i.defaults=function(e,t){var r=this;"function"==typeof(e=e||{})&&(t=e,e={});var n=o(r,e,t);return["get","head","post","put","patch","del","delete"].forEach(function(i){n[i]=o(r[i],e,t,i)}),n.cookie=o(r.cookie,e,t),n.jar=r.jar,n.defaults=r.defaults,n},i.forever=function(e,t){var r={};return t&&s(r,t),e&&(r.agentOptions=e),r.forever=!0,i.defaults(r)},t.exports=i,i.Request=e("./request"),i.initParams=n,Object.defineProperty(i,"debug",{enumerable:!0,get:function(){return i.Request.debug},set:function(e){i.Request.debug=e}})},{"./lib/cookies":391,"./lib/helpers":394,"./request":400,extend:202}],390:[function(e,t,r){"use strict";function n(e){this.request=e,this.hasAuth=!1,this.sentAuth=!1,this.bearerToken=null,this.user=null,this.pass=null}var i=e("caseless"),a=e("uuid"),o=e("./helpers"),s=o.md5,c=o.toBase64;n.prototype.basic=function(e,t,r){var n=this;("string"!=typeof e||void 0!==t&&"string"!=typeof t)&&n.request.emit("error",new Error("auth() received invalid user or password")),n.user=e,n.pass=t,n.hasAuth=!0;var i=e+":"+(t||"");if(r||void 0===r){var a="Basic "+c(i);return n.sentAuth=!0,a}},n.prototype.bearer=function(e,t){var r=this;if(r.bearerToken=e,r.hasAuth=!0,t||void 0===t){"function"==typeof e&&(e=e());var n="Bearer "+(e||"");return r.sentAuth=!0,n}},n.prototype.digest=function(e,t,r){for(var n=this,i={},o=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;;){var c=o.exec(r);if(!c)break;i[c[1]]=c[2]||c[3]}var u=/(^|,)\s*auth\s*($|,)/.test(i.qop)&&"auth",l=u&&"00000001",f=u&&a().replace(/-/g,""),p=function(e,t,r,n,i,a){var o=s(t+":"+r+":"+n);return e&&"md5-sess"===e.toLowerCase()?s(o+":"+i+":"+a):o}(i.algorithm,n.user,i.realm,n.pass,i.nonce,f),h=s(e+":"+t),d=s(u?p+":"+i.nonce+":"+l+":"+f+":"+u+":"+h:p+":"+i.nonce+":"+h),m={username:n.user,realm:i.realm,nonce:i.nonce,uri:t,qop:u,response:d,nc:l,cnonce:f,algorithm:i.algorithm,opaque:i.opaque};r=[];for(var g in m)m[g]&&("qop"===g||"nc"===g||"algorithm"===g?r.push(g+"="+m[g]):r.push(g+'="'+m[g]+'"'));return r="Digest "+r.join(", "),n.sentAuth=!0,r},n.prototype.onRequest=function(e,t,r,n){var i,a=this,o=a.request;void 0===n&&void 0===e?a.request.emit("error",new Error("no auth mechanism defined")):i=void 0!==n?a.bearer(n,r):a.basic(e,t,r),i&&o.setHeader("authorization",i)},n.prototype.onResponse=function(e){var t=this,r=t.request;if(!t.hasAuth||t.sentAuth)return null;var n=i(e.headers).get("www-authenticate"),a=n&&n.split(" ")[0].toLowerCase();switch(r.debug("reauth",a),a){case"basic":return t.basic(t.user,t.pass,!0);case"bearer":return t.bearer(t.bearerToken,!0);case"digest":return t.digest(r.method,r.path,n)}},r.Auth=n},{"./helpers":394,caseless:155,uuid:459}],391:[function(e,t,r){"use strict";function n(e){this._jar=new o(e,{looseMode:!0})}var i=e("tough-cookie"),a=i.Cookie,o=i.CookieJar;r.parse=function(e){if(e&&e.uri&&(e=e.uri),"string"!=typeof e)throw new Error("The cookie function only accepts STRING as param");return a.parse(e,{loose:!0})},n.prototype.setCookie=function(e,t,r){return this._jar.setCookieSync(e,t,r||{})},n.prototype.getCookieString=function(e){return this._jar.getCookieStringSync(e)},n.prototype.getCookies=function(e){return this._jar.getCookiesSync(e)},r.jar=function(e){return new n(e)}},{"tough-cookie":444}],392:[function(e,t,r){(function(e){"use strict";function r(e){return e.replace(/^\.*/,".").toLowerCase()}function n(e){var t=(e=e.trim().toLowerCase()).split(":",2);return{hostname:r(t[0]),port:t[1],hasPort:e.indexOf(":")>-1}}function i(e,t){var i=e.port||("https:"===e.protocol?"443":"80"),a=r(e.hostname);return t.split(",").map(n).some(function(e){var t=a.indexOf(e.hostname),r=t>-1&&t===a.length-e.hostname.length;return e.hasPort?i===e.port&&r:r})}t.exports=function(t){var r=e.env.NO_PROXY||e.env.no_proxy||"";return"*"===r?null:""!==r&&i(t,r)?null:"http:"===t.protocol?e.env.HTTP_PROXY||e.env.http_proxy||null:"https:"===t.protocol?e.env.HTTPS_PROXY||e.env.https_proxy||e.env.HTTP_PROXY||e.env.http_proxy||null:null}}).call(this,e("_process"))},{_process:346}],393:[function(e,t,r){"use strict";function n(e){this.request=e}var i=e("fs"),a=e("querystring"),o=e("har-validator"),s=e("extend");n.prototype.reducer=function(e,t){if(void 0===e[t.name])return e[t.name]=t.value,e;var r=[e[t.name],t.value];return e[t.name]=r,e},n.prototype.prep=function(e){function t(t){return t.some(function(t){return 0===e.postData.mimeType.indexOf(t)})}if(e.queryObj={},e.headersObj={},e.postData.jsonObj=!1,e.postData.paramsObj=!1,e.queryString&&e.queryString.length&&(e.queryObj=e.queryString.reduce(this.reducer,{})),e.headers&&e.headers.length&&(e.headersObj=e.headers.reduceRight(function(e,t){return e[t.name]=t.value,e},{})),e.cookies&&e.cookies.length){var r=e.cookies.map(function(e){return e.name+"="+e.value});r.length&&(e.headersObj.cookie=r.join("; "))}if(t(["multipart/mixed","multipart/related","multipart/form-data","multipart/alternative"]))e.postData.mimeType="multipart/form-data";else if(t(["application/x-www-form-urlencoded"]))e.postData.params?(e.postData.paramsObj=e.postData.params.reduce(this.reducer,{}),e.postData.text=a.stringify(e.postData.paramsObj)):e.postData.text="";else if(t(["text/json","text/x-json","application/json","application/x-json"])&&(e.postData.mimeType="application/json",e.postData.text))try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(t){this.request.debug(t),e.postData.mimeType="text/plain"}return e},n.prototype.options=function(e){function t(e){return 0===n.postData.mimeType.indexOf(e)}if(!e.har)return e;var r={};if(s(r,e.har),r.log&&r.log.entries&&(r=r.log.entries[0]),r.url=r.url||e.url||e.uri||e.baseUrl||"/",r.httpVersion=r.httpVersion||"HTTP/1.1",r.queryString=r.queryString||[],r.headers=r.headers||[],r.cookies=r.cookies||[],r.postData=r.postData||{},r.postData.mimeType=r.postData.mimeType||"application/octet-stream",r.bodySize=0,r.headersSize=0,r.postData.size=0,!o.request(r))return e;var n=this.prep(r);return n.url&&(e.url=n.url),n.method&&(e.method=n.method),Object.keys(n.queryObj).length&&(e.qs=n.queryObj),Object.keys(n.headersObj).length&&(e.headers=n.headersObj),t("application/x-www-form-urlencoded")?e.form=n.postData.paramsObj:t("application/json")?n.postData.jsonObj&&(e.body=n.postData.jsonObj,e.json=!0):t("multipart/form-data")?(e.formData={},n.postData.params.forEach(function(t){var r={};t.fileName||t.fileName||t.contentType?(t.fileName&&!t.value?r.value=i.createReadStream(t.fileName):t.value&&(r.value=t.value),t.fileName&&(r.options={filename:t.fileName,contentType:t.contentType?t.contentType:null}),e.formData[t.name]=r):e.formData[t.name]=t.value})):n.postData.text&&(e.body=n.postData.text),e},r.Har=n},{extend:202,fs:151,"har-validator":227,querystring:369}],394:[function(e,t,r){(function(t){"use strict";var n=e("json-stringify-safe"),i=e("crypto"),a=e("safe-buffer").Buffer,o="undefined"==typeof setImmediate?t.nextTick:setImmediate;r.paramsHaveRequestBody=function(e){return e.body||e.requestBodyStream||e.json&&"boolean"!=typeof e.json||e.multipart},r.safeStringify=function(e,t){var r;try{r=JSON.stringify(e,t)}catch(i){r=n(e,t)}return r},r.md5=function(e){return i.createHash("md5").update(e).digest("hex")},r.isReadStream=function(e){return e.readable&&e.path&&e.mode},r.toBase64=function(e){return a.from(e||"","utf8").toString("base64")},r.copy=function(e){var t={};return Object.keys(e).forEach(function(r){t[r]=e[r]}),t},r.version=function(){var e=t.version.replace("v","").split(".");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}},r.defer=o}).call(this,e("_process"))},{_process:346,crypto:167,"json-stringify-safe":261,"safe-buffer":402}],395:[function(e,t,r){"use strict";function n(e){this.request=e,this.boundary=i(),this.chunked=!1,this.body=null}var i=e("uuid"),a=e("combined-stream"),o=e("isstream"),s=e("safe-buffer").Buffer;n.prototype.isChunked=function(e){var t=this,r=!1,n=e.data||e;return n.forEach||t.request.emit("error",new Error("Argument error, options.multipart.")),void 0!==e.chunked&&(r=e.chunked),"chunked"===t.request.getHeader("transfer-encoding")&&(r=!0),r||n.forEach(function(e){void 0===e.body&&t.request.emit("error",new Error("Body attribute missing in multipart.")),o(e.body)&&(r=!0)}),r},n.prototype.setHeaders=function(e){var t=this;e&&!t.request.hasHeader("transfer-encoding")&&t.request.setHeader("transfer-encoding","chunked");var r=t.request.getHeader("content-type");r&&-1!==r.indexOf("multipart")?-1!==r.indexOf("boundary")?t.boundary=r.replace(/.*boundary=([^\s;]+).*/,"$1"):t.request.setHeader("content-type",r+"; boundary="+t.boundary):t.request.setHeader("content-type","multipart/related; boundary="+t.boundary)},n.prototype.build=function(e,t){function r(e){return"number"==typeof e&&(e=e.toString()),t?i.append(e):i.push(s.from(e))}var n=this,i=t?new a:[];return n.request.preambleCRLF&&r("\r\n"),e.forEach(function(e){var t="--"+n.boundary+"\r\n";Object.keys(e).forEach(function(r){"body"!==r&&(t+=r+": "+e[r]+"\r\n")}),r(t+="\r\n"),r(e.body),r("\r\n")}),r("--"+n.boundary+"--"),n.request.postambleCRLF&&r("\r\n"),i},n.prototype.onRequest=function(e){var t=this,r=t.isChunked(e),n=e.data||e;t.setHeaders(r),t.chunked=r,t.body=t.build(n,r)},r.Multipart=n},{"combined-stream":159,isstream:256,"safe-buffer":402,uuid:459}],396:[function(e,t,r){"use strict";function n(e){this.request=e,this.params=null}var i=e("url"),a=e("qs"),o=e("caseless"),s=e("uuid"),c=e("oauth-sign"),u=e("crypto"),l=e("safe-buffer").Buffer;n.prototype.buildParams=function(e,t,r,n,i,a){var o={};for(var u in e)o["oauth_"+u]=e[u];o.oauth_version||(o.oauth_version="1.0"),o.oauth_timestamp||(o.oauth_timestamp=Math.floor(Date.now()/1e3).toString()),o.oauth_nonce||(o.oauth_nonce=s().replace(/-/g,"")),o.oauth_signature_method||(o.oauth_signature_method="HMAC-SHA1");var l=o.oauth_consumer_secret||o.oauth_private_key;delete o.oauth_consumer_secret,delete o.oauth_private_key;var f=o.oauth_token_secret;delete o.oauth_token_secret;var p=o.oauth_realm;delete o.oauth_realm,delete o.oauth_transport_method;var h=t.protocol+"//"+t.host+t.pathname,d=a.parse([].concat(n,i,a.stringify(o)).join("&"));return o.oauth_signature=c.sign(o.oauth_signature_method,r,h,d,l,f),p&&(o.realm=p),o},n.prototype.buildBodyHash=function(e,t){["HMAC-SHA1","RSA-SHA1"].indexOf(e.signature_method||"HMAC-SHA1")<0&&this.request.emit("error",new Error("oauth: "+e.signature_method+" signature_method not supported with body_hash signing."));var r=u.createHash("sha1");r.update(t||"");var n=r.digest("hex");return l.from(n).toString("base64")},n.prototype.concatParams=function(e,t,r){r=r||"";var n=Object.keys(e).filter(function(e){return"realm"!==e&&"oauth_signature"!==e}).sort();return e.realm&&n.splice(0,0,"realm"),n.push("oauth_signature"),n.map(function(t){return t+"="+r+c.rfc3986(e[t])+r}).join(t)},n.prototype.onRequest=function(e){var t=this;t.params=e;var r,n,s=t.request.uri||{},c=t.request.method||"",u=o(t.request.headers),l=t.request.body||"",f=t.request.qsLib||a,p=u.get("content-type")||"",h="application/x-www-form-urlencoded",d=e.transport_method||"header";p.slice(0,h.length)===h&&(p=h,r=l),s.query&&(n=s.query),"body"!==d||"POST"===c&&p===h||t.request.emit("error",new Error("oauth: transport_method of body requires POST and content-type "+h)),r||"boolean"!=typeof e.body_hash||(e.body_hash=t.buildBodyHash(e,t.request.body.toString()));var m=t.buildParams(e,s,c,n,r,f);switch(d){case"header":t.request.setHeader("Authorization","OAuth "+t.concatParams(m,",",'"'));break;case"query":var g=t.request.uri.href+=(n?"&":"?")+t.concatParams(m,"&");t.request.uri=i.parse(g),t.request.path=t.request.uri.path;break;case"body":t.request.body=(r?r+"&":"")+t.concatParams(m,"&");break;default:t.request.emit("error",new Error("oauth: transport_method invalid"))}},r.OAuth=n},{caseless:155,crypto:167,"oauth-sign":321,qs:363,"safe-buffer":402,url:453,uuid:459}],397:[function(e,t,r){"use strict";function n(e){this.request=e,this.lib=null,this.useQuerystring=null,this.parseOptions=null,this.stringifyOptions=null}var i=e("qs"),a=e("querystring");n.prototype.init=function(e){this.lib||(this.useQuerystring=e.useQuerystring,this.lib=this.useQuerystring?a:i,this.parseOptions=e.qsParseOptions||{},this.stringifyOptions=e.qsStringifyOptions||{})},n.prototype.stringify=function(e){return this.useQuerystring?this.rfc3986(this.lib.stringify(e,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(e,this.stringifyOptions)},n.prototype.parse=function(e){return this.useQuerystring?this.lib.parse(e,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(e,this.parseOptions)},n.prototype.rfc3986=function(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},n.prototype.unescape=a.unescape,r.Querystring=n},{qs:363,querystring:369}],398:[function(e,t,r){"use strict";function n(e){this.request=e,this.followRedirect=!0,this.followRedirects=!0,this.followAllRedirects=!1,this.followOriginalHttpMethod=!1,this.allowRedirect=function(){return!0},this.maxRedirects=10,this.redirects=[],this.redirectsFollowed=0,this.removeRefererHeader=!1}var i=e("url"),a=/^https?:/;n.prototype.onRequest=function(e){var t=this;void 0!==e.maxRedirects&&(t.maxRedirects=e.maxRedirects),"function"==typeof e.followRedirect&&(t.allowRedirect=e.followRedirect),void 0!==e.followRedirect&&(t.followRedirects=!!e.followRedirect),void 0!==e.followAllRedirects&&(t.followAllRedirects=e.followAllRedirects),(t.followRedirects||t.followAllRedirects)&&(t.redirects=t.redirects||[]),void 0!==e.removeRefererHeader&&(t.removeRefererHeader=e.removeRefererHeader),void 0!==e.followOriginalHttpMethod&&(t.followOriginalHttpMethod=e.followOriginalHttpMethod)},n.prototype.redirectTo=function(e){var t=this,r=t.request,n=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has("location")){var i=e.caseless.get("location");if(r.debug("redirect",i),t.followAllRedirects)n=i;else if(t.followRedirects)switch(r.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:n=i}}else if(401===e.statusCode){var a=r._auth.onResponse(e);a&&(r.setHeader("authorization",a),n=r.uri)}return n},n.prototype.onResponse=function(e){var t=this,r=t.request,n=t.redirectTo(e);if(!n||!t.allowRedirect.call(r,e))return!1;if(r.debug("redirect to",n),e.resume&&e.resume(),t.redirectsFollowed>=t.maxRedirects)return r.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+r.uri.href)),!1;t.redirectsFollowed+=1,a.test(n)||(n=i.resolve(r.uri.href,n));var o=r.uri;return r.uri=i.parse(n),r.uri.protocol!==o.protocol&&delete r.agent,t.redirects.push({statusCode:e.statusCode,redirectUri:n}),t.followAllRedirects&&"HEAD"!==r.method&&401!==e.statusCode&&307!==e.statusCode&&(r.method=t.followOriginalHttpMethod?r.method:"GET"),delete r.src,delete r.req,delete r._started,401!==e.statusCode&&307!==e.statusCode&&(delete r.body,delete r._form,r.headers&&(r.removeHeader("host"),r.removeHeader("content-type"),r.removeHeader("content-length"),r.uri.hostname!==r.originalHost.split(":")[0]&&r.removeHeader("authorization"))),t.removeRefererHeader||r.setHeader("referer",o.href),r.emit("redirect"),r.init(),!0},r.Redirect=n},{url:453}],399:[function(e,t,r){"use strict";function n(e){var t=e.port,r=e.protocol,n=e.hostname+":";return n+=t||("https:"===r?"443":"80")}function i(e,t){var r=t.reduce(function(e,t){return e[t.toLowerCase()]=!0,e},{});return Object.keys(e).filter(function(e){return r[e.toLowerCase()]}).reduce(function(t,r){return t[r]=e[r],t},{})}function a(e,t){var r=e.proxy;return{proxy:{host:r.hostname,port:+r.port,proxyAuth:r.auth,headers:t},headers:e.headers,ca:e.ca,cert:e.cert,key:e.key,passphrase:e.passphrase,pfx:e.pfx,ciphers:e.ciphers,rejectUnauthorized:e.rejectUnauthorized,secureOptions:e.secureOptions,secureProtocol:e.secureProtocol}}function o(e,t){return["https:"===e.protocol?"https":"http","https:"===t.protocol?"Https":"Http"].join("Over")}function s(e){var t=o(e.uri,e.proxy);return l[t]}function c(e){this.request=e,this.proxyHeaderWhiteList=f,this.proxyHeaderExclusiveList=[],void 0!==e.tunnel&&(this.tunnelOverride=e.tunnel)}var u=e("url"),l=e("tunnel-agent"),f=["accept","accept-charset","accept-encoding","accept-language","accept-ranges","cache-control","content-encoding","content-language","content-location","content-md5","content-range","content-type","connection","date","expect","max-forwards","pragma","referer","te","user-agent","via"],p=["proxy-authorization"];c.prototype.isEnabled=function(){var e=this,t=e.request;return void 0!==e.tunnelOverride?e.tunnelOverride:"https:"===t.uri.protocol},c.prototype.setup=function(e){var t=this,r=t.request;if(e=e||{},"string"==typeof r.proxy&&(r.proxy=u.parse(r.proxy)),!r.proxy||!r.tunnel)return!1;e.proxyHeaderWhiteList&&(t.proxyHeaderWhiteList=e.proxyHeaderWhiteList),e.proxyHeaderExclusiveList&&(t.proxyHeaderExclusiveList=e.proxyHeaderExclusiveList);var o=t.proxyHeaderExclusiveList.concat(p),c=t.proxyHeaderWhiteList.concat(o),l=i(r.headers,c);l.host=n(r.uri),o.forEach(r.removeHeader,r);var f=s(r),h=a(r,l);return r.agent=f(h),!0},c.defaultProxyHeaderWhiteList=f,c.defaultProxyHeaderExclusiveList=p,r.Tunnel=c},{"tunnel-agent":451,url:453}],400:[function(e,t,r){(function(r){"use strict";function n(e,t){var r={};for(var n in t)-1===e.indexOf(n)&&(r[n]=t[n]);return r}function i(e,t){var r={};for(var n in t){var i=!(-1===e.indexOf(n)),a="function"==typeof t[n];i&&a||(r[n]=t[n])}return r}function a(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function o(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:a.call(e.request)}}function s(e){var t=this;e.har&&(t._har=new P(t),e=t._har.options(e)),h.Stream.call(t);var r=Object.keys(s.prototype),a=n(r,e);j(t,a),e=i(r,e),t.readable=!0,t.writable=!0,e.method&&(t.explicitMethod=!0),t._qs=new O(t),t._auth=new T(t),t._oauth=new C(t),t._multipart=new z(t),t._redirect=new R(t),t._tunnel=new B(t),t.init(e)}function c(){s.debug&&console.error("REQUEST %s",p.format.apply(p,arguments))}var u=e("http"),l=e("https"),f=e("url"),p=e("util"),h=e("stream"),d=e("zlib"),m=e("hawk"),g=e("aws-sign2"),v=e("aws4"),b=e("http-signature"),y=e("mime-types"),_=e("stringstream"),x=e("caseless"),k=e("forever-agent"),w=e("form-data"),j=e("extend"),S=e("isstream"),E=e("is-typedarray").strict,A=e("./lib/helpers"),F=e("./lib/cookies"),I=e("./lib/getProxyFromURI"),O=e("./lib/querystring").Querystring,P=e("./lib/har").Har,T=e("./lib/auth").Auth,C=e("./lib/oauth").OAuth,z=e("./lib/multipart").Multipart,R=e("./lib/redirect").Redirect,B=e("./lib/tunnel").Tunnel,D=e("performance-now"),q=e("safe-buffer").Buffer,M=A.safeStringify,L=A.isReadStream,N=A.toBase64,U=A.defer,$=A.copy,H=A.version,V=F.jar(),K={};p.inherits(s,h.Stream),s.debug=r.env.NODE_DEBUG&&/\brequest\b/.test(r.env.NODE_DEBUG),s.prototype.debug=c,s.prototype.init=function(e){function t(){if(E(r.body)&&(r.body=q.from(r.body)),!r.hasHeader("content-length")){var e;(e="string"==typeof r.body?q.byteLength(r.body):Array.isArray(r.body)?r.body.reduce(function(e,t){return e+t.length},0):r.body.length)?r.setHeader("content-length",e):r.emit("error",new Error("Argument error, options.body."))}}var r=this;e||(e={}),r.headers=r.headers?$(r.headers):{};for(var n in r.headers)void 0===r.headers[n]&&delete r.headers[n];if(x.httpify(r,r.headers),r.method||(r.method=e.method||"GET"),r.localAddress||(r.localAddress=e.localAddress),r._qs.init(e),c(e),r.pool||!1===r.pool||(r.pool=K),r.dests=r.dests||[],r.__isRequestRequest=!0,!r._callback&&r.callback&&(r._callback=r.callback,r.callback=function(){r._callbackCalled||(r._callbackCalled=!0,r._callback.apply(r,arguments))},r.on("error",r.callback.bind()),r.on("complete",r.callback.bind(r,null))),!r.uri&&r.url&&(r.uri=r.url,delete r.url),r.baseUrl){if("string"!=typeof r.baseUrl)return r.emit("error",new Error("options.baseUrl must be a string"));if("string"!=typeof r.uri)return r.emit("error",new Error("options.uri must be a string when using options.baseUrl"));if(0===r.uri.indexOf("//")||-1!==r.uri.indexOf("://"))return r.emit("error",new Error("options.uri must be a path when using options.baseUrl"));var i=r.baseUrl.lastIndexOf("/")===r.baseUrl.length-1,a=0===r.uri.indexOf("/");i&&a?r.uri=r.baseUrl+r.uri.slice(1):i||a?r.uri=r.baseUrl+r.uri:""===r.uri?r.uri=r.baseUrl:r.uri=r.baseUrl+"/"+r.uri,delete r.baseUrl}if(!r.uri)return r.emit("error",new Error("options.uri is a required argument"));if("string"==typeof r.uri&&(r.uri=f.parse(r.uri)),r.uri.href||(r.uri.href=f.format(r.uri)),"unix:"===r.uri.protocol)return r.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"));if("unix"===r.uri.host&&r.enableUnixSocket(),!1===r.strictSSL&&(r.rejectUnauthorized=!1),r.uri.pathname||(r.uri.pathname="/"),!(r.uri.host||r.uri.hostname&&r.uri.port||r.uri.isUnix)){var o='Invalid URI "'+f.format(r.uri)+'"';return 0===Object.keys(e).length&&(o+=". This can be caused by a crappy redirection."),r.abort(),r.emit("error",new Error(o))}if(r.hasOwnProperty("proxy")||(r.proxy=I(r.uri)),r.tunnel=r._tunnel.isEnabled(),r.proxy&&r._tunnel.setup(e),r._redirect.onRequest(e),r.setHost=!1,!r.hasHeader("host")){var s=r.originalHostHeaderName||"host";r.setHeader(s,r.uri.host),r.setHost=!0}if(r.jar(r._jar||e.jar),r.uri.port||("http:"===r.uri.protocol?r.uri.port=80:"https:"===r.uri.protocol&&(r.uri.port=443)),r.proxy&&!r.tunnel?(r.port=r.proxy.port,r.host=r.proxy.hostname):(r.port=r.uri.port,r.host=r.uri.hostname),e.form&&r.form(e.form),e.formData){var p=e.formData,h=r.form(),d=function(e,t){t&&t.hasOwnProperty("value")&&t.hasOwnProperty("options")?h.append(e,t.value,t.options):h.append(e,t)};for(var m in p)if(p.hasOwnProperty(m)){var g=p[m];if(g instanceof Array)for(var v=0;v<g.length;v++)d(m,g[v]);else d(m,g)}}if(e.qs&&r.qs(e.qs),r.uri.path?r.path=r.uri.path:r.path=r.uri.pathname+(r.uri.search||""),0===r.path.length&&(r.path="/"),e.aws&&r.aws(e.aws),e.hawk&&r.hawk(e.hawk),e.httpSignature&&r.httpSignature(e.httpSignature),e.auth&&(Object.prototype.hasOwnProperty.call(e.auth,"username")&&(e.auth.user=e.auth.username),Object.prototype.hasOwnProperty.call(e.auth,"password")&&(e.auth.pass=e.auth.password),r.auth(e.auth.user,e.auth.pass,e.auth.sendImmediately,e.auth.bearer)),r.gzip&&!r.hasHeader("accept-encoding")&&r.setHeader("accept-encoding","gzip, deflate"),r.uri.auth&&!r.hasHeader("authorization")){var b=r.uri.auth.split(":").map(function(e){return r._qs.unescape(e)});r.auth(b[0],b.slice(1).join(":"),!0)}if(!r.tunnel&&r.proxy&&r.proxy.auth&&!r.hasHeader("proxy-authorization")){var _=r.proxy.auth.split(":").map(function(e){return r._qs.unescape(e)}),w="Basic "+N(_.join(":"));r.setHeader("proxy-authorization",w)}r.proxy&&!r.tunnel&&(r.path=r.uri.protocol+"//"+r.uri.host+r.path),e.json&&r.json(e.json),e.multipart&&r.multipart(e.multipart),e.time&&(r.timing=!0,r.elapsedTime=r.elapsedTime||0),r.body&&!S(r.body)&&t(),e.oauth?r.oauth(e.oauth):r._oauth.params&&r.hasHeader("authorization")&&r.oauth(r._oauth.params);var j=r.proxy&&!r.tunnel?r.proxy.protocol:r.uri.protocol,A={"http:":u,"https:":l},F=r.httpModules||{};if(r.httpModule=F[j]||A[j],!r.httpModule)return r.emit("error",new Error("Invalid protocol: "+j));if(e.ca&&(r.ca=e.ca),!r.agent)if(e.agentOptions&&(r.agentOptions=e.agentOptions),e.agentClass)r.agentClass=e.agentClass;else if(e.forever){var O=H();0===O.major&&O.minor<=10?r.agentClass="http:"===j?k:k.SSL:(r.agentClass=r.httpModule.Agent,r.agentOptions=r.agentOptions||{},r.agentOptions.keepAlive=!0)}else r.agentClass=r.httpModule.Agent;!1===r.pool?r.agent=!1:r.agent=r.agent||r.getNewAgent(),r.on("pipe",function(e){if(r.ntick&&r._started&&r.emit("error",new Error("You cannot pipe to this stream after the outbound request has started.")),r.src=e,L(e))r.hasHeader("content-type")||r.setHeader("content-type",y.lookup(e.path));else{if(e.headers)for(var t in e.headers)r.hasHeader(t)||r.setHeader(t,e.headers[t]);r._json&&!r.hasHeader("content-type")&&r.setHeader("content-type","application/json"),e.method&&!r.explicitMethod&&(r.method=e.method)}}),U(function(){if(!r._aborted){var e=function(){if(r._form&&(r._auth.hasAuth?r._auth.hasAuth&&r._auth.sentAuth&&r._form.pipe(r):r._form.pipe(r)),r._multipart&&r._multipart.chunked&&r._multipart.body.pipe(r),r.body)S(r.body)?r.body.pipe(r):(t(),Array.isArray(r.body)?r.body.forEach(function(e){r.write(e)}):r.write(r.body),r.end());else if(r.requestBodyStream)console.warn("options.requestBodyStream is deprecated, please pass the request object to stream.pipe."),r.requestBodyStream.pipe(r);else if(!r.src){if(r._auth.hasAuth&&!r._auth.sentAuth)return void r.end();"GET"!==r.method&&void 0!==r.method&&r.setHeader("content-length",0),r.end()}};r._form&&!r.hasHeader("content-length")?(r.setHeader(r._form.getHeaders(),!0),r._form.getLength(function(t,n){t||isNaN(n)||r.setHeader("content-length",n),e()})):e(),r.ntick=!0}})},s.prototype.getNewAgent=function(){var e=this,t=e.agentClass,r={};if(e.agentOptions)for(var n in e.agentOptions)r[n]=e.agentOptions[n];e.ca&&(r.ca=e.ca),e.ciphers&&(r.ciphers=e.ciphers),e.secureProtocol&&(r.secureProtocol=e.secureProtocol),e.secureOptions&&(r.secureOptions=e.secureOptions),void 0!==e.rejectUnauthorized&&(r.rejectUnauthorized=e.rejectUnauthorized),e.cert&&e.key&&(r.key=e.key,r.cert=e.cert),e.pfx&&(r.pfx=e.pfx),e.passphrase&&(r.passphrase=e.passphrase);var i="";t!==e.httpModule.Agent&&(i+=t.name);var a=e.proxy;return"string"==typeof a&&(a=f.parse(a)),(a&&"https:"===a.protocol||"https:"===this.uri.protocol)&&(r.ca&&(i&&(i+=":"),i+=r.ca),void 0!==r.rejectUnauthorized&&(i&&(i+=":"),i+=r.rejectUnauthorized),r.cert&&(i&&(i+=":"),i+=r.cert.toString("ascii")+r.key.toString("ascii")),r.pfx&&(i&&(i+=":"),i+=r.pfx.toString("ascii")),r.ciphers&&(i&&(i+=":"),i+=r.ciphers),r.secureProtocol&&(i&&(i+=":"),i+=r.secureProtocol),r.secureOptions&&(i&&(i+=":"),i+=r.secureOptions)),e.pool===K&&!i&&0===Object.keys(r).length&&e.httpModule.globalAgent?e.httpModule.globalAgent:(i=e.uri.protocol+i,e.pool[i]||(e.pool[i]=new t(r),e.pool.maxSockets&&(e.pool[i].maxSockets=e.pool.maxSockets)),e.pool[i])},s.prototype.start=function(){var e=this;if(e.timing)var t=(new Date).getTime(),r=D();if(!e._aborted){e._started=!0,e.method=e.method||"GET",e.href=e.uri.href,e.src&&e.src.stat&&e.src.stat.size&&!e.hasHeader("content-length")&&e.setHeader("content-length",e.src.stat.size),e._aws&&e.aws(e._aws,!0);var n=$(e);delete n.auth,c("make request",e.uri.href),delete n.timeout;try{e.req=e.httpModule.request(n)}catch(t){return void e.emit("error",t)}e.timing&&(e.startTime=t,e.startTimeNow=r,e.timings={});var i;e.timeout&&!e.timeoutTimer&&(e.timeout<0?i=0:"number"==typeof e.timeout&&isFinite(e.timeout)&&(i=e.timeout)),e.req.on("response",e.onRequestResponse.bind(e)),e.req.on("error",e.onRequestError.bind(e)),e.req.on("drain",function(){e.emit("drain")}),e.req.on("socket",function(t){var r=t._connecting||t.connecting;if(e.timing&&(e.timings.socket=D()-e.startTimeNow,r)){var n=function(){e.timings.lookup=D()-e.startTimeNow},a=function(){e.timings.connect=D()-e.startTimeNow};t.once("lookup",n),t.once("connect",a),e.req.once("error",function(){t.removeListener("lookup",n),t.removeListener("connect",a)})}var o=function(){e.req.setTimeout(i,function(){if(e.req){e.abort();var t=new Error("ESOCKETTIMEDOUT");t.code="ESOCKETTIMEDOUT",t.connect=!1,e.emit("error",t)}})};if(void 0!==i)if(r){var s=function(){t.removeListener("connect",s),clearTimeout(e.timeoutTimer),e.timeoutTimer=null,o()};t.on("connect",s),e.req.on("error",function(e){t.removeListener("connect",s)}),e.timeoutTimer=setTimeout(function(){t.removeListener("connect",s),e.abort();var r=new Error("ETIMEDOUT");r.code="ETIMEDOUT",r.connect=!0,e.emit("error",r)},i)}else o();e.emit("socket",t)}),e.emit("request",e.req)}},s.prototype.onRequestError=function(e){var t=this;if(!t._aborted){if(t.req&&t.req._reusedSocket&&"ECONNRESET"===e.code&&t.agent.addRequestNoreuse)return t.agent={addRequest:t.agent.addRequestNoreuse.bind(t.agent)},t.start(),void t.req.end();t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null),t.emit("error",e)}},s.prototype.onRequestResponse=function(e){var t=this;if(t.timing&&(t.timings.response=D()-t.startTimeNow),c("onRequestResponse",t.uri.href,e.statusCode,e.headers),e.on("end",function(){t.timing&&(t.timings.end=D()-t.startTimeNow,e.timingStart=t.startTime,t.timings.socket||(t.timings.socket=0),t.timings.lookup||(t.timings.lookup=t.timings.socket),t.timings.connect||(t.timings.connect=t.timings.lookup),t.timings.response||(t.timings.response=t.timings.connect),c("elapsed time",t.timings.end),t.elapsedTime+=Math.round(t.timings.end),e.elapsedTime=t.elapsedTime,e.timings=t.timings,e.timingPhases={wait:t.timings.socket,dns:t.timings.lookup-t.timings.socket,tcp:t.timings.connect-t.timings.lookup,firstByte:t.timings.response-t.timings.connect,download:t.timings.end-t.timings.response,total:t.timings.end}),c("response end",t.uri.href,e.statusCode,e.headers)}),t._aborted)return c("aborted",t.uri.href),void e.resume();if(t.response=e,e.request=t,e.toJSON=o,t.httpModule!==l||!t.strictSSL||e.hasOwnProperty("socket")&&e.socket.authorized){t.originalHost=t.getHeader("host"),t.originalHostHeaderName||(t.originalHostHeaderName=t.hasHeader("host")),t.setHost&&t.removeHeader("host"),t.timeout&&t.timeoutTimer&&(clearTimeout(t.timeoutTimer),t.timeoutTimer=null);var r=t._jar&&t._jar.setCookie?t._jar:V,n=function(e){try{r.setCookie(e,t.uri.href,{ignoreError:!0})}catch(e){t.emit("error",e)}};if(e.caseless=x(e.headers),e.caseless.has("set-cookie")&&!t._disableCookies){var i=e.caseless.has("set-cookie");Array.isArray(e.headers[i])?e.headers[i].forEach(n):n(e.headers[i])}if(!t._redirect.onResponse(e)){e.on("close",function(){t._ended||t.response.emit("end")}),e.once("end",function(){t._ended=!0});var a,s=function(e){return"HEAD"===t.method||e>=100&&e<200||204===e||304===e};if(t.gzip&&!s(e.statusCode)){var u=e.headers["content-encoding"]||"identity";u=u.trim().toLowerCase();var f={flush:d.Z_SYNC_FLUSH,finishFlush:d.Z_SYNC_FLUSH};"gzip"===u?(a=d.createGunzip(f),e.pipe(a)):"deflate"===u?(a=d.createInflate(f),e.pipe(a)):("identity"!==u&&c("ignoring unrecognized Content-Encoding "+u),a=e)}else a=e;t.encoding&&(0!==t.dests.length?console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid."):a.setEncoding?a.setEncoding(t.encoding):a=a.pipe(_(t.encoding))),t._paused&&a.pause(),t.responseContent=a,t.emit("response",e),t.dests.forEach(function(e){t.pipeDest(e)}),a.on("data",function(r){t.timing&&!t.responseStarted&&(t.responseStartTime=(new Date).getTime(),e.responseStartTime=t.responseStartTime),t._destdata=!0,t.emit("data",r)}),a.once("end",function(e){t.emit("end",e)}),a.on("error",function(e){t.emit("error",e)}),a.on("close",function(){t.emit("close")}),t.callback?t.readResponseBody(e):t.on("end",function(){t._aborted?c("aborted",t.uri.href):t.emit("complete",e)}),c("finish init function",t.uri.href)}}else{c("strict ssl error",t.uri.href);var p=e.hasOwnProperty("socket")?e.socket.authorizationError:t.uri.href+" does not support SSL";t.emit("error",new Error("SSL Error: "+p))}},s.prototype.readResponseBody=function(e){var t=this;c("reading response's body");var r=[],n=0,i=[];t.on("data",function(e){q.isBuffer(e)?e.length&&(n+=e.length,r.push(e)):i.push(e)}),t.on("end",function(){if(c("end event",t.uri.href),t._aborted)return c("aborted",t.uri.href),r=[],void(n=0);if(n?(c("has body",t.uri.href,n),e.body=q.concat(r,n),null!==t.encoding&&(e.body=e.body.toString(t.encoding)),r=[],n=0):i.length&&("utf8"===t.encoding&&i[0].length>0&&"\ufeff"===i[0][0]&&(i[0]=i[0].substring(1)),e.body=i.join("")),t._json)try{e.body=JSON.parse(e.body,t._jsonReviver)}catch(e){c("invalid JSON received",t.uri.href)}c("emitting complete",t.uri.href),void 0!==e.body||t._json||(e.body=null===t.encoding?q.alloc(0):""),t.emit("complete",e,e.body)})},s.prototype.abort=function(){var e=this;e._aborted=!0,e.req?e.req.abort():e.response&&e.response.destroy(),e.emit("abort")},s.prototype.pipeDest=function(e){var t=this,r=t.response;if(e.headers&&!e.headersSent){if(r.caseless.has("content-type")){var n=r.caseless.has("content-type");e.setHeader?e.setHeader(n,r.headers[n]):e.headers[n]=r.headers[n]}if(r.caseless.has("content-length")){var i=r.caseless.has("content-length");e.setHeader?e.setHeader(i,r.headers[i]):e.headers[i]=r.headers[i]}}if(e.setHeader&&!e.headersSent){for(var a in r.headers)t.gzip&&"content-encoding"===a||e.setHeader(a,r.headers[a]);e.statusCode=r.statusCode}t.pipefilter&&t.pipefilter(r,e)},s.prototype.qs=function(e,t){var r,n=this;r=!t&&n.uri.query?n._qs.parse(n.uri.query):{};for(var i in e)r[i]=e[i];var a=n._qs.stringify(r);return""===a?n:(n.uri=f.parse(n.uri.href.split("?")[0]+"?"+a),n.url=n.uri,n.path=n.uri.path,"unix"===n.uri.host&&n.enableUnixSocket(),n)},s.prototype.form=function(e){var t=this;return e?(/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))||t.setHeader("content-type","application/x-www-form-urlencoded"),t.body="string"==typeof e?t._qs.rfc3986(e.toString("utf8")):t._qs.stringify(e).toString("utf8"),t):(t._form=new w,t._form.on("error",function(e){e.message="form-data: "+e.message,t.emit("error",e),t.abort()}),t._form)},s.prototype.multipart=function(e){var t=this;return t._multipart.onRequest(e),t._multipart.chunked||(t.body=t._multipart.body),t},s.prototype.json=function(e){var t=this;return t.hasHeader("accept")||t.setHeader("accept","application/json"),"function"==typeof t.jsonReplacer&&(t._jsonReplacer=t.jsonReplacer),t._json=!0,"boolean"==typeof e?void 0!==t.body&&(/^application\/x-www-form-urlencoded\b/.test(t.getHeader("content-type"))?t.body=t._qs.rfc3986(t.body):t.body=M(t.body,t._jsonReplacer),t.hasHeader("content-type")||t.setHeader("content-type","application/json")):(t.body=M(e,t._jsonReplacer),t.hasHeader("content-type")||t.setHeader("content-type","application/json")),"function"==typeof t.jsonReviver&&(t._jsonReviver=t.jsonReviver),t},s.prototype.getHeader=function(e,t){var r,n,i,a=this;return t||(t=a.headers),Object.keys(t).forEach(function(a){a.length===e.length&&(n=new RegExp(e,"i"),(i=a.match(n))&&(r=t[a]))}),r},s.prototype.enableUnixSocket=function(){var e=this.uri.path.split(":"),t=e[0],r=e[1];this.socketPath=t,this.uri.pathname=r,this.uri.path=r,this.uri.host=t,this.uri.hostname=t,this.uri.isUnix=!0},s.prototype.auth=function(e,t,r,n){var i=this;return i._auth.onRequest(e,t,r,n),i},s.prototype.aws=function(e,t){var r=this;if(!t)return r._aws=e,r;if(4===e.sign_version||"4"===e.sign_version){var n={host:r.uri.host,path:r.uri.path,method:r.method,headers:{"content-type":r.getHeader("content-type")||""},body:r.body},i=v.sign(n,{accessKeyId:e.key,secretAccessKey:e.secret,sessionToken:e.session});r.setHeader("authorization",i.headers.Authorization),r.setHeader("x-amz-date",i.headers["X-Amz-Date"]),i.headers["X-Amz-Security-Token"]&&r.setHeader("x-amz-security-token",i.headers["X-Amz-Security-Token"])}else{var a=new Date;r.setHeader("date",a.toUTCString());var o={key:e.key,secret:e.secret,verb:r.method.toUpperCase(),date:a,contentType:r.getHeader("content-type")||"",md5:r.getHeader("content-md5")||"",amazonHeaders:g.canonicalizeHeaders(r.headers)},s=r.uri.path;e.bucket&&s?o.resource="/"+e.bucket+s:e.bucket&&!s?o.resource="/"+e.bucket:!e.bucket&&s?o.resource=s:e.bucket||s||(o.resource="/"),o.resource=g.canonicalizeResource(o.resource),r.setHeader("authorization",g.authorization(o))}return r},s.prototype.httpSignature=function(e){var t=this;return b.signRequest({getHeader:function(e){return t.getHeader(e,t.headers)},setHeader:function(e,r){t.setHeader(e,r)},method:t.method,path:t.path},e),c("httpSignature authorization",t.getHeader("authorization")),t},s.prototype.hawk=function(e){var t=this;t.setHeader("Authorization",m.client.header(t.uri,t.method,e).field)},s.prototype.oauth=function(e){var t=this;return t._oauth.onRequest(e),t},s.prototype.jar=function(e){var t,r=this;if(0===r._redirect.redirectsFollowed&&(r.originalCookieHeader=r.getHeader("cookie")),e){var n=e&&e.getCookieString?e:V,i=r.uri.href;n&&(t=n.getCookieString(i))}else t=!1,r._disableCookies=!0;return t&&t.length&&(r.originalCookieHeader?r.setHeader("cookie",r.originalCookieHeader+"; "+t):r.setHeader("cookie",t)),r._jar=e,r},s.prototype.pipe=function(e,t){var r=this;if(!r.response)return r.dests.push(e),h.Stream.prototype.pipe.call(r,e,t),e;if(r._destdata)r.emit("error",new Error("You cannot pipe after data has been emitted from the response."));else{if(!r._ended)return h.Stream.prototype.pipe.call(r,e,t),r.pipeDest(e),e;r.emit("error",new Error("You cannot pipe after the response has been ended."))}},s.prototype.write=function(){var e=this;if(!e._aborted)return e._started||e.start(),e.req?e.req.write.apply(e.req,arguments):void 0},s.prototype.end=function(e){var t=this;t._aborted||(e&&t.write(e),t._started||t.start(),t.req&&t.req.end())},s.prototype.pause=function(){var e=this;e.responseContent?e.responseContent.pause.apply(e.responseContent,arguments):e._paused=!0},s.prototype.resume=function(){var e=this;e.responseContent?e.responseContent.resume.apply(e.responseContent,arguments):e._paused=!1},s.prototype.destroy=function(){var e=this;e._ended?e.response&&e.response.destroy():e.end()},s.defaultProxyHeaderWhiteList=B.defaultProxyHeaderWhiteList.slice(),s.defaultProxyHeaderExclusiveList=B.defaultProxyHeaderExclusiveList.slice(),s.prototype.toJSON=a,t.exports=s}).call(this,e("_process"))},{"./lib/auth":390,"./lib/cookies":391,"./lib/getProxyFromURI":392,"./lib/har":393,"./lib/helpers":394,"./lib/multipart":395,"./lib/oauth":396,"./lib/querystring":397,"./lib/redirect":398,"./lib/tunnel":399,_process:346,"aws-sign2":78,aws4:79,caseless:155,extend:202,"forever-agent":205,"form-data":206,hawk:242,http:435,"http-signature":244,https:249,"is-typedarray":254,isstream:256,"mime-types":310,"performance-now":344,"safe-buffer":402,stream:434,stringstream:440,url:453,util:458,zlib:150}],401:[function(e,t,r){(function(r){"use strict";function n(){f.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function i(e,t){return e<<t|e>>>32-t}function a(e,t,r,n,a,o,s,c){return i(e+(t^r^n)+o+s|0,c)+a|0}function o(e,t,r,n,a,o,s,c){return i(e+(t&r|~t&n)+o+s|0,c)+a|0}function s(e,t,r,n,a,o,s,c){return i(e+((t|~r)^n)+o+s|0,c)+a|0}function c(e,t,r,n,a,o,s,c){return i(e+(t&n|r&~n)+o+s|0,c)+a|0}function u(e,t,r,n,a,o,s,c){return i(e+(t^(r|~n))+o+s|0,c)+a|0}var l=e("inherits"),f=e("hash-base");l(n,f),n.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,l=this._c,f=this._d,p=this._e;p=a(p,r=a(r,n,l,f,p,e[0],0,11),n,l=i(l,10),f,e[1],0,14),n=a(n=i(n,10),l=a(l,f=a(f,p,r,n,l,e[2],0,15),p,r=i(r,10),n,e[3],0,12),f,p=i(p,10),r,e[4],0,5),f=a(f=i(f,10),p=a(p,r=a(r,n,l,f,p,e[5],0,8),n,l=i(l,10),f,e[6],0,7),r,n=i(n,10),l,e[7],0,9),r=a(r=i(r,10),n=a(n,l=a(l,f,p,r,n,e[8],0,11),f,p=i(p,10),r,e[9],0,13),l,f=i(f,10),p,e[10],0,14),l=a(l=i(l,10),f=a(f,p=a(p,r,n,l,f,e[11],0,15),r,n=i(n,10),l,e[12],0,6),p,r=i(r,10),n,e[13],0,7),p=o(p=i(p,10),r=a(r,n=a(n,l,f,p,r,e[14],0,9),l,f=i(f,10),p,e[15],0,8),n,l=i(l,10),f,e[7],1518500249,7),n=o(n=i(n,10),l=o(l,f=o(f,p,r,n,l,e[4],1518500249,6),p,r=i(r,10),n,e[13],1518500249,8),f,p=i(p,10),r,e[1],1518500249,13),f=o(f=i(f,10),p=o(p,r=o(r,n,l,f,p,e[10],1518500249,11),n,l=i(l,10),f,e[6],1518500249,9),r,n=i(n,10),l,e[15],1518500249,7),r=o(r=i(r,10),n=o(n,l=o(l,f,p,r,n,e[3],1518500249,15),f,p=i(p,10),r,e[12],1518500249,7),l,f=i(f,10),p,e[0],1518500249,12),l=o(l=i(l,10),f=o(f,p=o(p,r,n,l,f,e[9],1518500249,15),r,n=i(n,10),l,e[5],1518500249,9),p,r=i(r,10),n,e[2],1518500249,11),p=o(p=i(p,10),r=o(r,n=o(n,l,f,p,r,e[14],1518500249,7),l,f=i(f,10),p,e[11],1518500249,13),n,l=i(l,10),f,e[8],1518500249,12),n=s(n=i(n,10),l=s(l,f=s(f,p,r,n,l,e[3],1859775393,11),p,r=i(r,10),n,e[10],1859775393,13),f,p=i(p,10),r,e[14],1859775393,6),f=s(f=i(f,10),p=s(p,r=s(r,n,l,f,p,e[4],1859775393,7),n,l=i(l,10),f,e[9],1859775393,14),r,n=i(n,10),l,e[15],1859775393,9),r=s(r=i(r,10),n=s(n,l=s(l,f,p,r,n,e[8],1859775393,13),f,p=i(p,10),r,e[1],1859775393,15),l,f=i(f,10),p,e[2],1859775393,14),l=s(l=i(l,10),f=s(f,p=s(p,r,n,l,f,e[7],1859775393,8),r,n=i(n,10),l,e[0],1859775393,13),p,r=i(r,10),n,e[6],1859775393,6),p=s(p=i(p,10),r=s(r,n=s(n,l,f,p,r,e[13],1859775393,5),l,f=i(f,10),p,e[11],1859775393,12),n,l=i(l,10),f,e[5],1859775393,7),n=c(n=i(n,10),l=c(l,f=s(f,p,r,n,l,e[12],1859775393,5),p,r=i(r,10),n,e[1],2400959708,11),f,p=i(p,10),r,e[9],2400959708,12),f=c(f=i(f,10),p=c(p,r=c(r,n,l,f,p,e[11],2400959708,14),n,l=i(l,10),f,e[10],2400959708,15),r,n=i(n,10),l,e[0],2400959708,14),r=c(r=i(r,10),n=c(n,l=c(l,f,p,r,n,e[8],2400959708,15),f,p=i(p,10),r,e[12],2400959708,9),l,f=i(f,10),p,e[4],2400959708,8),l=c(l=i(l,10),f=c(f,p=c(p,r,n,l,f,e[13],2400959708,9),r,n=i(n,10),l,e[3],2400959708,14),p,r=i(r,10),n,e[7],2400959708,5),p=c(p=i(p,10),r=c(r,n=c(n,l,f,p,r,e[15],2400959708,6),l,f=i(f,10),p,e[14],2400959708,8),n,l=i(l,10),f,e[5],2400959708,6),n=u(n=i(n,10),l=c(l,f=c(f,p,r,n,l,e[6],2400959708,5),p,r=i(r,10),n,e[2],2400959708,12),f,p=i(p,10),r,e[4],2840853838,9),f=u(f=i(f,10),p=u(p,r=u(r,n,l,f,p,e[0],2840853838,15),n,l=i(l,10),f,e[5],2840853838,5),r,n=i(n,10),l,e[9],2840853838,11),r=u(r=i(r,10),n=u(n,l=u(l,f,p,r,n,e[7],2840853838,6),f,p=i(p,10),r,e[12],2840853838,8),l,f=i(f,10),p,e[2],2840853838,13),l=u(l=i(l,10),f=u(f,p=u(p,r,n,l,f,e[10],2840853838,12),r,n=i(n,10),l,e[14],2840853838,5),p,r=i(r,10),n,e[1],2840853838,12),p=u(p=i(p,10),r=u(r,n=u(n,l,f,p,r,e[3],2840853838,13),l,f=i(f,10),p,e[8],2840853838,14),n,l=i(l,10),f,e[11],2840853838,11),n=u(n=i(n,10),l=u(l,f=u(f,p,r,n,l,e[6],2840853838,8),p,r=i(r,10),n,e[15],2840853838,5),f,p=i(p,10),r,e[13],2840853838,6),f=i(f,10);var h=this._a,d=this._b,m=this._c,g=this._d,v=this._e;v=u(v,h=u(h,d,m,g,v,e[5],1352829926,8),d,m=i(m,10),g,e[14],1352829926,9),d=u(d=i(d,10),m=u(m,g=u(g,v,h,d,m,e[7],1352829926,9),v,h=i(h,10),d,e[0],1352829926,11),g,v=i(v,10),h,e[9],1352829926,13),g=u(g=i(g,10),v=u(v,h=u(h,d,m,g,v,e[2],1352829926,15),d,m=i(m,10),g,e[11],1352829926,15),h,d=i(d,10),m,e[4],1352829926,5),h=u(h=i(h,10),d=u(d,m=u(m,g,v,h,d,e[13],1352829926,7),g,v=i(v,10),h,e[6],1352829926,7),m,g=i(g,10),v,e[15],1352829926,8),m=u(m=i(m,10),g=u(g,v=u(v,h,d,m,g,e[8],1352829926,11),h,d=i(d,10),m,e[1],1352829926,14),v,h=i(h,10),d,e[10],1352829926,14),v=c(v=i(v,10),h=u(h,d=u(d,m,g,v,h,e[3],1352829926,12),m,g=i(g,10),v,e[12],1352829926,6),d,m=i(m,10),g,e[6],1548603684,9),d=c(d=i(d,10),m=c(m,g=c(g,v,h,d,m,e[11],1548603684,13),v,h=i(h,10),d,e[3],1548603684,15),g,v=i(v,10),h,e[7],1548603684,7),g=c(g=i(g,10),v=c(v,h=c(h,d,m,g,v,e[0],1548603684,12),d,m=i(m,10),g,e[13],1548603684,8),h,d=i(d,10),m,e[5],1548603684,9),h=c(h=i(h,10),d=c(d,m=c(m,g,v,h,d,e[10],1548603684,11),g,v=i(v,10),h,e[14],1548603684,7),m,g=i(g,10),v,e[15],1548603684,7),m=c(m=i(m,10),g=c(g,v=c(v,h,d,m,g,e[8],1548603684,12),h,d=i(d,10),m,e[12],1548603684,7),v,h=i(h,10),d,e[4],1548603684,6),v=c(v=i(v,10),h=c(h,d=c(d,m,g,v,h,e[9],1548603684,15),m,g=i(g,10),v,e[1],1548603684,13),d,m=i(m,10),g,e[2],1548603684,11),d=s(d=i(d,10),m=s(m,g=s(g,v,h,d,m,e[15],1836072691,9),v,h=i(h,10),d,e[5],1836072691,7),g,v=i(v,10),h,e[1],1836072691,15),g=s(g=i(g,10),v=s(v,h=s(h,d,m,g,v,e[3],1836072691,11),d,m=i(m,10),g,e[7],1836072691,8),h,d=i(d,10),m,e[14],1836072691,6),h=s(h=i(h,10),d=s(d,m=s(m,g,v,h,d,e[6],1836072691,6),g,v=i(v,10),h,e[9],1836072691,14),m,g=i(g,10),v,e[11],1836072691,12),m=s(m=i(m,10),g=s(g,v=s(v,h,d,m,g,e[8],1836072691,13),h,d=i(d,10),m,e[12],1836072691,5),v,h=i(h,10),d,e[2],1836072691,14),v=s(v=i(v,10),h=s(h,d=s(d,m,g,v,h,e[10],1836072691,13),m,g=i(g,10),v,e[0],1836072691,13),d,m=i(m,10),g,e[4],1836072691,7),d=o(d=i(d,10),m=o(m,g=s(g,v,h,d,m,e[13],1836072691,5),v,h=i(h,10),d,e[8],2053994217,15),g,v=i(v,10),h,e[6],2053994217,5),g=o(g=i(g,10),v=o(v,h=o(h,d,m,g,v,e[4],2053994217,8),d,m=i(m,10),g,e[1],2053994217,11),h,d=i(d,10),m,e[3],2053994217,14),h=o(h=i(h,10),d=o(d,m=o(m,g,v,h,d,e[11],2053994217,14),g,v=i(v,10),h,e[15],2053994217,6),m,g=i(g,10),v,e[0],2053994217,14),m=o(m=i(m,10),g=o(g,v=o(v,h,d,m,g,e[5],2053994217,6),h,d=i(d,10),m,e[12],2053994217,9),v,h=i(h,10),d,e[2],2053994217,12),v=o(v=i(v,10),h=o(h,d=o(d,m,g,v,h,e[13],2053994217,9),m,g=i(g,10),v,e[9],2053994217,12),d,m=i(m,10),g,e[7],2053994217,5),d=a(d=i(d,10),m=o(m,g=o(g,v,h,d,m,e[10],2053994217,15),v,h=i(h,10),d,e[14],2053994217,8),g,v=i(v,10),h,e[12],0,8),g=a(g=i(g,10),v=a(v,h=a(h,d,m,g,v,e[15],0,5),d,m=i(m,10),g,e[10],0,12),h,d=i(d,10),m,e[4],0,9),h=a(h=i(h,10),d=a(d,m=a(m,g,v,h,d,e[1],0,12),g,v=i(v,10),h,e[5],0,5),m,g=i(g,10),v,e[8],0,14),m=a(m=i(m,10),g=a(g,v=a(v,h,d,m,g,e[7],0,6),h,d=i(d,10),m,e[6],0,8),v,h=i(h,10),d,e[2],0,13),v=a(v=i(v,10),h=a(h,d=a(d,m,g,v,h,e[13],0,6),m,g=i(g,10),v,e[14],0,5),d,m=i(m,10),g,e[0],0,15),d=a(d=i(d,10),m=a(m,g=a(g,v,h,d,m,e[3],0,13),v,h=i(h,10),d,e[9],0,11),g,v=i(v,10),h,e[11],0,11),g=i(g,10);var b=this._b+l+g|0;this._b=this._c+f+v|0,this._c=this._d+p+h|0,this._d=this._e+r+d|0,this._e=this._a+n+m|0,this._a=b},n.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},t.exports=n}).call(this,e("buffer").Buffer)},{buffer:153,"hash-base":229,inherits:252}],402:[function(e,t,r){function n(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return o(e,t,r)}var a=e("buffer"),o=a.Buffer;o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=a:(n(a,r),r.Buffer=i),n(o,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}},{buffer:153}],403:[function(e,t,r){function n(e,t){this._block=i.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}var i=e("safe-buffer").Buffer;n.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=i.from(e,t));for(var r=this._block,n=this._blockSize,a=e.length,o=this._len,s=0;s<a;){for(var c=o%n,u=Math.min(a-s,n-c),l=0;l<u;l++)r[c+l]=e[s+l];s+=u,(o+=u)%n==0&&this._update(r)}return this._len+=a,this},n.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=4294967295&r,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},n.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=n},{"safe-buffer":402}],404:[function(e,t,r){(r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t}).sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":405,"./sha1":406,"./sha224":407,"./sha256":408,"./sha384":409,"./sha512":410}],405:[function(e,t,r){function n(){this.init(),this._w=f,c.call(this,64,56)}function i(e){return e<<5|e>>>27}function a(e){return e<<30|e>>>2}function o(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var s=e("inherits"),c=e("./hash"),u=e("safe-buffer").Buffer,l=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);s(n,c),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,s=0|this._c,c=0|this._d,u=0|this._e,f=0;f<16;++f)t[f]=e.readInt32BE(4*f);for(;f<80;++f)t[f]=t[f-3]^t[f-8]^t[f-14]^t[f-16];for(var p=0;p<80;++p){var h=~~(p/20),d=i(r)+o(h,n,s,c)+u+t[p]+l[h]|0;u=c,c=s,s=a(n),n=r,r=d}this._a=r+this._a|0,this._b=n+this._b|0,this._c=s+this._c|0,this._d=c+this._d|0,this._e=u+this._e|0},n.prototype._hash=function(){var e=u.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n},{"./hash":403,inherits:252,"safe-buffer":402}],406:[function(e,t,r){function n(){this.init(),this._w=p,u.call(this,64,56)}function i(e){return e<<1|e>>>31}function a(e){return e<<5|e>>>27}function o(e){return e<<30|e>>>2}function s(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}var c=e("inherits"),u=e("./hash"),l=e("safe-buffer").Buffer,f=[1518500249,1859775393,-1894007588,-899497514],p=new Array(80);c(n,u),n.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},n.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,c=0|this._c,u=0|this._d,l=0|this._e,p=0;p<16;++p)t[p]=e.readInt32BE(4*p);for(;p<80;++p)t[p]=i(t[p-3]^t[p-8]^t[p-14]^t[p-16]);for(var h=0;h<80;++h){var d=~~(h/20),m=a(r)+s(d,n,c,u)+l+t[h]+f[d]|0;l=u,u=c,c=o(n),n=r,r=m}this._a=r+this._a|0,this._b=n+this._b|0,this._c=c+this._c|0,this._d=u+this._d|0,this._e=l+this._e|0},n.prototype._hash=function(){var e=l.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=n},{"./hash":403,inherits:252,"safe-buffer":402}],407:[function(e,t,r){function n(){this.init(),this._w=c,o.call(this,64,56)}var i=e("inherits"),a=e("./sha256"),o=e("./hash"),s=e("safe-buffer").Buffer,c=new Array(64);i(n,a),n.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},n.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=n},{"./hash":403,"./sha256":408,inherits:252,"safe-buffer":402}],408:[function(e,t,r){function n(){this.init(),this._w=d,f.call(this,64,56)}function i(e,t,r){return r^e&(t^r)}function a(e,t,r){return e&t|r&(e|t)}function o(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function s(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function c(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function u(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}var l=e("inherits"),f=e("./hash"),p=e("safe-buffer").Buffer,h=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],d=new Array(64);l(n,f),n.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},n.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,l=0|this._c,f=0|this._d,p=0|this._e,d=0|this._f,m=0|this._g,g=0|this._h,v=0;v<16;++v)t[v]=e.readInt32BE(4*v);for(;v<64;++v)t[v]=u(t[v-2])+t[v-7]+c(t[v-15])+t[v-16]|0;for(var b=0;b<64;++b){var y=g+s(p)+i(p,d,m)+h[b]+t[b]|0,_=o(r)+a(r,n,l)|0;g=m,m=d,d=p,p=f+y|0,f=l,l=n,n=r,r=y+_|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=l+this._c|0,this._d=f+this._d|0,this._e=p+this._e|0,this._f=d+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},n.prototype._hash=function(){var e=p.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=n},{"./hash":403,inherits:252,"safe-buffer":402}],409:[function(e,t,r){function n(){this.init(),this._w=c,o.call(this,128,112)}var i=e("inherits"),a=e("./sha512"),o=e("./hash"),s=e("safe-buffer").Buffer,c=new Array(160);i(n,a),n.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},n.prototype._hash=function(){function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=s.allocUnsafe(48);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=n},{"./hash":403,"./sha512":410,inherits:252,"safe-buffer":402}],410:[function(e,t,r){function n(){this.init(),this._w=v,d.call(this,128,112)}function i(e,t,r){return r^e&(t^r)}function a(e,t,r){return e&t|r&(e|t)}function o(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function s(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function c(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function u(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function l(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function f(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function p(e,t){return e>>>0<t>>>0?1:0}var h=e("inherits"),d=e("./hash"),m=e("safe-buffer").Buffer,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],v=new Array(160);h(n,d),n.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},n.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,h=0|this._ch,d=0|this._dh,m=0|this._eh,v=0|this._fh,b=0|this._gh,y=0|this._hh,_=0|this._al,x=0|this._bl,k=0|this._cl,w=0|this._dl,j=0|this._el,S=0|this._fl,E=0|this._gl,A=0|this._hl,F=0;F<32;F+=2)t[F]=e.readInt32BE(4*F),t[F+1]=e.readInt32BE(4*F+4);for(;F<160;F+=2){var I=t[F-30],O=t[F-30+1],P=c(I,O),T=u(O,I),C=l(I=t[F-4],O=t[F-4+1]),z=f(O,I),R=t[F-14],B=t[F-14+1],D=t[F-32],q=t[F-32+1],M=T+B|0,L=P+R+p(M,T)|0;L=(L=L+C+p(M=M+z|0,z)|0)+D+p(M=M+q|0,q)|0,t[F]=L,t[F+1]=M}for(var N=0;N<160;N+=2){L=t[N],M=t[N+1];var U=a(r,n,h),$=a(_,x,k),H=o(r,_),V=o(_,r),K=s(m,j),Q=s(j,m),G=g[N],Z=g[N+1],J=i(m,v,b),W=i(j,S,E),X=A+Q|0,Y=y+K+p(X,A)|0;Y=(Y=(Y=Y+J+p(X=X+W|0,W)|0)+G+p(X=X+Z|0,Z)|0)+L+p(X=X+M|0,M)|0;var ee=V+$|0,te=H+U+p(ee,V)|0;y=b,A=E,b=v,E=S,v=m,S=j,m=d+Y+p(j=w+X|0,w)|0,d=h,w=k,h=n,k=x,n=r,x=_,r=Y+te+p(_=X+ee|0,X)|0}this._al=this._al+_|0,this._bl=this._bl+x|0,this._cl=this._cl+k|0,this._dl=this._dl+w|0,this._el=this._el+j|0,this._fl=this._fl+S|0,this._gl=this._gl+E|0,this._hl=this._hl+A|0,this._ah=this._ah+r+p(this._al,_)|0,this._bh=this._bh+n+p(this._bl,x)|0,this._ch=this._ch+h+p(this._cl,k)|0,this._dh=this._dh+d+p(this._dl,w)|0,this._eh=this._eh+m+p(this._el,j)|0,this._fh=this._fh+v+p(this._fl,S)|0,this._gh=this._gh+b+p(this._gl,E)|0,this._hh=this._hh+y+p(this._hl,A)|0},n.prototype._hash=function(){function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}var t=m.allocUnsafe(64);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=n},{"./hash":403,inherits:252,"safe-buffer":402}],411:[function(e,t,r){(function(e){var r={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["R"],normalize:!1,sizePart:"R"}};r.curve25519=r.ed25519;var n={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["R","r"],normalize:!1}};n.curve25519=n.ed25519;var i={md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},a={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:new e("00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff".replace(/ /g,""),"hex"),a:new e("00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:new e("5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b".replace(/ /g,""),"hex"),s:new e("00c49d3608 86e70493 6a6678e1 139d26b7819f7e90".replace(/ /g,""),"hex"),n:new e("00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551".replace(/ /g,""),"hex"),G:new e("046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5".replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:new e("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff".replace(/ /g,""),"hex"),a:new e("00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC".replace(/ /g,""),"hex"),b:new e("b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef".replace(/ /g,""),"hex"),s:new e("00a335926a a319a27a 1d00896a 6773a4827acdac73".replace(/ /g,""),"hex"),n:new e("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973".replace(/ /g,""),"hex"),G:new e("04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f".replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:new e("01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff".replace(/ /g,""),"hex"),a:new e("01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:new e("51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00".replace(/ /g,""),"hex"),s:new e("00d09e8800 291cb853 96cc6717 393284aaa0da64ba".replace(/ /g,""),"hex"),n:new e("01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409".replace(/ /g,""),"hex"),G:new e("0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650".replace(/ /g,""),"hex")}};t.exports={info:r,privInfo:n,hashAlgs:i,curves:a}}).call(this,e("buffer").Buffer)},{buffer:153}],412:[function(e,t,r){(function(r){function n(e){i.object(e,"options"),i.arrayOfObject(e.subjects,"options.subjects"),u.assertCompatible(e.subjects[0],p,[1,0],"options.subjects"),u.assertCompatible(e.subjectKey,l,[1,0],"options.subjectKey"),u.assertCompatible(e.issuer,p,[1,0],"options.issuer"),void 0!==e.issuerKey&&u.assertCompatible(e.issuerKey,l,[1,0],"options.issuerKey"),i.object(e.signatures,"options.signatures"),i.buffer(e.serial,"options.serial"),i.date(e.validFrom,"options.validFrom"),i.date(e.validUntil,"optons.validUntil"),i.optionalArrayOfString(e.purposes,"options.purposes"),this._hashCache={},this.subjects=e.subjects,this.issuer=e.issuer,this.subjectKey=e.subjectKey,this.issuerKey=e.issuerKey,this.signatures=e.signatures,this.serial=e.serial,this.validFrom=e.validFrom,this.validUntil=e.validUntil,this.purposes=e.purposes}t.exports=n;var i=e("assert-plus"),a=e("./algs"),o=e("crypto"),s=e("./fingerprint"),c=(e("./signature"),e("./errors")),u=(e("util"),e("./utils")),l=e("./key"),f=e("./private-key"),p=e("./identity"),h={};h.openssh=e("./formats/openssh-cert"),h.x509=e("./formats/x509"),h.pem=e("./formats/x509-pem");var d=c.CertificateParseError,m=c.InvalidAlgorithmError;n.formats=h,n.prototype.toBuffer=function(e,t){return void 0===e&&(e="x509"),i.string(e,"format"),i.object(h[e],"formats[format]"),i.optionalObject(t,"options"),h[e].write(this,t)},n.prototype.toString=function(e,t){return void 0===e&&(e="pem"),this.toBuffer(e,t).toString()},n.prototype.fingerprint=function(e){void 0===e&&(e="sha256"),i.string(e,"algorithm");var t={type:"certificate",hash:this.hash(e),algorithm:e};return new s(t)},n.prototype.hash=function(e){if(i.string(e,"algorithm"),e=e.toLowerCase(),void 0===a.hashAlgs[e])throw new m(e);if(this._hashCache[e])return this._hashCache[e];var t=o.createHash(e).update(this.toBuffer("x509")).digest();return this._hashCache[e]=t,t},n.prototype.isExpired=function(e){return void 0===e&&(e=new Date),!(e.getTime()>=this.validFrom.getTime()&&e.getTime()<this.validUntil.getTime())},n.prototype.isSignedBy=function(e){return u.assertCompatible(e,n,[1,0],"issuer"),!!this.issuer.equals(e.subjects[0])&&(!(this.issuer.purposes&&this.issuer.purposes.length>0&&-1===this.issuer.purposes.indexOf("ca"))&&this.isSignedByKey(e.subjectKey))},n.prototype.isSignedByKey=function(e){if(u.assertCompatible(e,l,[1,2],"issuerKey"),void 0!==this.issuerKey)return this.issuerKey.fingerprint("sha512").matches(e);var t=Object.keys(this.signatures)[0],r=h[t].verify(this,e);return r&&(this.issuerKey=e),r},n.prototype.signWith=function(e){u.assertCompatible(e,f,[1,2],"key");for(var t=Object.keys(h),r=!1,n=0;n<t.length;++n)"pem"!==t[n]&&!0===h[t[n]].sign(this,e)&&(r=!0);if(!r)throw new Error("Failed to sign the certificate for any available certificate formats")},n.createSelfSigned=function(e,t,a){var o;o=Array.isArray(e)?e:[e],i.arrayOfObject(o),o.forEach(function(e){u.assertCompatible(e,p,[1,0],"subject")}),u.assertCompatible(t,f,[1,2],"private key"),i.optionalObject(a,"options"),void 0===a&&(a={}),i.optionalObject(a.validFrom,"options.validFrom"),i.optionalObject(a.validUntil,"options.validUntil");var s=a.validFrom,c=a.validUntil;if(void 0===s&&(s=new Date),void 0===c){i.optionalNumber(a.lifetime,"options.lifetime");var l=a.lifetime;void 0===l&&(l=31536e4),(c=new Date).setTime(c.getTime()+1e3*l)}i.optionalBuffer(a.serial,"options.serial");var h=a.serial;void 0===h&&(h=new r("0000000000000001","hex"));var d=a.purposes;if(void 0===d&&(d=[]),-1===d.indexOf("signature")&&d.push("signature"),-1===d.indexOf("ca")&&d.push("ca"),-1===d.indexOf("crl")&&d.push("crl"),d.length<=3){var m=o.filter(function(e){return"host"===e.type}),g=o.filter(function(e){return"user"===e.type});m.length>0&&-1===d.indexOf("serverAuth")&&d.push("serverAuth"),g.length>0&&-1===d.indexOf("clientAuth")&&d.push("clientAuth"),(g.length>0||m.length>0)&&(-1===d.indexOf("keyAgreement")&&d.push("keyAgreement"),"rsa"===t.type&&-1===d.indexOf("encryption")&&d.push("encryption"))}var v=new n({subjects:o,issuer:o[0],subjectKey:t.toPublic(),issuerKey:t.toPublic(),signatures:{},serial:h,validFrom:s,validUntil:c,purposes:d});return v.signWith(t),v},n.create=function(e,t,a,o,s){var c;c=Array.isArray(e)?e:[e],i.arrayOfObject(c),c.forEach(function(e){u.assertCompatible(e,p,[1,0],"subject")}),u.assertCompatible(t,l,[1,0],"key"),f.isPrivateKey(t)&&(t=t.toPublic()),u.assertCompatible(a,p,[1,0],"issuer"),u.assertCompatible(o,f,[1,2],"issuer key"),i.optionalObject(s,"options"),void 0===s&&(s={}),i.optionalObject(s.validFrom,"options.validFrom"),i.optionalObject(s.validUntil,"options.validUntil");var h=s.validFrom,d=s.validUntil;if(void 0===h&&(h=new Date),void 0===d){i.optionalNumber(s.lifetime,"options.lifetime");var m=s.lifetime;void 0===m&&(m=31536e4),(d=new Date).setTime(d.getTime()+1e3*m)}i.optionalBuffer(s.serial,"options.serial");var g=s.serial;void 0===g&&(g=new r("0000000000000001","hex"));var v=s.purposes;void 0===v&&(v=[]),-1===v.indexOf("signature")&&v.push("signature"),!0===s.ca&&(-1===v.indexOf("ca")&&v.push("ca"),-1===v.indexOf("crl")&&v.push("crl"));var b=c.filter(function(e){return"host"===e.type}),y=c.filter(function(e){return"user"===e.type});b.length>0&&-1===v.indexOf("serverAuth")&&v.push("serverAuth"),y.length>0&&-1===v.indexOf("clientAuth")&&v.push("clientAuth"),(y.length>0||b.length>0)&&(-1===v.indexOf("keyAgreement")&&v.push("keyAgreement"),"rsa"===t.type&&-1===v.indexOf("encryption")&&v.push("encryption"));var _=new n({subjects:c,issuer:a,subjectKey:t,issuerKey:o.toPublic(),signatures:{},serial:g,validFrom:h,validUntil:d,purposes:v});return _.signWith(o),_},n.parse=function(e,t,r){"string"!=typeof e&&i.buffer(e,"data"),void 0===t&&(t="auto"),i.string(t,"format"),"string"==typeof r&&(r={filename:r}),i.optionalObject(r,"options"),void 0===r&&(r={}),i.optionalString(r.filename,"options.filename"),void 0===r.filename&&(r.filename="(unnamed)"),i.object(h[t],"formats[format]");try{return h[t].read(e,r)}catch(e){throw new d(r.filename,t,e)}},n.isCertificate=function(e,t){return u.isCompatible(e,n,t)},n.prototype._sshpkApiVersion=[1,0],n._oldVersionDetect=function(e){return[1,0]}}).call(this,e("buffer").Buffer)},{"./algs":411,"./errors":415,"./fingerprint":416,"./formats/openssh-cert":418,"./formats/x509":426,"./formats/x509-pem":425,"./identity":427,"./key":429,"./private-key":430,"./signature":431,"./utils":433,"assert-plus":76,buffer:153,crypto:167,util:458}],413:[function(e,t,r){(function(r){function n(t){if(d.assertCompatible(t,m,[1,4],"key"),this._isPriv=g.isPrivateKey(t,[1,3]),this._algo=t.type,this._curve=t.curve,this._key=t,"dsa"===t.type){if(!v)throw new Error("Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH");this._dh=p.createDiffieHellman(t.part.p.data,void 0,t.part.g.data,void 0),this._p=t.part.p,this._g=t.part.g,this._isPriv&&this._dh.setPrivateKey(t.part.x.data),this._dh.setPublicKey(t.part.y.data)}else if("ecdsa"===t.type){if(!v)return void 0===c&&(c=e("ecc-jsbn")),void 0===u&&(u=e("ecc-jsbn/lib/ec")),void 0===l&&(l=e("jsbn").BigInteger),this._ecParams=new i(this._curve),void(this._isPriv&&(this._priv=new o(this._ecParams,t.part.d.data)));var r={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[t.curve];if(this._dh=p.createECDH(r),"object"!=typeof this._dh||"function"!=typeof this._dh.setPrivateKey)return v=!1,void n.call(this,t);this._isPriv&&this._dh.setPrivateKey(t.part.d.data),this._dh.setPublicKey(t.part.Q.data)}else{if("curve25519"!==t.type)throw new Error("DH not supported for "+t.type+" keys");void 0===s&&(s=e("tweetnacl")),this._isPriv&&(this._priv=t.part.r.data)}}function i(e){var t=h.curves[e];f.object(t);var r=new l(t.p),n=new l(t.a),i=new l(t.b),a=new l(t.n),o=l.ONE,s=new u.ECCurveFp(r,n,i),c=s.decodePointHex(t.G.toString("hex"));this.curve=s,this.g=c,this.n=a,this.h=o}function a(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getCurve().decodePointHex(t.toString("hex"))}function o(e,t){this._params=e,this._priv=new l(d.mpNormalize(t))}t.exports={DiffieHellman:n,generateECDSA:function(t){var n=[];if(v){var a={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[t],o=p.createECDH(a);return o.generateKeys(),n.push({name:"curve",data:new r(t)}),n.push({name:"Q",data:o.getPublicKey()}),n.push({name:"d",data:o.getPrivateKey()}),new g({type:"ecdsa",curve:t,parts:n})}void 0===c&&(c=e("ecc-jsbn")),void 0===u&&(u=e("ecc-jsbn/lib/ec")),void 0===l&&(l=e("jsbn").BigInteger);var s=new i(t),f=s.getN(),h=Math.ceil((f.bitLength()+64)/8),d=new l(p.randomBytes(h)),m=f.subtract(l.ONE),b=d.mod(m).add(l.ONE),y=s.getG().multiply(b);return b=new r(b.toByteArray()),y=new r(s.getCurve().encodePointHex(y),"hex"),n.push({name:"curve",data:new r(t)}),n.push({name:"Q",data:y}),n.push({name:"d",data:b}),new g({type:"ecdsa",curve:t,parts:n})},generateED25519:function(){void 0===s&&(s=e("tweetnacl"));var t=s.sign.keyPair(),n=new r(t.secretKey),i=new r(t.publicKey);f.strictEqual(n.length,64),f.strictEqual(i.length,32);var a=[];return a.push({name:"R",data:i}),a.push({name:"r",data:n}),new g({type:"ed25519",parts:a})}};var s,c,u,l,f=e("assert-plus"),p=e("crypto"),h=e("./algs"),d=e("./utils"),m=e("./key"),g=e("./private-key"),v=void 0!==p.createECDH;n.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},n.prototype.getPrivateKey=function(){return this._isPriv?this._key:void 0},n.prototype.getKey=n.prototype.getPrivateKey,n.prototype._keyCheck=function(e,t){if(f.object(e,"key"),t||d.assertCompatible(e,g,[1,3],"key"),d.assertCompatible(e,m,[1,4],"key"),e.type!==this._algo)throw new Error("A "+e.type+" key cannot be used in "+this._algo+" Diffie-Hellman");if(e.curve!==this._curve)throw new Error("A key from the "+e.curve+" curve cannot be used with a "+this._curve+" Diffie-Hellman");"dsa"===e.type&&(f.deepEqual(e.part.p,this._p,"DSA key prime does not match"),f.deepEqual(e.part.g,this._g,"DSA key generator does not match"))},n.prototype.setKey=function(e){this._keyCheck(e),"dsa"===e.type?(this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)):"ecdsa"===e.type?v?(this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)):this._priv=new o(this._ecParams,e.part.d.data):"curve25519"===e.type&&(this._priv=e.part.r.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)),this._key=e,this._isPriv=!0},n.prototype.setPrivateKey=n.prototype.setKey,n.prototype.computeSecret=function(e){if(this._keyCheck(e,!0),!this._isPriv)throw new Error("DH exchange has not been initialized with a private key yet");var t;if("dsa"===this._algo)return this._dh.computeSecret(e.part.y.data);if("ecdsa"===this._algo)return v?this._dh.computeSecret(e.part.Q.data):(t=new a(this._ecParams,e.part.Q.data),this._priv.deriveSharedSecret(t));if("curve25519"===this._algo){for(t=e.part.R.data;0===t[0]&&t.length>32;)t=t.slice(1);f.strictEqual(t.length,32),f.strictEqual(this._priv.length,64);var n=this._priv.slice(0,32),i=s.box.before(new Uint8Array(t),new Uint8Array(n));return new r(i)}throw new Error("Invalid algorithm: "+this._algo)},n.prototype.generateKey=function(){var e,t,n=[];if("dsa"===this._algo)return this._dh.generateKeys(),n.push({name:"p",data:this._p.data}),n.push({name:"q",data:this._key.part.q.data}),n.push({name:"g",data:this._g.data}),n.push({name:"y",data:this._dh.getPublicKey()}),n.push({name:"x",data:this._dh.getPrivateKey()}),this._key=new g({type:"dsa",parts:n}),this._isPriv=!0,this._key;if("ecdsa"===this._algo){if(v)return this._dh.generateKeys(),n.push({name:"curve",data:new r(this._curve)}),n.push({name:"Q",data:this._dh.getPublicKey()}),n.push({name:"d",data:this._dh.getPrivateKey()}),this._key=new g({type:"ecdsa",curve:this._curve,parts:n}),this._isPriv=!0,this._key;var i=this._ecParams.getN(),a=new l(p.randomBytes(i.bitLength())),c=i.subtract(l.ONE);return e=a.mod(c).add(l.ONE),t=this._ecParams.getG().multiply(e),e=new r(e.toByteArray()),t=new r(this._ecParams.getCurve().encodePointHex(t),"hex"),this._priv=new o(this._ecParams,e),n.push({name:"curve",data:new r(this._curve)}),n.push({name:"Q",data:t}),n.push({name:"d",data:e}),this._key=new g({type:"ecdsa",curve:this._curve,parts:n}),this._isPriv=!0,this._key}if("curve25519"===this._algo){var u=s.box.keyPair();return e=new r(u.secretKey),t=new r(u.publicKey),e=r.concat([e,t]),f.strictEqual(e.length,64),f.strictEqual(t.length,32),n.push({name:"R",data:t}),n.push({name:"r",data:e}),this._key=new g({type:"curve25519",parts:n}),this._isPriv=!0,this._key}throw new Error("Invalid algorithm: "+this._algo)},n.prototype.generateKeys=n.prototype.generateKey,i.prototype.getCurve=function(){return this.curve},i.prototype.getG=function(){return this.g},i.prototype.getN=function(){return this.n},i.prototype.getH=function(){return this.h},o.prototype.deriveSharedSecret=function(e){f.ok(e instanceof a);var t=e._pub.multiply(this._priv);return new r(t.getX().toBigInteger().toByteArray())}}).call(this,e("buffer").Buffer)},{"./algs":411,"./key":429,"./private-key":430,"./utils":433,"assert-plus":76,buffer:153,crypto:167,"ecc-jsbn":179,"ecc-jsbn/lib/ec":180,jsbn:257,tweetnacl:452}],414:[function(e,t,r){(function(r){function n(t,r){if(void 0===a&&(a=e("tweetnacl")),"sha512"!==r.toLowerCase())throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=t,this.chunks=[],o.Writable.call(this,{})}function i(t,r){if(void 0===a&&(a=e("tweetnacl")),"sha512"!==r.toLowerCase())throw new Error("ED25519 only supports the use of SHA-512 hashes");this.key=t,this.chunks=[],o.Writable.call(this,{})}t.exports={Verifier:n,Signer:i};var a,o=e("stream"),s=e("util"),c=e("assert-plus"),u=e("./signature");s.inherits(n,o.Writable),n.prototype._write=function(e,t,r){this.chunks.push(e),r()},n.prototype.update=function(e){"string"==typeof e&&(e=new r(e,"binary")),this.chunks.push(e)},n.prototype.verify=function(e,t){var n;if(u.isSignature(e,[2,0])){if("ed25519"!==e.type)return!1;n=e.toBuffer("raw")}else if("string"==typeof e)n=new r(e,"base64");else if(u.isSignature(e,[1,0]))throw new Error("signature was created by too old a version of sshpk and cannot be verified");return c.buffer(n),a.sign.detached.verify(new Uint8Array(r.concat(this.chunks)),new Uint8Array(n),new Uint8Array(this.key.part.R.data))},s.inherits(i,o.Writable),i.prototype._write=function(e,t,r){this.chunks.push(e),r()},i.prototype.update=function(e){"string"==typeof e&&(e=new r(e,"binary")),this.chunks.push(e)},i.prototype.sign=function(){var e=a.sign.detached(new Uint8Array(r.concat(this.chunks)),new Uint8Array(this.key.part.r.data)),t=new r(e),n=u.parse(t,"ed25519","raw");return n.hashAlgorithm="sha512",n}}).call(this,e("buffer").Buffer)},{"./signature":431,"assert-plus":76,buffer:153,stream:434,tweetnacl:452,util:458}],415:[function(e,t,r){function n(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,n),this.name="FingerprintFormatError",this.fingerprint=e,this.format=t,this.message="Fingerprint format is not supported, or is invalid: ",void 0!==e&&(this.message+=" fingerprint = "+e),void 0!==t&&(this.message+=" format = "+t)}function i(e){Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name="InvalidAlgorithmError",this.algorithm=e,this.message='Algorithm "'+e+'" is not supported'}function a(e,t,r){Error.captureStackTrace&&Error.captureStackTrace(this,a),this.name="KeyParseError",this.format=t,this.keyName=e,this.innerErr=r,this.message="Failed to parse "+e+" as a valid "+t+" format key: "+r.message}function o(e,t,r){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name="SignatureParseError",this.type=e,this.format=t,this.innerErr=r,this.message="Failed to parse the given data as a "+e+" signature in "+t+" format: "+r.message}function s(e,t,r){Error.captureStackTrace&&Error.captureStackTrace(this,s),this.name="CertificateParseError",this.format=t,this.certName=e,this.innerErr=r,this.message="Failed to parse "+e+" as a valid "+t+" format certificate: "+r.message}function c(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,c),this.name="KeyEncryptedError",this.format=t,this.keyName=e,this.message="The "+t+" format key "+e+" is encrypted (password-protected), and no passphrase was provided in `options`"}e("assert-plus");var u=e("util");u.inherits(n,Error),u.inherits(i,Error),u.inherits(a,Error),u.inherits(o,Error),u.inherits(s,Error),u.inherits(c,Error),t.exports={FingerprintFormatError:n,InvalidAlgorithmError:i,KeyParseError:a,SignatureParseError:o,KeyEncryptedError:c,CertificateParseError:s}},{"assert-plus":76,util:458}],416:[function(e,t,r){(function(r){function n(e){if(s.object(e,"options"),s.string(e.type,"options.type"),s.buffer(e.hash,"options.hash"),s.string(e.algorithm,"options.algorithm"),this.algorithm=e.algorithm.toLowerCase(),!0!==c.hashAlgs[this.algorithm])throw new m(this.algorithm);this.hash=e.hash,this.type=e.type}function i(e){return e.replace(/(.{2})(?=.)/g,"$1:")}function a(e){return e.replace(/=*$/,"")}function o(e,t){return e.toUpperCase()+":"+a(t)}t.exports=n;var s=e("assert-plus"),c=e("./algs"),u=e("crypto"),l=e("./errors"),f=e("./key"),p=e("./certificate"),h=e("./utils"),d=l.FingerprintFormatError,m=l.InvalidAlgorithmError;n.prototype.toString=function(e){switch(void 0===e&&(e="md5"===this.algorithm?"hex":"base64"),s.string(e),e){case"hex":return i(this.hash.toString("hex"));case"base64":return o(this.algorithm,this.hash.toString("base64"));default:throw new d(void 0,e)}},n.prototype.matches=function(e){s.object(e,"key or certificate"),"key"===this.type?h.assertCompatible(e,f,[1,0],"key"):h.assertCompatible(e,p,[1,0],"certificate");var t=e.hash(this.algorithm),r=u.createHash(this.algorithm).update(t).digest("base64");return void 0===this.hash2&&(this.hash2=u.createHash(this.algorithm).update(this.hash).digest("base64")),this.hash2===r},n.parse=function(e,t){s.string(e,"fingerprint");var i,a,o;Array.isArray(t)&&(o=t,t={}),s.optionalObject(t,"options"),void 0===t&&(t={}),void 0!==t.enAlgs&&(o=t.enAlgs),s.optionalArrayOfString(o,"algorithms");var u=e.split(":");if(2==u.length){if(i=u[0].toLowerCase(),!/^[A-Za-z0-9+\/=]+$/.test(u[1]))throw new d(e);try{a=new r(u[1],"base64")}catch(t){throw new d(e)}}else if(u.length>2){if(i="md5","md5"===u[0].toLowerCase()&&(u=u.slice(1)),u=u.join(""),!/^[a-fA-F0-9]+$/.test(u))throw new d(e);try{a=new r(u,"hex")}catch(t){throw new d(e)}}if(void 0===i)throw new d(e);if(void 0===c.hashAlgs[i])throw new m(i);if(void 0!==o&&-1===(o=o.map(function(e){return e.toLowerCase()})).indexOf(i))throw new m(i);return new n({algorithm:i,hash:a,type:t.type||"key"})},n.isFingerprint=function(e,t){return h.isCompatible(e,n,t)},n.prototype._sshpkApiVersion=[1,1],n._oldVersionDetect=function(e){return s.func(e.toString),s.func(e.matches),[1,0]}}).call(this,e("buffer").Buffer)},{"./algs":411,"./certificate":412,"./errors":415,"./key":429,"./utils":433,"assert-plus":76,buffer:153,crypto:167}],417:[function(e,t,r){(function(r){function n(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]||9===e[t]);)++t;return t+4<=e.length&&"ssh-"===e.slice(t,t+4).toString("ascii")||t+6<=e.length&&"ecdsa-"===e.slice(t,t+6).toString("ascii")}function i(e){for(var t=0;t<e.length&&(32===e[t]||10===e[t]);)++t;if(45!==e[t])return!1;for(;t<e.length&&45===e[t];)++t;for(;t<e.length&&32===e[t];)++t;return!(t+5>e.length||"BEGIN"!==e.slice(t,t+5).toString("ascii"))}t.exports={read:function(e,t){if("string"==typeof e){if(e.trim().match(/^[-]+[ ]*BEGIN/))return o.read(e,t);if(e.match(/^\s*ssh-[a-z]/))return s.read(e,t);if(e.match(/^\s*ecdsa-/))return s.read(e,t);e=new r(e,"binary")}else{if(a.buffer(e),i(e))return o.read(e,t);if(n(e))return s.read(e,t)}if(e.readUInt32BE(0)<e.length)return c.read(e,t);throw new Error("Failed to auto-detect format of key")},write:function(e,t){throw new Error('"auto" format cannot be used for writing')}};var a=e("assert-plus"),o=(e("../utils"),e("../key"),e("../private-key"),e("./pem")),s=e("./ssh"),c=e("./rfc4253")}).call(this,e("buffer").Buffer)},{"../key":429,"../private-key":430,"../utils":433,"./pem":419,"./rfc4253":422,"./ssh":424,"assert-plus":76,buffer:153}],418:[function(e,t,r){(function(r){function n(e,t,r){var n=new l({buffer:e}),a=n.readString();if(void 0!==t&&a!==t)throw new Error("SSH certificate algorithm mismatch");void 0===t&&(t=a);var o={};o.signatures={},o.signatures.openssh={},o.signatures.openssh.nonce=n.readBuffer();var c={},f=c.parts=[];c.type=s(t);for(var x=p.info[c.type].parts.length;f.length<x;)f.push(n.readPart());u.ok(f.length>=1,"key must have at least one part");var k=p.info[c.type];if("ecdsa"===c.type){var w=_.exec(t);u.ok(null!==w),u.strictEqual(w[1],f[0].data.toString())}for(var j=0;j<k.parts.length;++j)if(f[j].name=k.parts[j],"curve"!==f[j].name&&!1!==k.normalize){var S=f[j];S.data=v.mpNormalize(S.data)}o.subjectKey=new h(c),o.serial=n.readInt64();var E=y[n.readInt()];u.string(E,"valid cert type"),o.signatures.openssh.keyId=n.readString();for(var A=[],F=n.readBuffer(),I=new l({buffer:F});!I.atEnd();)A.push(I.readString());0===A.length&&(A=["*"]),o.subjects=A.map(function(e){if("user"===E)return d.forUser(e);if("host"===E)return d.forHost(e);throw new Error("Unknown identity type "+E)}),o.validFrom=i(n.readInt64()),o.validUntil=i(n.readInt64()),o.signatures.openssh.critical=n.readBuffer(),o.signatures.openssh.exts=n.readBuffer(),n.readBuffer();var O=n.readBuffer();o.issuerKey=m.read(O),o.issuer=d.forHost("**");var P=n.readBuffer();return o.signatures.openssh.signature=g.parse(P,o.issuerKey.type,"ssh"),void 0!==r&&(r.remainder=n.remainder(),r.consumed=n._offset),new b(o)}function i(e){var t=4294967296*e.readUInt32BE(0);t+=e.readUInt32BE(4);var r=new Date;return r.setTime(1e3*t),r.sourceInt64=e,r}function a(e){if(void 0!==e.sourceInt64)return e.sourceInt64;var t=Math.round(e.getTime()/1e3),n=Math.floor(t/4294967296),i=Math.floor(t%4294967296),a=new r(8);return a.writeUInt32BE(n,0),a.writeUInt32BE(i,4),a}function o(e,t){u.object(e.signatures.openssh,"signature for openssh format");var n=e.signatures.openssh;void 0===n.nonce&&(n.nonce=f.randomBytes(16));var i=new l({});i.writeString(c(e.subjectKey)),i.writeBuffer(n.nonce);var o=e.subjectKey;p.info[o.type].parts.forEach(function(e){i.writePart(o.part[e])}),i.writeInt64(e.serial);var s=e.subjects[0].type;u.notStrictEqual(s,"unknown"),e.subjects.forEach(function(e){u.strictEqual(e.type,s)}),s=y[s],i.writeInt(s),void 0===n.keyId&&(n.keyId=e.subjects[0].type+"_"+(e.subjects[0].uid||e.subjects[0].hostname)),i.writeString(n.keyId);var h=new l({});return e.subjects.forEach(function(e){s===y.host?h.writeString(e.hostname):s===y.user&&h.writeString(e.uid)}),i.writeBuffer(h.toBuffer()),i.writeInt64(a(e.validFrom)),i.writeInt64(a(e.validUntil)),void 0===n.critical&&(n.critical=new r(0)),i.writeBuffer(n.critical),void 0===n.exts&&(n.exts=new r(0)),i.writeBuffer(n.exts),i.writeBuffer(new r(0)),h=m.write(e.issuerKey),i.writeBuffer(h),t||i.writeBuffer(n.signature.toBuffer("ssh")),i.toBuffer()}function s(e){if("ssh-rsa-cert-v01@openssh.com"===e)return"rsa";if("ssh-dss-cert-v01@openssh.com"===e)return"dsa";if(e.match(_))return"ecdsa";if("ssh-ed25519-cert-v01@openssh.com"===e)return"ed25519";throw new Error("Unsupported cert type "+e)}function c(e){if("rsa"===e.type)return"ssh-rsa-cert-v01@openssh.com";if("dsa"===e.type)return"ssh-dss-cert-v01@openssh.com";if("ecdsa"===e.type)return"ecdsa-sha2-"+e.curve+"-cert-v01@openssh.com";if("ed25519"===e.type)return"ssh-ed25519-cert-v01@openssh.com";throw new Error("Unsupported key type "+e.type)}t.exports={read:function(e,t){r.isBuffer(e)&&(e=e.toString("ascii"));var i=e.trim().split(/[ \t\n]+/g);if(i.length<2||i.length>3)throw new Error("Not a valid SSH certificate line");var a=i[0],o=i[1];return o=new r(o,"base64"),n(o,a)},verify:function(e,t){return!1},sign:function(e,t){void 0===e.signatures.openssh&&(e.signatures.openssh={});try{var r=o(e,!0)}catch(t){return delete e.signatures.openssh,!1}var n=e.signatures.openssh,i=void 0;"rsa"!==t.type&&"dsa"!==t.type||(i="sha1");var a=t.createSign(i);return a.write(r),n.signature=a.sign(),!0},signAsync:function(e,t,r){void 0===e.signatures.openssh&&(e.signatures.openssh={});try{var n=o(e,!0)}catch(t){return delete e.signatures.openssh,void r(t)}var i=e.signatures.openssh;t(n,function(e,t){if(e)r(e);else{try{t.toBuffer("ssh")}catch(e){return void r(e)}i.signature=t,r()}})},write:function(e,t){void 0===t&&(t={});var r=o(e),n=c(e.subjectKey)+" "+r.toString("base64");return t.comment&&(n=n+" "+t.comment),n},fromBuffer:n,toBuffer:o};var u=e("assert-plus"),l=e("../ssh-buffer"),f=e("crypto"),p=e("../algs"),h=e("../key"),d=(e("../private-key"),e("../identity")),m=e("./rfc4253"),g=e("../signature"),v=e("../utils"),b=e("../certificate"),y={user:1,host:2};Object.keys(y).forEach(function(e){y[y[e]]=e});var _=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/}).call(this,e("buffer").Buffer)},{"../algs":411,"../certificate":412,"../identity":427,"../key":429,"../private-key":430,"../signature":431,"../ssh-buffer":432,"../utils":433,"./rfc4253":422,"assert-plus":76,buffer:153,crypto:167}],419:[function(e,t,r){(function(r){t.exports={read:function(e,t,s){var c=e;"string"!=typeof e&&(n.buffer(e,"buf"),e=e.toString("ascii"));var d=e.trim().split("\n"),m=d[0].match(/[-]+[ ]*BEGIN ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);n.ok(m,"invalid PEM header");var g=d[d.length-1].match(/[-]+[ ]*END ([A-Z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);n.ok(g,"invalid PEM footer"),n.equal(m[2],g[2]);var v,b=m[2].toLowerCase();m[1]&&(n.equal(m[1],g[1],"PEM header and footer mismatch"),v=m[1].trim());for(var y={};d=d.slice(1),m=d[0].match(/^([A-Za-z0-9-]+): (.+)$/);)y[m[1].toLowerCase()]=m[2];var _,x,k;if(y["proc-type"]){var w=y["proc-type"].split(",");if("4"===w[0]&&"ENCRYPTED"===w[1]){if("string"==typeof t.passphrase&&(t.passphrase=new r(t.passphrase,"utf-8")),!r.isBuffer(t.passphrase))throw new h.KeyEncryptedError(t.filename,"PEM");w=y["dek-info"].split(","),n.ok(2===w.length),_=w[0].toLowerCase(),k=new r(w[1],"hex"),x=o.opensslKeyDeriv(_,k,t.passphrase,1).key}}if(d=d.slice(0,-1).join(""),e=new r(d,"base64"),_&&x&&k){var j,S=a.createDecipheriv(_,x,k),E=[];for(S.once("error",function(e){if(-1!==e.toString().indexOf("bad decrypt"))throw new Error("Incorrect passphrase supplied, could not decrypt key");throw e}),S.write(e),S.end();null!==(j=S.read());)E.push(j);e=r.concat(E)}if(v&&"openssh"===v.toLowerCase())return f.readSSHPrivate(b,e,t);if(v&&"ssh2"===v.toLowerCase())return p.readType(b,e,t);var A=new i.BerReader(e);return A.originalInput=c,A.readSequence(),v?(s&&n.strictEqual(s,"pkcs1"),u.readPkcs1(v,b,A)):(s&&n.strictEqual(s,"pkcs8"),l.readPkcs8(v,b,A))},write:function(e,t,a){n.object(e);var o,f={ecdsa:"EC",rsa:"RSA",dsa:"DSA"}[e.type],p=new i.BerWriter;if(c.isPrivateKey(e))a&&"pkcs8"===a?(o="PRIVATE KEY",l.writePkcs8(p,e)):(a&&n.strictEqual(a,"pkcs1"),o=f+" PRIVATE KEY",u.writePkcs1(p,e));else{if(!s.isKey(e))throw new Error("key is not a Key or PrivateKey");a&&"pkcs1"===a?(o=f+" PUBLIC KEY",u.writePkcs1(p,e)):(a&&n.strictEqual(a,"pkcs8"),o="PUBLIC KEY",l.writePkcs8(p,e))}var h=p.buffer.toString("base64"),d=h.length+h.length/64+18+16+2*o.length+10,m=new r(d),g=0;g+=m.write("-----BEGIN "+o+"-----\n",g);for(var v=0;v<h.length;){var b=v+64;b>h.length&&(b=h.length),g+=m.write(h.slice(v,b),g),m[g++]=10,v=b}return g+=m.write("-----END "+o+"-----\n",g),m.slice(0,g)}};var n=e("assert-plus"),i=e("asn1"),a=e("crypto"),o=(e("../algs"),e("../utils")),s=e("../key"),c=e("../private-key"),u=e("./pkcs1"),l=e("./pkcs8"),f=e("./ssh-private"),p=e("./rfc4253"),h=e("../errors")}).call(this,e("buffer").Buffer)},{"../algs":411,"../errors":415,"../key":429,"../private-key":430,"../utils":433,"./pkcs1":420,"./pkcs8":421,"./rfc4253":422,"./ssh-private":423,asn1:75,"assert-plus":76,buffer:153,crypto:167}],420:[function(e,t,r){(function(r){function n(e,t){return g.strictEqual(e.peek(),v.Ber.Integer,t+" is not an Integer"),y.mpNormalize(e.readString(v.Ber.Integer,!0))}function i(e){var t=n(e,"modulus"),r=n(e,"exponent");return new _({type:"rsa",parts:[{name:"e",data:r},{name:"n",data:t}]})}function a(e){var t=n(e,"version");g.strictEqual(t[0],0);var r=n(e,"modulus"),i=n(e,"public exponent"),a=n(e,"private exponent"),o=n(e,"prime1"),s=n(e,"prime2"),c=n(e,"exponent1"),u=n(e,"exponent2"),l=n(e,"iqmp");return new x({type:"rsa",parts:[{name:"n",data:r},{name:"e",data:i},{name:"d",data:a},{name:"iqmp",data:l},{name:"p",data:o},{name:"q",data:s},{name:"dmodp",data:c},{name:"dmodq",data:u}]})}function o(e){var t=n(e,"version");g.strictEqual(t.readUInt8(0),0);var r=n(e,"p"),i=n(e,"q"),a=n(e,"g"),o=n(e,"y"),s=n(e,"x");return new x({type:"dsa",parts:[{name:"p",data:r},{name:"q",data:i},{name:"g",data:a},{name:"y",data:o},{name:"x",data:s}]})}function s(e){var t=n(e,"y"),r=n(e,"p"),i=n(e,"q"),a=n(e,"g");return new _({type:"dsa",parts:[{name:"y",data:t},{name:"p",data:r},{name:"q",data:i},{name:"g",data:a}]})}function c(e){e.readSequence();var t=e.readOID();g.strictEqual(t,"1.2.840.10045.2.1","must be ecPublicKey");for(var n,i=e.readOID(),a=Object.keys(b.curves),o=0;o<a.length;++o){var s=a[o];if(b.curves[s].pkcs8oid===i){n=s;break}}g.string(n,"a known ECDSA named curve");var c=e.readString(v.Ber.BitString,!0);c=y.ecNormalize(c);var u={type:"ecdsa",parts:[{name:"curve",data:new r(n)},{name:"Q",data:c}]};return new _(u)}function u(e){var t=n(e,"version");g.strictEqual(t.readUInt8(0),1);var i=e.readString(v.Ber.OctetString,!0);e.readSequence(160);var a=w(e);g.string(a,"a known elliptic curve"),e.readSequence(161);var o=e.readString(v.Ber.BitString,!0);o=y.ecNormalize(o);var s={type:"ecdsa",parts:[{name:"curve",data:new r(a)},{name:"Q",data:o},{name:"d",data:i}]};return new x(s)}function l(e,t){e.writeBuffer(t.part.n.data,v.Ber.Integer),e.writeBuffer(t.part.e.data,v.Ber.Integer)}function f(e,t){var n=new r(1);n[0]=0,e.writeBuffer(n,v.Ber.Integer),e.writeBuffer(t.part.n.data,v.Ber.Integer),e.writeBuffer(t.part.e.data,v.Ber.Integer),e.writeBuffer(t.part.d.data,v.Ber.Integer),e.writeBuffer(t.part.p.data,v.Ber.Integer),e.writeBuffer(t.part.q.data,v.Ber.Integer),t.part.dmodp&&t.part.dmodq||y.addRSAMissing(t),e.writeBuffer(t.part.dmodp.data,v.Ber.Integer),e.writeBuffer(t.part.dmodq.data,v.Ber.Integer),e.writeBuffer(t.part.iqmp.data,v.Ber.Integer)}function p(e,t){var n=new r(1);n[0]=0,e.writeBuffer(n,v.Ber.Integer),e.writeBuffer(t.part.p.data,v.Ber.Integer),e.writeBuffer(t.part.q.data,v.Ber.Integer),e.writeBuffer(t.part.g.data,v.Ber.Integer),e.writeBuffer(t.part.y.data,v.Ber.Integer),e.writeBuffer(t.part.x.data,v.Ber.Integer)}function h(e,t){e.writeBuffer(t.part.y.data,v.Ber.Integer),e.writeBuffer(t.part.p.data,v.Ber.Integer),e.writeBuffer(t.part.q.data,v.Ber.Integer),e.writeBuffer(t.part.g.data,v.Ber.Integer)}function d(e,t){e.startSequence(),e.writeOID("1.2.840.10045.2.1");var r=t.part.curve.data.toString(),n=b.curves[r].pkcs8oid;g.string(n,"a known ECDSA named curve"),e.writeOID(n),e.endSequence();var i=y.ecNormalize(t.part.Q.data,!0);e.writeBuffer(i,v.Ber.BitString)}function m(e,t){var n=new r(1);n[0]=1,e.writeBuffer(n,v.Ber.Integer),e.writeBuffer(t.part.d.data,v.Ber.OctetString),e.startSequence(160);var i=t.part.curve.data.toString(),a=b.curves[i].pkcs8oid;g.string(a,"a known ECDSA named curve"),e.writeOID(a),e.endSequence(),e.startSequence(161);var o=y.ecNormalize(t.part.Q.data,!0);e.writeBuffer(o,v.Ber.BitString),e.endSequence()}t.exports={read:function(e,t){return k.read(e,t,"pkcs1")},readPkcs1:function(e,t,r){switch(e){case"RSA":if("public"===t)return i(r);if("private"===t)return a(r);throw new Error("Unknown key type: "+t);case"DSA":if("public"===t)return s(r);if("private"===t)return o(r);throw new Error("Unknown key type: "+t);case"EC":case"ECDSA":if("private"===t)return u(r);if("public"===t)return c(r);throw new Error("Unknown key type: "+t);default:throw new Error("Unknown key algo: "+e)}},write:function(e,t){return k.write(e,t,"pkcs1")},writePkcs1:function(e,t){switch(e.startSequence(),t.type){case"rsa":x.isPrivateKey(t)?f(e,t):l(e,t);break;case"dsa":x.isPrivateKey(t)?p(e,t):h(e,t);break;case"ecdsa":x.isPrivateKey(t)?m(e,t):d(e,t);break;default:throw new Error("Unknown key algo: "+t.type)}e.endSequence()}};var g=e("assert-plus"),v=e("asn1"),b=e("../algs"),y=e("../utils"),_=e("../key"),x=e("../private-key"),k=e("./pem"),w=e("./pkcs8").readECDSACurve}).call(this,e("buffer").Buffer)},{"../algs":411,"../key":429,"../private-key":430,"../utils":433,"./pem":419,"./pkcs8":421,asn1:75,"assert-plus":76,buffer:153}],421:[function(e,t,r){(function(r){function n(e,t){return b.strictEqual(e.peek(),y.Ber.Integer,t+" is not an Integer"),x.mpNormalize(e.readString(y.Ber.Integer,!0))}function i(e){e.readSequence(y.Ber.BitString),e.readByte(),e.readSequence();var t=n(e,"modulus"),r=n(e,"exponent"),i={type:"rsa",source:e.originalInput,parts:[{name:"e",data:r},{name:"n",data:t}]};return new k(i)}function a(e){e.readSequence(y.Ber.OctetString),e.readSequence();var t=n(e,"version");b.equal(t[0],0,"unknown RSA private key version");var r=n(e,"modulus"),i=n(e,"public exponent"),a=n(e,"private exponent"),o=n(e,"prime1"),s=n(e,"prime2"),c=n(e,"exponent1"),u=n(e,"exponent2"),l=n(e,"iqmp");return new w({type:"rsa",parts:[{name:"n",data:r},{name:"e",data:i},{name:"d",data:a},{name:"iqmp",data:l},{name:"p",data:o},{name:"q",data:s},{name:"dmodp",data:c},{name:"dmodq",data:u}]})}function o(e){e.readSequence();var t=n(e,"p"),r=n(e,"q"),i=n(e,"g");e.readSequence(y.Ber.BitString),e.readByte();var a=n(e,"y");return new k({type:"dsa",parts:[{name:"p",data:t},{name:"q",data:r},{name:"g",data:i},{name:"y",data:a}]})}function s(e){e.readSequence();var t=n(e,"p"),r=n(e,"q"),i=n(e,"g");e.readSequence(y.Ber.OctetString);var a=n(e,"x"),o=x.calculateDSAPublic(i,t,a);return new w({type:"dsa",parts:[{name:"p",data:t},{name:"q",data:r},{name:"g",data:i},{name:"y",data:o},{name:"x",data:a}]})}function c(e){var t,n,i,a,o;if(e.peek()===y.Ber.OID){var s=e.readOID();for(n=Object.keys(_.curves),i=0;i<n.length;++i)if(a=n[i],(o=_.curves[a]).pkcs8oid===s){t=a;break}}else{e.readSequence();var c=e.readString(y.Ber.Integer,!0);b.strictEqual(c[0],1,"ECDSA key not version 1");var u={};e.readSequence();var l=e.readOID();b.strictEqual(l,"1.2.840.10045.1.1","ECDSA key is not from a prime-field");var f=u.p=x.mpNormalize(e.readString(y.Ber.Integer,!0));u.size=8*f.length-x.countZeros(f),e.readSequence(),u.a=x.mpNormalize(e.readString(y.Ber.OctetString,!0)),u.b=x.mpNormalize(e.readString(y.Ber.OctetString,!0)),e.peek()===y.Ber.BitString&&(u.s=e.readString(y.Ber.BitString,!0)),u.G=e.readString(y.Ber.OctetString,!0),b.strictEqual(u.G[0],4,"uncompressed G is required"),u.n=x.mpNormalize(e.readString(y.Ber.Integer,!0)),u.h=x.mpNormalize(e.readString(y.Ber.Integer,!0)),b.strictEqual(u.h[0],1,"a cofactor=1 curve is required"),n=Object.keys(_.curves);var p=Object.keys(u);for(i=0;i<n.length;++i){a=n[i],o=_.curves[a];for(var h=!0,d=0;d<p.length;++d){var m=p[d];if(void 0!==o[m])if("object"==typeof o[m]&&void 0!==o[m].equals){if(!o[m].equals(u[m])){h=!1;break}}else if(r.isBuffer(o[m])){if(o[m].toString("binary")!==u[m].toString("binary")){h=!1;break}}else if(o[m]!==u[m]){h=!1;break}}if(h){t=a;break}}}return t}function u(e){var t=c(e);b.string(t,"a known elliptic curve"),e.readSequence(y.Ber.OctetString),e.readSequence();var i=n(e,"version");b.equal(i[0],1,"unknown version of ECDSA key");var a=e.readString(y.Ber.OctetString,!0);e.readSequence(161);var o=e.readString(y.Ber.BitString,!0);o=x.ecNormalize(o);var s={type:"ecdsa",parts:[{name:"curve",data:new r(t)},{name:"Q",data:o},{name:"d",data:a}]};return new w(s)}function l(e){var t=c(e);b.string(t,"a known elliptic curve");var n=e.readString(y.Ber.BitString,!0);n=x.ecNormalize(n);var i={type:"ecdsa",parts:[{name:"curve",data:new r(t)},{name:"Q",data:n}]};return new k(i)}function f(e,t){t.writeNull(),t.endSequence(),t.startSequence(y.Ber.OctetString),t.startSequence();var n=new r(1);n[0]=0,t.writeBuffer(n,y.Ber.Integer),t.writeBuffer(e.part.n.data,y.Ber.Integer),t.writeBuffer(e.part.e.data,y.Ber.Integer),t.writeBuffer(e.part.d.data,y.Ber.Integer),t.writeBuffer(e.part.p.data,y.Ber.Integer),t.writeBuffer(e.part.q.data,y.Ber.Integer),e.part.dmodp&&e.part.dmodq||x.addRSAMissing(e),t.writeBuffer(e.part.dmodp.data,y.Ber.Integer),t.writeBuffer(e.part.dmodq.data,y.Ber.Integer),t.writeBuffer(e.part.iqmp.data,y.Ber.Integer),t.endSequence(),t.endSequence()}function p(e,t){t.writeNull(),t.endSequence(),t.startSequence(y.Ber.BitString),t.writeByte(0),t.startSequence(),t.writeBuffer(e.part.n.data,y.Ber.Integer),t.writeBuffer(e.part.e.data,y.Ber.Integer),t.endSequence(),t.endSequence()}function h(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,y.Ber.Integer),t.writeBuffer(e.part.q.data,y.Ber.Integer),t.writeBuffer(e.part.g.data,y.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(y.Ber.OctetString),t.writeBuffer(e.part.x.data,y.Ber.Integer),t.endSequence()}function d(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,y.Ber.Integer),t.writeBuffer(e.part.q.data,y.Ber.Integer),t.writeBuffer(e.part.g.data,y.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(y.Ber.BitString),t.writeByte(0),t.writeBuffer(e.part.y.data,y.Ber.Integer),t.endSequence()}function m(e,t){var n=_.curves[e.curve];if(n.pkcs8oid)t.writeOID(n.pkcs8oid);else{t.startSequence();var i=new r(1);i.writeUInt8(1,0),t.writeBuffer(i,y.Ber.Integer),t.startSequence(),t.writeOID("1.2.840.10045.1.1"),t.writeBuffer(n.p,y.Ber.Integer),t.endSequence(),t.startSequence();var a=n.p;0===a[0]&&(a=a.slice(1)),t.writeBuffer(a,y.Ber.OctetString),t.writeBuffer(n.b,y.Ber.OctetString),t.writeBuffer(n.s,y.Ber.BitString),t.endSequence(),t.writeBuffer(n.G,y.Ber.OctetString),t.writeBuffer(n.n,y.Ber.Integer);var o=n.h;o||((o=new r(1))[0]=1),t.writeBuffer(o,y.Ber.Integer),t.endSequence()}}function g(e,t){m(e,t),t.endSequence();var r=x.ecNormalize(e.part.Q.data,!0);t.writeBuffer(r,y.Ber.BitString)}function v(e,t){m(e,t),t.endSequence(),t.startSequence(y.Ber.OctetString),t.startSequence();var n=new r(1);n[0]=1,t.writeBuffer(n,y.Ber.Integer),t.writeBuffer(e.part.d.data,y.Ber.OctetString),t.startSequence(161);var i=x.ecNormalize(e.part.Q.data,!0);t.writeBuffer(i,y.Ber.BitString),t.endSequence(),t.endSequence(),t.endSequence()}t.exports={read:function(e,t){return j.read(e,t,"pkcs8")},readPkcs8:function(e,t,r){r.peek()===y.Ber.Integer&&(b.strictEqual(t,"private","unexpected Integer at start of public key"),r.readString(y.Ber.Integer,!0)),r.readSequence();var n=r.offset+r.length,c=r.readOID();switch(c){case"1.2.840.113549.1.1.1":return r._offset=n,"public"===t?i(r):a(r);case"1.2.840.10040.4.1":return"public"===t?o(r):s(r);case"1.2.840.10045.2.1":return"public"===t?l(r):u(r);default:throw new Error("Unknown key type OID "+c)}},write:function(e,t){return j.write(e,t,"pkcs8")},writePkcs8:function(e,t){if(e.startSequence(),w.isPrivateKey(t)){var n=new r(1);n[0]=0,e.writeBuffer(n,y.Ber.Integer)}switch(e.startSequence(),t.type){case"rsa":e.writeOID("1.2.840.113549.1.1.1"),w.isPrivateKey(t)?f(t,e):p(t,e);break;case"dsa":e.writeOID("1.2.840.10040.4.1"),w.isPrivateKey(t)?h(t,e):d(t,e);break;case"ecdsa":e.writeOID("1.2.840.10045.2.1"),w.isPrivateKey(t)?v(t,e):g(t,e);break;default:throw new Error("Unsupported key type: "+t.type)}e.endSequence()},readECDSACurve:c,writeECDSACurve:m};var b=e("assert-plus"),y=e("asn1"),_=e("../algs"),x=e("../utils"),k=e("../key"),w=e("../private-key"),j=e("./pem")}).call(this,e("buffer").Buffer)},{"../algs":411,"../key":429,"../private-key":430,"../utils":433,"./pem":419,asn1:75,"assert-plus":76,buffer:153}],422:[function(e,t,r){(function(r){function n(e){if(o.string(e),"ssh-dss"===e)return"dsa";if("ssh-rsa"===e)return"rsa";if("ssh-ed25519"===e)return"ed25519";if("ssh-curve25519"===e)return"curve25519";if(e.match(/^ecdsa-sha2-/))return"ecdsa";throw new Error("Unknown algorithm "+e)}function i(e){if(o.object(e),"dsa"===e.type)return"ssh-dss";if("rsa"===e.type)return"ssh-rsa";if("ed25519"===e.type)return"ssh-ed25519";if("curve25519"===e.type)return"ssh-curve25519";if("ecdsa"===e.type)return"ecdsa-sha2-"+e.part.curve.data.toString();throw new Error("Unknown key type "+e.type)}function a(e,t,i,a){"string"==typeof i&&(i=new r(i)),o.buffer(i,"buf");var p={},h=p.parts=[],d=new f({buffer:i}),m=d.readString();o.ok(!d.atEnd(),"key must have at least one part"),p.type=n(m);var g=s.info[p.type].parts.length;for(t&&"private"===t&&(g=s.privInfo[p.type].parts.length);!d.atEnd()&&h.length<g;)h.push(d.readPart());for(;!e&&!d.atEnd();)h.push(d.readPart());o.ok(h.length>=1,"key must have at least one part"),o.ok(e||d.atEnd(),"leftover bytes at end of key");var v=u,b=s.info[p.type];if("private"!==t&&b.parts.length===h.length||(b=s.privInfo[p.type],v=l),o.strictEqual(b.parts.length,h.length),"ecdsa"===p.type){var y=/^ecdsa-sha2-(.+)$/.exec(m);o.ok(null!==y),o.strictEqual(y[1],h[0].data.toString())}for(var _=!0,x=0;x<b.parts.length;++x)if(h[x].name=b.parts[x],"curve"!==h[x].name&&!1!==b.normalize){var k=h[x],w=c.mpNormalize(k.data);w!==k.data&&(k.data=w,_=!1)}return _&&(p._rfc4253Cache=d.toBuffer()),e&&"object"==typeof e&&(e.remainder=d.remainder(),e.consumed=d._offset),new v(p)}t.exports={read:a.bind(void 0,!1,void 0),readType:a.bind(void 0,!1),write:function(e,t){o.object(e);var r,n=i(e),a=s.info[e.type];l.isPrivateKey(e)&&(a=s.privInfo[e.type]);var u=a.parts,p=new f({});for(p.writeString(n),r=0;r<u.length;++r){var h=e.part[u[r]].data;!1!==a.normalize&&(h=c.mpNormalize(h)),p.writeBuffer(h)}return p.toBuffer()},readPartial:a.bind(void 0,!0),readInternal:a,keyTypeToAlg:i,algToKeyType:n};var o=e("assert-plus"),s=e("../algs"),c=e("../utils"),u=e("../key"),l=e("../private-key"),f=e("../ssh-buffer")}).call(this,e("buffer").Buffer)},{"../algs":411,"../key":429,"../private-key":430,"../ssh-buffer":432,"../utils":433,"assert-plus":76,buffer:153}],423:[function(e,t,r){(function(r){t.exports={read:function(e,t){return c.read(e,t)},readSSHPrivate:function(t,s,c){var h=(s=new l({buffer:s})).readCString();i.strictEqual(h,p,"bad magic string");var d=s.readString(),m=s.readString(),g=s.readBuffer();if(1!==s.readInt())throw new Error("OpenSSH-format key file contains multiple keys: this is unsupported.");var v=s.readBuffer();if("public"===t)return i.ok(s.atEnd(),"excess bytes left after key"),u.read(v);var b=s.readBuffer();i.ok(s.atEnd(),"excess bytes left after key");var y=new l({buffer:g});switch(m){case"none":if("none"!==d)throw new Error('OpenSSH-format key uses KDF "none" but specifies a cipher other than "none"');break;case"bcrypt":var _=y.readBuffer(),x=y.readInt(),k=a.opensshCipherInfo(d);if(void 0===n&&(n=e("bcrypt-pbkdf")),"string"==typeof c.passphrase&&(c.passphrase=new r(c.passphrase,"utf-8")),!r.isBuffer(c.passphrase))throw new f.KeyEncryptedError(c.filename,"OpenSSH");var w=new Uint8Array(c.passphrase),j=new Uint8Array(_),S=new Uint8Array(k.keySize+k.blockSize);if(0!==n.pbkdf(w,w.length,j,j.length,S,S.length,x))throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var E=(S=new r(S)).slice(0,k.keySize),A=S.slice(k.keySize,k.keySize+k.blockSize),F=o.createDecipheriv(k.opensslName,E,A);F.setAutoPadding(!1);var I,O=[];for(F.once("error",function(e){if(-1!==e.toString().indexOf("bad decrypt"))throw new Error("Incorrect passphrase supplied, could not decrypt key");throw e}),F.write(b),F.end();null!==(I=F.read());)O.push(I);b=r.concat(O);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+m+'"')}if((s=new l({buffer:b})).readInt()!==s.readInt())throw new Error("Incorrect passphrase supplied, could not decrypt key");var P={},T=u.readInternal(P,"private",s.remainder());s.skip(P.consumed);var C=s.readString();return T.comment=C,T},write:function(t,c){var u;u=s.isPrivateKey(t)?t.toPublic():t;var f,h="none",d="none",m=new r(0),g={blockSize:8};void 0!==c&&("string"==typeof(f=c.passphrase)&&(f=new r(f,"utf-8")),void 0!==f&&(i.buffer(f,"options.passphrase"),i.optionalString(c.cipher,"options.cipher"),void 0===(h=c.cipher)&&(h="aes128-ctr"),g=a.opensshCipherInfo(h),d="bcrypt"));var v;if(s.isPrivateKey(t)){v=new l({});var b=o.randomBytes(4).readUInt32BE(0);v.writeInt(b),v.writeInt(b),v.write(t.toBuffer("rfc4253")),v.writeString(t.comment||"");for(var y=1;v._offset%g.blockSize!=0;)v.writeChar(y++);v=v.toBuffer()}switch(d){case"none":break;case"bcrypt":var _=o.randomBytes(16),x=new l({});x.writeBuffer(_),x.writeInt(16),m=x.toBuffer(),void 0===n&&(n=e("bcrypt-pbkdf"));var k=new Uint8Array(f),w=new Uint8Array(_),j=new Uint8Array(g.keySize+g.blockSize);if(0!==n.pbkdf(k,k.length,w,w.length,j,j.length,16))throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var S=(j=new r(j)).slice(0,g.keySize),E=j.slice(g.keySize,g.keySize+g.blockSize),A=o.createCipheriv(g.opensslName,S,E);A.setAutoPadding(!1);var F,I=[];for(A.once("error",function(e){throw e}),A.write(v),A.end();null!==(F=A.read());)I.push(F);v=r.concat(I);break;default:throw new Error("Unsupported kdf "+d)}var O=new l({});O.writeCString(p),O.writeString(h),O.writeString(d),O.writeBuffer(m),O.writeInt(1),O.writeBuffer(u.toBuffer("rfc4253")),v&&O.writeBuffer(v),O=O.toBuffer();var P;P=s.isPrivateKey(t)?"OPENSSH PRIVATE KEY":"OPENSSH PUBLIC KEY";var T=O.toString("base64"),C=T.length+T.length/70+18+16+2*P.length+10,z=0;z+=(O=new r(C)).write("-----BEGIN "+P+"-----\n",z);for(var R=0;R<T.length;){var B=R+70;B>T.length&&(B=T.length),z+=O.write(T.slice(R,B),z),O[z++]=10,R=B}return z+=O.write("-----END "+P+"-----\n",z),O.slice(0,z)}};var n,i=e("assert-plus"),a=(e("asn1"),e("../algs"),e("../utils")),o=e("crypto"),s=(e("../key"),e("../private-key")),c=e("./pem"),u=e("./rfc4253"),l=e("../ssh-buffer"),f=e("../errors"),p="openssh-key-v1"}).call(this,e("buffer").Buffer)},{"../algs":411,"../errors":415,"../key":429,"../private-key":430,"../ssh-buffer":432,"../utils":433,"./pem":419,"./rfc4253":422,asn1:75,"assert-plus":76,"bcrypt-pbkdf":82,buffer:153,crypto:167}],424:[function(e,t,r){(function(r){t.exports={read:function(e,t){"string"!=typeof e&&(n.buffer(e,"buf"),e=e.toString("ascii"));var a=e.trim().replace(/[\\\r]/g,""),c=a.match(o);c||(c=a.match(s)),n.ok(c,"key must match regex");var u,l=i.algToKeyType(c[1]),f=new r(c[2],"base64"),p={};if(c[4])try{u=i.read(f)}catch(e){c=a.match(s),n.ok(c,"key must match regex"),f=new r(c[2],"base64"),u=i.readInternal(p,"public",f)}else u=i.readInternal(p,"public",f);if(n.strictEqual(l,u.type),c[4]&&c[4].length>0)u.comment=c[4];else if(p.consumed){var h=c[2]+c[3],d=4*Math.ceil(p.consumed/3);for(h=h.slice(0,d-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+h.slice(d-2),p.consumed%3>0&&"="!==h.slice(d-1,d)&&d--;"="===h.slice(d,d+1);)d++;var m=h.slice(d);(m=m.replace(/[\r\n]/g," ").replace(/^\s+/,"")).match(/^[a-zA-Z0-9]/)&&(u.comment=m)}return u},write:function(e,t){if(n.object(e),!a.isKey(e))throw new Error("Must be a public key");var o=[],s=i.keyTypeToAlg(e);o.push(s);var c=i.write(e);return o.push(c.toString("base64")),e.comment&&o.push(e.comment),new r(o.join(" "))}};var n=e("assert-plus"),i=e("./rfc4253"),a=(e("../utils"),e("../key")),o=(e("../private-key"),e("./ssh-private"),/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([\n \t]+([^\n]+))?$/),s=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/ \t\n]+[=]*)(.*)$/}).call(this,e("buffer").Buffer)},{"../key":429,"../private-key":430,"../utils":433,"./rfc4253":422,"./ssh-private":423,"assert-plus":76,buffer:153}],425:[function(e,t,r){(function(r){var n=e("./x509");t.exports={read:function(e,t){"string"!=typeof e&&(i.buffer(e,"buf"),e=e.toString("ascii"));var a=e.trim().split(/[\r\n]+/g),o=a[0].match(/[-]+[ ]*BEGIN CERTIFICATE[ ]*[-]+/);i.ok(o,"invalid PEM header");var s=a[a.length-1].match(/[-]+[ ]*END CERTIFICATE[ ]*[-]+/);i.ok(s,"invalid PEM footer");for(var c={};a=a.slice(1),o=a[0].match(/^([A-Za-z0-9-]+): (.+)$/);)c[o[1].toLowerCase()]=o[2];return a=a.slice(0,-1).join(""),e=new r(a,"base64"),n.read(e,t)},verify:n.verify,sign:n.sign,write:function(e,t){var i=n.write(e,t).toString("base64"),a=i.length+i.length/64+18+16+2*"CERTIFICATE".length+10,o=new r(a),s=0;s+=o.write("-----BEGIN CERTIFICATE-----\n",s);for(var c=0;c<i.length;){var u=c+64;u>i.length&&(u=i.length),s+=o.write(i.slice(c,u),s),o[s++]=10,c=u}return s+=o.write("-----END CERTIFICATE-----\n",s),o.slice(0,s)}};var i=e("assert-plus");e("asn1"),e("../algs"),e("../utils"),e("../key"),e("../private-key"),e("./pem"),e("../identity"),e("../signature"),e("../certificate")}).call(this,e("buffer").Buffer)},{"../algs":411,"../certificate":412,"../identity":427,"../key":429,"../private-key":430,"../signature":431,"../utils":433,"./pem":419,"./x509":426,asn1:75,"assert-plus":76,buffer:153}],426:[function(e,t,r){(function(r){function n(e,t){return m.strictEqual(e.peek(),g.Ber.Integer,t+" is not an Integer"),v.mpNormalize(e.readString(g.Ber.Integer,!0))}function i(e){return g.Ber.Context|g.Ber.Constructor|e}function a(e){return g.Ber.Context|e}function o(e){if(e.peek()===g.Ber.UTCTime)return c(e.readString(g.Ber.UTCTime));if(e.peek()===g.Ber.GeneralizedTime)return u(e.readString(g.Ber.GeneralizedTime));throw new Error("Unsupported date format")}function s(e,t,r){r.readSequence();var n,i=r.offset+r.length,a=r.readOID(),o=e.signatures.x509;o.extras.exts=[];var s;switch(r.peek()===g.Ber.Boolean&&(s=r.readBoolean()),a){case w.basicConstraints:r.readSequence(g.Ber.OctetString),r.readSequence();var c=r.offset+r.length,u=!1;r.peek()===g.Ber.Boolean&&(u=r.readBoolean()),void 0===e.purposes&&(e.purposes=[]),!0===u&&e.purposes.push("ca");var l={oid:a,critical:s};r.offset<c&&r.peek()===g.Ber.Integer&&(l.pathLen=r.readInt()),o.extras.exts.push(l);break;case w.extKeyUsage:r.readSequence(g.Ber.OctetString),r.readSequence(),void 0===e.purposes&&(e.purposes=[]);for(var f=r.offset+r.length;r.offset<f;){var p=r.readOID();e.purposes.push(E[p]||p)}-1!==e.purposes.indexOf("serverAuth")&&-1===e.purposes.indexOf("clientAuth")?e.subjects.forEach(function(e){"host"!==e.type&&(e.type="host",e.hostname=e.uid||e.email||e.components[0].value)}):-1!==e.purposes.indexOf("clientAuth")&&-1===e.purposes.indexOf("serverAuth")&&e.subjects.forEach(function(e){"user"!==e.type&&(e.type="user",e.uid=e.hostname||e.email||e.components[0].value)}),o.extras.exts.push({oid:a,critical:s});break;case w.keyUsage:r.readSequence(g.Ber.OctetString);var d=r.readString(g.Ber.BitString,!0);h(d,A).forEach(function(t){void 0===e.purposes&&(e.purposes=[]),-1===e.purposes.indexOf(t)&&e.purposes.push(t)}),o.extras.exts.push({oid:a,critical:s,bits:d});break;case w.altName:r.readSequence(g.Ber.OctetString),r.readSequence();for(var m=r.offset+r.length;r.offset<m;)switch(r.peek()){case j.OtherName:case j.EDIPartyName:r.readSequence(),r._offset+=r.length;break;case j.OID:r.readOID(j.OID);break;case j.RFC822Name:var v=r.readString(j.RFC822Name);n=b.forEmail(v),e.subjects[0].equals(n)||e.subjects.push(n);break;case j.DirectoryName:r.readSequence(j.DirectoryName),n=b.parseAsn1(r),e.subjects[0].equals(n)||e.subjects.push(n);break;case j.DNSName:var y=r.readString(j.DNSName);n=b.forHost(y),e.subjects[0].equals(n)||e.subjects.push(n);break;default:r.readString(r.peek())}o.extras.exts.push({oid:a,critical:s});break;default:o.extras.exts.push({oid:a,critical:s,data:r.readString(g.Ber.OctetString,!0)})}r._offset=i}function c(e){var t=e.match(F);m.ok(t,"timestamps must be in UTC");var r=new Date,n=r.getUTCFullYear(),i=100*Math.floor(n/100),a=parseInt(t[1],10);return a+=n%100<50&&a>=60?i-1:i,r.setUTCFullYear(a,parseInt(t[2],10)-1,parseInt(t[3],10)),r.setUTCHours(parseInt(t[4],10),parseInt(t[5],10)),t[6]&&t[6].length>0&&r.setUTCSeconds(parseInt(t[6],10)),r}function u(e){var t=e.match(I);m.ok(t);var r=new Date;return r.setUTCFullYear(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10)),r.setUTCHours(parseInt(t[4],10),parseInt(t[5],10)),t[6]&&t[6].length>0&&r.setUTCSeconds(parseInt(t[6],10)),r}function l(e){for(var t=""+e;t.length<2;)t="0"+t;return t}function f(e){var t="";return t+=l(e.getUTCFullYear()%100),t+=l(e.getUTCMonth()+1),t+=l(e.getUTCDate()),t+=l(e.getUTCHours()),t+=l(e.getUTCMinutes()),t+=l(e.getUTCSeconds()),t+="Z"}function p(e,t){var r=e.signatures.x509;m.object(r,"x509 signature"),t.startSequence(),t.startSequence(i(0)),t.writeInt(2),t.endSequence(),t.writeBuffer(v.mpNormalize(e.serial),g.Ber.Integer),t.startSequence(),t.writeOID(k[r.algo]),t.endSequence(),e.issuer.toAsn1(t),t.startSequence(),t.writeString(f(e.validFrom),g.Ber.UTCTime),t.writeString(f(e.validUntil),g.Ber.UTCTime),t.endSequence();var n=e.subjects[0],o=e.subjects.slice(1);if(n.toAsn1(t),x.writePkcs8(t,e.subjectKey),r.extras&&r.extras.issuerUniqueID&&t.writeBuffer(r.extras.issuerUniqueID,i(1)),r.extras&&r.extras.subjectUniqueID&&t.writeBuffer(r.extras.subjectUniqueID,i(2)),o.length>0||"host"===n.type||void 0!==e.purposes&&e.purposes.length>0||r.extras&&r.extras.exts){t.startSequence(i(3)),t.startSequence();var s=[];void 0!==e.purposes&&e.purposes.length>0&&(s.push({oid:w.basicConstraints,critical:!0}),s.push({oid:w.keyUsage,critical:!0}),s.push({oid:w.extKeyUsage,critical:!0})),s.push({oid:w.altName}),r.extras&&r.extras.exts&&(s=r.extras.exts);for(var c=0;c<s.length;++c){if(t.startSequence(),t.writeOID(s[c].oid),void 0!==s[c].critical&&t.writeBoolean(s[c].critical),s[c].oid===w.altName){t.startSequence(g.Ber.OctetString),t.startSequence(),"host"===n.type&&t.writeString(n.hostname,a(2));for(var u=0;u<o.length;++u)"host"===o[u].type?t.writeString(o[u].hostname,j.DNSName):"email"===o[u].type?t.writeString(o[u].email,j.RFC822Name):(t.startSequence(j.DirectoryName),o[u].toAsn1(t),t.endSequence());t.endSequence(),t.endSequence()}else if(s[c].oid===w.basicConstraints){t.startSequence(g.Ber.OctetString),t.startSequence();var l=-1!==e.purposes.indexOf("ca"),p=s[c].pathLen;t.writeBoolean(l),void 0!==p&&t.writeInt(p),t.endSequence(),t.endSequence()}else if(s[c].oid===w.extKeyUsage)t.startSequence(g.Ber.OctetString),t.startSequence(),e.purposes.forEach(function(e){if("ca"!==e&&-1===A.indexOf(e)){var r=e;void 0!==S[e]&&(r=S[e]),t.writeOID(r)}}),t.endSequence(),t.endSequence();else if(s[c].oid===w.keyUsage){if(t.startSequence(g.Ber.OctetString),void 0!==s[c].bits)t.writeBuffer(s[c].bits,g.Ber.BitString);else{var h=d(e.purposes,A);t.writeBuffer(h,g.Ber.BitString)}t.endSequence()}else t.writeBuffer(s[c].data,g.Ber.OctetString);t.endSequence()}t.endSequence(),t.endSequence()}t.endSequence()}function h(e,t){for(var r=8*(e.length-1)-e[0],n={},i=0;i<r;++i){var a=1<<7-i%8,o=0!=(e[1+Math.floor(i/8)]&a),s=t[i];o&&"string"==typeof s&&(n[s]=!0)}return Object.keys(n)}function d(e,t){var n=t.length,i=Math.ceil(n/8),a=8*i-n,o=new r(1+i);o.fill(0),o[0]=a;for(var s=0;s<n;++s){var c=1+Math.floor(s/8),u=1<<7-s%8,l=t[s];void 0!==l&&(-1!==e.indexOf(l)&&(o[c]|=u))}return o}t.exports={read:function(e,t){"string"==typeof e&&(e=new r(e,"binary")),m.buffer(e,"buf");var a=new g.BerReader(e);if(a.readSequence(),Math.abs(a.length-a.remain)>1)throw new Error("DER sequence does not contain whole byte stream");var c=a.offset;a.readSequence();var u=a.offset+a.length,l=u;if(a.peek()===i(0)){a.readSequence(i(0));var f=a.readInt();m.ok(f<=3,"only x.509 versions up to v3 supported")}var p={};p.signatures={};var h=p.signatures.x509={};h.extras={},p.serial=n(a,"serial"),a.readSequence();var d=a.offset+a.length,v=a.readOID();if(void 0===k[v])throw new Error("unknown signature algorithm "+v);if(a._offset=d,p.issuer=b.parseAsn1(a),a.readSequence(),p.validFrom=o(a),p.validUntil=o(a),p.subjects=[b.parseAsn1(a)],a.readSequence(),d=a.offset+a.length,p.subjectKey=x.readPkcs8(void 0,"public",a),a._offset=d,a.peek()===i(1)&&(a.readSequence(i(1)),h.extras.issuerUniqueID=e.slice(a.offset,a.offset+a.length),a._offset+=a.length),a.peek()===i(2)&&(a.readSequence(i(2)),h.extras.subjectUniqueID=e.slice(a.offset,a.offset+a.length),a._offset+=a.length),a.peek()===i(3)){a.readSequence(i(3));var w=a.offset+a.length;for(a.readSequence();a.offset<w;)s(p,0,a);m.strictEqual(a.offset,w)}m.strictEqual(a.offset,u),a.readSequence(),d=a.offset+a.length;var j=a.readOID(),S=k[j];if(void 0===S)throw new Error("unknown signature algorithm "+j);a._offset=d;var E=a.readString(g.Ber.BitString,!0);0===E[0]&&(E=E.slice(1));var A=S.split("-");return h.signature=y.parse(E,A[0],"asn1"),h.signature.hashAlgorithm=A[1],h.algo=S,h.cache=e.slice(c,l),new _(p)},verify:function(e,t){var r=e.signatures.x509;m.object(r,"x509 signature");var n=r.algo.split("-");if(n[0]!==t.type)return!1;var i=r.cache;if(void 0===i){var a=new g.BerWriter;p(e,a),i=a.buffer}var o=t.createVerify(n[1]);return o.write(i),o.verify(r.signature)},sign:function(e,t){void 0===e.signatures.x509&&(e.signatures.x509={});var r=e.signatures.x509;if(r.algo=t.type+"-"+t.defaultHashAlgorithm(),void 0===k[r.algo])return!1;var n=new g.BerWriter;p(e,n);var i=n.buffer;r.cache=i;var a=t.createSign();return a.write(i),e.signatures.x509.signature=a.sign(),!0},signAsync:function(e,t,r){void 0===e.signatures.x509&&(e.signatures.x509={});var n=e.signatures.x509,i=new g.BerWriter;p(e,i);var a=i.buffer;n.cache=a,t(a,function(e,t){e?r(e):(n.algo=t.type+"-"+t.hashAlgorithm,void 0!==k[n.algo]?(n.signature=t,r()):r(new Error('Invalid signing algorithm "'+n.algo+'"')))})},write:function(e,t){var n=e.signatures.x509;m.object(n,"x509 signature");var i=new g.BerWriter;i.startSequence(),n.cache?(i._ensure(n.cache.length),n.cache.copy(i._buf,i._offset),i._offset+=n.cache.length):p(e,i),i.startSequence(),i.writeOID(k[n.algo]),n.algo.match(/^rsa-/)&&i.writeNull(),i.endSequence();var a=n.signature.toBuffer("asn1"),o=new r(a.length+1);return o[0]=0,a.copy(o,1),i.writeBuffer(o,g.Ber.BitString),i.endSequence(),i.buffer}};var m=e("assert-plus"),g=e("asn1"),v=(e("../algs"),e("../utils")),b=(e("../key"),e("../private-key"),e("./pem"),e("../identity")),y=e("../signature"),_=e("../certificate"),x=e("./pkcs8"),k={"rsa-md5":"1.2.840.113549.1.1.4","rsa-sha1":"1.2.840.113549.1.1.5","rsa-sha256":"1.2.840.113549.1.1.11","rsa-sha384":"1.2.840.113549.1.1.12","rsa-sha512":"1.2.840.113549.1.1.13","dsa-sha1":"1.2.840.10040.4.3","dsa-sha256":"2.16.840.1.101.3.4.3.2","ecdsa-sha1":"1.2.840.10045.4.1","ecdsa-sha256":"1.2.840.10045.4.3.2","ecdsa-sha384":"1.2.840.10045.4.3.3","ecdsa-sha512":"1.2.840.10045.4.3.4"};Object.keys(k).forEach(function(e){k[k[e]]=e}),k["1.3.14.3.2.3"]="rsa-md5",k["1.3.14.3.2.29"]="rsa-sha1";var w={issuerKeyId:"2.5.29.35",altName:"2.5.29.17",basicConstraints:"2.5.29.19",keyUsage:"2.5.29.15",extKeyUsage:"2.5.29.37"},j={OtherName:i(0),RFC822Name:a(1),DNSName:a(2),X400Address:i(3),DirectoryName:i(4),EDIPartyName:i(5),URI:a(6),IPAddress:a(7),OID:a(8)},S={serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",joyentDocker:"1.3.6.1.4.1.38678.1.4.1",joyentCmon:"1.3.6.1.4.1.38678.1.4.2"},E={};Object.keys(S).forEach(function(e){E[S[e]]=e});var A=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"],F=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/,I=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/}).call(this,e("buffer").Buffer)},{"../algs":411,"../certificate":412,"../identity":427,"../key":429,"../private-key":430,"../signature":431,"../utils":433,"./pem":419,"./pkcs8":421,asn1:75,"assert-plus":76,buffer:153}],427:[function(e,t,r){(function(r){function n(e){var t=this;if(a.object(e,"options"),a.arrayOfObject(e.components,"options.components"),this.components=e.components,this.componentLookup={},this.components.forEach(function(e){e.name&&!e.oid&&(e.oid=u[e.name]),e.oid&&!e.name&&(e.name=l[e.oid]),void 0===t.componentLookup[e.name]&&(t.componentLookup[e.name]=[]),t.componentLookup[e.name].push(e)}),this.componentLookup.cn&&this.componentLookup.cn.length>0&&(this.cn=this.componentLookup.cn[0].value),a.optionalString(e.type,"options.type"),void 0===e.type)1===this.components.length&&this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(c)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length?(this.type="host",this.hostname=this.componentLookup.dc.map(function(e){return e.value}).join(".")):this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(c)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.uid&&1===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.mail&&1===this.componentLookup.mail.length?(this.type="email",this.email=this.componentLookup.mail[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length?(this.type="user",this.uid=this.componentLookup.cn[0].value):this.type="unknown";else if(this.type=e.type,"host"===this.type)this.hostname=e.hostname;else if("user"===this.type)this.uid=e.uid;else{if("email"!==this.type)throw new Error("Unknown type "+this.type);this.email=e.email}}function i(e,t){if("**"===e||"**"===t)return!0;var r=e.split("."),n=t.split(".");if(r.length!==n.length)return!1;for(var i=0;i<r.length;++i)if("*"!==r[i]&&"*"!==n[i]&&r[i]!==n[i])return!1;return!0}t.exports=n;var a=e("assert-plus"),o=(e("./algs"),e("crypto"),e("./fingerprint"),e("./signature"),e("./errors"),e("util"),e("./utils")),s=e("asn1"),c=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i,u={};u.cn="2.5.4.3",u.o="2.5.4.10",u.ou="2.5.4.11",u.l="2.5.4.7",u.s="2.5.4.8",u.c="2.5.4.6",u.sn="2.5.4.4",u.dc="0.9.2342.19200300.100.1.25",u.uid="0.9.2342.19200300.100.1.1",u.mail="0.9.2342.19200300.100.1.3";var l={};Object.keys(u).forEach(function(e){l[u[e]]=e}),n.prototype.toString=function(){return this.components.map(function(e){return e.name.toUpperCase()+"="+e.value}).join(", ")};var f=/[^a-zA-Z0-9 '(),+.\/:=?-]/,p=/[^\x00-\x7f]/;n.prototype.toAsn1=function(e,t){e.startSequence(t),this.components.forEach(function(t){if(e.startSequence(s.Ber.Constructor|s.Ber.Set),e.startSequence(),e.writeOID(t.oid),t.value.match(p)){var n=new r(t.value,"utf8");e.writeBuffer(n,s.Ber.Utf8String)}else t.value.match(f)?e.writeString(t.value,s.Ber.IA5String):e.writeString(t.value,s.Ber.PrintableString);e.endSequence(),e.endSequence()}),e.endSequence()},n.prototype.equals=function(e){if(!n.isIdentity(e,[1,0]))return!1;if(e.components.length!==this.components.length)return!1;for(var t=0;t<this.components.length;++t){if(this.components[t].oid!==e.components[t].oid)return!1;if(!i(this.components[t].value,e.components[t].value))return!1}return!0},n.forHost=function(e){return a.string(e,"hostname"),new n({type:"host",hostname:e,components:[{name:"cn",value:e}]})},n.forUser=function(e){return a.string(e,"uid"),new n({type:"user",uid:e,components:[{name:"uid",value:e}]})},n.forEmail=function(e){return a.string(e,"email"),new n({type:"email",email:e,components:[{name:"mail",value:e}]})},n.parseDN=function(e){return a.string(e,"dn"),new n({components:e.split(",").map(function(e){var t=(e=e.trim()).indexOf("=");return{name:e.slice(0,t).toLowerCase(),value:e.slice(t+1)}})})},n.parseAsn1=function(e,t){var r=[];e.readSequence(t);for(var i=e.offset+e.length;e.offset<i;){e.readSequence(s.Ber.Constructor|s.Ber.Set);var a=e.offset+e.length;e.readSequence();var o,c=e.readOID(),u=e.peek();switch(u){case s.Ber.PrintableString:case s.Ber.IA5String:case s.Ber.OctetString:case s.Ber.T61String:o=e.readString(u);break;case s.Ber.Utf8String:o=(o=e.readString(u,!0)).toString("utf8");break;case s.Ber.CharacterString:case s.Ber.BMPString:o=(o=e.readString(u,!0)).toString("utf16le");break;default:throw new Error("Unknown asn1 type "+u)}r.push({oid:c,value:o}),e._offset=a}return e._offset=i,new n({components:r})},n.isIdentity=function(e,t){return o.isCompatible(e,n,t)},n.prototype._sshpkApiVersion=[1,0],n._oldVersionDetect=function(e){return[1,0]}}).call(this,e("buffer").Buffer)},{"./algs":411,"./errors":415,"./fingerprint":416,"./signature":431,"./utils":433,asn1:75,"assert-plus":76,buffer:153,crypto:167,util:458}],428:[function(e,t,r){var n=e("./key"),i=e("./fingerprint"),a=e("./signature"),o=e("./private-key"),s=e("./certificate"),c=e("./identity"),u=e("./errors");t.exports={Key:n,parseKey:n.parse,Fingerprint:i,parseFingerprint:i.parse,Signature:a,parseSignature:a.parse,PrivateKey:o,parsePrivateKey:o.parse,generatePrivateKey:o.generate,Certificate:s,parseCertificate:s.parse,createSelfSignedCertificate:s.createSelfSigned,createCertificate:s.create,Identity:c,identityFromDN:c.parseDN,identityForHost:c.forHost,identityForUser:c.forUser,identityForEmail:c.forEmail,FingerprintFormatError:u.FingerprintFormatError,InvalidAlgorithmError:u.InvalidAlgorithmError,KeyParseError:u.KeyParseError,SignatureParseError:u.SignatureParseError,KeyEncryptedError:u.KeyEncryptedError,CertificateParseError:u.CertificateParseError}},{"./certificate":412,"./errors":415,"./fingerprint":416,"./identity":427,"./key":429,"./private-key":430,"./signature":431}],429:[function(e,t,r){(function(r){function n(e){a.object(e,"options"),a.arrayOfObject(e.parts,"options.parts"),a.string(e.type,"options.type"),a.optionalString(e.comment,"options.comment");var t=o.info[e.type];if("object"!=typeof t)throw new d(e.type);for(var r={},n=0;n<e.parts.length;++n){var i=e.parts[n];r[i.name]=i}this.type=e.type,this.parts=e.parts,this.part=r,this.comment=void 0,this.source=e.source,this._rfc4253Cache=e._rfc4253Cache,this._hashCache={};var s;if(this.curve=void 0,"ecdsa"===this.type){var c=this.part.curve.data.toString();this.curve=c,s=o.curves[c].size}else if("ed25519"===this.type||"curve25519"===this.type)s=256,this.curve="curve25519";else{var u=this.part[t.sizePart];s=8*(s=u.data.length)-p.countZeros(u.data)}this.size=s}t.exports=n;var i,a=e("assert-plus"),o=e("./algs"),s=e("crypto"),c=e("./fingerprint"),u=e("./signature"),l=e("./dhe").DiffieHellman,f=e("./errors"),p=e("./utils"),h=e("./private-key");try{i=e("./ed-compat")}catch(e){}var d=f.InvalidAlgorithmError,m=f.KeyParseError,g={};g.auto=e("./formats/auto"),g.pem=e("./formats/pem"),g.pkcs1=e("./formats/pkcs1"),g.pkcs8=e("./formats/pkcs8"),g.rfc4253=e("./formats/rfc4253"),g.ssh=e("./formats/ssh"),g["ssh-private"]=e("./formats/ssh-private"),g.openssh=g["ssh-private"],n.formats=g,n.prototype.toBuffer=function(e,t){return void 0===e&&(e="ssh"),a.string(e,"format"),a.object(g[e],"formats[format]"),a.optionalObject(t,"options"),"rfc4253"===e?(void 0===this._rfc4253Cache&&(this._rfc4253Cache=g.rfc4253.write(this)),this._rfc4253Cache):g[e].write(this,t)},n.prototype.toString=function(e,t){return this.toBuffer(e,t).toString()},n.prototype.hash=function(e){if(a.string(e,"algorithm"),e=e.toLowerCase(),void 0===o.hashAlgs[e])throw new d(e);if(this._hashCache[e])return this._hashCache[e];var t=s.createHash(e).update(this.toBuffer("rfc4253")).digest();return this._hashCache[e]=t,t},n.prototype.fingerprint=function(e){void 0===e&&(e="sha256"),a.string(e,"algorithm");var t={type:"key",hash:this.hash(e),algorithm:e};return new c(t)},n.prototype.defaultHashAlgorithm=function(){var e="sha1";return"rsa"===this.type&&(e="sha256"),"dsa"===this.type&&this.size>1024&&(e="sha256"),"ed25519"===this.type&&(e="sha512"),"ecdsa"===this.type&&(e=this.size<=256?"sha256":this.size<=384?"sha384":"sha512"),e},n.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),a.string(e,"hash algorithm"),"ed25519"===this.type&&void 0!==i)return new i.Verifier(this,e);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var t,n,o;try{n=e.toUpperCase(),t=s.createVerify(n)}catch(e){o=e}(void 0===t||o instanceof Error&&o.message.match(/Unknown message digest/))&&(n="RSA-",n+=e.toUpperCase(),t=s.createVerify(n)),a.ok(t,"failed to create verifier");var c=t.verify.bind(t),l=this.toBuffer("pkcs8"),f=this.curve,p=this;return t.verify=function(t,n){if(u.isSignature(t,[2,0]))return t.type===p.type&&((!t.hashAlgorithm||t.hashAlgorithm===e)&&((!t.curve||"ecdsa"!==p.type||t.curve===f)&&c(l,t.toBuffer("asn1"))));if("string"==typeof t||r.isBuffer(t))return c(l,t,n);throw u.isSignature(t,[1,0])?new Error("signature was created by too old a version of sshpk and cannot be verified"):new TypeError("signature must be a string, Buffer, or Signature object")},t},n.prototype.createDiffieHellman=function(){if("rsa"===this.type)throw new Error("RSA keys do not support Diffie-Hellman");return new l(this)},n.prototype.createDH=n.prototype.createDiffieHellman,n.parse=function(e,t,r){"string"!=typeof e&&a.buffer(e,"data"),void 0===t&&(t="auto"),a.string(t,"format"),"string"==typeof r&&(r={filename:r}),a.optionalObject(r,"options"),void 0===r&&(r={}),a.optionalString(r.filename,"options.filename"),void 0===r.filename&&(r.filename="(unnamed)"),a.object(g[t],"formats[format]");try{var n=g[t].read(e,r);return n instanceof h&&(n=n.toPublic()),n.comment||(n.comment=r.filename),n}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new m(r.filename,t,e)}},n.isKey=function(e,t){return p.isCompatible(e,n,t)},n.prototype._sshpkApiVersion=[1,5],n._oldVersionDetect=function(e){return a.func(e.toBuffer),a.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":253,"./algs":411,"./dhe":413,"./ed-compat":414,"./errors":415,"./fingerprint":416,"./formats/auto":417,"./formats/pem":419,"./formats/pkcs1":420,"./formats/pkcs8":421,"./formats/rfc4253":422,"./formats/ssh":424,"./formats/ssh-private":423,"./private-key":430,"./signature":431,"./utils":433,"assert-plus":76,crypto:167}],430:[function(e,t,r){(function(r){function n(e){o.object(e,"options"),g.call(this,e),this._pubCache=void 0}t.exports=n;var i,a,o=e("assert-plus"),s=e("./algs"),c=e("crypto"),u=(e("./fingerprint"),e("./signature")),l=e("./errors"),f=e("util"),p=e("./utils"),h=e("./dhe"),d=h.generateECDSA,m=h.generateED25519;try{i=e("./ed-compat")}catch(e){}var g=e("./key"),v=(l.InvalidAlgorithmError,l.KeyParseError),b=(l.KeyEncryptedError,{});b.auto=e("./formats/auto"),b.pem=e("./formats/pem"),b.pkcs1=e("./formats/pkcs1"),b.pkcs8=e("./formats/pkcs8"),b.rfc4253=e("./formats/rfc4253"),b["ssh-private"]=e("./formats/ssh-private"),b.openssh=b["ssh-private"],b.ssh=b["ssh-private"],f.inherits(n,g),n.formats=b,n.prototype.toBuffer=function(e,t){return void 0===e&&(e="pkcs1"),o.string(e,"format"),o.object(b[e],"formats[format]"),o.optionalObject(t,"options"),b[e].write(this,t)},n.prototype.hash=function(e){return this.toPublic().hash(e)},n.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=s.info[this.type],t=[],r=0;r<e.parts.length;++r){var n=e.parts[r];t.push(this.part[n])}return this._pubCache=new g({type:this.type,source:this,parts:t}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},n.prototype.derive=function(t){o.string(t,"type");var i,s,c;if("ed25519"===this.type&&"curve25519"===t)return void 0===a&&(a=e("tweetnacl")),0===(i=this.part.r.data)[0]&&(i=i.slice(1)),i=i.slice(0,32),c=a.box.keyPair.fromSecretKey(new Uint8Array(i)),s=new r(c.publicKey),i=r.concat([i,s]),new n({type:"curve25519",parts:[{name:"R",data:p.mpNormalize(s)},{name:"r",data:i}]});if("curve25519"===this.type&&"ed25519"===t)return void 0===a&&(a=e("tweetnacl")),0===(i=this.part.r.data)[0]&&(i=i.slice(1)),i=i.slice(0,32),c=a.sign.keyPair.fromSeed(new Uint8Array(i)),s=new r(c.publicKey),i=r.concat([i,s]),new n({type:"ed25519",parts:[{name:"R",data:p.mpNormalize(s)},{name:"r",data:i}]});throw new Error("Key derivation not supported from "+this.type+" to "+t)},n.prototype.createVerify=function(e){return this.toPublic().createVerify(e)},n.prototype.createSign=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),o.string(e,"hash algorithm"),"ed25519"===this.type&&void 0!==i)return new i.Signer(this,e);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var t,n,a;try{n=e.toUpperCase(),t=c.createSign(n)}catch(e){a=e}(void 0===t||a instanceof Error&&a.message.match(/Unknown message digest/))&&(n="RSA-",n+=e.toUpperCase(),t=c.createSign(n)),o.ok(t,"failed to create verifier");var s=t.sign.bind(t),l=this.toBuffer("pkcs1"),f=this.type,p=this.curve;return t.sign=function(){var t=s(l);return"string"==typeof t&&(t=new r(t,"binary")),t=u.parse(t,f,"asn1"),t.hashAlgorithm=e,t.curve=p,t},t},n.parse=function(e,t,r){"string"!=typeof e&&o.buffer(e,"data"),void 0===t&&(t="auto"),o.string(t,"format"),"string"==typeof r&&(r={filename:r}),o.optionalObject(r,"options"),void 0===r&&(r={}),o.optionalString(r.filename,"options.filename"),void 0===r.filename&&(r.filename="(unnamed)"),o.object(b[t],"formats[format]");try{var i=b[t].read(e,r);return o.ok(i instanceof n,"key is not a private key"),i.comment||(i.comment=r.filename),i}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new v(r.filename,t,e)}},n.isPrivateKey=function(e,t){return p.isCompatible(e,n,t)},n.generate=function(e,t){switch(void 0===t&&(t={}),o.object(t,"options"),e){case"ecdsa":return void 0===t.curve&&(t.curve="nistp256"),o.string(t.curve,"options.curve"),d(t.curve);case"ed25519":return m();default:throw new Error('Key generation not supported with key type "'+e+'"')}},n.prototype._sshpkApiVersion=[1,4],n._oldVersionDetect=function(e){return o.func(e.toPublic),o.func(e.createSign),e.derive?[1,3]:e.defaultHashAlgorithm?[1,2]:e.formats.auto?[1,1]:[1,0]}}).call(this,e("buffer").Buffer)},{"./algs":411,"./dhe":413,"./ed-compat":414,"./errors":415,"./fingerprint":416,"./formats/auto":417,"./formats/pem":419,"./formats/pkcs1":420,"./formats/pkcs8":421,"./formats/rfc4253":422,"./formats/ssh-private":423,"./key":429,"./signature":431,"./utils":433,"assert-plus":76,buffer:153,crypto:167,tweetnacl:452,util:458}],431:[function(e,t,r){(function(r){function n(e){c.object(e,"options"),c.arrayOfObject(e.parts,"options.parts"),c.string(e.type,"options.type");for(var t={},r=0;r<e.parts.length;++r){var n=e.parts[r];t[n.name]=n}this.type=e.type,this.hashAlgorithm=e.hashAlgo,this.curve=e.curve,this.parts=e.parts,this.part=t}function i(e,t,r,i){if("ssh"===r){try{var a=new p({buffer:e}),o=a.readString()}catch(e){}if(void 0!==a){var s="SSH signature does not match expected type (expected "+t+", got "+o+")";switch(o){case"ssh-rsa":c.strictEqual(t,"rsa",s),i.hashAlgo="sha1";break;case"rsa-sha2-256":c.strictEqual(t,"rsa",s),i.hashAlgo="sha256";break;case"rsa-sha2-512":c.strictEqual(t,"rsa",s),i.hashAlgo="sha512";break;case"ssh-ed25519":c.strictEqual(t,"ed25519",s),i.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature type: "+o)}var u=a.readPart();return c.ok(a.atEnd(),"extra trailing bytes"),u.name="sig",i.parts.push(u),new n(i)}}return i.parts.push({name:"sig",data:e}),new n(i)}function a(e,t,r,i){var a=new f.BerReader(e);a.readSequence();var o=a.readString(f.Ber.Integer,!0),s=a.readString(f.Ber.Integer,!0);return i.parts.push({name:"r",data:l.mpNormalize(o)}),i.parts.push({name:"s",data:l.mpNormalize(s)}),new n(i)}function o(e,t,r,i){if(40!=e.length){var a=new p({buffer:e}),o=a.readBuffer();"ssh-dss"===o.toString("ascii")&&(o=a.readBuffer()),c.ok(a.atEnd(),"extra trailing bytes"),c.strictEqual(o.length,40,"invalid inner length"),e=o}return i.parts.push({name:"r",data:e.slice(0,20)}),i.parts.push({name:"s",data:e.slice(20,40)}),new n(i)}function s(e,t,r,i){var a,o,s=new p({buffer:e}),u=s.readBuffer(),l=u.toString("ascii");if("ecdsa-"===l.slice(0,6)){var f=l.split("-");switch(c.strictEqual(f[0],"ecdsa"),c.strictEqual(f[1],"sha2"),i.curve=f[2],i.curve){case"nistp256":i.hashAlgo="sha256";break;case"nistp384":i.hashAlgo="sha384";break;case"nistp521":i.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+i.curve)}u=s.readBuffer(),c.ok(s.atEnd(),"extra trailing bytes on outer"),a=(s=new p({buffer:u})).readPart()}else a={data:u};return o=s.readPart(),c.ok(s.atEnd(),"extra trailing bytes"),a.name="r",o.name="s",i.parts.push(a),i.parts.push(o),new n(i)}t.exports=n;var c=e("assert-plus"),u=(e("./algs"),e("crypto"),e("./errors")),l=e("./utils"),f=e("asn1"),p=e("./ssh-buffer"),h=u.InvalidAlgorithmError,d=u.SignatureParseError;n.prototype.toBuffer=function(e){void 0===e&&(e="asn1"),c.string(e,"format");var t,n="ssh-"+this.type;switch(this.type){case"rsa":switch(this.hashAlgorithm){case"sha256":n="rsa-sha2-256";break;case"sha512":n="rsa-sha2-512";break;case"sha1":case void 0:break;default:throw new Error("SSH signature format does not support hash algorithm "+this.hashAlgorithm)}return"ssh"===e?((t=new p({})).writeString(n),t.writePart(this.part.sig),t.toBuffer()):this.part.sig.data;case"ed25519":return"ssh"===e?((t=new p({})).writeString(n),t.writePart(this.part.sig),t.toBuffer()):this.part.sig.data;case"dsa":case"ecdsa":var i,a;if("asn1"===e){var o=new f.BerWriter;return o.startSequence(),i=l.mpNormalize(this.part.r.data),a=l.mpNormalize(this.part.s.data),o.writeBuffer(i,f.Ber.Integer),o.writeBuffer(a,f.Ber.Integer),o.endSequence(),o.buffer}if("ssh"===e&&"dsa"===this.type){if((t=new p({})).writeString("ssh-dss"),(i=this.part.r.data).length>20&&0===i[0]&&(i=i.slice(1)),(a=this.part.s.data).length>20&&0===a[0]&&(a=a.slice(1)),this.hashAlgorithm&&"sha1"!==this.hashAlgorithm||i.length+a.length!==40)throw new Error("OpenSSH only supports DSA signatures with SHA1 hash");return t.writeBuffer(r.concat([i,a])),t.toBuffer()}if("ssh"===e&&"ecdsa"===this.type){var s=new p({});i=this.part.r.data,s.writeBuffer(i),s.writePart(this.part.s),t=new p({});var u;0===i[0]&&(i=i.slice(1));var h=8*i.length;return 256===h?u="nistp256":384===h?u="nistp384":528===h&&(u="nistp521"),t.writeString("ecdsa-sha2-"+u),t.writeBuffer(s.toBuffer()),t.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}},n.prototype.toString=function(e){return c.optionalString(e,"format"),this.toBuffer(e).toString("base64")},n.parse=function(e,t,n){"string"==typeof e&&(e=new r(e,"base64")),c.buffer(e,"data"),c.string(n,"format"),c.string(t,"type");var u={};u.type=t.toLowerCase(),u.parts=[];try{switch(c.ok(e.length>0,"signature must not be empty"),u.type){case"rsa":case"ed25519":return i(e,t,n,u);case"dsa":case"ecdsa":return"asn1"===n?a(e,0,0,u):"dsa"===u.type?o(e,0,0,u):s(e,0,0,u);default:throw new h(t)}}catch(e){if(e instanceof h)throw e;throw new d(t,n,e)}},n.isSignature=function(e,t){return l.isCompatible(e,n,t)},n.prototype._sshpkApiVersion=[2,1],n._oldVersionDetect=function(e){return c.func(e.toBuffer),e.hasOwnProperty("hashAlgorithm")?[2,0]:[1,0]}}).call(this,e("buffer").Buffer)},{"./algs":411,"./errors":415,"./ssh-buffer":432,"./utils":433,asn1:75,"assert-plus":76,buffer:153,crypto:167}],432:[function(e,t,r){(function(r){function n(e){i.object(e,"options"),void 0!==e.buffer&&i.buffer(e.buffer,"options.buffer"),this._size=e.buffer?e.buffer.length:1024,this._buffer=e.buffer||new r(this._size),this._offset=0}t.exports=n;var i=e("assert-plus");n.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},n.prototype.atEnd=function(){return this._offset>=this._buffer.length},n.prototype.remainder=function(){return this._buffer.slice(this._offset)},n.prototype.skip=function(e){this._offset+=e},n.prototype.expand=function(){this._size*=2;var e=new r(this._size);this._buffer.copy(e,0),this._buffer=e},n.prototype.readPart=function(){return{data:this.readBuffer()}},n.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4,i.ok(this._offset+e<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var t=this._buffer.slice(this._offset,this._offset+e);return this._offset+=e,t},n.prototype.readString=function(){return this.readBuffer().toString()},n.prototype.readCString=function(){for(var e=this._offset;e<this._buffer.length&&0!==this._buffer[e];)e++;i.ok(e<this._buffer.length,"c string does not terminate");var t=this._buffer.slice(this._offset,e).toString();return this._offset=e+1,t},n.prototype.readInt=function(){var e=this._buffer.readUInt32BE(this._offset);return this._offset+=4,e},n.prototype.readInt64=function(){i.ok(this._offset+8<this._buffer.length,"buffer not long enough to read Int64");var e=this._buffer.slice(this._offset,this._offset+8);return this._offset+=8,e},n.prototype.readChar=function(){return this._buffer[this._offset++]},n.prototype.writeBuffer=function(e){for(;this._offset+4+e.length>this._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},n.prototype.writeString=function(e){this.writeBuffer(new r(e,"utf8"))},n.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},n.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},n.prototype.writeInt64=function(e){if(i.buffer(e,"value"),e.length>8){for(var t=e.slice(0,e.length-8),r=0;r<t.length;++r)i.strictEqual(t[r],0,"must fit in 64 bits of precision");e=e.slice(e.length-8,e.length)}for(;this._offset+8>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=8},n.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},n.prototype.writePart=function(e){this.writeBuffer(e.data)},n.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length}}).call(this,e("buffer").Buffer)},{"assert-plus":76,buffer:153}],433:[function(e,t,r){(function(r){function n(e,t,r,n){if(void 0===n&&(n="object"),o.ok(e,n+" must not be null"),o.object(e,n+" must be an object"),void 0===r&&(r=t.prototype._sshpkApiVersion),!(e instanceof t&&t.prototype._sshpkApiVersion[0]==r[0])){for(var i=Object.getPrototypeOf(e),a=0;i.constructor.name!==t.name;)i=Object.getPrototypeOf(i),o.ok(i&&++a<=u,n+" must be a "+t.name+" instance");o.strictEqual(i.constructor.name,t.name,n+" must be a "+t.name+" instance");var s=i._sshpkApiVersion;void 0===s&&(s=t._oldVersionDetect(e)),o.ok(s[0]==r[0]&&s[1]>=r[1],n+" must be compatible with "+t.name+" klass version "+r[0]+"."+r[1])}}function i(e){for(o.buffer(e);e.length>1&&0===e[0]&&0==(128&e[1]);)e=e.slice(1);if(128==(128&e[0])){var t=new r(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function a(e){var t=new r(e.toByteArray());return t=i(t)}t.exports={bufferSplit:function(e,t){o.buffer(e),o.string(t);for(var r=[],n=0,i=0,a=0;a<e.length;++a)if(e[a]===t.charCodeAt(i)?++i:i=e[a]===t.charCodeAt(0)?1:0,i>=t.length){var s=a+1;r.push(e.slice(n,s-i)),n=s,i=0}return n<=e.length&&r.push(e.slice(n,e.length)),r},addRSAMissing:function(t){o.object(t),n(t,s,[1,1]);try{var r=e("jsbn").BigInteger}catch(e){throw new Error("To write a PEM private key from this source, the node jsbn lib is required.")}var i,c=new r(t.part.d.data);if(!t.part.dmodp){var u=new r(t.part.p.data);i=a(c.mod(u.subtract(1))),t.part.dmodp={name:"dmodp",data:i},t.parts.push(t.part.dmodp)}if(!t.part.dmodq){var l=new r(t.part.q.data);i=a(c.mod(l.subtract(1))),t.part.dmodq={name:"dmodq",data:i},t.parts.push(t.part.dmodq)}},calculateDSAPublic:function(t,r,n){o.buffer(t),o.buffer(r),o.buffer(n);try{var i=e("jsbn").BigInteger}catch(e){throw new Error("To load a PKCS#8 format DSA private key, the node jsbn library is required.")}return t=new i(t),r=new i(r),n=new i(n),a(t.modPow(n,r))},mpNormalize:i,ecNormalize:function(e,t){if(o.buffer(e),0===e[0]&&4===e[1])return t?e:e.slice(1);if(4===e[0]){if(!t)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error("Compressed elliptic curve points are not supported");if(4!==e[0])throw new Error("Not a valid elliptic curve point");if(!t)return e}var n=new r(e.length+1);return n[0]=0,e.copy(n,1),n},countZeros:function(e){for(var t=0,r=8;t<e.length;){var n=1<<r;if((e[t]&n)===n)break;--r<0&&(t++,r=8)}return 8*t+(8-r)-1},assertCompatible:n,isCompatible:function(e,t,r){if(null===e||"object"!=typeof e)return!1;if(void 0===r&&(r=t.prototype._sshpkApiVersion),e instanceof t&&t.prototype._sshpkApiVersion[0]==r[0])return!0;for(var n=Object.getPrototypeOf(e),i=0;n.constructor.name!==t.name;)if(!(n=Object.getPrototypeOf(n))||++i>u)return!1;if(n.constructor.name!==t.name)return!1;var a=n._sshpkApiVersion;return void 0===a&&(a=t._oldVersionDetect(e)),!(a[0]!=r[0]||a[1]<r[1])},opensslKeyDeriv:function(e,t,n,i){o.buffer(t,"salt"),o.buffer(n,"passphrase"),o.number(i,"iteration count");var a=l[e];o.object(a,"supported cipher"),t=t.slice(0,f);for(var s,u,p,h=new r(0);h.length<a.key+a.iv;){p=[],u&&p.push(u),p.push(n),p.push(t),s=r.concat(p);for(var d=0;d<i;++d)s=c.createHash("md5").update(s).digest();h=r.concat([h,s]),u=s}return{key:h.slice(0,a.key),iv:h.slice(a.key,a.key+a.iv)}},opensshCipherInfo:function(e){var t={};switch(e){case"3des-cbc":t.keySize=24,t.blockSize=8,t.opensslName="des-ede3-cbc";break;case"blowfish-cbc":t.keySize=16,t.blockSize=8,t.opensslName="bf-cbc";break;case"aes128-cbc":case"aes128-ctr":case"aes128-gcm@openssh.com":t.keySize=16,t.blockSize=16,t.opensslName="aes-128-"+e.slice(7,10);break;case"aes192-cbc":case"aes192-ctr":case"aes192-gcm@openssh.com":t.keySize=24,t.blockSize=16,t.opensslName="aes-192-"+e.slice(7,10);break;case"aes256-cbc":case"aes256-ctr":case"aes256-gcm@openssh.com":t.keySize=32,t.blockSize=16,t.opensslName="aes-256-"+e.slice(7,10);break;default:throw new Error('Unsupported openssl cipher "'+e+'"')}return t}};var o=e("assert-plus"),s=e("./private-key"),c=e("crypto"),u=3,l={"des-ede3-cbc":{key:7,iv:8},"aes-128-cbc":{key:16,iv:16}},f=8}).call(this,e("buffer").Buffer)},{"./private-key":430,"assert-plus":76,buffer:153,crypto:167,jsbn:257}],434:[function(e,t,r){function n(){i.call(this)}t.exports=n;var i=e("events").EventEmitter;e("inherits")(n,i),n.Readable=e("readable-stream/readable.js"),n.Writable=e("readable-stream/writable.js"),n.Duplex=e("readable-stream/duplex.js"),n.Transform=e("readable-stream/transform.js"),n.PassThrough=e("readable-stream/passthrough.js"),n.Stream=n,n.prototype.pipe=function(e,t){function r(t){e.writable&&!1===e.write(t)&&u.pause&&u.pause()}function n(){u.readable&&u.resume&&u.resume()}function a(){l||(l=!0,e.end())}function o(){l||(l=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(c(),0===i.listenerCount(this,"error"))throw e}function c(){u.removeListener("data",r),e.removeListener("drain",n),u.removeListener("end",a),u.removeListener("close",o),u.removeListener("error",s),e.removeListener("error",s),u.removeListener("end",c),u.removeListener("close",c),e.removeListener("close",c)}var u=this;u.on("data",r),e.on("drain",n),e._isStdio||t&&!1===t.end||(u.on("end",a),u.on("close",o));var l=!1;return u.on("error",s),e.on("error",s),u.on("end",c),u.on("close",c),e.on("close",c),e.emit("pipe",u),e}},{events:200,inherits:252,"readable-stream/duplex.js":371,"readable-stream/passthrough.js":381,"readable-stream/readable.js":382,"readable-stream/transform.js":383,"readable-stream/writable.js":384}],435:[function(e,t,r){(function(t){var n=e("./lib/request"),i=e("xtend"),a=e("builtin-status-codes"),o=e("url"),s=r;s.request=function(e,r){e="string"==typeof e?o.parse(e):i(e);var a=-1===t.location.protocol.search(/^https?:$/)?"http:":"",s=e.protocol||a,c=e.hostname||e.host,u=e.port,l=e.path||"/";c&&-1!==c.indexOf(":")&&(c="["+c+"]"),e.url=(c?s+"//"+c:"")+(u?":"+u:"")+l,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var f=new n(e);return r&&f.on("response",r),f},s.get=function(e,t){var r=s.request(e,t);return r.end(),r},s.Agent=function(){},s.Agent.defaultMaxSockets=4,s.STATUS_CODES=a,s.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,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":437,"builtin-status-codes":154,url:453,xtend:466}],436:[function(e,t,r){(function(e){function t(){if(void 0!==a)return a;if(e.XMLHttpRequest){a=new e.XMLHttpRequest;try{a.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){a=null}}else a=null;return a}function n(e){var r=t();if(!r)return!1;try{return r.responseType=e,r.responseType===e}catch(e){}return!1}function i(e){return"function"==typeof e}r.fetch=i(e.fetch)&&i(e.ReadableStream),r.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),r.blobConstructor=!0}catch(e){}var a,o=void 0!==e.ArrayBuffer,s=o&&i(e.ArrayBuffer.prototype.slice);r.arraybuffer=r.fetch||o&&n("arraybuffer"),r.msstream=!r.fetch&&s&&n("ms-stream"),r.mozchunkedarraybuffer=!r.fetch&&o&&n("moz-chunked-arraybuffer"),r.overrideMimeType=r.fetch||!!t()&&i(t().overrideMimeType),r.vbArray=i(e.VBArray),a=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],437:[function(e,t,r){(function(r,n,i){function a(e,t){return s.fetch&&t?"fetch":s.mozchunkedarraybuffer?"moz-chunked-arraybuffer":s.msstream?"ms-stream":s.arraybuffer&&e?"arraybuffer":s.vbArray&&e?"text:vbarray":"text"}function o(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}var s=e("./capability"),c=e("inherits"),u=e("./response"),l=e("readable-stream"),f=e("to-arraybuffer"),p=u.IncomingMessage,h=u.readyStates,d=t.exports=function(e){var t=this;l.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+new i(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(r){t.setHeader(r,e.headers[r])});var r,n=!0;if("disable-fetch"===e.mode||"timeout"in e)n=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!s.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}t._mode=a(r,n),t.on("finish",function(){t._onFinish()})};c(d,l.Writable),d.prototype.setHeader=function(e,t){var r=this,n=e.toLowerCase();-1===m.indexOf(n)&&(r._headers[n]={name:e,value:t})},d.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},d.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,a=e._headers,o=null;"GET"!==t.method&&"HEAD"!==t.method&&(o=s.blobConstructor?new n.Blob(e._body.map(function(e){return f(e)}),{type:(a["content-type"]||{}).value||""}):i.concat(e._body).toString());var c=[];if(Object.keys(a).forEach(function(e){var t=a[e].name,r=a[e].value;Array.isArray(r)?r.forEach(function(e){c.push([t,e])}):c.push([t,r])}),"fetch"===e._mode)n.fetch(e._opts.url,{method:e._opts.method,headers:c,body:o||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin"}).then(function(t){e._fetchResponse=t,e._connect()},function(t){e.emit("error",t)});else{var u=e._xhr=new n.XMLHttpRequest;try{u.open(e._opts.method,e._opts.url,!0)}catch(t){return void r.nextTick(function(){e.emit("error",t)})}"responseType"in u&&(u.responseType=e._mode.split(":")[0]),"withCredentials"in u&&(u.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in u&&u.overrideMimeType("text/plain; charset=x-user-defined"),"timeout"in t&&(u.timeout=t.timeout,u.ontimeout=function(){e.emit("timeout")}),c.forEach(function(e){u.setRequestHeader(e[0],e[1])}),e._response=null,u.onreadystatechange=function(){switch(u.readyState){case h.LOADING:case h.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(u.onprogress=function(){e._onXHRProgress()}),u.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{u.send(o)}catch(t){return void r.nextTick(function(){e.emit("error",t)})}}}},d.prototype._onXHRProgress=function(){var e=this;o(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},d.prototype._connect=function(){var e=this;e._destroyed||(e._response=new p(e._xhr,e._fetchResponse,e._mode),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},d.prototype._write=function(e,t,r){this._body.push(e),r()},d.prototype.abort=d.prototype.destroy=function(){var e=this;e._destroyed=!0,e._response&&(e._response._destroyed=!0),e._xhr&&e._xhr.abort()},d.prototype.end=function(e,t,r){var n=this;"function"==typeof e&&(r=e,e=void 0),l.Writable.prototype.end.call(n,e,t,r)},d.prototype.flushHeaders=function(){},d.prototype.setTimeout=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var m=["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,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":436,"./response":438,_process:346,buffer:153,inherits:252,"readable-stream":382,"to-arraybuffer":443}],438:[function(e,t,r){(function(t,n,i){var a=e("./capability"),o=e("inherits"),s=e("readable-stream"),c=r.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},u=r.IncomingMessage=function(e,r,n){var o=this;if(s.Readable.call(o),o._mode=n,o.headers={},o.rawHeaders=[],o.trailers={},o.rawTrailers=[],o.on("end",function(){t.nextTick(function(){o.emit("close")})}),"fetch"===n){o._fetchResponse=r,o.url=r.url,o.statusCode=r.status,o.statusMessage=r.statusText,r.headers.forEach(function(e,t){o.headers[t.toLowerCase()]=e,o.rawHeaders.push(t,e)});var c=r.body.getReader();function u(){c.read().then(function(e){o._destroyed||(e.done?o.push(null):(o.push(new i(e.value)),u()))}).catch(function(e){o.emit("error",e)})}u()}else if(o._xhr=e,o._pos=0,o.url=e.responseURL,o.statusCode=e.status,o.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var r=t[1].toLowerCase();"set-cookie"===r?(void 0===o.headers[r]&&(o.headers[r]=[]),o.headers[r].push(t[2])):void 0!==o.headers[r]?o.headers[r]+=", "+t[2]:o.headers[r]=t[2],o.rawHeaders.push(t[1],t[2])}}),o._charset="x-user-defined",!a.overrideMimeType){var l=o.rawHeaders["mime-type"];if(l){var f=l.match(/;\s*charset=([^;])(;|$)/);f&&(o._charset=f[1].toLowerCase())}o._charset||(o._charset="utf-8")}};o(u,s.Readable),u.prototype._read=function(){},u.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==c.DONE)break;try{r=new n.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new i(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var a=r.substr(e._pos);if("x-user-defined"===e._charset){for(var o=new i(a.length),s=0;s<a.length;s++)o[s]=255&a.charCodeAt(s);e.push(o)}else e.push(a,e._charset);e._pos=r.length}break;case"arraybuffer":if(t.readyState!==c.DONE||!t.response)break;r=t.response,e.push(new i(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=t.response,t.readyState!==c.LOADING||!r)break;e.push(new i(new Uint8Array(r)));break;case"ms-stream":if(r=t.response,t.readyState!==c.LOADING)break;var u=new n.MSStreamReader;u.onprogress=function(){u.result.byteLength>e._pos&&(e.push(new i(new Uint8Array(u.result.slice(e._pos)))),e._pos=u.result.byteLength)},u.onload=function(){e.push(null)},u.readAsArrayBuffer(r)}e._xhr.readyState===c.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":436,_process:346,buffer:153,inherits:252,"readable-stream":382}],439:[function(e,t,r){function n(e){if(e&&!c(e))throw new Error("Unknown encoding: "+e)}function i(e){return e.toString(this.encoding)}function a(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function o(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var s=e("buffer").Buffer,c=s.isEncoding||function(e){switch(e&&e.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!0;default:return!1}},u=r.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),n(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=a;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=o;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";if(e=e.slice(r,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);n=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,n),n-=this.charReceived);var n=(t+=e.toString(this.encoding,0,n)).length-1,i=t.charCodeAt(n);if(i>=55296&&i<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,n)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t}},{buffer:153}],440:[function(e,t,r){(function(r){function n(e,t){if(!(this instanceof n))return new n(e,t);s.call(this),null==e&&(e="utf8"),this.readable=this.writable=!0,this.paused=!1,this.toEncoding=null==t?e:t,this.fromEncoding=null==t?"":e,this.decoder=new i(this.toEncoding)}function i(e){switch(c.call(this,e),this.encoding){case"base64":this.write=a,this.alignedBuffer=new r(3),this.alignedBytes=0}}function a(e){var t=(this.alignedBytes+e.length)%this.alignedBuffer.length;if(!t&&!this.alignedBytes)return e.toString(this.encoding);var n=new r(this.alignedBytes+e.length-t);return this.alignedBuffer.copy(n,0,0,this.alignedBytes),e.copy(n,this.alignedBytes,0,e.length-t),e.copy(this.alignedBuffer,0,e.length-t,e.length),this.alignedBytes=t,n.toString(this.encoding)}var o=e("util"),s=e("stream"),c=e("string_decoder").StringDecoder;t.exports=n,t.exports.AlignedStringDecoder=i,o.inherits(n,s),n.prototype.write=function(e){if(!this.writable){var t=new Error("stream not writable");return t.code="EPIPE",this.emit("error",t),!1}this.fromEncoding&&(r.isBuffer(e)&&(e=e.toString()),e=new r(e,this.fromEncoding));var n=this.decoder.write(e);return n.length&&this.emit("data",n),!this.paused},n.prototype.flush=function(){if(this.decoder.flush){var e=this.decoder.flush();e.length&&this.emit("data",e)}},n.prototype.end=function(){(this.writable||this.readable)&&(this.flush(),this.emit("end"),this.writable=this.readable=!1,this.destroy())},n.prototype.destroy=function(){this.decoder=null,this.writable=this.readable=!1,this.emit("close")},n.prototype.pause=function(){this.paused=!0},n.prototype.resume=function(){this.paused&&this.emit("drain"),this.paused=!1},o.inherits(i,c),i.prototype.flush=function(){if(!this.alignedBuffer||!this.alignedBytes)return"";var e=this.alignedBuffer.toString(this.encoding,0,this.alignedBytes);return this.alignedBytes=0,e}}).call(this,e("buffer").Buffer)},{buffer:153,stream:434,string_decoder:439,util:458}],441:[function(e,t,r){"use strict";var n=e("ansi-regex")();t.exports=function(e){return"string"==typeof e?e.replace(n,""):e}},{"ansi-regex":52}],442:[function(e,t,r){(function(e){"use strict";var r=e.argv,n=r.indexOf("--"),i=function(e){e="--"+e;var t=r.indexOf(e);return-1!==t&&(-1===n||t<n)};t.exports="FORCE_COLOR"in e.env||!(i("no-color")||i("no-colors")||i("color=false"))&&(!!(i("color")||i("colors")||i("color=true")||i("color=always"))||!(e.stdout&&!e.stdout.isTTY)&&("win32"===e.platform||("COLORTERM"in e.env||"dumb"!==e.env.TERM&&!!/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(e.env.TERM))))}).call(this,e("_process"))},{_process:346}],443:[function(e,t,r){var n=e("buffer").Buffer;t.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(n.isBuffer(e)){for(var t=new Uint8Array(e.length),r=e.length,i=0;i<r;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},{buffer:153}],444:[function(e,t,r){"use strict";function n(e){if(e){var t=e.split(j);if(t){for(var r=null,n=null,i=null,a=null,o=null,s=null,c=0;c<t.length;c++){var u=t[c].trim();if(u.length){var l;if(null===i&&(l=T.exec(u))){if(r=parseInt(l[1],10),n=parseInt(l[2],10),i=parseInt(l[3],10),r>23||n>59||i>59)return}else if(null===a&&(l=P.exec(u))){if((a=parseInt(l,10))<1||a>31)return}else if(null===o&&(l=C.exec(u)))o=z[l[1].toLowerCase()];else if(null===s&&(l=D.exec(u))&&(70<=(s=parseInt(l[0],10))&&s<=99?s+=1900:0<=s&&s<=69&&(s+=2e3),s<1601))return}}if(null!==i&&null!==a&&null!==o&&null!==s)return new Date(Date.UTC(s,o,a,r,n,i))}}}function i(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var r=e.getUTCHours();r=r>=10?r:"0"+r;var n=e.getUTCMinutes();n=n>=10?n:"0"+n;var i=e.getUTCSeconds();return i=i>=10?i:"0"+i,B[e.getUTCDay()]+", "+t+" "+R[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+r+":"+n+":"+i+" GMT"}function a(e){return null==e?null:(e=e.trim().replace(/^\./,""),g&&/[^\u0001-\u007f]/.test(e)&&(e=g.toASCII(e)),e.toLowerCase())}function o(e,t,r){if(null==e||null==t)return null;if(!1!==r&&(e=a(e),t=a(t)),e==t)return!0;if(v.isIP(e))return!1;var n=e.indexOf(t);return!(n<=0)&&(e.length===t.length+n&&"."===e.substr(n-1,1))}function s(e){if(!e||"/"!==e.substr(0,1))return"/";if("/"===e)return e;var t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}function c(e,t){t&&"object"==typeof t||(t={});var r=(e=e.trim()).indexOf(";"),i=(t.loose?I:F).exec(-1===r?e:e.substr(0,r));if(i){var a=new h;if(i[1]?a.key=i[2].trim():a.key="",a.value=i[3].trim(),!A.test(a.key)&&!A.test(a.value)){if(-1===r)return a;var o=e.slice(r+1).trim();if(0===o.length)return a;for(var s=o.split(";");s.length;){var c=s.shift().trim();if(0!==c.length){var u,l,f=c.indexOf("=");switch(-1===f?(u=c,l=null):(u=c.substr(0,f),l=c.substr(f+1)),u=u.trim().toLowerCase(),l&&(l=l.trim()),u){case"expires":if(l){var p=n(l);p&&(a.expires=p)}break;case"max-age":if(l&&/^-?[0-9]+$/.test(l)){var d=parseInt(l,10);a.setMaxAge(d)}break;case"domain":if(l){var m=l.trim().replace(/^\./,"");m&&(a.domain=m.toLowerCase())}break;case"path":a.path=l&&"/"===l[0]?l:null;break;case"secure":a.secure=!0;break;case"httponly":a.httpOnly=!0;break;default:a.extensions=a.extensions||[],a.extensions.push(c)}}}return a}}}function u(e){var t;try{t=JSON.parse(e)}catch(e){return e}return t}function l(e){if(!e)return null;var t;if("string"==typeof e){if((t=u(e))instanceof Error)return null}else t=e;for(var r=new h,n=0;n<h.serializableProperties.length;n++){var i=h.serializableProperties[n];void 0!==t[i]&&t[i]!==h.prototype[i]&&("expires"===i||"creation"===i||"lastAccessed"===i?null===t[i]?r[i]=null:r[i]="Infinity"==t[i]?"Infinity":new Date(t[i]):r[i]=t[i])}return r}function f(e,t){var r=0,n=e.path?e.path.length:0;return 0!=(r=(t.path?t.path.length:0)-n)?r:0!=(r=(e.creation?e.creation.getTime():q)-(t.creation?t.creation.getTime():q))?r:r=e.creationIndex-t.creationIndex}function p(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(e){}return b(e)}function h(e){e=e||{},Object.keys(e).forEach(function(t){h.prototype.hasOwnProperty(t)&&h.prototype[t]!==e[t]&&"_"!==t.substr(0,1)&&(this[t]=e[t])},this),this.creation=this.creation||new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++h.cookiesCreated})}function d(e,t){"boolean"==typeof t?t={rejectPublicSuffixes:t}:null==t&&(t={}),null!=t.rejectPublicSuffixes&&(this.rejectPublicSuffixes=t.rejectPublicSuffixes),null!=t.looseMode&&(this.enableLooseMode=t.looseMode),e||(e=new x),this.store=e}function m(e){return function(){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");var t,r,n=Array.prototype.slice.call(arguments);if(n.push(function(e,n){t=e,r=n}),this[e].apply(this,n),t)throw t;return r}}var g,v=e("net"),b=e("url").parse,y=e("./pubsuffix"),_=e("./store").Store,x=e("./memstore").MemoryCookieStore,k=e("./pathMatch").pathMatch,w=e("../package.json").version;try{g=e("punycode")}catch(e){console.warn("cookie: can't load punycode; won't use punycode for domain normalization")}var j=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,S=/[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]/,E=new RegExp("^"+S.source+"+$"),A=/[\x00-\x1F]/,F=/^(([^=;]+))\s{0,256}=\s*([^\n\r\0]*)/,I=/^((?:=)?([^=;]*)\s{0,256}=\s*)?([^\n\r\0]*)/,O=/[\x20-\x3A\x3C-\x7E]+/,P=/^(\d{1,2})[^\d]*$/,T=/^(\d{1,2})[^\d]*:(\d{1,2})[^\d]*:(\d{1,2})[^\d]*$/,C=/^(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i,z={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],B=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],D=/^(\d{2}|\d{4})$/,q=2147483647e3;h.cookiesCreated=0,h.parse=c,h.fromJSON=l,h.prototype.key="",h.prototype.value="",h.prototype.expires="Infinity",h.prototype.maxAge=null,h.prototype.domain=null,h.prototype.path=null,h.prototype.secure=!1,h.prototype.httpOnly=!1,h.prototype.extensions=null,h.prototype.hostOnly=null,h.prototype.pathIsDefault=null,h.prototype.creation=null,h.prototype.lastAccessed=null,Object.defineProperty(h.prototype,"creationIndex",{configurable:!0,enumerable:!1,writable:!0,value:0}),h.serializableProperties=Object.keys(h.prototype).filter(function(e){return!(h.prototype[e]instanceof Function||"creationIndex"===e||"_"===e.substr(0,1))}),h.prototype.inspect=function(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(null!=this.hostOnly?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'},h.prototype.toJSON=function(){for(var e={},t=h.serializableProperties,r=0;r<t.length;r++){var n=t[r];this[n]!==h.prototype[n]&&("expires"===n||"creation"===n||"lastAccessed"===n?null===this[n]?e[n]=null:e[n]="Infinity"==this[n]?"Infinity":this[n].toISOString():"maxAge"===n?null!==this[n]&&(e[n]=this[n]==1/0||this[n]==-1/0?this[n].toString():this[n]):this[n]!==h.prototype[n]&&(e[n]=this[n]))}return e},h.prototype.clone=function(){return l(this.toJSON())},h.prototype.validate=function(){if(!E.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||n(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!O.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\.$/))return!1;if(null==y.getPublicSuffix(e))return!1}return!0},h.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=n(e)||"Infinity"},h.prototype.setMaxAge=function(e){this.maxAge=e===1/0||e===-1/0?e.toString():e},h.prototype.cookieString=function(){var e=this.value;return null==e&&(e=""),""===this.key?e:this.key+"="+e},h.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(this.expires instanceof Date?e+="; Expires="+i(this.expires):e+="; Expires="+this.expires),null!=this.maxAge&&this.maxAge!=1/0&&(e+="; Max-Age="+this.maxAge),this.domain&&!this.hostOnly&&(e+="; Domain="+this.domain),this.path&&(e+="; Path="+this.path),this.secure&&(e+="; Secure"),this.httpOnly&&(e+="; HttpOnly"),this.extensions&&this.extensions.forEach(function(t){e+="; "+t}),e},h.prototype.TTL=function(e){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;var t=this.expires;return t!=1/0?(t instanceof Date||(t=n(t)||1/0),t==1/0?1/0:t.getTime()-(e||Date.now())):1/0},h.prototype.expiryTime=function(e){if(null!=this.maxAge){var t=e||this.creation||new Date,r=this.maxAge<=0?-1/0:1e3*this.maxAge;return t.getTime()+r}return this.expires==1/0?1/0:this.expires.getTime()},h.prototype.expiryDate=function(e){var t=this.expiryTime(e);return t==1/0?new Date(q):t==-1/0?new Date(0):new Date(t)},h.prototype.isPersistent=function(){return null!=this.maxAge||this.expires!=1/0},h.prototype.cdomain=h.prototype.canonicalizedDomain=function(){return null==this.domain?null:a(this.domain)},d.prototype.store=null,d.prototype.rejectPublicSuffixes=!0,d.prototype.enableLooseMode=!1;var M=[];M.push("setCookie"),d.prototype.setCookie=function(e,t,r,n){var i,c=p(t);r instanceof Function&&(n=r,r={});var u=a(c.hostname),l=this.enableLooseMode;if(null!=r.loose&&(l=r.loose),e instanceof h||(e=h.parse(e,{loose:l})),!e)return i=new Error("Cookie failed to parse"),n(r.ignoreError?null:i);var f=r.now||new Date;if(this.rejectPublicSuffixes&&e.domain&&null==y.getPublicSuffix(e.cdomain()))return i=new Error("Cookie has domain set to a public suffix"),n(r.ignoreError?null:i);if(e.domain){if(!o(u,e.cdomain(),!1))return i=new Error("Cookie not in this host's domain. Cookie:"+e.cdomain()+" Request:"+u),n(r.ignoreError?null:i);null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=u;if(e.path&&"/"===e.path[0]||(e.path=s(c.pathname),e.pathIsDefault=!0),!1===r.http&&e.httpOnly)return i=new Error("Cookie is HttpOnly and this isn't an HTTP API"),n(r.ignoreError?null:i);var d=this.store;d.updateCookie||(d.updateCookie=function(e,t,r){this.putCookie(t,r)}),d.findCookie(e.domain,e.path,e.key,function(t,i){if(t)return n(t);var a=function(t){if(t)return n(t);n(null,e)};if(i){if(!1===r.http&&i.httpOnly)return t=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),n(r.ignoreError?null:t);e.creation=i.creation,e.creationIndex=i.creationIndex,e.lastAccessed=f,d.updateCookie(i,e,a)}else e.creation=e.lastAccessed=f,d.putCookie(e,a)})},M.push("getCookies"),d.prototype.getCookies=function(e,t,r){function n(e){if(e.hostOnly){if(e.domain!=s)return!1}else if(!o(s,e.domain,!1))return!1;return!(!m&&!k(c,e.path))&&(!(e.secure&&!u)&&(!(e.httpOnly&&!l)&&(!(d&&e.expiryTime()<=h)||(g.removeCookie(e.domain,e.path,e.key,function(){}),!1))))}var i=p(e);t instanceof Function&&(r=t,t={});var s=a(i.hostname),c=i.pathname||"/",u=t.secure;null!=u||!i.protocol||"https:"!=i.protocol&&"wss:"!=i.protocol||(u=!0);var l=t.http;null==l&&(l=!0);var h=t.now||Date.now(),d=!1!==t.expire,m=!!t.allPaths,g=this.store;g.findCookies(s,m?null:c,function(e,i){if(e)return r(e);i=i.filter(n),!1!==t.sort&&(i=i.sort(f));var a=new Date;i.forEach(function(e){e.lastAccessed=a}),r(null,i)})},M.push("getCookieString"),d.prototype.getCookieString=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop();e.push(function(e,r){e?t(e):t(null,r.sort(f).map(function(e){return e.cookieString()}).join("; "))}),this.getCookies.apply(this,e)},M.push("getSetCookieStrings"),d.prototype.getSetCookieStrings=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop();e.push(function(e,r){e?t(e):t(null,r.map(function(e){return e.toString()}))}),this.getCookies.apply(this,e)},M.push("serialize"),d.prototype.serialize=function(e){var t=this.store.constructor.name;"Object"===t&&(t=null);var r={version:"tough-cookie@"+w,storeType:t,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};if(!this.store.getAllCookies||"function"!=typeof this.store.getAllCookies)return e(new Error("store does not support getAllCookies and cannot be serialized"));this.store.getAllCookies(function(t,n){return t?e(t):(r.cookies=n.map(function(e){return e=e instanceof h?e.toJSON():e,delete e.creationIndex,e}),e(null,r))})},d.prototype.toJSON=function(){return this.serializeSync()},M.push("_importCookies"),d.prototype._importCookies=function(e,t){function r(e){if(e)return t(e);if(!i.length)return t(e,n);var a;try{a=l(i.shift())}catch(e){return t(e)}if(null===a)return r(null);n.store.putCookie(a,r)}var n=this,i=e.cookies;if(!i||!Array.isArray(i))return t(new Error("serialized jar has no cookies array"));i=i.slice(),r()},d.deserialize=function(e,t,r){3!==arguments.length&&(r=t,t=null);var n;if("string"==typeof e){if((n=u(e))instanceof Error)return r(n)}else n=e;var i=new d(t,n.rejectPublicSuffixes);i._importCookies(n,function(e){if(e)return r(e);r(null,i)})},d.deserializeSync=function(e,t){var r="string"==typeof e?JSON.parse(e):e,n=new d(t,r.rejectPublicSuffixes);if(!n.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return n._importCookiesSync(r),n},d.fromJSON=d.deserializeSync,M.push("clone"),d.prototype.clone=function(e,t){1===arguments.length&&(t=e,e=null),this.serialize(function(r,n){if(r)return t(r);d.deserialize(e,n,t)})},M.forEach(function(e){d.prototype[e+"Sync"]=m(e)}),t.exports={CookieJar:d,Cookie:h,Store:_,MemoryCookieStore:x,parseDate:n,formatDate:i,parse:c,fromJSON:l,domainMatch:o,defaultPath:s,pathMatch:k,getPublicSuffix:y.getPublicSuffix,cookieCompare:f,permuteDomain:e("./permuteDomain").permuteDomain,permutePath:function(e){if("/"===e)return["/"];e.lastIndexOf("/")===e.length-1&&(e=e.substr(0,e.length-1));for(var t=[e];e.length>1;){var r=e.lastIndexOf("/");if(0===r)break;e=e.substr(0,r),t.push(e)}return t.push("/"),t},canonicalDomain:a}},{"../package.json":450,"./memstore":445,"./pathMatch":446,"./permuteDomain":447,"./pubsuffix":448,"./store":449,net:151,punycode:361,url:453}],445:[function(e,t,r){"use strict";function n(){i.call(this),this.idx={}}var i=e("./store").Store,a=e("./permuteDomain").permuteDomain,o=e("./pathMatch").pathMatch,s=e("util");s.inherits(n,i),r.MemoryCookieStore=n,n.prototype.idx=null,n.prototype.synchronous=!0,n.prototype.inspect=function(){return"{ idx: "+s.inspect(this.idx,!1,2)+" }"},n.prototype.findCookie=function(e,t,r,n){return this.idx[e]&&this.idx[e][t]?n(null,this.idx[e][t][r]||null):n(null,void 0)},n.prototype.findCookies=function(e,t,r){var n=[];if(!e)return r(null,[]);var i;i=t?function(e){Object.keys(e).forEach(function(r){if(o(t,r)){var i=e[r];for(var a in i)n.push(i[a])}})}:function(e){for(var t in e){var r=e[t];for(var i in r)n.push(r[i])}};var s=a(e)||[e],c=this.idx;s.forEach(function(e){var t=c[e];t&&i(t)}),r(null,n)},n.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},n.prototype.updateCookie=function(e,t,r){this.putCookie(t,r)},n.prototype.removeCookie=function(e,t,r,n){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][r]&&delete this.idx[e][t][r],n(null)},n.prototype.removeCookies=function(e,t,r){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),r(null)},n.prototype.getAllCookies=function(e){var t=[],r=this.idx;Object.keys(r).forEach(function(e){Object.keys(r[e]).forEach(function(n){Object.keys(r[e][n]).forEach(function(i){null!==i&&t.push(r[e][n][i])})})}),t.sort(function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)}),e(null,t)}},{"./pathMatch":446,"./permuteDomain":447,"./store":449,util:458}],446:[function(e,t,r){"use strict";r.pathMatch=function(e,t){if(t===e)return!0;if(0===e.indexOf(t)){if("/"===t.substr(-1))return!0;if("/"===e.substr(t.length,1))return!0}return!1}},{}],447:[function(e,t,r){"use strict";var n=e("./pubsuffix");r.permuteDomain=function(e){var t=n.getPublicSuffix(e);if(!t)return null;if(t==e)return[e];for(var r=e.slice(0,-(t.length+1)).split(".").reverse(),i=t,a=[i];r.length;)i=r.shift()+"."+i,a.push(i);return a}},{"./pubsuffix":448}],448:[function(e,t,r){"use strict";var n=e("punycode");t.exports.getPublicSuffix=function(e){if(!e)return null;if(e.match(/^\./))return null;var t=n.toASCII(e),r=!1;if(t!==e&&(e=t,r=!0),i[e])return null;for(var a=(e=e.toLowerCase()).split(".").reverse(),o="",s=0,c=0;c<a.length;c++){var u=a[c]+o;i["*"+o]?(s=c+1,!1===i[u]&&s--):i[u]&&(s=c+1),o="."+u}if(i["*"+o])return null;if(s=s||1,a.length>s){var l=a.slice(0,s+1).reverse().join(".");return r?n.toUnicode(l):l}return null};var i=t.exports.index=Object.freeze({ac:!0,"com.ac":!0,"edu.ac":!0,"gov.ac":!0,"net.ac":!0,"mil.ac":!0,"org.ac":!0,ad:!0,"nom.ad":!0,ae:!0,"co.ae":!0,"net.ae":!0,"org.ae":!0,"sch.ae":!0,"ac.ae":!0,"gov.ae":!0,"mil.ae":!0,aero:!0,"accident-investigation.aero":!0,"accident-prevention.aero":!0,"aerobatic.aero":!0,"aeroclub.aero":!0,"aerodrome.aero":!0,"agents.aero":!0,"aircraft.aero":!0,"airline.aero":!0,"airport.aero":!0,"air-surveillance.aero":!0,"airtraffic.aero":!0,"air-traffic-control.aero":!0,"ambulance.aero":!0,"amusement.aero":!0,"association.aero":!0,"author.aero":!0,"ballooning.aero":!0,"broker.aero":!0,"caa.aero":!0,"cargo.aero":!0,"catering.aero":!0,"certification.aero":!0,"championship.aero":!0,"charter.aero":!0,"civilaviation.aero":!0,"club.aero":!0,"conference.aero":!0,"consultant.aero":!0,"consulting.aero":!0,"control.aero":!0,"council.aero":!0,"crew.aero":!0,"design.aero":!0,"dgca.aero":!0,"educator.aero":!0,"emergency.aero":!0,"engine.aero":!0,"engineer.aero":!0,"entertainment.aero":!0,"equipment.aero":!0,"exchange.aero":!0,"express.aero":!0,"federation.aero":!0,"flight.aero":!0,"freight.aero":!0,"fuel.aero":!0,"gliding.aero":!0,"government.aero":!0,"groundhandling.aero":!0,"group.aero":!0,"hanggliding.aero":!0,"homebuilt.aero":!0,"insurance.aero":!0,"journal.aero":!0,"journalist.aero":!0,"leasing.aero":!0,"logistics.aero":!0,"magazine.aero":!0,"maintenance.aero":!0,"media.aero":!0,"microlight.aero":!0,"modelling.aero":!0,"navigation.aero":!0,"parachuting.aero":!0,"paragliding.aero":!0,"passenger-association.aero":!0,"pilot.aero":!0,"press.aero":!0,"production.aero":!0,"recreation.aero":!0,"repbody.aero":!0,"res.aero":!0,"research.aero":!0,"rotorcraft.aero":!0,"safety.aero":!0,"scientist.aero":!0,"services.aero":!0,"show.aero":!0,"skydiving.aero":!0,"software.aero":!0,"student.aero":!0,"trader.aero":!0,"trading.aero":!0,"trainer.aero":!0,"union.aero":!0,"workinggroup.aero":!0,"works.aero":!0,af:!0,"gov.af":!0,"com.af":!0,"org.af":!0,"net.af":!0,"edu.af":!0,ag:!0,"com.ag":!0,"org.ag":!0,"net.ag":!0,"co.ag":!0,"nom.ag":!0,ai:!0,"off.ai":!0,"com.ai":!0,"net.ai":!0,"org.ai":!0,al:!0,"com.al":!0,"edu.al":!0,"gov.al":!0,"mil.al":!0,"net.al":!0,"org.al":!0,am:!0,ao:!0,"ed.ao":!0,"gv.ao":!0,"og.ao":!0,"co.ao":!0,"pb.ao":!0,"it.ao":!0,aq:!0,ar:!0,"com.ar":!0,"edu.ar":!0,"gob.ar":!0,"gov.ar":!0,"int.ar":!0,"mil.ar":!0,"net.ar":!0,"org.ar":!0,"tur.ar":!0,arpa:!0,"e164.arpa":!0,"in-addr.arpa":!0,"ip6.arpa":!0,"iris.arpa":!0,"uri.arpa":!0,"urn.arpa":!0,as:!0,"gov.as":!0,asia:!0,at:!0,"ac.at":!0,"co.at":!0,"gv.at":!0,"or.at":!0,au:!0,"com.au":!0,"net.au":!0,"org.au":!0,"edu.au":!0,"gov.au":!0,"asn.au":!0,"id.au":!0,"info.au":!0,"conf.au":!0,"oz.au":!0,"act.au":!0,"nsw.au":!0,"nt.au":!0,"qld.au":!0,"sa.au":!0,"tas.au":!0,"vic.au":!0,"wa.au":!0,"act.edu.au":!0,"nsw.edu.au":!0,"nt.edu.au":!0,"qld.edu.au":!0,"sa.edu.au":!0,"tas.edu.au":!0,"vic.edu.au":!0,"wa.edu.au":!0,"qld.gov.au":!0,"sa.gov.au":!0,"tas.gov.au":!0,"vic.gov.au":!0,"wa.gov.au":!0,aw:!0,"com.aw":!0,ax:!0,az:!0,"com.az":!0,"net.az":!0,"int.az":!0,"gov.az":!0,"org.az":!0,"edu.az":!0,"info.az":!0,"pp.az":!0,"mil.az":!0,"name.az":!0,"pro.az":!0,"biz.az":!0,ba:!0,"com.ba":!0,"edu.ba":!0,"gov.ba":!0,"mil.ba":!0,"net.ba":!0,"org.ba":!0,bb:!0,"biz.bb":!0,"co.bb":!0,"com.bb":!0,"edu.bb":!0,"gov.bb":!0,"info.bb":!0,"net.bb":!0,"org.bb":!0,"store.bb":!0,"tv.bb":!0,"*.bd":!0,be:!0,"ac.be":!0,bf:!0,"gov.bf":!0,bg:!0,"a.bg":!0,"b.bg":!0,"c.bg":!0,"d.bg":!0,"e.bg":!0,"f.bg":!0,"g.bg":!0,"h.bg":!0,"i.bg":!0,"j.bg":!0,"k.bg":!0,"l.bg":!0,"m.bg":!0,"n.bg":!0,"o.bg":!0,"p.bg":!0,"q.bg":!0,"r.bg":!0,"s.bg":!0,"t.bg":!0,"u.bg":!0,"v.bg":!0,"w.bg":!0,"x.bg":!0,"y.bg":!0,"z.bg":!0,"0.bg":!0,"1.bg":!0,"2.bg":!0,"3.bg":!0,"4.bg":!0,"5.bg":!0,"6.bg":!0,"7.bg":!0,"8.bg":!0,"9.bg":!0,bh:!0,"com.bh":!0,"edu.bh":!0,"net.bh":!0,"org.bh":!0,"gov.bh":!0,bi:!0,"co.bi":!0,"com.bi":!0,"edu.bi":!0,"or.bi":!0,"org.bi":!0,biz:!0,bj:!0,"asso.bj":!0,"barreau.bj":!0,"gouv.bj":!0,bm:!0,"com.bm":!0,"edu.bm":!0,"gov.bm":!0,"net.bm":!0,"org.bm":!0,"*.bn":!0,bo:!0,"com.bo":!0,"edu.bo":!0,"gov.bo":!0,"gob.bo":!0,"int.bo":!0,"org.bo":!0,"net.bo":!0,"mil.bo":!0,"tv.bo":!0,br:!0,"adm.br":!0,"adv.br":!0,"agr.br":!0,"am.br":!0,"arq.br":!0,"art.br":!0,"ato.br":!0,"b.br":!0,"bio.br":!0,"blog.br":!0,"bmd.br":!0,"cim.br":!0,"cng.br":!0,"cnt.br":!0,"com.br":!0,"coop.br":!0,"ecn.br":!0,"eco.br":!0,"edu.br":!0,"emp.br":!0,"eng.br":!0,"esp.br":!0,"etc.br":!0,"eti.br":!0,"far.br":!0,"flog.br":!0,"fm.br":!0,"fnd.br":!0,"fot.br":!0,"fst.br":!0,"g12.br":!0,"ggf.br":!0,"gov.br":!0,"imb.br":!0,"ind.br":!0,"inf.br":!0,"jor.br":!0,"jus.br":!0,"leg.br":!0,"lel.br":!0,"mat.br":!0,"med.br":!0,"mil.br":!0,"mp.br":!0,"mus.br":!0,"net.br":!0,"*.nom.br":!0,"not.br":!0,"ntr.br":!0,"odo.br":!0,"org.br":!0,"ppg.br":!0,"pro.br":!0,"psc.br":!0,"psi.br":!0,"qsl.br":!0,"radio.br":!0,"rec.br":!0,"slg.br":!0,"srv.br":!0,"taxi.br":!0,"teo.br":!0,"tmp.br":!0,"trd.br":!0,"tur.br":!0,"tv.br":!0,"vet.br":!0,"vlog.br":!0,"wiki.br":!0,"zlg.br":!0,bs:!0,"com.bs":!0,"net.bs":!0,"org.bs":!0,"edu.bs":!0,"gov.bs":!0,bt:!0,"com.bt":!0,"edu.bt":!0,"gov.bt":!0,"net.bt":!0,"org.bt":!0,bv:!0,bw:!0,"co.bw":!0,"org.bw":!0,by:!0,"gov.by":!0,"mil.by":!0,"com.by":!0,"of.by":!0,bz:!0,"com.bz":!0,"net.bz":!0,"org.bz":!0,"edu.bz":!0,"gov.bz":!0,ca:!0,"ab.ca":!0,"bc.ca":!0,"mb.ca":!0,"nb.ca":!0,"nf.ca":!0,"nl.ca":!0,"ns.ca":!0,"nt.ca":!0,"nu.ca":!0,"on.ca":!0,"pe.ca":!0,"qc.ca":!0,"sk.ca":!0,"yk.ca":!0,"gc.ca":!0,cat:!0,cc:!0,cd:!0,"gov.cd":!0,cf:!0,cg:!0,ch:!0,ci:!0,"org.ci":!0,"or.ci":!0,"com.ci":!0,"co.ci":!0,"edu.ci":!0,"ed.ci":!0,"ac.ci":!0,"net.ci":!0,"go.ci":!0,"asso.ci":!0,"xn--aroport-bya.ci":!0,"int.ci":!0,"presse.ci":!0,"md.ci":!0,"gouv.ci":!0,"*.ck":!0,"www.ck":!1,cl:!0,"gov.cl":!0,"gob.cl":!0,"co.cl":!0,"mil.cl":!0,cm:!0,"co.cm":!0,"com.cm":!0,"gov.cm":!0,"net.cm":!0,cn:!0,"ac.cn":!0,"com.cn":!0,"edu.cn":!0,"gov.cn":!0,"net.cn":!0,"org.cn":!0,"mil.cn":!0,"xn--55qx5d.cn":!0,"xn--io0a7i.cn":!0,"xn--od0alg.cn":!0,"ah.cn":!0,"bj.cn":!0,"cq.cn":!0,"fj.cn":!0,"gd.cn":!0,"gs.cn":!0,"gz.cn":!0,"gx.cn":!0,"ha.cn":!0,"hb.cn":!0,"he.cn":!0,"hi.cn":!0,"hl.cn":!0,"hn.cn":!0,"jl.cn":!0,"js.cn":!0,"jx.cn":!0,"ln.cn":!0,"nm.cn":!0,"nx.cn":!0,"qh.cn":!0,"sc.cn":!0,"sd.cn":!0,"sh.cn":!0,"sn.cn":!0,"sx.cn":!0,"tj.cn":!0,"xj.cn":!0,"xz.cn":!0,"yn.cn":!0,"zj.cn":!0,"hk.cn":!0,"mo.cn":!0,"tw.cn":!0,co:!0,"arts.co":!0,"com.co":!0,"edu.co":!0,"firm.co":!0,"gov.co":!0,"info.co":!0,"int.co":!0,"mil.co":!0,"net.co":!0,"nom.co":!0,"org.co":!0,"rec.co":!0,"web.co":!0,com:!0,coop:!0,cr:!0,"ac.cr":!0,"co.cr":!0,"ed.cr":!0,"fi.cr":!0,"go.cr":!0,"or.cr":!0,"sa.cr":!0,cu:!0,"com.cu":!0,"edu.cu":!0,"org.cu":!0,"net.cu":!0,"gov.cu":!0,"inf.cu":!0,cv:!0,cw:!0,"com.cw":!0,"edu.cw":!0,"net.cw":!0,"org.cw":!0,cx:!0,"gov.cx":!0,cy:!0,"ac.cy":!0,"biz.cy":!0,"com.cy":!0,"ekloges.cy":!0,"gov.cy":!0,"ltd.cy":!0,"name.cy":!0,"net.cy":!0,"org.cy":!0,"parliament.cy":!0,"press.cy":!0,"pro.cy":!0,"tm.cy":!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,"com.dm":!0,"net.dm":!0,"org.dm":!0,"edu.dm":!0,"gov.dm":!0,do:!0,"art.do":!0,"com.do":!0,"edu.do":!0,"gob.do":!0,"gov.do":!0,"mil.do":!0,"net.do":!0,"org.do":!0,"sld.do":!0,"web.do":!0,dz:!0,"com.dz":!0,"org.dz":!0,"net.dz":!0,"gov.dz":!0,"edu.dz":!0,"asso.dz":!0,"pol.dz":!0,"art.dz":!0,ec:!0,"com.ec":!0,"info.ec":!0,"net.ec":!0,"fin.ec":!0,"k12.ec":!0,"med.ec":!0,"pro.ec":!0,"org.ec":!0,"edu.ec":!0,"gov.ec":!0,"gob.ec":!0,"mil.ec":!0,edu:!0,ee:!0,"edu.ee":!0,"gov.ee":!0,"riik.ee":!0,"lib.ee":!0,"med.ee":!0,"com.ee":!0,"pri.ee":!0,"aip.ee":!0,"org.ee":!0,"fie.ee":!0,eg:!0,"com.eg":!0,"edu.eg":!0,"eun.eg":!0,"gov.eg":!0,"mil.eg":!0,"name.eg":!0,"net.eg":!0,"org.eg":!0,"sci.eg":!0,"*.er":!0,es:!0,"com.es":!0,"nom.es":!0,"org.es":!0,"gob.es":!0,"edu.es":!0,et:!0,"com.et":!0,"gov.et":!0,"org.et":!0,"edu.et":!0,"biz.et":!0,"name.et":!0,"info.et":!0,"net.et":!0,eu:!0,fi:!0,"aland.fi":!0,"*.fj":!0,"*.fk":!0,fm:!0,fo:!0,fr:!0,"com.fr":!0,"asso.fr":!0,"nom.fr":!0,"prd.fr":!0,"presse.fr":!0,"tm.fr":!0,"aeroport.fr":!0,"assedic.fr":!0,"avocat.fr":!0,"avoues.fr":!0,"cci.fr":!0,"chambagri.fr":!0,"chirurgiens-dentistes.fr":!0,"experts-comptables.fr":!0,"geometre-expert.fr":!0,"gouv.fr":!0,"greta.fr":!0,"huissier-justice.fr":!0,"medecin.fr":!0,"notaires.fr":!0,"pharmacien.fr":!0,"port.fr":!0,"veterinaire.fr":!0,ga:!0,gb:!0,gd:!0,ge:!0,"com.ge":!0,"edu.ge":!0,"gov.ge":!0,"org.ge":!0,"mil.ge":!0,"net.ge":!0,"pvt.ge":!0,gf:!0,gg:!0,"co.gg":!0,"net.gg":!0,"org.gg":!0,gh:!0,"com.gh":!0,"edu.gh":!0,"gov.gh":!0,"org.gh":!0,"mil.gh":!0,gi:!0,"com.gi":!0,"ltd.gi":!0,"gov.gi":!0,"mod.gi":!0,"edu.gi":!0,"org.gi":!0,gl:!0,"co.gl":!0,"com.gl":!0,"edu.gl":!0,"net.gl":!0,"org.gl":!0,gm:!0,gn:!0,"ac.gn":!0,"com.gn":!0,"edu.gn":!0,"gov.gn":!0,"org.gn":!0,"net.gn":!0,gov:!0,gp:!0,"com.gp":!0,"net.gp":!0,"mobi.gp":!0,"edu.gp":!0,"org.gp":!0,"asso.gp":!0,gq:!0,gr:!0,"com.gr":!0,"edu.gr":!0,"net.gr":!0,"org.gr":!0,"gov.gr":!0,gs:!0,gt:!0,"com.gt":!0,"edu.gt":!0,"gob.gt":!0,"ind.gt":!0,"mil.gt":!0,"net.gt":!0,"org.gt":!0,"*.gu":!0,gw:!0,gy:!0,"co.gy":!0,"com.gy":!0,"edu.gy":!0,"gov.gy":!0,"net.gy":!0,"org.gy":!0,hk:!0,"com.hk":!0,"edu.hk":!0,"gov.hk":!0,"idv.hk":!0,"net.hk":!0,"org.hk":!0,"xn--55qx5d.hk":!0,"xn--wcvs22d.hk":!0,"xn--lcvr32d.hk":!0,"xn--mxtq1m.hk":!0,"xn--gmqw5a.hk":!0,"xn--ciqpn.hk":!0,"xn--gmq050i.hk":!0,"xn--zf0avx.hk":!0,"xn--io0a7i.hk":!0,"xn--mk0axi.hk":!0,"xn--od0alg.hk":!0,"xn--od0aq3b.hk":!0,"xn--tn0ag.hk":!0,"xn--uc0atv.hk":!0,"xn--uc0ay4a.hk":!0,hm:!0,hn:!0,"com.hn":!0,"edu.hn":!0,"org.hn":!0,"net.hn":!0,"mil.hn":!0,"gob.hn":!0,hr:!0,"iz.hr":!0,"from.hr":!0,"name.hr":!0,"com.hr":!0,ht:!0,"com.ht":!0,"shop.ht":!0,"firm.ht":!0,"info.ht":!0,"adult.ht":!0,"net.ht":!0,"pro.ht":!0,"org.ht":!0,"med.ht":!0,"art.ht":!0,"coop.ht":!0,"pol.ht":!0,"asso.ht":!0,"edu.ht":!0,"rel.ht":!0,"gouv.ht":!0,"perso.ht":!0,hu:!0,"co.hu":!0,"info.hu":!0,"org.hu":!0,"priv.hu":!0,"sport.hu":!0,"tm.hu":!0,"2000.hu":!0,"agrar.hu":!0,"bolt.hu":!0,"casino.hu":!0,"city.hu":!0,"erotica.hu":!0,"erotika.hu":!0,"film.hu":!0,"forum.hu":!0,"games.hu":!0,"hotel.hu":!0,"ingatlan.hu":!0,"jogasz.hu":!0,"konyvelo.hu":!0,"lakas.hu":!0,"media.hu":!0,"news.hu":!0,"reklam.hu":!0,"sex.hu":!0,"shop.hu":!0,"suli.hu":!0,"szex.hu":!0,"tozsde.hu":!0,"utazas.hu":!0,"video.hu":!0,id:!0,"ac.id":!0,"biz.id":!0,"co.id":!0,"desa.id":!0,"go.id":!0,"mil.id":!0,"my.id":!0,"net.id":!0,"or.id":!0,"sch.id":!0,"web.id":!0,ie:!0,"gov.ie":!0,il:!0,"ac.il":!0,"co.il":!0,"gov.il":!0,"idf.il":!0,"k12.il":!0,"muni.il":!0,"net.il":!0,"org.il":!0,im:!0,"ac.im":!0,"co.im":!0,"com.im":!0,"ltd.co.im":!0,"net.im":!0,"org.im":!0,"plc.co.im":!0,"tt.im":!0,"tv.im":!0,in:!0,"co.in":!0,"firm.in":!0,"net.in":!0,"org.in":!0,"gen.in":!0,"ind.in":!0,"nic.in":!0,"ac.in":!0,"edu.in":!0,"res.in":!0,"gov.in":!0,"mil.in":!0,info:!0,int:!0,"eu.int":!0,io:!0,"com.io":!0,iq:!0,"gov.iq":!0,"edu.iq":!0,"mil.iq":!0,"com.iq":!0,"org.iq":!0,"net.iq":!0,ir:!0,"ac.ir":!0,"co.ir":!0,"gov.ir":!0,"id.ir":!0,"net.ir":!0,"org.ir":!0,"sch.ir":!0,"xn--mgba3a4f16a.ir":!0,"xn--mgba3a4fra.ir":!0,is:!0,"net.is":!0,"com.is":!0,"edu.is":!0,"gov.is":!0,"org.is":!0,"int.is":!0,it:!0,"gov.it":!0,"edu.it":!0,"abr.it":!0,"abruzzo.it":!0,"aosta-valley.it":!0,"aostavalley.it":!0,"bas.it":!0,"basilicata.it":!0,"cal.it":!0,"calabria.it":!0,"cam.it":!0,"campania.it":!0,"emilia-romagna.it":!0,"emiliaromagna.it":!0,"emr.it":!0,"friuli-v-giulia.it":!0,"friuli-ve-giulia.it":!0,"friuli-vegiulia.it":!0,"friuli-venezia-giulia.it":!0,"friuli-veneziagiulia.it":!0,"friuli-vgiulia.it":!0,"friuliv-giulia.it":!0,"friulive-giulia.it":!0,"friulivegiulia.it":!0,"friulivenezia-giulia.it":!0,"friuliveneziagiulia.it":!0,"friulivgiulia.it":!0,"fvg.it":!0,"laz.it":!0,"lazio.it":!0,"lig.it":!0,"liguria.it":!0,"lom.it":!0,"lombardia.it":!0,"lombardy.it":!0,"lucania.it":!0,"mar.it":!0,"marche.it":!0,"mol.it":!0,"molise.it":!0,"piedmont.it":!0,"piemonte.it":!0,"pmn.it":!0,"pug.it":!0,"puglia.it":!0,"sar.it":!0,"sardegna.it":!0,"sardinia.it":!0,"sic.it":!0,"sicilia.it":!0,"sicily.it":!0,"taa.it":!0,"tos.it":!0,"toscana.it":!0,"trentino-a-adige.it":!0,"trentino-aadige.it":!0,"trentino-alto-adige.it":!0,"trentino-altoadige.it":!0,"trentino-s-tirol.it":!0,"trentino-stirol.it":!0,"trentino-sud-tirol.it":!0,"trentino-sudtirol.it":!0,"trentino-sued-tirol.it":!0,"trentino-suedtirol.it":!0,"trentinoa-adige.it":!0,"trentinoaadige.it":!0,"trentinoalto-adige.it":!0,"trentinoaltoadige.it":!0,"trentinos-tirol.it":!0,"trentinostirol.it":!0,"trentinosud-tirol.it":!0,"trentinosudtirol.it":!0,"trentinosued-tirol.it":!0,"trentinosuedtirol.it":!0,"tuscany.it":!0,"umb.it":!0,"umbria.it":!0,"val-d-aosta.it":!0,"val-daosta.it":!0,"vald-aosta.it":!0,"valdaosta.it":!0,"valle-aosta.it":!0,"valle-d-aosta.it":!0,"valle-daosta.it":!0,"valleaosta.it":!0,"valled-aosta.it":!0,"valledaosta.it":!0,"vallee-aoste.it":!0,"valleeaoste.it":!0,"vao.it":!0,"vda.it":!0,"ven.it":!0,"veneto.it":!0,"ag.it":!0,"agrigento.it":!0,"al.it":!0,"alessandria.it":!0,"alto-adige.it":!0,"altoadige.it":!0,"an.it":!0,"ancona.it":!0,"andria-barletta-trani.it":!0,"andria-trani-barletta.it":!0,"andriabarlettatrani.it":!0,"andriatranibarletta.it":!0,"ao.it":!0,"aosta.it":!0,"aoste.it":!0,"ap.it":!0,"aq.it":!0,"aquila.it":!0,"ar.it":!0,"arezzo.it":!0,"ascoli-piceno.it":!0,"ascolipiceno.it":!0,"asti.it":!0,"at.it":!0,"av.it":!0,"avellino.it":!0,"ba.it":!0,"balsan.it":!0,"bari.it":!0,"barletta-trani-andria.it":!0,"barlettatraniandria.it":!0,"belluno.it":!0,"benevento.it":!0,"bergamo.it":!0,"bg.it":!0,"bi.it":!0,"biella.it":!0,"bl.it":!0,"bn.it":!0,"bo.it":!0,"bologna.it":!0,"bolzano.it":!0,"bozen.it":!0,"br.it":!0,"brescia.it":!0,"brindisi.it":!0,"bs.it":!0,"bt.it":!0,"bz.it":!0,"ca.it":!0,"cagliari.it":!0,"caltanissetta.it":!0,"campidano-medio.it":!0,"campidanomedio.it":!0,"campobasso.it":!0,"carbonia-iglesias.it":!0,"carboniaiglesias.it":!0,"carrara-massa.it":!0,"carraramassa.it":!0,"caserta.it":!0,"catania.it":!0,"catanzaro.it":!0,"cb.it":!0,"ce.it":!0,"cesena-forli.it":!0,"cesenaforli.it":!0,"ch.it":!0,"chieti.it":!0,"ci.it":!0,"cl.it":!0,"cn.it":!0,"co.it":!0,"como.it":!0,"cosenza.it":!0,"cr.it":!0,"cremona.it":!0,"crotone.it":!0,"cs.it":!0,"ct.it":!0,"cuneo.it":!0,"cz.it":!0,"dell-ogliastra.it":!0,"dellogliastra.it":!0,"en.it":!0,"enna.it":!0,"fc.it":!0,"fe.it":!0,"fermo.it":!0,"ferrara.it":!0,"fg.it":!0,"fi.it":!0,"firenze.it":!0,"florence.it":!0,"fm.it":!0,"foggia.it":!0,"forli-cesena.it":!0,"forlicesena.it":!0,"fr.it":!0,"frosinone.it":!0,"ge.it":!0,"genoa.it":!0,"genova.it":!0,"go.it":!0,"gorizia.it":!0,"gr.it":!0,"grosseto.it":!0,"iglesias-carbonia.it":!0,"iglesiascarbonia.it":!0,"im.it":!0,"imperia.it":!0,"is.it":!0,"isernia.it":!0,"kr.it":!0,"la-spezia.it":!0,"laquila.it":!0,"laspezia.it":!0,"latina.it":!0,"lc.it":!0,"le.it":!0,"lecce.it":!0,"lecco.it":!0,"li.it":!0,"livorno.it":!0,"lo.it":!0,"lodi.it":!0,"lt.it":!0,"lu.it":!0,"lucca.it":!0,"macerata.it":!0,"mantova.it":!0,"massa-carrara.it":!0,"massacarrara.it":!0,"matera.it":!0,"mb.it":!0,"mc.it":!0,"me.it":!0,"medio-campidano.it":!0,"mediocampidano.it":!0,"messina.it":!0,"mi.it":!0,"milan.it":!0,"milano.it":!0,"mn.it":!0,"mo.it":!0,"modena.it":!0,"monza-brianza.it":!0,"monza-e-della-brianza.it":!0,"monza.it":!0,"monzabrianza.it":!0,"monzaebrianza.it":!0,"monzaedellabrianza.it":!0,"ms.it":!0,"mt.it":!0,"na.it":!0,"naples.it":!0,"napoli.it":!0,"no.it":!0,"novara.it":!0,"nu.it":!0,"nuoro.it":!0,"og.it":!0,"ogliastra.it":!0,"olbia-tempio.it":!0,"olbiatempio.it":!0,"or.it":!0,"oristano.it":!0,"ot.it":!0,"pa.it":!0,"padova.it":!0,"padua.it":!0,"palermo.it":!0,"parma.it":!0,"pavia.it":!0,"pc.it":!0,"pd.it":!0,"pe.it":!0,"perugia.it":!0,"pesaro-urbino.it":!0,"pesarourbino.it":!0,"pescara.it":!0,"pg.it":!0,"pi.it":!0,"piacenza.it":!0,"pisa.it":!0,"pistoia.it":!0,"pn.it":!0,"po.it":!0,"pordenone.it":!0,"potenza.it":!0,"pr.it":!0,"prato.it":!0,"pt.it":!0,"pu.it":!0,"pv.it":!0,"pz.it":!0,"ra.it":!0,"ragusa.it":!0,"ravenna.it":!0,"rc.it":!0,"re.it":!0,"reggio-calabria.it":!0,"reggio-emilia.it":!0,"reggiocalabria.it":!0,"reggioemilia.it":!0,"rg.it":!0,"ri.it":!0,"rieti.it":!0,"rimini.it":!0,"rm.it":!0,"rn.it":!0,"ro.it":!0,"roma.it":!0,"rome.it":!0,"rovigo.it":!0,"sa.it":!0,"salerno.it":!0,"sassari.it":!0,"savona.it":!0,"si.it":!0,"siena.it":!0,"siracusa.it":!0,"so.it":!0,"sondrio.it":!0,"sp.it":!0,"sr.it":!0,"ss.it":!0,"suedtirol.it":!0,"sv.it":!0,"ta.it":!0,"taranto.it":!0,"te.it":!0,"tempio-olbia.it":!0,"tempioolbia.it":!0,"teramo.it":!0,"terni.it":!0,"tn.it":!0,"to.it":!0,"torino.it":!0,"tp.it":!0,"tr.it":!0,"trani-andria-barletta.it":!0,"trani-barletta-andria.it":!0,"traniandriabarletta.it":!0,"tranibarlettaandria.it":!0,"trapani.it":!0,"trentino.it":!0,"trento.it":!0,"treviso.it":!0,"trieste.it":!0,"ts.it":!0,"turin.it":!0,"tv.it":!0,"ud.it":!0,"udine.it":!0,"urbino-pesaro.it":!0,"urbinopesaro.it":!0,"va.it":!0,"varese.it":!0,"vb.it":!0,"vc.it":!0,"ve.it":!0,"venezia.it":!0,"venice.it":!0,"verbania.it":!0,"vercelli.it":!0,"verona.it":!0,"vi.it":!0,"vibo-valentia.it":!0,"vibovalentia.it":!0,"vicenza.it":!0,"viterbo.it":!0,"vr.it":!0,"vs.it":!0,"vt.it":!0,"vv.it":!0,je:!0,"co.je":!0,"net.je":!0,"org.je":!0,"*.jm":!0,jo:!0,"com.jo":!0,"org.jo":!0,"net.jo":!0,"edu.jo":!0,"sch.jo":!0,"gov.jo":!0,"mil.jo":!0,"name.jo":!0,jobs:!0,jp:!0,"ac.jp":!0,"ad.jp":!0,"co.jp":!0,"ed.jp":!0,"go.jp":!0,"gr.jp":!0,"lg.jp":!0,"ne.jp":!0,"or.jp":!0,"aichi.jp":!0,"akita.jp":!0,"aomori.jp":!0,"chiba.jp":!0,"ehime.jp":!0,"fukui.jp":!0,"fukuoka.jp":!0,"fukushima.jp":!0,"gifu.jp":!0,"gunma.jp":!0,"hiroshima.jp":!0,"hokkaido.jp":!0,"hyogo.jp":!0,"ibaraki.jp":!0,"ishikawa.jp":!0,"iwate.jp":!0,"kagawa.jp":!0,"kagoshima.jp":!0,"kanagawa.jp":!0,"kochi.jp":!0,"kumamoto.jp":!0,"kyoto.jp":!0,"mie.jp":!0,"miyagi.jp":!0,"miyazaki.jp":!0,"nagano.jp":!0,"nagasaki.jp":!0,"nara.jp":!0,"niigata.jp":!0,"oita.jp":!0,"okayama.jp":!0,"okinawa.jp":!0,"osaka.jp":!0,"saga.jp":!0,"saitama.jp":!0,"shiga.jp":!0,"shimane.jp":!0,"shizuoka.jp":!0,"tochigi.jp":!0,"tokushima.jp":!0,"tokyo.jp":!0,"tottori.jp":!0,"toyama.jp":!0,"wakayama.jp":!0,"yamagata.jp":!0,"yamaguchi.jp":!0,"yamanashi.jp":!0,"xn--4pvxs.jp":!0,"xn--vgu402c.jp":!0,"xn--c3s14m.jp":!0,"xn--f6qx53a.jp":!0,"xn--8pvr4u.jp":!0,"xn--uist22h.jp":!0,"xn--djrs72d6uy.jp":!0,"xn--mkru45i.jp":!0,"xn--0trq7p7nn.jp":!0,"xn--8ltr62k.jp":!0,"xn--2m4a15e.jp":!0,"xn--efvn9s.jp":!0,"xn--32vp30h.jp":!0,"xn--4it797k.jp":!0,"xn--1lqs71d.jp":!0,"xn--5rtp49c.jp":!0,"xn--5js045d.jp":!0,"xn--ehqz56n.jp":!0,"xn--1lqs03n.jp":!0,"xn--qqqt11m.jp":!0,"xn--kbrq7o.jp":!0,"xn--pssu33l.jp":!0,"xn--ntsq17g.jp":!0,"xn--uisz3g.jp":!0,"xn--6btw5a.jp":!0,"xn--1ctwo.jp":!0,"xn--6orx2r.jp":!0,"xn--rht61e.jp":!0,"xn--rht27z.jp":!0,"xn--djty4k.jp":!0,"xn--nit225k.jp":!0,"xn--rht3d.jp":!0,"xn--klty5x.jp":!0,"xn--kltx9a.jp":!0,"xn--kltp7d.jp":!0,"xn--uuwu58a.jp":!0,"xn--zbx025d.jp":!0,"xn--ntso0iqx3a.jp":!0,"xn--elqq16h.jp":!0,"xn--4it168d.jp":!0,"xn--klt787d.jp":!0,"xn--rny31h.jp":!0,"xn--7t0a264c.jp":!0,"xn--5rtq34k.jp":!0,"xn--k7yn95e.jp":!0,"xn--tor131o.jp":!0,"xn--d5qv7z876c.jp":!0,"*.kawasaki.jp":!0,"*.kitakyushu.jp":!0,"*.kobe.jp":!0,"*.nagoya.jp":!0,"*.sapporo.jp":!0,"*.sendai.jp":!0,"*.yokohama.jp":!0,"city.kawasaki.jp":!1,"city.kitakyushu.jp":!1,"city.kobe.jp":!1,"city.nagoya.jp":!1,"city.sapporo.jp":!1,"city.sendai.jp":!1,"city.yokohama.jp":!1,"aisai.aichi.jp":!0,"ama.aichi.jp":!0,"anjo.aichi.jp":!0,"asuke.aichi.jp":!0,"chiryu.aichi.jp":!0,"chita.aichi.jp":!0,"fuso.aichi.jp":!0,"gamagori.aichi.jp":!0,"handa.aichi.jp":!0,"hazu.aichi.jp":!0,"hekinan.aichi.jp":!0,"higashiura.aichi.jp":!0,"ichinomiya.aichi.jp":!0,"inazawa.aichi.jp":!0,"inuyama.aichi.jp":!0,"isshiki.aichi.jp":!0,"iwakura.aichi.jp":!0,"kanie.aichi.jp":!0,"kariya.aichi.jp":!0,"kasugai.aichi.jp":!0,"kira.aichi.jp":!0,"kiyosu.aichi.jp":!0,"komaki.aichi.jp":!0,"konan.aichi.jp":!0,"kota.aichi.jp":!0,"mihama.aichi.jp":!0,"miyoshi.aichi.jp":!0,"nishio.aichi.jp":!0,"nisshin.aichi.jp":!0,"obu.aichi.jp":!0,"oguchi.aichi.jp":!0,"oharu.aichi.jp":!0,"okazaki.aichi.jp":!0,"owariasahi.aichi.jp":!0,"seto.aichi.jp":!0,"shikatsu.aichi.jp":!0,"shinshiro.aichi.jp":!0,"shitara.aichi.jp":!0,"tahara.aichi.jp":!0,"takahama.aichi.jp":!0,"tobishima.aichi.jp":!0,"toei.aichi.jp":!0,"togo.aichi.jp":!0,"tokai.aichi.jp":!0,"tokoname.aichi.jp":!0,"toyoake.aichi.jp":!0,"toyohashi.aichi.jp":!0,"toyokawa.aichi.jp":!0,"toyone.aichi.jp":!0,"toyota.aichi.jp":!0,"tsushima.aichi.jp":!0,"yatomi.aichi.jp":!0,"akita.akita.jp":!0,"daisen.akita.jp":!0,"fujisato.akita.jp":!0,"gojome.akita.jp":!0,"hachirogata.akita.jp":!0,"happou.akita.jp":!0,"higashinaruse.akita.jp":!0,"honjo.akita.jp":!0,"honjyo.akita.jp":!0,"ikawa.akita.jp":!0,"kamikoani.akita.jp":!0,"kamioka.akita.jp":!0,"katagami.akita.jp":!0,"kazuno.akita.jp":!0,"kitaakita.akita.jp":!0,"kosaka.akita.jp":!0,"kyowa.akita.jp":!0,"misato.akita.jp":!0,"mitane.akita.jp":!0,"moriyoshi.akita.jp":!0,"nikaho.akita.jp":!0,"noshiro.akita.jp":!0,"odate.akita.jp":!0,"oga.akita.jp":!0,"ogata.akita.jp":!0,"semboku.akita.jp":!0,"yokote.akita.jp":!0,"yurihonjo.akita.jp":!0,"aomori.aomori.jp":!0,"gonohe.aomori.jp":!0,"hachinohe.aomori.jp":!0,"hashikami.aomori.jp":!0,"hiranai.aomori.jp":!0,"hirosaki.aomori.jp":!0,"itayanagi.aomori.jp":!0,"kuroishi.aomori.jp":!0,"misawa.aomori.jp":!0,"mutsu.aomori.jp":!0,"nakadomari.aomori.jp":!0,"noheji.aomori.jp":!0,"oirase.aomori.jp":!0,"owani.aomori.jp":!0,"rokunohe.aomori.jp":!0,"sannohe.aomori.jp":!0,"shichinohe.aomori.jp":!0,"shingo.aomori.jp":!0,"takko.aomori.jp":!0,"towada.aomori.jp":!0,"tsugaru.aomori.jp":!0,"tsuruta.aomori.jp":!0,"abiko.chiba.jp":!0,"asahi.chiba.jp":!0,"chonan.chiba.jp":!0,"chosei.chiba.jp":!0,"choshi.chiba.jp":!0,"chuo.chiba.jp":!0,"funabashi.chiba.jp":!0,"futtsu.chiba.jp":!0,"hanamigawa.chiba.jp":!0,"ichihara.chiba.jp":!0,"ichikawa.chiba.jp":!0,"ichinomiya.chiba.jp":!0,"inzai.chiba.jp":!0,"isumi.chiba.jp":!0,"kamagaya.chiba.jp":!0,"kamogawa.chiba.jp":!0,"kashiwa.chiba.jp":!0,"katori.chiba.jp":!0,"katsuura.chiba.jp":!0,"kimitsu.chiba.jp":!0,"kisarazu.chiba.jp":!0,"kozaki.chiba.jp":!0,"kujukuri.chiba.jp":!0,"kyonan.chiba.jp":!0,"matsudo.chiba.jp":!0,"midori.chiba.jp":!0,"mihama.chiba.jp":!0,"minamiboso.chiba.jp":!0,"mobara.chiba.jp":!0,"mutsuzawa.chiba.jp":!0,"nagara.chiba.jp":!0,"nagareyama.chiba.jp":!0,"narashino.chiba.jp":!0,"narita.chiba.jp":!0,"noda.chiba.jp":!0,"oamishirasato.chiba.jp":!0,"omigawa.chiba.jp":!0,"onjuku.chiba.jp":!0,"otaki.chiba.jp":!0,"sakae.chiba.jp":!0,"sakura.chiba.jp":!0,"shimofusa.chiba.jp":!0,"shirako.chiba.jp":!0,"shiroi.chiba.jp":!0,"shisui.chiba.jp":!0,"sodegaura.chiba.jp":!0,"sosa.chiba.jp":!0,"tako.chiba.jp":!0,"tateyama.chiba.jp":!0,"togane.chiba.jp":!0,"tohnosho.chiba.jp":!0,"tomisato.chiba.jp":!0,"urayasu.chiba.jp":!0,"yachimata.chiba.jp":!0,"yachiyo.chiba.jp":!0,"yokaichiba.chiba.jp":!0,"yokoshibahikari.chiba.jp":!0,"yotsukaido.chiba.jp":!0,"ainan.ehime.jp":!0,"honai.ehime.jp":!0,"ikata.ehime.jp":!0,"imabari.ehime.jp":!0,"iyo.ehime.jp":!0,"kamijima.ehime.jp":!0,"kihoku.ehime.jp":!0,"kumakogen.ehime.jp":!0,"masaki.ehime.jp":!0,"matsuno.ehime.jp":!0,"matsuyama.ehime.jp":!0,"namikata.ehime.jp":!0,"niihama.ehime.jp":!0,"ozu.ehime.jp":!0,"saijo.ehime.jp":!0,"seiyo.ehime.jp":!0,"shikokuchuo.ehime.jp":!0,"tobe.ehime.jp":!0,"toon.ehime.jp":!0,"uchiko.ehime.jp":!0,"uwajima.ehime.jp":!0,"yawatahama.ehime.jp":!0,"echizen.fukui.jp":!0,"eiheiji.fukui.jp":!0,"fukui.fukui.jp":!0,"ikeda.fukui.jp":!0,"katsuyama.fukui.jp":!0,"mihama.fukui.jp":!0,"minamiechizen.fukui.jp":!0,"obama.fukui.jp":!0,"ohi.fukui.jp":!0,"ono.fukui.jp":!0,"sabae.fukui.jp":!0,"sakai.fukui.jp":!0,"takahama.fukui.jp":!0,"tsuruga.fukui.jp":!0,"wakasa.fukui.jp":!0,"ashiya.fukuoka.jp":!0,"buzen.fukuoka.jp":!0,"chikugo.fukuoka.jp":!0,"chikuho.fukuoka.jp":!0,"chikujo.fukuoka.jp":!0,"chikushino.fukuoka.jp":!0,"chikuzen.fukuoka.jp":!0,"chuo.fukuoka.jp":!0,"dazaifu.fukuoka.jp":!0,"fukuchi.fukuoka.jp":!0,"hakata.fukuoka.jp":!0,"higashi.fukuoka.jp":!0,"hirokawa.fukuoka.jp":!0,"hisayama.fukuoka.jp":!0,"iizuka.fukuoka.jp":!0,"inatsuki.fukuoka.jp":!0,"kaho.fukuoka.jp":!0,"kasuga.fukuoka.jp":!0,"kasuya.fukuoka.jp":!0,"kawara.fukuoka.jp":!0,"keisen.fukuoka.jp":!0,"koga.fukuoka.jp":!0,"kurate.fukuoka.jp":!0,"kurogi.fukuoka.jp":!0,"kurume.fukuoka.jp":!0,"minami.fukuoka.jp":!0,"miyako.fukuoka.jp":!0,"miyama.fukuoka.jp":!0,"miyawaka.fukuoka.jp":!0,"mizumaki.fukuoka.jp":!0,"munakata.fukuoka.jp":!0,"nakagawa.fukuoka.jp":!0,"nakama.fukuoka.jp":!0,"nishi.fukuoka.jp":!0,"nogata.fukuoka.jp":!0,"ogori.fukuoka.jp":!0,"okagaki.fukuoka.jp":!0,"okawa.fukuoka.jp":!0,"oki.fukuoka.jp":!0,"omuta.fukuoka.jp":!0,"onga.fukuoka.jp":!0,"onojo.fukuoka.jp":!0,"oto.fukuoka.jp":!0,"saigawa.fukuoka.jp":!0,"sasaguri.fukuoka.jp":!0,"shingu.fukuoka.jp":!0,"shinyoshitomi.fukuoka.jp":!0,"shonai.fukuoka.jp":!0,"soeda.fukuoka.jp":!0,"sue.fukuoka.jp":!0,"tachiarai.fukuoka.jp":!0,"tagawa.fukuoka.jp":!0,"takata.fukuoka.jp":!0,"toho.fukuoka.jp":!0,"toyotsu.fukuoka.jp":!0,"tsuiki.fukuoka.jp":!0,"ukiha.fukuoka.jp":!0,"umi.fukuoka.jp":!0,"usui.fukuoka.jp":!0,"yamada.fukuoka.jp":!0,"yame.fukuoka.jp":!0,"yanagawa.fukuoka.jp":!0,"yukuhashi.fukuoka.jp":!0,"aizubange.fukushima.jp":!0,"aizumisato.fukushima.jp":!0,"aizuwakamatsu.fukushima.jp":!0,"asakawa.fukushima.jp":!0,"bandai.fukushima.jp":!0,"date.fukushima.jp":!0,"fukushima.fukushima.jp":!0,"furudono.fukushima.jp":!0,"futaba.fukushima.jp":!0,"hanawa.fukushima.jp":!0,"higashi.fukushima.jp":!0,"hirata.fukushima.jp":!0,"hirono.fukushima.jp":!0,"iitate.fukushima.jp":!0,"inawashiro.fukushima.jp":!0,"ishikawa.fukushima.jp":!0,"iwaki.fukushima.jp":!0,"izumizaki.fukushima.jp":!0,"kagamiishi.fukushima.jp":!0,"kaneyama.fukushima.jp":!0,"kawamata.fukushima.jp":!0,"kitakata.fukushima.jp":!0,"kitashiobara.fukushima.jp":!0,"koori.fukushima.jp":!0,"koriyama.fukushima.jp":!0,"kunimi.fukushima.jp":!0,"miharu.fukushima.jp":!0,"mishima.fukushima.jp":!0,"namie.fukushima.jp":!0,"nango.fukushima.jp":!0,"nishiaizu.fukushima.jp":!0,"nishigo.fukushima.jp":!0,"okuma.fukushima.jp":!0,"omotego.fukushima.jp":!0,"ono.fukushima.jp":!0,"otama.fukushima.jp":!0,"samegawa.fukushima.jp":!0,"shimogo.fukushima.jp":!0,"shirakawa.fukushima.jp":!0,"showa.fukushima.jp":!0,"soma.fukushima.jp":!0,"sukagawa.fukushima.jp":!0,"taishin.fukushima.jp":!0,"tamakawa.fukushima.jp":!0,"tanagura.fukushima.jp":!0,"tenei.fukushima.jp":!0,"yabuki.fukushima.jp":!0,"yamato.fukushima.jp":!0,"yamatsuri.fukushima.jp":!0,"yanaizu.fukushima.jp":!0,"yugawa.fukushima.jp":!0,"anpachi.gifu.jp":!0,"ena.gifu.jp":!0,"gifu.gifu.jp":!0,"ginan.gifu.jp":!0,"godo.gifu.jp":!0,"gujo.gifu.jp":!0,"hashima.gifu.jp":!0,"hichiso.gifu.jp":!0,"hida.gifu.jp":!0,"higashishirakawa.gifu.jp":!0,"ibigawa.gifu.jp":!0,"ikeda.gifu.jp":!0,"kakamigahara.gifu.jp":!0,"kani.gifu.jp":!0,"kasahara.gifu.jp":!0,"kasamatsu.gifu.jp":!0,"kawaue.gifu.jp":!0,"kitagata.gifu.jp":!0,"mino.gifu.jp":!0,"minokamo.gifu.jp":!0,"mitake.gifu.jp":!0,"mizunami.gifu.jp":!0,"motosu.gifu.jp":!0,"nakatsugawa.gifu.jp":!0,"ogaki.gifu.jp":!0,"sakahogi.gifu.jp":!0,"seki.gifu.jp":!0,"sekigahara.gifu.jp":!0,"shirakawa.gifu.jp":!0,"tajimi.gifu.jp":!0,"takayama.gifu.jp":!0,"tarui.gifu.jp":!0,"toki.gifu.jp":!0,"tomika.gifu.jp":!0,"wanouchi.gifu.jp":!0,"yamagata.gifu.jp":!0,"yaotsu.gifu.jp":!0,"yoro.gifu.jp":!0,"annaka.gunma.jp":!0,"chiyoda.gunma.jp":!0,"fujioka.gunma.jp":!0,"higashiagatsuma.gunma.jp":!0,"isesaki.gunma.jp":!0,"itakura.gunma.jp":!0,"kanna.gunma.jp":!0,"kanra.gunma.jp":!0,"katashina.gunma.jp":!0,"kawaba.gunma.jp":!0,"kiryu.gunma.jp":!0,"kusatsu.gunma.jp":!0,"maebashi.gunma.jp":!0,"meiwa.gunma.jp":!0,"midori.gunma.jp":!0,"minakami.gunma.jp":!0,"naganohara.gunma.jp":!0,"nakanojo.gunma.jp":!0,"nanmoku.gunma.jp":!0,"numata.gunma.jp":!0,"oizumi.gunma.jp":!0,"ora.gunma.jp":!0,"ota.gunma.jp":!0,"shibukawa.gunma.jp":!0,"shimonita.gunma.jp":!0,"shinto.gunma.jp":!0,"showa.gunma.jp":!0,"takasaki.gunma.jp":!0,"takayama.gunma.jp":!0,"tamamura.gunma.jp":!0,"tatebayashi.gunma.jp":!0,"tomioka.gunma.jp":!0,"tsukiyono.gunma.jp":!0,"tsumagoi.gunma.jp":!0,"ueno.gunma.jp":!0,"yoshioka.gunma.jp":!0,"asaminami.hiroshima.jp":!0,"daiwa.hiroshima.jp":!0,"etajima.hiroshima.jp":!0,"fuchu.hiroshima.jp":!0,"fukuyama.hiroshima.jp":!0,"hatsukaichi.hiroshima.jp":!0,"higashihiroshima.hiroshima.jp":!0,"hongo.hiroshima.jp":!0,"jinsekikogen.hiroshima.jp":!0,"kaita.hiroshima.jp":!0,"kui.hiroshima.jp":!0,"kumano.hiroshima.jp":!0,"kure.hiroshima.jp":!0,"mihara.hiroshima.jp":!0,"miyoshi.hiroshima.jp":!0,"naka.hiroshima.jp":!0,"onomichi.hiroshima.jp":!0,"osakikamijima.hiroshima.jp":!0,"otake.hiroshima.jp":!0,"saka.hiroshima.jp":!0,"sera.hiroshima.jp":!0,"seranishi.hiroshima.jp":!0,"shinichi.hiroshima.jp":!0,"shobara.hiroshima.jp":!0,"takehara.hiroshima.jp":!0,"abashiri.hokkaido.jp":!0,"abira.hokkaido.jp":!0,"aibetsu.hokkaido.jp":!0,"akabira.hokkaido.jp":!0,"akkeshi.hokkaido.jp":!0,"asahikawa.hokkaido.jp":!0,"ashibetsu.hokkaido.jp":!0,"ashoro.hokkaido.jp":!0,"assabu.hokkaido.jp":!0,"atsuma.hokkaido.jp":!0,"bibai.hokkaido.jp":!0,"biei.hokkaido.jp":!0,"bifuka.hokkaido.jp":!0,"bihoro.hokkaido.jp":!0,"biratori.hokkaido.jp":!0,"chippubetsu.hokkaido.jp":!0,"chitose.hokkaido.jp":!0,"date.hokkaido.jp":!0,"ebetsu.hokkaido.jp":!0,"embetsu.hokkaido.jp":!0,"eniwa.hokkaido.jp":!0,"erimo.hokkaido.jp":!0,"esan.hokkaido.jp":!0,"esashi.hokkaido.jp":!0,"fukagawa.hokkaido.jp":!0,"fukushima.hokkaido.jp":!0,"furano.hokkaido.jp":!0,"furubira.hokkaido.jp":!0,"haboro.hokkaido.jp":!0,"hakodate.hokkaido.jp":!0,"hamatonbetsu.hokkaido.jp":!0,"hidaka.hokkaido.jp":!0,"higashikagura.hokkaido.jp":!0,"higashikawa.hokkaido.jp":!0,"hiroo.hokkaido.jp":!0,"hokuryu.hokkaido.jp":!0,"hokuto.hokkaido.jp":!0,"honbetsu.hokkaido.jp":!0,"horokanai.hokkaido.jp":!0,"horonobe.hokkaido.jp":!0,"ikeda.hokkaido.jp":!0,"imakane.hokkaido.jp":!0,"ishikari.hokkaido.jp":!0,"iwamizawa.hokkaido.jp":!0,"iwanai.hokkaido.jp":!0,"kamifurano.hokkaido.jp":!0,"kamikawa.hokkaido.jp":!0,"kamishihoro.hokkaido.jp":!0,"kamisunagawa.hokkaido.jp":!0,"kamoenai.hokkaido.jp":!0,"kayabe.hokkaido.jp":!0,"kembuchi.hokkaido.jp":!0,"kikonai.hokkaido.jp":!0,"kimobetsu.hokkaido.jp":!0,"kitahiroshima.hokkaido.jp":!0,"kitami.hokkaido.jp":!0,"kiyosato.hokkaido.jp":!0,"koshimizu.hokkaido.jp":!0,"kunneppu.hokkaido.jp":!0,"kuriyama.hokkaido.jp":!0,"kuromatsunai.hokkaido.jp":!0,"kushiro.hokkaido.jp":!0,"kutchan.hokkaido.jp":!0,"kyowa.hokkaido.jp":!0,"mashike.hokkaido.jp":!0,"matsumae.hokkaido.jp":!0,"mikasa.hokkaido.jp":!0,"minamifurano.hokkaido.jp":!0,"mombetsu.hokkaido.jp":!0,"moseushi.hokkaido.jp":!0,"mukawa.hokkaido.jp":!0,"muroran.hokkaido.jp":!0,"naie.hokkaido.jp":!0,"nakagawa.hokkaido.jp":!0,"nakasatsunai.hokkaido.jp":!0,"nakatombetsu.hokkaido.jp":!0,"nanae.hokkaido.jp":!0,"nanporo.hokkaido.jp":!0,"nayoro.hokkaido.jp":!0,"nemuro.hokkaido.jp":!0,"niikappu.hokkaido.jp":!0,"niki.hokkaido.jp":!0,"nishiokoppe.hokkaido.jp":!0,"noboribetsu.hokkaido.jp":!0,"numata.hokkaido.jp":!0,"obihiro.hokkaido.jp":!0,"obira.hokkaido.jp":!0,"oketo.hokkaido.jp":!0,"okoppe.hokkaido.jp":!0,"otaru.hokkaido.jp":!0,"otobe.hokkaido.jp":!0,"otofuke.hokkaido.jp":!0,"otoineppu.hokkaido.jp":!0,"oumu.hokkaido.jp":!0,"ozora.hokkaido.jp":!0,"pippu.hokkaido.jp":!0,"rankoshi.hokkaido.jp":!0,"rebun.hokkaido.jp":!0,"rikubetsu.hokkaido.jp":!0,"rishiri.hokkaido.jp":!0,"rishirifuji.hokkaido.jp":!0,"saroma.hokkaido.jp":!0,"sarufutsu.hokkaido.jp":!0,"shakotan.hokkaido.jp":!0,"shari.hokkaido.jp":!0,"shibecha.hokkaido.jp":!0,"shibetsu.hokkaido.jp":!0,"shikabe.hokkaido.jp":!0,"shikaoi.hokkaido.jp":!0,"shimamaki.hokkaido.jp":!0,"shimizu.hokkaido.jp":!0,"shimokawa.hokkaido.jp":!0,"shinshinotsu.hokkaido.jp":!0,"shintoku.hokkaido.jp":!0,"shiranuka.hokkaido.jp":!0,"shiraoi.hokkaido.jp":!0,"shiriuchi.hokkaido.jp":!0,"sobetsu.hokkaido.jp":!0,"sunagawa.hokkaido.jp":!0,"taiki.hokkaido.jp":!0,"takasu.hokkaido.jp":!0,"takikawa.hokkaido.jp":!0,"takinoue.hokkaido.jp":!0,"teshikaga.hokkaido.jp":!0,"tobetsu.hokkaido.jp":!0,"tohma.hokkaido.jp":!0,"tomakomai.hokkaido.jp":!0,"tomari.hokkaido.jp":!0,"toya.hokkaido.jp":!0,"toyako.hokkaido.jp":!0,"toyotomi.hokkaido.jp":!0,"toyoura.hokkaido.jp":!0,"tsubetsu.hokkaido.jp":!0,"tsukigata.hokkaido.jp":!0,"urakawa.hokkaido.jp":!0,"urausu.hokkaido.jp":!0,"uryu.hokkaido.jp":!0,"utashinai.hokkaido.jp":!0,"wakkanai.hokkaido.jp":!0,"wassamu.hokkaido.jp":!0,"yakumo.hokkaido.jp":!0,"yoichi.hokkaido.jp":!0,"aioi.hyogo.jp":!0,"akashi.hyogo.jp":!0,"ako.hyogo.jp":!0,"amagasaki.hyogo.jp":!0,"aogaki.hyogo.jp":!0,"asago.hyogo.jp":!0,"ashiya.hyogo.jp":!0,"awaji.hyogo.jp":!0,"fukusaki.hyogo.jp":!0,"goshiki.hyogo.jp":!0,"harima.hyogo.jp":!0,"himeji.hyogo.jp":!0,"ichikawa.hyogo.jp":!0,"inagawa.hyogo.jp":!0,"itami.hyogo.jp":!0,"kakogawa.hyogo.jp":!0,"kamigori.hyogo.jp":!0,"kamikawa.hyogo.jp":!0,"kasai.hyogo.jp":!0,"kasuga.hyogo.jp":!0,"kawanishi.hyogo.jp":!0,"miki.hyogo.jp":!0,"minamiawaji.hyogo.jp":!0,"nishinomiya.hyogo.jp":!0,"nishiwaki.hyogo.jp":!0,"ono.hyogo.jp":!0,"sanda.hyogo.jp":!0,"sannan.hyogo.jp":!0,"sasayama.hyogo.jp":!0,"sayo.hyogo.jp":!0,"shingu.hyogo.jp":!0,"shinonsen.hyogo.jp":!0,"shiso.hyogo.jp":!0,"sumoto.hyogo.jp":!0,"taishi.hyogo.jp":!0,"taka.hyogo.jp":!0,"takarazuka.hyogo.jp":!0,"takasago.hyogo.jp":!0,"takino.hyogo.jp":!0,"tamba.hyogo.jp":!0,"tatsuno.hyogo.jp":!0,"toyooka.hyogo.jp":!0,"yabu.hyogo.jp":!0,"yashiro.hyogo.jp":!0,"yoka.hyogo.jp":!0,"yokawa.hyogo.jp":!0,"ami.ibaraki.jp":!0,"asahi.ibaraki.jp":!0,"bando.ibaraki.jp":!0,"chikusei.ibaraki.jp":!0,"daigo.ibaraki.jp":!0,"fujishiro.ibaraki.jp":!0,"hitachi.ibaraki.jp":!0,"hitachinaka.ibaraki.jp":!0,"hitachiomiya.ibaraki.jp":!0,"hitachiota.ibaraki.jp":!0,"ibaraki.ibaraki.jp":!0,"ina.ibaraki.jp":!0,"inashiki.ibaraki.jp":!0,"itako.ibaraki.jp":!0,"iwama.ibaraki.jp":!0,"joso.ibaraki.jp":!0,"kamisu.ibaraki.jp":!0,"kasama.ibaraki.jp":!0,"kashima.ibaraki.jp":!0,"kasumigaura.ibaraki.jp":!0,"koga.ibaraki.jp":!0,"miho.ibaraki.jp":!0,"mito.ibaraki.jp":!0,"moriya.ibaraki.jp":!0,"naka.ibaraki.jp":!0,"namegata.ibaraki.jp":!0,"oarai.ibaraki.jp":!0,"ogawa.ibaraki.jp":!0,"omitama.ibaraki.jp":!0,"ryugasaki.ibaraki.jp":!0,"sakai.ibaraki.jp":!0,"sakuragawa.ibaraki.jp":!0,"shimodate.ibaraki.jp":!0,"shimotsuma.ibaraki.jp":!0,"shirosato.ibaraki.jp":!0,"sowa.ibaraki.jp":!0,"suifu.ibaraki.jp":!0,"takahagi.ibaraki.jp":!0,"tamatsukuri.ibaraki.jp":!0,"tokai.ibaraki.jp":!0,"tomobe.ibaraki.jp":!0,"tone.ibaraki.jp":!0,"toride.ibaraki.jp":!0,"tsuchiura.ibaraki.jp":!0,"tsukuba.ibaraki.jp":!0,"uchihara.ibaraki.jp":!0,"ushiku.ibaraki.jp":!0,"yachiyo.ibaraki.jp":!0,"yamagata.ibaraki.jp":!0,"yawara.ibaraki.jp":!0,"yuki.ibaraki.jp":!0,"anamizu.ishikawa.jp":!0,"hakui.ishikawa.jp":!0,"hakusan.ishikawa.jp":!0,"kaga.ishikawa.jp":!0,"kahoku.ishikawa.jp":!0,"kanazawa.ishikawa.jp":!0,"kawakita.ishikawa.jp":!0,"komatsu.ishikawa.jp":!0,"nakanoto.ishikawa.jp":!0,"nanao.ishikawa.jp":!0,"nomi.ishikawa.jp":!0,"nonoichi.ishikawa.jp":!0,"noto.ishikawa.jp":!0,"shika.ishikawa.jp":!0,"suzu.ishikawa.jp":!0,"tsubata.ishikawa.jp":!0,"tsurugi.ishikawa.jp":!0,"uchinada.ishikawa.jp":!0,"wajima.ishikawa.jp":!0,"fudai.iwate.jp":!0,"fujisawa.iwate.jp":!0,"hanamaki.iwate.jp":!0,"hiraizumi.iwate.jp":!0,"hirono.iwate.jp":!0,"ichinohe.iwate.jp":!0,"ichinoseki.iwate.jp":!0,"iwaizumi.iwate.jp":!0,"iwate.iwate.jp":!0,"joboji.iwate.jp":!0,"kamaishi.iwate.jp":!0,"kanegasaki.iwate.jp":!0,"karumai.iwate.jp":!0,"kawai.iwate.jp":!0,"kitakami.iwate.jp":!0,"kuji.iwate.jp":!0,"kunohe.iwate.jp":!0,"kuzumaki.iwate.jp":!0,"miyako.iwate.jp":!0,"mizusawa.iwate.jp":!0,"morioka.iwate.jp":!0,"ninohe.iwate.jp":!0,"noda.iwate.jp":!0,"ofunato.iwate.jp":!0,"oshu.iwate.jp":!0,"otsuchi.iwate.jp":!0,"rikuzentakata.iwate.jp":!0,"shiwa.iwate.jp":!0,"shizukuishi.iwate.jp":!0,"sumita.iwate.jp":!0,"tanohata.iwate.jp":!0,"tono.iwate.jp":!0,"yahaba.iwate.jp":!0,"yamada.iwate.jp":!0,"ayagawa.kagawa.jp":!0,"higashikagawa.kagawa.jp":!0,"kanonji.kagawa.jp":!0,"kotohira.kagawa.jp":!0,"manno.kagawa.jp":!0,"marugame.kagawa.jp":!0,"mitoyo.kagawa.jp":!0,"naoshima.kagawa.jp":!0,"sanuki.kagawa.jp":!0,"tadotsu.kagawa.jp":!0,"takamatsu.kagawa.jp":!0,"tonosho.kagawa.jp":!0,"uchinomi.kagawa.jp":!0,"utazu.kagawa.jp":!0,"zentsuji.kagawa.jp":!0,"akune.kagoshima.jp":!0,"amami.kagoshima.jp":!0,"hioki.kagoshima.jp":!0,"isa.kagoshima.jp":!0,"isen.kagoshima.jp":!0,"izumi.kagoshima.jp":!0,"kagoshima.kagoshima.jp":!0,"kanoya.kagoshima.jp":!0,"kawanabe.kagoshima.jp":!0,"kinko.kagoshima.jp":!0,"kouyama.kagoshima.jp":!0,"makurazaki.kagoshima.jp":!0,"matsumoto.kagoshima.jp":!0,"minamitane.kagoshima.jp":!0,"nakatane.kagoshima.jp":!0,"nishinoomote.kagoshima.jp":!0,"satsumasendai.kagoshima.jp":!0,"soo.kagoshima.jp":!0,"tarumizu.kagoshima.jp":!0,"yusui.kagoshima.jp":!0,"aikawa.kanagawa.jp":!0,"atsugi.kanagawa.jp":!0,"ayase.kanagawa.jp":!0,"chigasaki.kanagawa.jp":!0,"ebina.kanagawa.jp":!0,"fujisawa.kanagawa.jp":!0,"hadano.kanagawa.jp":!0,"hakone.kanagawa.jp":!0,"hiratsuka.kanagawa.jp":!0,"isehara.kanagawa.jp":!0,"kaisei.kanagawa.jp":!0,"kamakura.kanagawa.jp":!0,"kiyokawa.kanagawa.jp":!0,"matsuda.kanagawa.jp":!0,"minamiashigara.kanagawa.jp":!0,"miura.kanagawa.jp":!0,"nakai.kanagawa.jp":!0,"ninomiya.kanagawa.jp":!0,"odawara.kanagawa.jp":!0,"oi.kanagawa.jp":!0,"oiso.kanagawa.jp":!0,"sagamihara.kanagawa.jp":!0,"samukawa.kanagawa.jp":!0,"tsukui.kanagawa.jp":!0,"yamakita.kanagawa.jp":!0,"yamato.kanagawa.jp":!0,"yokosuka.kanagawa.jp":!0,"yugawara.kanagawa.jp":!0,"zama.kanagawa.jp":!0,"zushi.kanagawa.jp":!0,"aki.kochi.jp":!0,"geisei.kochi.jp":!0,"hidaka.kochi.jp":!0,"higashitsuno.kochi.jp":!0,"ino.kochi.jp":!0,"kagami.kochi.jp":!0,"kami.kochi.jp":!0,"kitagawa.kochi.jp":!0,"kochi.kochi.jp":!0,"mihara.kochi.jp":!0,"motoyama.kochi.jp":!0,"muroto.kochi.jp":!0,"nahari.kochi.jp":!0,"nakamura.kochi.jp":!0,"nankoku.kochi.jp":!0,"nishitosa.kochi.jp":!0,"niyodogawa.kochi.jp":!0,"ochi.kochi.jp":!0,"okawa.kochi.jp":!0,"otoyo.kochi.jp":!0,"otsuki.kochi.jp":!0,"sakawa.kochi.jp":!0,"sukumo.kochi.jp":!0,"susaki.kochi.jp":!0,"tosa.kochi.jp":!0,"tosashimizu.kochi.jp":!0,"toyo.kochi.jp":!0,"tsuno.kochi.jp":!0,"umaji.kochi.jp":!0,"yasuda.kochi.jp":!0,"yusuhara.kochi.jp":!0,"amakusa.kumamoto.jp":!0,"arao.kumamoto.jp":!0,"aso.kumamoto.jp":!0,"choyo.kumamoto.jp":!0,"gyokuto.kumamoto.jp":!0,"kamiamakusa.kumamoto.jp":!0,"kikuchi.kumamoto.jp":!0,"kumamoto.kumamoto.jp":!0,"mashiki.kumamoto.jp":!0,"mifune.kumamoto.jp":!0,"minamata.kumamoto.jp":!0,"minamioguni.kumamoto.jp":!0,"nagasu.kumamoto.jp":!0,"nishihara.kumamoto.jp":!0,"oguni.kumamoto.jp":!0,"ozu.kumamoto.jp":!0,"sumoto.kumamoto.jp":!0,"takamori.kumamoto.jp":!0,"uki.kumamoto.jp":!0,"uto.kumamoto.jp":!0,"yamaga.kumamoto.jp":!0,"yamato.kumamoto.jp":!0,"yatsushiro.kumamoto.jp":!0,"ayabe.kyoto.jp":!0,"fukuchiyama.kyoto.jp":!0,"higashiyama.kyoto.jp":!0,"ide.kyoto.jp":!0,"ine.kyoto.jp":!0,"joyo.kyoto.jp":!0,"kameoka.kyoto.jp":!0,"kamo.kyoto.jp":!0,"kita.kyoto.jp":!0,"kizu.kyoto.jp":!0,"kumiyama.kyoto.jp":!0,"kyotamba.kyoto.jp":!0,"kyotanabe.kyoto.jp":!0,"kyotango.kyoto.jp":!0,"maizuru.kyoto.jp":!0,"minami.kyoto.jp":!0,"minamiyamashiro.kyoto.jp":!0,"miyazu.kyoto.jp":!0,"muko.kyoto.jp":!0,"nagaokakyo.kyoto.jp":!0,"nakagyo.kyoto.jp":!0,"nantan.kyoto.jp":!0,"oyamazaki.kyoto.jp":!0,"sakyo.kyoto.jp":!0,"seika.kyoto.jp":!0,"tanabe.kyoto.jp":!0,"uji.kyoto.jp":!0,"ujitawara.kyoto.jp":!0,"wazuka.kyoto.jp":!0,"yamashina.kyoto.jp":!0,"yawata.kyoto.jp":!0,"asahi.mie.jp":!0,"inabe.mie.jp":!0,"ise.mie.jp":!0,"kameyama.mie.jp":!0,"kawagoe.mie.jp":!0,"kiho.mie.jp":!0,"kisosaki.mie.jp":!0,"kiwa.mie.jp":!0,"komono.mie.jp":!0,"kumano.mie.jp":!0,"kuwana.mie.jp":!0,"matsusaka.mie.jp":!0,"meiwa.mie.jp":!0,"mihama.mie.jp":!0,"minamiise.mie.jp":!0,"misugi.mie.jp":!0,"miyama.mie.jp":!0,"nabari.mie.jp":!0,"shima.mie.jp":!0,"suzuka.mie.jp":!0,"tado.mie.jp":!0,"taiki.mie.jp":!0,"taki.mie.jp":!0,"tamaki.mie.jp":!0,"toba.mie.jp":!0,"tsu.mie.jp":!0,"udono.mie.jp":!0,"ureshino.mie.jp":!0,"watarai.mie.jp":!0,"yokkaichi.mie.jp":!0,"furukawa.miyagi.jp":!0,"higashimatsushima.miyagi.jp":!0,"ishinomaki.miyagi.jp":!0,"iwanuma.miyagi.jp":!0,"kakuda.miyagi.jp":!0,"kami.miyagi.jp":!0,"kawasaki.miyagi.jp":!0,"marumori.miyagi.jp":!0,"matsushima.miyagi.jp":!0,"minamisanriku.miyagi.jp":!0,"misato.miyagi.jp":!0,"murata.miyagi.jp":!0,"natori.miyagi.jp":!0,"ogawara.miyagi.jp":!0,"ohira.miyagi.jp":!0,"onagawa.miyagi.jp":!0,"osaki.miyagi.jp":!0,"rifu.miyagi.jp":!0,"semine.miyagi.jp":!0,"shibata.miyagi.jp":!0,"shichikashuku.miyagi.jp":!0,"shikama.miyagi.jp":!0,"shiogama.miyagi.jp":!0,"shiroishi.miyagi.jp":!0,"tagajo.miyagi.jp":!0,"taiwa.miyagi.jp":!0,"tome.miyagi.jp":!0,"tomiya.miyagi.jp":!0,"wakuya.miyagi.jp":!0,"watari.miyagi.jp":!0,"yamamoto.miyagi.jp":!0,"zao.miyagi.jp":!0,"aya.miyazaki.jp":!0,"ebino.miyazaki.jp":!0,"gokase.miyazaki.jp":!0,"hyuga.miyazaki.jp":!0,"kadogawa.miyazaki.jp":!0,"kawaminami.miyazaki.jp":!0,"kijo.miyazaki.jp":!0,"kitagawa.miyazaki.jp":!0,"kitakata.miyazaki.jp":!0,"kitaura.miyazaki.jp":!0,"kobayashi.miyazaki.jp":!0,"kunitomi.miyazaki.jp":!0,"kushima.miyazaki.jp":!0,"mimata.miyazaki.jp":!0,"miyakonojo.miyazaki.jp":!0,"miyazaki.miyazaki.jp":!0,"morotsuka.miyazaki.jp":!0,"nichinan.miyazaki.jp":!0,"nishimera.miyazaki.jp":!0,"nobeoka.miyazaki.jp":!0,"saito.miyazaki.jp":!0,"shiiba.miyazaki.jp":!0,"shintomi.miyazaki.jp":!0,"takaharu.miyazaki.jp":!0,"takanabe.miyazaki.jp":!0,"takazaki.miyazaki.jp":!0,"tsuno.miyazaki.jp":!0,"achi.nagano.jp":!0,"agematsu.nagano.jp":!0,"anan.nagano.jp":!0,"aoki.nagano.jp":!0,"asahi.nagano.jp":!0,"azumino.nagano.jp":!0,"chikuhoku.nagano.jp":!0,"chikuma.nagano.jp":!0,"chino.nagano.jp":!0,"fujimi.nagano.jp":!0,"hakuba.nagano.jp":!0,"hara.nagano.jp":!0,"hiraya.nagano.jp":!0,"iida.nagano.jp":!0,"iijima.nagano.jp":!0,"iiyama.nagano.jp":!0,"iizuna.nagano.jp":!0,"ikeda.nagano.jp":!0,"ikusaka.nagano.jp":!0,"ina.nagano.jp":!0,"karuizawa.nagano.jp":!0,"kawakami.nagano.jp":!0,"kiso.nagano.jp":!0,"kisofukushima.nagano.jp":!0,"kitaaiki.nagano.jp":!0,"komagane.nagano.jp":!0,"komoro.nagano.jp":!0,"matsukawa.nagano.jp":!0,"matsumoto.nagano.jp":!0,"miasa.nagano.jp":!0,"minamiaiki.nagano.jp":!0,"minamimaki.nagano.jp":!0,"minamiminowa.nagano.jp":!0,"minowa.nagano.jp":!0,"miyada.nagano.jp":!0,"miyota.nagano.jp":!0,"mochizuki.nagano.jp":!0,"nagano.nagano.jp":!0,"nagawa.nagano.jp":!0,"nagiso.nagano.jp":!0,"nakagawa.nagano.jp":!0,"nakano.nagano.jp":!0,"nozawaonsen.nagano.jp":!0,"obuse.nagano.jp":!0,"ogawa.nagano.jp":!0,"okaya.nagano.jp":!0,"omachi.nagano.jp":!0,"omi.nagano.jp":!0,"ookuwa.nagano.jp":!0,"ooshika.nagano.jp":!0,"otaki.nagano.jp":!0,"otari.nagano.jp":!0,"sakae.nagano.jp":!0,"sakaki.nagano.jp":!0,"saku.nagano.jp":!0,"sakuho.nagano.jp":!0,"shimosuwa.nagano.jp":!0,"shinanomachi.nagano.jp":!0,"shiojiri.nagano.jp":!0,"suwa.nagano.jp":!0,"suzaka.nagano.jp":!0,"takagi.nagano.jp":!0,"takamori.nagano.jp":!0,"takayama.nagano.jp":!0,"tateshina.nagano.jp":!0,"tatsuno.nagano.jp":!0,"togakushi.nagano.jp":!0,"togura.nagano.jp":!0,"tomi.nagano.jp":!0,"ueda.nagano.jp":!0,"wada.nagano.jp":!0,"yamagata.nagano.jp":!0,"yamanouchi.nagano.jp":!0,"yasaka.nagano.jp":!0,"yasuoka.nagano.jp":!0,"chijiwa.nagasaki.jp":!0,"futsu.nagasaki.jp":!0,"goto.nagasaki.jp":!0,"hasami.nagasaki.jp":!0,"hirado.nagasaki.jp":!0,"iki.nagasaki.jp":!0,"isahaya.nagasaki.jp":!0,"kawatana.nagasaki.jp":!0,"kuchinotsu.nagasaki.jp":!0,"matsuura.nagasaki.jp":!0,"nagasaki.nagasaki.jp":!0,"obama.nagasaki.jp":!0,"omura.nagasaki.jp":!0,"oseto.nagasaki.jp":!0,"saikai.nagasaki.jp":!0,"sasebo.nagasaki.jp":!0,"seihi.nagasaki.jp":!0,"shimabara.nagasaki.jp":!0,"shinkamigoto.nagasaki.jp":!0,"togitsu.nagasaki.jp":!0,"tsushima.nagasaki.jp":!0,"unzen.nagasaki.jp":!0,"ando.nara.jp":!0,"gose.nara.jp":!0,"heguri.nara.jp":!0,"higashiyoshino.nara.jp":!0,"ikaruga.nara.jp":!0,"ikoma.nara.jp":!0,"kamikitayama.nara.jp":!0,"kanmaki.nara.jp":!0,"kashiba.nara.jp":!0,"kashihara.nara.jp":!0,"katsuragi.nara.jp":!0,"kawai.nara.jp":!0,"kawakami.nara.jp":!0,"kawanishi.nara.jp":!0,"koryo.nara.jp":!0,"kurotaki.nara.jp":!0,"mitsue.nara.jp":!0,"miyake.nara.jp":!0,"nara.nara.jp":!0,"nosegawa.nara.jp":!0,"oji.nara.jp":!0,"ouda.nara.jp":!0,"oyodo.nara.jp":!0,"sakurai.nara.jp":!0,"sango.nara.jp":!0,"shimoichi.nara.jp":!0,"shimokitayama.nara.jp":!0,"shinjo.nara.jp":!0,"soni.nara.jp":!0,"takatori.nara.jp":!0,"tawaramoto.nara.jp":!0,"tenkawa.nara.jp":!0,"tenri.nara.jp":!0,"uda.nara.jp":!0,"yamatokoriyama.nara.jp":!0,"yamatotakada.nara.jp":!0,"yamazoe.nara.jp":!0,"yoshino.nara.jp":!0,"aga.niigata.jp":!0,"agano.niigata.jp":!0,"gosen.niigata.jp":!0,"itoigawa.niigata.jp":!0,"izumozaki.niigata.jp":!0,"joetsu.niigata.jp":!0,"kamo.niigata.jp":!0,"kariwa.niigata.jp":!0,"kashiwazaki.niigata.jp":!0,"minamiuonuma.niigata.jp":!0,"mitsuke.niigata.jp":!0,"muika.niigata.jp":!0,"murakami.niigata.jp":!0,"myoko.niigata.jp":!0,"nagaoka.niigata.jp":!0,"niigata.niigata.jp":!0,"ojiya.niigata.jp":!0,"omi.niigata.jp":!0,"sado.niigata.jp":!0,"sanjo.niigata.jp":!0,"seiro.niigata.jp":!0,"seirou.niigata.jp":!0,"sekikawa.niigata.jp":!0,"shibata.niigata.jp":!0,"tagami.niigata.jp":!0,"tainai.niigata.jp":!0,"tochio.niigata.jp":!0,"tokamachi.niigata.jp":!0,"tsubame.niigata.jp":!0,"tsunan.niigata.jp":!0,"uonuma.niigata.jp":!0,"yahiko.niigata.jp":!0,"yoita.niigata.jp":!0,"yuzawa.niigata.jp":!0,"beppu.oita.jp":!0,"bungoono.oita.jp":!0,"bungotakada.oita.jp":!0,"hasama.oita.jp":!0,"hiji.oita.jp":!0,"himeshima.oita.jp":!0,"hita.oita.jp":!0,"kamitsue.oita.jp":!0,"kokonoe.oita.jp":!0,"kuju.oita.jp":!0,"kunisaki.oita.jp":!0,"kusu.oita.jp":!0,"oita.oita.jp":!0,"saiki.oita.jp":!0,"taketa.oita.jp":!0,"tsukumi.oita.jp":!0,"usa.oita.jp":!0,"usuki.oita.jp":!0,"yufu.oita.jp":!0,"akaiwa.okayama.jp":!0,"asakuchi.okayama.jp":!0,"bizen.okayama.jp":!0,"hayashima.okayama.jp":!0,"ibara.okayama.jp":!0,"kagamino.okayama.jp":!0,"kasaoka.okayama.jp":!0,"kibichuo.okayama.jp":!0,"kumenan.okayama.jp":!0,"kurashiki.okayama.jp":!0,"maniwa.okayama.jp":!0,"misaki.okayama.jp":!0,"nagi.okayama.jp":!0,"niimi.okayama.jp":!0,"nishiawakura.okayama.jp":!0,"okayama.okayama.jp":!0,"satosho.okayama.jp":!0,"setouchi.okayama.jp":!0,"shinjo.okayama.jp":!0,"shoo.okayama.jp":!0,"soja.okayama.jp":!0,"takahashi.okayama.jp":!0,"tamano.okayama.jp":!0,"tsuyama.okayama.jp":!0,"wake.okayama.jp":!0,"yakage.okayama.jp":!0,"aguni.okinawa.jp":!0,"ginowan.okinawa.jp":!0,"ginoza.okinawa.jp":!0,"gushikami.okinawa.jp":!0,"haebaru.okinawa.jp":!0,"higashi.okinawa.jp":!0,"hirara.okinawa.jp":!0,"iheya.okinawa.jp":!0,"ishigaki.okinawa.jp":!0,"ishikawa.okinawa.jp":!0,"itoman.okinawa.jp":!0,"izena.okinawa.jp":!0,"kadena.okinawa.jp":!0,"kin.okinawa.jp":!0,"kitadaito.okinawa.jp":!0,"kitanakagusuku.okinawa.jp":!0,"kumejima.okinawa.jp":!0,"kunigami.okinawa.jp":!0,"minamidaito.okinawa.jp":!0,"motobu.okinawa.jp":!0,"nago.okinawa.jp":!0,"naha.okinawa.jp":!0,"nakagusuku.okinawa.jp":!0,"nakijin.okinawa.jp":!0,"nanjo.okinawa.jp":!0,"nishihara.okinawa.jp":!0,"ogimi.okinawa.jp":!0,"okinawa.okinawa.jp":!0,"onna.okinawa.jp":!0,"shimoji.okinawa.jp":!0,"taketomi.okinawa.jp":!0,"tarama.okinawa.jp":!0,"tokashiki.okinawa.jp":!0,"tomigusuku.okinawa.jp":!0,"tonaki.okinawa.jp":!0,"urasoe.okinawa.jp":!0,"uruma.okinawa.jp":!0,"yaese.okinawa.jp":!0,"yomitan.okinawa.jp":!0,"yonabaru.okinawa.jp":!0,"yonaguni.okinawa.jp":!0,"zamami.okinawa.jp":!0,"abeno.osaka.jp":!0,"chihayaakasaka.osaka.jp":!0,"chuo.osaka.jp":!0,"daito.osaka.jp":!0,"fujiidera.osaka.jp":!0,"habikino.osaka.jp":!0,"hannan.osaka.jp":!0,"higashiosaka.osaka.jp":!0,"higashisumiyoshi.osaka.jp":!0,"higashiyodogawa.osaka.jp":!0,"hirakata.osaka.jp":!0,"ibaraki.osaka.jp":!0,"ikeda.osaka.jp":!0,"izumi.osaka.jp":!0,"izumiotsu.osaka.jp":!0,"izumisano.osaka.jp":!0,"kadoma.osaka.jp":!0,"kaizuka.osaka.jp":!0,"kanan.osaka.jp":!0,"kashiwara.osaka.jp":!0,"katano.osaka.jp":!0,"kawachinagano.osaka.jp":!0,"kishiwada.osaka.jp":!0,"kita.osaka.jp":!0,"kumatori.osaka.jp":!0,"matsubara.osaka.jp":!0,"minato.osaka.jp":!0,"minoh.osaka.jp":!0,"misaki.osaka.jp":!0,"moriguchi.osaka.jp":!0,"neyagawa.osaka.jp":!0,"nishi.osaka.jp":!0,"nose.osaka.jp":!0,"osakasayama.osaka.jp":!0,"sakai.osaka.jp":!0,"sayama.osaka.jp":!0,"sennan.osaka.jp":!0,"settsu.osaka.jp":!0,"shijonawate.osaka.jp":!0,"shimamoto.osaka.jp":!0,"suita.osaka.jp":!0,"tadaoka.osaka.jp":!0,"taishi.osaka.jp":!0,"tajiri.osaka.jp":!0,"takaishi.osaka.jp":!0,"takatsuki.osaka.jp":!0,"tondabayashi.osaka.jp":!0,"toyonaka.osaka.jp":!0,"toyono.osaka.jp":!0,"yao.osaka.jp":!0,"ariake.saga.jp":!0,"arita.saga.jp":!0,"fukudomi.saga.jp":!0,"genkai.saga.jp":!0,"hamatama.saga.jp":!0,"hizen.saga.jp":!0,"imari.saga.jp":!0,"kamimine.saga.jp":!0,"kanzaki.saga.jp":!0,"karatsu.saga.jp":!0,"kashima.saga.jp":!0,"kitagata.saga.jp":!0,"kitahata.saga.jp":!0,"kiyama.saga.jp":!0,"kouhoku.saga.jp":!0,"kyuragi.saga.jp":!0,"nishiarita.saga.jp":!0,"ogi.saga.jp":!0,"omachi.saga.jp":!0,"ouchi.saga.jp":!0,"saga.saga.jp":!0,"shiroishi.saga.jp":!0,"taku.saga.jp":!0,"tara.saga.jp":!0,"tosu.saga.jp":!0,"yoshinogari.saga.jp":!0,"arakawa.saitama.jp":!0,"asaka.saitama.jp":!0,"chichibu.saitama.jp":!0,"fujimi.saitama.jp":!0,"fujimino.saitama.jp":!0,"fukaya.saitama.jp":!0,"hanno.saitama.jp":!0,"hanyu.saitama.jp":!0,"hasuda.saitama.jp":!0,"hatogaya.saitama.jp":!0,"hatoyama.saitama.jp":!0,"hidaka.saitama.jp":!0,"higashichichibu.saitama.jp":!0,"higashimatsuyama.saitama.jp":!0,"honjo.saitama.jp":!0,"ina.saitama.jp":!0,"iruma.saitama.jp":!0,"iwatsuki.saitama.jp":!0,"kamiizumi.saitama.jp":!0,"kamikawa.saitama.jp":!0,"kamisato.saitama.jp":!0,"kasukabe.saitama.jp":!0,"kawagoe.saitama.jp":!0,"kawaguchi.saitama.jp":!0,"kawajima.saitama.jp":!0,"kazo.saitama.jp":!0,"kitamoto.saitama.jp":!0,"koshigaya.saitama.jp":!0,"kounosu.saitama.jp":!0,"kuki.saitama.jp":!0,"kumagaya.saitama.jp":!0,"matsubushi.saitama.jp":!0,"minano.saitama.jp":!0,"misato.saitama.jp":!0,"miyashiro.saitama.jp":!0,"miyoshi.saitama.jp":!0,"moroyama.saitama.jp":!0,"nagatoro.saitama.jp":!0,"namegawa.saitama.jp":!0,"niiza.saitama.jp":!0,"ogano.saitama.jp":!0,"ogawa.saitama.jp":!0,"ogose.saitama.jp":!0,"okegawa.saitama.jp":!0,"omiya.saitama.jp":!0,"otaki.saitama.jp":!0,"ranzan.saitama.jp":!0,"ryokami.saitama.jp":!0,"saitama.saitama.jp":!0,"sakado.saitama.jp":!0,"satte.saitama.jp":!0,"sayama.saitama.jp":!0,"shiki.saitama.jp":!0,"shiraoka.saitama.jp":!0,"soka.saitama.jp":!0,"sugito.saitama.jp":!0,"toda.saitama.jp":!0,"tokigawa.saitama.jp":!0,"tokorozawa.saitama.jp":!0,"tsurugashima.saitama.jp":!0,"urawa.saitama.jp":!0,"warabi.saitama.jp":!0,"yashio.saitama.jp":!0,"yokoze.saitama.jp":!0,"yono.saitama.jp":!0,"yorii.saitama.jp":!0,"yoshida.saitama.jp":!0,"yoshikawa.saitama.jp":!0,"yoshimi.saitama.jp":!0,"aisho.shiga.jp":!0,"gamo.shiga.jp":!0,"higashiomi.shiga.jp":!0,"hikone.shiga.jp":!0,"koka.shiga.jp":!0,"konan.shiga.jp":!0,"kosei.shiga.jp":!0,"koto.shiga.jp":!0,"kusatsu.shiga.jp":!0,"maibara.shiga.jp":!0,"moriyama.shiga.jp":!0,"nagahama.shiga.jp":!0,"nishiazai.shiga.jp":!0,"notogawa.shiga.jp":!0,"omihachiman.shiga.jp":!0,"otsu.shiga.jp":!0,"ritto.shiga.jp":!0,"ryuoh.shiga.jp":!0,"takashima.shiga.jp":!0,"takatsuki.shiga.jp":!0,"torahime.shiga.jp":!0,"toyosato.shiga.jp":!0,"yasu.shiga.jp":!0,"akagi.shimane.jp":!0,"ama.shimane.jp":!0,"gotsu.shimane.jp":!0,"hamada.shimane.jp":!0,"higashiizumo.shimane.jp":!0,"hikawa.shimane.jp":!0,"hikimi.shimane.jp":!0,"izumo.shimane.jp":!0,"kakinoki.shimane.jp":!0,"masuda.shimane.jp":!0,"matsue.shimane.jp":!0,"misato.shimane.jp":!0,"nishinoshima.shimane.jp":!0,"ohda.shimane.jp":!0,"okinoshima.shimane.jp":!0,"okuizumo.shimane.jp":!0,"shimane.shimane.jp":!0,"tamayu.shimane.jp":!0,"tsuwano.shimane.jp":!0,"unnan.shimane.jp":!0,"yakumo.shimane.jp":!0,"yasugi.shimane.jp":!0,"yatsuka.shimane.jp":!0,"arai.shizuoka.jp":!0,"atami.shizuoka.jp":!0,"fuji.shizuoka.jp":!0,"fujieda.shizuoka.jp":!0,"fujikawa.shizuoka.jp":!0,"fujinomiya.shizuoka.jp":!0,"fukuroi.shizuoka.jp":!0,"gotemba.shizuoka.jp":!0,"haibara.shizuoka.jp":!0,"hamamatsu.shizuoka.jp":!0,"higashiizu.shizuoka.jp":!0,"ito.shizuoka.jp":!0,"iwata.shizuoka.jp":!0,"izu.shizuoka.jp":!0,"izunokuni.shizuoka.jp":!0,"kakegawa.shizuoka.jp":!0,"kannami.shizuoka.jp":!0,"kawanehon.shizuoka.jp":!0,"kawazu.shizuoka.jp":!0,"kikugawa.shizuoka.jp":!0,"kosai.shizuoka.jp":!0,"makinohara.shizuoka.jp":!0,"matsuzaki.shizuoka.jp":!0,"minamiizu.shizuoka.jp":!0,"mishima.shizuoka.jp":!0,"morimachi.shizuoka.jp":!0,"nishiizu.shizuoka.jp":!0,"numazu.shizuoka.jp":!0,"omaezaki.shizuoka.jp":!0,"shimada.shizuoka.jp":!0,"shimizu.shizuoka.jp":!0,"shimoda.shizuoka.jp":!0,"shizuoka.shizuoka.jp":!0,"susono.shizuoka.jp":!0,"yaizu.shizuoka.jp":!0,"yoshida.shizuoka.jp":!0,"ashikaga.tochigi.jp":!0,"bato.tochigi.jp":!0,"haga.tochigi.jp":!0,"ichikai.tochigi.jp":!0,"iwafune.tochigi.jp":!0,"kaminokawa.tochigi.jp":!0,"kanuma.tochigi.jp":!0,"karasuyama.tochigi.jp":!0,"kuroiso.tochigi.jp":!0,"mashiko.tochigi.jp":!0,"mibu.tochigi.jp":!0,"moka.tochigi.jp":!0,"motegi.tochigi.jp":!0,"nasu.tochigi.jp":!0,"nasushiobara.tochigi.jp":!0,"nikko.tochigi.jp":!0,"nishikata.tochigi.jp":!0,"nogi.tochigi.jp":!0,"ohira.tochigi.jp":!0,"ohtawara.tochigi.jp":!0,"oyama.tochigi.jp":!0,"sakura.tochigi.jp":!0,"sano.tochigi.jp":!0,"shimotsuke.tochigi.jp":!0,"shioya.tochigi.jp":!0,"takanezawa.tochigi.jp":!0,"tochigi.tochigi.jp":!0,"tsuga.tochigi.jp":!0,"ujiie.tochigi.jp":!0,"utsunomiya.tochigi.jp":!0,"yaita.tochigi.jp":!0,"aizumi.tokushima.jp":!0,"anan.tokushima.jp":!0,"ichiba.tokushima.jp":!0,"itano.tokushima.jp":!0,"kainan.tokushima.jp":!0,"komatsushima.tokushima.jp":!0,"matsushige.tokushima.jp":!0,"mima.tokushima.jp":!0,"minami.tokushima.jp":!0,"miyoshi.tokushima.jp":!0,"mugi.tokushima.jp":!0,"nakagawa.tokushima.jp":!0,"naruto.tokushima.jp":!0,"sanagochi.tokushima.jp":!0,"shishikui.tokushima.jp":!0,"tokushima.tokushima.jp":!0,"wajiki.tokushima.jp":!0,"adachi.tokyo.jp":!0,"akiruno.tokyo.jp":!0,"akishima.tokyo.jp":!0,"aogashima.tokyo.jp":!0,"arakawa.tokyo.jp":!0,"bunkyo.tokyo.jp":!0,"chiyoda.tokyo.jp":!0,"chofu.tokyo.jp":!0,"chuo.tokyo.jp":!0,"edogawa.tokyo.jp":!0,"fuchu.tokyo.jp":!0,"fussa.tokyo.jp":!0,"hachijo.tokyo.jp":!0,"hachioji.tokyo.jp":!0,"hamura.tokyo.jp":!0,"higashikurume.tokyo.jp":!0,"higashimurayama.tokyo.jp":!0,"higashiyamato.tokyo.jp":!0,"hino.tokyo.jp":!0,"hinode.tokyo.jp":!0,"hinohara.tokyo.jp":!0,"inagi.tokyo.jp":!0,"itabashi.tokyo.jp":!0,"katsushika.tokyo.jp":!0,"kita.tokyo.jp":!0,"kiyose.tokyo.jp":!0,"kodaira.tokyo.jp":!0,"koganei.tokyo.jp":!0,"kokubunji.tokyo.jp":!0,"komae.tokyo.jp":!0,"koto.tokyo.jp":!0,"kouzushima.tokyo.jp":!0,"kunitachi.tokyo.jp":!0,"machida.tokyo.jp":!0,"meguro.tokyo.jp":!0,"minato.tokyo.jp":!0,"mitaka.tokyo.jp":!0,"mizuho.tokyo.jp":!0,"musashimurayama.tokyo.jp":!0,"musashino.tokyo.jp":!0,"nakano.tokyo.jp":!0,"nerima.tokyo.jp":!0,"ogasawara.tokyo.jp":!0,"okutama.tokyo.jp":!0,"ome.tokyo.jp":!0,"oshima.tokyo.jp":!0,"ota.tokyo.jp":!0,"setagaya.tokyo.jp":!0,"shibuya.tokyo.jp":!0,"shinagawa.tokyo.jp":!0,"shinjuku.tokyo.jp":!0,"suginami.tokyo.jp":!0,"sumida.tokyo.jp":!0,"tachikawa.tokyo.jp":!0,"taito.tokyo.jp":!0,"tama.tokyo.jp":!0,"toshima.tokyo.jp":!0,"chizu.tottori.jp":!0,"hino.tottori.jp":!0,"kawahara.tottori.jp":!0,"koge.tottori.jp":!0,"kotoura.tottori.jp":!0,"misasa.tottori.jp":!0,"nanbu.tottori.jp":!0,"nichinan.tottori.jp":!0,"sakaiminato.tottori.jp":!0,"tottori.tottori.jp":!0,"wakasa.tottori.jp":!0,"yazu.tottori.jp":!0,"yonago.tottori.jp":!0,"asahi.toyama.jp":!0,"fuchu.toyama.jp":!0,"fukumitsu.toyama.jp":!0,"funahashi.toyama.jp":!0,"himi.toyama.jp":!0,"imizu.toyama.jp":!0,"inami.toyama.jp":!0,"johana.toyama.jp":!0,"kamiichi.toyama.jp":!0,"kurobe.toyama.jp":!0,"nakaniikawa.toyama.jp":!0,"namerikawa.toyama.jp":!0,"nanto.toyama.jp":!0,"nyuzen.toyama.jp":!0,"oyabe.toyama.jp":!0,"taira.toyama.jp":!0,"takaoka.toyama.jp":!0,"tateyama.toyama.jp":!0,"toga.toyama.jp":!0,"tonami.toyama.jp":!0,"toyama.toyama.jp":!0,"unazuki.toyama.jp":!0,"uozu.toyama.jp":!0,"yamada.toyama.jp":!0,"arida.wakayama.jp":!0,"aridagawa.wakayama.jp":!0,"gobo.wakayama.jp":!0,"hashimoto.wakayama.jp":!0,"hidaka.wakayama.jp":!0,"hirogawa.wakayama.jp":!0,"inami.wakayama.jp":!0,"iwade.wakayama.jp":!0,"kainan.wakayama.jp":!0,"kamitonda.wakayama.jp":!0,"katsuragi.wakayama.jp":!0,"kimino.wakayama.jp":!0,"kinokawa.wakayama.jp":!0,"kitayama.wakayama.jp":!0,"koya.wakayama.jp":!0,"koza.wakayama.jp":!0,"kozagawa.wakayama.jp":!0,"kudoyama.wakayama.jp":!0,"kushimoto.wakayama.jp":!0,"mihama.wakayama.jp":!0,"misato.wakayama.jp":!0,"nachikatsuura.wakayama.jp":!0,"shingu.wakayama.jp":!0,"shirahama.wakayama.jp":!0,"taiji.wakayama.jp":!0,"tanabe.wakayama.jp":!0,"wakayama.wakayama.jp":!0,"yuasa.wakayama.jp":!0,"yura.wakayama.jp":!0,"asahi.yamagata.jp":!0,"funagata.yamagata.jp":!0,"higashine.yamagata.jp":!0,"iide.yamagata.jp":!0,"kahoku.yamagata.jp":!0,"kaminoyama.yamagata.jp":!0,"kaneyama.yamagata.jp":!0,"kawanishi.yamagata.jp":!0,"mamurogawa.yamagata.jp":!0,"mikawa.yamagata.jp":!0,"murayama.yamagata.jp":!0,"nagai.yamagata.jp":!0,"nakayama.yamagata.jp":!0,"nanyo.yamagata.jp":!0,"nishikawa.yamagata.jp":!0,"obanazawa.yamagata.jp":!0,"oe.yamagata.jp":!0,"oguni.yamagata.jp":!0,"ohkura.yamagata.jp":!0,"oishida.yamagata.jp":!0,"sagae.yamagata.jp":!0,"sakata.yamagata.jp":!0,"sakegawa.yamagata.jp":!0,"shinjo.yamagata.jp":!0,"shirataka.yamagata.jp":!0,"shonai.yamagata.jp":!0,"takahata.yamagata.jp":!0,"tendo.yamagata.jp":!0,"tozawa.yamagata.jp":!0,"tsuruoka.yamagata.jp":!0,"yamagata.yamagata.jp":!0,"yamanobe.yamagata.jp":!0,"yonezawa.yamagata.jp":!0,"yuza.yamagata.jp":!0,"abu.yamaguchi.jp":!0,"hagi.yamaguchi.jp":!0,"hikari.yamaguchi.jp":!0,"hofu.yamaguchi.jp":!0,"iwakuni.yamaguchi.jp":!0,"kudamatsu.yamaguchi.jp":!0,"mitou.yamaguchi.jp":!0,"nagato.yamaguchi.jp":!0,"oshima.yamaguchi.jp":!0,"shimonoseki.yamaguchi.jp":!0,"shunan.yamaguchi.jp":!0,"tabuse.yamaguchi.jp":!0,"tokuyama.yamaguchi.jp":!0,"toyota.yamaguchi.jp":!0,"ube.yamaguchi.jp":!0,"yuu.yamaguchi.jp":!0,"chuo.yamanashi.jp":!0,"doshi.yamanashi.jp":!0,"fuefuki.yamanashi.jp":!0,"fujikawa.yamanashi.jp":!0,"fujikawaguchiko.yamanashi.jp":!0,"fujiyoshida.yamanashi.jp":!0,"hayakawa.yamanashi.jp":!0,"hokuto.yamanashi.jp":!0,"ichikawamisato.yamanashi.jp":!0,"kai.yamanashi.jp":!0,"kofu.yamanashi.jp":!0,"koshu.yamanashi.jp":!0,"kosuge.yamanashi.jp":!0,"minami-alps.yamanashi.jp":!0,"minobu.yamanashi.jp":!0,"nakamichi.yamanashi.jp":!0,"nanbu.yamanashi.jp":!0,"narusawa.yamanashi.jp":!0,"nirasaki.yamanashi.jp":!0,"nishikatsura.yamanashi.jp":!0,"oshino.yamanashi.jp":!0,"otsuki.yamanashi.jp":!0,"showa.yamanashi.jp":!0,"tabayama.yamanashi.jp":!0,"tsuru.yamanashi.jp":!0,"uenohara.yamanashi.jp":!0,"yamanakako.yamanashi.jp":!0,"yamanashi.yamanashi.jp":!0,"*.ke":!0,kg:!0,"org.kg":!0,"net.kg":!0,"com.kg":!0,"edu.kg":!0,"gov.kg":!0,"mil.kg":!0,"*.kh":!0,ki:!0,"edu.ki":!0,"biz.ki":!0,"net.ki":!0,"org.ki":!0,"gov.ki":!0,"info.ki":!0,"com.ki":!0,km:!0,"org.km":!0,"nom.km":!0,"gov.km":!0,"prd.km":!0,"tm.km":!0,"edu.km":!0,"mil.km":!0,"ass.km":!0,"com.km":!0,"coop.km":!0,"asso.km":!0,"presse.km":!0,"medecin.km":!0,"notaires.km":!0,"pharmaciens.km":!0,"veterinaire.km":!0,"gouv.km":!0,kn:!0,"net.kn":!0,"org.kn":!0,"edu.kn":!0,"gov.kn":!0,kp:!0,"com.kp":!0,"edu.kp":!0,"gov.kp":!0,"org.kp":!0,"rep.kp":!0,"tra.kp":!0,kr:!0,"ac.kr":!0,"co.kr":!0,"es.kr":!0,"go.kr":!0,"hs.kr":!0,"kg.kr":!0,"mil.kr":!0,"ms.kr":!0,"ne.kr":!0,"or.kr":!0,"pe.kr":!0,"re.kr":!0,"sc.kr":!0,"busan.kr":!0,"chungbuk.kr":!0,"chungnam.kr":!0,"daegu.kr":!0,"daejeon.kr":!0,"gangwon.kr":!0,"gwangju.kr":!0,"gyeongbuk.kr":!0,"gyeonggi.kr":!0,"gyeongnam.kr":!0,"incheon.kr":!0,"jeju.kr":!0,"jeonbuk.kr":!0,"jeonnam.kr":!0,"seoul.kr":!0,"ulsan.kr":!0,"*.kw":!0,ky:!0,"edu.ky":!0,"gov.ky":!0,"com.ky":!0,"org.ky":!0,"net.ky":!0,kz:!0,"org.kz":!0,"edu.kz":!0,"net.kz":!0,"gov.kz":!0,"mil.kz":!0,"com.kz":!0,la:!0,"int.la":!0,"net.la":!0,"info.la":!0,"edu.la":!0,"gov.la":!0,"per.la":!0,"com.la":!0,"org.la":!0,lb:!0,"com.lb":!0,"edu.lb":!0,"gov.lb":!0,"net.lb":!0,"org.lb":!0,lc:!0,"com.lc":!0,"net.lc":!0,"co.lc":!0,"org.lc":!0,"edu.lc":!0,"gov.lc":!0,li:!0,lk:!0,"gov.lk":!0,"sch.lk":!0,"net.lk":!0,"int.lk":!0,"com.lk":!0,"org.lk":!0,"edu.lk":!0,"ngo.lk":!0,"soc.lk":!0,"web.lk":!0,"ltd.lk":!0,"assn.lk":!0,"grp.lk":!0,"hotel.lk":!0,"ac.lk":!0,lr:!0,"com.lr":!0,"edu.lr":!0,"gov.lr":!0,"org.lr":!0,"net.lr":!0,ls:!0,"co.ls":!0,"org.ls":!0,lt:!0,"gov.lt":!0,lu:!0,lv:!0,"com.lv":!0,"edu.lv":!0,"gov.lv":!0,"org.lv":!0,"mil.lv":!0,"id.lv":!0,"net.lv":!0,"asn.lv":!0,"conf.lv":!0,ly:!0,"com.ly":!0,"net.ly":!0,"gov.ly":!0,"plc.ly":!0,"edu.ly":!0,"sch.ly":!0,"med.ly":!0,"org.ly":!0,"id.ly":!0,ma:!0,"co.ma":!0,"net.ma":!0,"gov.ma":!0,"org.ma":!0,"ac.ma":!0,"press.ma":!0,mc:!0,"tm.mc":!0,"asso.mc":!0,md:!0,me:!0,"co.me":!0,"net.me":!0,"org.me":!0,"edu.me":!0,"ac.me":!0,"gov.me":!0,"its.me":!0,"priv.me":!0,mg:!0,"org.mg":!0,"nom.mg":!0,"gov.mg":!0,"prd.mg":!0,"tm.mg":!0,"edu.mg":!0,"mil.mg":!0,"com.mg":!0,"co.mg":!0,mh:!0,mil:!0,mk:!0,"com.mk":!0,"org.mk":!0,"net.mk":!0,"edu.mk":!0,"gov.mk":!0,"inf.mk":!0,"name.mk":!0,ml:!0,"com.ml":!0,"edu.ml":!0,"gouv.ml":!0,"gov.ml":!0,"net.ml":!0,"org.ml":!0,"presse.ml":!0,"*.mm":!0,mn:!0,"gov.mn":!0,"edu.mn":!0,"org.mn":!0,mo:!0,"com.mo":!0,"net.mo":!0,"org.mo":!0,"edu.mo":!0,"gov.mo":!0,mobi:!0,mp:!0,mq:!0,mr:!0,"gov.mr":!0,ms:!0,"com.ms":!0,"edu.ms":!0,"gov.ms":!0,"net.ms":!0,"org.ms":!0,mt:!0,"com.mt":!0,"edu.mt":!0,"net.mt":!0,"org.mt":!0,mu:!0,"com.mu":!0,"net.mu":!0,"org.mu":!0,"gov.mu":!0,"ac.mu":!0,"co.mu":!0,"or.mu":!0,museum:!0,"academy.museum":!0,"agriculture.museum":!0,"air.museum":!0,"airguard.museum":!0,"alabama.museum":!0,"alaska.museum":!0,"amber.museum":!0,"ambulance.museum":!0,"american.museum":!0,"americana.museum":!0,"americanantiques.museum":!0,"americanart.museum":!0,"amsterdam.museum":!0,"and.museum":!0,"annefrank.museum":!0,"anthro.museum":!0,"anthropology.museum":!0,"antiques.museum":!0,"aquarium.museum":!0,"arboretum.museum":!0,"archaeological.museum":!0,"archaeology.museum":!0,"architecture.museum":!0,"art.museum":!0,"artanddesign.museum":!0,"artcenter.museum":!0,"artdeco.museum":!0,"arteducation.museum":!0,"artgallery.museum":!0,"arts.museum":!0,"artsandcrafts.museum":!0,"asmatart.museum":!0,"assassination.museum":!0,"assisi.museum":!0,"association.museum":!0,"astronomy.museum":!0,"atlanta.museum":!0,"austin.museum":!0,"australia.museum":!0,"automotive.museum":!0,"aviation.museum":!0,"axis.museum":!0,"badajoz.museum":!0,"baghdad.museum":!0,"bahn.museum":!0,"bale.museum":!0,"baltimore.museum":!0,"barcelona.museum":!0,"baseball.museum":!0,"basel.museum":!0,"baths.museum":!0,"bauern.museum":!0,"beauxarts.museum":!0,"beeldengeluid.museum":!0,"bellevue.museum":!0,"bergbau.museum":!0,"berkeley.museum":!0,"berlin.museum":!0,"bern.museum":!0,"bible.museum":!0,"bilbao.museum":!0,"bill.museum":!0,"birdart.museum":!0,"birthplace.museum":!0,"bonn.museum":!0,"boston.museum":!0,"botanical.museum":!0,"botanicalgarden.museum":!0,"botanicgarden.museum":!0,"botany.museum":!0,"brandywinevalley.museum":!0,"brasil.museum":!0,"bristol.museum":!0,"british.museum":!0,"britishcolumbia.museum":!0,"broadcast.museum":!0,"brunel.museum":!0,"brussel.museum":!0,"brussels.museum":!0,"bruxelles.museum":!0,"building.museum":!0,"burghof.museum":!0,"bus.museum":!0,"bushey.museum":!0,"cadaques.museum":!0,"california.museum":!0,"cambridge.museum":!0,"can.museum":!0,"canada.museum":!0,"capebreton.museum":!0,"carrier.museum":!0,"cartoonart.museum":!0,"casadelamoneda.museum":!0,"castle.museum":!0,"castres.museum":!0,"celtic.museum":!0,"center.museum":!0,"chattanooga.museum":!0,"cheltenham.museum":!0,"chesapeakebay.museum":!0,"chicago.museum":!0,"children.museum":!0,"childrens.museum":!0,"childrensgarden.museum":!0,"chiropractic.museum":!0,"chocolate.museum":!0,"christiansburg.museum":!0,"cincinnati.museum":!0,"cinema.museum":!0,"circus.museum":!0,"civilisation.museum":!0,"civilization.museum":!0,"civilwar.museum":!0,"clinton.museum":!0,"clock.museum":!0,"coal.museum":!0,"coastaldefence.museum":!0,"cody.museum":!0,"coldwar.museum":!0,"collection.museum":!0,"colonialwilliamsburg.museum":!0,"coloradoplateau.museum":!0,"columbia.museum":!0,"columbus.museum":!0,"communication.museum":!0,"communications.museum":!0,"community.museum":!0,"computer.museum":!0,"computerhistory.museum":!0,"xn--comunicaes-v6a2o.museum":!0,"contemporary.museum":!0,"contemporaryart.museum":!0,"convent.museum":!0,"copenhagen.museum":!0,"corporation.museum":!0,"xn--correios-e-telecomunicaes-ghc29a.museum":!0,"corvette.museum":!0,"costume.museum":!0,"countryestate.museum":!0,"county.museum":!0,"crafts.museum":!0,"cranbrook.museum":!0,"creation.museum":!0,"cultural.museum":!0,"culturalcenter.museum":!0,"culture.museum":!0,"cyber.museum":!0,"cymru.museum":!0,"dali.museum":!0,"dallas.museum":!0,"database.museum":!0,"ddr.museum":!0,"decorativearts.museum":!0,"delaware.museum":!0,"delmenhorst.museum":!0,"denmark.museum":!0,"depot.museum":!0,"design.museum":!0,"detroit.museum":!0,"dinosaur.museum":!0,"discovery.museum":!0,"dolls.museum":!0,"donostia.museum":!0,"durham.museum":!0,"eastafrica.museum":!0,"eastcoast.museum":!0,"education.museum":!0,"educational.museum":!0,"egyptian.museum":!0,"eisenbahn.museum":!0,"elburg.museum":!0,"elvendrell.museum":!0,"embroidery.museum":!0,"encyclopedic.museum":!0,"england.museum":!0,"entomology.museum":!0,"environment.museum":!0,"environmentalconservation.museum":!0,"epilepsy.museum":!0,"essex.museum":!0,"estate.museum":!0,"ethnology.museum":!0,"exeter.museum":!0,"exhibition.museum":!0,"family.museum":!0,"farm.museum":!0,"farmequipment.museum":!0,"farmers.museum":!0,"farmstead.museum":!0,"field.museum":!0,"figueres.museum":!0,"filatelia.museum":!0,"film.museum":!0,"fineart.museum":!0,"finearts.museum":!0,"finland.museum":!0,"flanders.museum":!0,"florida.museum":!0,"force.museum":!0,"fortmissoula.museum":!0,"fortworth.museum":!0,"foundation.museum":!0,"francaise.museum":!0,"frankfurt.museum":!0,"franziskaner.museum":!0,"freemasonry.museum":!0,"freiburg.museum":!0,"fribourg.museum":!0,"frog.museum":!0,"fundacio.museum":!0,"furniture.museum":!0,"gallery.museum":!0,"garden.museum":!0,"gateway.museum":!0,"geelvinck.museum":!0,"gemological.museum":!0,"geology.museum":!0,"georgia.museum":!0,"giessen.museum":!0,"glas.museum":!0,"glass.museum":!0,"gorge.museum":!0,"grandrapids.museum":!0,"graz.museum":!0,"guernsey.museum":!0,"halloffame.museum":!0,"hamburg.museum":!0,"handson.museum":!0,"harvestcelebration.museum":!0,"hawaii.museum":!0,"health.museum":!0,"heimatunduhren.museum":!0,"hellas.museum":!0,"helsinki.museum":!0,"hembygdsforbund.museum":!0,"heritage.museum":!0,"histoire.museum":!0,"historical.museum":!0,"historicalsociety.museum":!0,"historichouses.museum":!0,"historisch.museum":!0,"historisches.museum":!0,"history.museum":!0,"historyofscience.museum":!0,"horology.museum":!0,"house.museum":!0,"humanities.museum":!0,"illustration.museum":!0,"imageandsound.museum":!0,"indian.museum":!0,"indiana.museum":!0,"indianapolis.museum":!0,"indianmarket.museum":!0,"intelligence.museum":!0,"interactive.museum":!0,"iraq.museum":!0,"iron.museum":!0,"isleofman.museum":!0,"jamison.museum":!0,"jefferson.museum":!0,"jerusalem.museum":!0,"jewelry.museum":!0,"jewish.museum":!0,"jewishart.museum":!0,"jfk.museum":!0,"journalism.museum":!0,"judaica.museum":!0,"judygarland.museum":!0,"juedisches.museum":!0,"juif.museum":!0,"karate.museum":!0,"karikatur.museum":!0,"kids.museum":!0,"koebenhavn.museum":!0,"koeln.museum":!0,"kunst.museum":!0,"kunstsammlung.museum":!0,"kunstunddesign.museum":!0,"labor.museum":!0,"labour.museum":!0,"lajolla.museum":!0,"lancashire.museum":!0,"landes.museum":!0,"lans.museum":!0,"xn--lns-qla.museum":!0,"larsson.museum":!0,"lewismiller.museum":!0,"lincoln.museum":!0,"linz.museum":!0,"living.museum":!0,"livinghistory.museum":!0,"localhistory.museum":!0,"london.museum":!0,"losangeles.museum":!0,"louvre.museum":!0,"loyalist.museum":!0,"lucerne.museum":!0,"luxembourg.museum":!0,"luzern.museum":!0,"mad.museum":!0,"madrid.museum":!0,"mallorca.museum":!0,"manchester.museum":!0,"mansion.museum":!0,"mansions.museum":!0,"manx.museum":!0,"marburg.museum":!0,"maritime.museum":!0,"maritimo.museum":!0,"maryland.museum":!0,"marylhurst.museum":!0,"media.museum":!0,"medical.museum":!0,"medizinhistorisches.museum":!0,"meeres.museum":!0,"memorial.museum":!0,"mesaverde.museum":!0,"michigan.museum":!0,"midatlantic.museum":!0,"military.museum":!0,"mill.museum":!0,"miners.museum":!0,"mining.museum":!0,"minnesota.museum":!0,"missile.museum":!0,"missoula.museum":!0,"modern.museum":!0,"moma.museum":!0,"money.museum":!0,"monmouth.museum":!0,"monticello.museum":!0,"montreal.museum":!0,"moscow.museum":!0,"motorcycle.museum":!0,"muenchen.museum":!0,"muenster.museum":!0,"mulhouse.museum":!0,"muncie.museum":!0,"museet.museum":!0,"museumcenter.museum":!0,"museumvereniging.museum":!0,"music.museum":!0,"national.museum":!0,"nationalfirearms.museum":!0,"nationalheritage.museum":!0,"nativeamerican.museum":!0,"naturalhistory.museum":!0,"naturalhistorymuseum.museum":!0,"naturalsciences.museum":!0,"nature.museum":!0,"naturhistorisches.museum":!0,"natuurwetenschappen.museum":!0,"naumburg.museum":!0,"naval.museum":!0,"nebraska.museum":!0,"neues.museum":!0,"newhampshire.museum":!0,"newjersey.museum":!0,"newmexico.museum":!0,"newport.museum":!0,"newspaper.museum":!0,"newyork.museum":!0,"niepce.museum":!0,"norfolk.museum":!0,"north.museum":!0,"nrw.museum":!0,"nuernberg.museum":!0,"nuremberg.museum":!0,"nyc.museum":!0,"nyny.museum":!0,"oceanographic.museum":!0,"oceanographique.museum":!0,"omaha.museum":!0,"online.museum":!0,"ontario.museum":!0,"openair.museum":!0,"oregon.museum":!0,"oregontrail.museum":!0,"otago.museum":!0,"oxford.museum":!0,"pacific.museum":!0,"paderborn.museum":!0,"palace.museum":!0,"paleo.museum":!0,"palmsprings.museum":!0,"panama.museum":!0,"paris.museum":!0,"pasadena.museum":!0,"pharmacy.museum":!0,"philadelphia.museum":!0,"philadelphiaarea.museum":!0,"philately.museum":!0,"phoenix.museum":!0,"photography.museum":!0,"pilots.museum":!0,"pittsburgh.museum":!0,"planetarium.museum":!0,"plantation.museum":!0,"plants.museum":!0,"plaza.museum":!0,"portal.museum":!0,"portland.museum":!0,"portlligat.museum":!0,"posts-and-telecommunications.museum":!0,"preservation.museum":!0,"presidio.museum":!0,"press.museum":!0,"project.museum":!0,"public.museum":!0,"pubol.museum":!0,"quebec.museum":!0,"railroad.museum":!0,"railway.museum":!0,"research.museum":!0,"resistance.museum":!0,"riodejaneiro.museum":!0,"rochester.museum":!0,"rockart.museum":!0,"roma.museum":!0,"russia.museum":!0,"saintlouis.museum":!0,"salem.museum":!0,"salvadordali.museum":!0,"salzburg.museum":!0,"sandiego.museum":!0,"sanfrancisco.museum":!0,"santabarbara.museum":!0,"santacruz.museum":!0,"santafe.museum":!0,"saskatchewan.museum":!0,"satx.museum":!0,"savannahga.museum":!0,"schlesisches.museum":!0,"schoenbrunn.museum":!0,"schokoladen.museum":!0,"school.museum":!0,"schweiz.museum":!0,"science.museum":!0,"scienceandhistory.museum":!0,"scienceandindustry.museum":!0,"sciencecenter.museum":!0,"sciencecenters.museum":!0,"science-fiction.museum":!0,"sciencehistory.museum":!0,"sciences.museum":!0,"sciencesnaturelles.museum":!0,"scotland.museum":!0,"seaport.museum":!0,"settlement.museum":!0,"settlers.museum":!0,"shell.museum":!0,"sherbrooke.museum":!0,"sibenik.museum":!0,"silk.museum":!0,"ski.museum":!0,"skole.museum":!0,"society.museum":!0,"sologne.museum":!0,"soundandvision.museum":!0,"southcarolina.museum":!0,"southwest.museum":!0,"space.museum":!0,"spy.museum":!0,"square.museum":!0,"stadt.museum":!0,"stalbans.museum":!0,"starnberg.museum":!0,"state.museum":!0,"stateofdelaware.museum":!0,"station.museum":!0,"steam.museum":!0,"steiermark.museum":!0,"stjohn.museum":!0,"stockholm.museum":!0,"stpetersburg.museum":!0,"stuttgart.museum":!0,"suisse.museum":!0,"surgeonshall.museum":!0,"surrey.museum":!0,"svizzera.museum":!0,"sweden.museum":!0,"sydney.museum":!0,"tank.museum":!0,"tcm.museum":!0,"technology.museum":!0,"telekommunikation.museum":!0,"television.museum":!0,"texas.museum":!0,"textile.museum":!0,"theater.museum":!0,"time.museum":!0,"timekeeping.museum":!0,"topology.museum":!0,"torino.museum":!0,"touch.museum":!0,"town.museum":!0,"transport.museum":!0,"tree.museum":!0,"trolley.museum":!0,"trust.museum":!0,"trustee.museum":!0,"uhren.museum":!0,"ulm.museum":!0,"undersea.museum":!0,"university.museum":!0,"usa.museum":!0,"usantiques.museum":!0,"usarts.museum":!0,"uscountryestate.museum":!0,"usculture.museum":!0,"usdecorativearts.museum":!0,"usgarden.museum":!0,"ushistory.museum":!0,"ushuaia.museum":!0,"uslivinghistory.museum":!0,"utah.museum":!0,"uvic.museum":!0,"valley.museum":!0,"vantaa.museum":!0,"versailles.museum":!0,"viking.museum":!0,"village.museum":!0,"virginia.museum":!0,"virtual.museum":!0,"virtuel.museum":!0,"vlaanderen.museum":!0,"volkenkunde.museum":!0,"wales.museum":!0,"wallonie.museum":!0,"war.museum":!0,"washingtondc.museum":!0,"watchandclock.museum":!0,"watch-and-clock.museum":!0,"western.museum":!0,"westfalen.museum":!0,"whaling.museum":!0,"wildlife.museum":!0,"williamsburg.museum":!0,"windmill.museum":!0,"workshop.museum":!0,"york.museum":!0,"yorkshire.museum":!0,"yosemite.museum":!0,"youth.museum":!0,"zoological.museum":!0,"zoology.museum":!0,"xn--9dbhblg6di.museum":!0,"xn--h1aegh.museum":!0,mv:!0,"aero.mv":!0,"biz.mv":!0,"com.mv":!0,"coop.mv":!0,"edu.mv":!0,"gov.mv":!0,"info.mv":!0,"int.mv":!0,"mil.mv":!0,"museum.mv":!0,"name.mv":!0,"net.mv":!0,"org.mv":!0,"pro.mv":!0,mw:!0,"ac.mw":!0,"biz.mw":!0,"co.mw":!0,"com.mw":!0,"coop.mw":!0,"edu.mw":!0,"gov.mw":!0,"int.mw":!0,"museum.mw":!0,"net.mw":!0,"org.mw":!0,mx:!0,"com.mx":!0,"org.mx":!0,"gob.mx":!0,"edu.mx":!0,"net.mx":!0,my:!0,"com.my":!0,"net.my":!0,"org.my":!0,"gov.my":!0,"edu.my":!0,"mil.my":!0,"name.my":!0,mz:!0,"ac.mz":!0,"adv.mz":!0,"co.mz":!0,"edu.mz":!0,"gov.mz":!0,"mil.mz":!0,"net.mz":!0,"org.mz":!0,na:!0,"info.na":!0,"pro.na":!0,"name.na":!0,"school.na":!0,"or.na":!0,"dr.na":!0,"us.na":!0,"mx.na":!0,"ca.na":!0,"in.na":!0,"cc.na":!0,"tv.na":!0,"ws.na":!0,"mobi.na":!0,"co.na":!0,"com.na":!0,"org.na":!0,name:!0,nc:!0,"asso.nc":!0,ne:!0,net:!0,nf:!0,"com.nf":!0,"net.nf":!0,"per.nf":!0,"rec.nf":!0,"web.nf":!0,"arts.nf":!0,"firm.nf":!0,"info.nf":!0,"other.nf":!0,"store.nf":!0,ng:!0,"com.ng":!0,"edu.ng":!0,"gov.ng":!0,"i.ng":!0,"mil.ng":!0,"mobi.ng":!0,"name.ng":!0,"net.ng":!0,"org.ng":!0,"sch.ng":!0,"com.ni":!0,"gob.ni":!0,"edu.ni":!0,"org.ni":!0,"nom.ni":!0,"net.ni":!0,"mil.ni":!0,"co.ni":!0,"biz.ni":!0,"web.ni":!0,"int.ni":!0,"ac.ni":!0,"in.ni":!0,"info.ni":!0,nl:!0,"bv.nl":!0,no:!0,"fhs.no":!0,"vgs.no":!0,"fylkesbibl.no":!0,"folkebibl.no":!0,"museum.no":!0,"idrett.no":!0,"priv.no":!0,"mil.no":!0,"stat.no":!0,"dep.no":!0,"kommune.no":!0,"herad.no":!0,"aa.no":!0,"ah.no":!0,"bu.no":!0,"fm.no":!0,"hl.no":!0,"hm.no":!0,"jan-mayen.no":!0,"mr.no":!0,"nl.no":!0,"nt.no":!0,"of.no":!0,"ol.no":!0,"oslo.no":!0,"rl.no":!0,"sf.no":!0,"st.no":!0,"svalbard.no":!0,"tm.no":!0,"tr.no":!0,"va.no":!0,"vf.no":!0,"gs.aa.no":!0,"gs.ah.no":!0,"gs.bu.no":!0,"gs.fm.no":!0,"gs.hl.no":!0,"gs.hm.no":!0,"gs.jan-mayen.no":!0,"gs.mr.no":!0,"gs.nl.no":!0,"gs.nt.no":!0,"gs.of.no":!0,"gs.ol.no":!0,"gs.oslo.no":!0,"gs.rl.no":!0,"gs.sf.no":!0,"gs.st.no":!0,"gs.svalbard.no":!0,"gs.tm.no":!0,"gs.tr.no":!0,"gs.va.no":!0,"gs.vf.no":!0,"akrehamn.no":!0,"xn--krehamn-dxa.no":!0,"algard.no":!0,"xn--lgrd-poac.no":!0,"arna.no":!0,"brumunddal.no":!0,"bryne.no":!0,"bronnoysund.no":!0,"xn--brnnysund-m8ac.no":!0,"drobak.no":!0,"xn--drbak-wua.no":!0,"egersund.no":!0,"fetsund.no":!0,"floro.no":!0,"xn--flor-jra.no":!0,"fredrikstad.no":!0,"hokksund.no":!0,"honefoss.no":!0,"xn--hnefoss-q1a.no":!0,"jessheim.no":!0,"jorpeland.no":!0,"xn--jrpeland-54a.no":!0,"kirkenes.no":!0,"kopervik.no":!0,"krokstadelva.no":!0,"langevag.no":!0,"xn--langevg-jxa.no":!0,"leirvik.no":!0,"mjondalen.no":!0,"xn--mjndalen-64a.no":!0,"mo-i-rana.no":!0,"mosjoen.no":!0,"xn--mosjen-eya.no":!0,"nesoddtangen.no":!0,"orkanger.no":!0,"osoyro.no":!0,"xn--osyro-wua.no":!0,"raholt.no":!0,"xn--rholt-mra.no":!0,"sandnessjoen.no":!0,"xn--sandnessjen-ogb.no":!0,"skedsmokorset.no":!0,"slattum.no":!0,"spjelkavik.no":!0,"stathelle.no":!0,"stavern.no":!0,"stjordalshalsen.no":!0,"xn--stjrdalshalsen-sqb.no":!0,"tananger.no":!0,"tranby.no":!0,"vossevangen.no":!0,"afjord.no":!0,"xn--fjord-lra.no":!0,"agdenes.no":!0,"al.no":!0,"xn--l-1fa.no":!0,"alesund.no":!0,"xn--lesund-hua.no":!0,"alstahaug.no":!0,"alta.no":!0,"xn--lt-liac.no":!0,"alaheadju.no":!0,"xn--laheadju-7ya.no":!0,"alvdal.no":!0,"amli.no":!0,"xn--mli-tla.no":!0,"amot.no":!0,"xn--mot-tla.no":!0,"andebu.no":!0,"andoy.no":!0,"xn--andy-ira.no":!0,"andasuolo.no":!0,"ardal.no":!0,"xn--rdal-poa.no":!0,"aremark.no":!0,"arendal.no":!0,"xn--s-1fa.no":!0,"aseral.no":!0,"xn--seral-lra.no":!0,"asker.no":!0,"askim.no":!0,"askvoll.no":!0,"askoy.no":!0,"xn--asky-ira.no":!0,"asnes.no":!0,"xn--snes-poa.no":!0,"audnedaln.no":!0,"aukra.no":!0,"aure.no":!0,"aurland.no":!0,"aurskog-holand.no":!0,"xn--aurskog-hland-jnb.no":!0,"austevoll.no":!0,"austrheim.no":!0,"averoy.no":!0,"xn--avery-yua.no":!0,"balestrand.no":!0,"ballangen.no":!0,"balat.no":!0,"xn--blt-elab.no":!0,"balsfjord.no":!0,"bahccavuotna.no":!0,"xn--bhccavuotna-k7a.no":!0,"bamble.no":!0,"bardu.no":!0,"beardu.no":!0,"beiarn.no":!0,"bajddar.no":!0,"xn--bjddar-pta.no":!0,"baidar.no":!0,"xn--bidr-5nac.no":!0,"berg.no":!0,"bergen.no":!0,"berlevag.no":!0,"xn--berlevg-jxa.no":!0,"bearalvahki.no":!0,"xn--bearalvhki-y4a.no":!0,"bindal.no":!0,"birkenes.no":!0,"bjarkoy.no":!0,"xn--bjarky-fya.no":!0,"bjerkreim.no":!0,"bjugn.no":!0,"bodo.no":!0,"xn--bod-2na.no":!0,"badaddja.no":!0,"xn--bdddj-mrabd.no":!0,"budejju.no":!0,"bokn.no":!0,"bremanger.no":!0,"bronnoy.no":!0,"xn--brnny-wuac.no":!0,"bygland.no":!0,"bykle.no":!0,"barum.no":!0,"xn--brum-voa.no":!0,"bo.telemark.no":!0,"xn--b-5ga.telemark.no":!0,"bo.nordland.no":!0,"xn--b-5ga.nordland.no":!0,"bievat.no":!0,"xn--bievt-0qa.no":!0,"bomlo.no":!0,"xn--bmlo-gra.no":!0,"batsfjord.no":!0,"xn--btsfjord-9za.no":!0,"bahcavuotna.no":!0,"xn--bhcavuotna-s4a.no":!0,"dovre.no":!0,"drammen.no":!0,"drangedal.no":!0,"dyroy.no":!0,"xn--dyry-ira.no":!0,"donna.no":!0,"xn--dnna-gra.no":!0,"eid.no":!0,"eidfjord.no":!0,"eidsberg.no":!0,"eidskog.no":!0,"eidsvoll.no":!0,"eigersund.no":!0,"elverum.no":!0,"enebakk.no":!0,"engerdal.no":!0,"etne.no":!0,"etnedal.no":!0,"evenes.no":!0,"evenassi.no":!0,"xn--eveni-0qa01ga.no":!0,"evje-og-hornnes.no":!0,"farsund.no":!0,"fauske.no":!0,"fuossko.no":!0,"fuoisku.no":!0,"fedje.no":!0,"fet.no":!0,"finnoy.no":!0,"xn--finny-yua.no":!0,"fitjar.no":!0,"fjaler.no":!0,"fjell.no":!0,"flakstad.no":!0,"flatanger.no":!0,"flekkefjord.no":!0,"flesberg.no":!0,"flora.no":!0,"fla.no":!0,"xn--fl-zia.no":!0,"folldal.no":!0,"forsand.no":!0,"fosnes.no":!0,"frei.no":!0,"frogn.no":!0,"froland.no":!0,"frosta.no":!0,"frana.no":!0,"xn--frna-woa.no":!0,"froya.no":!0,"xn--frya-hra.no":!0,"fusa.no":!0,"fyresdal.no":!0,"forde.no":!0,"xn--frde-gra.no":!0,"gamvik.no":!0,"gangaviika.no":!0,"xn--ggaviika-8ya47h.no":!0,"gaular.no":!0,"gausdal.no":!0,"gildeskal.no":!0,"xn--gildeskl-g0a.no":!0,"giske.no":!0,"gjemnes.no":!0,"gjerdrum.no":!0,"gjerstad.no":!0,"gjesdal.no":!0,"gjovik.no":!0,"xn--gjvik-wua.no":!0,"gloppen.no":!0,"gol.no":!0,"gran.no":!0,"grane.no":!0,"granvin.no":!0,"gratangen.no":!0,"grimstad.no":!0,"grong.no":!0,"kraanghke.no":!0,"xn--kranghke-b0a.no":!0,"grue.no":!0,"gulen.no":!0,"hadsel.no":!0,"halden.no":!0,"halsa.no":!0,"hamar.no":!0,"hamaroy.no":!0,"habmer.no":!0,"xn--hbmer-xqa.no":!0,"hapmir.no":!0,"xn--hpmir-xqa.no":!0,"hammerfest.no":!0,"hammarfeasta.no":!0,"xn--hmmrfeasta-s4ac.no":!0,"haram.no":!0,"hareid.no":!0,"harstad.no":!0,"hasvik.no":!0,"aknoluokta.no":!0,"xn--koluokta-7ya57h.no":!0,"hattfjelldal.no":!0,"aarborte.no":!0,"haugesund.no":!0,"hemne.no":!0,"hemnes.no":!0,"hemsedal.no":!0,"heroy.more-og-romsdal.no":!0,"xn--hery-ira.xn--mre-og-romsdal-qqb.no":!0,"heroy.nordland.no":!0,"xn--hery-ira.nordland.no":!0,"hitra.no":!0,"hjartdal.no":!0,"hjelmeland.no":!0,"hobol.no":!0,"xn--hobl-ira.no":!0,"hof.no":!0,"hol.no":!0,"hole.no":!0,"holmestrand.no":!0,"holtalen.no":!0,"xn--holtlen-hxa.no":!0,"hornindal.no":!0,"horten.no":!0,"hurdal.no":!0,"hurum.no":!0,"hvaler.no":!0,"hyllestad.no":!0,"hagebostad.no":!0,"xn--hgebostad-g3a.no":!0,"hoyanger.no":!0,"xn--hyanger-q1a.no":!0,"hoylandet.no":!0,"xn--hylandet-54a.no":!0,"ha.no":!0,"xn--h-2fa.no":!0,"ibestad.no":!0,"inderoy.no":!0,"xn--indery-fya.no":!0,"iveland.no":!0,"jevnaker.no":!0,"jondal.no":!0,"jolster.no":!0,"xn--jlster-bya.no":!0,"karasjok.no":!0,"karasjohka.no":!0,"xn--krjohka-hwab49j.no":!0,"karlsoy.no":!0,"galsa.no":!0,"xn--gls-elac.no":!0,"karmoy.no":!0,"xn--karmy-yua.no":!0,"kautokeino.no":!0,"guovdageaidnu.no":!0,"klepp.no":!0,"klabu.no":!0,"xn--klbu-woa.no":!0,"kongsberg.no":!0,"kongsvinger.no":!0,"kragero.no":!0,"xn--krager-gya.no":!0,"kristiansand.no":!0,"kristiansund.no":!0,"krodsherad.no":!0,"xn--krdsherad-m8a.no":!0,"kvalsund.no":!0,"rahkkeravju.no":!0,"xn--rhkkervju-01af.no":!0,"kvam.no":!0,"kvinesdal.no":!0,"kvinnherad.no":!0,"kviteseid.no":!0,"kvitsoy.no":!0,"xn--kvitsy-fya.no":!0,"kvafjord.no":!0,"xn--kvfjord-nxa.no":!0,"giehtavuoatna.no":!0,"kvanangen.no":!0,"xn--kvnangen-k0a.no":!0,"navuotna.no":!0,"xn--nvuotna-hwa.no":!0,"kafjord.no":!0,"xn--kfjord-iua.no":!0,"gaivuotna.no":!0,"xn--givuotna-8ya.no":!0,"larvik.no":!0,"lavangen.no":!0,"lavagis.no":!0,"loabat.no":!0,"xn--loabt-0qa.no":!0,"lebesby.no":!0,"davvesiida.no":!0,"leikanger.no":!0,"leirfjord.no":!0,"leka.no":!0,"leksvik.no":!0,"lenvik.no":!0,"leangaviika.no":!0,"xn--leagaviika-52b.no":!0,"lesja.no":!0,"levanger.no":!0,"lier.no":!0,"lierne.no":!0,"lillehammer.no":!0,"lillesand.no":!0,"lindesnes.no":!0,"lindas.no":!0,"xn--linds-pra.no":!0,"lom.no":!0,"loppa.no":!0,"lahppi.no":!0,"xn--lhppi-xqa.no":!0,"lund.no":!0,"lunner.no":!0,"luroy.no":!0,"xn--lury-ira.no":!0,"luster.no":!0,"lyngdal.no":!0,"lyngen.no":!0,"ivgu.no":!0,"lardal.no":!0,"lerdal.no":!0,"xn--lrdal-sra.no":!0,"lodingen.no":!0,"xn--ldingen-q1a.no":!0,"lorenskog.no":!0,"xn--lrenskog-54a.no":!0,"loten.no":!0,"xn--lten-gra.no":!0,"malvik.no":!0,"masoy.no":!0,"xn--msy-ula0h.no":!0,"muosat.no":!0,"xn--muost-0qa.no":!0,"mandal.no":!0,"marker.no":!0,"marnardal.no":!0,"masfjorden.no":!0,"meland.no":!0,"meldal.no":!0,"melhus.no":!0,"meloy.no":!0,"xn--mely-ira.no":!0,"meraker.no":!0,"xn--merker-kua.no":!0,"moareke.no":!0,"xn--moreke-jua.no":!0,"midsund.no":!0,"midtre-gauldal.no":!0,"modalen.no":!0,"modum.no":!0,"molde.no":!0,"moskenes.no":!0,"moss.no":!0,"mosvik.no":!0,"malselv.no":!0,"xn--mlselv-iua.no":!0,"malatvuopmi.no":!0,"xn--mlatvuopmi-s4a.no":!0,"namdalseid.no":!0,"aejrie.no":!0,"namsos.no":!0,"namsskogan.no":!0,"naamesjevuemie.no":!0,"xn--nmesjevuemie-tcba.no":!0,"laakesvuemie.no":!0,"nannestad.no":!0,"narvik.no":!0,"narviika.no":!0,"naustdal.no":!0,"nedre-eiker.no":!0,"nes.akershus.no":!0,"nes.buskerud.no":!0,"nesna.no":!0,"nesodden.no":!0,"nesseby.no":!0,"unjarga.no":!0,"xn--unjrga-rta.no":!0,"nesset.no":!0,"nissedal.no":!0,"nittedal.no":!0,"nord-aurdal.no":!0,"nord-fron.no":!0,"nord-odal.no":!0,"norddal.no":!0,"nordkapp.no":!0,"davvenjarga.no":!0,"xn--davvenjrga-y4a.no":!0,"nordre-land.no":!0,"nordreisa.no":!0,"raisa.no":!0,"xn--risa-5na.no":!0,"nore-og-uvdal.no":!0,"notodden.no":!0,"naroy.no":!0,"xn--nry-yla5g.no":!0,"notteroy.no":!0,"xn--nttery-byae.no":!0,"odda.no":!0,"oksnes.no":!0,"xn--ksnes-uua.no":!0,"oppdal.no":!0,"oppegard.no":!0,"xn--oppegrd-ixa.no":!0,"orkdal.no":!0,"orland.no":!0,"xn--rland-uua.no":!0,"orskog.no":!0,"xn--rskog-uua.no":!0,"orsta.no":!0,"xn--rsta-fra.no":!0,"os.hedmark.no":!0,"os.hordaland.no":!0,"osen.no":!0,"osteroy.no":!0,"xn--ostery-fya.no":!0,"ostre-toten.no":!0,"xn--stre-toten-zcb.no":!0,"overhalla.no":!0,"ovre-eiker.no":!0,"xn--vre-eiker-k8a.no":!0,"oyer.no":!0,"xn--yer-zna.no":!0,"oygarden.no":!0,"xn--ygarden-p1a.no":!0,"oystre-slidre.no":!0,"xn--ystre-slidre-ujb.no":!0,"porsanger.no":!0,"porsangu.no":!0,"xn--porsgu-sta26f.no":!0,"porsgrunn.no":!0,"radoy.no":!0,"xn--rady-ira.no":!0,"rakkestad.no":!0,"rana.no":!0,"ruovat.no":!0,"randaberg.no":!0,"rauma.no":!0,"rendalen.no":!0,"rennebu.no":!0,"rennesoy.no":!0,"xn--rennesy-v1a.no":!0,"rindal.no":!0,"ringebu.no":!0,"ringerike.no":!0,"ringsaker.no":!0,"rissa.no":!0,"risor.no":!0,"xn--risr-ira.no":!0,"roan.no":!0,"rollag.no":!0,"rygge.no":!0,"ralingen.no":!0,"xn--rlingen-mxa.no":!0,"rodoy.no":!0,"xn--rdy-0nab.no":!0,"romskog.no":!0,"xn--rmskog-bya.no":!0,"roros.no":!0,"xn--rros-gra.no":!0,"rost.no":!0,"xn--rst-0na.no":!0,"royken.no":!0,"xn--ryken-vua.no":!0,"royrvik.no":!0,"xn--ryrvik-bya.no":!0,"rade.no":!0,"xn--rde-ula.no":!0,"salangen.no":!0,"siellak.no":!0,"saltdal.no":!0,"salat.no":!0,"xn--slt-elab.no":!0,"xn--slat-5na.no":!0,"samnanger.no":!0,"sande.more-og-romsdal.no":!0,"sande.xn--mre-og-romsdal-qqb.no":!0,"sande.vestfold.no":!0,"sandefjord.no":!0,"sandnes.no":!0,"sandoy.no":!0,"xn--sandy-yua.no":!0,"sarpsborg.no":!0,"sauda.no":!0,"sauherad.no":!0,"sel.no":!0,"selbu.no":!0,"selje.no":!0,"seljord.no":!0,"sigdal.no":!0,"siljan.no":!0,"sirdal.no":!0,"skaun.no":!0,"skedsmo.no":!0,"ski.no":!0,"skien.no":!0,"skiptvet.no":!0,"skjervoy.no":!0,"xn--skjervy-v1a.no":!0,"skierva.no":!0,"xn--skierv-uta.no":!0,"skjak.no":!0,"xn--skjk-soa.no":!0,"skodje.no":!0,"skanland.no":!0,"xn--sknland-fxa.no":!0,"skanit.no":!0,"xn--sknit-yqa.no":!0,"smola.no":!0,"xn--smla-hra.no":!0,"snillfjord.no":!0,"snasa.no":!0,"xn--snsa-roa.no":!0,"snoasa.no":!0,"snaase.no":!0,"xn--snase-nra.no":!0,"sogndal.no":!0,"sokndal.no":!0,"sola.no":!0,"solund.no":!0,"songdalen.no":!0,"sortland.no":!0,"spydeberg.no":!0,"stange.no":!0,"stavanger.no":!0,"steigen.no":!0,"steinkjer.no":!0,"stjordal.no":!0,"xn--stjrdal-s1a.no":!0,"stokke.no":!0,"stor-elvdal.no":!0,"stord.no":!0,"stordal.no":!0,"storfjord.no":!0,"omasvuotna.no":!0,"strand.no":!0,"stranda.no":!0,"stryn.no":!0,"sula.no":!0,"suldal.no":!0,"sund.no":!0,"sunndal.no":!0,"surnadal.no":!0,"sveio.no":!0,"svelvik.no":!0,"sykkylven.no":!0,"sogne.no":!0,"xn--sgne-gra.no":!0,"somna.no":!0,"xn--smna-gra.no":!0,"sondre-land.no":!0,"xn--sndre-land-0cb.no":!0,"sor-aurdal.no":!0,"xn--sr-aurdal-l8a.no":!0,"sor-fron.no":!0,"xn--sr-fron-q1a.no":!0,"sor-odal.no":!0,"xn--sr-odal-q1a.no":!0,"sor-varanger.no":!0,"xn--sr-varanger-ggb.no":!0,"matta-varjjat.no":!0,"xn--mtta-vrjjat-k7af.no":!0,"sorfold.no":!0,"xn--srfold-bya.no":!0,"sorreisa.no":!0,"xn--srreisa-q1a.no":!0,"sorum.no":!0,"xn--srum-gra.no":!0,"tana.no":!0,"deatnu.no":!0,"time.no":!0,"tingvoll.no":!0,"tinn.no":!0,"tjeldsund.no":!0,"dielddanuorri.no":!0,"tjome.no":!0,"xn--tjme-hra.no":!0,"tokke.no":!0,"tolga.no":!0,"torsken.no":!0,"tranoy.no":!0,"xn--trany-yua.no":!0,"tromso.no":!0,"xn--troms-zua.no":!0,"tromsa.no":!0,"romsa.no":!0,"trondheim.no":!0,"troandin.no":!0,"trysil.no":!0,"trana.no":!0,"xn--trna-woa.no":!0,"trogstad.no":!0,"xn--trgstad-r1a.no":!0,"tvedestrand.no":!0,"tydal.no":!0,"tynset.no":!0,"tysfjord.no":!0,"divtasvuodna.no":!0,"divttasvuotna.no":!0,"tysnes.no":!0,"tysvar.no":!0,"xn--tysvr-vra.no":!0,"tonsberg.no":!0,"xn--tnsberg-q1a.no":!0,"ullensaker.no":!0,"ullensvang.no":!0,"ulvik.no":!0,"utsira.no":!0,"vadso.no":!0,"xn--vads-jra.no":!0,"cahcesuolo.no":!0,"xn--hcesuolo-7ya35b.no":!0,"vaksdal.no":!0,"valle.no":!0,"vang.no":!0,"vanylven.no":!0,"vardo.no":!0,"xn--vard-jra.no":!0,"varggat.no":!0,"xn--vrggt-xqad.no":!0,"vefsn.no":!0,"vaapste.no":!0,"vega.no":!0,"vegarshei.no":!0,"xn--vegrshei-c0a.no":!0,"vennesla.no":!0,"verdal.no":!0,"verran.no":!0,"vestby.no":!0,"vestnes.no":!0,"vestre-slidre.no":!0,"vestre-toten.no":!0,"vestvagoy.no":!0,"xn--vestvgy-ixa6o.no":!0,"vevelstad.no":!0,"vik.no":!0,"vikna.no":!0,"vindafjord.no":!0,"volda.no":!0,"voss.no":!0,"varoy.no":!0,"xn--vry-yla5g.no":!0,"vagan.no":!0,"xn--vgan-qoa.no":!0,"voagat.no":!0,"vagsoy.no":!0,"xn--vgsy-qoa0j.no":!0,"vaga.no":!0,"xn--vg-yiab.no":!0,"valer.ostfold.no":!0,"xn--vler-qoa.xn--stfold-9xa.no":!0,"valer.hedmark.no":!0,"xn--vler-qoa.hedmark.no":!0,"*.np":!0,nr:!0,"biz.nr":!0,"info.nr":!0,"gov.nr":!0,"edu.nr":!0,"org.nr":!0,"net.nr":!0,"com.nr":!0,nu:!0,nz:!0,"ac.nz":!0,"co.nz":!0,"cri.nz":!0,"geek.nz":!0,"gen.nz":!0,"govt.nz":!0,"health.nz":!0,"iwi.nz":!0,"kiwi.nz":!0,"maori.nz":!0,"mil.nz":!0,"xn--mori-qsa.nz":!0,"net.nz":!0,"org.nz":!0,"parliament.nz":!0,"school.nz":!0,om:!0,"co.om":!0,"com.om":!0,"edu.om":!0,"gov.om":!0,"med.om":!0,"museum.om":!0,"net.om":!0,"org.om":!0,"pro.om":!0,org:!0,pa:!0,"ac.pa":!0,"gob.pa":!0,"com.pa":!0,"org.pa":!0,"sld.pa":!0,"edu.pa":!0,"net.pa":!0,"ing.pa":!0,"abo.pa":!0,"med.pa":!0,"nom.pa":!0,pe:!0,"edu.pe":!0,"gob.pe":!0,"nom.pe":!0,"mil.pe":!0,"org.pe":!0,"com.pe":!0,"net.pe":!0,pf:!0,"com.pf":!0,"org.pf":!0,"edu.pf":!0,"*.pg":!0,ph:!0,"com.ph":!0,"net.ph":!0,"org.ph":!0,"gov.ph":!0,"edu.ph":!0,"ngo.ph":!0,"mil.ph":!0,"i.ph":!0,pk:!0,"com.pk":!0,"net.pk":!0,"edu.pk":!0,"org.pk":!0,"fam.pk":!0,"biz.pk":!0,"web.pk":!0,"gov.pk":!0,"gob.pk":!0,"gok.pk":!0,"gon.pk":!0,"gop.pk":!0,"gos.pk":!0,"info.pk":!0,pl:!0,"com.pl":!0,"net.pl":!0,"org.pl":!0,"aid.pl":!0,"agro.pl":!0,"atm.pl":!0,"auto.pl":!0,"biz.pl":!0,"edu.pl":!0,"gmina.pl":!0,"gsm.pl":!0,"info.pl":!0,"mail.pl":!0,"miasta.pl":!0,"media.pl":!0,"mil.pl":!0,"nieruchomosci.pl":!0,"nom.pl":!0,"pc.pl":!0,"powiat.pl":!0,"priv.pl":!0,"realestate.pl":!0,"rel.pl":!0,"sex.pl":!0,"shop.pl":!0,"sklep.pl":!0,"sos.pl":!0,"szkola.pl":!0,"targi.pl":!0,"tm.pl":!0,"tourism.pl":!0,"travel.pl":!0,"turystyka.pl":!0,"gov.pl":!0,"ap.gov.pl":!0,"ic.gov.pl":!0,"is.gov.pl":!0,"us.gov.pl":!0,"kmpsp.gov.pl":!0,"kppsp.gov.pl":!0,"kwpsp.gov.pl":!0,"psp.gov.pl":!0,"wskr.gov.pl":!0,"kwp.gov.pl":!0,"mw.gov.pl":!0,"ug.gov.pl":!0,"um.gov.pl":!0,"umig.gov.pl":!0,"ugim.gov.pl":!0,"upow.gov.pl":!0,"uw.gov.pl":!0,"starostwo.gov.pl":!0,"pa.gov.pl":!0,"po.gov.pl":!0,"psse.gov.pl":!0,"pup.gov.pl":!0,"rzgw.gov.pl":!0,"sa.gov.pl":!0,"so.gov.pl":!0,"sr.gov.pl":!0,"wsa.gov.pl":!0,"sko.gov.pl":!0,"uzs.gov.pl":!0,"wiih.gov.pl":!0,"winb.gov.pl":!0,"pinb.gov.pl":!0,"wios.gov.pl":!0,"witd.gov.pl":!0,"wzmiuw.gov.pl":!0,"piw.gov.pl":!0,"wiw.gov.pl":!0,"griw.gov.pl":!0,"wif.gov.pl":!0,"oum.gov.pl":!0,"sdn.gov.pl":!0,"zp.gov.pl":!0,"uppo.gov.pl":!0,"mup.gov.pl":!0,"wuoz.gov.pl":!0,"konsulat.gov.pl":!0,"oirm.gov.pl":!0,"augustow.pl":!0,"babia-gora.pl":!0,"bedzin.pl":!0,"beskidy.pl":!0,"bialowieza.pl":!0,"bialystok.pl":!0,"bielawa.pl":!0,"bieszczady.pl":!0,"boleslawiec.pl":!0,"bydgoszcz.pl":!0,"bytom.pl":!0,"cieszyn.pl":!0,"czeladz.pl":!0,"czest.pl":!0,"dlugoleka.pl":!0,"elblag.pl":!0,"elk.pl":!0,"glogow.pl":!0,"gniezno.pl":!0,"gorlice.pl":!0,"grajewo.pl":!0,"ilawa.pl":!0,"jaworzno.pl":!0,"jelenia-gora.pl":!0,"jgora.pl":!0,"kalisz.pl":!0,"kazimierz-dolny.pl":!0,"karpacz.pl":!0,"kartuzy.pl":!0,"kaszuby.pl":!0,"katowice.pl":!0,"kepno.pl":!0,"ketrzyn.pl":!0,"klodzko.pl":!0,"kobierzyce.pl":!0,"kolobrzeg.pl":!0,"konin.pl":!0,"konskowola.pl":!0,"kutno.pl":!0,"lapy.pl":!0,"lebork.pl":!0,"legnica.pl":!0,"lezajsk.pl":!0,"limanowa.pl":!0,"lomza.pl":!0,"lowicz.pl":!0,"lubin.pl":!0,"lukow.pl":!0,"malbork.pl":!0,"malopolska.pl":!0,"mazowsze.pl":!0,"mazury.pl":!0,"mielec.pl":!0,"mielno.pl":!0,"mragowo.pl":!0,"naklo.pl":!0,"nowaruda.pl":!0,"nysa.pl":!0,"olawa.pl":!0,"olecko.pl":!0,"olkusz.pl":!0,"olsztyn.pl":!0,"opoczno.pl":!0,"opole.pl":!0,"ostroda.pl":!0,"ostroleka.pl":!0,"ostrowiec.pl":!0,"ostrowwlkp.pl":!0,"pila.pl":!0,"pisz.pl":!0,"podhale.pl":!0,"podlasie.pl":!0,"polkowice.pl":!0,"pomorze.pl":!0,"pomorskie.pl":!0,"prochowice.pl":!0,"pruszkow.pl":!0,"przeworsk.pl":!0,"pulawy.pl":!0,"radom.pl":!0,"rawa-maz.pl":!0,"rybnik.pl":!0,"rzeszow.pl":!0,"sanok.pl":!0,"sejny.pl":!0,"slask.pl":!0,"slupsk.pl":!0,"sosnowiec.pl":!0,"stalowa-wola.pl":!0,"skoczow.pl":!0,"starachowice.pl":!0,"stargard.pl":!0,"suwalki.pl":!0,"swidnica.pl":!0,"swiebodzin.pl":!0,"swinoujscie.pl":!0,"szczecin.pl":!0,"szczytno.pl":!0,"tarnobrzeg.pl":!0,"tgory.pl":!0,"turek.pl":!0,"tychy.pl":!0,"ustka.pl":!0,"walbrzych.pl":!0,"warmia.pl":!0,"warszawa.pl":!0,"waw.pl":!0,"wegrow.pl":!0,"wielun.pl":!0,"wlocl.pl":!0,"wloclawek.pl":!0,"wodzislaw.pl":!0,"wolomin.pl":!0,"wroclaw.pl":!0,"zachpomor.pl":!0,"zagan.pl":!0,"zarow.pl":!0,"zgora.pl":!0,"zgorzelec.pl":!0,pm:!0,pn:!0,"gov.pn":!0,"co.pn":!0,"org.pn":!0,"edu.pn":!0,"net.pn":!0,post:!0,pr:!0,"com.pr":!0,"net.pr":!0,"org.pr":!0,"gov.pr":!0,"edu.pr":!0,"isla.pr":!0,"pro.pr":!0,"biz.pr":!0,"info.pr":!0,"name.pr":!0,"est.pr":!0,"prof.pr":!0,"ac.pr":!0,pro:!0,"aaa.pro":!0,"aca.pro":!0,"acct.pro":!0,"avocat.pro":!0,"bar.pro":!0,"cpa.pro":!0,"eng.pro":!0,"jur.pro":!0,"law.pro":!0,"med.pro":!0,"recht.pro":!0,ps:!0,"edu.ps":!0,"gov.ps":!0,"sec.ps":!0,"plo.ps":!0,"com.ps":!0,"org.ps":!0,"net.ps":!0,pt:!0,"net.pt":!0,"gov.pt":!0,"org.pt":!0,"edu.pt":!0,"int.pt":!0,"publ.pt":!0,"com.pt":!0,"nome.pt":!0,pw:!0,"co.pw":!0,"ne.pw":!0,"or.pw":!0,"ed.pw":!0,"go.pw":!0,"belau.pw":!0,py:!0,"com.py":!0,"coop.py":!0,"edu.py":!0,"gov.py":!0,"mil.py":!0,"net.py":!0,"org.py":!0,qa:!0,"com.qa":!0,"edu.qa":!0,"gov.qa":!0,"mil.qa":!0,"name.qa":!0,"net.qa":!0,"org.qa":!0,"sch.qa":!0,re:!0,"asso.re":!0,"com.re":!0,"nom.re":!0,ro:!0,"arts.ro":!0,"com.ro":!0,"firm.ro":!0,"info.ro":!0,"nom.ro":!0,"nt.ro":!0,"org.ro":!0,"rec.ro":!0,"store.ro":!0,"tm.ro":!0,"www.ro":!0,rs:!0,"ac.rs":!0,"co.rs":!0,"edu.rs":!0,"gov.rs":!0,"in.rs":!0,"org.rs":!0,ru:!0,"ac.ru":!0,"com.ru":!0,"edu.ru":!0,"int.ru":!0,"net.ru":!0,"org.ru":!0,"pp.ru":!0,"adygeya.ru":!0,"altai.ru":!0,"amur.ru":!0,"arkhangelsk.ru":!0,"astrakhan.ru":!0,"bashkiria.ru":!0,"belgorod.ru":!0,"bir.ru":!0,"bryansk.ru":!0,"buryatia.ru":!0,"cbg.ru":!0,"chel.ru":!0,"chelyabinsk.ru":!0,"chita.ru":!0,"chukotka.ru":!0,"chuvashia.ru":!0,"dagestan.ru":!0,"dudinka.ru":!0,"e-burg.ru":!0,"grozny.ru":!0,"irkutsk.ru":!0,"ivanovo.ru":!0,"izhevsk.ru":!0,"jar.ru":!0,"joshkar-ola.ru":!0,"kalmykia.ru":!0,"kaluga.ru":!0,"kamchatka.ru":!0,"karelia.ru":!0,"kazan.ru":!0,"kchr.ru":!0,"kemerovo.ru":!0,"khabarovsk.ru":!0,"khakassia.ru":!0,"khv.ru":!0,"kirov.ru":!0,"koenig.ru":!0,"komi.ru":!0,"kostroma.ru":!0,"krasnoyarsk.ru":!0,"kuban.ru":!0,"kurgan.ru":!0,"kursk.ru":!0,"lipetsk.ru":!0,"magadan.ru":!0,"mari.ru":!0,"mari-el.ru":!0,"marine.ru":!0,"mordovia.ru":!0,"msk.ru":!0,"murmansk.ru":!0,"nalchik.ru":!0,"nnov.ru":!0,"nov.ru":!0,"novosibirsk.ru":!0,"nsk.ru":!0,"omsk.ru":!0,"orenburg.ru":!0,"oryol.ru":!0,"palana.ru":!0,"penza.ru":!0,"perm.ru":!0,"ptz.ru":!0,"rnd.ru":!0,"ryazan.ru":!0,"sakhalin.ru":!0,"samara.ru":!0,"saratov.ru":!0,"simbirsk.ru":!0,"smolensk.ru":!0,"spb.ru":!0,"stavropol.ru":!0,"stv.ru":!0,"surgut.ru":!0,"tambov.ru":!0,"tatarstan.ru":!0,"tom.ru":!0,"tomsk.ru":!0,"tsaritsyn.ru":!0,"tsk.ru":!0,"tula.ru":!0,"tuva.ru":!0,"tver.ru":!0,"tyumen.ru":!0,"udm.ru":!0,"udmurtia.ru":!0,"ulan-ude.ru":!0,"vladikavkaz.ru":!0,"vladimir.ru":!0,"vladivostok.ru":!0,"volgograd.ru":!0,"vologda.ru":!0,"voronezh.ru":!0,"vrn.ru":!0,"vyatka.ru":!0,"yakutia.ru":!0,"yamal.ru":!0,"yaroslavl.ru":!0,"yekaterinburg.ru":!0,"yuzhno-sakhalinsk.ru":!0,"amursk.ru":!0,"baikal.ru":!0,"cmw.ru":!0,"fareast.ru":!0,"jamal.ru":!0,"kms.ru":!0,"k-uralsk.ru":!0,"kustanai.ru":!0,"kuzbass.ru":!0,"mytis.ru":!0,"nakhodka.ru":!0,"nkz.ru":!0,"norilsk.ru":!0,"oskol.ru":!0,"pyatigorsk.ru":!0,"rubtsovsk.ru":!0,"snz.ru":!0,"syzran.ru":!0,"vdonsk.ru":!0,"zgrad.ru":!0,"gov.ru":!0,"mil.ru":!0,"test.ru":!0,rw:!0,"gov.rw":!0,"net.rw":!0,"edu.rw":!0,"ac.rw":!0,"com.rw":!0,"co.rw":!0,"int.rw":!0,"mil.rw":!0,"gouv.rw":!0,sa:!0,"com.sa":!0,"net.sa":!0,"org.sa":!0,"gov.sa":!0,"med.sa":!0,"pub.sa":!0,"edu.sa":!0,"sch.sa":!0,sb:!0,"com.sb":!0,"edu.sb":!0,"gov.sb":!0,"net.sb":!0,"org.sb":!0,sc:!0,"com.sc":!0,"gov.sc":!0,"net.sc":!0,"org.sc":!0,"edu.sc":!0,sd:!0,"com.sd":!0,"net.sd":!0,"org.sd":!0,"edu.sd":!0,"med.sd":!0,"tv.sd":!0,"gov.sd":!0,"info.sd":!0,se:!0,"a.se":!0,"ac.se":!0,"b.se":!0,"bd.se":!0,"brand.se":!0,"c.se":!0,"d.se":!0,"e.se":!0,"f.se":!0,"fh.se":!0,"fhsk.se":!0,"fhv.se":!0,"g.se":!0,"h.se":!0,"i.se":!0,"k.se":!0,"komforb.se":!0,"kommunalforbund.se":!0,"komvux.se":!0,"l.se":!0,"lanbib.se":!0,"m.se":!0,"n.se":!0,"naturbruksgymn.se":!0,"o.se":!0,"org.se":!0,"p.se":!0,"parti.se":!0,"pp.se":!0,"press.se":!0,"r.se":!0,"s.se":!0,"t.se":!0,"tm.se":!0,"u.se":!0,"w.se":!0,"x.se":!0,"y.se":!0,"z.se":!0,sg:!0,"com.sg":!0,"net.sg":!0,"org.sg":!0,"gov.sg":!0,"edu.sg":!0,"per.sg":!0,sh:!0,"com.sh":!0,"net.sh":!0,"gov.sh":!0,"org.sh":!0,"mil.sh":!0,si:!0,sj:!0,sk:!0,sl:!0,"com.sl":!0,"net.sl":!0,"edu.sl":!0,"gov.sl":!0,"org.sl":!0,sm:!0,sn:!0,"art.sn":!0,"com.sn":!0,"edu.sn":!0,"gouv.sn":!0,"org.sn":!0,"perso.sn":!0,"univ.sn":!0,so:!0,"com.so":!0,"net.so":!0,"org.so":!0,sr:!0,st:!0,"co.st":!0,"com.st":!0,"consulado.st":!0,"edu.st":!0,"embaixada.st":!0,"gov.st":!0,"mil.st":!0,"net.st":!0,"org.st":!0,"principe.st":!0,"saotome.st":!0,"store.st":!0,su:!0,"adygeya.su":!0,"arkhangelsk.su":!0,"balashov.su":!0,"bashkiria.su":!0,"bryansk.su":!0,"dagestan.su":!0,"grozny.su":!0,"ivanovo.su":!0,"kalmykia.su":!0,"kaluga.su":!0,"karelia.su":!0,"khakassia.su":!0,"krasnodar.su":!0,"kurgan.su":!0,"lenug.su":!0,"mordovia.su":!0,"msk.su":!0,"murmansk.su":!0,"nalchik.su":!0,"nov.su":!0,"obninsk.su":!0,"penza.su":!0,"pokrovsk.su":!0,"sochi.su":!0,"spb.su":!0,"togliatti.su":!0,"troitsk.su":!0,"tula.su":!0,"tuva.su":!0,"vladikavkaz.su":!0,"vladimir.su":!0,"vologda.su":!0,sv:!0,"com.sv":!0,"edu.sv":!0,"gob.sv":!0,"org.sv":!0,"red.sv":!0,sx:!0,"gov.sx":!0,sy:!0,"edu.sy":!0,"gov.sy":!0,"net.sy":!0,"mil.sy":!0,"com.sy":!0,"org.sy":!0,sz:!0,"co.sz":!0,"ac.sz":!0,"org.sz":!0,tc:!0,td:!0,tel:!0,tf:!0,tg:!0,th:!0,"ac.th":!0,"co.th":!0,"go.th":!0,"in.th":!0,"mi.th":!0,"net.th":!0,"or.th":!0,tj:!0,"ac.tj":!0,"biz.tj":!0,"co.tj":!0,"com.tj":!0,"edu.tj":!0,"go.tj":!0,"gov.tj":!0,"int.tj":!0,"mil.tj":!0,"name.tj":!0,"net.tj":!0,"nic.tj":!0,"org.tj":!0,"test.tj":!0,"web.tj":!0,tk:!0,tl:!0,"gov.tl":!0,tm:!0,"com.tm":!0,"co.tm":!0,"org.tm":!0,"net.tm":!0,"nom.tm":!0,"gov.tm":!0,"mil.tm":!0,"edu.tm":!0,tn:!0,"com.tn":!0,"ens.tn":!0,"fin.tn":!0,"gov.tn":!0,"ind.tn":!0,"intl.tn":!0,"nat.tn":!0,"net.tn":!0,"org.tn":!0,"info.tn":!0,"perso.tn":!0,"tourism.tn":!0,"edunet.tn":!0,"rnrt.tn":!0,"rns.tn":!0,"rnu.tn":!0,"mincom.tn":!0,"agrinet.tn":!0,"defense.tn":!0,"turen.tn":!0,to:!0,"com.to":!0,"gov.to":!0,"net.to":!0,"org.to":!0,"edu.to":!0,"mil.to":!0,tr:!0,"com.tr":!0,"info.tr":!0,"biz.tr":!0,"net.tr":!0,"org.tr":!0,"web.tr":!0,"gen.tr":!0,"tv.tr":!0,"av.tr":!0,"dr.tr":!0,"bbs.tr":!0,"name.tr":!0,"tel.tr":!0,"gov.tr":!0,"bel.tr":!0,"pol.tr":!0,"mil.tr":!0,"k12.tr":!0,"edu.tr":!0,"kep.tr":!0,"nc.tr":!0,"gov.nc.tr":!0,travel:!0,tt:!0,"co.tt":!0,"com.tt":!0,"org.tt":!0,"net.tt":!0,"biz.tt":!0,"info.tt":!0,"pro.tt":!0,"int.tt":!0,"coop.tt":!0,"jobs.tt":!0,"mobi.tt":!0,"travel.tt":!0,"museum.tt":!0,"aero.tt":!0,"name.tt":!0,"gov.tt":!0,"edu.tt":!0,tv:!0,tw:!0,"edu.tw":!0,"gov.tw":!0,"mil.tw":!0,"com.tw":!0,"net.tw":!0,"org.tw":!0,"idv.tw":!0,"game.tw":!0,"ebiz.tw":!0,"club.tw":!0,"xn--zf0ao64a.tw":!0,"xn--uc0atv.tw":!0,"xn--czrw28b.tw":!0,tz:!0,"ac.tz":!0,"co.tz":!0,"go.tz":!0,"hotel.tz":!0,"info.tz":!0,"me.tz":!0,"mil.tz":!0,"mobi.tz":!0,"ne.tz":!0,"or.tz":!0,"sc.tz":!0,"tv.tz":!0,ua:!0,"com.ua":!0,"edu.ua":!0,"gov.ua":!0,"in.ua":!0,"net.ua":!0,"org.ua":!0,"cherkassy.ua":!0,"cherkasy.ua":!0,"chernigov.ua":!0,"chernihiv.ua":!0,"chernivtsi.ua":!0,"chernovtsy.ua":!0,"ck.ua":!0,"cn.ua":!0,"cr.ua":!0,"crimea.ua":!0,"cv.ua":!0,"dn.ua":!0,"dnepropetrovsk.ua":!0,"dnipropetrovsk.ua":!0,"dominic.ua":!0,"donetsk.ua":!0,"dp.ua":!0,"if.ua":!0,"ivano-frankivsk.ua":!0,"kh.ua":!0,"kharkiv.ua":!0,"kharkov.ua":!0,"kherson.ua":!0,"khmelnitskiy.ua":!0,"khmelnytskyi.ua":!0,"kiev.ua":!0,"kirovograd.ua":!0,"km.ua":!0,"kr.ua":!0,"krym.ua":!0,"ks.ua":!0,"kv.ua":!0,"kyiv.ua":!0,"lg.ua":!0,"lt.ua":!0,"lugansk.ua":!0,"lutsk.ua":!0,"lv.ua":!0,"lviv.ua":!0,"mk.ua":!0,"mykolaiv.ua":!0,"nikolaev.ua":!0,"od.ua":!0,"odesa.ua":!0,"odessa.ua":!0,"pl.ua":!0,"poltava.ua":!0,"rivne.ua":!0,"rovno.ua":!0,"rv.ua":!0,"sb.ua":!0,"sebastopol.ua":!0,"sevastopol.ua":!0,"sm.ua":!0,"sumy.ua":!0,"te.ua":!0,"ternopil.ua":!0,"uz.ua":!0,"uzhgorod.ua":!0,"vinnica.ua":!0,"vinnytsia.ua":!0,"vn.ua":!0,"volyn.ua":!0,"yalta.ua":!0,"zaporizhzhe.ua":!0,"zaporizhzhia.ua":!0,"zhitomir.ua":!0,"zhytomyr.ua":!0,"zp.ua":!0,"zt.ua":!0,ug:!0,"co.ug":!0,"or.ug":!0,"ac.ug":!0,"sc.ug":!0,"go.ug":!0,"ne.ug":!0,"com.ug":!0,"org.ug":!0,uk:!0,"ac.uk":!0,"co.uk":!0,"gov.uk":!0,"ltd.uk":!0,"me.uk":!0,"net.uk":!0,"nhs.uk":!0,"org.uk":!0,"plc.uk":!0,"police.uk":!0,"*.sch.uk":!0,us:!0,"dni.us":!0,"fed.us":!0,"isa.us":!0,"kids.us":!0,"nsn.us":!0,"ak.us":!0,"al.us":!0,"ar.us":!0,"as.us":!0,"az.us":!0,"ca.us":!0,"co.us":!0,"ct.us":!0,"dc.us":!0,"de.us":!0,"fl.us":!0,"ga.us":!0,"gu.us":!0,"hi.us":!0,"ia.us":!0,"id.us":!0,"il.us":!0,"in.us":!0,"ks.us":!0,"ky.us":!0,"la.us":!0,"ma.us":!0,"md.us":!0,"me.us":!0,"mi.us":!0,"mn.us":!0,"mo.us":!0,"ms.us":!0,"mt.us":!0,"nc.us":!0,"nd.us":!0,"ne.us":!0,"nh.us":!0,"nj.us":!0,"nm.us":!0,"nv.us":!0,"ny.us":!0,"oh.us":!0,"ok.us":!0,"or.us":!0,"pa.us":!0,"pr.us":!0,"ri.us":!0,"sc.us":!0,"sd.us":!0,"tn.us":!0,"tx.us":!0,"ut.us":!0,"vi.us":!0,"vt.us":!0,"va.us":!0,"wa.us":!0,"wi.us":!0,"wv.us":!0,"wy.us":!0,"k12.ak.us":!0,"k12.al.us":!0,"k12.ar.us":!0,"k12.as.us":!0,"k12.az.us":!0,"k12.ca.us":!0,"k12.co.us":!0,"k12.ct.us":!0,"k12.dc.us":!0,"k12.de.us":!0,"k12.fl.us":!0,"k12.ga.us":!0,"k12.gu.us":!0,"k12.ia.us":!0,"k12.id.us":!0,"k12.il.us":!0,"k12.in.us":!0,"k12.ks.us":!0,"k12.ky.us":!0,"k12.la.us":!0,"k12.ma.us":!0,"k12.md.us":!0,"k12.me.us":!0,"k12.mi.us":!0,"k12.mn.us":!0,"k12.mo.us":!0,"k12.ms.us":!0,"k12.mt.us":!0,"k12.nc.us":!0,"k12.ne.us":!0,"k12.nh.us":!0,"k12.nj.us":!0,"k12.nm.us":!0,"k12.nv.us":!0,"k12.ny.us":!0,"k12.oh.us":!0,"k12.ok.us":!0,"k12.or.us":!0,"k12.pa.us":!0,"k12.pr.us":!0,"k12.ri.us":!0,"k12.sc.us":!0,"k12.tn.us":!0,"k12.tx.us":!0,"k12.ut.us":!0,"k12.vi.us":!0,"k12.vt.us":!0,"k12.va.us":!0,"k12.wa.us":!0,"k12.wi.us":!0,"k12.wy.us":!0,"cc.ak.us":!0,"cc.al.us":!0,"cc.ar.us":!0,"cc.as.us":!0,"cc.az.us":!0,"cc.ca.us":!0,"cc.co.us":!0,"cc.ct.us":!0,"cc.dc.us":!0,"cc.de.us":!0,"cc.fl.us":!0,"cc.ga.us":!0,"cc.gu.us":!0,"cc.hi.us":!0,"cc.ia.us":!0,"cc.id.us":!0,"cc.il.us":!0,"cc.in.us":!0,"cc.ks.us":!0,"cc.ky.us":!0,"cc.la.us":!0,"cc.ma.us":!0,"cc.md.us":!0,"cc.me.us":!0,"cc.mi.us":!0,"cc.mn.us":!0,"cc.mo.us":!0,"cc.ms.us":!0,"cc.mt.us":!0,"cc.nc.us":!0,"cc.nd.us":!0,"cc.ne.us":!0,"cc.nh.us":!0,"cc.nj.us":!0,"cc.nm.us":!0,"cc.nv.us":!0,"cc.ny.us":!0,"cc.oh.us":!0,"cc.ok.us":!0,"cc.or.us":!0,"cc.pa.us":!0,"cc.pr.us":!0,"cc.ri.us":!0,"cc.sc.us":!0,"cc.sd.us":!0,"cc.tn.us":!0,"cc.tx.us":!0,"cc.ut.us":!0,"cc.vi.us":!0,"cc.vt.us":!0,"cc.va.us":!0,"cc.wa.us":!0,"cc.wi.us":!0,"cc.wv.us":!0,"cc.wy.us":!0,"lib.ak.us":!0,"lib.al.us":!0,"lib.ar.us":!0,"lib.as.us":!0,"lib.az.us":!0,"lib.ca.us":!0,"lib.co.us":!0,"lib.ct.us":!0,"lib.dc.us":!0,"lib.fl.us":!0,"lib.ga.us":!0,"lib.gu.us":!0,"lib.hi.us":!0,"lib.ia.us":!0,"lib.id.us":!0,"lib.il.us":!0,"lib.in.us":!0,"lib.ks.us":!0,"lib.ky.us":!0,"lib.la.us":!0,"lib.ma.us":!0,"lib.md.us":!0,"lib.me.us":!0,"lib.mi.us":!0,"lib.mn.us":!0,"lib.mo.us":!0,"lib.ms.us":!0,"lib.mt.us":!0,"lib.nc.us":!0,"lib.nd.us":!0,"lib.ne.us":!0,"lib.nh.us":!0,"lib.nj.us":!0,"lib.nm.us":!0,"lib.nv.us":!0,"lib.ny.us":!0,"lib.oh.us":!0,"lib.ok.us":!0,"lib.or.us":!0,"lib.pa.us":!0,"lib.pr.us":!0,"lib.ri.us":!0,"lib.sc.us":!0,"lib.sd.us":!0,"lib.tn.us":!0,"lib.tx.us":!0,"lib.ut.us":!0,"lib.vi.us":!0,"lib.vt.us":!0,"lib.va.us":!0,"lib.wa.us":!0,"lib.wi.us":!0,"lib.wy.us":!0,"pvt.k12.ma.us":!0,"chtr.k12.ma.us":!0,"paroch.k12.ma.us":!0,uy:!0,"com.uy":!0,"edu.uy":!0,"gub.uy":!0,"mil.uy":!0,"net.uy":!0,"org.uy":!0,uz:!0,"co.uz":!0,"com.uz":!0,"net.uz":!0,"org.uz":!0,va:!0,vc:!0,"com.vc":!0,"net.vc":!0,"org.vc":!0,"gov.vc":!0,"mil.vc":!0,"edu.vc":!0,ve:!0,"arts.ve":!0,"co.ve":!0,"com.ve":!0,"e12.ve":!0,"edu.ve":!0,"firm.ve":!0,"gob.ve":!0,"gov.ve":!0,"info.ve":!0,"int.ve":!0,"mil.ve":!0,"net.ve":!0,"org.ve":!0,"rec.ve":!0,"store.ve":!0,"tec.ve":!0,"web.ve":!0,vg:!0,vi:!0,"co.vi":!0,"com.vi":!0,"k12.vi":!0,"net.vi":!0,"org.vi":!0,vn:!0,"com.vn":!0,"net.vn":!0,"org.vn":!0,"edu.vn":!0,"gov.vn":!0,"int.vn":!0,"ac.vn":!0,"biz.vn":!0,"info.vn":!0,"name.vn":!0,"pro.vn":!0,"health.vn":!0,vu:!0,"com.vu":!0,"edu.vu":!0,"net.vu":!0,"org.vu":!0,wf:!0,ws:!0,"com.ws":!0,"net.ws":!0,"org.ws":!0,"gov.ws":!0,"edu.ws":!0,yt:!0,"xn--mgbaam7a8h":!0,"xn--y9a3aq":!0,"xn--54b7fta0cc":!0,"xn--90ais":!0,"xn--fiqs8s":!0,"xn--fiqz9s":!0,"xn--lgbbat1ad8j":!0,"xn--wgbh1c":!0,"xn--e1a4c":!0,"xn--node":!0,"xn--qxam":!0,"xn--j6w193g":!0,"xn--h2brj9c":!0,"xn--mgbbh1a71e":!0,"xn--fpcrj9c3d":!0,"xn--gecrj9c":!0,"xn--s9brj9c":!0,"xn--45brj9c":!0,"xn--xkc2dl3a5ee0h":!0,"xn--mgba3a4f16a":!0,"xn--mgba3a4fra":!0,"xn--mgbtx2b":!0,"xn--mgbayh7gpa":!0,"xn--3e0b707e":!0,"xn--80ao21a":!0,"xn--fzc2c9e2c":!0,"xn--xkc2al3hye2a":!0,"xn--mgbc0a9azcg":!0,"xn--d1alf":!0,"xn--l1acc":!0,"xn--mix891f":!0,"xn--mix082f":!0,"xn--mgbx4cd0ab":!0,"xn--mgb9awbf":!0,"xn--mgbai9azgqp6j":!0,"xn--mgbai9a5eva00b":!0,"xn--ygbi2ammx":!0,"xn--90a3ac":!0,"xn--o1ac.xn--90a3ac":!0,"xn--c1avg.xn--90a3ac":!0,"xn--90azh.xn--90a3ac":!0,"xn--d1at.xn--90a3ac":!0,"xn--o1ach.xn--90a3ac":!0,"xn--80au.xn--90a3ac":!0,"xn--p1ai":!0,"xn--wgbl6a":!0,"xn--mgberp4a5d4ar":!0,"xn--mgberp4a5d4a87g":!0,"xn--mgbqly7c0a67fbc":!0,"xn--mgbqly7cvafr":!0,"xn--mgbpl2fh":!0,"xn--yfro4i67o":!0,"xn--clchc0ea0b2g2a9gcd":!0,"xn--ogbpf8fl":!0,"xn--mgbtf8fl":!0,"xn--o3cw4h":!0,"xn--pgbs0dh":!0,"xn--kpry57d":!0,"xn--kprw13d":!0,"xn--nnx388a":!0,"xn--j1amh":!0,"xn--mgb2ddes":!0,xxx:!0,"*.ye":!0,"ac.za":!0,"agric.za":!0,"alt.za":!0,"co.za":!0,"edu.za":!0,"gov.za":!0,"grondar.za":!0,"law.za":!0,"mil.za":!0,"net.za":!0,"ngo.za":!0,"nis.za":!0,"nom.za":!0,"org.za":!0,"school.za":!0,"tm.za":!0,"web.za":!0,zm:!0,"ac.zm":!0,"biz.zm":!0,"co.zm":!0,"com.zm":!0,"edu.zm":!0,"gov.zm":!0,"info.zm":!0,"mil.zm":!0,"net.zm":!0,"org.zm":!0,"sch.zm":!0,"*.zw":!0,aaa:!0,aarp:!0,abarth:!0,abb:!0,abbott:!0,abbvie:!0,abc:!0,able:!0,abogado:!0,abudhabi:!0,academy:!0,accenture:!0,accountant:!0,accountants:!0,aco:!0,active:!0,actor:!0,adac:!0,ads:!0,adult:!0,aeg:!0,aetna:!0,afamilycompany:!0,afl:!0,africa:!0,agakhan:!0,agency:!0,aig:!0,aigo:!0,airbus:!0,airforce:!0,airtel:!0,akdn:!0,alfaromeo:!0,alibaba:!0,alipay:!0,allfinanz:!0,allstate:!0,ally:!0,alsace:!0,alstom:!0,americanexpress:!0,americanfamily:!0,amex:!0,amfam:!0,amica:!0,amsterdam:!0,analytics:!0,android:!0,anquan:!0,anz:!0,aol:!0,apartments:!0,app:!0,apple:!0,aquarelle:!0,arab:!0,aramco:!0,archi:!0,army:!0,art:!0,arte:!0,asda:!0,associates:!0,athleta:!0,attorney:!0,auction:!0,audi:!0,audible:!0,audio:!0,auspost:!0,author:!0,auto:!0,autos:!0,avianca:!0,aws:!0,axa:!0,azure:!0,baby:!0,baidu:!0,banamex:!0,bananarepublic:!0,band:!0,bank:!0,bar:!0,barcelona:!0,barclaycard:!0,barclays:!0,barefoot:!0,bargains:!0,baseball:!0,basketball:!0,bauhaus:!0,bayern:!0,bbc:!0,bbt:!0,bbva:!0,bcg:!0,bcn:!0,beats:!0,beauty:!0,beer:!0,bentley:!0,berlin:!0,best:!0,bestbuy:!0,bet:!0,bharti:!0,bible:!0,bid:!0,bike:!0,bing:!0,bingo:!0,bio:!0,black:!0,blackfriday:!0,blanco:!0,blockbuster:!0,blog:!0,bloomberg:!0,blue:!0,bms:!0,bmw:!0,bnl:!0,bnpparibas:!0,boats:!0,boehringer:!0,bofa:!0,bom:!0,bond:!0,boo:!0,book:!0,booking:!0,boots:!0,bosch:!0,bostik:!0,boston:!0,bot:!0,boutique:!0,box:!0,bradesco:!0,bridgestone:!0,broadway:!0,broker:!0,brother:!0,brussels:!0,budapest:!0,bugatti:!0,build:!0,builders:!0,business:!0,buy:!0,buzz:!0,bzh:!0,cab:!0,cafe:!0,cal:!0,call:!0,calvinklein:!0,cam:!0,camera:!0,camp:!0,cancerresearch:!0,canon:!0,capetown:!0,capital:!0,capitalone:!0,car:!0,caravan:!0,cards:!0,care:!0,career:!0,careers:!0,cars:!0,cartier:!0,casa:!0,case:!0,caseih:!0,cash:!0,casino:!0,catering:!0,catholic:!0,cba:!0,cbn:!0,cbre:!0,cbs:!0,ceb:!0,center:!0,ceo:!0,cern:!0,cfa:!0,cfd:!0,chanel:!0,channel:!0,chase:!0,chat:!0,cheap:!0,chintai:!0,chloe:!0,christmas:!0,chrome:!0,chrysler:!0,church:!0,cipriani:!0,circle:!0,cisco:!0,citadel:!0,citi:!0,citic:!0,city:!0,cityeats:!0,claims:!0,cleaning:!0,click:!0,clinic:!0,clinique:!0,clothing:!0,cloud:!0,club:!0,clubmed:!0,coach:!0,codes:!0,coffee:!0,college:!0,cologne:!0,comcast:!0,commbank:!0,community:!0,company:!0,compare:!0,computer:!0,comsec:!0,condos:!0,construction:!0,consulting:!0,contact:!0,contractors:!0,cooking:!0,cookingchannel:!0,cool:!0,corsica:!0,country:!0,coupon:!0,coupons:!0,courses:!0,credit:!0,creditcard:!0,creditunion:!0,cricket:!0,crown:!0,crs:!0,cruise:!0,cruises:!0,csc:!0,cuisinella:!0,cymru:!0,cyou:!0,dabur:!0,dad:!0,dance:!0,data:!0,date:!0,dating:!0,datsun:!0,day:!0,dclk:!0,dds:!0,deal:!0,dealer:!0,deals:!0,degree:!0,delivery:!0,dell:!0,deloitte:!0,delta:!0,democrat:!0,dental:!0,dentist:!0,desi:!0,design:!0,dev:!0,dhl:!0,diamonds:!0,diet:!0,digital:!0,direct:!0,directory:!0,discount:!0,discover:!0,dish:!0,diy:!0,dnp:!0,docs:!0,doctor:!0,dodge:!0,dog:!0,doha:!0,domains:!0,dot:!0,download:!0,drive:!0,dtv:!0,dubai:!0,duck:!0,dunlop:!0,duns:!0,dupont:!0,durban:!0,dvag:!0,dvr:!0,dwg:!0,earth:!0,eat:!0,eco:!0,edeka:!0,education:!0,email:!0,emerck:!0,emerson:!0,energy:!0,engineer:!0,engineering:!0,enterprises:!0,epost:!0,epson:!0,equipment:!0,ericsson:!0,erni:!0,esq:!0,estate:!0,esurance:!0,etisalat:!0,eurovision:!0,eus:!0,events:!0,everbank:!0,exchange:!0,expert:!0,exposed:!0,express:!0,extraspace:!0,fage:!0,fail:!0,fairwinds:!0,faith:!0,family:!0,fan:!0,fans:!0,farm:!0,farmers:!0,fashion:!0,fast:!0,fedex:!0,feedback:!0,ferrari:!0,ferrero:!0,fiat:!0,fidelity:!0,fido:!0,film:!0,final:!0,finance:!0,financial:!0,fire:!0,firestone:!0,firmdale:!0,fish:!0,fishing:!0,fit:!0,fitness:!0,flickr:!0,flights:!0,flir:!0,florist:!0,flowers:!0,fly:!0,foo:!0,food:!0,foodnetwork:!0,football:!0,ford:!0,forex:!0,forsale:!0,forum:!0,foundation:!0,fox:!0,free:!0,fresenius:!0,frl:!0,frogans:!0,frontdoor:!0,frontier:!0,ftr:!0,fujitsu:!0,fujixerox:!0,fun:!0,fund:!0,furniture:!0,futbol:!0,fyi:!0,gal:!0,gallery:!0,gallo:!0,gallup:!0,game:!0,games:!0,gap:!0,garden:!0,gbiz:!0,gdn:!0,gea:!0,gent:!0,genting:!0,george:!0,ggee:!0,gift:!0,gifts:!0,gives:!0,giving:!0,glade:!0,glass:!0,gle:!0,global:!0,globo:!0,gmail:!0,gmbh:!0,gmo:!0,gmx:!0,godaddy:!0,gold:!0,goldpoint:!0,golf:!0,goo:!0,goodhands:!0,goodyear:!0,goog:!0,google:!0,gop:!0,got:!0,grainger:!0,graphics:!0,gratis:!0,green:!0,gripe:!0,grocery:!0,group:!0,guardian:!0,gucci:!0,guge:!0,guide:!0,guitars:!0,guru:!0,hair:!0,hamburg:!0,hangout:!0,haus:!0,hbo:!0,hdfc:!0,hdfcbank:!0,health:!0,healthcare:!0,help:!0,helsinki:!0,here:!0,hermes:!0,hgtv:!0,hiphop:!0,hisamitsu:!0,hitachi:!0,hiv:!0,hkt:!0,hockey:!0,holdings:!0,holiday:!0,homedepot:!0,homegoods:!0,homes:!0,homesense:!0,honda:!0,honeywell:!0,horse:!0,host:!0,hosting:!0,hot:!0,hoteles:!0,hotels:!0,hotmail:!0,house:!0,how:!0,hsbc:!0,htc:!0,hughes:!0,hyatt:!0,hyundai:!0,ibm:!0,icbc:!0,ice:!0,icu:!0,ieee:!0,ifm:!0,iinet:!0,ikano:!0,imamat:!0,imdb:!0,immo:!0,immobilien:!0,industries:!0,infiniti:!0,ing:!0,ink:!0,institute:!0,insurance:!0,insure:!0,intel:!0,international:!0,intuit:!0,investments:!0,ipiranga:!0,irish:!0,iselect:!0,ismaili:!0,ist:!0,istanbul:!0,itau:!0,itv:!0,iveco:!0,iwc:!0,jaguar:!0,java:!0,jcb:!0,jcp:!0,jeep:!0,jetzt:!0,jewelry:!0,jio:!0,jlc:!0,jll:!0,jmp:!0,jnj:!0,joburg:!0,jot:!0,joy:!0,jpmorgan:!0,jprs:!0,juegos:!0,juniper:!0,kaufen:!0,kddi:!0,kerryhotels:!0,kerrylogistics:!0,kerryproperties:!0,kfh:!0,kia:!0,kim:!0,kinder:!0,kindle:!0,kitchen:!0,kiwi:!0,koeln:!0,komatsu:!0,kosher:!0,kpmg:!0,kpn:!0,krd:!0,kred:!0,kuokgroup:!0,kyoto:!0,lacaixa:!0,ladbrokes:!0,lamborghini:!0,lamer:!0,lancaster:!0,lancia:!0,lancome:!0,land:!0,landrover:!0,lanxess:!0,lasalle:!0,lat:!0,latino:!0,latrobe:!0,law:!0,lawyer:!0,lds:!0,lease:!0,leclerc:!0,lefrak:!0,legal:!0,lego:!0,lexus:!0,lgbt:!0,liaison:!0,lidl:!0,life:!0,lifeinsurance:!0,lifestyle:!0,lighting:!0,like:!0,lilly:!0,limited:!0,limo:!0,lincoln:!0,linde:!0,link:!0,lipsy:!0,live:!0,living:!0,lixil:!0,loan:!0,loans:!0,locker:!0,locus:!0,loft:!0,lol:!0,london:!0,lotte:!0,lotto:!0,love:!0,lpl:!0,lplfinancial:!0,ltd:!0,ltda:!0,lundbeck:!0,lupin:!0,luxe:!0,luxury:!0,macys:!0,madrid:!0,maif:!0,maison:!0,makeup:!0,man:!0,management:!0,mango:!0,map:!0,market:!0,marketing:!0,markets:!0,marriott:!0,marshalls:!0,maserati:!0,mattel:!0,mba:!0,mcd:!0,mcdonalds:!0,mckinsey:!0,med:!0,media:!0,meet:!0,melbourne:!0,meme:!0,memorial:!0,men:!0,menu:!0,meo:!0,merckmsd:!0,metlife:!0,miami:!0,microsoft:!0,mini:!0,mint:!0,mit:!0,mitsubishi:!0,mlb:!0,mls:!0,mma:!0,mobile:!0,mobily:!0,moda:!0,moe:!0,moi:!0,mom:!0,monash:!0,money:!0,monster:!0,montblanc:!0,mopar:!0,mormon:!0,mortgage:!0,moscow:!0,moto:!0,motorcycles:!0,mov:!0,movie:!0,movistar:!0,msd:!0,mtn:!0,mtpc:!0,mtr:!0,mutual:!0,mutuelle:!0,nab:!0,nadex:!0,nagoya:!0,nationwide:!0,natura:!0,navy:!0,nba:!0,nec:!0,netbank:!0,netflix:!0,network:!0,neustar:!0,new:!0,newholland:!0,news:!0,next:!0,nextdirect:!0,nexus:!0,nfl:!0,ngo:!0,nhk:!0,nico:!0,nike:!0,nikon:!0,ninja:!0,nissan:!0,nissay:!0,nokia:!0,northwesternmutual:!0,norton:!0,now:!0,nowruz:!0,nowtv:!0,nra:!0,nrw:!0,ntt:!0,nyc:!0,obi:!0,observer:!0,off:!0,office:!0,okinawa:!0,olayan:!0,olayangroup:!0,oldnavy:!0,ollo:!0,omega:!0,one:!0,ong:!0,onl:!0,online:!0,onyourside:!0,ooo:!0,open:!0,oracle:!0,orange:!0,organic:!0,orientexpress:!0,origins:!0,osaka:!0,otsuka:!0,ott:!0,ovh:!0,page:!0,pamperedchef:!0,panasonic:!0,panerai:!0,paris:!0,pars:!0,partners:!0,parts:!0,party:!0,passagens:!0,pay:!0,pccw:!0,pet:!0,pfizer:!0,pharmacy:!0,phd:!0,philips:!0,phone:!0,photo:!0,photography:!0,photos:!0,physio:!0,piaget:!0,pics:!0,pictet:!0,pictures:!0,pid:!0,pin:!0,ping:!0,pink:!0,pioneer:!0,pizza:!0,place:!0,play:!0,playstation:!0,plumbing:!0,plus:!0,pnc:!0,pohl:!0,poker:!0,politie:!0,porn:!0,pramerica:!0,praxi:!0,press:!0,prime:!0,prod:!0,productions:!0,prof:!0,progressive:!0,promo:!0,properties:!0,property:!0,protection:!0,pru:!0,prudential:!0,pub:!0,pwc:!0,qpon:!0,quebec:!0,quest:!0,qvc:!0,racing:!0,radio:!0,raid:!0,read:!0,realestate:!0,realtor:!0,realty:!0,recipes:!0,red:!0,redstone:!0,redumbrella:!0,rehab:!0,reise:!0,reisen:!0,reit:!0,reliance:!0,ren:!0,rent:!0,rentals:!0,repair:!0,report:!0,republican:!0,rest:!0,restaurant:!0,review:!0,reviews:!0,rexroth:!0,rich:!0,richardli:!0,ricoh:!0,rightathome:!0,ril:!0,rio:!0,rip:!0,rmit:!0,rocher:!0,rocks:!0,rodeo:!0,rogers:!0,room:!0,rsvp:!0,ruhr:!0,run:!0,rwe:!0,ryukyu:!0,saarland:!0,safe:!0,safety:!0,sakura:!0,sale:!0,salon:!0,samsclub:!0,samsung:!0,sandvik:!0,sandvikcoromant:!0,sanofi:!0,sap:!0,sapo:!0,sarl:!0,sas:!0,save:!0,saxo:!0,sbi:!0,sbs:!0,sca:!0,scb:!0,schaeffler:!0,schmidt:!0,scholarships:!0,school:!0,schule:!0,schwarz:!0,science:!0,scjohnson:!0,scor:!0,scot:!0,search:!0,seat:!0,secure:!0,security:!0,seek:!0,select:!0,sener:!0,services:!0,ses:!0,seven:!0,sew:!0,sex:!0,sexy:!0,sfr:!0,shangrila:!0,sharp:!0,shaw:!0,shell:!0,shia:!0,shiksha:!0,shoes:!0,shop:!0,shopping:!0,shouji:!0,show:!0,showtime:!0,shriram:!0,silk:!0,sina:!0,singles:!0,site:!0,ski:!0,skin:!0,sky:!0,skype:!0,sling:!0,smart:!0,smile:!0,sncf:!0,soccer:!0,social:!0,softbank:!0,software:!0,sohu:!0,solar:!0,solutions:!0,song:!0,sony:!0,soy:!0,space:!0,spiegel:!0,spot:!0,spreadbetting:!0,srl:!0,srt:!0,stada:!0,staples:!0,star:!0,starhub:!0,statebank:!0,statefarm:!0,statoil:!0,stc:!0,stcgroup:!0,stockholm:!0,storage:!0,store:!0,stream:!0,studio:!0,study:!0,style:!0,sucks:!0,supplies:!0,supply:!0,support:!0,surf:!0,surgery:!0,suzuki:!0,swatch:!0,swiftcover:!0,swiss:!0,sydney:!0,symantec:!0,systems:!0,tab:!0,taipei:!0,talk:!0,taobao:!0,target:!0,tatamotors:!0,tatar:!0,tattoo:!0,tax:!0,taxi:!0,tci:!0,tdk:!0,team:!0,tech:!0,technology:!0,telecity:!0,telefonica:!0,temasek:!0,tennis:!0,teva:!0,thd:!0,theater:!0,theatre:!0,theguardian:!0,tiaa:!0,tickets:!0,tienda:!0,tiffany:!0,tips:!0,tires:!0,tirol:!0,tjmaxx:!0,tjx:!0,tkmaxx:!0,tmall:!0,today:!0,tokyo:!0,tools:!0,top:!0,toray:!0,toshiba:!0,total:!0,tours:!0,town:!0,toyota:!0,toys:!0,trade:!0,trading:!0,training:!0,travelchannel:!0,travelers:!0,travelersinsurance:!0,trust:!0,trv:!0,tube:!0,tui:!0,tunes:!0,tushu:!0,tvs:!0,ubank:!0,ubs:!0,uconnect:!0,unicom:!0,university:!0,uno:!0,uol:!0,ups:!0,vacations:!0,vana:!0,vanguard:!0,vegas:!0,ventures:!0,verisign:!0,versicherung:!0,vet:!0,viajes:!0,video:!0,vig:!0,viking:!0,villas:!0,vin:!0,vip:!0,virgin:!0,visa:!0,vision:!0,vista:!0,vistaprint:!0,viva:!0,vivo:!0,vlaanderen:!0,vodka:!0,volkswagen:!0,volvo:!0,vote:!0,voting:!0,voto:!0,voyage:!0,vuelos:!0,wales:!0,walmart:!0,walter:!0,wang:!0,wanggou:!0,warman:!0,watch:!0,watches:!0,weather:!0,weatherchannel:!0,webcam:!0,weber:!0,website:!0,wed:!0,wedding:!0,weibo:!0,weir:!0,whoswho:!0,wien:!0,wiki:!0,williamhill:!0,win:!0,windows:!0,wine:!0,winners:!0,wme:!0,wolterskluwer:!0,woodside:!0,work:!0,works:!0,world:!0,wow:!0,wtc:!0,wtf:!0,xbox:!0,xerox:!0,xfinity:!0,xihuan:!0,xin:!0,"xn--11b4c3d":!0,"xn--1ck2e1b":!0,"xn--1qqw23a":!0,"xn--30rr7y":!0,"xn--3bst00m":!0,"xn--3ds443g":!0,"xn--3oq18vl8pn36a":!0,"xn--3pxu8k":!0,"xn--42c2d9a":!0,"xn--45q11c":!0,"xn--4gbrim":!0,"xn--4gq48lf9j":!0,"xn--55qw42g":!0,"xn--55qx5d":!0,"xn--5su34j936bgsg":!0,"xn--5tzm5g":!0,"xn--6frz82g":!0,"xn--6qq986b3xl":!0,"xn--80adxhks":!0,"xn--80aqecdr1a":!0,"xn--80asehdb":!0,"xn--80aswg":!0,"xn--8y0a063a":!0,"xn--9dbq2a":!0,"xn--9et52u":!0,"xn--9krt00a":!0,"xn--b4w605ferd":!0,"xn--bck1b9a5dre4c":!0,"xn--c1avg":!0,"xn--c2br7g":!0,"xn--cck2b3b":!0,"xn--cg4bki":!0,"xn--czr694b":!0,"xn--czrs0t":!0,"xn--czru2d":!0,"xn--d1acj3b":!0,"xn--eckvdtc9d":!0,"xn--efvy88h":!0,"xn--estv75g":!0,"xn--fct429k":!0,"xn--fhbei":!0,"xn--fiq228c5hs":!0,"xn--fiq64b":!0,"xn--fjq720a":!0,"xn--flw351e":!0,"xn--fzys8d69uvgm":!0,"xn--g2xx48c":!0,"xn--gckr3f0f":!0,"xn--gk3at1e":!0,"xn--hxt814e":!0,"xn--i1b6b1a6a2e":!0,"xn--imr513n":!0,"xn--io0a7i":!0,"xn--j1aef":!0,"xn--jlq61u9w7b":!0,"xn--jvr189m":!0,"xn--kcrx77d1x4a":!0,"xn--kpu716f":!0,"xn--kput3i":!0,"xn--mgba3a3ejt":!0,"xn--mgba7c0bbn0a":!0,"xn--mgbaakc7dvf":!0,"xn--mgbab2bd":!0,"xn--mgbb9fbpob":!0,"xn--mgbca7dzdo":!0,"xn--mgbi4ecexp":!0,"xn--mgbt3dhd":!0,"xn--mk1bu44c":!0,"xn--mxtq1m":!0,"xn--ngbc5azd":!0,"xn--ngbe9e0a":!0,"xn--ngbrx":!0,"xn--nqv7f":!0,"xn--nqv7fs00ema":!0,"xn--nyqy26a":!0,"xn--p1acf":!0,"xn--pbt977c":!0,"xn--pssy2u":!0,"xn--q9jyb4c":!0,"xn--qcka1pmc":!0,"xn--rhqv96g":!0,"xn--rovu88b":!0,"xn--ses554g":!0,"xn--t60b56a":!0,"xn--tckwe":!0,"xn--tiq49xqyj":!0,"xn--unup4y":!0,"xn--vermgensberater-ctb":!0,"xn--vermgensberatung-pwb":!0,"xn--vhquv":!0,"xn--vuq861b":!0,"xn--w4r85el8fhu5dnra":!0,"xn--w4rs40l":!0,"xn--xhq521b":!0,"xn--zfr164b":!0,xperia:!0,xyz:!0,yachts:!0,yahoo:!0,yamaxun:!0,yandex:!0,yodobashi:!0,yoga:!0,yokohama:!0,you:!0,youtube:!0,yun:!0,zappos:!0,zara:!0,zero:!0,zip:!0,zippo:!0,zone:!0,zuerich:!0,"beep.pl":!0,"*.compute.estate":!0,"*.alces.network":!0,"*.alwaysdata.net":!0,"cloudfront.net":!0,"compute.amazonaws.com":!0,"ap-northeast-1.compute.amazonaws.com":!0,"ap-northeast-2.compute.amazonaws.com":!0,"ap-southeast-1.compute.amazonaws.com":!0,"ap-southeast-2.compute.amazonaws.com":!0,"eu-central-1.compute.amazonaws.com":!0,"eu-west-1.compute.amazonaws.com":!0,"sa-east-1.compute.amazonaws.com":!0,"us-gov-west-1.compute.amazonaws.com":!0,"us-west-1.compute.amazonaws.com":!0,"us-west-2.compute.amazonaws.com":!0,"compute-1.amazonaws.com":!0,"z-1.compute-1.amazonaws.com":!0,"z-2.compute-1.amazonaws.com":!0,"us-east-1.amazonaws.com":!0,"compute.amazonaws.com.cn":!0,"cn-north-1.compute.amazonaws.com.cn":!0,"elasticbeanstalk.com":!0,"elb.amazonaws.com":!0,"s3.amazonaws.com":!0,"s3-ap-northeast-1.amazonaws.com":!0,"s3-ap-northeast-2.amazonaws.com":!0,"s3-ap-southeast-1.amazonaws.com":!0,"s3-ap-southeast-2.amazonaws.com":!0,"s3-eu-central-1.amazonaws.com":!0,"s3-eu-west-1.amazonaws.com":!0,"s3-external-1.amazonaws.com":!0,"s3-external-2.amazonaws.com":!0,"s3-fips-us-gov-west-1.amazonaws.com":!0,"s3-sa-east-1.amazonaws.com":!0,"s3-us-gov-west-1.amazonaws.com":!0,"s3-us-west-1.amazonaws.com":!0,"s3-us-west-2.amazonaws.com":!0,"s3.ap-northeast-2.amazonaws.com":!0,"s3.cn-north-1.amazonaws.com.cn":!0,"s3.eu-central-1.amazonaws.com":!0,"on-aptible.com":!0,"pimienta.org":!0,"poivron.org":!0,"potager.org":!0,"sweetpepper.org":!0,"myasustor.com":!0,"myfritz.net":!0,"backplaneapp.io":!0,"betainabox.com":!0,"bnr.la":!0,"boxfuse.io":!0,"browsersafetymark.io":!0,"mycd.eu":!0,"ae.org":!0,"ar.com":!0,"br.com":!0,"cn.com":!0,"com.de":!0,"com.se":!0,"de.com":!0,"eu.com":!0,"gb.com":!0,"gb.net":!0,"hu.com":!0,"hu.net":!0,"jp.net":!0,"jpn.com":!0,"kr.com":!0,"mex.com":!0,"no.com":!0,"qc.com":!0,"ru.com":!0,"sa.com":!0,"se.com":!0,"se.net":!0,"uk.com":!0,"uk.net":!0,"us.com":!0,"uy.com":!0,"za.bz":!0,"za.com":!0,"africa.com":!0,"gr.com":!0,"in.net":!0,"us.org":!0,"co.com":!0,"c.la":!0,"certmgr.org":!0,"xenapponazure.com":!0,"virtueeldomein.nl":!0,"cloudcontrolled.com":!0,"cloudcontrolapp.com":!0,"co.ca":!0,"co.cz":!0,"c.cdn77.org":!0,"cdn77-ssl.net":!0,"r.cdn77.net":!0,"rsc.cdn77.org":!0,"ssl.origin.cdn77-secure.org":!0,"cloudns.asia":!0,"cloudns.biz":!0,"cloudns.club":!0,"cloudns.cc":!0,"cloudns.eu":!0,"cloudns.in":!0,"cloudns.info":!0,"cloudns.org":!0,"cloudns.pro":!0,"cloudns.pw":!0,"cloudns.us":!0,"co.nl":!0,"co.no":!0,"*.platform.sh":!0,"realm.cz":!0,"*.cryptonomic.net":!0,"cupcake.is":!0,"cyon.link":!0,"cyon.site":!0,"daplie.me":!0,"biz.dk":!0,"co.dk":!0,"firm.dk":!0,"reg.dk":!0,"store.dk":!0,"dedyn.io":!0,"dnshome.de":!0,"dreamhosters.com":!0,"mydrobo.com":!0,"drud.io":!0,"drud.us":!0,"duckdns.org":!0,"dy.fi":!0,"tunk.org":!0,"dyndns-at-home.com":!0,"dyndns-at-work.com":!0,"dyndns-blog.com":!0,"dyndns-free.com":!0,"dyndns-home.com":!0,"dyndns-ip.com":!0,"dyndns-mail.com":!0,"dyndns-office.com":!0,"dyndns-pics.com":!0,"dyndns-remote.com":!0,"dyndns-server.com":!0,"dyndns-web.com":!0,"dyndns-wiki.com":!0,"dyndns-work.com":!0,"dyndns.biz":!0,"dyndns.info":!0,"dyndns.org":!0,"dyndns.tv":!0,"at-band-camp.net":!0,"ath.cx":!0,"barrel-of-knowledge.info":!0,"barrell-of-knowledge.info":!0,"better-than.tv":!0,"blogdns.com":!0,"blogdns.net":!0,"blogdns.org":!0,"blogsite.org":!0,"boldlygoingnowhere.org":!0,"broke-it.net":!0,"buyshouses.net":!0,"cechire.com":!0,"dnsalias.com":!0,"dnsalias.net":!0,"dnsalias.org":!0,"dnsdojo.com":!0,"dnsdojo.net":!0,"dnsdojo.org":!0,"does-it.net":!0,"doesntexist.com":!0,"doesntexist.org":!0,"dontexist.com":!0,"dontexist.net":!0,"dontexist.org":!0,"doomdns.com":!0,"doomdns.org":!0,"dvrdns.org":!0,"dyn-o-saur.com":!0,"dynalias.com":!0,"dynalias.net":!0,"dynalias.org":!0,"dynathome.net":!0,"dyndns.ws":!0,"endofinternet.net":!0,"endofinternet.org":!0,"endoftheinternet.org":!0,"est-a-la-maison.com":!0,"est-a-la-masion.com":!0,"est-le-patron.com":!0,"est-mon-blogueur.com":!0,"for-better.biz":!0,"for-more.biz":!0,"for-our.info":!0,"for-some.biz":!0,"for-the.biz":!0,"forgot.her.name":!0,"forgot.his.name":!0,"from-ak.com":!0,"from-al.com":!0,"from-ar.com":!0,"from-az.net":!0,"from-ca.com":!0,"from-co.net":!0,"from-ct.com":!0,"from-dc.com":!0,"from-de.com":!0,"from-fl.com":!0,"from-ga.com":!0,"from-hi.com":!0,"from-ia.com":!0,"from-id.com":!0,"from-il.com":!0,"from-in.com":!0,"from-ks.com":!0,"from-ky.com":!0,"from-la.net":!0,"from-ma.com":!0,"from-md.com":!0,"from-me.org":!0,"from-mi.com":!0,"from-mn.com":!0,"from-mo.com":!0,"from-ms.com":!0,"from-mt.com":!0,"from-nc.com":!0,"from-nd.com":!0,"from-ne.com":!0,"from-nh.com":!0,"from-nj.com":!0,"from-nm.com":!0,"from-nv.com":!0,"from-ny.net":!0,"from-oh.com":!0,"from-ok.com":!0,"from-or.com":!0,"from-pa.com":!0,"from-pr.com":!0,"from-ri.com":!0,"from-sc.com":!0,"from-sd.com":!0,"from-tn.com":!0,"from-tx.com":!0,"from-ut.com":!0,"from-va.com":!0,"from-vt.com":!0,"from-wa.com":!0,"from-wi.com":!0,"from-wv.com":!0,"from-wy.com":!0,"ftpaccess.cc":!0,"fuettertdasnetz.de":!0,"game-host.org":!0,"game-server.cc":!0,"getmyip.com":!0,"gets-it.net":!0,"go.dyndns.org":!0,"gotdns.com":!0,"gotdns.org":!0,"groks-the.info":!0,"groks-this.info":!0,"ham-radio-op.net":!0,"here-for-more.info":!0,"hobby-site.com":!0,"hobby-site.org":!0,"home.dyndns.org":!0,"homedns.org":!0,"homeftp.net":!0,"homeftp.org":!0,"homeip.net":!0,"homelinux.com":!0,"homelinux.net":!0,"homelinux.org":!0,"homeunix.com":!0,"homeunix.net":!0,"homeunix.org":!0,"iamallama.com":!0,"in-the-band.net":!0,"is-a-anarchist.com":!0,"is-a-blogger.com":!0,"is-a-bookkeeper.com":!0,"is-a-bruinsfan.org":!0,"is-a-bulls-fan.com":!0,"is-a-candidate.org":!0,"is-a-caterer.com":!0,"is-a-celticsfan.org":!0,"is-a-chef.com":!0,"is-a-chef.net":!0,"is-a-chef.org":!0,"is-a-conservative.com":!0,"is-a-cpa.com":!0,"is-a-cubicle-slave.com":!0,"is-a-democrat.com":!0,"is-a-designer.com":!0,"is-a-doctor.com":!0,"is-a-financialadvisor.com":!0,"is-a-geek.com":!0,"is-a-geek.net":!0,"is-a-geek.org":!0,"is-a-green.com":!0,"is-a-guru.com":!0,"is-a-hard-worker.com":!0,"is-a-hunter.com":!0,"is-a-knight.org":!0,"is-a-landscaper.com":!0,"is-a-lawyer.com":!0,"is-a-liberal.com":!0,"is-a-libertarian.com":!0,"is-a-linux-user.org":!0,"is-a-llama.com":!0,"is-a-musician.com":!0,"is-a-nascarfan.com":!0,"is-a-nurse.com":!0,"is-a-painter.com":!0,"is-a-patsfan.org":!0,"is-a-personaltrainer.com":!0,"is-a-photographer.com":!0,"is-a-player.com":!0,"is-a-republican.com":!0,"is-a-rockstar.com":!0,"is-a-socialist.com":!0,"is-a-soxfan.org":!0,"is-a-student.com":!0,"is-a-teacher.com":!0,"is-a-techie.com":!0,"is-a-therapist.com":!0,"is-an-accountant.com":!0,"is-an-actor.com":!0,"is-an-actress.com":!0,"is-an-anarchist.com":!0,"is-an-artist.com":!0,"is-an-engineer.com":!0,"is-an-entertainer.com":!0,"is-by.us":!0,"is-certified.com":!0,"is-found.org":!0,"is-gone.com":!0,"is-into-anime.com":!0,"is-into-cars.com":!0,"is-into-cartoons.com":!0,"is-into-games.com":!0,"is-leet.com":!0,"is-lost.org":!0,"is-not-certified.com":!0,"is-saved.org":!0,"is-slick.com":!0,"is-uberleet.com":!0,"is-very-bad.org":!0,"is-very-evil.org":!0,"is-very-good.org":!0,"is-very-nice.org":!0,"is-very-sweet.org":!0,"is-with-theband.com":!0,"isa-geek.com":!0,"isa-geek.net":!0,"isa-geek.org":!0,"isa-hockeynut.com":!0,"issmarterthanyou.com":!0,"isteingeek.de":!0,"istmein.de":!0,"kicks-ass.net":!0,"kicks-ass.org":!0,"knowsitall.info":!0,"land-4-sale.us":!0,"lebtimnetz.de":!0,"leitungsen.de":!0,"likes-pie.com":!0,"likescandy.com":!0,"merseine.nu":!0,"mine.nu":!0,"misconfused.org":!0,"mypets.ws":!0,"myphotos.cc":!0,"neat-url.com":!0,"office-on-the.net":!0,"on-the-web.tv":!0,"podzone.net":!0,"podzone.org":!0,"readmyblog.org":!0,"saves-the-whales.com":!0,"scrapper-site.net":!0,"scrapping.cc":!0,"selfip.biz":!0,"selfip.com":!0,"selfip.info":!0,"selfip.net":!0,"selfip.org":!0,"sells-for-less.com":!0,"sells-for-u.com":!0,"sells-it.net":!0,"sellsyourhome.org":!0,"servebbs.com":!0,"servebbs.net":!0,"servebbs.org":!0,"serveftp.net":!0,"serveftp.org":!0,"servegame.org":!0,"shacknet.nu":!0,"simple-url.com":!0,"space-to-rent.com":!0,"stuff-4-sale.org":!0,"stuff-4-sale.us":!0,"teaches-yoga.com":!0,"thruhere.net":!0,"traeumtgerade.de":!0,"webhop.biz":!0,"webhop.info":!0,"webhop.net":!0,"webhop.org":!0,"worse-than.tv":!0,"writesthisblog.com":!0,"ddnss.de":!0,"dyn.ddnss.de":!0,"dyndns.ddnss.de":!0,"dyndns1.de":!0,"dyn-ip24.de":!0,"home-webserver.de":!0,"dyn.home-webserver.de":!0,"myhome-server.de":!0,"ddnss.org":!0,"dynv6.net":!0,"e4.cz":!0,"eu.org":!0,"al.eu.org":!0,"asso.eu.org":!0,"at.eu.org":!0,"au.eu.org":!0,"be.eu.org":!0,"bg.eu.org":!0,"ca.eu.org":!0,"cd.eu.org":!0,"ch.eu.org":!0,"cn.eu.org":!0,"cy.eu.org":!0,"cz.eu.org":!0,"de.eu.org":!0,"dk.eu.org":!0,"edu.eu.org":!0,"ee.eu.org":!0,"es.eu.org":!0,"fi.eu.org":!0,"fr.eu.org":!0,"gr.eu.org":!0,"hr.eu.org":!0,"hu.eu.org":!0,"ie.eu.org":!0,"il.eu.org":!0,"in.eu.org":!0,"int.eu.org":!0,"is.eu.org":!0,"it.eu.org":!0,"jp.eu.org":!0,"kr.eu.org":!0,"lt.eu.org":!0,"lu.eu.org":!0,"lv.eu.org":!0,"mc.eu.org":!0,"me.eu.org":!0,"mk.eu.org":!0,"mt.eu.org":!0,"my.eu.org":!0,"net.eu.org":!0,"ng.eu.org":!0,"nl.eu.org":!0,"no.eu.org":!0,"nz.eu.org":!0,"paris.eu.org":!0,"pl.eu.org":!0,"pt.eu.org":!0,"q-a.eu.org":!0,"ro.eu.org":!0,"ru.eu.org":!0,"se.eu.org":!0,"si.eu.org":!0,"sk.eu.org":!0,"tr.eu.org":!0,"uk.eu.org":!0,"us.eu.org":!0,"eu-1.evennode.com":!0,"eu-2.evennode.com":!0,"us-1.evennode.com":!0,"us-2.evennode.com":!0,"apps.fbsbx.com":!0,"a.ssl.fastly.net":!0,"b.ssl.fastly.net":!0,"global.ssl.fastly.net":!0,"a.prod.fastly.net":!0,"global.prod.fastly.net":!0,"fhapp.xyz":!0,"firebaseapp.com":!0,"flynnhub.com":!0,"freebox-os.com":!0,"freeboxos.com":!0,"fbx-os.fr":!0,"fbxos.fr":!0,"freebox-os.fr":!0,"freeboxos.fr":!0,"myfusion.cloud":!0,"futuremailing.at":!0,"*.ex.ortsinfo.at":!0,"*.kunden.ortsinfo.at":!0,"service.gov.uk":!0,"github.io":!0,"githubusercontent.com":!0,"githubcloud.com":!0,"*.api.githubcloud.com":!0,"*.ext.githubcloud.com":!0,"gist.githubcloud.com":!0,"*.githubcloudusercontent.com":!0,"gitlab.io":!0,"ro.com":!0,"ro.im":!0,"shop.ro":!0,"goip.de":!0,"*.0emm.com":!0,"appspot.com":!0,"blogspot.ae":!0,"blogspot.al":!0,"blogspot.am":!0,"blogspot.ba":!0,"blogspot.be":!0,"blogspot.bg":!0,"blogspot.bj":!0,"blogspot.ca":!0,"blogspot.cf":!0,"blogspot.ch":!0,"blogspot.cl":!0,"blogspot.co.at":!0,"blogspot.co.id":!0,"blogspot.co.il":!0,"blogspot.co.ke":!0,"blogspot.co.nz":!0,"blogspot.co.uk":!0,"blogspot.co.za":!0,"blogspot.com":!0,"blogspot.com.ar":!0,"blogspot.com.au":!0,"blogspot.com.br":!0,"blogspot.com.by":!0,"blogspot.com.co":!0,"blogspot.com.cy":!0,"blogspot.com.ee":!0,"blogspot.com.eg":!0,"blogspot.com.es":!0,"blogspot.com.mt":!0,"blogspot.com.ng":!0,"blogspot.com.tr":!0,"blogspot.com.uy":!0,"blogspot.cv":!0,"blogspot.cz":!0,"blogspot.de":!0,"blogspot.dk":!0,"blogspot.fi":!0,"blogspot.fr":!0,"blogspot.gr":!0,"blogspot.hk":!0,"blogspot.hr":!0,"blogspot.hu":!0,"blogspot.ie":!0,"blogspot.in":!0,"blogspot.is":!0,"blogspot.it":!0,"blogspot.jp":!0,"blogspot.kr":!0,"blogspot.li":!0,"blogspot.lt":!0,"blogspot.lu":!0,"blogspot.md":!0,"blogspot.mk":!0,"blogspot.mr":!0,"blogspot.mx":!0,"blogspot.my":!0,"blogspot.nl":!0,"blogspot.no":!0,"blogspot.pe":!0,"blogspot.pt":!0,"blogspot.qa":!0,"blogspot.re":!0,"blogspot.ro":!0,"blogspot.rs":!0,"blogspot.ru":!0,"blogspot.se":!0,"blogspot.sg":!0,"blogspot.si":!0,"blogspot.sk":!0,"blogspot.sn":!0,"blogspot.td":!0,"blogspot.tw":!0,"blogspot.ug":!0,"blogspot.vn":!0,"cloudfunctions.net":!0,"codespot.com":!0,"googleapis.com":!0,"googlecode.com":!0,"pagespeedmobilizer.com":!0,"publishproxy.com":!0,"withgoogle.com":!0,"withyoutube.com":!0,"hashbang.sh":!0,"hasura-app.io":!0,"hepforge.org":!0,"herokuapp.com":!0,"herokussl.com":!0,"iki.fi":!0,"biz.at":!0,"info.at":!0,"ac.leg.br":!0,"al.leg.br":!0,"am.leg.br":!0,"ap.leg.br":!0,"ba.leg.br":!0,"ce.leg.br":!0,"df.leg.br":!0,"es.leg.br":!0,"go.leg.br":!0,"ma.leg.br":!0,"mg.leg.br":!0,"ms.leg.br":!0,"mt.leg.br":!0,"pa.leg.br":!0,"pb.leg.br":!0,"pe.leg.br":!0,"pi.leg.br":!0,"pr.leg.br":!0,"rj.leg.br":!0,"rn.leg.br":!0,"ro.leg.br":!0,"rr.leg.br":!0,"rs.leg.br":!0,"sc.leg.br":!0,"se.leg.br":!0,"sp.leg.br":!0,"to.leg.br":!0,"*.triton.zone":!0,"*.cns.joyent.com":!0,"js.org":!0,"keymachine.de":!0,"knightpoint.systems":!0,"co.krd":!0,"edu.krd":!0,"*.magentosite.cloud":!0,"meteorapp.com":!0,"eu.meteorapp.com":!0,"co.pl":!0,"azurewebsites.net":!0,"azure-mobile.net":!0,"cloudapp.net":!0,"bmoattachments.org":!0,"4u.com":!0,"ngrok.io":!0,"nfshost.com":!0,"nsupdate.info":!0,"nerdpol.ovh":!0,"blogsyte.com":!0,"brasilia.me":!0,"cable-modem.org":!0,"ciscofreak.com":!0,"collegefan.org":!0,"couchpotatofries.org":!0,"damnserver.com":!0,"ddns.me":!0,"ditchyourip.com":!0,"dnsfor.me":!0,"dnsiskinky.com":!0,"dvrcam.info":!0,"dynns.com":!0,"eating-organic.net":!0,"fantasyleague.cc":!0,"geekgalaxy.com":!0,"golffan.us":!0,"health-carereform.com":!0,"homesecuritymac.com":!0,"homesecuritypc.com":!0,"hopto.me":!0,"ilovecollege.info":!0,"loginto.me":!0,"mlbfan.org":!0,"mmafan.biz":!0,"myactivedirectory.com":!0,"mydissent.net":!0,"myeffect.net":!0,"mymediapc.net":!0,"mypsx.net":!0,"mysecuritycamera.com":!0,"mysecuritycamera.net":!0,"mysecuritycamera.org":!0,"net-freaks.com":!0,"nflfan.org":!0,"nhlfan.net":!0,"no-ip.ca":!0,"no-ip.co.uk":!0,"no-ip.net":!0,"noip.us":!0,"onthewifi.com":!0,"pgafan.net":!0,"point2this.com":!0,"pointto.us":!0,"privatizehealthinsurance.net":!0,"quicksytes.com":!0,"read-books.org":!0,"securitytactics.com":!0,"serveexchange.com":!0,"servehumour.com":!0,"servep2p.com":!0,"servesarcasm.com":!0,"stufftoread.com":!0,"ufcfan.org":!0,"unusualperson.com":!0,"workisboring.com":!0,"3utilities.com":!0,"bounceme.net":!0,"ddns.net":!0,"ddnsking.com":!0,"gotdns.ch":!0,"hopto.org":!0,"myftp.biz":!0,"myftp.org":!0,"myvnc.com":!0,"no-ip.biz":!0,"no-ip.info":!0,"no-ip.org":!0,"noip.me":!0,"redirectme.net":!0,"servebeer.com":!0,"serveblog.net":!0,"servecounterstrike.com":!0,"serveftp.com":!0,"servegame.com":!0,"servehalflife.com":!0,"servehttp.com":!0,"serveirc.com":!0,"serveminecraft.net":!0,"servemp3.com":!0,"servepics.com":!0,"servequake.com":!0,"sytes.net":!0,"webhop.me":!0,"zapto.org":!0,"nyc.mn":!0,"nid.io":!0,"opencraft.hosting":!0,"operaunite.com":!0,"outsystemscloud.com":!0,"ownprovider.com":!0,"oy.lc":!0,"pgfog.com":!0,"pagefrontapp.com":!0,"art.pl":!0,"gliwice.pl":!0,"krakow.pl":!0,"poznan.pl":!0,"wroc.pl":!0,"zakopane.pl":!0,"pantheonsite.io":!0,"gotpantheon.com":!0,"mypep.link":!0,"xen.prgmr.com":!0,"priv.at":!0,"protonet.io":!0,"chirurgiens-dentistes-en-france.fr":!0,"qa2.com":!0,"dev-myqnapcloud.com":!0,"alpha-myqnapcloud.com":!0,"myqnapcloud.com":!0,"rackmaze.com":!0,"rackmaze.net":!0,"rhcloud.com":!0,"hzc.io":!0,"wellbeingzone.eu":!0,"ptplus.fit":!0,"wellbeingzone.co.uk":!0,"sandcats.io":!0,"logoip.de":!0,"logoip.com":!0,"firewall-gateway.com":!0,"firewall-gateway.de":!0,"my-gateway.de":!0,"my-router.de":!0,"spdns.de":!0,"spdns.eu":!0,"firewall-gateway.net":!0,"my-firewall.org":!0,"myfirewall.org":!0,"spdns.org":!0,"biz.ua":!0,"co.ua":!0,"pp.ua":!0,"shiftedit.io":!0,"myshopblocks.com":!0,"1kapp.com":!0,"appchizi.com":!0,"applinzi.com":!0,"sinaapp.com":!0,"vipsinaapp.com":!0,"bounty-full.com":!0,"alpha.bounty-full.com":!0,"beta.bounty-full.com":!0,"static.land":!0,"dev.static.land":!0,"sites.static.land":!0,"apps.lair.io":!0,"*.stolos.io":!0,"spacekit.io":!0,"stackspace.space":!0,"diskstation.me":!0,"dscloud.biz":!0,"dscloud.me":!0,"dscloud.mobi":!0,"dsmynas.com":!0,"dsmynas.net":!0,"dsmynas.org":!0,"familyds.com":!0,"familyds.net":!0,"familyds.org":!0,"i234.me":!0,"myds.me":!0,"synology.me":!0,"taifun-dns.de":!0,"gda.pl":!0,"gdansk.pl":!0,"gdynia.pl":!0,"med.pl":!0,"sopot.pl":!0,"bloxcms.com":!0,"townnews-staging.com":!0,"*.transurl.be":!0,"*.transurl.eu":!0,"*.transurl.nl":!0,"tuxfamily.org":!0,"hk.com":!0,"hk.org":!0,"ltd.hk":!0,"inc.hk":!0,"lib.de.us":!0,"router.management":!0,"wmflabs.org":!0,"yolasite.com":!0,"za.net":!0,"za.org":!0,"now.sh":!0})},{punycode:361}],449:[function(e,t,r){"use strict";function n(){}r.Store=n,n.prototype.synchronous=!1,n.prototype.findCookie=function(e,t,r,n){throw new Error("findCookie is not implemented")},n.prototype.findCookies=function(e,t,r){throw new Error("findCookies is not implemented")},n.prototype.putCookie=function(e,t){throw new Error("putCookie is not implemented")},n.prototype.updateCookie=function(e,t,r){throw new Error("updateCookie is not implemented")},n.prototype.removeCookie=function(e,t,r,n){throw new Error("removeCookie is not implemented")},n.prototype.removeCookies=function(e,t,r){throw new Error("removeCookies is not implemented")},n.prototype.getAllCookies=function(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},{}],450:[function(e,t,r){t.exports={_args:[[{raw:"tough-cookie@~2.3.3",scope:null,escapedName:"tough-cookie",name:"tough-cookie",rawSpec:"~2.3.3",spec:">=2.3.3 <2.4.0",type:"range"},"/home/eric/checkouts/shexSpec/shex.js/node_modules/request"]],_from:"tough-cookie@>=2.3.3 <2.4.0",_id:"tough-cookie@2.3.3",_inCache:!0,_location:"/tough-cookie",_nodeVersion:"7.9.0",_npmOperationalInternal:{host:"s3://npm-registry-packages",tmp:"tmp/tough-cookie-2.3.3.tgz_1506027901957_0.13104762020520866"},_npmUser:{name:"jstash",email:"jstash@gmail.com"},_npmVersion:"4.2.0",_phantomChildren:{},_requested:{raw:"tough-cookie@~2.3.3",scope:null,escapedName:"tough-cookie",name:"tough-cookie",rawSpec:"~2.3.3",spec:">=2.3.3 <2.4.0",type:"range"},_requiredBy:["/request"],_resolved:"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz",_shasum:"0b618a5565b6dea90bf3425d04d55edc475a7561",_shrinkwrap:null,_spec:"tough-cookie@~2.3.3",_where:"/home/eric/checkouts/shexSpec/shex.js/node_modules/request",author:{name:"Jeremy Stashewsky",email:"jstashewsky@salesforce.com"},bugs:{url:"https://github.com/salesforce/tough-cookie/issues"},contributors:[{name:"Alexander Savin"},{name:"Ian Livingstone"},{name:"Ivan Nikulin"},{name:"Lalit Kapoor"},{name:"Sam Thompson"},{name:"Sebastian Mayr"}],dependencies:{punycode:"^1.4.1"},description:"RFC6265 Cookies and Cookie Jar for node.js",devDependencies:{async:"^1.4.2","string.prototype.repeat":"^0.2.0",vows:"^0.8.1"},directories:{},dist:{shasum:"0b618a5565b6dea90bf3425d04d55edc475a7561",tarball:"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz"},engines:{node:">=0.8"},files:["lib"],gitHead:"12d426678f77bd34dd1234b7acbf47b299f50439",homepage:"https://github.com/salesforce/tough-cookie",keywords:["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],license:"BSD-3-Clause",main:"./lib/cookie",maintainers:[{name:"awaterma",email:"awaterma@awaterma.net"},{name:"jstash",email:"jstash@gmail.com"},{name:"nexxy",email:"emily@contactvibe.com"}],name:"tough-cookie",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git://github.com/salesforce/tough-cookie.git"},scripts:{suffixup:"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js",test:"vows test/*_test.js"},version:"2.3.3"}},{}],451:[function(e,t,r){(function(t){"use strict";function n(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||s.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n){for(var i=0,a=t.requests.length;i<a;++i){var o=t.requests[i];if(o.host===r&&o.port===n)return t.requests.splice(i,1),void o.request.onSocket(e)}e.destroy(),t.removeSocket(e)})}function i(e,t){var r=this;n.prototype.createSocket.call(r,e,function(n){var i=o.connect(0,a({},r.options,{servername:e.host,socket:n}));r.sockets[r.sockets.indexOf(n)]=i,t(i)})}function a(e){for(var t=1,r=arguments.length;t<r;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),a=0,o=i.length;a<o;++a){var s=i[a];void 0!==n[s]&&(e[s]=n[s])}}return e}e("net");var o=e("tls"),s=e("http"),c=e("https"),u=e("events"),l=e("assert"),f=e("util"),p=e("safe-buffer").Buffer;r.httpOverHttp=function(e){var t=new n(e);return t.request=s.request,t},r.httpsOverHttp=function(e){var t=new n(e);return t.request=s.request,t.createSocket=i,t.defaultPort=443,t},r.httpOverHttps=function(e){var t=new n(e);return t.request=c.request,t},r.httpsOverHttps=function(e){var t=new n(e);return t.request=c.request,t.createSocket=i,t.defaultPort=443,t},f.inherits(n,u.EventEmitter),n.prototype.addRequest=function(e,t){var r=this;"string"==typeof t&&(t={host:t,port:arguments[2],path:arguments[3]}),r.sockets.length>=this.maxSockets?r.requests.push({host:t.host,port:t.port,request:e}):r.createConnection({host:t.host,port:t.port,request:e})},n.prototype.createConnection=function(e){var t=this;t.createSocket(e,function(r){function n(){t.emit("free",r,e.host,e.port)}function i(e){t.removeSocket(r),r.removeListener("free",n),r.removeListener("close",i),r.removeListener("agentRemove",i)}r.on("free",n),r.on("close",i),r.on("agentRemove",i),e.request.onSocket(r)})},n.prototype.createSocket=function(e,r){function n(t,n,a){if(c.removeAllListeners(),n.removeAllListeners(),200===t.statusCode)l.equal(a.length,0),h("tunneling connection has established"),i.sockets[i.sockets.indexOf(o)]=n,r(n);else{h("tunneling socket could not be established, statusCode=%d",t.statusCode);var s=new Error("tunneling socket could not be established, statusCode="+t.statusCode);s.code="ECONNRESET",e.request.emit("error",s),i.removeSocket(o)}}var i=this,o={};i.sockets.push(o);var s=a({},i.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1});s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+p.from(s.proxyAuth).toString("base64")),h("making CONNECT request");var c=i.request(s);c.useChunkedEncodingByDefault=!1,c.once("response",function(e){e.upgrade=!0}),c.once("upgrade",function(e,r,i){t.nextTick(function(){n(e,r,i)})}),c.once("connect",n),c.once("error",function(t){c.removeAllListeners(),h("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=new Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),i.removeSocket(o)}),c.end()},n.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createConnection(r)}};var h;h=t.env.NODE_DEBUG&&/\btunnel\b/.test(t.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:function(){},r.debug=h}).call(this,e("_process"))},{_process:346,assert:77,events:200,http:435,https:249,net:151,"safe-buffer":402,tls:151,util:458}],452:[function(e,t,r){!function(t){"use strict";function r(e,t,r,n){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function n(e,t,r,n,i){var a,o=0;for(a=0;a<i;a++)o|=e[t+a]^r[n+a];return(1&o-1>>>8)-1}function i(e,t,r,i){return n(e,t,r,i,16)}function a(e,t,r,i){return n(e,t,r,i,32)}function o(e,t,r,n){for(var i,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,f=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,p=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,d=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,v=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,b=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,y=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,_=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,x=a,k=o,w=s,j=c,S=u,E=l,A=f,F=p,I=h,O=d,P=m,T=g,C=v,z=b,R=y,B=_,D=0;D<20;D+=2)x^=(i=(C^=(i=(I^=(i=(S^=(i=x+C|0)<<7|i>>>25)+x|0)<<9|i>>>23)+S|0)<<13|i>>>19)+I|0)<<18|i>>>14,E^=(i=(k^=(i=(z^=(i=(O^=(i=E+k|0)<<7|i>>>25)+E|0)<<9|i>>>23)+O|0)<<13|i>>>19)+z|0)<<18|i>>>14,P^=(i=(A^=(i=(w^=(i=(R^=(i=P+A|0)<<7|i>>>25)+P|0)<<9|i>>>23)+R|0)<<13|i>>>19)+w|0)<<18|i>>>14,B^=(i=(T^=(i=(F^=(i=(j^=(i=B+T|0)<<7|i>>>25)+B|0)<<9|i>>>23)+j|0)<<13|i>>>19)+F|0)<<18|i>>>14,x^=(i=(j^=(i=(w^=(i=(k^=(i=x+j|0)<<7|i>>>25)+x|0)<<9|i>>>23)+k|0)<<13|i>>>19)+w|0)<<18|i>>>14,E^=(i=(S^=(i=(F^=(i=(A^=(i=E+S|0)<<7|i>>>25)+E|0)<<9|i>>>23)+A|0)<<13|i>>>19)+F|0)<<18|i>>>14,P^=(i=(O^=(i=(I^=(i=(T^=(i=P+O|0)<<7|i>>>25)+P|0)<<9|i>>>23)+T|0)<<13|i>>>19)+I|0)<<18|i>>>14,B^=(i=(R^=(i=(z^=(i=(C^=(i=B+R|0)<<7|i>>>25)+B|0)<<9|i>>>23)+C|0)<<13|i>>>19)+z|0)<<18|i>>>14;x=x+a|0,k=k+o|0,w=w+s|0,j=j+c|0,S=S+u|0,E=E+l|0,A=A+f|0,F=F+p|0,I=I+h|0,O=O+d|0,P=P+m|0,T=T+g|0,C=C+v|0,z=z+b|0,R=R+y|0,B=B+_|0,e[0]=x>>>0&255,e[1]=x>>>8&255,e[2]=x>>>16&255,e[3]=x>>>24&255,e[4]=k>>>0&255,e[5]=k>>>8&255,e[6]=k>>>16&255,e[7]=k>>>24&255,e[8]=w>>>0&255,e[9]=w>>>8&255,e[10]=w>>>16&255,e[11]=w>>>24&255,e[12]=j>>>0&255,e[13]=j>>>8&255,e[14]=j>>>16&255,e[15]=j>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=E>>>0&255,e[21]=E>>>8&255,e[22]=E>>>16&255,e[23]=E>>>24&255,e[24]=A>>>0&255,e[25]=A>>>8&255,e[26]=A>>>16&255,e[27]=A>>>24&255,e[28]=F>>>0&255,e[29]=F>>>8&255,e[30]=F>>>16&255,e[31]=F>>>24&255,e[32]=I>>>0&255,e[33]=I>>>8&255,e[34]=I>>>16&255,e[35]=I>>>24&255,e[36]=O>>>0&255,e[37]=O>>>8&255,e[38]=O>>>16&255,e[39]=O>>>24&255,e[40]=P>>>0&255,e[41]=P>>>8&255,e[42]=P>>>16&255,e[43]=P>>>24&255,e[44]=T>>>0&255,e[45]=T>>>8&255,e[46]=T>>>16&255,e[47]=T>>>24&255,e[48]=C>>>0&255,e[49]=C>>>8&255,e[50]=C>>>16&255,e[51]=C>>>24&255,e[52]=z>>>0&255,e[53]=z>>>8&255,e[54]=z>>>16&255,e[55]=z>>>24&255,e[56]=R>>>0&255,e[57]=R>>>8&255,e[58]=R>>>16&255,e[59]=R>>>24&255,e[60]=B>>>0&255,e[61]=B>>>8&255,e[62]=B>>>16&255,e[63]=B>>>24&255}function s(e,t,r,n){for(var i,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,c=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,u=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,l=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,f=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,p=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,d=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,m=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,g=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,v=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,b=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,y=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,_=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,x=0;x<20;x+=2)a^=(i=(v^=(i=(h^=(i=(u^=(i=a+v|0)<<7|i>>>25)+a|0)<<9|i>>>23)+u|0)<<13|i>>>19)+h|0)<<18|i>>>14,l^=(i=(o^=(i=(b^=(i=(d^=(i=l+o|0)<<7|i>>>25)+l|0)<<9|i>>>23)+d|0)<<13|i>>>19)+b|0)<<18|i>>>14,m^=(i=(f^=(i=(s^=(i=(y^=(i=m+f|0)<<7|i>>>25)+m|0)<<9|i>>>23)+y|0)<<13|i>>>19)+s|0)<<18|i>>>14,_^=(i=(g^=(i=(p^=(i=(c^=(i=_+g|0)<<7|i>>>25)+_|0)<<9|i>>>23)+c|0)<<13|i>>>19)+p|0)<<18|i>>>14,a^=(i=(c^=(i=(s^=(i=(o^=(i=a+c|0)<<7|i>>>25)+a|0)<<9|i>>>23)+o|0)<<13|i>>>19)+s|0)<<18|i>>>14,l^=(i=(u^=(i=(p^=(i=(f^=(i=l+u|0)<<7|i>>>25)+l|0)<<9|i>>>23)+f|0)<<13|i>>>19)+p|0)<<18|i>>>14,m^=(i=(d^=(i=(h^=(i=(g^=(i=m+d|0)<<7|i>>>25)+m|0)<<9|i>>>23)+g|0)<<13|i>>>19)+h|0)<<18|i>>>14,_^=(i=(y^=(i=(b^=(i=(v^=(i=_+y|0)<<7|i>>>25)+_|0)<<9|i>>>23)+v|0)<<13|i>>>19)+b|0)<<18|i>>>14;e[0]=a>>>0&255,e[1]=a>>>8&255,e[2]=a>>>16&255,e[3]=a>>>24&255,e[4]=l>>>0&255,e[5]=l>>>8&255,e[6]=l>>>16&255,e[7]=l>>>24&255,e[8]=m>>>0&255,e[9]=m>>>8&255,e[10]=m>>>16&255,e[11]=m>>>24&255,e[12]=_>>>0&255,e[13]=_>>>8&255,e[14]=_>>>16&255,e[15]=_>>>24&255,e[16]=f>>>0&255,e[17]=f>>>8&255,e[18]=f>>>16&255,e[19]=f>>>24&255,e[20]=p>>>0&255,e[21]=p>>>8&255,e[22]=p>>>16&255,e[23]=p>>>24&255,e[24]=h>>>0&255,e[25]=h>>>8&255,e[26]=h>>>16&255,e[27]=h>>>24&255,e[28]=d>>>0&255,e[29]=d>>>8&255,e[30]=d>>>16&255,e[31]=d>>>24&255}function c(e,t,r,n){o(e,t,r,n)}function u(e,t,r,n){s(e,t,r,n)}function l(e,t,r,n,i,a,o){var s,u,l=new Uint8Array(16),f=new Uint8Array(64);for(u=0;u<16;u++)l[u]=0;for(u=0;u<8;u++)l[u]=a[u];for(;i>=64;){for(c(f,l,o,le),u=0;u<64;u++)e[t+u]=r[n+u]^f[u];for(s=1,u=8;u<16;u++)s=s+(255&l[u])|0,l[u]=255&s,s>>>=8;i-=64,t+=64,n+=64}if(i>0)for(c(f,l,o,le),u=0;u<i;u++)e[t+u]=r[n+u]^f[u];return 0}function f(e,t,r,n,i){var a,o,s=new Uint8Array(16),u=new Uint8Array(64);for(o=0;o<16;o++)s[o]=0;for(o=0;o<8;o++)s[o]=n[o];for(;r>=64;){for(c(u,s,i,le),o=0;o<64;o++)e[t+o]=u[o];for(a=1,o=8;o<16;o++)a=a+(255&s[o])|0,s[o]=255&a,a>>>=8;r-=64,t+=64}if(r>0)for(c(u,s,i,le),o=0;o<r;o++)e[t+o]=u[o];return 0}function p(e,t,r,n,i){var a=new Uint8Array(32);u(a,n,i,le);for(var o=new Uint8Array(8),s=0;s<8;s++)o[s]=n[s+16];return f(e,t,r,o,a)}function h(e,t,r,n,i,a,o){var s=new Uint8Array(32);u(s,a,o,le);for(var c=new Uint8Array(8),f=0;f<8;f++)c[f]=a[f+16];return l(e,t,r,n,i,c,s)}function d(e,t,r,n,i,a){var o=new fe(a);return o.update(r,n,i),o.finish(e,t),0}function m(e,t,r,n,a,o){var s=new Uint8Array(16);return d(s,0,r,n,a,o),i(e,t,s,0)}function g(e,t,r,n,i){var a;if(r<32)return-1;for(h(e,0,t,0,r,n,i),d(e,16,e,32,r-32,e),a=0;a<16;a++)e[a]=0;return 0}function v(e,t,r,n,i){var a,o=new Uint8Array(32);if(r<32)return-1;if(p(o,0,32,n,i),0!==m(t,16,t,32,r-32,o))return-1;for(h(e,0,t,0,r,n,i),a=0;a<32;a++)e[a]=0;return 0}function b(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function y(e){var t,r,n=1;for(t=0;t<16;t++)r=e[t]+n+65535,n=Math.floor(r/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function _(e,t,r){for(var n,i=~(r-1),a=0;a<16;a++)n=i&(e[a]^t[a]),e[a]^=n,t[a]^=n}function x(e,t){var r,n,i,a=X(),o=X();for(r=0;r<16;r++)o[r]=t[r];for(y(o),y(o),y(o),n=0;n<2;n++){for(a[0]=o[0]-65517,r=1;r<15;r++)a[r]=o[r]-65535-(a[r-1]>>16&1),a[r-1]&=65535;a[15]=o[15]-32767-(a[14]>>16&1),i=a[15]>>16&1,a[14]&=65535,_(o,a,1-i)}for(r=0;r<16;r++)e[2*r]=255&o[r],e[2*r+1]=o[r]>>8}function k(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return x(r,e),x(n,t),a(r,0,n,0)}function w(e){var t=new Uint8Array(32);return x(t,e),1&t[0]}function j(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function S(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function E(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function A(e,t,r){var n,i,a=0,o=0,s=0,c=0,u=0,l=0,f=0,p=0,h=0,d=0,m=0,g=0,v=0,b=0,y=0,_=0,x=0,k=0,w=0,j=0,S=0,E=0,A=0,F=0,I=0,O=0,P=0,T=0,C=0,z=0,R=0,B=r[0],D=r[1],q=r[2],M=r[3],L=r[4],N=r[5],U=r[6],$=r[7],H=r[8],V=r[9],K=r[10],Q=r[11],G=r[12],Z=r[13],J=r[14],W=r[15];a+=(n=t[0])*B,o+=n*D,s+=n*q,c+=n*M,u+=n*L,l+=n*N,f+=n*U,p+=n*$,h+=n*H,d+=n*V,m+=n*K,g+=n*Q,v+=n*G,b+=n*Z,y+=n*J,_+=n*W,o+=(n=t[1])*B,s+=n*D,c+=n*q,u+=n*M,l+=n*L,f+=n*N,p+=n*U,h+=n*$,d+=n*H,m+=n*V,g+=n*K,v+=n*Q,b+=n*G,y+=n*Z,_+=n*J,x+=n*W,s+=(n=t[2])*B,c+=n*D,u+=n*q,l+=n*M,f+=n*L,p+=n*N,h+=n*U,d+=n*$,m+=n*H,g+=n*V,v+=n*K,b+=n*Q,y+=n*G,_+=n*Z,x+=n*J,k+=n*W,c+=(n=t[3])*B,u+=n*D,l+=n*q,f+=n*M,p+=n*L,h+=n*N,d+=n*U,m+=n*$,g+=n*H,v+=n*V,b+=n*K,y+=n*Q,_+=n*G,x+=n*Z,k+=n*J,w+=n*W,u+=(n=t[4])*B,l+=n*D,f+=n*q,p+=n*M,h+=n*L,d+=n*N,m+=n*U,g+=n*$,v+=n*H,b+=n*V,y+=n*K,_+=n*Q,x+=n*G,k+=n*Z,w+=n*J,j+=n*W,l+=(n=t[5])*B,f+=n*D,p+=n*q,h+=n*M,d+=n*L,m+=n*N,g+=n*U,v+=n*$,b+=n*H,y+=n*V,_+=n*K,x+=n*Q,k+=n*G,w+=n*Z,j+=n*J,S+=n*W,f+=(n=t[6])*B,p+=n*D,h+=n*q,d+=n*M,m+=n*L,g+=n*N,v+=n*U,b+=n*$,y+=n*H,_+=n*V,x+=n*K,k+=n*Q,w+=n*G,j+=n*Z,S+=n*J,E+=n*W,p+=(n=t[7])*B,h+=n*D,d+=n*q,m+=n*M,g+=n*L,v+=n*N,b+=n*U,y+=n*$,_+=n*H,x+=n*V,k+=n*K,w+=n*Q,j+=n*G,S+=n*Z,E+=n*J,A+=n*W,h+=(n=t[8])*B,d+=n*D,m+=n*q,g+=n*M,v+=n*L,b+=n*N,y+=n*U,_+=n*$,x+=n*H,k+=n*V,w+=n*K,j+=n*Q,S+=n*G,E+=n*Z,A+=n*J,F+=n*W,d+=(n=t[9])*B,m+=n*D,g+=n*q,v+=n*M,b+=n*L,y+=n*N,_+=n*U,x+=n*$,k+=n*H,w+=n*V,j+=n*K,S+=n*Q,E+=n*G,A+=n*Z,F+=n*J,I+=n*W,m+=(n=t[10])*B,g+=n*D,v+=n*q,b+=n*M,y+=n*L,_+=n*N,x+=n*U,k+=n*$,w+=n*H,j+=n*V,S+=n*K,E+=n*Q,A+=n*G,F+=n*Z,I+=n*J,O+=n*W,g+=(n=t[11])*B,v+=n*D,b+=n*q,y+=n*M,_+=n*L,x+=n*N,k+=n*U,w+=n*$,j+=n*H,S+=n*V,E+=n*K,A+=n*Q,F+=n*G,I+=n*Z,O+=n*J,P+=n*W,v+=(n=t[12])*B,b+=n*D,y+=n*q,_+=n*M,x+=n*L,k+=n*N,w+=n*U,j+=n*$,S+=n*H,E+=n*V,A+=n*K,F+=n*Q,I+=n*G,O+=n*Z,P+=n*J,T+=n*W,b+=(n=t[13])*B,y+=n*D,_+=n*q,x+=n*M,k+=n*L,w+=n*N,j+=n*U,S+=n*$,E+=n*H,A+=n*V,F+=n*K,I+=n*Q,O+=n*G,P+=n*Z,T+=n*J,C+=n*W,y+=(n=t[14])*B,_+=n*D,x+=n*q,k+=n*M,w+=n*L,j+=n*N,S+=n*U,E+=n*$,A+=n*H,F+=n*V,I+=n*K,O+=n*Q,P+=n*G,T+=n*Z,C+=n*J,z+=n*W,_+=(n=t[15])*B,o+=38*(k+=n*q),s+=38*(w+=n*M),c+=38*(j+=n*L),u+=38*(S+=n*N),l+=38*(E+=n*U),f+=38*(A+=n*$),p+=38*(F+=n*H),h+=38*(I+=n*V),d+=38*(O+=n*K),m+=38*(P+=n*Q),g+=38*(T+=n*G),v+=38*(C+=n*Z),b+=38*(z+=n*J),y+=38*(R+=n*W),a=(n=(a+=38*(x+=n*D))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=s+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),a=(n=(a+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(n/65536)),o=(n=o+i+65535)-65536*(i=Math.floor(n/65536)),s=(n=s+i+65535)-65536*(i=Math.floor(n/65536)),c=(n=c+i+65535)-65536*(i=Math.floor(n/65536)),u=(n=u+i+65535)-65536*(i=Math.floor(n/65536)),l=(n=l+i+65535)-65536*(i=Math.floor(n/65536)),f=(n=f+i+65535)-65536*(i=Math.floor(n/65536)),p=(n=p+i+65535)-65536*(i=Math.floor(n/65536)),h=(n=h+i+65535)-65536*(i=Math.floor(n/65536)),d=(n=d+i+65535)-65536*(i=Math.floor(n/65536)),m=(n=m+i+65535)-65536*(i=Math.floor(n/65536)),g=(n=g+i+65535)-65536*(i=Math.floor(n/65536)),v=(n=v+i+65535)-65536*(i=Math.floor(n/65536)),b=(n=b+i+65535)-65536*(i=Math.floor(n/65536)),y=(n=y+i+65535)-65536*(i=Math.floor(n/65536)),_=(n=_+i+65535)-65536*(i=Math.floor(n/65536)),a+=i-1+37*(i-1),e[0]=a,e[1]=o,e[2]=s,e[3]=c,e[4]=u,e[5]=l,e[6]=f,e[7]=p,e[8]=h,e[9]=d,e[10]=m,e[11]=g,e[12]=v,e[13]=b,e[14]=y,e[15]=_}function F(e,t){A(e,t,t)}function I(e,t){var r,n=X();for(r=0;r<16;r++)n[r]=t[r];for(r=253;r>=0;r--)F(n,n),2!==r&&4!==r&&A(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}function O(e,t){var r,n=X();for(r=0;r<16;r++)n[r]=t[r];for(r=250;r>=0;r--)F(n,n),1!==r&&A(n,n,t);for(r=0;r<16;r++)e[r]=n[r]}function P(e,t,r){var n,i,a=new Uint8Array(32),o=new Float64Array(80),s=X(),c=X(),u=X(),l=X(),f=X(),p=X();for(i=0;i<31;i++)a[i]=t[i];for(a[31]=127&t[31]|64,a[0]&=248,j(o,r),i=0;i<16;i++)c[i]=o[i],l[i]=s[i]=u[i]=0;for(s[0]=l[0]=1,i=254;i>=0;--i)_(s,c,n=a[i>>>3]>>>(7&i)&1),_(u,l,n),S(f,s,u),E(s,s,u),S(u,c,l),E(c,c,l),F(l,f),F(p,s),A(s,u,s),A(u,c,f),S(f,s,u),E(s,s,u),F(c,s),E(u,l,p),A(s,u,ie),S(s,s,l),A(u,u,s),A(s,l,p),A(l,c,o),F(c,f),_(s,c,n),_(u,l,n);for(i=0;i<16;i++)o[i+16]=s[i],o[i+32]=u[i],o[i+48]=c[i],o[i+64]=l[i];var h=o.subarray(32),d=o.subarray(16);return I(h,h),A(d,d,h),x(e,d),0}function T(e,t){return P(e,t,te)}function C(e,t){return Y(t,32),T(e,t)}function z(e,t,r){var n=new Uint8Array(32);return P(n,r,t),u(e,ee,n,le)}function R(e,t,r,n){for(var i,a,o,s,c,u,l,f,p,h,d,m,g,v,b,y,_,x,k,w,j,S,E,A,F,I,O=new Int32Array(16),P=new Int32Array(16),T=e[0],C=e[1],z=e[2],R=e[3],B=e[4],D=e[5],q=e[6],M=e[7],L=t[0],N=t[1],U=t[2],$=t[3],H=t[4],V=t[5],K=t[6],Q=t[7],G=0;n>=128;){for(k=0;k<16;k++)w=8*k+G,O[k]=r[w+0]<<24|r[w+1]<<16|r[w+2]<<8|r[w+3],P[k]=r[w+4]<<24|r[w+5]<<16|r[w+6]<<8|r[w+7];for(k=0;k<80;k++)if(i=T,a=C,o=z,s=R,c=B,u=D,l=q,f=M,p=L,h=N,d=U,m=$,g=H,v=V,b=K,y=Q,j=M,S=Q,E=65535&S,A=S>>>16,F=65535&j,I=j>>>16,j=(B>>>14|H<<18)^(B>>>18|H<<14)^(H>>>9|B<<23),S=(H>>>14|B<<18)^(H>>>18|B<<14)^(B>>>9|H<<23),E+=65535&S,A+=S>>>16,F+=65535&j,I+=j>>>16,j=B&D^~B&q,S=H&V^~H&K,E+=65535&S,A+=S>>>16,F+=65535&j,I+=j>>>16,j=de[2*k],S=de[2*k+1],E+=65535&S,A+=S>>>16,F+=65535&j,I+=j>>>16,j=O[k%16],S=P[k%16],E+=65535&S,A+=S>>>16,F+=65535&j,I+=j>>>16,A+=E>>>16,F+=A>>>16,I+=F>>>16,_=65535&F|I<<16,x=65535&E|A<<16,j=_,S=x,E=65535&S,A=S>>>16,F=65535&j,I=j>>>16,j=(T>>>28|L<<4)^(L>>>2|T<<30)^(L>>>7|T<<25),S=(L>>>28|T<<4)^(T>>>2|L<<30)^(T>>>7|L<<25),E+=65535&S,A+=S>>>16,F+=65535&j,I+=j>>>16,j=T&C^T&z^C&z,S=L&N^L&U^N&U,E+=65535&S,A+=S>>>16,F+=65535&j,I+=j>>>16,A+=E>>>16,F+=A>>>16,I+=F>>>16,f=65535&F|I<<16,y=65535&E|A<<16,j=s,S=m,E=65535&S,A=S>>>16,F=65535&j,I=j>>>16,j=_,S=x,E+=65535&S,A+=S>>>16,F+=65535&j,I+=j>>>16,A+=E>>>16,F+=A>>>16,I+=F>>>16,s=65535&F|I<<16,m=65535&E|A<<16,C=i,z=a,R=o,B=s,D=c,q=u,M=l,T=f,N=p,U=h,$=d,H=m,V=g,K=v,Q=b,L=y,k%16==15)for(w=0;w<16;w++)j=O[w],E=65535&(S=P[w]),A=S>>>16,F=65535&j,I=j>>>16,j=O[(w+9)%16],E+=65535&(S=P[(w+9)%16]),A+=S>>>16,F+=65535&j,I+=j>>>16,_=O[(w+1)%16],E+=65535&(S=((x=P[(w+1)%16])>>>1|_<<31)^(x>>>8|_<<24)^(x>>>7|_<<25)),A+=S>>>16,F+=65535&(j=(_>>>1|x<<31)^(_>>>8|x<<24)^_>>>7),I+=j>>>16,_=O[(w+14)%16],A+=(S=((x=P[(w+14)%16])>>>19|_<<13)^(_>>>29|x<<3)^(x>>>6|_<<26))>>>16,F+=65535&(j=(_>>>19|x<<13)^(x>>>29|_<<3)^_>>>6),I+=j>>>16,I+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,O[w]=65535&F|I<<16,P[w]=65535&E|A<<16;E=65535&(S=L),A=S>>>16,F=65535&(j=T),I=j>>>16,j=e[0],A+=(S=t[0])>>>16,F+=65535&j,I+=j>>>16,I+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[0]=T=65535&F|I<<16,t[0]=L=65535&E|A<<16,E=65535&(S=N),A=S>>>16,F=65535&(j=C),I=j>>>16,j=e[1],A+=(S=t[1])>>>16,F+=65535&j,I+=j>>>16,I+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[1]=C=65535&F|I<<16,t[1]=N=65535&E|A<<16,E=65535&(S=U),A=S>>>16,F=65535&(j=z),I=j>>>16,j=e[2],A+=(S=t[2])>>>16,F+=65535&j,I+=j>>>16,I+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[2]=z=65535&F|I<<16,t[2]=U=65535&E|A<<16,E=65535&(S=$),A=S>>>16,F=65535&(j=R),I=j>>>16,j=e[3],A+=(S=t[3])>>>16,F+=65535&j,I+=j>>>16,I+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[3]=R=65535&F|I<<16,t[3]=$=65535&E|A<<16,E=65535&(S=H),A=S>>>16,F=65535&(j=B),I=j>>>16,j=e[4],A+=(S=t[4])>>>16,F+=65535&j,I+=j>>>16,I+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[4]=B=65535&F|I<<16,t[4]=H=65535&E|A<<16,E=65535&(S=V),A=S>>>16,F=65535&(j=D),I=j>>>16,j=e[5],A+=(S=t[5])>>>16,F+=65535&j,I+=j>>>16,I+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[5]=D=65535&F|I<<16,t[5]=V=65535&E|A<<16,E=65535&(S=K),A=S>>>16,F=65535&(j=q),I=j>>>16,j=e[6],A+=(S=t[6])>>>16,F+=65535&j,I+=j>>>16,I+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[6]=q=65535&F|I<<16,t[6]=K=65535&E|A<<16,E=65535&(S=Q),A=S>>>16,F=65535&(j=M),I=j>>>16,j=e[7],A+=(S=t[7])>>>16,F+=65535&j,I+=j>>>16,I+=(F+=(A+=(E+=65535&S)>>>16)>>>16)>>>16,e[7]=M=65535&F|I<<16,t[7]=Q=65535&E|A<<16,G+=128,n-=128}return n}function B(e,t,n){var i,a=new Int32Array(8),o=new Int32Array(8),s=new Uint8Array(256),c=n;for(a[0]=1779033703,a[1]=3144134277,a[2]=1013904242,a[3]=2773480762,a[4]=1359893119,a[5]=2600822924,a[6]=528734635,a[7]=1541459225,o[0]=4089235720,o[1]=2227873595,o[2]=4271175723,o[3]=1595750129,o[4]=2917565137,o[5]=725511199,o[6]=4215389547,o[7]=327033209,R(a,o,t,n),n%=128,i=0;i<n;i++)s[i]=t[c-n+i];for(s[n]=128,s[(n=256-128*(n<112?1:0))-9]=0,r(s,n-8,c/536870912|0,c<<3),R(a,o,s,n),i=0;i<8;i++)r(e,8*i,a[i],o[i]);return 0}function D(e,t){var r=X(),n=X(),i=X(),a=X(),o=X(),s=X(),c=X(),u=X(),l=X();E(r,e[1],e[0]),E(l,t[1],t[0]),A(r,r,l),S(n,e[0],e[1]),S(l,t[0],t[1]),A(n,n,l),A(i,e[3],t[3]),A(i,i,oe),A(a,e[2],t[2]),S(a,a,a),E(o,n,r),E(s,a,i),S(c,a,i),S(u,n,r),A(e[0],o,s),A(e[1],u,c),A(e[2],c,s),A(e[3],o,u)}function q(e,t,r){var n;for(n=0;n<4;n++)_(e[n],t[n],r)}function M(e,t){var r=X(),n=X(),i=X();I(i,t[2]),A(r,t[0],i),A(n,t[1],i),x(e,n),e[31]^=w(r)<<7}function L(e,t,r){var n,i;for(b(e[0],re),b(e[1],ne),b(e[2],ne),b(e[3],re),i=255;i>=0;--i)q(e,t,n=r[i/8|0]>>(7&i)&1),D(t,e),D(e,e),q(e,t,n)}function N(e,t){var r=[X(),X(),X(),X()];b(r[0],se),b(r[1],ce),b(r[2],ne),A(r[3],se,ce),L(e,r,t)}function U(e,t,r){var n,i=new Uint8Array(64),a=[X(),X(),X(),X()];for(r||Y(t,32),B(i,t,32),i[0]&=248,i[31]&=127,i[31]|=64,N(a,i),M(e,a),n=0;n<32;n++)t[n+32]=e[n];return 0}function $(e,t){var r,n,i,a;for(n=63;n>=32;--n){for(r=0,i=n-32,a=n-12;i<a;++i)t[i]+=r-16*t[n]*me[i-(n-32)],r=t[i]+128>>8,t[i]-=256*r;t[i]+=r,t[n]=0}for(r=0,i=0;i<32;i++)t[i]+=r-(t[31]>>4)*me[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*me[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function H(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;$(e,r)}function V(e,t,r,n){var i,a,o=new Uint8Array(64),s=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),l=[X(),X(),X(),X()];B(o,n,32),o[0]&=248,o[31]&=127,o[31]|=64;var f=r+64;for(i=0;i<r;i++)e[64+i]=t[i];for(i=0;i<32;i++)e[32+i]=o[32+i];for(B(c,e.subarray(32),r+32),H(c),N(l,c),M(e,l),i=32;i<64;i++)e[i]=n[i];for(B(s,e,r+64),H(s),i=0;i<64;i++)u[i]=0;for(i=0;i<32;i++)u[i]=c[i];for(i=0;i<32;i++)for(a=0;a<32;a++)u[i+a]+=s[i]*o[a];return $(e.subarray(32),u),f}function K(e,t){var r=X(),n=X(),i=X(),a=X(),o=X(),s=X(),c=X();return b(e[2],ne),j(e[1],t),F(i,e[1]),A(a,i,ae),E(i,i,e[2]),S(a,e[2],a),F(o,a),F(s,o),A(c,s,o),A(r,c,i),A(r,r,a),O(r,r),A(r,r,i),A(r,r,a),A(r,r,a),A(e[0],r,a),F(n,e[0]),A(n,n,a),k(n,i)&&A(e[0],e[0],ue),F(n,e[0]),A(n,n,a),k(n,i)?-1:(w(e[0])===t[31]>>7&&E(e[0],re,e[0]),A(e[3],e[0],e[1]),0)}function Q(e,t,r,n){var i,o=new Uint8Array(32),s=new Uint8Array(64),c=[X(),X(),X(),X()],u=[X(),X(),X(),X()];if(-1,r<64)return-1;if(K(u,n))return-1;for(i=0;i<r;i++)e[i]=t[i];for(i=0;i<32;i++)e[i+32]=n[i];if(B(s,e,r),H(s),L(c,u,s),N(u,t.subarray(32)),D(c,u),M(o,c),r-=64,a(t,0,o,0)){for(i=0;i<r;i++)e[i]=0;return-1}for(i=0;i<r;i++)e[i]=t[i+64];return r}function G(e,t){if(e.length!==ge)throw new Error("bad key size");if(t.length!==ve)throw new Error("bad nonce size")}function Z(e,t){if(e.length!==be)throw new Error("bad public key size");if(t.length!==ye)throw new Error("bad secret key size")}function J(){var e,t;for(t=0;t<arguments.length;t++)if("[object Uint8Array]"!==(e=Object.prototype.toString.call(arguments[t])))throw new TypeError("unexpected type "+e+", use Uint8Array")}function W(e){for(var t=0;t<e.length;t++)e[t]=0}var X=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},Y=function(){throw new Error("no PRNG")},ee=new Uint8Array(16),te=new Uint8Array(32);te[0]=9;var re=X(),ne=X([1]),ie=X([56129,1]),ae=X([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),oe=X([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),se=X([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),ce=X([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),ue=X([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]),le=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]),fe=function(e){this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0;var t,r,n,i,a,o,s,c;t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,r=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|r<<3),n=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(r>>>10|n<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(n>>>7|i<<9),a=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|a<<12),this.r[5]=a>>>1&8190,o=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(a>>>14|o<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(o>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};fe.prototype.blocks=function(e,t,r){for(var n,i,a,o,s,c,u,l,f,p,h,d,m,g,v,b,y,_,x,k=this.fin?0:2048,w=this.h[0],j=this.h[1],S=this.h[2],E=this.h[3],A=this.h[4],F=this.h[5],I=this.h[6],O=this.h[7],P=this.h[8],T=this.h[9],C=this.r[0],z=this.r[1],R=this.r[2],B=this.r[3],D=this.r[4],q=this.r[5],M=this.r[6],L=this.r[7],N=this.r[8],U=this.r[9];r>=16;)p=f=0,p+=(w+=8191&(n=255&e[t+0]|(255&e[t+1])<<8))*C,p+=(j+=8191&(n>>>13|(i=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*U),p+=(S+=8191&(i>>>10|(a=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*N),p+=(E+=8191&(a>>>7|(o=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*L),f=(p+=(A+=8191&(o>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*M))>>>13,p&=8191,p+=(F+=s>>>1&8191)*(5*q),p+=(I+=8191&(s>>>14|(c=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*D),p+=(O+=8191&(c>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*B),p+=(P+=8191&(u>>>8|(l=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*R),h=f+=(p+=(T+=l>>>5|k)*(5*z))>>>13,h+=w*z,h+=j*C,h+=S*(5*U),h+=E*(5*N),f=(h+=A*(5*L))>>>13,h&=8191,h+=F*(5*M),h+=I*(5*q),h+=O*(5*D),h+=P*(5*B),f+=(h+=T*(5*R))>>>13,h&=8191,d=f,d+=w*R,d+=j*z,d+=S*C,d+=E*(5*U),f=(d+=A*(5*N))>>>13,d&=8191,d+=F*(5*L),d+=I*(5*M),d+=O*(5*q),d+=P*(5*D),m=f+=(d+=T*(5*B))>>>13,m+=w*B,m+=j*R,m+=S*z,m+=E*C,f=(m+=A*(5*U))>>>13,m&=8191,m+=F*(5*N),m+=I*(5*L),m+=O*(5*M),m+=P*(5*q),g=f+=(m+=T*(5*D))>>>13,g+=w*D,g+=j*B,g+=S*R,g+=E*z,f=(g+=A*C)>>>13,g&=8191,g+=F*(5*U),g+=I*(5*N),g+=O*(5*L),g+=P*(5*M),v=f+=(g+=T*(5*q))>>>13,v+=w*q,v+=j*D,v+=S*B,v+=E*R,f=(v+=A*z)>>>13,v&=8191,v+=F*C,v+=I*(5*U),v+=O*(5*N),v+=P*(5*L),b=f+=(v+=T*(5*M))>>>13,b+=w*M,b+=j*q,b+=S*D,b+=E*B,f=(b+=A*R)>>>13,b&=8191,b+=F*z,b+=I*C,b+=O*(5*U),b+=P*(5*N),y=f+=(b+=T*(5*L))>>>13,y+=w*L,y+=j*M,y+=S*q,y+=E*D,f=(y+=A*B)>>>13,y&=8191,y+=F*R,y+=I*z,y+=O*C,y+=P*(5*U),_=f+=(y+=T*(5*N))>>>13,_+=w*N,_+=j*L,_+=S*M,_+=E*q,f=(_+=A*D)>>>13,_&=8191,_+=F*B,_+=I*R,_+=O*z,_+=P*C,x=f+=(_+=T*(5*U))>>>13,x+=w*U,x+=j*N,x+=S*L,x+=E*M,f=(x+=A*q)>>>13,x&=8191,x+=F*D,x+=I*B,x+=O*R,x+=P*z,w=p=8191&(f=(f=((f+=(x+=T*C)>>>13)<<2)+f|0)+(p&=8191)|0),j=h+=f>>>=13,S=d&=8191,E=m&=8191,A=g&=8191,F=v&=8191,I=b&=8191,O=y&=8191,P=_&=8191,T=x&=8191,t+=16,r-=16;this.h[0]=w,this.h[1]=j,this.h[2]=S,this.h[3]=E,this.h[4]=A,this.h[5]=F,this.h[6]=I,this.h[7]=O,this.h[8]=P,this.h[9]=T},fe.prototype.finish=function(e,t){var r,n,i,a,o=new Uint16Array(10);if(this.leftover){for(a=this.leftover,this.buffer[a++]=1;a<16;a++)this.buffer[a]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,a=2;a<10;a++)this.h[a]+=r,r=this.h[a]>>>13,this.h[a]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,o[0]=this.h[0]+5,r=o[0]>>>13,o[0]&=8191,a=1;a<10;a++)o[a]=this.h[a]+r,r=o[a]>>>13,o[a]&=8191;for(o[9]-=8192,n=(1^r)-1,a=0;a<10;a++)o[a]&=n;for(n=~n,a=0;a<10;a++)this.h[a]=this.h[a]&n|o[a];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,a=1;a<8;a++)i=(this.h[a]+this.pad[a]|0)+(i>>>16)|0,this.h[a]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},fe.prototype.update=function(e,t,r){var n,i;if(this.leftover){for((i=16-this.leftover)>r&&(i=r),n=0;n<i;n++)this.buffer[this.leftover+n]=e[t+n];if(r-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(r>=16&&(i=r-r%16,this.blocks(e,t,i),t+=i,r-=i),r){for(n=0;n<r;n++)this.buffer[this.leftover+n]=e[t+n];this.leftover+=r}};var pe=g,he=v,de=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],me=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),ge=32,ve=24,be=32,ye=32,_e=ve;t.lowlevel={crypto_core_hsalsa20:u,crypto_stream_xor:h,crypto_stream:p,crypto_stream_salsa20_xor:l,crypto_stream_salsa20:f,crypto_onetimeauth:d,crypto_onetimeauth_verify:m,crypto_verify_16:i,crypto_verify_32:a,crypto_secretbox:g,crypto_secretbox_open:v,crypto_scalarmult:P,crypto_scalarmult_base:T,crypto_box_beforenm:z,crypto_box_afternm:pe,crypto_box:function(e,t,r,n,i,a){var o=new Uint8Array(32);return z(o,i,a),pe(e,t,r,n,o)},crypto_box_open:function(e,t,r,n,i,a){var o=new Uint8Array(32);return z(o,i,a),he(e,t,r,n,o)},crypto_box_keypair:C,crypto_hash:B,crypto_sign:V,crypto_sign_keypair:U,crypto_sign_open:Q,crypto_secretbox_KEYBYTES:ge,crypto_secretbox_NONCEBYTES:ve,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:16,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:be,crypto_box_SECRETKEYBYTES:ye,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:_e,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:64,crypto_sign_PUBLICKEYBYTES:32,crypto_sign_SECRETKEYBYTES:64,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64},t.util||(t.util={},t.util.decodeUTF8=t.util.encodeUTF8=t.util.encodeBase64=t.util.decodeBase64=function(){throw new Error("nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js")}),t.randomBytes=function(e){var t=new Uint8Array(e);return Y(t,e),t},t.secretbox=function(e,t,r){J(e,t,r),G(r,t);for(var n=new Uint8Array(32+e.length),i=new Uint8Array(n.length),a=0;a<e.length;a++)n[a+32]=e[a];return g(i,n,n.length,t,r),i.subarray(16)},t.secretbox.open=function(e,t,r){J(e,t,r),G(r,t);for(var n=new Uint8Array(16+e.length),i=new Uint8Array(n.length),a=0;a<e.length;a++)n[a+16]=e[a];return!(n.length<32)&&(0===v(i,n,n.length,t,r)&&i.subarray(32))},t.secretbox.keyLength=ge,t.secretbox.nonceLength=ve,t.secretbox.overheadLength=16,t.scalarMult=function(e,t){if(J(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var r=new Uint8Array(32);return P(r,e,t),r},t.scalarMult.base=function(e){if(J(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return T(t,e),t},t.scalarMult.scalarLength=32,t.scalarMult.groupElementLength=32,t.box=function(e,r,n,i){var a=t.box.before(n,i);return t.secretbox(e,r,a)},t.box.before=function(e,t){J(e,t),Z(e,t);var r=new Uint8Array(32);return z(r,e,t),r},t.box.after=t.secretbox,t.box.open=function(e,r,n,i){var a=t.box.before(n,i);return t.secretbox.open(e,r,a)},t.box.open.after=t.secretbox.open,t.box.keyPair=function(){var e=new Uint8Array(be),t=new Uint8Array(ye);return C(e,t),{publicKey:e,secretKey:t}},t.box.keyPair.fromSecretKey=function(e){if(J(e),e.length!==ye)throw new Error("bad secret key size");var t=new Uint8Array(be);return T(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},t.box.publicKeyLength=be,t.box.secretKeyLength=ye,t.box.sharedKeyLength=32,t.box.nonceLength=_e,t.box.overheadLength=t.secretbox.overheadLength,t.sign=function(e,t){if(J(e,t),64!==t.length)throw new Error("bad secret key size");var r=new Uint8Array(64+e.length);return V(r,e,e.length,t),r},t.sign.open=function(e,t){if(2!==arguments.length)throw new Error("nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?");if(J(e,t),32!==t.length)throw new Error("bad public key size");var r=new Uint8Array(e.length),n=Q(r,e,e.length,t);if(n<0)return null;for(var i=new Uint8Array(n),a=0;a<i.length;a++)i[a]=r[a];return i},t.sign.detached=function(e,r){for(var n=t.sign(e,r),i=new Uint8Array(64),a=0;a<i.length;a++)i[a]=n[a];return i},t.sign.detached.verify=function(e,t,r){if(J(e,t,r),64!==t.length)throw new Error("bad signature size");if(32!==r.length)throw new Error("bad public key size");var n,i=new Uint8Array(64+e.length),a=new Uint8Array(64+e.length);for(n=0;n<64;n++)i[n]=t[n];for(n=0;n<e.length;n++)i[n+64]=e[n];return Q(a,i,i.length,r)>=0},t.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return U(e,t),{publicKey:e,secretKey:t}},t.sign.keyPair.fromSecretKey=function(e){if(J(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r<t.length;r++)t[r]=e[32+r];return{publicKey:t,secretKey:new Uint8Array(e)}},t.sign.keyPair.fromSeed=function(e){if(J(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(32),r=new Uint8Array(64),n=0;n<32;n++)r[n]=e[n];return U(t,r,!0),{publicKey:t,secretKey:r}},t.sign.publicKeyLength=32,t.sign.secretKeyLength=64,t.sign.seedLength=32,t.sign.signatureLength=64,t.hash=function(e){J(e);var t=new Uint8Array(64);return B(t,e,e.length),t},t.hash.hashLength=64,t.verify=function(e,t){return J(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===n(e,0,t,0,e.length))},t.setPRNG=function(e){Y=e},function(){var r="undefined"!=typeof self?self.crypto||self.msCrypto:null;if(r&&r.getRandomValues){t.setPRNG(function(e,t){var n,i=new Uint8Array(t);for(n=0;n<t;n+=65536)r.getRandomValues(i.subarray(n,n+Math.min(t-n,65536)));for(n=0;n<t;n++)e[n]=i[n];W(i)})}else void 0!==e&&(r=e("crypto"))&&r.randomBytes&&t.setPRNG(function(e,t){var n,i=r.randomBytes(t);for(n=0;n<t;n++)e[n]=i[n];W(i)})}()}(void 0!==t&&t.exports?t.exports:self.nacl=self.nacl||{})},{crypto:122}],453:[function(e,t,r){"use strict";function n(){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}function i(e,t,r){if(e&&o.isObject(e)&&e instanceof n)return e;var i=new n;return i.parse(e,t,r),i}var a=e("punycode"),o=e("./util");r.parse=i,r.resolve=function(e,t){return i(e,!1,!0).resolve(t)},r.resolveObject=function(e,t){return e?i(e,!1,!0).resolveObject(t):t},r.format=function(e){return o.isString(e)&&(e=i(e)),e instanceof n?e.format():n.prototype.format.call(e)},r.Url=n;var s=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],f=["{","}","|","\\","^","`"].concat(l),p=["'"].concat(f),h=["%","/","?",";","#"].concat(p),d=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,g=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},_=e("querystring");n.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),i=-1!==n&&n<e.indexOf("#")?"?":"#",c=e.split(i),l=/\\/g;c[0]=c[0].replace(l,"/");var f=e=c.join(i);if(f=f.trim(),!r&&1===e.split("#").length){var x=u.exec(f);if(x)return this.path=f,this.href=f,this.pathname=x[1],x[2]?(this.search=x[2],this.query=t?_.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var k=s.exec(f);if(k){var w=(k=k[0]).toLowerCase();this.protocol=w,f=f.substr(k.length)}if(r||k||f.match(/^\/\/[^@\/]+@[^@\/]+/)){var j="//"===f.substr(0,2);!j||k&&b[k]||(f=f.substr(2),this.slashes=!0)}if(!b[k]&&(j||k&&!y[k])){for(var S=-1,E=0;E<d.length;E++)-1!==(I=f.indexOf(d[E]))&&(-1===S||I<S)&&(S=I);var A,F;-1!==(F=-1===S?f.lastIndexOf("@"):f.lastIndexOf("@",S))&&(A=f.slice(0,F),f=f.slice(F+1),this.auth=decodeURIComponent(A)),S=-1;for(E=0;E<h.length;E++){var I=f.indexOf(h[E]);-1!==I&&(-1===S||I<S)&&(S=I)}-1===S&&(S=f.length),this.host=f.slice(0,S),f=f.slice(S),this.parseHost(),this.hostname=this.hostname||"";var O="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!O)for(var P=this.hostname.split(/\./),E=0,T=P.length;E<T;E++){var C=P[E];if(C&&!C.match(m)){for(var z="",R=0,B=C.length;R<B;R++)C.charCodeAt(R)>127?z+="x":z+=C[R];if(!z.match(m)){var D=P.slice(0,E),q=P.slice(E+1),M=C.match(g);M&&(D.push(M[1]),q.unshift(M[2])),q.length&&(f="/"+q.join(".")+f),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=a.toASCII(this.hostname));var L=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+L,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==f[0]&&(f="/"+f))}if(!v[w])for(var E=0,T=p.length;E<T;E++){var U=p[E];if(-1!==f.indexOf(U)){var $=encodeURIComponent(U);$===U&&($=escape(U)),f=f.split(U).join($)}}var H=f.indexOf("#");-1!==H&&(this.hash=f.substr(H),f=f.slice(0,H));var V=f.indexOf("?");if(-1!==V?(this.search=f.substr(V),this.query=f.substr(V+1),t&&(this.query=_.parse(this.query)),f=f.slice(0,V)):t&&(this.search="",this.query={}),f&&(this.pathname=f),y[w]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var L=this.pathname||"",K=this.search||"";this.path=L+K}return this.href=this.format(),this},n.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=_.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),s=s.replace("#","%23"),t+i+r+s+n},n.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},n.prototype.resolveObject=function(e){if(o.isString(e)){var t=new n;t.parse(e,!1,!0),e=t}for(var r=new n,i=Object.keys(this),a=0;a<i.length;a++){var s=i[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),u=0;u<c.length;u++){var l=c[u];"protocol"!==l&&(r[l]=e[l])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!y[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||b[e.protocol])r.pathname=e.pathname;else{for(w=(e.pathname||"").split("/");w.length&&!(e.host=w.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==w[0]&&w.unshift(""),w.length<2&&w.unshift(""),r.pathname=w.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var d=r.pathname||"",m=r.search||"";r.path=d+m}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var g=r.pathname&&"/"===r.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),_=v||g||r.host&&e.pathname,x=_,k=r.pathname&&r.pathname.split("/")||[],w=e.pathname&&e.pathname.split("/")||[],j=r.protocol&&!y[r.protocol];if(j&&(r.hostname="",r.port=null,r.host&&(""===k[0]?k[0]=r.host:k.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===w[0]?w[0]=e.host:w.unshift(e.host)),e.host=null),_=_&&(""===w[0]||""===k[0])),v)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,k=w;else if(w.length)k||(k=[]),k.pop(),k=k.concat(w),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search))return j&&(r.hostname=r.host=k.shift(),(O=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=O.shift(),r.host=r.hostname=O.shift())),r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!k.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=k.slice(-1)[0],E=(r.host||e.host||k.length>1)&&("."===S||".."===S)||""===S,A=0,F=k.length;F>=0;F--)"."===(S=k[F])?k.splice(F,1):".."===S?(k.splice(F,1),A++):A&&(k.splice(F,1),A--);if(!_&&!x)for(;A--;A)k.unshift("..");!_||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),E&&"/"!==k.join("/").substr(-1)&&k.push("");var I=""===k[0]||k[0]&&"/"===k[0].charAt(0);if(j){r.hostname=r.host=I?"":k.length?k.shift():"";var O=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");O&&(r.auth=O.shift(),r.host=r.hostname=O.shift())}return(_=_||r.host&&k.length)&&!I&&k.unshift(""),k.length?r.pathname=k.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":454,punycode:361,querystring:369}],454:[function(e,t,r){"use strict";t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],455:[function(e,t,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(e){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],456:[function(e,t,r){arguments[4][252][0].apply(r,arguments)},{dup:252}],457:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],458:[function(e,t,r){(function(t,n){function i(e,t){var n={seen:[],stylize:o};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showHidden=t:t&&r._extend(n,t),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=a),c(n,e,n.depth)}function a(e,t){var r=i.styles[t];return r?"["+i.colors[r][0]+"m"+e+"["+i.colors[r][1]+"m":e}function o(e,t){return e}function s(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function c(e,t,n){if(e.customInspect&&t&&j(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return b(i)||(i=c(e,i,n)),i}var a=u(e,t);if(a)return a;var o=Object.keys(t),m=s(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),w(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return l(t);if(0===o.length){if(j(t)){var g=t.name?": "+t.name:"";return e.stylize("[Function"+g+"]","special")}if(_(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(k(t))return e.stylize(Date.prototype.toString.call(t),"date");if(w(t))return l(t)}var v="",y=!1,x=["{","}"];if(d(t)&&(y=!0,x=["[","]"]),j(t)&&(v=" [Function"+(t.name?": "+t.name:"")+"]"),_(t)&&(v=" "+RegExp.prototype.toString.call(t)),k(t)&&(v=" "+Date.prototype.toUTCString.call(t)),w(t)&&(v=" "+l(t)),0===o.length&&(!y||0==t.length))return x[0]+v+x[1];if(n<0)return _(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var S;return S=y?f(e,t,n,m,o):o.map(function(r){return p(e,t,n,m,r,y)}),e.seen.pop(),h(S,v,x)}function u(e,t){if(y(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return v(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)F(t,String(o))?a.push(p(e,t,r,n,String(o),!0)):a.push("");return i.forEach(function(i){i.match(/^\d+$/)||a.push(p(e,t,r,n,i,!0))}),a}function p(e,t,r,n,i,a){var o,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),F(n,i)||(o="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=g(r)?c(e,u.value,null):c(e,u.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),y(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function h(e,t,r){var n=0;return e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function d(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function v(e){return"number"==typeof e}function b(e){return"string"==typeof e}function y(e){return void 0===e}function _(e){return x(e)&&"[object RegExp]"===S(e)}function x(e){return"object"==typeof e&&null!==e}function k(e){return x(e)&&"[object Date]"===S(e)}function w(e){return x(e)&&("[object Error]"===S(e)||e instanceof Error)}function j(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function E(e){return e<10?"0"+e.toString(10):e.toString(10)}function A(){var e=new Date,t=[E(e.getHours()),E(e.getMinutes()),E(e.getSeconds())].join(":");return[e.getDate(),T[e.getMonth()],t].join(" ")}function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var I=/%[sdj%]/g;r.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(i(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,a=n.length,o=String(e).replace(I,function(e){if("%%"===e)return"%";if(r>=a)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r<a;s=n[++r])g(s)||!x(s)?o+=" "+s:o+=" "+i(s);return o},r.deprecate=function(e,i){if(y(n.process))return function(){return r.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var a=!1;return function(){if(!a){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),a=!0}return e.apply(this,arguments)}};var O,P={};r.debuglog=function(e){if(y(O)&&(O=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!P[e])if(new RegExp("\\b"+e+"\\b","i").test(O)){var n=t.pid;P[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else P[e]=function(){};return P[e]},r.inspect=i,i.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]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=d,r.isBoolean=m,r.isNull=g,r.isNullOrUndefined=function(e){return null==e},r.isNumber=v,r.isString=b,r.isSymbol=function(e){return"symbol"==typeof e},r.isUndefined=y,r.isRegExp=_,r.isObject=x,r.isDate=k,r.isError=w,r.isFunction=j,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},r.isBuffer=e("./support/isBuffer");var T=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",A(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":457,_process:346,inherits:456}],459:[function(e,t,r){var n=e("./v1"),i=e("./v4"),a=i;a.v1=n,a.v4=i,t.exports=a},{"./v1":462,"./v4":463}],460:[function(e,t,r){for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);t.exports=function(e,t){var r=t||0,i=n;return i[e[r++]]+i[e[r++]]+i[e[r++]]+i[e[r++]]+"-"+i[e[r++]]+i[e[r++]]+"-"+i[e[r++]]+i[e[r++]]+"-"+i[e[r++]]+i[e[r++]]+"-"+i[e[r++]]+i[e[r++]]+i[e[r++]]+i[e[r++]]+i[e[r++]]+i[e[r++]]}},{}],461:[function(e,t,r){(function(e){var r,n=e.crypto||e.msCrypto;if(n&&n.getRandomValues){var i=new Uint8Array(16);r=function(){return n.getRandomValues(i),i}}if(!r){var a=new Array(16);r=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),a[t]=e>>>((3&t)<<3)&255;return a}}t.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],462:[function(e,t,r){var n=e("./lib/rng"),i=e("./lib/bytesToUuid"),a=n(),o=[1|a[0],a[1],a[2],a[3],a[4],a[5]],s=16383&(a[6]<<8|a[7]),c=0,u=0;t.exports=function(e,t,r){var n=t&&r||0,a=t||[],l=void 0!==(e=e||{}).clockseq?e.clockseq:s,f=void 0!==e.msecs?e.msecs:(new Date).getTime(),p=void 0!==e.nsecs?e.nsecs:u+1,h=f-c+(p-u)/1e4;if(h<0&&void 0===e.clockseq&&(l=l+1&16383),(h<0||f>c)&&void 0===e.nsecs&&(p=0),p>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");c=f,u=p,s=l;var d=(1e4*(268435455&(f+=122192928e5))+p)%4294967296;a[n++]=d>>>24&255,a[n++]=d>>>16&255,a[n++]=d>>>8&255,a[n++]=255&d;var m=f/4294967296*1e4&268435455;a[n++]=m>>>8&255,a[n++]=255&m,a[n++]=m>>>24&15|16,a[n++]=m>>>16&255,a[n++]=l>>>8|128,a[n++]=255&l;for(var g=e.node||o,v=0;v<6;++v)a[n+v]=g[v];return t||i(a)}},{"./lib/bytesToUuid":460,"./lib/rng":461}],463:[function(e,t,r){var n=e("./lib/rng"),i=e("./lib/bytesToUuid");t.exports=function(e,t,r){var a=t&&r||0;"string"==typeof e&&(t="binary"==e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[a+s]=o[s];return t||i(o)}},{"./lib/bytesToUuid":460,"./lib/rng":461}],464:[function(e,t,r){function n(e){var t,r,n,i,a;if(c.object(e,"args"),c.bool(e.strict,"args.strict"),c.array(e.argv,"args.argv"),0===(t=e.argv).length)r={},n=[];else if(f(t[0]))r={cause:t[0]},n=t.slice(1);else if("object"==typeof t[0]){r={};for(a in t[0])r[a]=t[0][a];n=t.slice(1)}else c.string(t[0],"first argument to VError, SError, or WError constructor must be a string, object, or Error"),r={},n=t;return c.object(r),r.strict||e.strict||(n=n.map(function(e){return null===e?"null":void 0===e?"undefined":e})),i=0===n.length?"":p.apply(null,n),{options:r,shortmessage:i}}function i(){var e,t,r,a,o,s,u;if(e=Array.prototype.slice.call(arguments,0),!(this instanceof i))return t=Object.create(i.prototype),i.apply(t,arguments),t;if((r=n({argv:e,strict:!1})).options.name&&(c.string(r.options.name,'error\'s "name" must be a string'),this.name=r.options.name),this.jse_shortmsg=r.shortmessage,s=r.shortmessage,(a=r.options.cause)&&(c.ok(f(a),"cause is not an Error"),this.jse_cause=a,r.options.skipCauseMessage||(s+=": "+a.message)),this.jse_info={},r.options.info)for(u in r.options.info)this.jse_info[u]=r.options.info[u];return this.message=s,Error.call(this,s),Error.captureStackTrace&&(o=r.options.constructorOpt||this.constructor,Error.captureStackTrace(this,o)),this}function a(){var e,t,r,o;return e=Array.prototype.slice.call(arguments,0),this instanceof a?(r=n({argv:e,strict:!0}),o=r.options,i.call(this,o,"%s",r.shortmessage),this):(t=Object.create(a.prototype),a.apply(t,arguments),t)}function o(e){c.array(e,"list of errors"),c.ok(e.length>0,"must be at least one error"),this.ase_errors=e,i.call(this,{cause:e[0]},"first of %d error%s",e.length,1==e.length?"":"s")}function s(){var e,t,r,a;return e=Array.prototype.slice.call(arguments,0),this instanceof s?(r=n({argv:e,strict:!1}),a=r.options,a.skipCauseMessage=!0,i.call(this,a,"%s",r.shortmessage),this):(t=Object.create(s.prototype),s.apply(t,e),t)}var c=e("assert-plus"),u=e("util"),l=e("extsprintf"),f=e("core-util-is").isError,p=l.sprintf;t.exports=i,i.VError=i,i.SError=a,i.WError=s,i.MultiError=o,u.inherits(i,Error),i.prototype.name="VError",i.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),e},i.prototype.cause=function(){var e=i.cause(this);return null===e?void 0:e},i.cause=function(e){return c.ok(f(e),"err must be an Error"),f(e.jse_cause)?e.jse_cause:null},i.info=function(e){var t,r,n;if(c.ok(f(e),"err must be an Error"),r=i.cause(e),t=null!==r?i.info(r):{},"object"==typeof e.jse_info&&null!==e.jse_info)for(n in e.jse_info)t[n]=e.jse_info[n];return t},i.findCauseByName=function(e,t){var r;for(c.ok(f(e),"err must be an Error"),c.string(t,"name"),c.ok(t.length>0,"name cannot be empty"),r=e;null!==r;r=i.cause(r))if(c.ok(f(r)),r.name==t)return r;return null},i.hasCauseWithName=function(e,t){return null!==i.findCauseByName(e,t)},i.fullStack=function(e){c.ok(f(e),"err must be an Error");var t=i.cause(e);return t?e.stack+"\ncaused by: "+i.fullStack(t):e.stack},i.errorFromList=function(e){return c.arrayOfObject(e,"errors"),0===e.length?null:(e.forEach(function(e){c.ok(f(e))}),1==e.length?e[0]:new o(e))},i.errorForEach=function(e,t){c.ok(f(e),"err must be an Error"),c.func(t,"func"),e instanceof o?e.errors().forEach(function(e){t(e)}):t(e)},u.inherits(a,i),u.inherits(o,i),o.prototype.name="MultiError",o.prototype.errors=function(){return this.ase_errors.slice(0)},u.inherits(s,i),s.prototype.name="WError",s.prototype.toString=function(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(e+=": "+this.message),this.jse_cause&&this.jse_cause.message&&(e+="; caused by "+this.jse_cause.toString()),e},s.prototype.cause=function(e){return f(e)&&(this.jse_cause=e),this.jse_cause}},{"assert-plus":76,"core-util-is":160,extsprintf:203,util:458}],465:[function(require,module,exports){function Context(){}var indexOf=require("indexof"),Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var a=Object_keys(r),o=n.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(a,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),o},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}},{indexof:251}],466:[function(e,t,r){t.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e};var n=Object.prototype.hasOwnProperty},{}],467:[function(e,t,r){var n={Parser:e("./lib/ShExParser"),ShapeMapParser:e("./lib/ShapeMapParser"),ShapeMap:e("./lib/ShapeMap"),Util:e("./lib/ShExUtil"),Validator:e("./lib/ShExValidator"),Loader:e("./lib/ShExLoader"),Writer:e("./lib/ShExWriter"),"nfax-val-1err":e("./lib/regex/nfax-val-1err"),"threaded-val-nerr":e("./lib/regex/threaded-val-nerr"),N3:e("n3")};void 0!==e&&void 0!==r&&(t.exports=n)},{"./lib/ShExLoader":2,"./lib/ShExParser":3,"./lib/ShExUtil":4,"./lib/ShExValidator":5,"./lib/ShExWriter":6,"./lib/ShapeMap":7,"./lib/ShapeMapParser":9,"./lib/regex/nfax-val-1err":10,"./lib/regex/threaded-val-nerr":11,n3:313}]},{},[467])(467)});
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...