299 lines
4.8 MiB
299 lines
4.8 MiB
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSDOM=f()}})((function(){var define,module,exports;return function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,(function(r){var n=e[i][1][r];return o(n||r)}),p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r}()({1:[function(require,module,exports){"use strict";const atob=require("./lib/atob");const btoa=require("./lib/btoa");module.exports={atob:atob,btoa:btoa}},{"./lib/atob":2,"./lib/btoa":3}],2:[function(require,module,exports){"use strict";function atob(data){data=`${data}`;data=data.replace(/[ \t\n\f\r]/g,"");if(data.length%4===0){data=data.replace(/==?$/,"")}if(data.length%4===1||/[^+/0-9A-Za-z]/.test(data)){return null}let output="";let buffer=0;let accumulatedBits=0;for(let i=0;i<data.length;i++){buffer<<=6;buffer|=atobLookup(data[i]);accumulatedBits+=6;if(accumulatedBits===24){output+=String.fromCharCode((buffer&16711680)>>16);output+=String.fromCharCode((buffer&65280)>>8);output+=String.fromCharCode(buffer&255);buffer=accumulatedBits=0}}if(accumulatedBits===12){buffer>>=4;output+=String.fromCharCode(buffer)}else if(accumulatedBits===18){buffer>>=2;output+=String.fromCharCode((buffer&65280)>>8);output+=String.fromCharCode(buffer&255)}return output}function atobLookup(chr){if(/[A-Z]/.test(chr)){return chr.charCodeAt(0)-"A".charCodeAt(0)}if(/[a-z]/.test(chr)){return chr.charCodeAt(0)-"a".charCodeAt(0)+26}if(/[0-9]/.test(chr)){return chr.charCodeAt(0)-"0".charCodeAt(0)+52}if(chr==="+"){return 62}if(chr==="/"){return 63}return undefined}module.exports=atob},{}],3:[function(require,module,exports){"use strict";function btoa(s){let i;s=`${s}`;for(i=0;i<s.length;i++){if(s.charCodeAt(i)>255){return null}}let out="";for(i=0;i<s.length;i+=3){const groupsOfSix=[undefined,undefined,undefined,undefined];groupsOfSix[0]=s.charCodeAt(i)>>2;groupsOfSix[1]=(s.charCodeAt(i)&3)<<4;if(s.length>i+1){groupsOfSix[1]|=s.charCodeAt(i+1)>>4;groupsOfSix[2]=(s.charCodeAt(i+1)&15)<<2}if(s.length>i+2){groupsOfSix[2]|=s.charCodeAt(i+2)>>6;groupsOfSix[3]=s.charCodeAt(i+2)&63}for(let j=0;j<groupsOfSix.length;j++){if(typeof groupsOfSix[j]==="undefined"){out+="="}else{out+=btoaLookup(groupsOfSix[j])}}}return out}function btoaLookup(idx){if(idx<26){return String.fromCharCode(idx+"A".charCodeAt(0))}if(idx<52){return String.fromCharCode(idx-26+"a".charCodeAt(0))}if(idx<62){return String.fromCharCode(idx-52+"0".charCodeAt(0))}if(idx===62){return"+"}if(idx===63){return"/"}return undefined}module.exports=btoa},{}],4:[function(require,module,exports){"use strict";var acorn=require("acorn");var walk=require("acorn-walk");function isScope(node){return node.type==="FunctionExpression"||node.type==="FunctionDeclaration"||node.type==="ArrowFunctionExpression"||node.type==="Program"}function isBlockScope(node){return node.type==="BlockStatement"||isScope(node)}function declaresArguments(node){return node.type==="FunctionExpression"||node.type==="FunctionDeclaration"}function declaresThis(node){return node.type==="FunctionExpression"||node.type==="FunctionDeclaration"}function reallyParse(source,options){var parseOptions=Object.assign({},options,{allowReturnOutsideFunction:true,allowImportExportEverywhere:true,allowHashBang:true});return acorn.parse(source,parseOptions)}module.exports=findGlobals;module.exports.parse=reallyParse;function findGlobals(source,options){options=options||{};var globals=[];var ast;if(typeof source==="string"){ast=reallyParse(source,options)}else{ast=source}if(!(ast&&typeof ast==="object"&&ast.type==="Program")){throw new TypeError("Source must be either a string of JavaScript or an acorn AST")}var declareFunction=function(node){var fn=node;fn.locals=fn.locals||Object.create(null);node.params.forEach((function(node){declarePattern(node,fn)}));if(node.id){fn.locals[node.id.name]=true}};var declareClass=function(node){node.locals=node.locals||Object.create(null);if(node.id){node.locals[node.id.name]=true}};var declarePattern=function(node,parent){switch(node.type){case"Identifier":parent.locals[node.name]=true;break;case"ObjectPattern":node.properties.forEach((function(node){declarePattern(node.value||node.argument,parent)}));break;case"ArrayPattern":node.elements.forEach((function(node){if(node)declarePattern(node,parent)}));break;case"RestElement":declarePattern(node.argument,parent);break;case"AssignmentPattern":declarePattern(node.left,parent);break;default:throw new Error("Unrecognized pattern type: "+node.type)}};var declareModuleSpecifier=function(node,parents){ast.locals=ast.locals||Object.create(null);ast.locals[node.local.name]=true};walk.ancestor(ast,{VariableDeclaration:function(node,parents){var parent=null;for(var i=parents.length-1;i>=0&&parent===null;i--){if(node.kind==="var"?isScope(parents[i]):isBlockScope(parents[i])){parent=parents[i]}}parent.locals=parent.locals||Object.create(null);node.declarations.forEach((function(declaration){declarePattern(declaration.id,parent)}))},FunctionDeclaration:function(node,parents){var parent=null;for(var i=parents.length-2;i>=0&&parent===null;i--){if(isScope(parents[i])){parent=parents[i]}}parent.locals=parent.locals||Object.create(null);if(node.id){parent.locals[node.id.name]=true}declareFunction(node)},Function:declareFunction,ClassDeclaration:function(node,parents){var parent=null;for(var i=parents.length-2;i>=0&&parent===null;i--){if(isBlockScope(parents[i])){parent=parents[i]}}parent.locals=parent.locals||Object.create(null);if(node.id){parent.locals[node.id.name]=true}declareClass(node)},Class:declareClass,TryStatement:function(node){if(node.handler===null)return;node.handler.locals=node.handler.locals||Object.create(null);declarePattern(node.handler.param,node.handler)},ImportDefaultSpecifier:declareModuleSpecifier,ImportSpecifier:declareModuleSpecifier,ImportNamespaceSpecifier:declareModuleSpecifier});function identifier(node,parents){var name=node.name;if(name==="undefined")return;for(var i=0;i<parents.length;i++){if(name==="arguments"&&declaresArguments(parents[i])){return}if(parents[i].locals&&name in parents[i].locals){return}}node.parents=parents.slice();globals.push(node)}walk.ancestor(ast,{VariablePattern:identifier,Identifier:identifier,ThisExpression:function(node,parents){for(var i=0;i<parents.length;i++){if(declaresThis(parents[i])){return}}node.parents=parents.slice();globals.push(node)}});var groupedGlobals=Object.create(null);globals.forEach((function(node){var name=node.type==="ThisExpression"?"this":node.name;groupedGlobals[name]=groupedGlobals[name]||[];groupedGlobals[name].push(node)}));return Object.keys(groupedGlobals).sort().map((function(name){return{name:name,nodes:groupedGlobals[name]}}))}},{acorn:6,"acorn-walk":5}],5:[function(require,module,exports){(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define(["exports"],factory):(global=global||self,factory((global.acorn=global.acorn||{},global.acorn.walk={})))})(this,(function(exports){"use strict";function simple(node,visitors,baseVisitor,state,override){if(!baseVisitor){baseVisitor=base}(function c(node,st,override){var type=override||node.type,found=visitors[type];baseVisitor[type](node,st,c);if(found){found(node,st)}})(node,state,override)}function ancestor(node,visitors,baseVisitor,state,override){var ancestors=[];if(!baseVisitor){baseVisitor=base}(function c(node,st,override){var type=override||node.type,found=visitors[type];var isNew=node!==ancestors[ancestors.length-1];if(isNew){ancestors.push(node)}baseVisitor[type](node,st,c);if(found){found(node,st||ancestors,ancestors)}if(isNew){ancestors.pop()}})(node,state,override)}function recursive(node,state,funcs,baseVisitor,override){var visitor=funcs?make(funcs,baseVisitor||undefined):baseVisitor;(function c(node,st,override){visitor[override||node.type](node,st,c)})(node,state,override)}function makeTest(test){if(typeof test==="string"){return function(type){return type===test}}else if(!test){return function(){return true}}else{return test}}var Found=function Found(node,state){this.node=node;this.state=state};function full(node,callback,baseVisitor,state,override){if(!baseVisitor){baseVisitor=base}(function c(node,st,override){var type=override||node.type;baseVisitor[type](node,st,c);if(!override){callback(node,st,type)}})(node,state,override)}function fullAncestor(node,callback,baseVisitor,state){if(!baseVisitor){baseVisitor=base}var ancestors=[];(function c(node,st,override){var type=override||node.type;var isNew=node!==ancestors[ancestors.length-1];if(isNew){ancestors.push(node)}baseVisitor[type](node,st,c);if(!override){callback(node,st||ancestors,ancestors,type)}if(isNew){ancestors.pop()}})(node,state)}function findNodeAt(node,start,end,test,baseVisitor,state){if(!baseVisitor){baseVisitor=base}test=makeTest(test);try{(function c(node,st,override){var type=override||node.type;if((start==null||node.start<=start)&&(end==null||node.end>=end)){baseVisitor[type](node,st,c)}if((start==null||node.start===start)&&(end==null||node.end===end)&&test(type,node)){throw new Found(node,st)}})(node,state)}catch(e){if(e instanceof Found){return e}throw e}}function findNodeAround(node,pos,test,baseVisitor,state){test=makeTest(test);if(!baseVisitor){baseVisitor=base}try{(function c(node,st,override){var type=override||node.type;if(node.start>pos||node.end<pos){return}baseVisitor[type](node,st,c);if(test(type,node)){throw new Found(node,st)}})(node,state)}catch(e){if(e instanceof Found){return e}throw e}}function findNodeAfter(node,pos,test,baseVisitor,state){test=makeTest(test);if(!baseVisitor){baseVisitor=base}try{(function c(node,st,override){if(node.end<pos){return}var type=override||node.type;if(node.start>=pos&&test(type,node)){throw new Found(node,st)}baseVisitor[type](node,st,c)})(node,state)}catch(e){if(e instanceof Found){return e}throw e}}function findNodeBefore(node,pos,test,baseVisitor,state){test=makeTest(test);if(!baseVisitor){baseVisitor=base}var max;(function c(node,st,override){if(node.start>pos){return}var type=override||node.type;if(node.end<=pos&&(!max||max.node.end<node.end)&&test(type,node)){max=new Found(node,st)}baseVisitor[type](node,st,c)})(node,state);return max}var create=Object.create||function(proto){function Ctor(){}Ctor.prototype=proto;return new Ctor};function make(funcs,baseVisitor){var visitor=create(baseVisitor||base);for(var type in funcs){visitor[type]=funcs[type]}return visitor}function skipThrough(node,st,c){c(node,st)}function ignore(_node,_st,_c){}var base={};base.Program=base.BlockStatement=function(node,st,c){for(var i=0,list=node.body;i<list.length;i+=1){var stmt=list[i];c(stmt,st,"Statement")}};base.Statement=skipThrough;base.EmptyStatement=ignore;base.ExpressionStatement=base.ParenthesizedExpression=base.ChainExpression=function(node,st,c){return c(node.expression,st,"Expression")};base.IfStatement=function(node,st,c){c(node.test,st,"Expression");c(node.consequent,st,"Statement");if(node.alternate){c(node.alternate,st,"Statement")}};base.LabeledStatement=function(node,st,c){return c(node.body,st,"Statement")};base.BreakStatement=base.ContinueStatement=ignore;base.WithStatement=function(node,st,c){c(node.object,st,"Expression");c(node.body,st,"Statement")};base.SwitchStatement=function(node,st,c){c(node.discriminant,st,"Expression");for(var i$1=0,list$1=node.cases;i$1<list$1.length;i$1+=1){var cs=list$1[i$1];if(cs.test){c(cs.test,st,"Expression")}for(var i=0,list=cs.consequent;i<list.length;i+=1){var cons=list[i];c(cons,st,"Statement")}}};base.SwitchCase=function(node,st,c){if(node.test){c(node.test,st,"Expression")}for(var i=0,list=node.consequent;i<list.length;i+=1){var cons=list[i];c(cons,st,"Statement")}};base.ReturnStatement=base.YieldExpression=base.AwaitExpression=function(node,st,c){if(node.argument){c(node.argument,st,"Expression")}};base.ThrowStatement=base.SpreadElement=function(node,st,c){return c(node.argument,st,"Expression")};base.TryStatement=function(node,st,c){c(node.block,st,"Statement");if(node.handler){c(node.handler,st)}if(node.finalizer){c(node.finalizer,st,"Statement")}};base.CatchClause=function(node,st,c){if(node.param){c(node.param,st,"Pattern")}c(node.body,st,"Statement")};base.WhileStatement=base.DoWhileStatement=function(node,st,c){c(node.test,st,"Expression");c(node.body,st,"Statement")};base.ForStatement=function(node,st,c){if(node.init){c(node.init,st,"ForInit")}if(node.test){c(node.test,st,"Expression")}if(node.update){c(node.update,st,"Expression")}c(node.body,st,"Statement")};base.ForInStatement=base.ForOfStatement=function(node,st,c){c(node.left,st,"ForInit");c(node.right,st,"Expression");c(node.body,st,"Statement")};base.ForInit=function(node,st,c){if(node.type==="VariableDeclaration"){c(node,st)}else{c(node,st,"Expression")}};base.DebuggerStatement=ignore;base.FunctionDeclaration=function(node,st,c){return c(node,st,"Function")};base.VariableDeclaration=function(node,st,c){for(var i=0,list=node.declarations;i<list.length;i+=1){var decl=list[i];c(decl,st)}};base.VariableDeclarator=function(node,st,c){c(node.id,st,"Pattern");if(node.init){c(node.init,st,"Expression")}};base.Function=function(node,st,c){if(node.id){c(node.id,st,"Pattern")}for(var i=0,list=node.params;i<list.length;i+=1){var param=list[i];c(param,st,"Pattern")}c(node.body,st,node.expression?"Expression":"Statement")};base.Pattern=function(node,st,c){if(node.type==="Identifier"){c(node,st,"VariablePattern")}else if(node.type==="MemberExpression"){c(node,st,"MemberPattern")}else{c(node,st)}};base.VariablePattern=ignore;base.MemberPattern=skipThrough;base.RestElement=function(node,st,c){return c(node.argument,st,"Pattern")};base.ArrayPattern=function(node,st,c){for(var i=0,list=node.elements;i<list.length;i+=1){var elt=list[i];if(elt){c(elt,st,"Pattern")}}};base.ObjectPattern=function(node,st,c){for(var i=0,list=node.properties;i<list.length;i+=1){var prop=list[i];if(prop.type==="Property"){if(prop.computed){c(prop.key,st,"Expression")}c(prop.value,st,"Pattern")}else if(prop.type==="RestElement"){c(prop.argument,st,"Pattern")}}};base.Expression=skipThrough;base.ThisExpression=base.Super=base.MetaProperty=ignore;base.ArrayExpression=function(node,st,c){for(var i=0,list=node.elements;i<list.length;i+=1){var elt=list[i];if(elt){c(elt,st,"Expression")}}};base.ObjectExpression=function(node,st,c){for(var i=0,list=node.properties;i<list.length;i+=1){var prop=list[i];c(prop,st)}};base.FunctionExpression=base.ArrowFunctionExpression=base.FunctionDeclaration;base.SequenceExpression=function(node,st,c){for(var i=0,list=node.expressions;i<list.length;i+=1){var expr=list[i];c(expr,st,"Expression")}};base.TemplateLiteral=function(node,st,c){for(var i=0,list=node.quasis;i<list.length;i+=1){var quasi=list[i];c(quasi,st)}for(var i$1=0,list$1=node.expressions;i$1<list$1.length;i$1+=1){var expr=list$1[i$1];c(expr,st,"Expression")}};base.TemplateElement=ignore;base.UnaryExpression=base.UpdateExpression=function(node,st,c){c(node.argument,st,"Expression")};base.BinaryExpression=base.LogicalExpression=function(node,st,c){c(node.left,st,"Expression");c(node.right,st,"Expression")};base.AssignmentExpression=base.AssignmentPattern=function(node,st,c){c(node.left,st,"Pattern");c(node.right,st,"Expression")};base.ConditionalExpression=function(node,st,c){c(node.test,st,"Expression");c(node.consequent,st,"Expression");c(node.alternate,st,"Expression")};base.NewExpression=base.CallExpression=function(node,st,c){c(node.callee,st,"Expression");if(node.arguments){for(var i=0,list=node.arguments;i<list.length;i+=1){var arg=list[i];c(arg,st,"Expression")}}};base.MemberExpression=function(node,st,c){c(node.object,st,"Expression");if(node.computed){c(node.property,st,"Expression")}};base.ExportNamedDeclaration=base.ExportDefaultDeclaration=function(node,st,c){if(node.declaration){c(node.declaration,st,node.type==="ExportNamedDeclaration"||node.declaration.id?"Statement":"Expression")}if(node.source){c(node.source,st,"Expression")}};base.ExportAllDeclaration=function(node,st,c){if(node.exported){c(node.exported,st)}c(node.source,st,"Expression")};base.ImportDeclaration=function(node,st,c){for(var i=0,list=node.specifiers;i<list.length;i+=1){var spec=list[i];c(spec,st)}c(node.source,st,"Expression")};base.ImportExpression=function(node,st,c){c(node.source,st,"Expression")};base.ImportSpecifier=base.ImportDefaultSpecifier=base.ImportNamespaceSpecifier=base.Identifier=base.Literal=ignore;base.TaggedTemplateExpression=function(node,st,c){c(node.tag,st,"Expression");c(node.quasi,st,"Expression")};base.ClassDeclaration=base.ClassExpression=function(node,st,c){return c(node,st,"Class")};base.Class=function(node,st,c){if(node.id){c(node.id,st,"Pattern")}if(node.superClass){c(node.superClass,st,"Expression")}c(node.body,st)};base.ClassBody=function(node,st,c){for(var i=0,list=node.body;i<list.length;i+=1){var elt=list[i];c(elt,st)}};base.MethodDefinition=base.Property=function(node,st,c){if(node.computed){c(node.key,st,"Expression")}c(node.value,st,"Expression")};exports.ancestor=ancestor;exports.base=base;exports.findNodeAfter=findNodeAfter;exports.findNodeAround=findNodeAround;exports.findNodeAt=findNodeAt;exports.findNodeBefore=findNodeBefore;exports.full=full;exports.fullAncestor=fullAncestor;exports.make=make;exports.recursive=recursive;exports.simple=simple;Object.defineProperty(exports,"__esModule",{value:true})}))},{}],6:[function(require,module,exports){(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define(["exports"],factory):(global=global||self,factory(global.acorn={}))})(this,(function(exports){"use strict";var reservedWords={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var ecma5AndLessKeywords="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var keywords={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"};var keywordRelationalOperator=/^in(stanceof)?$/;var nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var nonASCIIidentifierChars="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]");var nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]");nonASCIIidentifierStartChars=nonASCIIidentifierChars=null;var astralIdentifierStartCodes=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var astralIdentifierCodes=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(code,set){var pos=65536;for(var i=0;i<set.length;i+=2){pos+=set[i];if(pos>code){return false}pos+=set[i+1];if(pos>=code){return true}}}function isIdentifierStart(code,astral){if(code<65){return code===36}if(code<91){return true}if(code<97){return code===95}if(code<123){return true}if(code<=65535){return code>=170&&nonASCIIidentifierStart.test(String.fromCharCode(code))}if(astral===false){return false}return isInAstralSet(code,astralIdentifierStartCodes)}function isIdentifierChar(code,astral){if(code<48){return code===36}if(code<58){return true}if(code<65){return false}if(code<91){return true}if(code<97){return code===95}if(code<123){return true}if(code<=65535){return code>=170&&nonASCIIidentifier.test(String.fromCharCode(code))}if(astral===false){return false}return isInAstralSet(code,astralIdentifierStartCodes)||isInAstralSet(code,astralIdentifierCodes)}var TokenType=function TokenType(label,conf){if(conf===void 0)conf={};this.label=label;this.keyword=conf.keyword;this.beforeExpr=!!conf.beforeExpr;this.startsExpr=!!conf.startsExpr;this.isLoop=!!conf.isLoop;this.isAssign=!!conf.isAssign;this.prefix=!!conf.prefix;this.postfix=!!conf.postfix;this.binop=conf.binop||null;this.updateContext=null};function binop(name,prec){return new TokenType(name,{beforeExpr:true,binop:prec})}var beforeExpr={beforeExpr:true},startsExpr={startsExpr:true};var keywords$1={};function kw(name,options){if(options===void 0)options={};options.keyword=name;return keywords$1[name]=new TokenType(name,options)}var types={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:true,startsExpr:true}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:true,startsExpr:true}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:true,startsExpr:true}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:true,startsExpr:true}),eq:new TokenType("=",{beforeExpr:true,isAssign:true}),assign:new TokenType("_=",{beforeExpr:true,isAssign:true}),incDec:new TokenType("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new TokenType("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var lineBreak=/\r\n?|\n|\u2028|\u2029/;var lineBreakG=new RegExp(lineBreak.source,"g");function isNewLine(code,ecma2019String){return code===10||code===13||!ecma2019String&&(code===8232||code===8233)}var nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var ref=Object.prototype;var hasOwnProperty=ref.hasOwnProperty;var toString=ref.toString;function has(obj,propName){return hasOwnProperty.call(obj,propName)}var isArray=Array.isArray||function(obj){return toString.call(obj)==="[object Array]"};function wordsRegexp(words){return new RegExp("^(?:"+words.replace(/ /g,"|")+")$")}var Position=function Position(line,col){this.line=line;this.column=col};Position.prototype.offset=function offset(n){return new Position(this.line,this.column+n)};var SourceLocation=function SourceLocation(p,start,end){this.start=start;this.end=end;if(p.sourceFile!==null){this.source=p.sourceFile}};function getLineInfo(input,offset){for(var line=1,cur=0;;){lineBreakG.lastIndex=cur;var match=lineBreakG.exec(input);if(match&&match.index<offset){++line;cur=match.index+match[0].length}else{return new Position(line,offset-cur)}}}var defaultOptions={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:false,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};function getOptions(opts){var options={};for(var opt in defaultOptions){options[opt]=opts&&has(opts,opt)?opts[opt]:defaultOptions[opt]}if(options.ecmaVersion>=2015){options.ecmaVersion-=2009}if(options.allowReserved==null){options.allowReserved=options.ecmaVersion<5}if(isArray(options.onToken)){var tokens=options.onToken;options.onToken=function(token){return tokens.push(token)}}if(isArray(options.onComment)){options.onComment=pushComment(options,options.onComment)}return options}function pushComment(options,array){return function(block,text,start,end,startLoc,endLoc){var comment={type:block?"Block":"Line",value:text,start:start,end:end};if(options.locations){comment.loc=new SourceLocation(this,startLoc,endLoc)}if(options.ranges){comment.range=[start,end]}array.push(comment)}}var SCOPE_TOP=1,SCOPE_FUNCTION=2,SCOPE_VAR=SCOPE_TOP|SCOPE_FUNCTION,SCOPE_ASYNC=4,SCOPE_GENERATOR=8,SCOPE_ARROW=16,SCOPE_SIMPLE_CATCH=32,SCOPE_SUPER=64,SCOPE_DIRECT_SUPER=128;function functionFlags(async,generator){return SCOPE_FUNCTION|(async?SCOPE_ASYNC:0)|(generator?SCOPE_GENERATOR:0)}var BIND_NONE=0,BIND_VAR=1,BIND_LEXICAL=2,BIND_FUNCTION=3,BIND_SIMPLE_CATCH=4,BIND_OUTSIDE=5;var Parser=function Parser(options,input,startPos){this.options=options=getOptions(options);this.sourceFile=options.sourceFile;this.keywords=wordsRegexp(keywords[options.ecmaVersion>=6?6:options.sourceType==="module"?"5module":5]);var reserved="";if(options.allowReserved!==true){for(var v=options.ecmaVersion;;v--){if(reserved=reservedWords[v]){break}}if(options.sourceType==="module"){reserved+=" await"}}this.reservedWords=wordsRegexp(reserved);var reservedStrict=(reserved?reserved+" ":"")+reservedWords.strict;this.reservedWordsStrict=wordsRegexp(reservedStrict);this.reservedWordsStrictBind=wordsRegexp(reservedStrict+" "+reservedWords.strictBind);this.input=String(input);this.containsEsc=false;if(startPos){this.pos=startPos;this.lineStart=this.input.lastIndexOf("\n",startPos-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(lineBreak).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=types.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=options.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&options.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(SCOPE_TOP);this.regexpState=null};var prototypeAccessors={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};Parser.prototype.parse=function parse(){var node=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(node)};prototypeAccessors.inFunction.get=function(){return(this.currentVarScope().flags&SCOPE_FUNCTION)>0};prototypeAccessors.inGenerator.get=function(){return(this.currentVarScope().flags&SCOPE_GENERATOR)>0};prototypeAccessors.inAsync.get=function(){return(this.currentVarScope().flags&SCOPE_ASYNC)>0};prototypeAccessors.allowSuper.get=function(){return(this.currentThisScope().flags&SCOPE_SUPER)>0};prototypeAccessors.allowDirectSuper.get=function(){return(this.currentThisScope().flags&SCOPE_DIRECT_SUPER)>0};prototypeAccessors.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Parser.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&SCOPE_FUNCTION)>0};Parser.extend=function extend(){var plugins=[],len=arguments.length;while(len--)plugins[len]=arguments[len];var cls=this;for(var i=0;i<plugins.length;i++){cls=plugins[i](cls)}return cls};Parser.parse=function parse(input,options){return new this(options,input).parse()};Parser.parseExpressionAt=function parseExpressionAt(input,pos,options){var parser=new this(options,input,pos);parser.nextToken();return parser.parseExpression()};Parser.tokenizer=function tokenizer(input,options){return new this(options,input)};Object.defineProperties(Parser.prototype,prototypeAccessors);var pp=Parser.prototype;var literal=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/;pp.strictDirective=function(start){for(;;){skipWhiteSpace.lastIndex=start;start+=skipWhiteSpace.exec(this.input)[0].length;var match=literal.exec(this.input.slice(start));if(!match){return false}if((match[1]||match[2])==="use strict"){skipWhiteSpace.lastIndex=start+match[0].length;var spaceAfter=skipWhiteSpace.exec(this.input),end=spaceAfter.index+spaceAfter[0].length;var next=this.input.charAt(end);return next===";"||next==="}"||lineBreak.test(spaceAfter[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(next)||next==="!"&&this.input.charAt(end+1)==="=")}start+=match[0].length;skipWhiteSpace.lastIndex=start;start+=skipWhiteSpace.exec(this.input)[0].length;if(this.input[start]===";"){start++}}};pp.eat=function(type){if(this.type===type){this.next();return true}else{return false}};pp.isContextual=function(name){return this.type===types.name&&this.value===name&&!this.containsEsc};pp.eatContextual=function(name){if(!this.isContextual(name)){return false}this.next();return true};pp.expectContextual=function(name){if(!this.eatContextual(name)){this.unexpected()}};pp.canInsertSemicolon=function(){return this.type===types.eof||this.type===types.braceR||lineBreak.test(this.input.slice(this.lastTokEnd,this.start))};pp.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};pp.semicolon=function(){if(!this.eat(types.semi)&&!this.insertSemicolon()){this.unexpected()}};pp.afterTrailingComma=function(tokType,notNext){if(this.type===tokType){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!notNext){this.next()}return true}};pp.expect=function(type){this.eat(type)||this.unexpected()};pp.unexpected=function(pos){this.raise(pos!=null?pos:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}pp.checkPatternErrors=function(refDestructuringErrors,isAssign){if(!refDestructuringErrors){return}if(refDestructuringErrors.trailingComma>-1){this.raiseRecoverable(refDestructuringErrors.trailingComma,"Comma is not permitted after the rest element")}var parens=isAssign?refDestructuringErrors.parenthesizedAssign:refDestructuringErrors.parenthesizedBind;if(parens>-1){this.raiseRecoverable(parens,"Parenthesized pattern")}};pp.checkExpressionErrors=function(refDestructuringErrors,andThrow){if(!refDestructuringErrors){return false}var shorthandAssign=refDestructuringErrors.shorthandAssign;var doubleProto=refDestructuringErrors.doubleProto;if(!andThrow){return shorthandAssign>=0||doubleProto>=0}if(shorthandAssign>=0){this.raise(shorthandAssign,"Shorthand property assignments are valid only in destructuring patterns")}if(doubleProto>=0){this.raiseRecoverable(doubleProto,"Redefinition of __proto__ property")}};pp.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};pp.isSimpleAssignTarget=function(expr){if(expr.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(expr.expression)}return expr.type==="Identifier"||expr.type==="MemberExpression"};var pp$1=Parser.prototype;pp$1.parseTopLevel=function(node){var exports={};if(!node.body){node.body=[]}while(this.type!==types.eof){var stmt=this.parseStatement(null,true,exports);node.body.push(stmt)}if(this.inModule){for(var i=0,list=Object.keys(this.undefinedExports);i<list.length;i+=1){var name=list[i];this.raiseRecoverable(this.undefinedExports[name].start,"Export '"+name+"' is not defined")}}this.adaptDirectivePrologue(node.body);this.next();node.sourceType=this.options.sourceType;return this.finishNode(node,"Program")};var loopLabel={kind:"loop"},switchLabel={kind:"switch"};pp$1.isLet=function(context){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input);var next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(nextCh===91){return true}if(context){return false}if(nextCh===123){return true}if(isIdentifierStart(nextCh,true)){var pos=next+1;while(isIdentifierChar(this.input.charCodeAt(pos),true)){++pos}var ident=this.input.slice(next,pos);if(!keywordRelationalOperator.test(ident)){return true}}return false};pp$1.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input);var next=this.pos+skip[0].length;return!lineBreak.test(this.input.slice(this.pos,next))&&this.input.slice(next,next+8)==="function"&&(next+8===this.input.length||!isIdentifierChar(this.input.charAt(next+8)))};pp$1.parseStatement=function(context,topLevel,exports){var starttype=this.type,node=this.startNode(),kind;if(this.isLet(context)){starttype=types._var;kind="let"}switch(starttype){case types._break:case types._continue:return this.parseBreakContinueStatement(node,starttype.keyword);case types._debugger:return this.parseDebuggerStatement(node);case types._do:return this.parseDoStatement(node);case types._for:return this.parseForStatement(node);case types._function:if(context&&(this.strict||context!=="if"&&context!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(node,false,!context);case types._class:if(context){this.unexpected()}return this.parseClass(node,true);case types._if:return this.parseIfStatement(node);case types._return:return this.parseReturnStatement(node);case types._switch:return this.parseSwitchStatement(node);case types._throw:return this.parseThrowStatement(node);case types._try:return this.parseTryStatement(node);case types._const:case types._var:kind=kind||this.value;if(context&&kind!=="var"){this.unexpected()}return this.parseVarStatement(node,kind);case types._while:return this.parseWhileStatement(node);case types._with:return this.parseWithStatement(node);case types.braceL:return this.parseBlock(true,node);case types.semi:return this.parseEmptyStatement(node);case types._export:case types._import:if(this.options.ecmaVersion>10&&starttype===types._import){skipWhiteSpace.lastIndex=this.pos;var skip=skipWhiteSpace.exec(this.input);var next=this.pos+skip[0].length,nextCh=this.input.charCodeAt(next);if(nextCh===40||nextCh===46){return this.parseExpressionStatement(node,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!topLevel){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return starttype===types._import?this.parseImport(node):this.parseExport(node,exports);default:if(this.isAsyncFunction()){if(context){this.unexpected()}this.next();return this.parseFunctionStatement(node,true,!context)}var maybeName=this.value,expr=this.parseExpression();if(starttype===types.name&&expr.type==="Identifier"&&this.eat(types.colon)){return this.parseLabeledStatement(node,maybeName,expr,context)}else{return this.parseExpressionStatement(node,expr)}}};pp$1.parseBreakContinueStatement=function(node,keyword){var isBreak=keyword==="break";this.next();if(this.eat(types.semi)||this.insertSemicolon()){node.label=null}else if(this.type!==types.name){this.unexpected()}else{node.label=this.parseIdent();this.semicolon()}var i=0;for(;i<this.labels.length;++i){var lab=this.labels[i];if(node.label==null||lab.name===node.label.name){if(lab.kind!=null&&(isBreak||lab.kind==="loop")){break}if(node.label&&isBreak){break}}}if(i===this.labels.length){this.raise(node.start,"Unsyntactic "+keyword)}return this.finishNode(node,isBreak?"BreakStatement":"ContinueStatement")};pp$1.parseDebuggerStatement=function(node){this.next();this.semicolon();return this.finishNode(node,"DebuggerStatement")};pp$1.parseDoStatement=function(node){this.next();this.labels.push(loopLabel);node.body=this.parseStatement("do");this.labels.pop();this.expect(types._while);node.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(types.semi)}else{this.semicolon()}return this.finishNode(node,"DoWhileStatement")};pp$1.parseForStatement=function(node){this.next();var awaitAt=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(loopLabel);this.enterScope(0);this.expect(types.parenL);if(this.type===types.semi){if(awaitAt>-1){this.unexpected(awaitAt)}return this.parseFor(node,null)}var isLet=this.isLet();if(this.type===types._var||this.type===types._const||isLet){var init$1=this.startNode(),kind=isLet?"let":this.value;this.next();this.parseVar(init$1,true,kind);this.finishNode(init$1,"VariableDeclaration");if((this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&init$1.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===types._in){if(awaitAt>-1){this.unexpected(awaitAt)}}else{node.await=awaitAt>-1}}return this.parseForIn(node,init$1)}if(awaitAt>-1){this.unexpected(awaitAt)}return this.parseFor(node,init$1)}var refDestructuringErrors=new DestructuringErrors;var init=this.parseExpression(true,refDestructuringErrors);if(this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===types._in){if(awaitAt>-1){this.unexpected(awaitAt)}}else{node.await=awaitAt>-1}}this.toAssignable(init,false,refDestructuringErrors);this.checkLVal(init);return this.parseForIn(node,init)}else{this.checkExpressionErrors(refDestructuringErrors,true)}if(awaitAt>-1){this.unexpected(awaitAt)}return this.parseFor(node,init)};pp$1.parseFunctionStatement=function(node,isAsync,declarationPosition){this.next();return this.parseFunction(node,FUNC_STATEMENT|(declarationPosition?0:FUNC_HANGING_STATEMENT),false,isAsync)};pp$1.parseIfStatement=function(node){this.next();node.test=this.parseParenExpression();node.consequent=this.parseStatement("if");node.alternate=this.eat(types._else)?this.parseStatement("if"):null;return this.finishNode(node,"IfStatement")};pp$1.parseReturnStatement=function(node){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(types.semi)||this.insertSemicolon()){node.argument=null}else{node.argument=this.parseExpression();this.semicolon()}return this.finishNode(node,"ReturnStatement")};pp$1.parseSwitchStatement=function(node){this.next();node.discriminant=this.parseParenExpression();node.cases=[];this.expect(types.braceL);this.labels.push(switchLabel);this.enterScope(0);var cur;for(var sawDefault=false;this.type!==types.braceR;){if(this.type===types._case||this.type===types._default){var isCase=this.type===types._case;if(cur){this.finishNode(cur,"SwitchCase")}node.cases.push(cur=this.startNode());cur.consequent=[];this.next();if(isCase){cur.test=this.parseExpression()}else{if(sawDefault){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}sawDefault=true;cur.test=null}this.expect(types.colon)}else{if(!cur){this.unexpected()}cur.consequent.push(this.parseStatement(null))}}this.exitScope();if(cur){this.finishNode(cur,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(node,"SwitchStatement")};pp$1.parseThrowStatement=function(node){this.next();if(lineBreak.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}node.argument=this.parseExpression();this.semicolon();return this.finishNode(node,"ThrowStatement")};var empty=[];pp$1.parseTryStatement=function(node){this.next();node.block=this.parseBlock();node.handler=null;if(this.type===types._catch){var clause=this.startNode();this.next();if(this.eat(types.parenL)){clause.param=this.parseBindingAtom();var simple=clause.param.type==="Identifier";this.enterScope(simple?SCOPE_SIMPLE_CATCH:0);this.checkLVal(clause.param,simple?BIND_SIMPLE_CATCH:BIND_LEXICAL);this.expect(types.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}clause.param=null;this.enterScope(0)}clause.body=this.parseBlock(false);this.exitScope();node.handler=this.finishNode(clause,"CatchClause")}node.finalizer=this.eat(types._finally)?this.parseBlock():null;if(!node.handler&&!node.finalizer){this.raise(node.start,"Missing catch or finally clause")}return this.finishNode(node,"TryStatement")};pp$1.parseVarStatement=function(node,kind){this.next();this.parseVar(node,false,kind);this.semicolon();return this.finishNode(node,"VariableDeclaration")};pp$1.parseWhileStatement=function(node){this.next();node.test=this.parseParenExpression();this.labels.push(loopLabel);node.body=this.parseStatement("while");this.labels.pop();return this.finishNode(node,"WhileStatement")};pp$1.parseWithStatement=function(node){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();node.object=this.parseParenExpression();node.body=this.parseStatement("with");return this.finishNode(node,"WithStatement")};pp$1.parseEmptyStatement=function(node){this.next();return this.finishNode(node,"EmptyStatement")};pp$1.parseLabeledStatement=function(node,maybeName,expr,context){for(var i$1=0,list=this.labels;i$1<list.length;i$1+=1){var label=list[i$1];if(label.name===maybeName){this.raise(expr.start,"Label '"+maybeName+"' is already declared")}}var kind=this.type.isLoop?"loop":this.type===types._switch?"switch":null;for(var i=this.labels.length-1;i>=0;i--){var label$1=this.labels[i];if(label$1.statementStart===node.start){label$1.statementStart=this.start;label$1.kind=kind}else{break}}this.labels.push({name:maybeName,kind:kind,statementStart:this.start});node.body=this.parseStatement(context?context.indexOf("label")===-1?context+"label":context:"label");this.labels.pop();node.label=expr;return this.finishNode(node,"LabeledStatement")};pp$1.parseExpressionStatement=function(node,expr){node.expression=expr;this.semicolon();return this.finishNode(node,"ExpressionStatement")};pp$1.parseBlock=function(createNewLexicalScope,node,exitStrict){if(createNewLexicalScope===void 0)createNewLexicalScope=true;if(node===void 0)node=this.startNode();node.body=[];this.expect(types.braceL);if(createNewLexicalScope){this.enterScope(0)}while(this.type!==types.braceR){var stmt=this.parseStatement(null);node.body.push(stmt)}if(exitStrict){this.strict=false}this.next();if(createNewLexicalScope){this.exitScope()}return this.finishNode(node,"BlockStatement")};pp$1.parseFor=function(node,init){node.init=init;this.expect(types.semi);node.test=this.type===types.semi?null:this.parseExpression();this.expect(types.semi);node.update=this.type===types.parenR?null:this.parseExpression();this.expect(types.parenR);node.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(node,"ForStatement")};pp$1.parseForIn=function(node,init){var isForIn=this.type===types._in;this.next();if(init.type==="VariableDeclaration"&&init.declarations[0].init!=null&&(!isForIn||this.options.ecmaVersion<8||this.strict||init.kind!=="var"||init.declarations[0].id.type!=="Identifier")){this.raise(init.start,(isForIn?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(init.type==="AssignmentPattern"){this.raise(init.start,"Invalid left-hand side in for-loop")}node.left=init;node.right=isForIn?this.parseExpression():this.parseMaybeAssign();this.expect(types.parenR);node.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(node,isForIn?"ForInStatement":"ForOfStatement")};pp$1.parseVar=function(node,isFor,kind){node.declarations=[];node.kind=kind;for(;;){var decl=this.startNode();this.parseVarId(decl,kind);if(this.eat(types.eq)){decl.init=this.parseMaybeAssign(isFor)}else if(kind==="const"&&!(this.type===types._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(decl.id.type!=="Identifier"&&!(isFor&&(this.type===types._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{decl.init=null}node.declarations.push(this.finishNode(decl,"VariableDeclarator"));if(!this.eat(types.comma)){break}}return node};pp$1.parseVarId=function(decl,kind){decl.id=this.parseBindingAtom();this.checkLVal(decl.id,kind==="var"?BIND_VAR:BIND_LEXICAL,false)};var FUNC_STATEMENT=1,FUNC_HANGING_STATEMENT=2,FUNC_NULLABLE_ID=4;pp$1.parseFunction=function(node,statement,allowExpressionBody,isAsync){this.initFunction(node);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!isAsync){if(this.type===types.star&&statement&FUNC_HANGING_STATEMENT){this.unexpected()}node.generator=this.eat(types.star)}if(this.options.ecmaVersion>=8){node.async=!!isAsync}if(statement&FUNC_STATEMENT){node.id=statement&FUNC_NULLABLE_ID&&this.type!==types.name?null:this.parseIdent();if(node.id&&!(statement&FUNC_HANGING_STATEMENT)){this.checkLVal(node.id,this.strict||node.generator||node.async?this.treatFunctionsAsVar?BIND_VAR:BIND_LEXICAL:BIND_FUNCTION)}}var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(node.async,node.generator));if(!(statement&FUNC_STATEMENT)){node.id=this.type===types.name?this.parseIdent():null}this.parseFunctionParams(node);this.parseFunctionBody(node,allowExpressionBody,false);this.yieldPos=oldYieldPos;this.awaitPos=oldAwaitPos;this.awaitIdentPos=oldAwaitIdentPos;return this.finishNode(node,statement&FUNC_STATEMENT?"FunctionDeclaration":"FunctionExpression")};pp$1.parseFunctionParams=function(node){this.expect(types.parenL);node.params=this.parseBindingList(types.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};pp$1.parseClass=function(node,isStatement){this.next();var oldStrict=this.strict;this.strict=true;this.parseClassId(node,isStatement);this.parseClassSuper(node);var classBody=this.startNode();var hadConstructor=false;classBody.body=[];this.expect(types.braceL);while(this.type!==types.braceR){var element=this.parseClassElement(node.superClass!==null);if(element){classBody.body.push(element);if(element.type==="MethodDefinition"&&element.kind==="constructor"){if(hadConstructor){this.raise(element.start,"Duplicate constructor in the same class")}hadConstructor=true}}}this.strict=oldStrict;this.next();node.body=this.finishNode(classBody,"ClassBody");return this.finishNode(node,isStatement?"ClassDeclaration":"ClassExpression")};pp$1.parseClassElement=function(constructorAllowsSuper){var this$1=this;if(this.eat(types.semi)){return null}var method=this.startNode();var tryContextual=function(k,noLineBreak){if(noLineBreak===void 0)noLineBreak=false;var start=this$1.start,startLoc=this$1.startLoc;if(!this$1.eatContextual(k)){return false}if(this$1.type!==types.parenL&&(!noLineBreak||!this$1.canInsertSemicolon())){return true}if(method.key){this$1.unexpected()}method.computed=false;method.key=this$1.startNodeAt(start,startLoc);method.key.name=k;this$1.finishNode(method.key,"Identifier");return false};method.kind="method";method.static=tryContextual("static");var isGenerator=this.eat(types.star);var isAsync=false;if(!isGenerator){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){isAsync=true;isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star)}else if(tryContextual("get")){method.kind="get"}else if(tryContextual("set")){method.kind="set"}}if(!method.key){this.parsePropertyName(method)}var key=method.key;var allowsDirectSuper=false;if(!method.computed&&!method.static&&(key.type==="Identifier"&&key.name==="constructor"||key.type==="Literal"&&key.value==="constructor")){if(method.kind!=="method"){this.raise(key.start,"Constructor can't have get/set modifier")}if(isGenerator){this.raise(key.start,"Constructor can't be a generator")}if(isAsync){this.raise(key.start,"Constructor can't be an async method")}method.kind="constructor";allowsDirectSuper=constructorAllowsSuper}else if(method.static&&key.type==="Identifier"&&key.name==="prototype"){this.raise(key.start,"Classes may not have a static property named prototype")}this.parseClassMethod(method,isGenerator,isAsync,allowsDirectSuper);if(method.kind==="get"&&method.value.params.length!==0){this.raiseRecoverable(method.value.start,"getter should have no params")}if(method.kind==="set"&&method.value.params.length!==1){this.raiseRecoverable(method.value.start,"setter should have exactly one param")}if(method.kind==="set"&&method.value.params[0].type==="RestElement"){this.raiseRecoverable(method.value.params[0].start,"Setter cannot use rest params")}return method};pp$1.parseClassMethod=function(method,isGenerator,isAsync,allowsDirectSuper){method.value=this.parseMethod(isGenerator,isAsync,allowsDirectSuper);return this.finishNode(method,"MethodDefinition")};pp$1.parseClassId=function(node,isStatement){if(this.type===types.name){node.id=this.parseIdent();if(isStatement){this.checkLVal(node.id,BIND_LEXICAL,false)}}else{if(isStatement===true){this.unexpected()}node.id=null}};pp$1.parseClassSuper=function(node){node.superClass=this.eat(types._extends)?this.parseExprSubscripts():null};pp$1.parseExport=function(node,exports){this.next();if(this.eat(types.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){node.exported=this.parseIdent(true);this.checkExport(exports,node.exported.name,this.lastTokStart)}else{node.exported=null}}this.expectContextual("from");if(this.type!==types.string){this.unexpected()}node.source=this.parseExprAtom();this.semicolon();return this.finishNode(node,"ExportAllDeclaration")}if(this.eat(types._default)){this.checkExport(exports,"default",this.lastTokStart);var isAsync;if(this.type===types._function||(isAsync=this.isAsyncFunction())){var fNode=this.startNode();this.next();if(isAsync){this.next()}node.declaration=this.parseFunction(fNode,FUNC_STATEMENT|FUNC_NULLABLE_ID,false,isAsync)}else if(this.type===types._class){var cNode=this.startNode();node.declaration=this.parseClass(cNode,"nullableID")}else{node.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(node,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){node.declaration=this.parseStatement(null);if(node.declaration.type==="VariableDeclaration"){this.checkVariableExport(exports,node.declaration.declarations)}else{this.checkExport(exports,node.declaration.id.name,node.declaration.id.start)}node.specifiers=[];node.source=null}else{node.declaration=null;node.specifiers=this.parseExportSpecifiers(exports);if(this.eatContextual("from")){if(this.type!==types.string){this.unexpected()}node.source=this.parseExprAtom()}else{for(var i=0,list=node.specifiers;i<list.length;i+=1){var spec=list[i];this.checkUnreserved(spec.local);this.checkLocalExport(spec.local)}node.source=null}this.semicolon()}return this.finishNode(node,"ExportNamedDeclaration")};pp$1.checkExport=function(exports,name,pos){if(!exports){return}if(has(exports,name)){this.raiseRecoverable(pos,"Duplicate export '"+name+"'")}exports[name]=true};pp$1.checkPatternExport=function(exports,pat){var type=pat.type;if(type==="Identifier"){this.checkExport(exports,pat.name,pat.start)}else if(type==="ObjectPattern"){for(var i=0,list=pat.properties;i<list.length;i+=1){var prop=list[i];this.checkPatternExport(exports,prop)}}else if(type==="ArrayPattern"){for(var i$1=0,list$1=pat.elements;i$1<list$1.length;i$1+=1){var elt=list$1[i$1];if(elt){this.checkPatternExport(exports,elt)}}}else if(type==="Property"){this.checkPatternExport(exports,pat.value)}else if(type==="AssignmentPattern"){this.checkPatternExport(exports,pat.left)}else if(type==="RestElement"){this.checkPatternExport(exports,pat.argument)}else if(type==="ParenthesizedExpression"){this.checkPatternExport(exports,pat.expression)}};pp$1.checkVariableExport=function(exports,decls){if(!exports){return}for(var i=0,list=decls;i<list.length;i+=1){var decl=list[i];this.checkPatternExport(exports,decl.id)}};pp$1.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};pp$1.parseExportSpecifiers=function(exports){var nodes=[],first=true;this.expect(types.braceL);while(!this.eat(types.braceR)){if(!first){this.expect(types.comma);if(this.afterTrailingComma(types.braceR)){break}}else{first=false}var node=this.startNode();node.local=this.parseIdent(true);node.exported=this.eatContextual("as")?this.parseIdent(true):node.local;this.checkExport(exports,node.exported.name,node.exported.start);nodes.push(this.finishNode(node,"ExportSpecifier"))}return nodes};pp$1.parseImport=function(node){this.next();if(this.type===types.string){node.specifiers=empty;node.source=this.parseExprAtom()}else{node.specifiers=this.parseImportSpecifiers();this.expectContextual("from");node.source=this.type===types.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(node,"ImportDeclaration")};pp$1.parseImportSpecifiers=function(){var nodes=[],first=true;if(this.type===types.name){var node=this.startNode();node.local=this.parseIdent();this.checkLVal(node.local,BIND_LEXICAL);nodes.push(this.finishNode(node,"ImportDefaultSpecifier"));if(!this.eat(types.comma)){return nodes}}if(this.type===types.star){var node$1=this.startNode();this.next();this.expectContextual("as");node$1.local=this.parseIdent();this.checkLVal(node$1.local,BIND_LEXICAL);nodes.push(this.finishNode(node$1,"ImportNamespaceSpecifier"));return nodes}this.expect(types.braceL);while(!this.eat(types.braceR)){if(!first){this.expect(types.comma);if(this.afterTrailingComma(types.braceR)){break}}else{first=false}var node$2=this.startNode();node$2.imported=this.parseIdent(true);if(this.eatContextual("as")){node$2.local=this.parseIdent()}else{this.checkUnreserved(node$2.imported);node$2.local=node$2.imported}this.checkLVal(node$2.local,BIND_LEXICAL);nodes.push(this.finishNode(node$2,"ImportSpecifier"))}return nodes};pp$1.adaptDirectivePrologue=function(statements){for(var i=0;i<statements.length&&this.isDirectiveCandidate(statements[i]);++i){statements[i].directive=statements[i].expression.raw.slice(1,-1)}};pp$1.isDirectiveCandidate=function(statement){return statement.type==="ExpressionStatement"&&statement.expression.type==="Literal"&&typeof statement.expression.value==="string"&&(this.input[statement.start]==='"'||this.input[statement.start]==="'")};var pp$2=Parser.prototype;pp$2.toAssignable=function(node,isBinding,refDestructuringErrors){if(this.options.ecmaVersion>=6&&node){switch(node.type){case"Identifier":if(this.inAsync&&node.name==="await"){this.raise(node.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":node.type="ObjectPattern";if(refDestructuringErrors){this.checkPatternErrors(refDestructuringErrors,true)}for(var i=0,list=node.properties;i<list.length;i+=1){var prop=list[i];this.toAssignable(prop,isBinding);if(prop.type==="RestElement"&&(prop.argument.type==="ArrayPattern"||prop.argument.type==="ObjectPattern")){this.raise(prop.argument.start,"Unexpected token")}}break;case"Property":if(node.kind!=="init"){this.raise(node.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(node.value,isBinding);break;case"ArrayExpression":node.type="ArrayPattern";if(refDestructuringErrors){this.checkPatternErrors(refDestructuringErrors,true)}this.toAssignableList(node.elements,isBinding);break;case"SpreadElement":node.type="RestElement";this.toAssignable(node.argument,isBinding);if(node.argument.type==="AssignmentPattern"){this.raise(node.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(node.operator!=="="){this.raise(node.left.end,"Only '=' operator can be used for specifying default value.")}node.type="AssignmentPattern";delete node.operator;this.toAssignable(node.left,isBinding);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(node.expression,isBinding,refDestructuringErrors);break;case"ChainExpression":this.raiseRecoverable(node.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!isBinding){break}default:this.raise(node.start,"Assigning to rvalue")}}else if(refDestructuringErrors){this.checkPatternErrors(refDestructuringErrors,true)}return node};pp$2.toAssignableList=function(exprList,isBinding){var end=exprList.length;for(var i=0;i<end;i++){var elt=exprList[i];if(elt){this.toAssignable(elt,isBinding)}}if(end){var last=exprList[end-1];if(this.options.ecmaVersion===6&&isBinding&&last&&last.type==="RestElement"&&last.argument.type!=="Identifier"){this.unexpected(last.argument.start)}}return exprList};pp$2.parseSpread=function(refDestructuringErrors){var node=this.startNode();this.next();node.argument=this.parseMaybeAssign(false,refDestructuringErrors);return this.finishNode(node,"SpreadElement")};pp$2.parseRestBinding=function(){var node=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==types.name){this.unexpected()}node.argument=this.parseBindingAtom();return this.finishNode(node,"RestElement")};pp$2.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case types.bracketL:var node=this.startNode();this.next();node.elements=this.parseBindingList(types.bracketR,true,true);return this.finishNode(node,"ArrayPattern");case types.braceL:return this.parseObj(true)}}return this.parseIdent()};pp$2.parseBindingList=function(close,allowEmpty,allowTrailingComma){var elts=[],first=true;while(!this.eat(close)){if(first){first=false}else{this.expect(types.comma)}if(allowEmpty&&this.type===types.comma){elts.push(null)}else if(allowTrailingComma&&this.afterTrailingComma(close)){break}else if(this.type===types.ellipsis){var rest=this.parseRestBinding();this.parseBindingListItem(rest);elts.push(rest);if(this.type===types.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(close);break}else{var elem=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(elem);elts.push(elem)}}return elts};pp$2.parseBindingListItem=function(param){return param};pp$2.parseMaybeDefault=function(startPos,startLoc,left){left=left||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(types.eq)){return left}var node=this.startNodeAt(startPos,startLoc);node.left=left;node.right=this.parseMaybeAssign();return this.finishNode(node,"AssignmentPattern")};pp$2.checkLVal=function(expr,bindingType,checkClashes){if(bindingType===void 0)bindingType=BIND_NONE;switch(expr.type){case"Identifier":if(bindingType===BIND_LEXICAL&&expr.name==="let"){this.raiseRecoverable(expr.start,"let is disallowed as a lexically bound name")}if(this.strict&&this.reservedWordsStrictBind.test(expr.name)){this.raiseRecoverable(expr.start,(bindingType?"Binding ":"Assigning to ")+expr.name+" in strict mode")}if(checkClashes){if(has(checkClashes,expr.name)){this.raiseRecoverable(expr.start,"Argument name clash")}checkClashes[expr.name]=true}if(bindingType!==BIND_NONE&&bindingType!==BIND_OUTSIDE){this.declareName(expr.name,bindingType,expr.start)}break;case"ChainExpression":this.raiseRecoverable(expr.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(bindingType){this.raiseRecoverable(expr.start,"Binding member expression")}break;case"ObjectPattern":for(var i=0,list=expr.properties;i<list.length;i+=1){var prop=list[i];this.checkLVal(prop,bindingType,checkClashes)}break;case"Property":this.checkLVal(expr.value,bindingType,checkClashes);break;case"ArrayPattern":for(var i$1=0,list$1=expr.elements;i$1<list$1.length;i$1+=1){var elem=list$1[i$1];if(elem){this.checkLVal(elem,bindingType,checkClashes)}}break;case"AssignmentPattern":this.checkLVal(expr.left,bindingType,checkClashes);break;case"RestElement":this.checkLVal(expr.argument,bindingType,checkClashes);break;case"ParenthesizedExpression":this.checkLVal(expr.expression,bindingType,checkClashes);break;default:this.raise(expr.start,(bindingType?"Binding":"Assigning to")+" rvalue")}};var pp$3=Parser.prototype;pp$3.checkPropClash=function(prop,propHash,refDestructuringErrors){if(this.options.ecmaVersion>=9&&prop.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(prop.computed||prop.method||prop.shorthand)){return}var key=prop.key;var name;switch(key.type){case"Identifier":name=key.name;break;case"Literal":name=String(key.value);break;default:return}var kind=prop.kind;if(this.options.ecmaVersion>=6){if(name==="__proto__"&&kind==="init"){if(propHash.proto){if(refDestructuringErrors){if(refDestructuringErrors.doubleProto<0){refDestructuringErrors.doubleProto=key.start}}else{this.raiseRecoverable(key.start,"Redefinition of __proto__ property")}}propHash.proto=true}return}name="$"+name;var other=propHash[name];if(other){var redefinition;if(kind==="init"){redefinition=this.strict&&other.init||other.get||other.set}else{redefinition=other.init||other[kind]}if(redefinition){this.raiseRecoverable(key.start,"Redefinition of property")}}else{other=propHash[name]={init:false,get:false,set:false}}other[kind]=true};pp$3.parseExpression=function(noIn,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc;var expr=this.parseMaybeAssign(noIn,refDestructuringErrors);if(this.type===types.comma){var node=this.startNodeAt(startPos,startLoc);node.expressions=[expr];while(this.eat(types.comma)){node.expressions.push(this.parseMaybeAssign(noIn,refDestructuringErrors))}return this.finishNode(node,"SequenceExpression")}return expr};pp$3.parseMaybeAssign=function(noIn,refDestructuringErrors,afterLeftParse){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(noIn)}else{this.exprAllowed=false}}var ownDestructuringErrors=false,oldParenAssign=-1,oldTrailingComma=-1;if(refDestructuringErrors){oldParenAssign=refDestructuringErrors.parenthesizedAssign;oldTrailingComma=refDestructuringErrors.trailingComma;refDestructuringErrors.parenthesizedAssign=refDestructuringErrors.trailingComma=-1}else{refDestructuringErrors=new DestructuringErrors;ownDestructuringErrors=true}var startPos=this.start,startLoc=this.startLoc;if(this.type===types.parenL||this.type===types.name){this.potentialArrowAt=this.start}var left=this.parseMaybeConditional(noIn,refDestructuringErrors);if(afterLeftParse){left=afterLeftParse.call(this,left,startPos,startLoc)}if(this.type.isAssign){var node=this.startNodeAt(startPos,startLoc);node.operator=this.value;node.left=this.type===types.eq?this.toAssignable(left,false,refDestructuringErrors):left;if(!ownDestructuringErrors){refDestructuringErrors.parenthesizedAssign=refDestructuringErrors.trailingComma=refDestructuringErrors.doubleProto=-1}if(refDestructuringErrors.shorthandAssign>=node.left.start){refDestructuringErrors.shorthandAssign=-1}this.checkLVal(left);this.next();node.right=this.parseMaybeAssign(noIn);return this.finishNode(node,"AssignmentExpression")}else{if(ownDestructuringErrors){this.checkExpressionErrors(refDestructuringErrors,true)}}if(oldParenAssign>-1){refDestructuringErrors.parenthesizedAssign=oldParenAssign}if(oldTrailingComma>-1){refDestructuringErrors.trailingComma=oldTrailingComma}return left};pp$3.parseMaybeConditional=function(noIn,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc;var expr=this.parseExprOps(noIn,refDestructuringErrors);if(this.checkExpressionErrors(refDestructuringErrors)){return expr}if(this.eat(types.question)){var node=this.startNodeAt(startPos,startLoc);node.test=expr;node.consequent=this.parseMaybeAssign();this.expect(types.colon);node.alternate=this.parseMaybeAssign(noIn);return this.finishNode(node,"ConditionalExpression")}return expr};pp$3.parseExprOps=function(noIn,refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc;var expr=this.parseMaybeUnary(refDestructuringErrors,false);if(this.checkExpressionErrors(refDestructuringErrors)){return expr}return expr.start===startPos&&expr.type==="ArrowFunctionExpression"?expr:this.parseExprOp(expr,startPos,startLoc,-1,noIn)};pp$3.parseExprOp=function(left,leftStartPos,leftStartLoc,minPrec,noIn){var prec=this.type.binop;if(prec!=null&&(!noIn||this.type!==types._in)){if(prec>minPrec){var logical=this.type===types.logicalOR||this.type===types.logicalAND;var coalesce=this.type===types.coalesce;if(coalesce){prec=types.logicalAND.binop}var op=this.value;this.next();var startPos=this.start,startLoc=this.startLoc;var right=this.parseExprOp(this.parseMaybeUnary(null,false),startPos,startLoc,prec,noIn);var node=this.buildBinary(leftStartPos,leftStartLoc,left,right,op,logical||coalesce);if(logical&&this.type===types.coalesce||coalesce&&(this.type===types.logicalOR||this.type===types.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(node,leftStartPos,leftStartLoc,minPrec,noIn)}}return left};pp$3.buildBinary=function(startPos,startLoc,left,right,op,logical){var node=this.startNodeAt(startPos,startLoc);node.left=left;node.operator=op;node.right=right;return this.finishNode(node,logical?"LogicalExpression":"BinaryExpression")};pp$3.parseMaybeUnary=function(refDestructuringErrors,sawUnary){var startPos=this.start,startLoc=this.startLoc,expr;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)){expr=this.parseAwait();sawUnary=true}else if(this.type.prefix){var node=this.startNode(),update=this.type===types.incDec;node.operator=this.value;node.prefix=true;this.next();node.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(refDestructuringErrors,true);if(update){this.checkLVal(node.argument)}else if(this.strict&&node.operator==="delete"&&node.argument.type==="Identifier"){this.raiseRecoverable(node.start,"Deleting local variable in strict mode")}else{sawUnary=true}expr=this.finishNode(node,update?"UpdateExpression":"UnaryExpression")}else{expr=this.parseExprSubscripts(refDestructuringErrors);if(this.checkExpressionErrors(refDestructuringErrors)){return expr}while(this.type.postfix&&!this.canInsertSemicolon()){var node$1=this.startNodeAt(startPos,startLoc);node$1.operator=this.value;node$1.prefix=false;node$1.argument=expr;this.checkLVal(expr);this.next();expr=this.finishNode(node$1,"UpdateExpression")}}if(!sawUnary&&this.eat(types.starstar)){return this.buildBinary(startPos,startLoc,expr,this.parseMaybeUnary(null,false),"**",false)}else{return expr}};pp$3.parseExprSubscripts=function(refDestructuringErrors){var startPos=this.start,startLoc=this.startLoc;var expr=this.parseExprAtom(refDestructuringErrors);if(expr.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return expr}var result=this.parseSubscripts(expr,startPos,startLoc);if(refDestructuringErrors&&result.type==="MemberExpression"){if(refDestructuringErrors.parenthesizedAssign>=result.start){refDestructuringErrors.parenthesizedAssign=-1}if(refDestructuringErrors.parenthesizedBind>=result.start){refDestructuringErrors.parenthesizedBind=-1}}return result};pp$3.parseSubscripts=function(base,startPos,startLoc,noCalls){var maybeAsyncArrow=this.options.ecmaVersion>=8&&base.type==="Identifier"&&base.name==="async"&&this.lastTokEnd===base.end&&!this.canInsertSemicolon()&&base.end-base.start===5&&this.potentialArrowAt===base.start;var optionalChained=false;while(true){var element=this.parseSubscript(base,startPos,startLoc,noCalls,maybeAsyncArrow,optionalChained);if(element.optional){optionalChained=true}if(element===base||element.type==="ArrowFunctionExpression"){if(optionalChained){var chainNode=this.startNodeAt(startPos,startLoc);chainNode.expression=element;element=this.finishNode(chainNode,"ChainExpression")}return element}base=element}};pp$3.parseSubscript=function(base,startPos,startLoc,noCalls,maybeAsyncArrow,optionalChained){var optionalSupported=this.options.ecmaVersion>=11;var optional=optionalSupported&&this.eat(types.questionDot);if(noCalls&&optional){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var computed=this.eat(types.bracketL);if(computed||optional&&this.type!==types.parenL&&this.type!==types.backQuote||this.eat(types.dot)){var node=this.startNodeAt(startPos,startLoc);node.object=base;node.property=computed?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never");node.computed=!!computed;if(computed){this.expect(types.bracketR)}if(optionalSupported){node.optional=optional}base=this.finishNode(node,"MemberExpression")}else if(!noCalls&&this.eat(types.parenL)){var refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var exprList=this.parseExprList(types.parenR,this.options.ecmaVersion>=8,false,refDestructuringErrors);if(maybeAsyncArrow&&!optional&&!this.canInsertSemicolon()&&this.eat(types.arrow)){this.checkPatternErrors(refDestructuringErrors,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=oldYieldPos;this.awaitPos=oldAwaitPos;this.awaitIdentPos=oldAwaitIdentPos;return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList,true)}this.checkExpressionErrors(refDestructuringErrors,true);this.yieldPos=oldYieldPos||this.yieldPos;this.awaitPos=oldAwaitPos||this.awaitPos;this.awaitIdentPos=oldAwaitIdentPos||this.awaitIdentPos;var node$1=this.startNodeAt(startPos,startLoc);node$1.callee=base;node$1.arguments=exprList;if(optionalSupported){node$1.optional=optional}base=this.finishNode(node$1,"CallExpression")}else if(this.type===types.backQuote){if(optional||optionalChained){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var node$2=this.startNodeAt(startPos,startLoc);node$2.tag=base;node$2.quasi=this.parseTemplate({isTagged:true});base=this.finishNode(node$2,"TaggedTemplateExpression")}return base};pp$3.parseExprAtom=function(refDestructuringErrors){if(this.type===types.slash){this.readRegexp()}var node,canBeArrow=this.potentialArrowAt===this.start;switch(this.type){case types._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}node=this.startNode();this.next();if(this.type===types.parenL&&!this.allowDirectSuper){this.raise(node.start,"super() call outside constructor of a subclass")}if(this.type!==types.dot&&this.type!==types.bracketL&&this.type!==types.parenL){this.unexpected()}return this.finishNode(node,"Super");case types._this:node=this.startNode();this.next();return this.finishNode(node,"ThisExpression");case types.name:var startPos=this.start,startLoc=this.startLoc,containsEsc=this.containsEsc;var id=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!containsEsc&&id.name==="async"&&!this.canInsertSemicolon()&&this.eat(types._function)){return this.parseFunction(this.startNodeAt(startPos,startLoc),0,false,true)}if(canBeArrow&&!this.canInsertSemicolon()){if(this.eat(types.arrow)){return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],false)}if(this.options.ecmaVersion>=8&&id.name==="async"&&this.type===types.name&&!containsEsc){id=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(types.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),[id],true)}}return id;case types.regexp:var value=this.value;node=this.parseLiteral(value.value);node.regex={pattern:value.pattern,flags:value.flags};return node;case types.num:case types.string:return this.parseLiteral(this.value);case types._null:case types._true:case types._false:node=this.startNode();node.value=this.type===types._null?null:this.type===types._true;node.raw=this.type.keyword;this.next();return this.finishNode(node,"Literal");case types.parenL:var start=this.start,expr=this.parseParenAndDistinguishExpression(canBeArrow);if(refDestructuringErrors){if(refDestructuringErrors.parenthesizedAssign<0&&!this.isSimpleAssignTarget(expr)){refDestructuringErrors.parenthesizedAssign=start}if(refDestructuringErrors.parenthesizedBind<0){refDestructuringErrors.parenthesizedBind=start}}return expr;case types.bracketL:node=this.startNode();this.next();node.elements=this.parseExprList(types.bracketR,true,true,refDestructuringErrors);return this.finishNode(node,"ArrayExpression");case types.braceL:return this.parseObj(false,refDestructuringErrors);case types._function:node=this.startNode();this.next();return this.parseFunction(node,0);case types._class:return this.parseClass(this.startNode(),false);case types._new:return this.parseNew();case types.backQuote:return this.parseTemplate();case types._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};pp$3.parseExprImport=function(){var node=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var meta=this.parseIdent(true);switch(this.type){case types.parenL:return this.parseDynamicImport(node);case types.dot:node.meta=meta;return this.parseImportMeta(node);default:this.unexpected()}};pp$3.parseDynamicImport=function(node){this.next();node.source=this.parseMaybeAssign();if(!this.eat(types.parenR)){var errorPos=this.start;if(this.eat(types.comma)&&this.eat(types.parenR)){this.raiseRecoverable(errorPos,"Trailing comma is not allowed in import()")}else{this.unexpected(errorPos)}}return this.finishNode(node,"ImportExpression")};pp$3.parseImportMeta=function(node){this.next();var containsEsc=this.containsEsc;node.property=this.parseIdent(true);if(node.property.name!=="meta"){this.raiseRecoverable(node.property.start,"The only valid meta property for import is 'import.meta'")}if(containsEsc){this.raiseRecoverable(node.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(node.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(node,"MetaProperty")};pp$3.parseLiteral=function(value){var node=this.startNode();node.value=value;node.raw=this.input.slice(this.start,this.end);if(node.raw.charCodeAt(node.raw.length-1)===110){node.bigint=node.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(node,"Literal")};pp$3.parseParenExpression=function(){this.expect(types.parenL);var val=this.parseExpression();this.expect(types.parenR);return val};pp$3.parseParenAndDistinguishExpression=function(canBeArrow){var startPos=this.start,startLoc=this.startLoc,val,allowTrailingComma=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var innerStartPos=this.start,innerStartLoc=this.startLoc;var exprList=[],first=true,lastIsComma=false;var refDestructuringErrors=new DestructuringErrors,oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,spreadStart;this.yieldPos=0;this.awaitPos=0;while(this.type!==types.parenR){first?first=false:this.expect(types.comma);if(allowTrailingComma&&this.afterTrailingComma(types.parenR,true)){lastIsComma=true;break}else if(this.type===types.ellipsis){spreadStart=this.start;exprList.push(this.parseParenItem(this.parseRestBinding()));if(this.type===types.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{exprList.push(this.parseMaybeAssign(false,refDestructuringErrors,this.parseParenItem))}}var innerEndPos=this.start,innerEndLoc=this.startLoc;this.expect(types.parenR);if(canBeArrow&&!this.canInsertSemicolon()&&this.eat(types.arrow)){this.checkPatternErrors(refDestructuringErrors,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=oldYieldPos;this.awaitPos=oldAwaitPos;return this.parseParenArrowList(startPos,startLoc,exprList)}if(!exprList.length||lastIsComma){this.unexpected(this.lastTokStart)}if(spreadStart){this.unexpected(spreadStart)}this.checkExpressionErrors(refDestructuringErrors,true);this.yieldPos=oldYieldPos||this.yieldPos;this.awaitPos=oldAwaitPos||this.awaitPos;if(exprList.length>1){val=this.startNodeAt(innerStartPos,innerStartLoc);val.expressions=exprList;this.finishNodeAt(val,"SequenceExpression",innerEndPos,innerEndLoc)}else{val=exprList[0]}}else{val=this.parseParenExpression()}if(this.options.preserveParens){var par=this.startNodeAt(startPos,startLoc);par.expression=val;return this.finishNode(par,"ParenthesizedExpression")}else{return val}};pp$3.parseParenItem=function(item){return item};pp$3.parseParenArrowList=function(startPos,startLoc,exprList){return this.parseArrowExpression(this.startNodeAt(startPos,startLoc),exprList)};var empty$1=[];pp$3.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var node=this.startNode();var meta=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(types.dot)){node.meta=meta;var containsEsc=this.containsEsc;node.property=this.parseIdent(true);if(node.property.name!=="target"){this.raiseRecoverable(node.property.start,"The only valid meta property for new is 'new.target'")}if(containsEsc){this.raiseRecoverable(node.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(node.start,"'new.target' can only be used in functions")}return this.finishNode(node,"MetaProperty")}var startPos=this.start,startLoc=this.startLoc,isImport=this.type===types._import;node.callee=this.parseSubscripts(this.parseExprAtom(),startPos,startLoc,true);if(isImport&&node.callee.type==="ImportExpression"){this.raise(startPos,"Cannot use new with import()")}if(this.eat(types.parenL)){node.arguments=this.parseExprList(types.parenR,this.options.ecmaVersion>=8,false)}else{node.arguments=empty$1}return this.finishNode(node,"NewExpression")};pp$3.parseTemplateElement=function(ref){var isTagged=ref.isTagged;var elem=this.startNode();if(this.type===types.invalidTemplate){if(!isTagged){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}elem.value={raw:this.value,cooked:null}}else{elem.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();elem.tail=this.type===types.backQuote;return this.finishNode(elem,"TemplateElement")};pp$3.parseTemplate=function(ref){if(ref===void 0)ref={};var isTagged=ref.isTagged;if(isTagged===void 0)isTagged=false;var node=this.startNode();this.next();node.expressions=[];var curElt=this.parseTemplateElement({isTagged:isTagged});node.quasis=[curElt];while(!curElt.tail){if(this.type===types.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(types.dollarBraceL);node.expressions.push(this.parseExpression());this.expect(types.braceR);node.quasis.push(curElt=this.parseTemplateElement({isTagged:isTagged}))}this.next();return this.finishNode(node,"TemplateLiteral")};pp$3.isAsyncProp=function(prop){return!prop.computed&&prop.key.type==="Identifier"&&prop.key.name==="async"&&(this.type===types.name||this.type===types.num||this.type===types.string||this.type===types.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===types.star)&&!lineBreak.test(this.input.slice(this.lastTokEnd,this.start))};pp$3.parseObj=function(isPattern,refDestructuringErrors){var node=this.startNode(),first=true,propHash={};node.properties=[];this.next();while(!this.eat(types.braceR)){if(!first){this.expect(types.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(types.braceR)){break}}else{first=false}var prop=this.parseProperty(isPattern,refDestructuringErrors);if(!isPattern){this.checkPropClash(prop,propHash,refDestructuringErrors)}node.properties.push(prop)}return this.finishNode(node,isPattern?"ObjectPattern":"ObjectExpression")};pp$3.parseProperty=function(isPattern,refDestructuringErrors){var prop=this.startNode(),isGenerator,isAsync,startPos,startLoc;if(this.options.ecmaVersion>=9&&this.eat(types.ellipsis)){if(isPattern){prop.argument=this.parseIdent(false);if(this.type===types.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(prop,"RestElement")}if(this.type===types.parenL&&refDestructuringErrors){if(refDestructuringErrors.parenthesizedAssign<0){refDestructuringErrors.parenthesizedAssign=this.start}if(refDestructuringErrors.parenthesizedBind<0){refDestructuringErrors.parenthesizedBind=this.start}}prop.argument=this.parseMaybeAssign(false,refDestructuringErrors);if(this.type===types.comma&&refDestructuringErrors&&refDestructuringErrors.trailingComma<0){refDestructuringErrors.trailingComma=this.start}return this.finishNode(prop,"SpreadElement")}if(this.options.ecmaVersion>=6){prop.method=false;prop.shorthand=false;if(isPattern||refDestructuringErrors){startPos=this.start;startLoc=this.startLoc}if(!isPattern){isGenerator=this.eat(types.star)}}var containsEsc=this.containsEsc;this.parsePropertyName(prop);if(!isPattern&&!containsEsc&&this.options.ecmaVersion>=8&&!isGenerator&&this.isAsyncProp(prop)){isAsync=true;isGenerator=this.options.ecmaVersion>=9&&this.eat(types.star);this.parsePropertyName(prop,refDestructuringErrors)}else{isAsync=false}this.parsePropertyValue(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc);return this.finishNode(prop,"Property")};pp$3.parsePropertyValue=function(prop,isPattern,isGenerator,isAsync,startPos,startLoc,refDestructuringErrors,containsEsc){if((isGenerator||isAsync)&&this.type===types.colon){this.unexpected()}if(this.eat(types.colon)){prop.value=isPattern?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,refDestructuringErrors);prop.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===types.parenL){if(isPattern){this.unexpected()}prop.kind="init";prop.method=true;prop.value=this.parseMethod(isGenerator,isAsync)}else if(!isPattern&&!containsEsc&&this.options.ecmaVersion>=5&&!prop.computed&&prop.key.type==="Identifier"&&(prop.key.name==="get"||prop.key.name==="set")&&(this.type!==types.comma&&this.type!==types.braceR&&this.type!==types.eq)){if(isGenerator||isAsync){this.unexpected()}prop.kind=prop.key.name;this.parsePropertyName(prop);prop.value=this.parseMethod(false);var paramCount=prop.kind==="get"?0:1;if(prop.value.params.length!==paramCount){var start=prop.value.start;if(prop.kind==="get"){this.raiseRecoverable(start,"getter should have no params")}else{this.raiseRecoverable(start,"setter should have exactly one param")}}else{if(prop.kind==="set"&&prop.value.params[0].type==="RestElement"){this.raiseRecoverable(prop.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!prop.computed&&prop.key.type==="Identifier"){if(isGenerator||isAsync){this.unexpected()}this.checkUnreserved(prop.key);if(prop.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=startPos}prop.kind="init";if(isPattern){prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key)}else if(this.type===types.eq&&refDestructuringErrors){if(refDestructuringErrors.shorthandAssign<0){refDestructuringErrors.shorthandAssign=this.start}prop.value=this.parseMaybeDefault(startPos,startLoc,prop.key)}else{prop.value=prop.key}prop.shorthand=true}else{this.unexpected()}};pp$3.parsePropertyName=function(prop){if(this.options.ecmaVersion>=6){if(this.eat(types.bracketL)){prop.computed=true;prop.key=this.parseMaybeAssign();this.expect(types.bracketR);return prop.key}else{prop.computed=false}}return prop.key=this.type===types.num||this.type===types.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};pp$3.initFunction=function(node){node.id=null;if(this.options.ecmaVersion>=6){node.generator=node.expression=false}if(this.options.ecmaVersion>=8){node.async=false}};pp$3.parseMethod=function(isGenerator,isAsync,allowDirectSuper){var node=this.startNode(),oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;this.initFunction(node);if(this.options.ecmaVersion>=6){node.generator=isGenerator}if(this.options.ecmaVersion>=8){node.async=!!isAsync}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(isAsync,node.generator)|SCOPE_SUPER|(allowDirectSuper?SCOPE_DIRECT_SUPER:0));this.expect(types.parenL);node.params=this.parseBindingList(types.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(node,false,true);this.yieldPos=oldYieldPos;this.awaitPos=oldAwaitPos;this.awaitIdentPos=oldAwaitIdentPos;return this.finishNode(node,"FunctionExpression")};pp$3.parseArrowExpression=function(node,params,isAsync){var oldYieldPos=this.yieldPos,oldAwaitPos=this.awaitPos,oldAwaitIdentPos=this.awaitIdentPos;this.enterScope(functionFlags(isAsync,false)|SCOPE_ARROW);this.initFunction(node);if(this.options.ecmaVersion>=8){node.async=!!isAsync}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;node.params=this.toAssignableList(params,true);this.parseFunctionBody(node,true,false);this.yieldPos=oldYieldPos;this.awaitPos=oldAwaitPos;this.awaitIdentPos=oldAwaitIdentPos;return this.finishNode(node,"ArrowFunctionExpression")};pp$3.parseFunctionBody=function(node,isArrowFunction,isMethod){var isExpression=isArrowFunction&&this.type!==types.braceL;var oldStrict=this.strict,useStrict=false;if(isExpression){node.body=this.parseMaybeAssign();node.expression=true;this.checkParams(node,false)}else{var nonSimple=this.options.ecmaVersion>=7&&!this.isSimpleParamList(node.params);if(!oldStrict||nonSimple){useStrict=this.strictDirective(this.end);if(useStrict&&nonSimple){this.raiseRecoverable(node.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var oldLabels=this.labels;this.labels=[];if(useStrict){this.strict=true}this.checkParams(node,!oldStrict&&!useStrict&&!isArrowFunction&&!isMethod&&this.isSimpleParamList(node.params));if(this.strict&&node.id){this.checkLVal(node.id,BIND_OUTSIDE)}node.body=this.parseBlock(false,undefined,useStrict&&!oldStrict);node.expression=false;this.adaptDirectivePrologue(node.body.body);this.labels=oldLabels}this.exitScope()};pp$3.isSimpleParamList=function(params){for(var i=0,list=params;i<list.length;i+=1){var param=list[i];if(param.type!=="Identifier"){return false}}return true};pp$3.checkParams=function(node,allowDuplicates){var nameHash={};for(var i=0,list=node.params;i<list.length;i+=1){var param=list[i];this.checkLVal(param,BIND_VAR,allowDuplicates?null:nameHash)}};pp$3.parseExprList=function(close,allowTrailingComma,allowEmpty,refDestructuringErrors){var elts=[],first=true;while(!this.eat(close)){if(!first){this.expect(types.comma);if(allowTrailingComma&&this.afterTrailingComma(close)){break}}else{first=false}var elt=void 0;if(allowEmpty&&this.type===types.comma){elt=null}else if(this.type===types.ellipsis){elt=this.parseSpread(refDestructuringErrors);if(refDestructuringErrors&&this.type===types.comma&&refDestructuringErrors.trailingComma<0){refDestructuringErrors.trailingComma=this.start}}else{elt=this.parseMaybeAssign(false,refDestructuringErrors)}elts.push(elt)}return elts};pp$3.checkUnreserved=function(ref){var start=ref.start;var end=ref.end;var name=ref.name;if(this.inGenerator&&name==="yield"){this.raiseRecoverable(start,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&name==="await"){this.raiseRecoverable(start,"Cannot use 'await' as identifier inside an async function")}if(this.keywords.test(name)){this.raise(start,"Unexpected keyword '"+name+"'")}if(this.options.ecmaVersion<6&&this.input.slice(start,end).indexOf("\\")!==-1){return}var re=this.strict?this.reservedWordsStrict:this.reservedWords;if(re.test(name)){if(!this.inAsync&&name==="await"){this.raiseRecoverable(start,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(start,"The keyword '"+name+"' is reserved")}};pp$3.parseIdent=function(liberal,isBinding){var node=this.startNode();if(this.type===types.name){node.name=this.value}else if(this.type.keyword){node.name=this.type.keyword;if((node.name==="class"||node.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next(!!liberal);this.finishNode(node,"Identifier");if(!liberal){this.checkUnreserved(node);if(node.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=node.start}}return node};pp$3.parseYield=function(noIn){if(!this.yieldPos){this.yieldPos=this.start}var node=this.startNode();this.next();if(this.type===types.semi||this.canInsertSemicolon()||this.type!==types.star&&!this.type.startsExpr){node.delegate=false;node.argument=null}else{node.delegate=this.eat(types.star);node.argument=this.parseMaybeAssign(noIn)}return this.finishNode(node,"YieldExpression")};pp$3.parseAwait=function(){if(!this.awaitPos){this.awaitPos=this.start}var node=this.startNode();this.next();node.argument=this.parseMaybeUnary(null,false);return this.finishNode(node,"AwaitExpression")};var pp$4=Parser.prototype;pp$4.raise=function(pos,message){var loc=getLineInfo(this.input,pos);message+=" ("+loc.line+":"+loc.column+")";var err=new SyntaxError(message);err.pos=pos;err.loc=loc;err.raisedAt=this.pos;throw err};pp$4.raiseRecoverable=pp$4.raise;pp$4.curPosition=function(){if(this.options.locations){return new Position(this.curLine,this.pos-this.lineStart)}};var pp$5=Parser.prototype;var Scope=function Scope(flags){this.flags=flags;this.var=[];this.lexical=[];this.functions=[]};pp$5.enterScope=function(flags){this.scopeStack.push(new Scope(flags))};pp$5.exitScope=function(){this.scopeStack.pop()};pp$5.treatFunctionsAsVarInScope=function(scope){return scope.flags&SCOPE_FUNCTION||!this.inModule&&scope.flags&SCOPE_TOP};pp$5.declareName=function(name,bindingType,pos){var redeclared=false;if(bindingType===BIND_LEXICAL){var scope=this.currentScope();redeclared=scope.lexical.indexOf(name)>-1||scope.functions.indexOf(name)>-1||scope.var.indexOf(name)>-1;scope.lexical.push(name);if(this.inModule&&scope.flags&SCOPE_TOP){delete this.undefinedExports[name]}}else if(bindingType===BIND_SIMPLE_CATCH){var scope$1=this.currentScope();scope$1.lexical.push(name)}else if(bindingType===BIND_FUNCTION){var scope$2=this.currentScope();if(this.treatFunctionsAsVar){redeclared=scope$2.lexical.indexOf(name)>-1}else{redeclared=scope$2.lexical.indexOf(name)>-1||scope$2.var.indexOf(name)>-1}scope$2.functions.push(name)}else{for(var i=this.scopeStack.length-1;i>=0;--i){var scope$3=this.scopeStack[i];if(scope$3.lexical.indexOf(name)>-1&&!(scope$3.flags&SCOPE_SIMPLE_CATCH&&scope$3.lexical[0]===name)||!this.treatFunctionsAsVarInScope(scope$3)&&scope$3.functions.indexOf(name)>-1){redeclared=true;break}scope$3.var.push(name);if(this.inModule&&scope$3.flags&SCOPE_TOP){delete this.undefinedExports[name]}if(scope$3.flags&SCOPE_VAR){break}}}if(redeclared){this.raiseRecoverable(pos,"Identifier '"+name+"' has already been declared")}};pp$5.checkLocalExport=function(id){if(this.scopeStack[0].lexical.indexOf(id.name)===-1&&this.scopeStack[0].var.indexOf(id.name)===-1){this.undefinedExports[id.name]=id}};pp$5.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};pp$5.currentVarScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(scope.flags&SCOPE_VAR){return scope}}};pp$5.currentThisScope=function(){for(var i=this.scopeStack.length-1;;i--){var scope=this.scopeStack[i];if(scope.flags&SCOPE_VAR&&!(scope.flags&SCOPE_ARROW)){return scope}}};var Node=function Node(parser,pos,loc){this.type="";this.start=pos;this.end=0;if(parser.options.locations){this.loc=new SourceLocation(parser,loc)}if(parser.options.directSourceFile){this.sourceFile=parser.options.directSourceFile}if(parser.options.ranges){this.range=[pos,0]}};var pp$6=Parser.prototype;pp$6.startNode=function(){return new Node(this,this.start,this.startLoc)};pp$6.startNodeAt=function(pos,loc){return new Node(this,pos,loc)};function finishNodeAt(node,type,pos,loc){node.type=type;node.end=pos;if(this.options.locations){node.loc.end=loc}if(this.options.ranges){node.range[1]=pos}return node}pp$6.finishNode=function(node,type){return finishNodeAt.call(this,node,type,this.lastTokEnd,this.lastTokEndLoc)};pp$6.finishNodeAt=function(node,type,pos,loc){return finishNodeAt.call(this,node,type,pos,loc)};var TokContext=function TokContext(token,isExpr,preserveSpace,override,generator){this.token=token;this.isExpr=!!isExpr;this.preserveSpace=!!preserveSpace;this.override=override;this.generator=!!generator};var types$1={b_stat:new TokContext("{",false),b_expr:new TokContext("{",true),b_tmpl:new TokContext("${",false),p_stat:new TokContext("(",false),p_expr:new TokContext("(",true),q_tmpl:new TokContext("`",true,true,(function(p){return p.tryReadTemplateToken()})),f_stat:new TokContext("function",false),f_expr:new TokContext("function",true),f_expr_gen:new TokContext("function",true,false,null,true),f_gen:new TokContext("function",false,false,null,true)};var pp$7=Parser.prototype;pp$7.initialContext=function(){return[types$1.b_stat]};pp$7.braceIsBlock=function(prevType){var parent=this.curContext();if(parent===types$1.f_expr||parent===types$1.f_stat){return true}if(prevType===types.colon&&(parent===types$1.b_stat||parent===types$1.b_expr)){return!parent.isExpr}if(prevType===types._return||prevType===types.name&&this.exprAllowed){return lineBreak.test(this.input.slice(this.lastTokEnd,this.start))}if(prevType===types._else||prevType===types.semi||prevType===types.eof||prevType===types.parenR||prevType===types.arrow){return true}if(prevType===types.braceL){return parent===types$1.b_stat}if(prevType===types._var||prevType===types._const||prevType===types.name){return false}return!this.exprAllowed};pp$7.inGeneratorContext=function(){for(var i=this.context.length-1;i>=1;i--){var context=this.context[i];if(context.token==="function"){return context.generator}}return false};pp$7.updateContext=function(prevType){var update,type=this.type;if(type.keyword&&prevType===types.dot){this.exprAllowed=false}else if(update=type.updateContext){update.call(this,prevType)}else{this.exprAllowed=type.beforeExpr}};types.parenR.updateContext=types.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var out=this.context.pop();if(out===types$1.b_stat&&this.curContext().token==="function"){out=this.context.pop()}this.exprAllowed=!out.isExpr};types.braceL.updateContext=function(prevType){this.context.push(this.braceIsBlock(prevType)?types$1.b_stat:types$1.b_expr);this.exprAllowed=true};types.dollarBraceL.updateContext=function(){this.context.push(types$1.b_tmpl);this.exprAllowed=true};types.parenL.updateContext=function(prevType){var statementParens=prevType===types._if||prevType===types._for||prevType===types._with||prevType===types._while;this.context.push(statementParens?types$1.p_stat:types$1.p_expr);this.exprAllowed=true};types.incDec.updateContext=function(){};types._function.updateContext=types._class.updateContext=function(prevType){if(prevType.beforeExpr&&prevType!==types.semi&&prevType!==types._else&&!(prevType===types._return&&lineBreak.test(this.input.slice(this.lastTokEnd,this.start)))&&!((prevType===types.colon||prevType===types.braceL)&&this.curContext()===types$1.b_stat)){this.context.push(types$1.f_expr)}else{this.context.push(types$1.f_stat)}this.exprAllowed=false};types.backQuote.updateContext=function(){if(this.curContext()===types$1.q_tmpl){this.context.pop()}else{this.context.push(types$1.q_tmpl)}this.exprAllowed=false};types.star.updateContext=function(prevType){if(prevType===types._function){var index=this.context.length-1;if(this.context[index]===types$1.f_expr){this.context[index]=types$1.f_expr_gen}else{this.context[index]=types$1.f_gen}}this.exprAllowed=true};types.name.updateContext=function(prevType){var allowed=false;if(this.options.ecmaVersion>=6&&prevType!==types.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){allowed=true}}this.exprAllowed=allowed};var ecma9BinaryProperties="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var ecma10BinaryProperties=ecma9BinaryProperties+" Extended_Pictographic";var ecma11BinaryProperties=ecma10BinaryProperties;var unicodeBinaryProperties={9:ecma9BinaryProperties,10:ecma10BinaryProperties,11:ecma11BinaryProperties};var unicodeGeneralCategoryValues="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var ecma9ScriptValues="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var ecma10ScriptValues=ecma9ScriptValues+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var ecma11ScriptValues=ecma10ScriptValues+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var unicodeScriptValues={9:ecma9ScriptValues,10:ecma10ScriptValues,11:ecma11ScriptValues};var data={};function buildUnicodeData(ecmaVersion){var d=data[ecmaVersion]={binary:wordsRegexp(unicodeBinaryProperties[ecmaVersion]+" "+unicodeGeneralCategoryValues),nonBinary:{General_Category:wordsRegexp(unicodeGeneralCategoryValues),Script:wordsRegexp(unicodeScriptValues[ecmaVersion])}};d.nonBinary.Script_Extensions=d.nonBinary.Script;d.nonBinary.gc=d.nonBinary.General_Category;d.nonBinary.sc=d.nonBinary.Script;d.nonBinary.scx=d.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var pp$8=Parser.prototype;var RegExpValidationState=function RegExpValidationState(parser){this.parser=parser;this.validFlags="gim"+(parser.options.ecmaVersion>=6?"uy":"")+(parser.options.ecmaVersion>=9?"s":"");this.unicodeProperties=data[parser.options.ecmaVersion>=11?11:parser.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};RegExpValidationState.prototype.reset=function reset(start,pattern,flags){var unicode=flags.indexOf("u")!==-1;this.start=start|0;this.source=pattern+"";this.flags=flags;this.switchU=unicode&&this.parser.options.ecmaVersion>=6;this.switchN=unicode&&this.parser.options.ecmaVersion>=9};RegExpValidationState.prototype.raise=function raise(message){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+message)};RegExpValidationState.prototype.at=function at(i,forceU){if(forceU===void 0)forceU=false;var s=this.source;var l=s.length;if(i>=l){return-1}var c=s.charCodeAt(i);if(!(forceU||this.switchU)||c<=55295||c>=57344||i+1>=l){return c}var next=s.charCodeAt(i+1);return next>=56320&&next<=57343?(c<<10)+next-56613888:c};RegExpValidationState.prototype.nextIndex=function nextIndex(i,forceU){if(forceU===void 0)forceU=false;var s=this.source;var l=s.length;if(i>=l){return l}var c=s.charCodeAt(i),next;if(!(forceU||this.switchU)||c<=55295||c>=57344||i+1>=l||(next=s.charCodeAt(i+1))<56320||next>57343){return i+1}return i+2};RegExpValidationState.prototype.current=function current(forceU){if(forceU===void 0)forceU=false;return this.at(this.pos,forceU)};RegExpValidationState.prototype.lookahead=function lookahead(forceU){if(forceU===void 0)forceU=false;return this.at(this.nextIndex(this.pos,forceU),forceU)};RegExpValidationState.prototype.advance=function advance(forceU){if(forceU===void 0)forceU=false;this.pos=this.nextIndex(this.pos,forceU)};RegExpValidationState.prototype.eat=function eat(ch,forceU){if(forceU===void 0)forceU=false;if(this.current(forceU)===ch){this.advance(forceU);return true}return false};function codePointToString(ch){if(ch<=65535){return String.fromCharCode(ch)}ch-=65536;return String.fromCharCode((ch>>10)+55296,(ch&1023)+56320)}pp$8.validateRegExpFlags=function(state){var validFlags=state.validFlags;var flags=state.flags;for(var i=0;i<flags.length;i++){var flag=flags.charAt(i);if(validFlags.indexOf(flag)===-1){this.raise(state.start,"Invalid regular expression flag")}if(flags.indexOf(flag,i+1)>-1){this.raise(state.start,"Duplicate regular expression flag")}}};pp$8.validateRegExpPattern=function(state){this.regexp_pattern(state);if(!state.switchN&&this.options.ecmaVersion>=9&&state.groupNames.length>0){state.switchN=true;this.regexp_pattern(state)}};pp$8.regexp_pattern=function(state){state.pos=0;state.lastIntValue=0;state.lastStringValue="";state.lastAssertionIsQuantifiable=false;state.numCapturingParens=0;state.maxBackReference=0;state.groupNames.length=0;state.backReferenceNames.length=0;this.regexp_disjunction(state);if(state.pos!==state.source.length){if(state.eat(41)){state.raise("Unmatched ')'")}if(state.eat(93)||state.eat(125)){state.raise("Lone quantifier brackets")}}if(state.maxBackReference>state.numCapturingParens){state.raise("Invalid escape")}for(var i=0,list=state.backReferenceNames;i<list.length;i+=1){var name=list[i];if(state.groupNames.indexOf(name)===-1){state.raise("Invalid named capture referenced")}}};pp$8.regexp_disjunction=function(state){this.regexp_alternative(state);while(state.eat(124)){this.regexp_alternative(state)}if(this.regexp_eatQuantifier(state,true)){state.raise("Nothing to repeat")}if(state.eat(123)){state.raise("Lone quantifier brackets")}};pp$8.regexp_alternative=function(state){while(state.pos<state.source.length&&this.regexp_eatTerm(state)){}};pp$8.regexp_eatTerm=function(state){if(this.regexp_eatAssertion(state)){if(state.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(state)){if(state.switchU){state.raise("Invalid quantifier")}}return true}if(state.switchU?this.regexp_eatAtom(state):this.regexp_eatExtendedAtom(state)){this.regexp_eatQuantifier(state);return true}return false};pp$8.regexp_eatAssertion=function(state){var start=state.pos;state.lastAssertionIsQuantifiable=false;if(state.eat(94)||state.eat(36)){return true}if(state.eat(92)){if(state.eat(66)||state.eat(98)){return true}state.pos=start}if(state.eat(40)&&state.eat(63)){var lookbehind=false;if(this.options.ecmaVersion>=9){lookbehind=state.eat(60)}if(state.eat(61)||state.eat(33)){this.regexp_disjunction(state);if(!state.eat(41)){state.raise("Unterminated group")}state.lastAssertionIsQuantifiable=!lookbehind;return true}}state.pos=start;return false};pp$8.regexp_eatQuantifier=function(state,noError){if(noError===void 0)noError=false;if(this.regexp_eatQuantifierPrefix(state,noError)){state.eat(63);return true}return false};pp$8.regexp_eatQuantifierPrefix=function(state,noError){return state.eat(42)||state.eat(43)||state.eat(63)||this.regexp_eatBracedQuantifier(state,noError)};pp$8.regexp_eatBracedQuantifier=function(state,noError){var start=state.pos;if(state.eat(123)){var min=0,max=-1;if(this.regexp_eatDecimalDigits(state)){min=state.lastIntValue;if(state.eat(44)&&this.regexp_eatDecimalDigits(state)){max=state.lastIntValue}if(state.eat(125)){if(max!==-1&&max<min&&!noError){state.raise("numbers out of order in {} quantifier")}return true}}if(state.switchU&&!noError){state.raise("Incomplete quantifier")}state.pos=start}return false};pp$8.regexp_eatAtom=function(state){return this.regexp_eatPatternCharacters(state)||state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)};pp$8.regexp_eatReverseSolidusAtomEscape=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatAtomEscape(state)){return true}state.pos=start}return false};pp$8.regexp_eatUncapturingGroup=function(state){var start=state.pos;if(state.eat(40)){if(state.eat(63)&&state.eat(58)){this.regexp_disjunction(state);if(state.eat(41)){return true}state.raise("Unterminated group")}state.pos=start}return false};pp$8.regexp_eatCapturingGroup=function(state){if(state.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(state)}else if(state.current()===63){state.raise("Invalid group")}this.regexp_disjunction(state);if(state.eat(41)){state.numCapturingParens+=1;return true}state.raise("Unterminated group")}return false};pp$8.regexp_eatExtendedAtom=function(state){return state.eat(46)||this.regexp_eatReverseSolidusAtomEscape(state)||this.regexp_eatCharacterClass(state)||this.regexp_eatUncapturingGroup(state)||this.regexp_eatCapturingGroup(state)||this.regexp_eatInvalidBracedQuantifier(state)||this.regexp_eatExtendedPatternCharacter(state)};pp$8.regexp_eatInvalidBracedQuantifier=function(state){if(this.regexp_eatBracedQuantifier(state,true)){state.raise("Nothing to repeat")}return false};pp$8.regexp_eatSyntaxCharacter=function(state){var ch=state.current();if(isSyntaxCharacter(ch)){state.lastIntValue=ch;state.advance();return true}return false};function isSyntaxCharacter(ch){return ch===36||ch>=40&&ch<=43||ch===46||ch===63||ch>=91&&ch<=94||ch>=123&&ch<=125}pp$8.regexp_eatPatternCharacters=function(state){var start=state.pos;var ch=0;while((ch=state.current())!==-1&&!isSyntaxCharacter(ch)){state.advance()}return state.pos!==start};pp$8.regexp_eatExtendedPatternCharacter=function(state){var ch=state.current();if(ch!==-1&&ch!==36&&!(ch>=40&&ch<=43)&&ch!==46&&ch!==63&&ch!==91&&ch!==94&&ch!==124){state.advance();return true}return false};pp$8.regexp_groupSpecifier=function(state){if(state.eat(63)){if(this.regexp_eatGroupName(state)){if(state.groupNames.indexOf(state.lastStringValue)!==-1){state.raise("Duplicate capture group name")}state.groupNames.push(state.lastStringValue);return}state.raise("Invalid group")}};pp$8.regexp_eatGroupName=function(state){state.lastStringValue="";if(state.eat(60)){if(this.regexp_eatRegExpIdentifierName(state)&&state.eat(62)){return true}state.raise("Invalid capture group name")}return false};pp$8.regexp_eatRegExpIdentifierName=function(state){state.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(state)){state.lastStringValue+=codePointToString(state.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(state)){state.lastStringValue+=codePointToString(state.lastIntValue)}return true}return false};pp$8.regexp_eatRegExpIdentifierStart=function(state){var start=state.pos;var forceU=this.options.ecmaVersion>=11;var ch=state.current(forceU);state.advance(forceU);if(ch===92&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)){ch=state.lastIntValue}if(isRegExpIdentifierStart(ch)){state.lastIntValue=ch;return true}state.pos=start;return false};function isRegExpIdentifierStart(ch){return isIdentifierStart(ch,true)||ch===36||ch===95}pp$8.regexp_eatRegExpIdentifierPart=function(state){var start=state.pos;var forceU=this.options.ecmaVersion>=11;var ch=state.current(forceU);state.advance(forceU);if(ch===92&&this.regexp_eatRegExpUnicodeEscapeSequence(state,forceU)){ch=state.lastIntValue}if(isRegExpIdentifierPart(ch)){state.lastIntValue=ch;return true}state.pos=start;return false};function isRegExpIdentifierPart(ch){return isIdentifierChar(ch,true)||ch===36||ch===95||ch===8204||ch===8205}pp$8.regexp_eatAtomEscape=function(state){if(this.regexp_eatBackReference(state)||this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)||state.switchN&&this.regexp_eatKGroupName(state)){return true}if(state.switchU){if(state.current()===99){state.raise("Invalid unicode escape")}state.raise("Invalid escape")}return false};pp$8.regexp_eatBackReference=function(state){var start=state.pos;if(this.regexp_eatDecimalEscape(state)){var n=state.lastIntValue;if(state.switchU){if(n>state.maxBackReference){state.maxBackReference=n}return true}if(n<=state.numCapturingParens){return true}state.pos=start}return false};pp$8.regexp_eatKGroupName=function(state){if(state.eat(107)){if(this.regexp_eatGroupName(state)){state.backReferenceNames.push(state.lastStringValue);return true}state.raise("Invalid named reference")}return false};pp$8.regexp_eatCharacterEscape=function(state){return this.regexp_eatControlEscape(state)||this.regexp_eatCControlLetter(state)||this.regexp_eatZero(state)||this.regexp_eatHexEscapeSequence(state)||this.regexp_eatRegExpUnicodeEscapeSequence(state,false)||!state.switchU&&this.regexp_eatLegacyOctalEscapeSequence(state)||this.regexp_eatIdentityEscape(state)};pp$8.regexp_eatCControlLetter=function(state){var start=state.pos;if(state.eat(99)){if(this.regexp_eatControlLetter(state)){return true}state.pos=start}return false};pp$8.regexp_eatZero=function(state){if(state.current()===48&&!isDecimalDigit(state.lookahead())){state.lastIntValue=0;state.advance();return true}return false};pp$8.regexp_eatControlEscape=function(state){var ch=state.current();if(ch===116){state.lastIntValue=9;state.advance();return true}if(ch===110){state.lastIntValue=10;state.advance();return true}if(ch===118){state.lastIntValue=11;state.advance();return true}if(ch===102){state.lastIntValue=12;state.advance();return true}if(ch===114){state.lastIntValue=13;state.advance();return true}return false};pp$8.regexp_eatControlLetter=function(state){var ch=state.current();if(isControlLetter(ch)){state.lastIntValue=ch%32;state.advance();return true}return false};function isControlLetter(ch){return ch>=65&&ch<=90||ch>=97&&ch<=122}pp$8.regexp_eatRegExpUnicodeEscapeSequence=function(state,forceU){if(forceU===void 0)forceU=false;var start=state.pos;var switchU=forceU||state.switchU;if(state.eat(117)){if(this.regexp_eatFixedHexDigits(state,4)){var lead=state.lastIntValue;if(switchU&&lead>=55296&&lead<=56319){var leadSurrogateEnd=state.pos;if(state.eat(92)&&state.eat(117)&&this.regexp_eatFixedHexDigits(state,4)){var trail=state.lastIntValue;if(trail>=56320&&trail<=57343){state.lastIntValue=(lead-55296)*1024+(trail-56320)+65536;return true}}state.pos=leadSurrogateEnd;state.lastIntValue=lead}return true}if(switchU&&state.eat(123)&&this.regexp_eatHexDigits(state)&&state.eat(125)&&isValidUnicode(state.lastIntValue)){return true}if(switchU){state.raise("Invalid unicode escape")}state.pos=start}return false};function isValidUnicode(ch){return ch>=0&&ch<=1114111}pp$8.regexp_eatIdentityEscape=function(state){if(state.switchU){if(this.regexp_eatSyntaxCharacter(state)){return true}if(state.eat(47)){state.lastIntValue=47;return true}return false}var ch=state.current();if(ch!==99&&(!state.switchN||ch!==107)){state.lastIntValue=ch;state.advance();return true}return false};pp$8.regexp_eatDecimalEscape=function(state){state.lastIntValue=0;var ch=state.current();if(ch>=49&&ch<=57){do{state.lastIntValue=10*state.lastIntValue+(ch-48);state.advance()}while((ch=state.current())>=48&&ch<=57);return true}return false};pp$8.regexp_eatCharacterClassEscape=function(state){var ch=state.current();if(isCharacterClassEscape(ch)){state.lastIntValue=-1;state.advance();return true}if(state.switchU&&this.options.ecmaVersion>=9&&(ch===80||ch===112)){state.lastIntValue=-1;state.advance();if(state.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(state)&&state.eat(125)){return true}state.raise("Invalid property name")}return false};function isCharacterClassEscape(ch){return ch===100||ch===68||ch===115||ch===83||ch===119||ch===87}pp$8.regexp_eatUnicodePropertyValueExpression=function(state){var start=state.pos;if(this.regexp_eatUnicodePropertyName(state)&&state.eat(61)){var name=state.lastStringValue;if(this.regexp_eatUnicodePropertyValue(state)){var value=state.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(state,name,value);return true}}state.pos=start;if(this.regexp_eatLoneUnicodePropertyNameOrValue(state)){var nameOrValue=state.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(state,nameOrValue);return true}return false};pp$8.regexp_validateUnicodePropertyNameAndValue=function(state,name,value){if(!has(state.unicodeProperties.nonBinary,name)){state.raise("Invalid property name")}if(!state.unicodeProperties.nonBinary[name].test(value)){state.raise("Invalid property value")}};pp$8.regexp_validateUnicodePropertyNameOrValue=function(state,nameOrValue){if(!state.unicodeProperties.binary.test(nameOrValue)){state.raise("Invalid property name")}};pp$8.regexp_eatUnicodePropertyName=function(state){var ch=0;state.lastStringValue="";while(isUnicodePropertyNameCharacter(ch=state.current())){state.lastStringValue+=codePointToString(ch);state.advance()}return state.lastStringValue!==""};function isUnicodePropertyNameCharacter(ch){return isControlLetter(ch)||ch===95}pp$8.regexp_eatUnicodePropertyValue=function(state){var ch=0;state.lastStringValue="";while(isUnicodePropertyValueCharacter(ch=state.current())){state.lastStringValue+=codePointToString(ch);state.advance()}return state.lastStringValue!==""};function isUnicodePropertyValueCharacter(ch){return isUnicodePropertyNameCharacter(ch)||isDecimalDigit(ch)}pp$8.regexp_eatLoneUnicodePropertyNameOrValue=function(state){return this.regexp_eatUnicodePropertyValue(state)};pp$8.regexp_eatCharacterClass=function(state){if(state.eat(91)){state.eat(94);this.regexp_classRanges(state);if(state.eat(93)){return true}state.raise("Unterminated character class")}return false};pp$8.regexp_classRanges=function(state){while(this.regexp_eatClassAtom(state)){var left=state.lastIntValue;if(state.eat(45)&&this.regexp_eatClassAtom(state)){var right=state.lastIntValue;if(state.switchU&&(left===-1||right===-1)){state.raise("Invalid character class")}if(left!==-1&&right!==-1&&left>right){state.raise("Range out of order in character class")}}}};pp$8.regexp_eatClassAtom=function(state){var start=state.pos;if(state.eat(92)){if(this.regexp_eatClassEscape(state)){return true}if(state.switchU){var ch$1=state.current();if(ch$1===99||isOctalDigit(ch$1)){state.raise("Invalid class escape")}state.raise("Invalid escape")}state.pos=start}var ch=state.current();if(ch!==93){state.lastIntValue=ch;state.advance();return true}return false};pp$8.regexp_eatClassEscape=function(state){var start=state.pos;if(state.eat(98)){state.lastIntValue=8;return true}if(state.switchU&&state.eat(45)){state.lastIntValue=45;return true}if(!state.switchU&&state.eat(99)){if(this.regexp_eatClassControlLetter(state)){return true}state.pos=start}return this.regexp_eatCharacterClassEscape(state)||this.regexp_eatCharacterEscape(state)};pp$8.regexp_eatClassControlLetter=function(state){var ch=state.current();if(isDecimalDigit(ch)||ch===95){state.lastIntValue=ch%32;state.advance();return true}return false};pp$8.regexp_eatHexEscapeSequence=function(state){var start=state.pos;if(state.eat(120)){if(this.regexp_eatFixedHexDigits(state,2)){return true}if(state.switchU){state.raise("Invalid escape")}state.pos=start}return false};pp$8.regexp_eatDecimalDigits=function(state){var start=state.pos;var ch=0;state.lastIntValue=0;while(isDecimalDigit(ch=state.current())){state.lastIntValue=10*state.lastIntValue+(ch-48);state.advance()}return state.pos!==start};function isDecimalDigit(ch){return ch>=48&&ch<=57}pp$8.regexp_eatHexDigits=function(state){var start=state.pos;var ch=0;state.lastIntValue=0;while(isHexDigit(ch=state.current())){state.lastIntValue=16*state.lastIntValue+hexToInt(ch);state.advance()}return state.pos!==start};function isHexDigit(ch){return ch>=48&&ch<=57||ch>=65&&ch<=70||ch>=97&&ch<=102}function hexToInt(ch){if(ch>=65&&ch<=70){return 10+(ch-65)}if(ch>=97&&ch<=102){return 10+(ch-97)}return ch-48}pp$8.regexp_eatLegacyOctalEscapeSequence=function(state){if(this.regexp_eatOctalDigit(state)){var n1=state.lastIntValue;if(this.regexp_eatOctalDigit(state)){var n2=state.lastIntValue;if(n1<=3&&this.regexp_eatOctalDigit(state)){state.lastIntValue=n1*64+n2*8+state.lastIntValue}else{state.lastIntValue=n1*8+n2}}else{state.lastIntValue=n1}return true}return false};pp$8.regexp_eatOctalDigit=function(state){var ch=state.current();if(isOctalDigit(ch)){state.lastIntValue=ch-48;state.advance();return true}state.lastIntValue=0;return false};function isOctalDigit(ch){return ch>=48&&ch<=55}pp$8.regexp_eatFixedHexDigits=function(state,length){var start=state.pos;state.lastIntValue=0;for(var i=0;i<length;++i){var ch=state.current();if(!isHexDigit(ch)){state.pos=start;return false}state.lastIntValue=16*state.lastIntValue+hexToInt(ch);state.advance()}return true};var Token=function Token(p){this.type=p.type;this.value=p.value;this.start=p.start;this.end=p.end;if(p.options.locations){this.loc=new SourceLocation(p,p.startLoc,p.endLoc)}if(p.options.ranges){this.range=[p.start,p.end]}};var pp$9=Parser.prototype;pp$9.next=function(ignoreEscapeSequenceInKeyword){if(!ignoreEscapeSequenceInKeyword&&this.type.keyword&&this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword)}if(this.options.onToken){this.options.onToken(new Token(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};pp$9.getToken=function(){this.next();return new Token(this)};if(typeof Symbol!=="undefined"){pp$9[Symbol.iterator]=function(){var this$1=this;return{next:function(){var token=this$1.getToken();return{done:token.type===types.eof,value:token}}}}}pp$9.curContext=function(){return this.context[this.context.length-1]};pp$9.nextToken=function(){var curContext=this.curContext();if(!curContext||!curContext.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(types.eof)}if(curContext.override){return curContext.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};pp$9.readToken=function(code){if(isIdentifierStart(code,this.options.ecmaVersion>=6)||code===92){return this.readWord()}return this.getTokenFromCode(code)};pp$9.fullCharCodeAtPos=function(){var code=this.input.charCodeAt(this.pos);if(code<=55295||code>=57344){return code}var next=this.input.charCodeAt(this.pos+1);return(code<<10)+next-56613888};pp$9.skipBlockComment=function(){var startLoc=this.options.onComment&&this.curPosition();var start=this.pos,end=this.input.indexOf("*/",this.pos+=2);if(end===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=end+2;if(this.options.locations){lineBreakG.lastIndex=start;var match;while((match=lineBreakG.exec(this.input))&&match.index<this.pos){++this.curLine;this.lineStart=match.index+match[0].length}}if(this.options.onComment){this.options.onComment(true,this.input.slice(start+2,end),start,this.pos,startLoc,this.curPosition())}};pp$9.skipLineComment=function(startSkip){var start=this.pos;var startLoc=this.options.onComment&&this.curPosition();var ch=this.input.charCodeAt(this.pos+=startSkip);while(this.pos<this.input.length&&!isNewLine(ch)){ch=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(start+startSkip,this.pos),start,this.pos,startLoc,this.curPosition())}};pp$9.skipSpace=function(){loop:while(this.pos<this.input.length){var ch=this.input.charCodeAt(this.pos);switch(ch){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break loop}break;default:if(ch>8&&ch<14||ch>=5760&&nonASCIIwhitespace.test(String.fromCharCode(ch))){++this.pos}else{break loop}}}};pp$9.finishToken=function(type,val){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var prevType=this.type;this.type=type;this.value=val;this.updateContext(prevType)};pp$9.readToken_dot=function(){var next=this.input.charCodeAt(this.pos+1);if(next>=48&&next<=57){return this.readNumber(true)}var next2=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&next===46&&next2===46){this.pos+=3;return this.finishToken(types.ellipsis)}else{++this.pos;return this.finishToken(types.dot)}};pp$9.readToken_slash=function(){var next=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(next===61){return this.finishOp(types.assign,2)}return this.finishOp(types.slash,1)};pp$9.readToken_mult_modulo_exp=function(code){var next=this.input.charCodeAt(this.pos+1);var size=1;var tokentype=code===42?types.star:types.modulo;if(this.options.ecmaVersion>=7&&code===42&&next===42){++size;tokentype=types.starstar;next=this.input.charCodeAt(this.pos+2)}if(next===61){return this.finishOp(types.assign,size+1)}return this.finishOp(tokentype,size)};pp$9.readToken_pipe_amp=function(code){var next=this.input.charCodeAt(this.pos+1);if(next===code){if(this.options.ecmaVersion>=12){var next2=this.input.charCodeAt(this.pos+2);if(next2===61){return this.finishOp(types.assign,3)}}return this.finishOp(code===124?types.logicalOR:types.logicalAND,2)}if(next===61){return this.finishOp(types.assign,2)}return this.finishOp(code===124?types.bitwiseOR:types.bitwiseAND,1)};pp$9.readToken_caret=function(){var next=this.input.charCodeAt(this.pos+1);if(next===61){return this.finishOp(types.assign,2)}return this.finishOp(types.bitwiseXOR,1)};pp$9.readToken_plus_min=function(code){var next=this.input.charCodeAt(this.pos+1);if(next===code){if(next===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||lineBreak.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(types.incDec,2)}if(next===61){return this.finishOp(types.assign,2)}return this.finishOp(types.plusMin,1)};pp$9.readToken_lt_gt=function(code){var next=this.input.charCodeAt(this.pos+1);var size=1;if(next===code){size=code===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+size)===61){return this.finishOp(types.assign,size+1)}return this.finishOp(types.bitShift,size)}if(next===33&&code===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(next===61){size=2}return this.finishOp(types.relational,size)};pp$9.readToken_eq_excl=function(code){var next=this.input.charCodeAt(this.pos+1);if(next===61){return this.finishOp(types.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(code===61&&next===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(types.arrow)}return this.finishOp(code===61?types.eq:types.prefix,1)};pp$9.readToken_question=function(){var ecmaVersion=this.options.ecmaVersion;if(ecmaVersion>=11){var next=this.input.charCodeAt(this.pos+1);if(next===46){var next2=this.input.charCodeAt(this.pos+2);if(next2<48||next2>57){return this.finishOp(types.questionDot,2)}}if(next===63){if(ecmaVersion>=12){var next2$1=this.input.charCodeAt(this.pos+2);if(next2$1===61){return this.finishOp(types.assign,3)}}return this.finishOp(types.coalesce,2)}}return this.finishOp(types.question,1)};pp$9.getTokenFromCode=function(code){switch(code){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(types.parenL);case 41:++this.pos;return this.finishToken(types.parenR);case 59:++this.pos;return this.finishToken(types.semi);case 44:++this.pos;return this.finishToken(types.comma);case 91:++this.pos;return this.finishToken(types.bracketL);case 93:++this.pos;return this.finishToken(types.bracketR);case 123:++this.pos;return this.finishToken(types.braceL);case 125:++this.pos;return this.finishToken(types.braceR);case 58:++this.pos;return this.finishToken(types.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(types.backQuote);case 48:var next=this.input.charCodeAt(this.pos+1);if(next===120||next===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(next===111||next===79){return this.readRadixNumber(8)}if(next===98||next===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(code);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(code);case 124:case 38:return this.readToken_pipe_amp(code);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(code);case 60:case 62:return this.readToken_lt_gt(code);case 61:case 33:return this.readToken_eq_excl(code);case 63:return this.readToken_question();case 126:return this.finishOp(types.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(code)+"'")};pp$9.finishOp=function(type,size){var str=this.input.slice(this.pos,this.pos+size);this.pos+=size;return this.finishToken(type,str)};pp$9.readRegexp=function(){var escaped,inClass,start=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(start,"Unterminated regular expression")}var ch=this.input.charAt(this.pos);if(lineBreak.test(ch)){this.raise(start,"Unterminated regular expression")}if(!escaped){if(ch==="["){inClass=true}else if(ch==="]"&&inClass){inClass=false}else if(ch==="/"&&!inClass){break}escaped=ch==="\\"}else{escaped=false}++this.pos}var pattern=this.input.slice(start,this.pos);++this.pos;var flagsStart=this.pos;var flags=this.readWord1();if(this.containsEsc){this.unexpected(flagsStart)}var state=this.regexpState||(this.regexpState=new RegExpValidationState(this));state.reset(start,pattern,flags);this.validateRegExpFlags(state);this.validateRegExpPattern(state);var value=null;try{value=new RegExp(pattern,flags)}catch(e){}return this.finishToken(types.regexp,{pattern:pattern,flags:flags,value:value})};pp$9.readInt=function(radix,len,maybeLegacyOctalNumericLiteral){var allowSeparators=this.options.ecmaVersion>=12&&len===undefined;var isLegacyOctalNumericLiteral=maybeLegacyOctalNumericLiteral&&this.input.charCodeAt(this.pos)===48;var start=this.pos,total=0,lastCode=0;for(var i=0,e=len==null?Infinity:len;i<e;++i,++this.pos){var code=this.input.charCodeAt(this.pos),val=void 0;if(allowSeparators&&code===95){if(isLegacyOctalNumericLiteral){this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals")}if(lastCode===95){this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore")}if(i===0){this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits")}lastCode=code;continue}if(code>=97){val=code-97+10}else if(code>=65){val=code-65+10}else if(code>=48&&code<=57){val=code-48}else{val=Infinity}if(val>=radix){break}lastCode=code;total=total*radix+val}if(allowSeparators&&lastCode===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===start||len!=null&&this.pos-start!==len){return null}return total};function stringToNumber(str,isLegacyOctalNumericLiteral){if(isLegacyOctalNumericLiteral){return parseInt(str,8)}return parseFloat(str.replace(/_/g,""))}function stringToBigInt(str){if(typeof BigInt!=="function"){return null}return BigInt(str.replace(/_/g,""))}pp$9.readRadixNumber=function(radix){var start=this.pos;this.pos+=2;var val=this.readInt(radix);if(val==null){this.raise(this.start+2,"Expected number in radix "+radix)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){val=stringToBigInt(this.input.slice(start,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(types.num,val)};pp$9.readNumber=function(startsWithDot){var start=this.pos;if(!startsWithDot&&this.readInt(10,undefined,true)===null){this.raise(start,"Invalid number")}var octal=this.pos-start>=2&&this.input.charCodeAt(start)===48;if(octal&&this.strict){this.raise(start,"Invalid number")}var next=this.input.charCodeAt(this.pos);if(!octal&&!startsWithDot&&this.options.ecmaVersion>=11&&next===110){var val$1=stringToBigInt(this.input.slice(start,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(types.num,val$1)}if(octal&&/[89]/.test(this.input.slice(start,this.pos))){octal=false}if(next===46&&!octal){++this.pos;this.readInt(10);next=this.input.charCodeAt(this.pos)}if((next===69||next===101)&&!octal){next=this.input.charCodeAt(++this.pos);if(next===43||next===45){++this.pos}if(this.readInt(10)===null){this.raise(start,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var val=stringToNumber(this.input.slice(start,this.pos),octal);return this.finishToken(types.num,val)};pp$9.readCodePoint=function(){var ch=this.input.charCodeAt(this.pos),code;if(ch===123){if(this.options.ecmaVersion<6){this.unexpected()}var codePos=++this.pos;code=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(code>1114111){this.invalidStringToken(codePos,"Code point out of bounds")}}else{code=this.readHexChar(4)}return code};function codePointToString$1(code){if(code<=65535){return String.fromCharCode(code)}code-=65536;return String.fromCharCode((code>>10)+55296,(code&1023)+56320)}pp$9.readString=function(quote){var out="",chunkStart=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var ch=this.input.charCodeAt(this.pos);if(ch===quote){break}if(ch===92){out+=this.input.slice(chunkStart,this.pos);out+=this.readEscapedChar(false);chunkStart=this.pos}else{if(isNewLine(ch,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}out+=this.input.slice(chunkStart,this.pos++);return this.finishToken(types.string,out)};var INVALID_TEMPLATE_ESCAPE_ERROR={};pp$9.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(err){if(err===INVALID_TEMPLATE_ESCAPE_ERROR){this.readInvalidTemplateToken()}else{throw err}}this.inTemplateElement=false};pp$9.invalidStringToken=function(position,message){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw INVALID_TEMPLATE_ESCAPE_ERROR}else{this.raise(position,message)}};pp$9.readTmplToken=function(){var out="",chunkStart=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var ch=this.input.charCodeAt(this.pos);if(ch===96||ch===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===types.template||this.type===types.invalidTemplate)){if(ch===36){this.pos+=2;return this.finishToken(types.dollarBraceL)}else{++this.pos;return this.finishToken(types.backQuote)}}out+=this.input.slice(chunkStart,this.pos);return this.finishToken(types.template,out)}if(ch===92){out+=this.input.slice(chunkStart,this.pos);out+=this.readEscapedChar(true);chunkStart=this.pos}else if(isNewLine(ch)){out+=this.input.slice(chunkStart,this.pos);++this.pos;switch(ch){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:out+="\n";break;default:out+=String.fromCharCode(ch);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}chunkStart=this.pos}else{++this.pos}}};pp$9.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++){switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{"){break}case"`":return this.finishToken(types.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};pp$9.readEscapedChar=function(inTemplate){var ch=this.input.charCodeAt(++this.pos);++this.pos;switch(ch){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString$1(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";case 56:case 57:if(inTemplate){var codePos=this.pos-1;this.invalidStringToken(codePos,"Invalid escape sequence in template string");return null}default:if(ch>=48&&ch<=55){var octalStr=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var octal=parseInt(octalStr,8);if(octal>255){octalStr=octalStr.slice(0,-1);octal=parseInt(octalStr,8)}this.pos+=octalStr.length-1;ch=this.input.charCodeAt(this.pos);if((octalStr!=="0"||ch===56||ch===57)&&(this.strict||inTemplate)){this.invalidStringToken(this.pos-1-octalStr.length,inTemplate?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(octal)}if(isNewLine(ch)){return""}return String.fromCharCode(ch)}};pp$9.readHexChar=function(len){var codePos=this.pos;var n=this.readInt(16,len);if(n===null){this.invalidStringToken(codePos,"Bad character escape sequence")}return n};pp$9.readWord1=function(){this.containsEsc=false;var word="",first=true,chunkStart=this.pos;var astral=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var ch=this.fullCharCodeAtPos();if(isIdentifierChar(ch,astral)){this.pos+=ch<=65535?1:2}else if(ch===92){this.containsEsc=true;word+=this.input.slice(chunkStart,this.pos);var escStart=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var esc=this.readCodePoint();if(!(first?isIdentifierStart:isIdentifierChar)(esc,astral)){this.invalidStringToken(escStart,"Invalid Unicode escape")}word+=codePointToString$1(esc);chunkStart=this.pos}else{break}first=false}return word+this.input.slice(chunkStart,this.pos)};pp$9.readWord=function(){var word=this.readWord1();var type=types.name;if(this.keywords.test(word)){type=keywords$1[word]}return this.finishToken(type,word)};var version="7.4.0";Parser.acorn={Parser:Parser,version:version,defaultOptions:defaultOptions,Position:Position,SourceLocation:SourceLocation,getLineInfo:getLineInfo,Node:Node,TokenType:TokenType,tokTypes:types,keywordTypes:keywords$1,TokContext:TokContext,tokContexts:types$1,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:Token,isNewLine:isNewLine,lineBreak:lineBreak,lineBreakG:lineBreakG,nonASCIIwhitespace:nonASCIIwhitespace};function parse(input,options){return Parser.parse(input,options)}function parseExpressionAt(input,pos,options){return Parser.parseExpressionAt(input,pos,options)}function tokenizer(input,options){return Parser.tokenizer(input,options)}exports.Node=Node;exports.Parser=Parser;exports.Position=Position;exports.SourceLocation=SourceLocation;exports.TokContext=TokContext;exports.Token=Token;exports.TokenType=TokenType;exports.defaultOptions=defaultOptions;exports.getLineInfo=getLineInfo;exports.isIdentifierChar=isIdentifierChar;exports.isIdentifierStart=isIdentifierStart;exports.isNewLine=isNewLine;exports.keywordTypes=keywords$1;exports.lineBreak=lineBreak;exports.lineBreakG=lineBreakG;exports.nonASCIIwhitespace=nonASCIIwhitespace;exports.parse=parse;exports.parseExpressionAt=parseExpressionAt;exports.tokContexts=types$1;exports.tokTypes=types;exports.tokenizer=tokenizer;exports.version=version;Object.defineProperty(exports,"__esModule",{value:true})}))},{}],7:[function(require,module,exports){"use strict";var compileSchema=require("./compile"),resolve=require("./compile/resolve"),Cache=require("./cache"),SchemaObject=require("./compile/schema_obj"),stableStringify=require("fast-json-stable-stringify"),formats=require("./compile/formats"),rules=require("./compile/rules"),$dataMetaSchema=require("./data"),util=require("./compile/util");module.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=require("./compile/async");var customKeyword=require("./keyword");Ajv.prototype.addKeyword=customKeyword.add;Ajv.prototype.getKeyword=customKeyword.get;Ajv.prototype.removeKeyword=customKeyword.remove;Ajv.prototype.validateKeyword=customKeyword.validate;var errorClasses=require("./compile/error_classes");Ajv.ValidationError=errorClasses.Validation;Ajv.MissingRefError=errorClasses.MissingRef;Ajv.$dataMetaSchema=$dataMetaSchema;var META_SCHEMA_ID="http://json-schema.org/draft-07/schema";var META_IGNORE_OPTIONS=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var META_SUPPORT_DATA=["/properties"];function Ajv(opts){if(!(this instanceof Ajv))return new Ajv(opts);opts=this._opts=util.copy(opts)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=formats(opts.format);this._cache=opts.cache||new Cache;this._loadingSchemas={};this._compilations=[];this.RULES=rules();this._getId=chooseGetId(opts);opts.loopRequired=opts.loopRequired||Infinity;if(opts.errorDataPath=="property")opts._errorDataPathProperty=true;if(opts.serialize===undefined)opts.serialize=stableStringify;this._metaOpts=getMetaSchemaOptions(this);if(opts.formats)addInitialFormats(this);if(opts.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof opts.meta=="object")this.addMetaSchema(opts.meta);if(opts.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(schemaKeyRef,data){var v;if(typeof schemaKeyRef=="string"){v=this.getSchema(schemaKeyRef);if(!v)throw new Error('no schema with key or ref "'+schemaKeyRef+'"')}else{var schemaObj=this._addSchema(schemaKeyRef);v=schemaObj.validate||this._compile(schemaObj)}var valid=v(data);if(v.$async!==true)this.errors=v.errors;return valid}function compile(schema,_meta){var schemaObj=this._addSchema(schema,undefined,_meta);return schemaObj.validate||this._compile(schemaObj)}function addSchema(schema,key,_skipValidation,_meta){if(Array.isArray(schema)){for(var i=0;i<schema.length;i++)this.addSchema(schema[i],undefined,_skipValidation,_meta);return this}var id=this._getId(schema);if(id!==undefined&&typeof id!="string")throw new Error("schema id must be string");key=resolve.normalizeId(key||id);checkUnique(this,key);this._schemas[key]=this._addSchema(schema,_skipValidation,_meta,true);return this}function addMetaSchema(schema,key,skipValidation){this.addSchema(schema,key,skipValidation,true);return this}function validateSchema(schema,throwOrLogError){var $schema=schema.$schema;if($schema!==undefined&&typeof $schema!="string")throw new Error("$schema must be a string");$schema=$schema||this._opts.defaultMeta||defaultMeta(this);if(!$schema){this.logger.warn("meta-schema not available");this.errors=null;return true}var valid=this.validate($schema,schema);if(!valid&&throwOrLogError){var message="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(message);else throw new Error(message)}return valid}function defaultMeta(self){var meta=self._opts.meta;self._opts.defaultMeta=typeof meta=="object"?self._getId(meta)||meta:self.getSchema(META_SCHEMA_ID)?META_SCHEMA_ID:undefined;return self._opts.defaultMeta}function getSchema(keyRef){var schemaObj=_getSchemaObj(this,keyRef);switch(typeof schemaObj){case"object":return schemaObj.validate||this._compile(schemaObj);case"string":return this.getSchema(schemaObj);case"undefined":return _getSchemaFragment(this,keyRef)}}function _getSchemaFragment(self,ref){var res=resolve.schema.call(self,{schema:{}},ref);if(res){var schema=res.schema,root=res.root,baseId=res.baseId;var v=compileSchema.call(self,schema,root,undefined,baseId);self._fragments[ref]=new SchemaObject({ref:ref,fragment:true,schema:schema,root:root,baseId:baseId,validate:v});return v}}function _getSchemaObj(self,keyRef){keyRef=resolve.normalizeId(keyRef);return self._schemas[keyRef]||self._refs[keyRef]||self._fragments[keyRef]}function removeSchema(schemaKeyRef){if(schemaKeyRef instanceof RegExp){_removeAllSchemas(this,this._schemas,schemaKeyRef);_removeAllSchemas(this,this._refs,schemaKeyRef);return this}switch(typeof schemaKeyRef){case"undefined":_removeAllSchemas(this,this._schemas);_removeAllSchemas(this,this._refs);this._cache.clear();return this;case"string":var schemaObj=_getSchemaObj(this,schemaKeyRef);if(schemaObj)this._cache.del(schemaObj.cacheKey);delete this._schemas[schemaKeyRef];delete this._refs[schemaKeyRef];return this;case"object":var serialize=this._opts.serialize;var cacheKey=serialize?serialize(schemaKeyRef):schemaKeyRef;this._cache.del(cacheKey);var id=this._getId(schemaKeyRef);if(id){id=resolve.normalizeId(id);delete this._schemas[id];delete this._refs[id]}}return this}function _removeAllSchemas(self,schemas,regex){for(var keyRef in schemas){var schemaObj=schemas[keyRef];if(!schemaObj.meta&&(!regex||regex.test(keyRef))){self._cache.del(schemaObj.cacheKey);delete schemas[keyRef]}}}function _addSchema(schema,skipValidation,meta,shouldAddSchema){if(typeof schema!="object"&&typeof schema!="boolean")throw new Error("schema should be object or boolean");var serialize=this._opts.serialize;var cacheKey=serialize?serialize(schema):schema;var cached=this._cache.get(cacheKey);if(cached)return cached;shouldAddSchema=shouldAddSchema||this._opts.addUsedSchema!==false;var id=resolve.normalizeId(this._getId(schema));if(id&&shouldAddSchema)checkUnique(this,id);var willValidate=this._opts.validateSchema!==false&&!skipValidation;var recursiveMeta;if(willValidate&&!(recursiveMeta=id&&id==resolve.normalizeId(schema.$schema)))this.validateSchema(schema,true);var localRefs=resolve.ids.call(this,schema);var schemaObj=new SchemaObject({id:id,schema:schema,localRefs:localRefs,cacheKey:cacheKey,meta:meta});if(id[0]!="#"&&shouldAddSchema)this._refs[id]=schemaObj;this._cache.put(cacheKey,schemaObj);if(willValidate&&recursiveMeta)this.validateSchema(schema,true);return schemaObj}function _compile(schemaObj,root){if(schemaObj.compiling){schemaObj.validate=callValidate;callValidate.schema=schemaObj.schema;callValidate.errors=null;callValidate.root=root?root:callValidate;if(schemaObj.schema.$async===true)callValidate.$async=true;return callValidate}schemaObj.compiling=true;var currentOpts;if(schemaObj.meta){currentOpts=this._opts;this._opts=this._metaOpts}var v;try{v=compileSchema.call(this,schemaObj.schema,root,schemaObj.localRefs)}catch(e){delete schemaObj.validate;throw e}finally{schemaObj.compiling=false;if(schemaObj.meta)this._opts=currentOpts}schemaObj.validate=v;schemaObj.refs=v.refs;schemaObj.refVal=v.refVal;schemaObj.root=v.root;return v;function callValidate(){var _validate=schemaObj.validate;var result=_validate.apply(this,arguments);callValidate.errors=_validate.errors;return result}}function chooseGetId(opts){switch(opts.schemaId){case"auto":return _get$IdOrId;case"id":return _getId;default:return _get$Id}}function _getId(schema){if(schema.$id)this.logger.warn("schema $id ignored",schema.$id);return schema.id}function _get$Id(schema){if(schema.id)this.logger.warn("schema id ignored",schema.id);return schema.$id}function _get$IdOrId(schema){if(schema.$id&&schema.id&&schema.$id!=schema.id)throw new Error("schema $id is different from id");return schema.$id||schema.id}function errorsText(errors,options){errors=errors||this.errors;if(!errors)return"No errors";options=options||{};var separator=options.separator===undefined?", ":options.separator;var dataVar=options.dataVar===undefined?"data":options.dataVar;var text="";for(var i=0;i<errors.length;i++){var e=errors[i];if(e)text+=dataVar+e.dataPath+" "+e.message+separator}return text.slice(0,-separator.length)}function addFormat(name,format){if(typeof format=="string")format=new RegExp(format);this._formats[name]=format;return this}function addDefaultMetaSchema(self){var $dataSchema;if(self._opts.$data){$dataSchema=require("./refs/data.json");self.addMetaSchema($dataSchema,$dataSchema.$id,true)}if(self._opts.meta===false)return;var metaSchema=require("./refs/json-schema-draft-07.json");if(self._opts.$data)metaSchema=$dataMetaSchema(metaSchema,META_SUPPORT_DATA);self.addMetaSchema(metaSchema,META_SCHEMA_ID,true);self._refs["http://json-schema.org/schema"]=META_SCHEMA_ID}function addInitialSchemas(self){var optsSchemas=self._opts.schemas;if(!optsSchemas)return;if(Array.isArray(optsSchemas))self.addSchema(optsSchemas);else for(var key in optsSchemas)self.addSchema(optsSchemas[key],key)}function addInitialFormats(self){for(var name in self._opts.formats){var format=self._opts.formats[name];self.addFormat(name,format)}}function addInitialKeywords(self){for(var name in self._opts.keywords){var keyword=self._opts.keywords[name];self.addKeyword(name,keyword)}}function checkUnique(self,id){if(self._schemas[id]||self._refs[id])throw new Error('schema with key or id "'+id+'" already exists')}function getMetaSchemaOptions(self){var metaOpts=util.copy(self._opts);for(var i=0;i<META_IGNORE_OPTIONS.length;i++)delete metaOpts[META_IGNORE_OPTIONS[i]];return metaOpts}function setLogger(self){var logger=self._opts.logger;if(logger===false){self.logger={log:noop,warn:noop,error:noop}}else{if(logger===undefined)logger=console;if(!(typeof logger=="object"&&logger.log&&logger.warn&&logger.error))throw new Error("logger must implement log, warn and error methods");self.logger=logger}}function noop(){}},{"./cache":8,"./compile":12,"./compile/async":9,"./compile/error_classes":10,"./compile/formats":11,"./compile/resolve":13,"./compile/rules":14,"./compile/schema_obj":15,"./compile/util":17,"./data":18,"./keyword":46,"./refs/data.json":47,"./refs/json-schema-draft-07.json":49,"fast-json-stable-stringify":246}],8:[function(require,module,exports){"use strict";var Cache=module.exports=function Cache(){this._cache={}};Cache.prototype.put=function Cache_put(key,value){this._cache[key]=value};Cache.prototype.get=function Cache_get(key){return this._cache[key]};Cache.prototype.del=function Cache_del(key){delete this._cache[key]};Cache.prototype.clear=function Cache_clear(){this._cache={}}},{}],9:[function(require,module,exports){"use strict";var MissingRefError=require("./error_classes").MissingRef;module.exports=compileAsync;function compileAsync(schema,meta,callback){var self=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof meta=="function"){callback=meta;meta=undefined}var p=loadMetaSchemaOf(schema).then((function(){var schemaObj=self._addSchema(schema,undefined,meta);return schemaObj.validate||_compileAsync(schemaObj)}));if(callback){p.then((function(v){callback(null,v)}),callback)}return p;function loadMetaSchemaOf(sch){var $schema=sch.$schema;return $schema&&!self.getSchema($schema)?compileAsync.call(self,{$ref:$schema},true):Promise.resolve()}function _compileAsync(schemaObj){try{return self._compile(schemaObj)}catch(e){if(e instanceof MissingRefError)return loadMissingSchema(e);throw e}function loadMissingSchema(e){var ref=e.missingSchema;if(added(ref))throw new Error("Schema "+ref+" is loaded but "+e.missingRef+" cannot be resolved");var schemaPromise=self._loadingSchemas[ref];if(!schemaPromise){schemaPromise=self._loadingSchemas[ref]=self._opts.loadSchema(ref);schemaPromise.then(removePromise,removePromise)}return schemaPromise.then((function(sch){if(!added(ref)){return loadMetaSchemaOf(sch).then((function(){if(!added(ref))self.addSchema(sch,ref,undefined,meta)}))}})).then((function(){return _compileAsync(schemaObj)}));function removePromise(){delete self._loadingSchemas[ref]}function added(ref){return self._refs[ref]||self._schemas[ref]}}}}},{"./error_classes":10}],10:[function(require,module,exports){"use strict";var resolve=require("./resolve");module.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(errors){this.message="validation failed";this.errors=errors;this.ajv=this.validation=true}MissingRefError.message=function(baseId,ref){return"can't resolve reference "+ref+" from id "+baseId};function MissingRefError(baseId,ref,message){this.message=message||MissingRefError.message(baseId,ref);this.missingRef=resolve.url(baseId,ref);this.missingSchema=resolve.normalizeId(resolve.fullPath(this.missingRef))}function errorSubclass(Subclass){Subclass.prototype=Object.create(Error.prototype);Subclass.prototype.constructor=Subclass;return Subclass}},{"./resolve":13}],11:[function(require,module,exports){"use strict";var util=require("./util");var DATE=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var DAYS=[0,31,28,31,30,31,30,31,31,30,31,30,31];var TIME=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var HOSTNAME=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var URI=/^(?:[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;var URIREF=/^(?:[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;var URITEMPLATE=/^(?:(?:[^\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;var URL=/^(?:(?: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;var UUID=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var JSON_POINTER=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var JSON_POINTER_URI_FRAGMENT=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var RELATIVE_JSON_POINTER=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;module.exports=formats;function formats(mode){mode=mode=="full"?"full":"fast";return util.copy(formats[mode])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\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|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":URITEMPLATE,url:URL,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:HOSTNAME,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:regex,uuid:UUID,"json-pointer":JSON_POINTER,"json-pointer-uri-fragment":JSON_POINTER_URI_FRAGMENT,"relative-json-pointer":RELATIVE_JSON_POINTER};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":URIREF,"uri-template":URITEMPLATE,url:URL,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:HOSTNAME,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:regex,uuid:UUID,"json-pointer":JSON_POINTER,"json-pointer-uri-fragment":JSON_POINTER_URI_FRAGMENT,"relative-json-pointer":RELATIVE_JSON_POINTER};function isLeapYear(year){return year%4===0&&(year%100!==0||year%400===0)}function date(str){var matches=str.match(DATE);if(!matches)return false;var year=+matches[1];var month=+matches[2];var day=+matches[3];return month>=1&&month<=12&&day>=1&&day<=(month==2&&isLeapYear(year)?29:DAYS[month])}function time(str,full){var matches=str.match(TIME);if(!matches)return false;var hour=matches[1];var minute=matches[2];var second=matches[3];var timeZone=matches[5];return(hour<=23&&minute<=59&&second<=59||hour==23&&minute==59&&second==60)&&(!full||timeZone)}var DATE_TIME_SEPARATOR=/t|\s/i;function date_time(str){var dateTime=str.split(DATE_TIME_SEPARATOR);return dateTime.length==2&&date(dateTime[0])&&time(dateTime[1],true)}var NOT_URI_FRAGMENT=/\/|:/;function uri(str){return NOT_URI_FRAGMENT.test(str)&&URI.test(str)}var Z_ANCHOR=/[^\\]\\Z/;function regex(str){if(Z_ANCHOR.test(str))return false;try{new RegExp(str);return true}catch(e){return false}}},{"./util":17}],12:[function(require,module,exports){"use strict";var resolve=require("./resolve"),util=require("./util"),errorClasses=require("./error_classes"),stableStringify=require("fast-json-stable-stringify");var validateGenerator=require("../dotjs/validate");var ucs2length=util.ucs2length;var equal=require("fast-deep-equal");var ValidationError=errorClasses.Validation;module.exports=compile;function compile(schema,root,localRefs,baseId){var self=this,opts=this._opts,refVal=[undefined],refs={},patterns=[],patternsHash={},defaults=[],defaultsHash={},customRules=[];root=root||{schema:schema,refVal:refVal,refs:refs};var c=checkCompiling.call(this,schema,root,baseId);var compilation=this._compilations[c.index];if(c.compiling)return compilation.callValidate=callValidate;var formats=this._formats;var RULES=this.RULES;try{var v=localCompile(schema,root,localRefs,baseId);compilation.validate=v;var cv=compilation.callValidate;if(cv){cv.schema=v.schema;cv.errors=null;cv.refs=v.refs;cv.refVal=v.refVal;cv.root=v.root;cv.$async=v.$async;if(opts.sourceCode)cv.source=v.source}return v}finally{endCompiling.call(this,schema,root,baseId)}function callValidate(){var validate=compilation.validate;var result=validate.apply(this,arguments);callValidate.errors=validate.errors;return result}function localCompile(_schema,_root,localRefs,baseId){var isRoot=!_root||_root&&_root.schema==_schema;if(_root.schema!=root.schema)return compile.call(self,_schema,_root,localRefs,baseId);var $async=_schema.$async===true;var sourceCode=validateGenerator({isTop:true,schema:_schema,isRoot:isRoot,baseId:baseId,root:_root,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:errorClasses.MissingRef,RULES:RULES,validate:validateGenerator,util:util,resolve:resolve,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:opts,formats:formats,logger:self.logger,self:self});sourceCode=vars(refVal,refValCode)+vars(patterns,patternCode)+vars(defaults,defaultCode)+vars(customRules,customRuleCode)+sourceCode;if(opts.processCode)sourceCode=opts.processCode(sourceCode,_schema);var validate;try{var makeValidate=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",sourceCode);validate=makeValidate(self,RULES,formats,root,refVal,defaults,customRules,equal,ucs2length,ValidationError);refVal[0]=validate}catch(e){self.logger.error("Error compiling schema, function code:",sourceCode);throw e}validate.schema=_schema;validate.errors=null;validate.refs=refs;validate.refVal=refVal;validate.root=isRoot?validate:_root;if($async)validate.$async=true;if(opts.sourceCode===true){validate.source={code:sourceCode,patterns:patterns,defaults:defaults}}return validate}function resolveRef(baseId,ref,isRoot){ref=resolve.url(baseId,ref);var refIndex=refs[ref];var _refVal,refCode;if(refIndex!==undefined){_refVal=refVal[refIndex];refCode="refVal["+refIndex+"]";return resolvedRef(_refVal,refCode)}if(!isRoot&&root.refs){var rootRefId=root.refs[ref];if(rootRefId!==undefined){_refVal=root.refVal[rootRefId];refCode=addLocalRef(ref,_refVal);return resolvedRef(_refVal,refCode)}}refCode=addLocalRef(ref);var v=resolve.call(self,localCompile,root,ref);if(v===undefined){var localSchema=localRefs&&localRefs[ref];if(localSchema){v=resolve.inlineRef(localSchema,opts.inlineRefs)?localSchema:compile.call(self,localSchema,root,localRefs,baseId)}}if(v===undefined){removeLocalRef(ref)}else{replaceLocalRef(ref,v);return resolvedRef(v,refCode)}}function addLocalRef(ref,v){var refId=refVal.length;refVal[refId]=v;refs[ref]=refId;return"refVal"+refId}function removeLocalRef(ref){delete refs[ref]}function replaceLocalRef(ref,v){var refId=refs[ref];refVal[refId]=v}function resolvedRef(refVal,code){return typeof refVal=="object"||typeof refVal=="boolean"?{code:code,schema:refVal,inline:true}:{code:code,$async:refVal&&!!refVal.$async}}function usePattern(regexStr){var index=patternsHash[regexStr];if(index===undefined){index=patternsHash[regexStr]=patterns.length;patterns[index]=regexStr}return"pattern"+index}function useDefault(value){switch(typeof value){case"boolean":case"number":return""+value;case"string":return util.toQuotedString(value);case"object":if(value===null)return"null";var valueStr=stableStringify(value);var index=defaultsHash[valueStr];if(index===undefined){index=defaultsHash[valueStr]=defaults.length;defaults[index]=value}return"default"+index}}function useCustomRule(rule,schema,parentSchema,it){if(self._opts.validateSchema!==false){var deps=rule.definition.dependencies;if(deps&&!deps.every((function(keyword){return Object.prototype.hasOwnProperty.call(parentSchema,keyword)})))throw new Error("parent schema must have all required keywords: "+deps.join(","));var validateSchema=rule.definition.validateSchema;if(validateSchema){var valid=validateSchema(schema);if(!valid){var message="keyword schema is invalid: "+self.errorsText(validateSchema.errors);if(self._opts.validateSchema=="log")self.logger.error(message);else throw new Error(message)}}}var compile=rule.definition.compile,inline=rule.definition.inline,macro=rule.definition.macro;var validate;if(compile){validate=compile.call(self,schema,parentSchema,it)}else if(macro){validate=macro.call(self,schema,parentSchema,it);if(opts.validateSchema!==false)self.validateSchema(validate,true)}else if(inline){validate=inline.call(self,it,rule.keyword,schema,parentSchema)}else{validate=rule.definition.validate;if(!validate)return}if(validate===undefined)throw new Error('custom keyword "'+rule.keyword+'"failed to compile');var index=customRules.length;customRules[index]=validate;return{code:"customRule"+index,validate:validate}}}function checkCompiling(schema,root,baseId){var index=compIndex.call(this,schema,root,baseId);if(index>=0)return{index:index,compiling:true};index=this._compilations.length;this._compilations[index]={schema:schema,root:root,baseId:baseId};return{index:index,compiling:false}}function endCompiling(schema,root,baseId){var i=compIndex.call(this,schema,root,baseId);if(i>=0)this._compilations.splice(i,1)}function compIndex(schema,root,baseId){for(var i=0;i<this._compilations.length;i++){var c=this._compilations[i];if(c.schema==schema&&c.root==root&&c.baseId==baseId)return i}return-1}function patternCode(i,patterns){return"var pattern"+i+" = new RegExp("+util.toQuotedString(patterns[i])+");"}function defaultCode(i){return"var default"+i+" = defaults["+i+"];"}function refValCode(i,refVal){return refVal[i]===undefined?"":"var refVal"+i+" = refVal["+i+"];"}function customRuleCode(i){return"var customRule"+i+" = customRules["+i+"];"}function vars(arr,statement){if(!arr.length)return"";var code="";for(var i=0;i<arr.length;i++)code+=statement(i,arr);return code}},{"../dotjs/validate":45,"./error_classes":10,"./resolve":13,"./util":17,"fast-deep-equal":245,"fast-json-stable-stringify":246}],13:[function(require,module,exports){"use strict";var URI=require("uri-js"),equal=require("fast-deep-equal"),util=require("./util"),SchemaObject=require("./schema_obj"),traverse=require("json-schema-traverse");module.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(compile,root,ref){var refVal=this._refs[ref];if(typeof refVal=="string"){if(this._refs[refVal])refVal=this._refs[refVal];else return resolve.call(this,compile,root,refVal)}refVal=refVal||this._schemas[ref];if(refVal instanceof SchemaObject){return inlineRef(refVal.schema,this._opts.inlineRefs)?refVal.schema:refVal.validate||this._compile(refVal)}var res=resolveSchema.call(this,root,ref);var schema,v,baseId;if(res){schema=res.schema;root=res.root;baseId=res.baseId}if(schema instanceof SchemaObject){v=schema.validate||compile.call(this,schema.schema,root,undefined,baseId)}else if(schema!==undefined){v=inlineRef(schema,this._opts.inlineRefs)?schema:compile.call(this,schema,root,undefined,baseId)}return v}function resolveSchema(root,ref){var p=URI.parse(ref),refPath=_getFullPath(p),baseId=getFullPath(this._getId(root.schema));if(Object.keys(root.schema).length===0||refPath!==baseId){var id=normalizeId(refPath);var refVal=this._refs[id];if(typeof refVal=="string"){return resolveRecursive.call(this,root,refVal,p)}else if(refVal instanceof SchemaObject){if(!refVal.validate)this._compile(refVal);root=refVal}else{refVal=this._schemas[id];if(refVal instanceof SchemaObject){if(!refVal.validate)this._compile(refVal);if(id==normalizeId(ref))return{schema:refVal,root:root,baseId:baseId};root=refVal}else{return}}if(!root.schema)return;baseId=getFullPath(this._getId(root.schema))}return getJsonPointer.call(this,p,baseId,root.schema,root)}function resolveRecursive(root,ref,parsedRef){var res=resolveSchema.call(this,root,ref);if(res){var schema=res.schema;var baseId=res.baseId;root=res.root;var id=this._getId(schema);if(id)baseId=resolveUrl(baseId,id);return getJsonPointer.call(this,parsedRef,baseId,schema,root)}}var PREVENT_SCOPE_CHANGE=util.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(parsedRef,baseId,schema,root){parsedRef.fragment=parsedRef.fragment||"";if(parsedRef.fragment.slice(0,1)!="/")return;var parts=parsedRef.fragment.split("/");for(var i=1;i<parts.length;i++){var part=parts[i];if(part){part=util.unescapeFragment(part);schema=schema[part];if(schema===undefined)break;var id;if(!PREVENT_SCOPE_CHANGE[part]){id=this._getId(schema);if(id)baseId=resolveUrl(baseId,id);if(schema.$ref){var $ref=resolveUrl(baseId,schema.$ref);var res=resolveSchema.call(this,root,$ref);if(res){schema=res.schema;root=res.root;baseId=res.baseId}}}}}if(schema!==undefined&&schema!==root.schema)return{schema:schema,root:root,baseId:baseId}}var SIMPLE_INLINED=util.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function inlineRef(schema,limit){if(limit===false)return false;if(limit===undefined||limit===true)return checkNoRef(schema);else if(limit)return countKeys(schema)<=limit}function checkNoRef(schema){var item;if(Array.isArray(schema)){for(var i=0;i<schema.length;i++){item=schema[i];if(typeof item=="object"&&!checkNoRef(item))return false}}else{for(var key in schema){if(key=="$ref")return false;item=schema[key];if(typeof item=="object"&&!checkNoRef(item))return false}}return true}function countKeys(schema){var count=0,item;if(Array.isArray(schema)){for(var i=0;i<schema.length;i++){item=schema[i];if(typeof item=="object")count+=countKeys(item);if(count==Infinity)return Infinity}}else{for(var key in schema){if(key=="$ref")return Infinity;if(SIMPLE_INLINED[key]){count++}else{item=schema[key];if(typeof item=="object")count+=countKeys(item)+1;if(count==Infinity)return Infinity}}}return count}function getFullPath(id,normalize){if(normalize!==false)id=normalizeId(id);var p=URI.parse(id);return _getFullPath(p)}function _getFullPath(p){return URI.serialize(p).split("#")[0]+"#"}var TRAILING_SLASH_HASH=/#\/?$/;function normalizeId(id){return id?id.replace(TRAILING_SLASH_HASH,""):""}function resolveUrl(baseId,id){id=normalizeId(id);return URI.resolve(baseId,id)}function resolveIds(schema){var schemaId=normalizeId(this._getId(schema));var baseIds={"":schemaId};var fullPaths={"":getFullPath(schemaId,false)};var localRefs={};var self=this;traverse(schema,{allKeys:true},(function(sch,jsonPtr,rootSchema,parentJsonPtr,parentKeyword,parentSchema,keyIndex){if(jsonPtr==="")return;var id=self._getId(sch);var baseId=baseIds[parentJsonPtr];var fullPath=fullPaths[parentJsonPtr]+"/"+parentKeyword;if(keyIndex!==undefined)fullPath+="/"+(typeof keyIndex=="number"?keyIndex:util.escapeFragment(keyIndex));if(typeof id=="string"){id=baseId=normalizeId(baseId?URI.resolve(baseId,id):id);var refVal=self._refs[id];if(typeof refVal=="string")refVal=self._refs[refVal];if(refVal&&refVal.schema){if(!equal(sch,refVal.schema))throw new Error('id "'+id+'" resolves to more than one schema')}else if(id!=normalizeId(fullPath)){if(id[0]=="#"){if(localRefs[id]&&!equal(sch,localRefs[id]))throw new Error('id "'+id+'" resolves to more than one schema');localRefs[id]=sch}else{self._refs[id]=fullPath}}}baseIds[jsonPtr]=baseId;fullPaths[jsonPtr]=fullPath}));return localRefs}},{"./schema_obj":15,"./util":17,"fast-deep-equal":245,"json-schema-traverse":778,"uri-js":994}],14:[function(require,module,exports){"use strict";var ruleModules=require("../dotjs"),toHash=require("./util").toHash;module.exports=function rules(){var RULES=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var ALL=["type","$comment"];var KEYWORDS=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var TYPES=["number","integer","string","array","object","boolean","null"];RULES.all=toHash(ALL);RULES.types=toHash(TYPES);RULES.forEach((function(group){group.rules=group.rules.map((function(keyword){var implKeywords;if(typeof keyword=="object"){var key=Object.keys(keyword)[0];implKeywords=keyword[key];keyword=key;implKeywords.forEach((function(k){ALL.push(k);RULES.all[k]=true}))}ALL.push(keyword);var rule=RULES.all[keyword]={keyword:keyword,code:ruleModules[keyword],implements:implKeywords};return rule}));RULES.all.$comment={keyword:"$comment",code:ruleModules.$comment};if(group.type)RULES.types[group.type]=group}));RULES.keywords=toHash(ALL.concat(KEYWORDS));RULES.custom={};return RULES}},{"../dotjs":34,"./util":17}],15:[function(require,module,exports){"use strict";var util=require("./util");module.exports=SchemaObject;function SchemaObject(obj){util.copy(obj,this)}},{"./util":17}],16:[function(require,module,exports){"use strict";module.exports=function ucs2length(str){var length=0,len=str.length,pos=0,value;while(pos<len){length++;value=str.charCodeAt(pos++);if(value>=55296&&value<=56319&&pos<len){value=str.charCodeAt(pos);if((value&64512)==56320)pos++}}return length}},{}],17:[function(require,module,exports){"use strict";module.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:require("fast-deep-equal"),ucs2length:require("./ucs2length"),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(o,to){to=to||{};for(var key in o)to[key]=o[key];return to}function checkDataType(dataType,data,strictNumbers,negate){var EQUAL=negate?" !== ":" === ",AND=negate?" || ":" && ",OK=negate?"!":"",NOT=negate?"":"!";switch(dataType){case"null":return data+EQUAL+"null";case"array":return OK+"Array.isArray("+data+")";case"object":return"("+OK+data+AND+"typeof "+data+EQUAL+'"object"'+AND+NOT+"Array.isArray("+data+"))";case"integer":return"(typeof "+data+EQUAL+'"number"'+AND+NOT+"("+data+" % 1)"+AND+data+EQUAL+data+(strictNumbers?AND+OK+"isFinite("+data+")":"")+")";case"number":return"(typeof "+data+EQUAL+'"'+dataType+'"'+(strictNumbers?AND+OK+"isFinite("+data+")":"")+")";default:return"typeof "+data+EQUAL+'"'+dataType+'"'}}function checkDataTypes(dataTypes,data,strictNumbers){switch(dataTypes.length){case 1:return checkDataType(dataTypes[0],data,strictNumbers,true);default:var code="";var types=toHash(dataTypes);if(types.array&&types.object){code=types.null?"(":"(!"+data+" || ";code+="typeof "+data+' !== "object")';delete types.null;delete types.array;delete types.object}if(types.number)delete types.integer;for(var t in types)code+=(code?" && ":"")+checkDataType(t,data,strictNumbers,true);return code}}var COERCE_TO_TYPES=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(optionCoerceTypes,dataTypes){if(Array.isArray(dataTypes)){var types=[];for(var i=0;i<dataTypes.length;i++){var t=dataTypes[i];if(COERCE_TO_TYPES[t])types[types.length]=t;else if(optionCoerceTypes==="array"&&t==="array")types[types.length]=t}if(types.length)return types}else if(COERCE_TO_TYPES[dataTypes]){return[dataTypes]}else if(optionCoerceTypes==="array"&&dataTypes==="array"){return["array"]}}function toHash(arr){var hash={};for(var i=0;i<arr.length;i++)hash[arr[i]]=true;return hash}var IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var SINGLE_QUOTE=/'|\\/g;function getProperty(key){return typeof key=="number"?"["+key+"]":IDENTIFIER.test(key)?"."+key:"['"+escapeQuotes(key)+"']"}function escapeQuotes(str){return str.replace(SINGLE_QUOTE,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function varOccurences(str,dataVar){dataVar+="[^0-9]";var matches=str.match(new RegExp(dataVar,"g"));return matches?matches.length:0}function varReplace(str,dataVar,expr){dataVar+="([^0-9])";expr=expr.replace(/\$/g,"$$$$");return str.replace(new RegExp(dataVar,"g"),expr+"$1")}function schemaHasRules(schema,rules){if(typeof schema=="boolean")return!schema;for(var key in schema)if(rules[key])return true}function schemaHasRulesExcept(schema,rules,exceptKeyword){if(typeof schema=="boolean")return!schema&&exceptKeyword!="not";for(var key in schema)if(key!=exceptKeyword&&rules[key])return true}function schemaUnknownRules(schema,rules){if(typeof schema=="boolean")return;for(var key in schema)if(!rules[key])return key}function toQuotedString(str){return"'"+escapeQuotes(str)+"'"}function getPathExpr(currentPath,expr,jsonPointers,isNumber){var path=jsonPointers?"'/' + "+expr+(isNumber?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):isNumber?"'[' + "+expr+" + ']'":"'[\\'' + "+expr+" + '\\']'";return joinPaths(currentPath,path)}function getPath(currentPath,prop,jsonPointers){var path=jsonPointers?toQuotedString("/"+escapeJsonPointer(prop)):toQuotedString(getProperty(prop));return joinPaths(currentPath,path)}var JSON_POINTER=/^\/(?:[^~]|~0|~1)*$/;var RELATIVE_JSON_POINTER=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function getData($data,lvl,paths){var up,jsonPointer,data,matches;if($data==="")return"rootData";if($data[0]=="/"){if(!JSON_POINTER.test($data))throw new Error("Invalid JSON-pointer: "+$data);jsonPointer=$data;data="rootData"}else{matches=$data.match(RELATIVE_JSON_POINTER);if(!matches)throw new Error("Invalid JSON-pointer: "+$data);up=+matches[1];jsonPointer=matches[2];if(jsonPointer=="#"){if(up>=lvl)throw new Error("Cannot access property/index "+up+" levels up, current level is "+lvl);return paths[lvl-up]}if(up>lvl)throw new Error("Cannot access data "+up+" levels up, current level is "+lvl);data="data"+(lvl-up||"");if(!jsonPointer)return data}var expr=data;var segments=jsonPointer.split("/");for(var i=0;i<segments.length;i++){var segment=segments[i];if(segment){data+=getProperty(unescapeJsonPointer(segment));expr+=" && "+data}}return expr}function joinPaths(a,b){if(a=='""')return b;return(a+" + "+b).replace(/([^\\])' \+ '/g,"$1")}function unescapeFragment(str){return unescapeJsonPointer(decodeURIComponent(str))}function escapeFragment(str){return encodeURIComponent(escapeJsonPointer(str))}function escapeJsonPointer(str){return str.replace(/~/g,"~0").replace(/\//g,"~1")}function unescapeJsonPointer(str){return str.replace(/~1/g,"/").replace(/~0/g,"~")}},{"./ucs2length":16,"fast-deep-equal":245}],18:[function(require,module,exports){"use strict";var KEYWORDS=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];module.exports=function(metaSchema,keywordsJsonPointers){for(var i=0;i<keywordsJsonPointers.length;i++){metaSchema=JSON.parse(JSON.stringify(metaSchema));var segments=keywordsJsonPointers[i].split("/");var keywords=metaSchema;var j;for(j=1;j<segments.length;j++)keywords=keywords[segments[j]];for(j=0;j<KEYWORDS.length;j++){var key=KEYWORDS[j];var schema=keywords[key];if(schema){keywords[key]={anyOf:[schema,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}}}return metaSchema}},{}],19:[function(require,module,exports){"use strict";var metaSchema=require("./refs/json-schema-draft-07.json");module.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:metaSchema.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:metaSchema.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},{"./refs/json-schema-draft-07.json":49}],20:[function(require,module,exports){"use strict";module.exports=function generate__limit(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $isMax=$keyword=="maximum",$exclusiveKeyword=$isMax?"exclusiveMaximum":"exclusiveMinimum",$schemaExcl=it.schema[$exclusiveKeyword],$isDataExcl=it.opts.$data&&$schemaExcl&&$schemaExcl.$data,$op=$isMax?"<":">",$notOp=$isMax?">":"<",$errorKeyword=undefined;if(!($isData||typeof $schema=="number"||$schema===undefined)){throw new Error($keyword+" must be number")}if(!($isDataExcl||$schemaExcl===undefined||typeof $schemaExcl=="number"||typeof $schemaExcl=="boolean")){throw new Error($exclusiveKeyword+" must be number or boolean")}if($isDataExcl){var $schemaValueExcl=it.util.getData($schemaExcl.$data,$dataLvl,it.dataPathArr),$exclusive="exclusive"+$lvl,$exclType="exclType"+$lvl,$exclIsNumber="exclIsNumber"+$lvl,$opExpr="op"+$lvl,$opStr="' + "+$opExpr+" + '";out+=" var schemaExcl"+$lvl+" = "+$schemaValueExcl+"; ";$schemaValueExcl="schemaExcl"+$lvl;out+=" var "+$exclusive+"; var "+$exclType+" = typeof "+$schemaValueExcl+"; if ("+$exclType+" != 'boolean' && "+$exclType+" != 'undefined' && "+$exclType+" != 'number') { ";var $errorKeyword=$exclusiveKeyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: '"+$exclusiveKeyword+" should be boolean' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" "+$exclType+" == 'number' ? ( ("+$exclusive+" = "+$schemaValue+" === undefined || "+$schemaValueExcl+" "+$op+"= "+$schemaValue+") ? "+$data+" "+$notOp+"= "+$schemaValueExcl+" : "+$data+" "+$notOp+" "+$schemaValue+" ) : ( ("+$exclusive+" = "+$schemaValueExcl+" === true) ? "+$data+" "+$notOp+"= "+$schemaValue+" : "+$data+" "+$notOp+" "+$schemaValue+" ) || "+$data+" !== "+$data+") { var op"+$lvl+" = "+$exclusive+" ? '"+$op+"' : '"+$op+"='; ";if($schema===undefined){$errorKeyword=$exclusiveKeyword;$errSchemaPath=it.errSchemaPath+"/"+$exclusiveKeyword;$schemaValue=$schemaValueExcl;$isData=$isDataExcl}}else{var $exclIsNumber=typeof $schemaExcl=="number",$opStr=$op;if($exclIsNumber&&$isData){var $opExpr="'"+$opStr+"'";out+=" if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" ( "+$schemaValue+" === undefined || "+$schemaExcl+" "+$op+"= "+$schemaValue+" ? "+$data+" "+$notOp+"= "+$schemaExcl+" : "+$data+" "+$notOp+" "+$schemaValue+" ) || "+$data+" !== "+$data+") { "}else{if($exclIsNumber&&$schema===undefined){$exclusive=true;$errorKeyword=$exclusiveKeyword;$errSchemaPath=it.errSchemaPath+"/"+$exclusiveKeyword;$schemaValue=$schemaExcl;$notOp+="="}else{if($exclIsNumber)$schemaValue=Math[$isMax?"min":"max"]($schemaExcl,$schema);if($schemaExcl===($exclIsNumber?$schemaValue:true)){$exclusive=true;$errorKeyword=$exclusiveKeyword;$errSchemaPath=it.errSchemaPath+"/"+$exclusiveKeyword;$notOp+="="}else{$exclusive=false;$opStr+="="}}var $opExpr="'"+$opStr+"'";out+=" if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" "+$data+" "+$notOp+" "+$schemaValue+" || "+$data+" !== "+$data+") { "}}$errorKeyword=$errorKeyword||$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limit")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { comparison: "+$opExpr+", limit: "+$schemaValue+", exclusive: "+$exclusive+" } ";if(it.opts.messages!==false){out+=" , message: 'should be "+$opStr+" ";if($isData){out+="' + "+$schemaValue}else{out+=""+$schemaValue+"'"}}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";if($breakOnError){out+=" else { "}return out}},{}],21:[function(require,module,exports){"use strict";module.exports=function generate__limitItems(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}var $op=$keyword=="maxItems"?">":"<";out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" "+$data+".length "+$op+" "+$schemaValue+") { ";var $errorKeyword=$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limitItems")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have ";if($keyword=="maxItems"){out+="more"}else{out+="fewer"}out+=" than ";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+$schema}out+=" items' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],22:[function(require,module,exports){"use strict";module.exports=function generate__limitLength(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}var $op=$keyword=="maxLength"?">":"<";out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}if(it.opts.unicode===false){out+=" "+$data+".length "}else{out+=" ucs2length("+$data+") "}out+=" "+$op+" "+$schemaValue+") { ";var $errorKeyword=$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limitLength")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT be ";if($keyword=="maxLength"){out+="longer"}else{out+="shorter"}out+=" than ";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+$schema}out+=" characters' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],23:[function(require,module,exports){"use strict";module.exports=function generate__limitProperties(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}var $op=$keyword=="maxProperties"?">":"<";out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'number') || "}out+=" Object.keys("+$data+").length "+$op+" "+$schemaValue+") { ";var $errorKeyword=$keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"_limitProperties")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have ";if($keyword=="maxProperties"){out+="more"}else{out+="fewer"}out+=" than ";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+$schema}out+=" properties' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],24:[function(require,module,exports){"use strict";module.exports=function generate_allOf(it,$keyword,$ruleType){var out=" ";var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $currentBaseId=$it.baseId,$allSchemasEmpty=true;var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i<l1){$sch=arr1[$i+=1];if(it.opts.strictKeywords?typeof $sch=="object"&&Object.keys($sch).length>0:it.util.schemaHasRules($sch,it.RULES.all)){$allSchemasEmpty=false;$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}if($breakOnError){if($allSchemasEmpty){out+=" if (true) { "}else{out+=" "+$closingBraces.slice(0,-1)+" "}}return out}},{}],25:[function(require,module,exports){"use strict";module.exports=function generate_anyOf(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $noEmptySchema=$schema.every((function($sch){return it.opts.strictKeywords?typeof $sch=="object"&&Object.keys($sch).length>0:it.util.schemaHasRules($sch,it.RULES.all)}));if($noEmptySchema){var $currentBaseId=$it.baseId;out+=" var "+$errs+" = errors; var "+$valid+" = false; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i<l1){$sch=arr1[$i+=1];$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" "+$valid+" = "+$valid+" || "+$nextValid+"; if (!"+$valid+") { ";$closingBraces+="}"}}it.compositeRule=$it.compositeRule=$wasComposite;out+=" "+$closingBraces+" if (!"+$valid+") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"anyOf"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should match some schema in anyOf' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; return false; "}}out+=" } else { errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } ";if(it.opts.allErrors){out+=" } "}}else{if($breakOnError){out+=" if (true) { "}}return out}},{}],26:[function(require,module,exports){"use strict";module.exports=function generate_comment(it,$keyword,$ruleType){var out=" ";var $schema=it.schema[$keyword];var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $comment=it.util.toQuotedString($schema);if(it.opts.$comment===true){out+=" console.log("+$comment+");"}else if(typeof it.opts.$comment=="function"){out+=" self._opts.$comment("+$comment+", "+it.util.toQuotedString($errSchemaPath)+", validate.root.schema);"}return out}},{}],27:[function(require,module,exports){"use strict";module.exports=function generate_const(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!$isData){out+=" var schema"+$lvl+" = validate.schema"+$schemaPath+";"}out+="var "+$valid+" = equal("+$data+", schema"+$lvl+"); if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { allowedValue: schema"+$lvl+" } ";if(it.opts.messages!==false){out+=" , message: 'should be equal to constant' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" }";if($breakOnError){out+=" else { "}return out}},{}],28:[function(require,module,exports){"use strict";module.exports=function generate_contains(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $idx="i"+$lvl,$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$currentBaseId=it.baseId,$nonEmptySchema=it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0:it.util.schemaHasRules($schema,it.RULES.all);out+="var "+$errs+" = errors;var "+$valid+";";if($nonEmptySchema){var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" var "+$nextValid+" = false; for (var "+$idx+" = 0; "+$idx+" < "+$data+".length; "+$idx+"++) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$idx,it.opts.jsonPointers,true);var $passData=$data+"["+$idx+"]";$it.dataPathArr[$dataNxt]=$idx;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}out+=" if ("+$nextValid+") break; } ";it.compositeRule=$it.compositeRule=$wasComposite;out+=" "+$closingBraces+" if (!"+$nextValid+") {"}else{out+=" if ("+$data+".length == 0) {"}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should contain a valid item' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { ";if($nonEmptySchema){out+=" errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } "}if(it.opts.allErrors){out+=" } "}return out}},{}],29:[function(require,module,exports){"use strict";module.exports=function generate_custom(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $rule=this,$definition="definition"+$lvl,$rDef=$rule.definition,$closingBraces="";var $compile,$inline,$macro,$ruleValidate,$validateCode;if($isData&&$rDef.$data){$validateCode="keywordValidate"+$lvl;var $validateSchema=$rDef.validateSchema;out+=" var "+$definition+" = RULES.custom['"+$keyword+"'].definition; var "+$validateCode+" = "+$definition+".validate;"}else{$ruleValidate=it.useCustomRule($rule,$schema,it.schema,it);if(!$ruleValidate)return;$schemaValue="validate.schema"+$schemaPath;$validateCode=$ruleValidate.code;$compile=$rDef.compile;$inline=$rDef.inline;$macro=$rDef.macro}var $ruleErrs=$validateCode+".errors",$i="i"+$lvl,$ruleErr="ruleErr"+$lvl,$asyncKeyword=$rDef.async;if($asyncKeyword&&!it.async)throw new Error("async keyword in sync schema");if(!($inline||$macro)){out+=""+$ruleErrs+" = null;"}out+="var "+$errs+" = errors;var "+$valid+";";if($isData&&$rDef.$data){$closingBraces+="}";out+=" if ("+$schemaValue+" === undefined) { "+$valid+" = true; } else { ";if($validateSchema){$closingBraces+="}";out+=" "+$valid+" = "+$definition+".validateSchema("+$schemaValue+"); if ("+$valid+") { "}}if($inline){if($rDef.statements){out+=" "+$ruleValidate.validate+" "}else{out+=" "+$valid+" = "+$ruleValidate.validate+"; "}}else if($macro){var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;$it.schema=$ruleValidate.validate;$it.schemaPath="";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var $code=it.validate($it).replace(/validate\.schema/g,$validateCode);it.compositeRule=$it.compositeRule=$wasComposite;out+=" "+$code}else{var $$outStack=$$outStack||[];$$outStack.push(out);out="";out+=" "+$validateCode+".call( ";if(it.opts.passContext){out+="this"}else{out+="self"}if($compile||$rDef.schema===false){out+=" , "+$data+" "}else{out+=" , "+$schemaValue+" , "+$data+" , validate.schema"+it.schemaPath+" "}out+=" , (dataPath || '')";if(it.errorPath!='""'){out+=" + "+it.errorPath}var $parentData=$dataLvl?"data"+($dataLvl-1||""):"parentData",$parentDataProperty=$dataLvl?it.dataPathArr[$dataLvl]:"parentDataProperty";out+=" , "+$parentData+" , "+$parentDataProperty+" , rootData ) ";var def_callRuleValidate=out;out=$$outStack.pop();if($rDef.errors===false){out+=" "+$valid+" = ";if($asyncKeyword){out+="await "}out+=""+def_callRuleValidate+"; "}else{if($asyncKeyword){$ruleErrs="customErrors"+$lvl;out+=" var "+$ruleErrs+" = null; try { "+$valid+" = await "+def_callRuleValidate+"; } catch (e) { "+$valid+" = false; if (e instanceof ValidationError) "+$ruleErrs+" = e.errors; else throw e; } "}else{out+=" "+$ruleErrs+" = null; "+$valid+" = "+def_callRuleValidate+"; "}}}if($rDef.modifying){out+=" if ("+$parentData+") "+$data+" = "+$parentData+"["+$parentDataProperty+"];"}out+=""+$closingBraces;if($rDef.valid){if($breakOnError){out+=" if (true) { "}}else{out+=" if ( ";if($rDef.valid===undefined){out+=" !";if($macro){out+=""+$nextValid}else{out+=""+$valid}}else{out+=" "+!$rDef.valid+" "}out+=") { ";$errorKeyword=$rule.keyword;var $$outStack=$$outStack||[];$$outStack.push(out);out="";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"custom")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { keyword: '"+$rule.keyword+"' } ";if(it.opts.messages!==false){out+=" , message: 'should pass \""+$rule.keyword+"\" keyword validation' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var def_customError=out;out=$$outStack.pop();if($inline){if($rDef.errors){if($rDef.errors!="full"){out+=" for (var "+$i+"="+$errs+"; "+$i+"<errors; "+$i+"++) { var "+$ruleErr+" = vErrors["+$i+"]; if ("+$ruleErr+".dataPath === undefined) "+$ruleErr+".dataPath = (dataPath || '') + "+it.errorPath+"; if ("+$ruleErr+".schemaPath === undefined) { "+$ruleErr+'.schemaPath = "'+$errSchemaPath+'"; } ';if(it.opts.verbose){out+=" "+$ruleErr+".schema = "+$schemaValue+"; "+$ruleErr+".data = "+$data+"; "}out+=" } "}}else{if($rDef.errors===false){out+=" "+def_customError+" "}else{out+=" if ("+$errs+" == errors) { "+def_customError+" } else { for (var "+$i+"="+$errs+"; "+$i+"<errors; "+$i+"++) { var "+$ruleErr+" = vErrors["+$i+"]; if ("+$ruleErr+".dataPath === undefined) "+$ruleErr+".dataPath = (dataPath || '') + "+it.errorPath+"; if ("+$ruleErr+".schemaPath === undefined) { "+$ruleErr+'.schemaPath = "'+$errSchemaPath+'"; } ';if(it.opts.verbose){out+=" "+$ruleErr+".schema = "+$schemaValue+"; "+$ruleErr+".data = "+$data+"; "}out+=" } } "}}}else if($macro){out+=" var err = ";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"custom")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { keyword: '"+$rule.keyword+"' } ";if(it.opts.messages!==false){out+=" , message: 'should pass \""+$rule.keyword+"\" keyword validation' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; return false; "}}}else{if($rDef.errors===false){out+=" "+def_customError+" "}else{out+=" if (Array.isArray("+$ruleErrs+")) { if (vErrors === null) vErrors = "+$ruleErrs+"; else vErrors = vErrors.concat("+$ruleErrs+"); errors = vErrors.length; for (var "+$i+"="+$errs+"; "+$i+"<errors; "+$i+"++) { var "+$ruleErr+" = vErrors["+$i+"]; if ("+$ruleErr+".dataPath === undefined) "+$ruleErr+".dataPath = (dataPath || '') + "+it.errorPath+"; "+$ruleErr+'.schemaPath = "'+$errSchemaPath+'"; ';if(it.opts.verbose){out+=" "+$ruleErr+".schema = "+$schemaValue+"; "+$ruleErr+".data = "+$data+"; "}out+=" } } else { "+def_customError+" } "}}out+=" } ";if($breakOnError){out+=" else { "}}return out}},{}],30:[function(require,module,exports){"use strict";module.exports=function generate_dependencies(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $schemaDeps={},$propertyDeps={},$ownProperties=it.opts.ownProperties;for($property in $schema){if($property=="__proto__")continue;var $sch=$schema[$property];var $deps=Array.isArray($sch)?$propertyDeps:$schemaDeps;$deps[$property]=$sch}out+="var "+$errs+" = errors;";var $currentErrorPath=it.errorPath;out+="var missing"+$lvl+";";for(var $property in $propertyDeps){$deps=$propertyDeps[$property];if($deps.length){out+=" if ( "+$data+it.util.getProperty($property)+" !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($property)+"') "}if($breakOnError){out+=" && ( ";var arr1=$deps;if(arr1){var $propertyKey,$i=-1,l1=arr1.length-1;while($i<l1){$propertyKey=arr1[$i+=1];if($i){out+=" || "}var $prop=it.util.getProperty($propertyKey),$useData=$data+$prop;out+=" ( ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") && (missing"+$lvl+" = "+it.util.toQuotedString(it.opts.jsonPointers?$propertyKey:$prop)+") ) "}}out+=")) { ";var $propertyPath="missing"+$lvl,$missingProperty="' + "+$propertyPath+" + '";if(it.opts._errorDataPathProperty){it.errorPath=it.opts.jsonPointers?it.util.getPathExpr($currentErrorPath,$propertyPath,true):$currentErrorPath+" + "+$propertyPath}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { property: '"+it.util.escapeQuotes($property)+"', missingProperty: '"+$missingProperty+"', depsCount: "+$deps.length+", deps: '"+it.util.escapeQuotes($deps.length==1?$deps[0]:$deps.join(", "))+"' } ";if(it.opts.messages!==false){out+=" , message: 'should have ";if($deps.length==1){out+="property "+it.util.escapeQuotes($deps[0])}else{out+="properties "+it.util.escapeQuotes($deps.join(", "))}out+=" when property "+it.util.escapeQuotes($property)+" is present' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{out+=" ) { ";var arr2=$deps;if(arr2){var $propertyKey,i2=-1,l2=arr2.length-1;while(i2<l2){$propertyKey=arr2[i2+=1];var $prop=it.util.getProperty($propertyKey),$missingProperty=it.util.escapeQuotes($propertyKey),$useData=$data+$prop;if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPath($currentErrorPath,$propertyKey,it.opts.jsonPointers)}out+=" if ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"dependencies"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { property: '"+it.util.escapeQuotes($property)+"', missingProperty: '"+$missingProperty+"', depsCount: "+$deps.length+", deps: '"+it.util.escapeQuotes($deps.length==1?$deps[0]:$deps.join(", "))+"' } ";if(it.opts.messages!==false){out+=" , message: 'should have ";if($deps.length==1){out+="property "+it.util.escapeQuotes($deps[0])}else{out+="properties "+it.util.escapeQuotes($deps.join(", "))}out+=" when property "+it.util.escapeQuotes($property)+" is present' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}out+=" } ";if($breakOnError){$closingBraces+="}";out+=" else { "}}}it.errorPath=$currentErrorPath;var $currentBaseId=$it.baseId;for(var $property in $schemaDeps){var $sch=$schemaDeps[$property];if(it.opts.strictKeywords?typeof $sch=="object"&&Object.keys($sch).length>0:it.util.schemaHasRules($sch,it.RULES.all)){out+=" "+$nextValid+" = true; if ( "+$data+it.util.getProperty($property)+" !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($property)+"') "}out+=") { ";$it.schema=$sch;$it.schemaPath=$schemaPath+it.util.getProperty($property);$it.errSchemaPath=$errSchemaPath+"/"+it.util.escapeFragment($property);out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],31:[function(require,module,exports){"use strict";module.exports=function generate_enum(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $i="i"+$lvl,$vSchema="schema"+$lvl;if(!$isData){out+=" var "+$vSchema+" = validate.schema"+$schemaPath+";"}out+="var "+$valid+";";if($isData){out+=" if (schema"+$lvl+" === undefined) "+$valid+" = true; else if (!Array.isArray(schema"+$lvl+")) "+$valid+" = false; else {"}out+=""+$valid+" = false;for (var "+$i+"=0; "+$i+"<"+$vSchema+".length; "+$i+"++) if (equal("+$data+", "+$vSchema+"["+$i+"])) { "+$valid+" = true; break; }";if($isData){out+=" } "}out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { allowedValues: schema"+$lvl+" } ";if(it.opts.messages!==false){out+=" , message: 'should be equal to one of the allowed values' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" }";if($breakOnError){out+=" else { "}return out}},{}],32:[function(require,module,exports){"use strict";module.exports=function generate_format(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");if(it.opts.format===false){if($breakOnError){out+=" if (true) { "}return out}var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $unknownFormats=it.opts.unknownFormats,$allowUnknown=Array.isArray($unknownFormats);if($isData){var $format="format"+$lvl,$isObject="isObject"+$lvl,$formatType="formatType"+$lvl;out+=" var "+$format+" = formats["+$schemaValue+"]; var "+$isObject+" = typeof "+$format+" == 'object' && !("+$format+" instanceof RegExp) && "+$format+".validate; var "+$formatType+" = "+$isObject+" && "+$format+".type || 'string'; if ("+$isObject+") { ";if(it.async){out+=" var async"+$lvl+" = "+$format+".async; "}out+=" "+$format+" = "+$format+".validate; } if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'string') || "}out+=" (";if($unknownFormats!="ignore"){out+=" ("+$schemaValue+" && !"+$format+" ";if($allowUnknown){out+=" && self._opts.unknownFormats.indexOf("+$schemaValue+") == -1 "}out+=") || "}out+=" ("+$format+" && "+$formatType+" == '"+$ruleType+"' && !(typeof "+$format+" == 'function' ? ";if(it.async){out+=" (async"+$lvl+" ? await "+$format+"("+$data+") : "+$format+"("+$data+")) "}else{out+=" "+$format+"("+$data+") "}out+=" : "+$format+".test("+$data+"))))) {"}else{var $format=it.formats[$schema];if(!$format){if($unknownFormats=="ignore"){it.logger.warn('unknown format "'+$schema+'" ignored in schema at path "'+it.errSchemaPath+'"');if($breakOnError){out+=" if (true) { "}return out}else if($allowUnknown&&$unknownFormats.indexOf($schema)>=0){if($breakOnError){out+=" if (true) { "}return out}else{throw new Error('unknown format "'+$schema+'" is used in schema at path "'+it.errSchemaPath+'"')}}var $isObject=typeof $format=="object"&&!($format instanceof RegExp)&&$format.validate;var $formatType=$isObject&&$format.type||"string";if($isObject){var $async=$format.async===true;$format=$format.validate}if($formatType!=$ruleType){if($breakOnError){out+=" if (true) { "}return out}if($async){if(!it.async)throw new Error("async format in sync schema");var $formatRef="formats"+it.util.getProperty($schema)+".validate";out+=" if (!(await "+$formatRef+"("+$data+"))) { "}else{out+=" if (! ";var $formatRef="formats"+it.util.getProperty($schema);if($isObject)$formatRef+=".validate";if(typeof $format=="function"){out+=" "+$formatRef+"("+$data+") "}else{out+=" "+$formatRef+".test("+$data+") "}out+=") { "}}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { format: ";if($isData){out+=""+$schemaValue}else{out+=""+it.util.toQuotedString($schema)}out+=" } ";if(it.opts.messages!==false){out+=" , message: 'should match format \"";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+it.util.escapeQuotes($schema)}out+="\"' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+it.util.toQuotedString($schema)}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";if($breakOnError){out+=" else { "}return out}},{}],33:[function(require,module,exports){"use strict";module.exports=function generate_if(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);$it.level++;var $nextValid="valid"+$it.level;var $thenSch=it.schema["then"],$elseSch=it.schema["else"],$thenPresent=$thenSch!==undefined&&(it.opts.strictKeywords?typeof $thenSch=="object"&&Object.keys($thenSch).length>0:it.util.schemaHasRules($thenSch,it.RULES.all)),$elsePresent=$elseSch!==undefined&&(it.opts.strictKeywords?typeof $elseSch=="object"&&Object.keys($elseSch).length>0:it.util.schemaHasRules($elseSch,it.RULES.all)),$currentBaseId=$it.baseId;if($thenPresent||$elsePresent){var $ifClause;$it.createErrors=false;$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" var "+$errs+" = errors; var "+$valid+" = true; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;$it.createErrors=true;out+=" errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } ";it.compositeRule=$it.compositeRule=$wasComposite;if($thenPresent){out+=" if ("+$nextValid+") { ";$it.schema=it.schema["then"];$it.schemaPath=it.schemaPath+".then";$it.errSchemaPath=it.errSchemaPath+"/then";out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" "+$valid+" = "+$nextValid+"; ";if($thenPresent&&$elsePresent){$ifClause="ifClause"+$lvl;out+=" var "+$ifClause+" = 'then'; "}else{$ifClause="'then'"}out+=" } ";if($elsePresent){out+=" else { "}}else{out+=" if (!"+$nextValid+") { "}if($elsePresent){$it.schema=it.schema["else"];$it.schemaPath=it.schemaPath+".else";$it.errSchemaPath=it.errSchemaPath+"/else";out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId;out+=" "+$valid+" = "+$nextValid+"; ";if($thenPresent&&$elsePresent){$ifClause="ifClause"+$lvl;out+=" var "+$ifClause+" = 'else'; "}else{$ifClause="'else'"}out+=" } "}out+=" if (!"+$valid+") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { failingKeyword: "+$ifClause+" } ";if(it.opts.messages!==false){out+=" , message: 'should match \"' + "+$ifClause+" + '\" schema' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; return false; "}}out+=" } ";if($breakOnError){out+=" else { "}}else{if($breakOnError){out+=" if (true) { "}}return out}},{}],34:[function(require,module,exports){"use strict";module.exports={$ref:require("./ref"),allOf:require("./allOf"),anyOf:require("./anyOf"),$comment:require("./comment"),const:require("./const"),contains:require("./contains"),dependencies:require("./dependencies"),enum:require("./enum"),format:require("./format"),if:require("./if"),items:require("./items"),maximum:require("./_limit"),minimum:require("./_limit"),maxItems:require("./_limitItems"),minItems:require("./_limitItems"),maxLength:require("./_limitLength"),minLength:require("./_limitLength"),maxProperties:require("./_limitProperties"),minProperties:require("./_limitProperties"),multipleOf:require("./multipleOf"),not:require("./not"),oneOf:require("./oneOf"),pattern:require("./pattern"),properties:require("./properties"),propertyNames:require("./propertyNames"),required:require("./required"),uniqueItems:require("./uniqueItems"),validate:require("./validate")}},{"./_limit":20,"./_limitItems":21,"./_limitLength":22,"./_limitProperties":23,"./allOf":24,"./anyOf":25,"./comment":26,"./const":27,"./contains":28,"./dependencies":30,"./enum":31,"./format":32,"./if":33,"./items":35,"./multipleOf":36,"./not":37,"./oneOf":38,"./pattern":39,"./properties":40,"./propertyNames":41,"./ref":42,"./required":43,"./uniqueItems":44,"./validate":45}],35:[function(require,module,exports){"use strict";module.exports=function generate_items(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $idx="i"+$lvl,$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$currentBaseId=it.baseId;out+="var "+$errs+" = errors;var "+$valid+";";if(Array.isArray($schema)){var $additionalItems=it.schema.additionalItems;if($additionalItems===false){out+=" "+$valid+" = "+$data+".length <= "+$schema.length+"; ";var $currErrSchemaPath=$errSchemaPath;$errSchemaPath=it.errSchemaPath+"/additionalItems";out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { limit: "+$schema.length+" } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have more than "+$schema.length+" items' "}if(it.opts.verbose){out+=" , schema: false , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";$errSchemaPath=$currErrSchemaPath;if($breakOnError){$closingBraces+="}";out+=" else { "}}var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i<l1){$sch=arr1[$i+=1];if(it.opts.strictKeywords?typeof $sch=="object"&&Object.keys($sch).length>0:it.util.schemaHasRules($sch,it.RULES.all)){out+=" "+$nextValid+" = true; if ("+$data+".length > "+$i+") { ";var $passData=$data+"["+$i+"]";$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;$it.errorPath=it.util.getPathExpr(it.errorPath,$i,it.opts.jsonPointers,true);$it.dataPathArr[$dataNxt]=$i;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}if(typeof $additionalItems=="object"&&(it.opts.strictKeywords?typeof $additionalItems=="object"&&Object.keys($additionalItems).length>0:it.util.schemaHasRules($additionalItems,it.RULES.all))){$it.schema=$additionalItems;$it.schemaPath=it.schemaPath+".additionalItems";$it.errSchemaPath=it.errSchemaPath+"/additionalItems";out+=" "+$nextValid+" = true; if ("+$data+".length > "+$schema.length+") { for (var "+$idx+" = "+$schema.length+"; "+$idx+" < "+$data+".length; "+$idx+"++) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$idx,it.opts.jsonPointers,true);var $passData=$data+"["+$idx+"]";$it.dataPathArr[$dataNxt]=$idx;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}out+=" } } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}else if(it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0:it.util.schemaHasRules($schema,it.RULES.all)){$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" for (var "+$idx+" = "+0+"; "+$idx+" < "+$data+".length; "+$idx+"++) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$idx,it.opts.jsonPointers,true);var $passData=$data+"["+$idx+"]";$it.dataPathArr[$dataNxt]=$idx;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}out+=" }"}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],36:[function(require,module,exports){"use strict";module.exports=function generate_multipleOf(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(!($isData||typeof $schema=="number")){throw new Error($keyword+" must be number")}out+="var division"+$lvl+";if (";if($isData){out+=" "+$schemaValue+" !== undefined && ( typeof "+$schemaValue+" != 'number' || "}out+=" (division"+$lvl+" = "+$data+" / "+$schemaValue+", ";if(it.opts.multipleOfPrecision){out+=" Math.abs(Math.round(division"+$lvl+") - division"+$lvl+") > 1e-"+it.opts.multipleOfPrecision+" "}else{out+=" division"+$lvl+" !== parseInt(division"+$lvl+") "}out+=" ) ";if($isData){out+=" ) "}out+=" ) { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { multipleOf: "+$schemaValue+" } ";if(it.opts.messages!==false){out+=" , message: 'should be multiple of ";if($isData){out+="' + "+$schemaValue}else{out+=""+$schemaValue+"'"}}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],37:[function(require,module,exports){"use strict";module.exports=function generate_not(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);$it.level++;var $nextValid="valid"+$it.level;if(it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0:it.util.schemaHasRules($schema,it.RULES.all)){$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;out+=" var "+$errs+" = errors; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;$it.createErrors=false;var $allErrorsOption;if($it.opts.allErrors){$allErrorsOption=$it.opts.allErrors;$it.opts.allErrors=false}out+=" "+it.validate($it)+" ";$it.createErrors=true;if($allErrorsOption)$it.opts.allErrors=$allErrorsOption;it.compositeRule=$it.compositeRule=$wasComposite;out+=" if ("+$nextValid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should NOT be valid' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; } ";if(it.opts.allErrors){out+=" } "}}else{out+=" var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'should NOT be valid' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if($breakOnError){out+=" if (false) { "}}return out}},{}],38:[function(require,module,exports){"use strict";module.exports=function generate_oneOf(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $currentBaseId=$it.baseId,$prevValid="prevValid"+$lvl,$passingSchemas="passingSchemas"+$lvl;out+="var "+$errs+" = errors , "+$prevValid+" = false , "+$valid+" = false , "+$passingSchemas+" = null; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var arr1=$schema;if(arr1){var $sch,$i=-1,l1=arr1.length-1;while($i<l1){$sch=arr1[$i+=1];if(it.opts.strictKeywords?typeof $sch=="object"&&Object.keys($sch).length>0:it.util.schemaHasRules($sch,it.RULES.all)){$it.schema=$sch;$it.schemaPath=$schemaPath+"["+$i+"]";$it.errSchemaPath=$errSchemaPath+"/"+$i;out+=" "+it.validate($it)+" ";$it.baseId=$currentBaseId}else{out+=" var "+$nextValid+" = true; "}if($i){out+=" if ("+$nextValid+" && "+$prevValid+") { "+$valid+" = false; "+$passingSchemas+" = ["+$passingSchemas+", "+$i+"]; } else { ";$closingBraces+="}"}out+=" if ("+$nextValid+") { "+$valid+" = "+$prevValid+" = true; "+$passingSchemas+" = "+$i+"; }"}}it.compositeRule=$it.compositeRule=$wasComposite;out+=""+$closingBraces+"if (!"+$valid+") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { passingSchemas: "+$passingSchemas+" } ";if(it.opts.messages!==false){out+=" , message: 'should match exactly one schema in oneOf' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; return false; "}}out+="} else { errors = "+$errs+"; if (vErrors !== null) { if ("+$errs+") vErrors.length = "+$errs+"; else vErrors = null; }";if(it.opts.allErrors){out+=" } "}return out}},{}],39:[function(require,module,exports){"use strict";module.exports=function generate_pattern(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $regexp=$isData?"(new RegExp("+$schemaValue+"))":it.usePattern($schema);out+="if ( ";if($isData){out+=" ("+$schemaValue+" !== undefined && typeof "+$schemaValue+" != 'string') || "}out+=" !"+$regexp+".test("+$data+") ) { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { pattern: ";if($isData){out+=""+$schemaValue}else{out+=""+it.util.toQuotedString($schema)}out+=" } ";if(it.opts.messages!==false){out+=" , message: 'should match pattern \"";if($isData){out+="' + "+$schemaValue+" + '"}else{out+=""+it.util.escapeQuotes($schema)}out+="\"' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+it.util.toQuotedString($schema)}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+="} ";if($breakOnError){out+=" else { "}return out}},{}],40:[function(require,module,exports){"use strict";module.exports=function generate_properties(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;var $key="key"+$lvl,$idx="idx"+$lvl,$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$dataProperties="dataProperties"+$lvl;var $schemaKeys=Object.keys($schema||{}).filter(notProto),$pProperties=it.schema.patternProperties||{},$pPropertyKeys=Object.keys($pProperties).filter(notProto),$aProperties=it.schema.additionalProperties,$someProperties=$schemaKeys.length||$pPropertyKeys.length,$noAdditional=$aProperties===false,$additionalIsSchema=typeof $aProperties=="object"&&Object.keys($aProperties).length,$removeAdditional=it.opts.removeAdditional,$checkAdditional=$noAdditional||$additionalIsSchema||$removeAdditional,$ownProperties=it.opts.ownProperties,$currentBaseId=it.baseId;var $required=it.schema.required;if($required&&!(it.opts.$data&&$required.$data)&&$required.length<it.opts.loopRequired){var $requiredHash=it.util.toHash($required)}function notProto(p){return p!=="__proto__"}out+="var "+$errs+" = errors;var "+$nextValid+" = true;";if($ownProperties){out+=" var "+$dataProperties+" = undefined;"}if($checkAdditional){if($ownProperties){out+=" "+$dataProperties+" = "+$dataProperties+" || Object.keys("+$data+"); for (var "+$idx+"=0; "+$idx+"<"+$dataProperties+".length; "+$idx+"++) { var "+$key+" = "+$dataProperties+"["+$idx+"]; "}else{out+=" for (var "+$key+" in "+$data+") { "}if($someProperties){out+=" var isAdditional"+$lvl+" = !(false ";if($schemaKeys.length){if($schemaKeys.length>8){out+=" || validate.schema"+$schemaPath+".hasOwnProperty("+$key+") "}else{var arr1=$schemaKeys;if(arr1){var $propertyKey,i1=-1,l1=arr1.length-1;while(i1<l1){$propertyKey=arr1[i1+=1];out+=" || "+$key+" == "+it.util.toQuotedString($propertyKey)+" "}}}}if($pPropertyKeys.length){var arr2=$pPropertyKeys;if(arr2){var $pProperty,$i=-1,l2=arr2.length-1;while($i<l2){$pProperty=arr2[$i+=1];out+=" || "+it.usePattern($pProperty)+".test("+$key+") "}}}out+=" ); if (isAdditional"+$lvl+") { "}if($removeAdditional=="all"){out+=" delete "+$data+"["+$key+"]; "}else{var $currentErrorPath=it.errorPath;var $additionalProperty="' + "+$key+" + '";if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPathExpr(it.errorPath,$key,it.opts.jsonPointers)}if($noAdditional){if($removeAdditional){out+=" delete "+$data+"["+$key+"]; "}else{out+=" "+$nextValid+" = false; ";var $currErrSchemaPath=$errSchemaPath;$errSchemaPath=it.errSchemaPath+"/additionalProperties";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"additionalProperties"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { additionalProperty: '"+$additionalProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is an invalid additional property"}else{out+="should NOT have additional properties"}out+="' "}if(it.opts.verbose){out+=" , schema: false , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$errSchemaPath=$currErrSchemaPath;if($breakOnError){out+=" break; "}}}else if($additionalIsSchema){if($removeAdditional=="failing"){out+=" var "+$errs+" = errors; ";var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;$it.schema=$aProperties;$it.schemaPath=it.schemaPath+".additionalProperties";$it.errSchemaPath=it.errSchemaPath+"/additionalProperties";$it.errorPath=it.opts._errorDataPathProperty?it.errorPath:it.util.getPathExpr(it.errorPath,$key,it.opts.jsonPointers);var $passData=$data+"["+$key+"]";$it.dataPathArr[$dataNxt]=$key;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}out+=" if (!"+$nextValid+") { errors = "+$errs+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+$data+"["+$key+"]; } ";it.compositeRule=$it.compositeRule=$wasComposite}else{$it.schema=$aProperties;$it.schemaPath=it.schemaPath+".additionalProperties";$it.errSchemaPath=it.errSchemaPath+"/additionalProperties";$it.errorPath=it.opts._errorDataPathProperty?it.errorPath:it.util.getPathExpr(it.errorPath,$key,it.opts.jsonPointers);var $passData=$data+"["+$key+"]";$it.dataPathArr[$dataNxt]=$key;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}}}it.errorPath=$currentErrorPath}if($someProperties){out+=" } "}out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}var $useDefaults=it.opts.useDefaults&&!it.compositeRule;if($schemaKeys.length){var arr3=$schemaKeys;if(arr3){var $propertyKey,i3=-1,l3=arr3.length-1;while(i3<l3){$propertyKey=arr3[i3+=1];var $sch=$schema[$propertyKey];if(it.opts.strictKeywords?typeof $sch=="object"&&Object.keys($sch).length>0:it.util.schemaHasRules($sch,it.RULES.all)){var $prop=it.util.getProperty($propertyKey),$passData=$data+$prop,$hasDefault=$useDefaults&&$sch.default!==undefined;$it.schema=$sch;$it.schemaPath=$schemaPath+$prop;$it.errSchemaPath=$errSchemaPath+"/"+it.util.escapeFragment($propertyKey);$it.errorPath=it.util.getPath(it.errorPath,$propertyKey,it.opts.jsonPointers);$it.dataPathArr[$dataNxt]=it.util.toQuotedString($propertyKey);var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){$code=it.util.varReplace($code,$nextData,$passData);var $useData=$passData}else{var $useData=$nextData;out+=" var "+$nextData+" = "+$passData+"; "}if($hasDefault){out+=" "+$code+" "}else{if($requiredHash&&$requiredHash[$propertyKey]){out+=" if ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") { "+$nextValid+" = false; ";var $currentErrorPath=it.errorPath,$currErrSchemaPath=$errSchemaPath,$missingProperty=it.util.escapeQuotes($propertyKey);if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPath($currentErrorPath,$propertyKey,it.opts.jsonPointers)}$errSchemaPath=it.errSchemaPath+"/required";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$errSchemaPath=$currErrSchemaPath;it.errorPath=$currentErrorPath;out+=" } else { "}else{if($breakOnError){out+=" if ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") { "+$nextValid+" = true; } else { "}else{out+=" if ("+$useData+" !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=" ) { "}}out+=" "+$code+" } "}}if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}if($pPropertyKeys.length){var arr4=$pPropertyKeys;if(arr4){var $pProperty,i4=-1,l4=arr4.length-1;while(i4<l4){$pProperty=arr4[i4+=1];var $sch=$pProperties[$pProperty];if(it.opts.strictKeywords?typeof $sch=="object"&&Object.keys($sch).length>0:it.util.schemaHasRules($sch,it.RULES.all)){$it.schema=$sch;$it.schemaPath=it.schemaPath+".patternProperties"+it.util.getProperty($pProperty);$it.errSchemaPath=it.errSchemaPath+"/patternProperties/"+it.util.escapeFragment($pProperty);if($ownProperties){out+=" "+$dataProperties+" = "+$dataProperties+" || Object.keys("+$data+"); for (var "+$idx+"=0; "+$idx+"<"+$dataProperties+".length; "+$idx+"++) { var "+$key+" = "+$dataProperties+"["+$idx+"]; "}else{out+=" for (var "+$key+" in "+$data+") { "}out+=" if ("+it.usePattern($pProperty)+".test("+$key+")) { ";$it.errorPath=it.util.getPathExpr(it.errorPath,$key,it.opts.jsonPointers);var $passData=$data+"["+$key+"]";$it.dataPathArr[$dataNxt]=$key;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}if($breakOnError){out+=" if (!"+$nextValid+") break; "}out+=" } ";if($breakOnError){out+=" else "+$nextValid+" = true; "}out+=" } ";if($breakOnError){out+=" if ("+$nextValid+") { ";$closingBraces+="}"}}}}}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],41:[function(require,module,exports){"use strict";module.exports=function generate_propertyNames(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $errs="errs__"+$lvl;var $it=it.util.copy(it);var $closingBraces="";$it.level++;var $nextValid="valid"+$it.level;out+="var "+$errs+" = errors;";if(it.opts.strictKeywords?typeof $schema=="object"&&Object.keys($schema).length>0:it.util.schemaHasRules($schema,it.RULES.all)){$it.schema=$schema;$it.schemaPath=$schemaPath;$it.errSchemaPath=$errSchemaPath;var $key="key"+$lvl,$idx="idx"+$lvl,$i="i"+$lvl,$invalidName="' + "+$key+" + '",$dataNxt=$it.dataLevel=it.dataLevel+1,$nextData="data"+$dataNxt,$dataProperties="dataProperties"+$lvl,$ownProperties=it.opts.ownProperties,$currentBaseId=it.baseId;if($ownProperties){out+=" var "+$dataProperties+" = undefined; "}if($ownProperties){out+=" "+$dataProperties+" = "+$dataProperties+" || Object.keys("+$data+"); for (var "+$idx+"=0; "+$idx+"<"+$dataProperties+".length; "+$idx+"++) { var "+$key+" = "+$dataProperties+"["+$idx+"]; "}else{out+=" for (var "+$key+" in "+$data+") { "}out+=" var startErrs"+$lvl+" = errors; ";var $passData=$key;var $wasComposite=it.compositeRule;it.compositeRule=$it.compositeRule=true;var $code=it.validate($it);$it.baseId=$currentBaseId;if(it.util.varOccurences($code,$nextData)<2){out+=" "+it.util.varReplace($code,$nextData,$passData)+" "}else{out+=" var "+$nextData+" = "+$passData+"; "+$code+" "}it.compositeRule=$it.compositeRule=$wasComposite;out+=" if (!"+$nextValid+") { for (var "+$i+"=startErrs"+$lvl+"; "+$i+"<errors; "+$i+"++) { vErrors["+$i+"].propertyName = "+$key+"; } var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"propertyNames"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { propertyName: '"+$invalidName+"' } ";if(it.opts.messages!==false){out+=" , message: 'property name \\'"+$invalidName+"\\' is invalid' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; return false; "}}if($breakOnError){out+=" break; "}out+=" } }"}if($breakOnError){out+=" "+$closingBraces+" if ("+$errs+" == errors) {"}return out}},{}],42:[function(require,module,exports){"use strict";module.exports=function generate_ref(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $async,$refCode;if($schema=="#"||$schema=="#/"){if(it.isRoot){$async=it.async;$refCode="validate"}else{$async=it.root.schema.$async===true;$refCode="root.refVal[0]"}}else{var $refVal=it.resolveRef(it.baseId,$schema,it.isRoot);if($refVal===undefined){var $message=it.MissingRefError.message(it.baseId,$schema);if(it.opts.missingRefs=="fail"){it.logger.error($message);var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { ref: '"+it.util.escapeQuotes($schema)+"' } ";if(it.opts.messages!==false){out+=" , message: 'can\\'t resolve reference "+it.util.escapeQuotes($schema)+"' "}if(it.opts.verbose){out+=" , schema: "+it.util.toQuotedString($schema)+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if($breakOnError){out+=" if (false) { "}}else if(it.opts.missingRefs=="ignore"){it.logger.warn($message);if($breakOnError){out+=" if (true) { "}}else{throw new it.MissingRefError(it.baseId,$schema,$message)}}else if($refVal.inline){var $it=it.util.copy(it);$it.level++;var $nextValid="valid"+$it.level;$it.schema=$refVal.schema;$it.schemaPath="";$it.errSchemaPath=$schema;var $code=it.validate($it).replace(/validate\.schema/g,$refVal.code);out+=" "+$code+" ";if($breakOnError){out+=" if ("+$nextValid+") { "}}else{$async=$refVal.$async===true||it.async&&$refVal.$async!==false;$refCode=$refVal.code}}if($refCode){var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.opts.passContext){out+=" "+$refCode+".call(this, "}else{out+=" "+$refCode+"( "}out+=" "+$data+", (dataPath || '')";if(it.errorPath!='""'){out+=" + "+it.errorPath}var $parentData=$dataLvl?"data"+($dataLvl-1||""):"parentData",$parentDataProperty=$dataLvl?it.dataPathArr[$dataLvl]:"parentDataProperty";out+=" , "+$parentData+" , "+$parentDataProperty+", rootData) ";var __callValidate=out;out=$$outStack.pop();if($async){if(!it.async)throw new Error("async schema referenced by sync schema");if($breakOnError){out+=" var "+$valid+"; "}out+=" try { await "+__callValidate+"; ";if($breakOnError){out+=" "+$valid+" = true; "}out+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if($breakOnError){out+=" "+$valid+" = false; "}out+=" } ";if($breakOnError){out+=" if ("+$valid+") { "}}else{out+=" if (!"+__callValidate+") { if (vErrors === null) vErrors = "+$refCode+".errors; else vErrors = vErrors.concat("+$refCode+".errors); errors = vErrors.length; } ";if($breakOnError){out+=" else { "}}}return out}},{}],43:[function(require,module,exports){"use strict";module.exports=function generate_required(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}var $vSchema="schema"+$lvl;if(!$isData){if($schema.length<it.opts.loopRequired&&it.schema.properties&&Object.keys(it.schema.properties).length){var $required=[];var arr1=$schema;if(arr1){var $property,i1=-1,l1=arr1.length-1;while(i1<l1){$property=arr1[i1+=1];var $propertySch=it.schema.properties[$property];if(!($propertySch&&(it.opts.strictKeywords?typeof $propertySch=="object"&&Object.keys($propertySch).length>0:it.util.schemaHasRules($propertySch,it.RULES.all)))){$required[$required.length]=$property}}}}else{var $required=$schema}}if($isData||$required.length){var $currentErrorPath=it.errorPath,$loopRequired=$isData||$required.length>=it.opts.loopRequired,$ownProperties=it.opts.ownProperties;if($breakOnError){out+=" var missing"+$lvl+"; ";if($loopRequired){if(!$isData){out+=" var "+$vSchema+" = validate.schema"+$schemaPath+"; "}var $i="i"+$lvl,$propertyPath="schema"+$lvl+"["+$i+"]",$missingProperty="' + "+$propertyPath+" + '";if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPathExpr($currentErrorPath,$propertyPath,it.opts.jsonPointers)}out+=" var "+$valid+" = true; ";if($isData){out+=" if (schema"+$lvl+" === undefined) "+$valid+" = true; else if (!Array.isArray(schema"+$lvl+")) "+$valid+" = false; else {"}out+=" for (var "+$i+" = 0; "+$i+" < "+$vSchema+".length; "+$i+"++) { "+$valid+" = "+$data+"["+$vSchema+"["+$i+"]] !== undefined ";if($ownProperties){out+=" && Object.prototype.hasOwnProperty.call("+$data+", "+$vSchema+"["+$i+"]) "}out+="; if (!"+$valid+") break; } ";if($isData){out+=" } "}out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { "}else{out+=" if ( ";var arr2=$required;if(arr2){var $propertyKey,$i=-1,l2=arr2.length-1;while($i<l2){$propertyKey=arr2[$i+=1];if($i){out+=" || "}var $prop=it.util.getProperty($propertyKey),$useData=$data+$prop;out+=" ( ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") && (missing"+$lvl+" = "+it.util.toQuotedString(it.opts.jsonPointers?$propertyKey:$prop)+") ) "}}out+=") { ";var $propertyPath="missing"+$lvl,$missingProperty="' + "+$propertyPath+" + '";if(it.opts._errorDataPathProperty){it.errorPath=it.opts.jsonPointers?it.util.getPathExpr($currentErrorPath,$propertyPath,true):$currentErrorPath+" + "+$propertyPath}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { "}}else{if($loopRequired){if(!$isData){out+=" var "+$vSchema+" = validate.schema"+$schemaPath+"; "}var $i="i"+$lvl,$propertyPath="schema"+$lvl+"["+$i+"]",$missingProperty="' + "+$propertyPath+" + '";if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPathExpr($currentErrorPath,$propertyPath,it.opts.jsonPointers)}if($isData){out+=" if ("+$vSchema+" && !Array.isArray("+$vSchema+")) { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+$vSchema+" !== undefined) { "}out+=" for (var "+$i+" = 0; "+$i+" < "+$vSchema+".length; "+$i+"++) { if ("+$data+"["+$vSchema+"["+$i+"]] === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", "+$vSchema+"["+$i+"]) "}out+=") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ";if($isData){out+=" } "}}else{var arr3=$required;if(arr3){var $propertyKey,i3=-1,l3=arr3.length-1;while(i3<l3){$propertyKey=arr3[i3+=1];var $prop=it.util.getProperty($propertyKey),$missingProperty=it.util.escapeQuotes($propertyKey),$useData=$data+$prop;if(it.opts._errorDataPathProperty){it.errorPath=it.util.getPath($currentErrorPath,$propertyKey,it.opts.jsonPointers)}out+=" if ( "+$useData+" === undefined ";if($ownProperties){out+=" || ! Object.prototype.hasOwnProperty.call("+$data+", '"+it.util.escapeQuotes($propertyKey)+"') "}out+=") { var err = ";if(it.createErrors!==false){out+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { missingProperty: '"+$missingProperty+"' } ";if(it.opts.messages!==false){out+=" , message: '";if(it.opts._errorDataPathProperty){out+="is a required property"}else{out+="should have required property \\'"+$missingProperty+"\\'"}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}out+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}}}it.errorPath=$currentErrorPath}else if($breakOnError){out+=" if (true) {"}return out}},{}],44:[function(require,module,exports){"use strict";module.exports=function generate_uniqueItems(it,$keyword,$ruleType){var out=" ";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;var $isData=it.opts.$data&&$schema&&$schema.$data,$schemaValue;if($isData){out+=" var schema"+$lvl+" = "+it.util.getData($schema.$data,$dataLvl,it.dataPathArr)+"; ";$schemaValue="schema"+$lvl}else{$schemaValue=$schema}if(($schema||$isData)&&it.opts.uniqueItems!==false){if($isData){out+=" var "+$valid+"; if ("+$schemaValue+" === false || "+$schemaValue+" === undefined) "+$valid+" = true; else if (typeof "+$schemaValue+" != 'boolean') "+$valid+" = false; else { "}out+=" var i = "+$data+".length , "+$valid+" = true , j; if (i > 1) { ";var $itemType=it.schema.items&&it.schema.items.type,$typeIsArray=Array.isArray($itemType);if(!$itemType||$itemType=="object"||$itemType=="array"||$typeIsArray&&($itemType.indexOf("object")>=0||$itemType.indexOf("array")>=0)){out+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+$data+"[i], "+$data+"[j])) { "+$valid+" = false; break outer; } } } "}else{out+=" var itemIndices = {}, item; for (;i--;) { var item = "+$data+"[i]; ";var $method="checkDataType"+($typeIsArray?"s":"");out+=" if ("+it.util[$method]($itemType,"item",it.opts.strictNumbers,true)+") continue; ";if($typeIsArray){out+=" if (typeof item == 'string') item = '\"' + item; "}out+=" if (typeof itemIndices[item] == 'number') { "+$valid+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}out+=" } ";if($isData){out+=" } "}out+=" if (!"+$valid+") { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { i: i, j: j } ";if(it.opts.messages!==false){out+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(it.opts.verbose){out+=" , schema: ";if($isData){out+="validate.schema"+$schemaPath}else{out+=""+$schema}out+=" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } ";if($breakOnError){out+=" else { "}}else{if($breakOnError){out+=" if (true) { "}}return out}},{}],45:[function(require,module,exports){"use strict";module.exports=function generate_validate(it,$keyword,$ruleType){var out="";var $async=it.schema.$async===true,$refKeywords=it.util.schemaHasRulesExcept(it.schema,it.RULES.all,"$ref"),$id=it.self._getId(it.schema);if(it.opts.strictKeywords){var $unknownKwd=it.util.schemaUnknownRules(it.schema,it.RULES.keywords);if($unknownKwd){var $keywordsMsg="unknown keyword: "+$unknownKwd;if(it.opts.strictKeywords==="log")it.logger.warn($keywordsMsg);else throw new Error($keywordsMsg)}}if(it.isTop){out+=" var validate = ";if($async){it.async=true;out+="async "}out+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if($id&&(it.opts.sourceCode||it.opts.processCode)){out+=" "+("/*# sourceURL="+$id+" */")+" "}}if(typeof it.schema=="boolean"||!($refKeywords||it.schema.$ref)){var $keyword="false schema";var $lvl=it.level;var $dataLvl=it.dataLevel;var $schema=it.schema[$keyword];var $schemaPath=it.schemaPath+it.util.getProperty($keyword);var $errSchemaPath=it.errSchemaPath+"/"+$keyword;var $breakOnError=!it.opts.allErrors;var $errorKeyword;var $data="data"+($dataLvl||"");var $valid="valid"+$lvl;if(it.schema===false){if(it.isTop){$breakOnError=true}else{out+=" var "+$valid+" = false; "}var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"false schema")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: {} ";if(it.opts.messages!==false){out+=" , message: 'boolean schema is false' "}if(it.opts.verbose){out+=" , schema: false , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(it.isTop){if($async){out+=" return data; "}else{out+=" validate.errors = null; return true; "}}else{out+=" var "+$valid+" = true; "}}if(it.isTop){out+=" }; return validate; "}return out}if(it.isTop){var $top=it.isTop,$lvl=it.level=0,$dataLvl=it.dataLevel=0,$data="data";it.rootId=it.resolve.fullPath(it.self._getId(it.root.schema));it.baseId=it.baseId||it.rootId;delete it.isTop;it.dataPathArr=[undefined];if(it.schema.default!==undefined&&it.opts.useDefaults&&it.opts.strictDefaults){var $defaultMsg="default is ignored in the schema root";if(it.opts.strictDefaults==="log")it.logger.warn($defaultMsg);else throw new Error($defaultMsg)}out+=" var vErrors = null; ";out+=" var errors = 0; ";out+=" if (rootData === undefined) rootData = data; "}else{var $lvl=it.level,$dataLvl=it.dataLevel,$data="data"+($dataLvl||"");if($id)it.baseId=it.resolve.url(it.baseId,$id);if($async&&!it.async)throw new Error("async schema in sync schema");out+=" var errs_"+$lvl+" = errors;"}var $valid="valid"+$lvl,$breakOnError=!it.opts.allErrors,$closingBraces1="",$closingBraces2="";var $errorKeyword;var $typeSchema=it.schema.type,$typeIsArray=Array.isArray($typeSchema);if($typeSchema&&it.opts.nullable&&it.schema.nullable===true){if($typeIsArray){if($typeSchema.indexOf("null")==-1)$typeSchema=$typeSchema.concat("null")}else if($typeSchema!="null"){$typeSchema=[$typeSchema,"null"];$typeIsArray=true}}if($typeIsArray&&$typeSchema.length==1){$typeSchema=$typeSchema[0];$typeIsArray=false}if(it.schema.$ref&&$refKeywords){if(it.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+it.errSchemaPath+'" (see option extendRefs)')}else if(it.opts.extendRefs!==true){$refKeywords=false;it.logger.warn('$ref: keywords ignored in schema at path "'+it.errSchemaPath+'"')}}if(it.schema.$comment&&it.opts.$comment){out+=" "+it.RULES.all.$comment.code(it,"$comment")}if($typeSchema){if(it.opts.coerceTypes){var $coerceToTypes=it.util.coerceToTypes(it.opts.coerceTypes,$typeSchema)}var $rulesGroup=it.RULES.types[$typeSchema];if($coerceToTypes||$typeIsArray||$rulesGroup===true||$rulesGroup&&!$shouldUseGroup($rulesGroup)){var $schemaPath=it.schemaPath+".type",$errSchemaPath=it.errSchemaPath+"/type";var $schemaPath=it.schemaPath+".type",$errSchemaPath=it.errSchemaPath+"/type",$method=$typeIsArray?"checkDataTypes":"checkDataType";out+=" if ("+it.util[$method]($typeSchema,$data,it.opts.strictNumbers,true)+") { ";if($coerceToTypes){var $dataType="dataType"+$lvl,$coerced="coerced"+$lvl;out+=" var "+$dataType+" = typeof "+$data+"; ";if(it.opts.coerceTypes=="array"){out+=" if ("+$dataType+" == 'object' && Array.isArray("+$data+")) "+$dataType+" = 'array'; "}out+=" var "+$coerced+" = undefined; ";var $bracesCoercion="";var arr1=$coerceToTypes;if(arr1){var $type,$i=-1,l1=arr1.length-1;while($i<l1){$type=arr1[$i+=1];if($i){out+=" if ("+$coerced+" === undefined) { ";$bracesCoercion+="}"}if(it.opts.coerceTypes=="array"&&$type!="array"){out+=" if ("+$dataType+" == 'array' && "+$data+".length == 1) { "+$coerced+" = "+$data+" = "+$data+"[0]; "+$dataType+" = typeof "+$data+"; } "}if($type=="string"){out+=" if ("+$dataType+" == 'number' || "+$dataType+" == 'boolean') "+$coerced+" = '' + "+$data+"; else if ("+$data+" === null) "+$coerced+" = ''; "}else if($type=="number"||$type=="integer"){out+=" if ("+$dataType+" == 'boolean' || "+$data+" === null || ("+$dataType+" == 'string' && "+$data+" && "+$data+" == +"+$data+" ";if($type=="integer"){out+=" && !("+$data+" % 1)"}out+=")) "+$coerced+" = +"+$data+"; "}else if($type=="boolean"){out+=" if ("+$data+" === 'false' || "+$data+" === 0 || "+$data+" === null) "+$coerced+" = false; else if ("+$data+" === 'true' || "+$data+" === 1) "+$coerced+" = true; "}else if($type=="null"){out+=" if ("+$data+" === '' || "+$data+" === 0 || "+$data+" === false) "+$coerced+" = null; "}else if(it.opts.coerceTypes=="array"&&$type=="array"){out+=" if ("+$dataType+" == 'string' || "+$dataType+" == 'number' || "+$dataType+" == 'boolean' || "+$data+" == null) "+$coerced+" = ["+$data+"]; "}}}out+=" "+$bracesCoercion+" if ("+$coerced+" === undefined) { ";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"type")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { type: '";if($typeIsArray){out+=""+$typeSchema.join(",")}else{out+=""+$typeSchema}out+="' } ";if(it.opts.messages!==false){out+=" , message: 'should be ";if($typeIsArray){out+=""+$typeSchema.join(",")}else{out+=""+$typeSchema}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } else { ";var $parentData=$dataLvl?"data"+($dataLvl-1||""):"parentData",$parentDataProperty=$dataLvl?it.dataPathArr[$dataLvl]:"parentDataProperty";out+=" "+$data+" = "+$coerced+"; ";if(!$dataLvl){out+="if ("+$parentData+" !== undefined)"}out+=" "+$parentData+"["+$parentDataProperty+"] = "+$coerced+"; } "}else{var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"type")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { type: '";if($typeIsArray){out+=""+$typeSchema.join(",")}else{out+=""+$typeSchema}out+="' } ";if(it.opts.messages!==false){out+=" , message: 'should be ";if($typeIsArray){out+=""+$typeSchema.join(",")}else{out+=""+$typeSchema}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}out+=" } "}}if(it.schema.$ref&&!$refKeywords){out+=" "+it.RULES.all.$ref.code(it,"$ref")+" ";if($breakOnError){out+=" } if (errors === ";if($top){out+="0"}else{out+="errs_"+$lvl}out+=") { ";$closingBraces2+="}"}}else{var arr2=it.RULES;if(arr2){var $rulesGroup,i2=-1,l2=arr2.length-1;while(i2<l2){$rulesGroup=arr2[i2+=1];if($shouldUseGroup($rulesGroup)){if($rulesGroup.type){out+=" if ("+it.util.checkDataType($rulesGroup.type,$data,it.opts.strictNumbers)+") { "}if(it.opts.useDefaults){if($rulesGroup.type=="object"&&it.schema.properties){var $schema=it.schema.properties,$schemaKeys=Object.keys($schema);var arr3=$schemaKeys;if(arr3){var $propertyKey,i3=-1,l3=arr3.length-1;while(i3<l3){$propertyKey=arr3[i3+=1];var $sch=$schema[$propertyKey];if($sch.default!==undefined){var $passData=$data+it.util.getProperty($propertyKey);if(it.compositeRule){if(it.opts.strictDefaults){var $defaultMsg="default is ignored for: "+$passData;if(it.opts.strictDefaults==="log")it.logger.warn($defaultMsg);else throw new Error($defaultMsg)}}else{out+=" if ("+$passData+" === undefined ";if(it.opts.useDefaults=="empty"){out+=" || "+$passData+" === null || "+$passData+" === '' "}out+=" ) "+$passData+" = ";if(it.opts.useDefaults=="shared"){out+=" "+it.useDefault($sch.default)+" "}else{out+=" "+JSON.stringify($sch.default)+" "}out+="; "}}}}}else if($rulesGroup.type=="array"&&Array.isArray(it.schema.items)){var arr4=it.schema.items;if(arr4){var $sch,$i=-1,l4=arr4.length-1;while($i<l4){$sch=arr4[$i+=1];if($sch.default!==undefined){var $passData=$data+"["+$i+"]";if(it.compositeRule){if(it.opts.strictDefaults){var $defaultMsg="default is ignored for: "+$passData;if(it.opts.strictDefaults==="log")it.logger.warn($defaultMsg);else throw new Error($defaultMsg)}}else{out+=" if ("+$passData+" === undefined ";if(it.opts.useDefaults=="empty"){out+=" || "+$passData+" === null || "+$passData+" === '' "}out+=" ) "+$passData+" = ";if(it.opts.useDefaults=="shared"){out+=" "+it.useDefault($sch.default)+" "}else{out+=" "+JSON.stringify($sch.default)+" "}out+="; "}}}}}}var arr5=$rulesGroup.rules;if(arr5){var $rule,i5=-1,l5=arr5.length-1;while(i5<l5){$rule=arr5[i5+=1];if($shouldUseRule($rule)){var $code=$rule.code(it,$rule.keyword,$rulesGroup.type);if($code){out+=" "+$code+" ";if($breakOnError){$closingBraces1+="}"}}}}}if($breakOnError){out+=" "+$closingBraces1+" ";$closingBraces1=""}if($rulesGroup.type){out+=" } ";if($typeSchema&&$typeSchema===$rulesGroup.type&&!$coerceToTypes){out+=" else { ";var $schemaPath=it.schemaPath+".type",$errSchemaPath=it.errSchemaPath+"/type";var $$outStack=$$outStack||[];$$outStack.push(out);out="";if(it.createErrors!==false){out+=" { keyword: '"+($errorKeyword||"type")+"' , dataPath: (dataPath || '') + "+it.errorPath+" , schemaPath: "+it.util.toQuotedString($errSchemaPath)+" , params: { type: '";if($typeIsArray){out+=""+$typeSchema.join(",")}else{out+=""+$typeSchema}out+="' } ";if(it.opts.messages!==false){out+=" , message: 'should be ";if($typeIsArray){out+=""+$typeSchema.join(",")}else{out+=""+$typeSchema}out+="' "}if(it.opts.verbose){out+=" , schema: validate.schema"+$schemaPath+" , parentSchema: validate.schema"+it.schemaPath+" , data: "+$data+" "}out+=" } "}else{out+=" {} "}var __err=out;out=$$outStack.pop();if(!it.compositeRule&&$breakOnError){if(it.async){out+=" throw new ValidationError(["+__err+"]); "}else{out+=" validate.errors = ["+__err+"]; return false; "}}else{out+=" var err = "+__err+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}out+=" } "}}if($breakOnError){out+=" if (errors === ";if($top){out+="0"}else{out+="errs_"+$lvl}out+=") { ";$closingBraces2+="}"}}}}}if($breakOnError){out+=" "+$closingBraces2+" "}if($top){if($async){out+=" if (errors === 0) return data; ";out+=" else throw new ValidationError(vErrors); "}else{out+=" validate.errors = vErrors; ";out+=" return errors === 0; "}out+=" }; return validate;"}else{out+=" var "+$valid+" = errors === errs_"+$lvl+";"}function $shouldUseGroup($rulesGroup){var rules=$rulesGroup.rules;for(var i=0;i<rules.length;i++)if($shouldUseRule(rules[i]))return true}function $shouldUseRule($rule){return it.schema[$rule.keyword]!==undefined||$rule.implements&&$ruleImplementsSomeKeyword($rule)}function $ruleImplementsSomeKeyword($rule){var impl=$rule.implements;for(var i=0;i<impl.length;i++)if(it.schema[impl[i]]!==undefined)return true}return out}},{}],46:[function(require,module,exports){"use strict";var IDENTIFIER=/^[a-z_$][a-z0-9_$-]*$/i;var customRuleCode=require("./dotjs/custom");var definitionSchema=require("./definition_schema");module.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(keyword,definition){var RULES=this.RULES;if(RULES.keywords[keyword])throw new Error("Keyword "+keyword+" is already defined");if(!IDENTIFIER.test(keyword))throw new Error("Keyword "+keyword+" is not a valid identifier");if(definition){this.validateKeyword(definition,true);var dataType=definition.type;if(Array.isArray(dataType)){for(var i=0;i<dataType.length;i++)_addRule(keyword,dataType[i],definition)}else{_addRule(keyword,dataType,definition)}var metaSchema=definition.metaSchema;if(metaSchema){if(definition.$data&&this._opts.$data){metaSchema={anyOf:[metaSchema,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}}definition.validateSchema=this.compile(metaSchema,true)}}RULES.keywords[keyword]=RULES.all[keyword]=true;function _addRule(keyword,dataType,definition){var ruleGroup;for(var i=0;i<RULES.length;i++){var rg=RULES[i];if(rg.type==dataType){ruleGroup=rg;break}}if(!ruleGroup){ruleGroup={type:dataType,rules:[]};RULES.push(ruleGroup)}var rule={keyword:keyword,definition:definition,custom:true,code:customRuleCode,implements:definition.implements};ruleGroup.rules.push(rule);RULES.custom[keyword]=rule}return this}function getKeyword(keyword){var rule=this.RULES.custom[keyword];return rule?rule.definition:this.RULES.keywords[keyword]||false}function removeKeyword(keyword){var RULES=this.RULES;delete RULES.keywords[keyword];delete RULES.all[keyword];delete RULES.custom[keyword];for(var i=0;i<RULES.length;i++){var rules=RULES[i].rules;for(var j=0;j<rules.length;j++){if(rules[j].keyword==keyword){rules.splice(j,1);break}}}return this}function validateKeyword(definition,throwError){validateKeyword.errors=null;var v=this._validateKeyword=this._validateKeyword||this.compile(definitionSchema,true);if(v(definition))return true;validateKeyword.errors=v.errors;if(throwError)throw new Error("custom keyword definition is invalid: "+this.errorsText(v.errors));else return false}},{"./definition_schema":19,"./dotjs/custom":29}],47:[function(require,module,exports){module.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/ajv-validator/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:false}},{}],48:[function(require,module,exports){module.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:true,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:{},examples:{type:"array",items:{}},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:false},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:true},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:true}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:{}}},{}],49:[function(require,module,exports){module.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/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:true,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:true,readOnly:{type:"boolean",default:false},examples:{type:"array",items:true},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:true},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:false},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:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:true,enum:{type:"array",items:true,minItems:1,uniqueItems:true},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:true}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:true}},{}],50:[function(require,module,exports){var asn1=exports;asn1.bignum=require("bn.js");asn1.define=require("./asn1/api").define;asn1.base=require("./asn1/base");asn1.constants=require("./asn1/constants");asn1.decoders=require("./asn1/decoders");asn1.encoders=require("./asn1/encoders")},{"./asn1/api":51,"./asn1/base":53,"./asn1/constants":57,"./asn1/decoders":59,"./asn1/encoders":62,"bn.js":80}],51:[function(require,module,exports){var asn1=require("../asn1");var inherits=require("inherits");var api=exports;api.define=function define(name,body){return new Entity(name,body)};function Entity(name,body){this.name=name;this.body=body;this.decoders={};this.encoders={}}Entity.prototype._createNamed=function createNamed(base){var named;try{named=require("vm").runInThisContext("(function "+this.name+"(entity) {\n"+" this._initNamed(entity);\n"+"})")}catch(e){named=function(entity){this._initNamed(entity)}}inherits(named,base);named.prototype._initNamed=function initnamed(entity){base.call(this,entity)};return new named(this)};Entity.prototype._getDecoder=function _getDecoder(enc){enc=enc||"der";if(!this.decoders.hasOwnProperty(enc))this.decoders[enc]=this._createNamed(asn1.decoders[enc]);return this.decoders[enc]};Entity.prototype.decode=function decode(data,enc,options){return this._getDecoder(enc).decode(data,options)};Entity.prototype._getEncoder=function _getEncoder(enc){enc=enc||"der";if(!this.encoders.hasOwnProperty(enc))this.encoders[enc]=this._createNamed(asn1.encoders[enc]);return this.encoders[enc]};Entity.prototype.encode=function encode(data,enc,reporter){return this._getEncoder(enc).encode(data,reporter)}},{"../asn1":50,inherits:326,vm:1006}],52:[function(require,module,exports){var inherits=require("inherits");var Reporter=require("../base").Reporter;var Buffer=require("buffer").Buffer;function DecoderBuffer(base,options){Reporter.call(this,options);if(!Buffer.isBuffer(base)){this.error("Input not Buffer");return}this.base=base;this.offset=0;this.length=base.length}inherits(DecoderBuffer,Reporter);exports.DecoderBuffer=DecoderBuffer;DecoderBuffer.prototype.save=function save(){return{offset:this.offset,reporter:Reporter.prototype.save.call(this)}};DecoderBuffer.prototype.restore=function restore(save){var res=new DecoderBuffer(this.base);res.offset=save.offset;res.length=this.offset;this.offset=save.offset;Reporter.prototype.restore.call(this,save.reporter);return res};DecoderBuffer.prototype.isEmpty=function isEmpty(){return this.offset===this.length};DecoderBuffer.prototype.readUInt8=function readUInt8(fail){if(this.offset+1<=this.length)return this.base.readUInt8(this.offset++,true);else return this.error(fail||"DecoderBuffer overrun")};DecoderBuffer.prototype.skip=function skip(bytes,fail){if(!(this.offset+bytes<=this.length))return this.error(fail||"DecoderBuffer overrun");var res=new DecoderBuffer(this.base);res._reporterState=this._reporterState;res.offset=this.offset;res.length=this.offset+bytes;this.offset+=bytes;return res};DecoderBuffer.prototype.raw=function raw(save){return this.base.slice(save?save.offset:this.offset,this.length)};function EncoderBuffer(value,reporter){if(Array.isArray(value)){this.length=0;this.value=value.map((function(item){if(!(item instanceof EncoderBuffer))item=new EncoderBuffer(item,reporter);this.length+=item.length;return item}),this)}else if(typeof value==="number"){if(!(0<=value&&value<=255))return reporter.error("non-byte EncoderBuffer value");this.value=value;this.length=1}else if(typeof value==="string"){this.value=value;this.length=Buffer.byteLength(value)}else if(Buffer.isBuffer(value)){this.value=value;this.length=value.length}else{return reporter.error("Unsupported type: "+typeof value)}}exports.EncoderBuffer=EncoderBuffer;EncoderBuffer.prototype.join=function join(out,offset){if(!out)out=new Buffer(this.length);if(!offset)offset=0;if(this.length===0)return out;if(Array.isArray(this.value)){this.value.forEach((function(item){item.join(out,offset);offset+=item.length}))}else{if(typeof this.value==="number")out[offset]=this.value;else if(typeof this.value==="string")out.write(this.value,offset);else if(Buffer.isBuffer(this.value))this.value.copy(out,offset);offset+=this.length}return out}},{"../base":53,buffer:132,inherits:326}],53:[function(require,module,exports){var base=exports;base.Reporter=require("./reporter").Reporter;base.DecoderBuffer=require("./buffer").DecoderBuffer;base.EncoderBuffer=require("./buffer").EncoderBuffer;base.Node=require("./node")},{"./buffer":52,"./node":54,"./reporter":55}],54:[function(require,module,exports){var Reporter=require("../base").Reporter;var EncoderBuffer=require("../base").EncoderBuffer;var DecoderBuffer=require("../base").DecoderBuffer;var assert=require("minimalistic-assert");var tags=["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"];var methods=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(tags);var overrided=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function Node(enc,parent){var state={};this._baseState=state;state.enc=enc;state.parent=parent||null;state.children=null;state.tag=null;state.args=null;state.reverseArgs=null;state.choice=null;state.optional=false;state.any=false;state.obj=false;state.use=null;state.useDecoder=null;state.key=null;state["default"]=null;state.explicit=null;state.implicit=null;state.contains=null;if(!state.parent){state.children=[];this._wrap()}}module.exports=Node;var stateProps=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];Node.prototype.clone=function clone(){var state=this._baseState;var cstate={};stateProps.forEach((function(prop){cstate[prop]=state[prop]}));var res=new this.constructor(cstate.parent);res._baseState=cstate;return res};Node.prototype._wrap=function wrap(){var state=this._baseState;methods.forEach((function(method){this[method]=function _wrappedMethod(){var clone=new this.constructor(this);state.children.push(clone);return clone[method].apply(clone,arguments)}}),this)};Node.prototype._init=function init(body){var state=this._baseState;assert(state.parent===null);body.call(this);state.children=state.children.filter((function(child){return child._baseState.parent===this}),this);assert.equal(state.children.length,1,"Root node can have only one child")};Node.prototype._useArgs=function useArgs(args){var state=this._baseState;var children=args.filter((function(arg){return arg instanceof this.constructor}),this);args=args.filter((function(arg){return!(arg instanceof this.constructor)}),this);if(children.length!==0){assert(state.children===null);state.children=children;children.forEach((function(child){child._baseState.parent=this}),this)}if(args.length!==0){assert(state.args===null);state.args=args;state.reverseArgs=args.map((function(arg){if(typeof arg!=="object"||arg.constructor!==Object)return arg;var res={};Object.keys(arg).forEach((function(key){if(key==(key|0))key|=0;var value=arg[key];res[value]=key}));return res}))}};overrided.forEach((function(method){Node.prototype[method]=function _overrided(){var state=this._baseState;throw new Error(method+" not implemented for encoding: "+state.enc)}}));tags.forEach((function(tag){Node.prototype[tag]=function _tagMethod(){var state=this._baseState;var args=Array.prototype.slice.call(arguments);assert(state.tag===null);state.tag=tag;this._useArgs(args);return this}}));Node.prototype.use=function use(item){assert(item);var state=this._baseState;assert(state.use===null);state.use=item;return this};Node.prototype.optional=function optional(){var state=this._baseState;state.optional=true;return this};Node.prototype.def=function def(val){var state=this._baseState;assert(state["default"]===null);state["default"]=val;state.optional=true;return this};Node.prototype.explicit=function explicit(num){var state=this._baseState;assert(state.explicit===null&&state.implicit===null);state.explicit=num;return this};Node.prototype.implicit=function implicit(num){var state=this._baseState;assert(state.explicit===null&&state.implicit===null);state.implicit=num;return this};Node.prototype.obj=function obj(){var state=this._baseState;var args=Array.prototype.slice.call(arguments);state.obj=true;if(args.length!==0)this._useArgs(args);return this};Node.prototype.key=function key(newKey){var state=this._baseState;assert(state.key===null);state.key=newKey;return this};Node.prototype.any=function any(){var state=this._baseState;state.any=true;return this};Node.prototype.choice=function choice(obj){var state=this._baseState;assert(state.choice===null);state.choice=obj;this._useArgs(Object.keys(obj).map((function(key){return obj[key]})));return this};Node.prototype.contains=function contains(item){var state=this._baseState;assert(state.use===null);state.contains=item;return this};Node.prototype._decode=function decode(input,options){var state=this._baseState;if(state.parent===null)return input.wrapResult(state.children[0]._decode(input,options));var result=state["default"];var present=true;var prevKey=null;if(state.key!==null)prevKey=input.enterKey(state.key);if(state.optional){var tag=null;if(state.explicit!==null)tag=state.explicit;else if(state.implicit!==null)tag=state.implicit;else if(state.tag!==null)tag=state.tag;if(tag===null&&!state.any){var save=input.save();try{if(state.choice===null)this._decodeGeneric(state.tag,input,options);else this._decodeChoice(input,options);present=true}catch(e){present=false}input.restore(save)}else{present=this._peekTag(input,tag,state.any);if(input.isError(present))return present}}var prevObj;if(state.obj&&present)prevObj=input.enterObject();if(present){if(state.explicit!==null){var explicit=this._decodeTag(input,state.explicit);if(input.isError(explicit))return explicit;input=explicit}var start=input.offset;if(state.use===null&&state.choice===null){if(state.any)var save=input.save();var body=this._decodeTag(input,state.implicit!==null?state.implicit:state.tag,state.any);if(input.isError(body))return body;if(state.any)result=input.raw(save);else input=body}if(options&&options.track&&state.tag!==null)options.track(input.path(),start,input.length,"tagged");if(options&&options.track&&state.tag!==null)options.track(input.path(),input.offset,input.length,"content");if(state.any)result=result;else if(state.choice===null)result=this._decodeGeneric(state.tag,input,options);else result=this._decodeChoice(input,options);if(input.isError(result))return result;if(!state.any&&state.choice===null&&state.children!==null){state.children.forEach((function decodeChildren(child){child._decode(input,options)}))}if(state.contains&&(state.tag==="octstr"||state.tag==="bitstr")){var data=new DecoderBuffer(result);result=this._getUse(state.contains,input._reporterState.obj)._decode(data,options)}}if(state.obj&&present)result=input.leaveObject(prevObj);if(state.key!==null&&(result!==null||present===true))input.leaveKey(prevKey,state.key,result);else if(prevKey!==null)input.exitKey(prevKey);return result};Node.prototype._decodeGeneric=function decodeGeneric(tag,input,options){var state=this._baseState;if(tag==="seq"||tag==="set")return null;if(tag==="seqof"||tag==="setof")return this._decodeList(input,tag,state.args[0],options);else if(/str$/.test(tag))return this._decodeStr(input,tag,options);else if(tag==="objid"&&state.args)return this._decodeObjid(input,state.args[0],state.args[1],options);else if(tag==="objid")return this._decodeObjid(input,null,null,options);else if(tag==="gentime"||tag==="utctime")return this._decodeTime(input,tag,options);else if(tag==="null_")return this._decodeNull(input,options);else if(tag==="bool")return this._decodeBool(input,options);else if(tag==="objDesc")return this._decodeStr(input,tag,options);else if(tag==="int"||tag==="enum")return this._decodeInt(input,state.args&&state.args[0],options);if(state.use!==null){return this._getUse(state.use,input._reporterState.obj)._decode(input,options)}else{return input.error("unknown tag: "+tag)}};Node.prototype._getUse=function _getUse(entity,obj){var state=this._baseState;state.useDecoder=this._use(entity,obj);assert(state.useDecoder._baseState.parent===null);state.useDecoder=state.useDecoder._baseState.children[0];if(state.implicit!==state.useDecoder._baseState.implicit){state.useDecoder=state.useDecoder.clone();state.useDecoder._baseState.implicit=state.implicit}return state.useDecoder};Node.prototype._decodeChoice=function decodeChoice(input,options){var state=this._baseState;var result=null;var match=false;Object.keys(state.choice).some((function(key){var save=input.save();var node=state.choice[key];try{var value=node._decode(input,options);if(input.isError(value))return false;result={type:key,value:value};match=true}catch(e){input.restore(save);return false}return true}),this);if(!match)return input.error("Choice not matched");return result};Node.prototype._createEncoderBuffer=function createEncoderBuffer(data){return new EncoderBuffer(data,this.reporter)};Node.prototype._encode=function encode(data,reporter,parent){var state=this._baseState;if(state["default"]!==null&&state["default"]===data)return;var result=this._encodeValue(data,reporter,parent);if(result===undefined)return;if(this._skipDefault(result,reporter,parent))return;return result};Node.prototype._encodeValue=function encode(data,reporter,parent){var state=this._baseState;if(state.parent===null)return state.children[0]._encode(data,reporter||new Reporter);var result=null;this.reporter=reporter;if(state.optional&&data===undefined){if(state["default"]!==null)data=state["default"];else return}var content=null;var primitive=false;if(state.any){result=this._createEncoderBuffer(data)}else if(state.choice){result=this._encodeChoice(data,reporter)}else if(state.contains){content=this._getUse(state.contains,parent)._encode(data,reporter);primitive=true}else if(state.children){content=state.children.map((function(child){if(child._baseState.tag==="null_")return child._encode(null,reporter,data);if(child._baseState.key===null)return reporter.error("Child should have a key");var prevKey=reporter.enterKey(child._baseState.key);if(typeof data!=="object")return reporter.error("Child expected, but input is not object");var res=child._encode(data[child._baseState.key],reporter,data);reporter.leaveKey(prevKey);return res}),this).filter((function(child){return child}));content=this._createEncoderBuffer(content)}else{if(state.tag==="seqof"||state.tag==="setof"){if(!(state.args&&state.args.length===1))return reporter.error("Too many args for : "+state.tag);if(!Array.isArray(data))return reporter.error("seqof/setof, but data is not Array");var child=this.clone();child._baseState.implicit=null;content=this._createEncoderBuffer(data.map((function(item){var state=this._baseState;return this._getUse(state.args[0],data)._encode(item,reporter)}),child))}else if(state.use!==null){result=this._getUse(state.use,parent)._encode(data,reporter)}else{content=this._encodePrimitive(state.tag,data);primitive=true}}var result;if(!state.any&&state.choice===null){var tag=state.implicit!==null?state.implicit:state.tag;var cls=state.implicit===null?"universal":"context";if(tag===null){if(state.use===null)reporter.error("Tag could be omitted only for .use()")}else{if(state.use===null)result=this._encodeComposite(tag,primitive,cls,content)}}if(state.explicit!==null)result=this._encodeComposite(state.explicit,false,"context",result);return result};Node.prototype._encodeChoice=function encodeChoice(data,reporter){var state=this._baseState;var node=state.choice[data.type];if(!node){assert(false,data.type+" not found in "+JSON.stringify(Object.keys(state.choice)))}return node._encode(data.value,reporter)};Node.prototype._encodePrimitive=function encodePrimitive(tag,data){var state=this._baseState;if(/str$/.test(tag))return this._encodeStr(data,tag);else if(tag==="objid"&&state.args)return this._encodeObjid(data,state.reverseArgs[0],state.args[1]);else if(tag==="objid")return this._encodeObjid(data,null,null);else if(tag==="gentime"||tag==="utctime")return this._encodeTime(data,tag);else if(tag==="null_")return this._encodeNull();else if(tag==="int"||tag==="enum")return this._encodeInt(data,state.args&&state.reverseArgs[0]);else if(tag==="bool")return this._encodeBool(data);else if(tag==="objDesc")return this._encodeStr(data,tag);else throw new Error("Unsupported tag: "+tag)};Node.prototype._isNumstr=function isNumstr(str){return/^[0-9 ]*$/.test(str)};Node.prototype._isPrintstr=function isPrintstr(str){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(str)}},{"../base":53,"minimalistic-assert":800}],55:[function(require,module,exports){var inherits=require("inherits");function Reporter(options){this._reporterState={obj:null,path:[],options:options||{},errors:[]}}exports.Reporter=Reporter;Reporter.prototype.isError=function isError(obj){return obj instanceof ReporterError};Reporter.prototype.save=function save(){var state=this._reporterState;return{obj:state.obj,pathLen:state.path.length}};Reporter.prototype.restore=function restore(data){var state=this._reporterState;state.obj=data.obj;state.path=state.path.slice(0,data.pathLen)};Reporter.prototype.enterKey=function enterKey(key){return this._reporterState.path.push(key)};Reporter.prototype.exitKey=function exitKey(index){var state=this._reporterState;state.path=state.path.slice(0,index-1)};Reporter.prototype.leaveKey=function leaveKey(index,key,value){var state=this._reporterState;this.exitKey(index);if(state.obj!==null)state.obj[key]=value};Reporter.prototype.path=function path(){return this._reporterState.path.join("/")};Reporter.prototype.enterObject=function enterObject(){var state=this._reporterState;var prev=state.obj;state.obj={};return prev};Reporter.prototype.leaveObject=function leaveObject(prev){var state=this._reporterState;var now=state.obj;state.obj=prev;return now};Reporter.prototype.error=function error(msg){var err;var state=this._reporterState;var inherited=msg instanceof ReporterError;if(inherited){err=msg}else{err=new ReporterError(state.path.map((function(elem){return"["+JSON.stringify(elem)+"]"})).join(""),msg.message||msg,msg.stack)}if(!state.options.partial)throw err;if(!inherited)state.errors.push(err);return err};Reporter.prototype.wrapResult=function wrapResult(result){var state=this._reporterState;if(!state.options.partial)return result;return{result:this.isError(result)?null:result,errors:state.errors}};function ReporterError(path,msg){this.path=path;this.rethrow(msg)}inherits(ReporterError,Error);ReporterError.prototype.rethrow=function rethrow(msg){this.message=msg+" at: "+(this.path||"(shallow)");if(Error.captureStackTrace)Error.captureStackTrace(this,ReporterError);if(!this.stack){try{throw new Error(this.message)}catch(e){this.stack=e.stack}}return this}},{inherits:326}],56:[function(require,module,exports){var constants=require("../constants");exports.tagClass={0:"universal",1:"application",2:"context",3:"private"};exports.tagClassByName=constants._reverse(exports.tagClass);exports.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"};exports.tagByName=constants._reverse(exports.tag)},{"../constants":57}],57:[function(require,module,exports){var constants=exports;constants._reverse=function reverse(map){var res={};Object.keys(map).forEach((function(key){if((key|0)==key)key=key|0;var value=map[key];res[value]=key}));return res};constants.der=require("./der")},{"./der":56}],58:[function(require,module,exports){var inherits=require("inherits");var asn1=require("../../asn1");var base=asn1.base;var bignum=asn1.bignum;var der=asn1.constants.der;function DERDecoder(entity){this.enc="der";this.name=entity.name;this.entity=entity;this.tree=new DERNode;this.tree._init(entity.body)}module.exports=DERDecoder;DERDecoder.prototype.decode=function decode(data,options){if(!(data instanceof base.DecoderBuffer))data=new base.DecoderBuffer(data,options);return this.tree._decode(data,options)};function DERNode(parent){base.Node.call(this,"der",parent)}inherits(DERNode,base.Node);DERNode.prototype._peekTag=function peekTag(buffer,tag,any){if(buffer.isEmpty())return false;var state=buffer.save();var decodedTag=derDecodeTag(buffer,'Failed to peek tag: "'+tag+'"');if(buffer.isError(decodedTag))return decodedTag;buffer.restore(state);return decodedTag.tag===tag||decodedTag.tagStr===tag||decodedTag.tagStr+"of"===tag||any};DERNode.prototype._decodeTag=function decodeTag(buffer,tag,any){var decodedTag=derDecodeTag(buffer,'Failed to decode tag of "'+tag+'"');if(buffer.isError(decodedTag))return decodedTag;var len=derDecodeLen(buffer,decodedTag.primitive,'Failed to get length of "'+tag+'"');if(buffer.isError(len))return len;if(!any&&decodedTag.tag!==tag&&decodedTag.tagStr!==tag&&decodedTag.tagStr+"of"!==tag){return buffer.error('Failed to match tag: "'+tag+'"')}if(decodedTag.primitive||len!==null)return buffer.skip(len,'Failed to match body of: "'+tag+'"');var state=buffer.save();var res=this._skipUntilEnd(buffer,'Failed to skip indefinite length body: "'+this.tag+'"');if(buffer.isError(res))return res;len=buffer.offset-state.offset;buffer.restore(state);return buffer.skip(len,'Failed to match body of: "'+tag+'"')};DERNode.prototype._skipUntilEnd=function skipUntilEnd(buffer,fail){while(true){var tag=derDecodeTag(buffer,fail);if(buffer.isError(tag))return tag;var len=derDecodeLen(buffer,tag.primitive,fail);if(buffer.isError(len))return len;var res;if(tag.primitive||len!==null)res=buffer.skip(len);else res=this._skipUntilEnd(buffer,fail);if(buffer.isError(res))return res;if(tag.tagStr==="end")break}};DERNode.prototype._decodeList=function decodeList(buffer,tag,decoder,options){var result=[];while(!buffer.isEmpty()){var possibleEnd=this._peekTag(buffer,"end");if(buffer.isError(possibleEnd))return possibleEnd;var res=decoder.decode(buffer,"der",options);if(buffer.isError(res)&&possibleEnd)break;result.push(res)}return result};DERNode.prototype._decodeStr=function decodeStr(buffer,tag){if(tag==="bitstr"){var unused=buffer.readUInt8();if(buffer.isError(unused))return unused;return{unused:unused,data:buffer.raw()}}else if(tag==="bmpstr"){var raw=buffer.raw();if(raw.length%2===1)return buffer.error("Decoding of string type: bmpstr length mismatch");var str="";for(var i=0;i<raw.length/2;i++){str+=String.fromCharCode(raw.readUInt16BE(i*2))}return str}else if(tag==="numstr"){var numstr=buffer.raw().toString("ascii");if(!this._isNumstr(numstr)){return buffer.error("Decoding of string type: "+"numstr unsupported characters")}return numstr}else if(tag==="octstr"){return buffer.raw()}else if(tag==="objDesc"){return buffer.raw()}else if(tag==="printstr"){var printstr=buffer.raw().toString("ascii");if(!this._isPrintstr(printstr)){return buffer.error("Decoding of string type: "+"printstr unsupported characters")}return printstr}else if(/str$/.test(tag)){return buffer.raw().toString()}else{return buffer.error("Decoding of string type: "+tag+" unsupported")}};DERNode.prototype._decodeObjid=function decodeObjid(buffer,values,relative){var result;var identifiers=[];var ident=0;while(!buffer.isEmpty()){var subident=buffer.readUInt8();ident<<=7;ident|=subident&127;if((subident&128)===0){identifiers.push(ident);ident=0}}if(subident&128)identifiers.push(ident);var first=identifiers[0]/40|0;var second=identifiers[0]%40;if(relative)result=identifiers;else result=[first,second].concat(identifiers.slice(1));if(values){var tmp=values[result.join(" ")];if(tmp===undefined)tmp=values[result.join(".")];if(tmp!==undefined)result=tmp}return result};DERNode.prototype._decodeTime=function decodeTime(buffer,tag){var str=buffer.raw().toString();if(tag==="gentime"){var year=str.slice(0,4)|0;var mon=str.slice(4,6)|0;var day=str.slice(6,8)|0;var hour=str.slice(8,10)|0;var min=str.slice(10,12)|0;var sec=str.slice(12,14)|0}else if(tag==="utctime"){var year=str.slice(0,2)|0;var mon=str.slice(2,4)|0;var day=str.slice(4,6)|0;var hour=str.slice(6,8)|0;var min=str.slice(8,10)|0;var sec=str.slice(10,12)|0;if(year<70)year=2e3+year;else year=1900+year}else{return buffer.error("Decoding "+tag+" time is not supported yet")}return Date.UTC(year,mon-1,day,hour,min,sec,0)};DERNode.prototype._decodeNull=function decodeNull(buffer){return null};DERNode.prototype._decodeBool=function decodeBool(buffer){var res=buffer.readUInt8();if(buffer.isError(res))return res;else return res!==0};DERNode.prototype._decodeInt=function decodeInt(buffer,values){var raw=buffer.raw();var res=new bignum(raw);if(values)res=values[res.toString(10)]||res;return res};DERNode.prototype._use=function use(entity,obj){if(typeof entity==="function")entity=entity(obj);return entity._getDecoder("der").tree};function derDecodeTag(buf,fail){var tag=buf.readUInt8(fail);if(buf.isError(tag))return tag;var cls=der.tagClass[tag>>6];var primitive=(tag&32)===0;if((tag&31)===31){var oct=tag;tag=0;while((oct&128)===128){oct=buf.readUInt8(fail);if(buf.isError(oct))return oct;tag<<=7;tag|=oct&127}}else{tag&=31}var tagStr=der.tag[tag];return{cls:cls,primitive:primitive,tag:tag,tagStr:tagStr}}function derDecodeLen(buf,primitive,fail){var len=buf.readUInt8(fail);if(buf.isError(len))return len;if(!primitive&&len===128)return null;if((len&128)===0){return len}var num=len&127;if(num>4)return buf.error("length octect is too long");len=0;for(var i=0;i<num;i++){len<<=8;var j=buf.readUInt8(fail);if(buf.isError(j))return j;len|=j}return len}},{"../../asn1":50,inherits:326}],59:[function(require,module,exports){var decoders=exports;decoders.der=require("./der");decoders.pem=require("./pem")},{"./der":58,"./pem":60}],60:[function(require,module,exports){var inherits=require("inherits");var Buffer=require("buffer").Buffer;var DERDecoder=require("./der");function PEMDecoder(entity){DERDecoder.call(this,entity);this.enc="pem"}inherits(PEMDecoder,DERDecoder);module.exports=PEMDecoder;PEMDecoder.prototype.decode=function decode(data,options){var lines=data.toString().split(/[\r\n]+/g);var label=options.label.toUpperCase();var re=/^-----(BEGIN|END) ([^-]+)-----$/;var start=-1;var end=-1;for(var i=0;i<lines.length;i++){var match=lines[i].match(re);if(match===null)continue;if(match[2]!==label)continue;if(start===-1){if(match[1]!=="BEGIN")break;start=i}else{if(match[1]!=="END")break;end=i;break}}if(start===-1||end===-1)throw new Error("PEM section not found for: "+label);var base64=lines.slice(start+1,end).join("");base64.replace(/[^a-z0-9\+\/=]+/gi,"");var input=new Buffer(base64,"base64");return DERDecoder.prototype.decode.call(this,input,options)}},{"./der":58,buffer:132,inherits:326}],61:[function(require,module,exports){var inherits=require("inherits");var Buffer=require("buffer").Buffer;var asn1=require("../../asn1");var base=asn1.base;var der=asn1.constants.der;function DEREncoder(entity){this.enc="der";this.name=entity.name;this.entity=entity;this.tree=new DERNode;this.tree._init(entity.body)}module.exports=DEREncoder;DEREncoder.prototype.encode=function encode(data,reporter){return this.tree._encode(data,reporter).join()};function DERNode(parent){base.Node.call(this,"der",parent)}inherits(DERNode,base.Node);DERNode.prototype._encodeComposite=function encodeComposite(tag,primitive,cls,content){var encodedTag=encodeTag(tag,primitive,cls,this.reporter);if(content.length<128){var header=new Buffer(2);header[0]=encodedTag;header[1]=content.length;return this._createEncoderBuffer([header,content])}var lenOctets=1;for(var i=content.length;i>=256;i>>=8)lenOctets++;var header=new Buffer(1+1+lenOctets);header[0]=encodedTag;header[1]=128|lenOctets;for(var i=1+lenOctets,j=content.length;j>0;i--,j>>=8)header[i]=j&255;return this._createEncoderBuffer([header,content])};DERNode.prototype._encodeStr=function encodeStr(str,tag){if(tag==="bitstr"){return this._createEncoderBuffer([str.unused|0,str.data])}else if(tag==="bmpstr"){var buf=new Buffer(str.length*2);for(var i=0;i<str.length;i++){buf.writeUInt16BE(str.charCodeAt(i),i*2)}return this._createEncoderBuffer(buf)}else if(tag==="numstr"){if(!this._isNumstr(str)){return this.reporter.error("Encoding of string type: numstr supports "+"only digits and space")}return this._createEncoderBuffer(str)}else if(tag==="printstr"){if(!this._isPrintstr(str)){return 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")}return this._createEncoderBuffer(str)}else if(/str$/.test(tag)){return this._createEncoderBuffer(str)}else if(tag==="objDesc"){return this._createEncoderBuffer(str)}else{return this.reporter.error("Encoding of string type: "+tag+" unsupported")}};DERNode.prototype._encodeObjid=function encodeObjid(id,values,relative){if(typeof id==="string"){if(!values)return this.reporter.error("string objid given, but no values map found");if(!values.hasOwnProperty(id))return this.reporter.error("objid not found in values map");id=values[id].split(/[\s\.]+/g);for(var i=0;i<id.length;i++)id[i]|=0}else if(Array.isArray(id)){id=id.slice();for(var i=0;i<id.length;i++)id[i]|=0}if(!Array.isArray(id)){return this.reporter.error("objid() should be either array or string, "+"got: "+JSON.stringify(id))}if(!relative){if(id[1]>=40)return this.reporter.error("Second objid identifier OOB");id.splice(0,2,id[0]*40+id[1])}var size=0;for(var i=0;i<id.length;i++){var ident=id[i];for(size++;ident>=128;ident>>=7)size++}var objid=new Buffer(size);var offset=objid.length-1;for(var i=id.length-1;i>=0;i--){var ident=id[i];objid[offset--]=ident&127;while((ident>>=7)>0)objid[offset--]=128|ident&127}return this._createEncoderBuffer(objid)};function two(num){if(num<10)return"0"+num;else return num}DERNode.prototype._encodeTime=function encodeTime(time,tag){var str;var date=new Date(time);if(tag==="gentime"){str=[two(date.getFullYear()),two(date.getUTCMonth()+1),two(date.getUTCDate()),two(date.getUTCHours()),two(date.getUTCMinutes()),two(date.getUTCSeconds()),"Z"].join("")}else if(tag==="utctime"){str=[two(date.getFullYear()%100),two(date.getUTCMonth()+1),two(date.getUTCDate()),two(date.getUTCHours()),two(date.getUTCMinutes()),two(date.getUTCSeconds()),"Z"].join("")}else{this.reporter.error("Encoding "+tag+" time is not supported yet")}return this._encodeStr(str,"octstr")};DERNode.prototype._encodeNull=function encodeNull(){return this._createEncoderBuffer("")};DERNode.prototype._encodeInt=function encodeInt(num,values){if(typeof num==="string"){if(!values)return this.reporter.error("String int or enum given, but no values map");if(!values.hasOwnProperty(num)){return this.reporter.error("Values map doesn't contain: "+JSON.stringify(num))}num=values[num]}if(typeof num!=="number"&&!Buffer.isBuffer(num)){var numArray=num.toArray();if(!num.sign&&numArray[0]&128){numArray.unshift(0)}num=new Buffer(numArray)}if(Buffer.isBuffer(num)){var size=num.length;if(num.length===0)size++;var out=new Buffer(size);num.copy(out);if(num.length===0)out[0]=0;return this._createEncoderBuffer(out)}if(num<128)return this._createEncoderBuffer(num);if(num<256)return this._createEncoderBuffer([0,num]);var size=1;for(var i=num;i>=256;i>>=8)size++;var out=new Array(size);for(var i=out.length-1;i>=0;i--){out[i]=num&255;num>>=8}if(out[0]&128){out.unshift(0)}return this._createEncoderBuffer(new Buffer(out))};DERNode.prototype._encodeBool=function encodeBool(value){return this._createEncoderBuffer(value?255:0)};DERNode.prototype._use=function use(entity,obj){if(typeof entity==="function")entity=entity(obj);return entity._getEncoder("der").tree};DERNode.prototype._skipDefault=function skipDefault(dataBuffer,reporter,parent){var state=this._baseState;var i;if(state["default"]===null)return false;var data=dataBuffer.join();if(state.defaultBuffer===undefined)state.defaultBuffer=this._encodeValue(state["default"],reporter,parent).join();if(data.length!==state.defaultBuffer.length)return false;for(i=0;i<data.length;i++)if(data[i]!==state.defaultBuffer[i])return false;return true};function encodeTag(tag,primitive,cls,reporter){var res;if(tag==="seqof")tag="seq";else if(tag==="setof")tag="set";if(der.tagByName.hasOwnProperty(tag))res=der.tagByName[tag];else if(typeof tag==="number"&&(tag|0)===tag)res=tag;else return reporter.error("Unknown tag: "+tag);if(res>=31)return reporter.error("Multi-octet tag encoding unsupported");if(!primitive)res|=32;res|=der.tagClassByName[cls||"universal"]<<6;return res}},{"../../asn1":50,buffer:132,inherits:326}],62:[function(require,module,exports){var encoders=exports;encoders.der=require("./der");encoders.pem=require("./pem")},{"./der":61,"./pem":63}],63:[function(require,module,exports){var inherits=require("inherits");var DEREncoder=require("./der");function PEMEncoder(entity){DEREncoder.call(this,entity);this.enc="pem"}inherits(PEMEncoder,DEREncoder);module.exports=PEMEncoder;PEMEncoder.prototype.encode=function encode(data,options){var buf=DEREncoder.prototype.encode.call(this,data);var p=buf.toString("base64");var out=["-----BEGIN "+options.label+"-----"];for(var i=0;i<p.length;i+=64)out.push(p.slice(i,i+64));out.push("-----END "+options.label+"-----");return out.join("\n")}},{"./der":61,inherits:326}],64:[function(require,module,exports){module.exports={newInvalidAsn1Error:function(msg){var e=new Error;e.name="InvalidAsn1Error";e.message=msg||"";return e}}},{}],65:[function(require,module,exports){var errors=require("./errors");var types=require("./types");var Reader=require("./reader");var Writer=require("./writer");module.exports={Reader:Reader,Writer:Writer};for(var t in types){if(types.hasOwnProperty(t))module.exports[t]=types[t]}for(var e in errors){if(errors.hasOwnProperty(e))module.exports[e]=errors[e]}},{"./errors":64,"./reader":66,"./types":67,"./writer":68}],66:[function(require,module,exports){var assert=require("assert");var Buffer=require("safer-buffer").Buffer;var ASN1=require("./types");var errors=require("./errors");var newInvalidAsn1Error=errors.newInvalidAsn1Error;function Reader(data){if(!data||!Buffer.isBuffer(data))throw new TypeError("data must be a node Buffer");this._buf=data;this._size=data.length;this._len=0;this._offset=0}Object.defineProperty(Reader.prototype,"length",{enumerable:true,get:function(){return this._len}});Object.defineProperty(Reader.prototype,"offset",{enumerable:true,get:function(){return this._offset}});Object.defineProperty(Reader.prototype,"remain",{get:function(){return this._size-this._offset}});Object.defineProperty(Reader.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}});Reader.prototype.readByte=function(peek){if(this._size-this._offset<1)return null;var b=this._buf[this._offset]&255;if(!peek)this._offset+=1;return b};Reader.prototype.peek=function(){return this.readByte(true)};Reader.prototype.readLength=function(offset){if(offset===undefined)offset=this._offset;if(offset>=this._size)return null;var lenB=this._buf[offset++]&255;if(lenB===null)return null;if((lenB&128)===128){lenB&=127;if(lenB===0)throw newInvalidAsn1Error("Indefinite length not supported");if(lenB>4)throw newInvalidAsn1Error("encoding too long");if(this._size-offset<lenB)return null;this._len=0;for(var i=0;i<lenB;i++)this._len=(this._len<<8)+(this._buf[offset++]&255)}else{this._len=lenB}return offset};Reader.prototype.readSequence=function(tag){var seq=this.peek();if(seq===null)return null;if(tag!==undefined&&tag!==seq)throw newInvalidAsn1Error("Expected 0x"+tag.toString(16)+": got 0x"+seq.toString(16));var o=this.readLength(this._offset+1);if(o===null)return null;this._offset=o;return seq};Reader.prototype.readInt=function(){return this._readTag(ASN1.Integer)};Reader.prototype.readBoolean=function(){return this._readTag(ASN1.Boolean)===0?false:true};Reader.prototype.readEnumeration=function(){return this._readTag(ASN1.Enumeration)};Reader.prototype.readString=function(tag,retbuf){if(!tag)tag=ASN1.OctetString;var b=this.peek();if(b===null)return null;if(b!==tag)throw newInvalidAsn1Error("Expected 0x"+tag.toString(16)+": got 0x"+b.toString(16));var o=this.readLength(this._offset+1);if(o===null)return null;if(this.length>this._size-o)return null;this._offset=o;if(this.length===0)return retbuf?Buffer.alloc(0):"";var str=this._buf.slice(this._offset,this._offset+this.length);this._offset+=this.length;return retbuf?str:str.toString("utf8")};Reader.prototype.readOID=function(tag){if(!tag)tag=ASN1.OID;var b=this.readString(tag,true);if(b===null)return null;var values=[];var value=0;for(var i=0;i<b.length;i++){var byte=b[i]&255;value<<=7;value+=byte&127;if((byte&128)===0){values.push(value);value=0}}value=values.shift();values.unshift(value%40);values.unshift(value/40>>0);return values.join(".")};Reader.prototype._readTag=function(tag){assert.ok(tag!==undefined);var b=this.peek();if(b===null)return null;if(b!==tag)throw newInvalidAsn1Error("Expected 0x"+tag.toString(16)+": got 0x"+b.toString(16));var o=this.readLength(this._offset+1);if(o===null)return null;if(this.length>4)throw newInvalidAsn1Error("Integer too long: "+this.length);if(this.length>this._size-o)return null;this._offset=o;var fb=this._buf[this._offset];var value=0;for(var i=0;i<this.length;i++){value<<=8;value|=this._buf[this._offset++]&255}if((fb&128)===128&&i!==4)value-=1<<i*8;return value>>0};module.exports=Reader},{"./errors":64,"./types":67,assert:71,"safer-buffer":908}],67:[function(require,module,exports){module.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}},{}],68:[function(require,module,exports){var assert=require("assert");var Buffer=require("safer-buffer").Buffer;var ASN1=require("./types");var errors=require("./errors");var newInvalidAsn1Error=errors.newInvalidAsn1Error;var DEFAULT_OPTS={size:1024,growthFactor:8};function merge(from,to){assert.ok(from);assert.equal(typeof from,"object");assert.ok(to);assert.equal(typeof to,"object");var keys=Object.getOwnPropertyNames(from);keys.forEach((function(key){if(to[key])return;var value=Object.getOwnPropertyDescriptor(from,key);Object.defineProperty(to,key,value)}));return to}function Writer(options){options=merge(DEFAULT_OPTS,options||{});this._buf=Buffer.alloc(options.size||1024);this._size=this._buf.length;this._offset=0;this._options=options;this._seq=[]}Object.defineProperty(Writer.prototype,"buffer",{get:function(){if(this._seq.length)throw newInvalidAsn1Error(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}});Writer.prototype.writeByte=function(b){if(typeof b!=="number")throw new TypeError("argument must be a Number");this._ensure(1);this._buf[this._offset++]=b};Writer.prototype.writeInt=function(i,tag){if(typeof i!=="number")throw new TypeError("argument must be a Number");if(typeof tag!=="number")tag=ASN1.Integer;var sz=4;while(((i&4286578688)===0||(i&4286578688)===4286578688>>0)&&sz>1){sz--;i<<=8}if(sz>4)throw newInvalidAsn1Error("BER ints cannot be > 0xffffffff");this._ensure(2+sz);this._buf[this._offset++]=tag;this._buf[this._offset++]=sz;while(sz-- >0){this._buf[this._offset++]=(i&4278190080)>>>24;i<<=8}};Writer.prototype.writeNull=function(){this.writeByte(ASN1.Null);this.writeByte(0)};Writer.prototype.writeEnumeration=function(i,tag){if(typeof i!=="number")throw new TypeError("argument must be a Number");if(typeof tag!=="number")tag=ASN1.Enumeration;return this.writeInt(i,tag)};Writer.prototype.writeBoolean=function(b,tag){if(typeof b!=="boolean")throw new TypeError("argument must be a Boolean");if(typeof tag!=="number")tag=ASN1.Boolean;this._ensure(3);this._buf[this._offset++]=tag;this._buf[this._offset++]=1;this._buf[this._offset++]=b?255:0};Writer.prototype.writeString=function(s,tag){if(typeof s!=="string")throw new TypeError("argument must be a string (was: "+typeof s+")");if(typeof tag!=="number")tag=ASN1.OctetString;var len=Buffer.byteLength(s);this.writeByte(tag);this.writeLength(len);if(len){this._ensure(len);this._buf.write(s,this._offset);this._offset+=len}};Writer.prototype.writeBuffer=function(buf,tag){if(typeof tag!=="number")throw new TypeError("tag must be a number");if(!Buffer.isBuffer(buf))throw new TypeError("argument must be a buffer");this.writeByte(tag);this.writeLength(buf.length);this._ensure(buf.length);buf.copy(this._buf,this._offset,0,buf.length);this._offset+=buf.length};Writer.prototype.writeStringArray=function(strings){if(!strings instanceof Array)throw new TypeError("argument must be an Array[String]");var self=this;strings.forEach((function(s){self.writeString(s)}))};Writer.prototype.writeOID=function(s,tag){if(typeof s!=="string")throw new TypeError("argument must be a string");if(typeof tag!=="number")tag=ASN1.OID;if(!/^([0-9]+\.){3,}[0-9]+$/.test(s))throw new Error("argument is not a valid OID string");function encodeOctet(bytes,octet){if(octet<128){bytes.push(octet)}else if(octet<16384){bytes.push(octet>>>7|128);bytes.push(octet&127)}else if(octet<2097152){bytes.push(octet>>>14|128);bytes.push((octet>>>7|128)&255);bytes.push(octet&127)}else if(octet<268435456){bytes.push(octet>>>21|128);bytes.push((octet>>>14|128)&255);bytes.push((octet>>>7|128)&255);bytes.push(octet&127)}else{bytes.push((octet>>>28|128)&255);bytes.push((octet>>>21|128)&255);bytes.push((octet>>>14|128)&255);bytes.push((octet>>>7|128)&255);bytes.push(octet&127)}}var tmp=s.split(".");var bytes=[];bytes.push(parseInt(tmp[0],10)*40+parseInt(tmp[1],10));tmp.slice(2).forEach((function(b){encodeOctet(bytes,parseInt(b,10))}));var self=this;this._ensure(2+bytes.length);this.writeByte(tag);this.writeLength(bytes.length);bytes.forEach((function(b){self.writeByte(b)}))};Writer.prototype.writeLength=function(len){if(typeof len!=="number")throw new TypeError("argument must be a Number");this._ensure(4);if(len<=127){this._buf[this._offset++]=len}else if(len<=255){this._buf[this._offset++]=129;this._buf[this._offset++]=len}else if(len<=65535){this._buf[this._offset++]=130;this._buf[this._offset++]=len>>8;this._buf[this._offset++]=len}else if(len<=16777215){this._buf[this._offset++]=131;this._buf[this._offset++]=len>>16;this._buf[this._offset++]=len>>8;this._buf[this._offset++]=len}else{throw newInvalidAsn1Error("Length too long (> 4 bytes)")}};Writer.prototype.startSequence=function(tag){if(typeof tag!=="number")tag=ASN1.Sequence|ASN1.Constructor;this.writeByte(tag);this._seq.push(this._offset);this._ensure(3);this._offset+=3};Writer.prototype.endSequence=function(){var seq=this._seq.pop();var start=seq+3;var len=this._offset-start;if(len<=127){this._shift(start,len,-2);this._buf[seq]=len}else if(len<=255){this._shift(start,len,-1);this._buf[seq]=129;this._buf[seq+1]=len}else if(len<=65535){this._buf[seq]=130;this._buf[seq+1]=len>>8;this._buf[seq+2]=len}else if(len<=16777215){this._shift(start,len,1);this._buf[seq]=131;this._buf[seq+1]=len>>16;this._buf[seq+2]=len>>8;this._buf[seq+3]=len}else{throw newInvalidAsn1Error("Sequence too long")}};Writer.prototype._shift=function(start,len,shift){assert.ok(start!==undefined);assert.ok(len!==undefined);assert.ok(shift);this._buf.copy(this._buf,start+shift,start,start+len);this._offset+=shift};Writer.prototype._ensure=function(len){assert.ok(len);if(this._size-this._offset<len){var sz=this._size*this._options.growthFactor;if(sz-this._offset<len)sz+=len;var buf=Buffer.alloc(sz);this._buf.copy(buf,0,0,this._offset);this._buf=buf;this._size=sz}};module.exports=Writer},{"./errors":64,"./types":67,assert:71,"safer-buffer":908}],69:[function(require,module,exports){var Ber=require("./ber/index");module.exports={Ber:Ber,BerReader:Ber.Reader,BerWriter:Ber.Writer}},{"./ber/index":65}],70:[function(require,module,exports){(function(Buffer,process){var assert=require("assert");var Stream=require("stream").Stream;var util=require("util");var UUID_REGEXP=/^[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}$/;function _capitalize(str){return str.charAt(0).toUpperCase()+str.slice(1)}function _toss(name,expected,oper,arg,actual){throw new assert.AssertionError({message:util.format("%s (%s) is required",name,expected),actual:actual===undefined?typeof arg:actual(arg),expected:expected,operator:oper||"===",stackStartFunction:_toss.caller})}function _getClass(arg){return Object.prototype.toString.call(arg).slice(8,-1)}function noop(){}var types={bool:{check:function(arg){return typeof arg==="boolean"}},func:{check:function(arg){return typeof arg==="function"}},string:{check:function(arg){return typeof arg==="string"}},object:{check:function(arg){return typeof arg==="object"&&arg!==null}},number:{check:function(arg){return typeof arg==="number"&&!isNaN(arg)}},finite:{check:function(arg){return typeof arg==="number"&&!isNaN(arg)&&isFinite(arg)}},buffer:{check:function(arg){return Buffer.isBuffer(arg)},operator:"Buffer.isBuffer"},array:{check:function(arg){return Array.isArray(arg)},operator:"Array.isArray"},stream:{check:function(arg){return arg instanceof Stream},operator:"instanceof",actual:_getClass},date:{check:function(arg){return arg instanceof Date},operator:"instanceof",actual:_getClass},regexp:{check:function(arg){return arg instanceof RegExp},operator:"instanceof",actual:_getClass},uuid:{check:function(arg){return typeof arg==="string"&&UUID_REGEXP.test(arg)},operator:"isUUID"}};function _setExports(ndebug){var keys=Object.keys(types);var out;if(process.env.NODE_NDEBUG){out=noop}else{out=function(arg,msg){if(!arg){_toss(msg,"true",arg)}}}keys.forEach((function(k){if(ndebug){out[k]=noop;return}var type=types[k];out[k]=function(arg,msg){if(!type.check(arg)){_toss(msg,k,type.operator,arg,type.actual)}}}));keys.forEach((function(k){var name="optional"+_capitalize(k);if(ndebug){out[name]=noop;return}var type=types[k];out[name]=function(arg,msg){if(arg===undefined||arg===null){return}if(!type.check(arg)){_toss(msg,k,type.operator,arg,type.actual)}}}));keys.forEach((function(k){var name="arrayOf"+_capitalize(k);if(ndebug){out[name]=noop;return}var type=types[k];var expected="["+k+"]";out[name]=function(arg,msg){if(!Array.isArray(arg)){_toss(msg,expected,type.operator,arg,type.actual)}var i;for(i=0;i<arg.length;i++){if(!type.check(arg[i])){_toss(msg,expected,type.operator,arg,type.actual)}}}}));keys.forEach((function(k){var name="optionalArrayOf"+_capitalize(k);if(ndebug){out[name]=noop;return}var type=types[k];var expected="["+k+"]";out[name]=function(arg,msg){if(arg===undefined||arg===null){return}if(!Array.isArray(arg)){_toss(msg,expected,type.operator,arg,type.actual)}var i;for(i=0;i<arg.length;i++){if(!type.check(arg[i])){_toss(msg,expected,type.operator,arg,type.actual)}}}}));Object.keys(assert).forEach((function(k){if(k==="AssertionError"){out[k]=assert[k];return}if(ndebug){out[k]=noop;return}out[k]=assert[k]}));out._setExports=_setExports;return out}module.exports=_setExports(process.env.NODE_NDEBUG)}).call(this,{isBuffer:require("../is-buffer/index.js")},require("_process"))},{"../is-buffer/index.js":328,_process:855,assert:71,stream:955,util:1e3}],71:[function(require,module,exports){(function(global){"use strict";var objectAssign=require("object-assign");
|
||
/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
||
* @license MIT
|
||
*/function compare(a,b){if(a===b){return 0}var x=a.length;var y=b.length;for(var i=0,len=Math.min(x,y);i<len;++i){if(a[i]!==b[i]){x=a[i];y=b[i];break}}if(x<y){return-1}if(y<x){return 1}return 0}function isBuffer(b){if(global.Buffer&&typeof global.Buffer.isBuffer==="function"){return global.Buffer.isBuffer(b)}return!!(b!=null&&b._isBuffer)}var util=require("util/");var hasOwn=Object.prototype.hasOwnProperty;var pSlice=Array.prototype.slice;var functionsHaveNames=function(){return function foo(){}.name==="foo"}();function pToString(obj){return Object.prototype.toString.call(obj)}function isView(arrbuf){if(isBuffer(arrbuf)){return false}if(typeof global.ArrayBuffer!=="function"){return false}if(typeof ArrayBuffer.isView==="function"){return ArrayBuffer.isView(arrbuf)}if(!arrbuf){return false}if(arrbuf instanceof DataView){return true}if(arrbuf.buffer&&arrbuf.buffer instanceof ArrayBuffer){return true}return false}var assert=module.exports=ok;var regex=/\s*function\s+([^\(\s]*)\s*/;function getName(func){if(!util.isFunction(func)){return}if(functionsHaveNames){return func.name}var str=func.toString();var match=str.match(regex);return match&&match[1]}assert.AssertionError=function AssertionError(options){this.name="AssertionError";this.actual=options.actual;this.expected=options.expected;this.operator=options.operator;if(options.message){this.message=options.message;this.generatedMessage=false}else{this.message=getMessage(this);this.generatedMessage=true}var stackStartFunction=options.stackStartFunction||fail;if(Error.captureStackTrace){Error.captureStackTrace(this,stackStartFunction)}else{var err=new Error;if(err.stack){var out=err.stack;var fn_name=getName(stackStartFunction);var idx=out.indexOf("\n"+fn_name);if(idx>=0){var next_line=out.indexOf("\n",idx+1);out=out.substring(next_line+1)}this.stack=out}}};util.inherits(assert.AssertionError,Error);function truncate(s,n){if(typeof s==="string"){return s.length<n?s:s.slice(0,n)}else{return s}}function inspect(something){if(functionsHaveNames||!util.isFunction(something)){return util.inspect(something)}var rawname=getName(something);var name=rawname?": "+rawname:"";return"[Function"+name+"]"}function getMessage(self){return truncate(inspect(self.actual),128)+" "+self.operator+" "+truncate(inspect(self.expected),128)}function fail(actual,expected,message,operator,stackStartFunction){throw new assert.AssertionError({message:message,actual:actual,expected:expected,operator:operator,stackStartFunction:stackStartFunction})}assert.fail=fail;function ok(value,message){if(!value)fail(value,true,message,"==",assert.ok)}assert.ok=ok;assert.equal=function equal(actual,expected,message){if(actual!=expected)fail(actual,expected,message,"==",assert.equal)};assert.notEqual=function notEqual(actual,expected,message){if(actual==expected){fail(actual,expected,message,"!=",assert.notEqual)}};assert.deepEqual=function deepEqual(actual,expected,message){if(!_deepEqual(actual,expected,false)){fail(actual,expected,message,"deepEqual",assert.deepEqual)}};assert.deepStrictEqual=function deepStrictEqual(actual,expected,message){if(!_deepEqual(actual,expected,true)){fail(actual,expected,message,"deepStrictEqual",assert.deepStrictEqual)}};function _deepEqual(actual,expected,strict,memos){if(actual===expected){return true}else if(isBuffer(actual)&&isBuffer(expected)){return compare(actual,expected)===0}else if(util.isDate(actual)&&util.isDate(expected)){return actual.getTime()===expected.getTime()}else if(util.isRegExp(actual)&&util.isRegExp(expected)){return actual.source===expected.source&&actual.global===expected.global&&actual.multiline===expected.multiline&&actual.lastIndex===expected.lastIndex&&actual.ignoreCase===expected.ignoreCase}else if((actual===null||typeof actual!=="object")&&(expected===null||typeof expected!=="object")){return strict?actual===expected:actual==expected}else if(isView(actual)&&isView(expected)&&pToString(actual)===pToString(expected)&&!(actual instanceof Float32Array||actual instanceof Float64Array)){return compare(new Uint8Array(actual.buffer),new Uint8Array(expected.buffer))===0}else if(isBuffer(actual)!==isBuffer(expected)){return false}else{memos=memos||{actual:[],expected:[]};var actualIndex=memos.actual.indexOf(actual);if(actualIndex!==-1){if(actualIndex===memos.expected.indexOf(expected)){return true}}memos.actual.push(actual);memos.expected.push(expected);return objEquiv(actual,expected,strict,memos)}}function isArguments(object){return Object.prototype.toString.call(object)=="[object Arguments]"}function objEquiv(a,b,strict,actualVisitedObjects){if(a===null||a===undefined||b===null||b===undefined)return false;if(util.isPrimitive(a)||util.isPrimitive(b))return a===b;if(strict&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(b))return false;var aIsArgs=isArguments(a);var bIsArgs=isArguments(b);if(aIsArgs&&!bIsArgs||!aIsArgs&&bIsArgs)return false;if(aIsArgs){a=pSlice.call(a);b=pSlice.call(b);return _deepEqual(a,b,strict)}var ka=objectKeys(a);var kb=objectKeys(b);var key,i;if(ka.length!==kb.length)return false;ka.sort();kb.sort();for(i=ka.length-1;i>=0;i--){if(ka[i]!==kb[i])return false}for(i=ka.length-1;i>=0;i--){key=ka[i];if(!_deepEqual(a[key],b[key],strict,actualVisitedObjects))return false}return true}assert.notDeepEqual=function notDeepEqual(actual,expected,message){if(_deepEqual(actual,expected,false)){fail(actual,expected,message,"notDeepEqual",assert.notDeepEqual)}};assert.notDeepStrictEqual=notDeepStrictEqual;function notDeepStrictEqual(actual,expected,message){if(_deepEqual(actual,expected,true)){fail(actual,expected,message,"notDeepStrictEqual",notDeepStrictEqual)}}assert.strictEqual=function strictEqual(actual,expected,message){if(actual!==expected){fail(actual,expected,message,"===",assert.strictEqual)}};assert.notStrictEqual=function notStrictEqual(actual,expected,message){if(actual===expected){fail(actual,expected,message,"!==",assert.notStrictEqual)}};function expectedException(actual,expected){if(!actual||!expected){return false}if(Object.prototype.toString.call(expected)=="[object RegExp]"){return expected.test(actual)}try{if(actual instanceof expected){return true}}catch(e){}if(Error.isPrototypeOf(expected)){return false}return expected.call({},actual)===true}function _tryBlock(block){var error;try{block()}catch(e){error=e}return error}function _throws(shouldThrow,block,expected,message){var actual;if(typeof block!=="function"){throw new TypeError('"block" argument must be a function')}if(typeof expected==="string"){message=expected;expected=null}actual=_tryBlock(block);message=(expected&&expected.name?" ("+expected.name+").":".")+(message?" "+message:".");if(shouldThrow&&!actual){fail(actual,expected,"Missing expected exception"+message)}var userProvidedMessage=typeof message==="string";var isUnwantedException=!shouldThrow&&util.isError(actual);var isUnexpectedException=!shouldThrow&&actual&&!expected;if(isUnwantedException&&userProvidedMessage&&expectedException(actual,expected)||isUnexpectedException){fail(actual,expected,"Got unwanted exception"+message)}if(shouldThrow&&actual&&expected&&!expectedException(actual,expected)||!shouldThrow&&actual){throw actual}}assert.throws=function(block,error,message){_throws(true,block,error,message)};assert.doesNotThrow=function(block,error,message){_throws(false,block,error,message)};assert.ifError=function(err){if(err)throw err};function strict(value,message){if(!value)fail(value,true,message,"==",strict)}assert.strict=objectAssign(strict,assert,{equal:assert.strictEqual,deepEqual:assert.deepStrictEqual,notEqual:assert.notStrictEqual,notDeepEqual:assert.notDeepStrictEqual});assert.strict.strict=assert.strict;var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj){if(hasOwn.call(obj,key))keys.push(key)}return keys}}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"object-assign":804,"util/":74}],72:[function(require,module,exports){if(typeof Object.create==="function"){module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}}else{module.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}}},{}],73:[function(require,module,exports){module.exports=function isBuffer(arg){return arg&&typeof arg==="object"&&typeof arg.copy==="function"&&typeof arg.fill==="function"&&typeof arg.readUInt8==="function"}},{}],74:[function(require,module,exports){(function(process,global){var formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){var objects=[];for(var i=0;i<arguments.length;i++){objects.push(inspect(arguments[i]))}return objects.join(" ")}var i=1;var args=arguments;var len=args.length;var str=String(f).replace(formatRegExp,(function(x){if(x==="%%")return"%";if(i>=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}}));for(var x=args[i];i<len;x=args[++i]){if(isNull(x)||!isObject(x)){str+=" "+x}else{str+=" "+inspect(x)}}return str};exports.deprecate=function(fn,msg){if(isUndefined(global.process)){return function(){return exports.deprecate(fn,msg).apply(this,arguments)}}if(process.noDeprecation===true){return fn}var warned=false;function deprecated(){if(!warned){if(process.throwDeprecation){throw new Error(msg)}else if(process.traceDeprecation){console.trace(msg)}else{console.error(msg)}warned=true}return fn.apply(this,arguments)}return deprecated};var debugs={};var debugEnviron;exports.debuglog=function(set){if(isUndefined(debugEnviron))debugEnviron=process.env.NODE_DEBUG||"";set=set.toUpperCase();if(!debugs[set]){if(new RegExp("\\b"+set+"\\b","i").test(debugEnviron)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else{debugs[set]=function(){}}}return debugs[set]};function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};if(arguments.length>=3)ctx.depth=arguments[2];if(arguments.length>=4)ctx.colors=arguments[3];if(isBoolean(opts)){ctx.showHidden=opts}else if(opts){exports._extend(ctx,opts)}if(isUndefined(ctx.showHidden))ctx.showHidden=false;if(isUndefined(ctx.depth))ctx.depth=2;if(isUndefined(ctx.colors))ctx.colors=false;if(isUndefined(ctx.customInspect))ctx.customInspect=true;if(ctx.colors)ctx.stylize=stylizeWithColor;return formatValue(ctx,obj,ctx.depth)}exports.inspect=inspect;inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];if(style){return"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m"}else{return str}}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};array.forEach((function(val,idx){hash[val]=true}));return hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);if(!isString(ret)){ret=formatValue(ctx,ret,recurseTimes)}return ret}var primitive=formatPrimitive(ctx,value);if(primitive){return primitive}var keys=Object.keys(value);var visibleKeys=arrayToHash(keys);if(ctx.showHidden){keys=Object.getOwnPropertyNames(value)}if(isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0)){return formatError(value)}if(keys.length===0){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}if(isDate(value)){return ctx.stylize(Date.prototype.toString.call(value),"date")}if(isError(value)){return formatError(value)}}var base="",array=false,braces=["{","}"];if(isArray(value)){array=true;braces=["[","]"]}if(isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}if(isRegExp(value)){base=" "+RegExp.prototype.toString.call(value)}if(isDate(value)){base=" "+Date.prototype.toUTCString.call(value)}if(isError(value)){base=" "+formatError(value)}if(keys.length===0&&(!array||value.length==0)){return braces[0]+base+braces[1]}if(recurseTimes<0){if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),"regexp")}else{return ctx.stylize("[Object]","special")}}ctx.seen.push(value);var output;if(array){output=formatArray(ctx,value,recurseTimes,visibleKeys,keys)}else{output=keys.map((function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array)}))}ctx.seen.pop();return reduceToSingleString(output,base,braces)}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){var output=[];for(var i=0,l=value.length;i<l;++i){if(hasOwnProperty(value,String(i))){output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,String(i),true))}else{output.push("")}}keys.forEach((function(key){if(!key.match(/^\d+$/)){output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,true))}}));return output}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]};if(desc.get){if(desc.set){str=ctx.stylize("[Getter/Setter]","special")}else{str=ctx.stylize("[Getter]","special")}}else{if(desc.set){str=ctx.stylize("[Setter]","special")}}if(!hasOwnProperty(visibleKeys,key)){name="["+key+"]"}if(!str){if(ctx.seen.indexOf(desc.value)<0){if(isNull(recurseTimes)){str=formatValue(ctx,desc.value,null)}else{str=formatValue(ctx,desc.value,recurseTimes-1)}if(str.indexOf("\n")>-1){if(array){str=str.split("\n").map((function(line){return" "+line})).join("\n").substr(2)}else{str="\n"+str.split("\n").map((function(line){return" "+line})).join("\n")}}}else{str=ctx.stylize("[Circular]","special")}}if(isUndefined(name)){if(array&&key.match(/^\d+$/)){return str}name=JSON.stringify(""+key);if(name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)){name=name.substr(1,name.length-2);name=ctx.stylize(name,"name")}else{name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'");name=ctx.stylize(name,"string")}}return name+": "+str}function reduceToSingleString(output,base,braces){var numLinesEst=0;var length=output.reduce((function(prev,cur){numLinesEst++;if(cur.indexOf("\n")>=0)numLinesEst++;return prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(length>60){return braces[0]+(base===""?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1]}return braces[0]+base+" "+output.join(", ")+" "+braces[1]}function isArray(ar){return Array.isArray(ar)}exports.isArray=isArray;function isBoolean(arg){return typeof arg==="boolean"}exports.isBoolean=isBoolean;function isNull(arg){return arg===null}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg==="number"}exports.isNumber=isNumber;function isString(arg){return typeof arg==="string"}exports.isString=isString;function isSymbol(arg){return typeof arg==="symbol"}exports.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports.isUndefined=isUndefined;function isRegExp(re){return isObject(re)&&objectToString(re)==="[object RegExp]"}exports.isRegExp=isRegExp;function isObject(arg){return typeof arg==="object"&&arg!==null}exports.isObject=isObject;function isDate(d){return isObject(d)&&objectToString(d)==="[object Date]"}exports.isDate=isDate;function isError(e){return isObject(e)&&(objectToString(e)==="[object Error]"||e instanceof Error)}exports.isError=isError;function isFunction(arg){return typeof arg==="function"}exports.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg==="boolean"||typeof arg==="number"||typeof arg==="string"||typeof arg==="symbol"||typeof arg==="undefined"}exports.isPrimitive=isPrimitive;exports.isBuffer=require("./support/isBuffer");function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function timestamp(){var d=new Date;var time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}exports.log=function(){console.log("%s - %s",timestamp(),exports.format.apply(exports,arguments))};exports.inherits=require("inherits");exports._extend=function(origin,add){if(!add||!isObject(add))return origin;var keys=Object.keys(add);var i=keys.length;while(i--){origin[keys[i]]=add[keys[i]]}return origin};function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./support/isBuffer":73,_process:855,inherits:72}],75:[function(require,module,exports){
|
||
/*!
|
||
* Copyright 2010 LearnBoost <dev@learnboost.com>
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing, software
|
||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
* See the License for the specific language governing permissions and
|
||
* limitations under the License.
|
||
*/
|
||
var crypto=require("crypto"),parse=require("url").parse;var keys=["acl","location","logging","notification","partNumber","policy","requestPayment","torrent","uploadId","uploads","versionId","versioning","versions","website"];function authorization(options){return"AWS "+options.key+":"+sign(options)}module.exports=authorization;module.exports.authorization=authorization;function hmacSha1(options){return crypto.createHmac("sha1",options.secret).update(options.message).digest("base64")}module.exports.hmacSha1=hmacSha1;function sign(options){options.message=stringToSign(options);return hmacSha1(options)}module.exports.sign=sign;function signQuery(options){options.message=queryStringToSign(options);return hmacSha1(options)}module.exports.signQuery=signQuery;function stringToSign(options){var headers=options.amazonHeaders||"";if(headers)headers+="\n";var r=[options.verb,options.md5,options.contentType,options.date?options.date.toUTCString():"",headers+options.resource];return r.join("\n")}module.exports.stringToSign=stringToSign;function queryStringToSign(options){return"GET\n\n\n"+options.date+"\n"+options.resource}module.exports.queryStringToSign=queryStringToSign;function canonicalizeHeaders(headers){var buf=[],fields=Object.keys(headers);for(var i=0,len=fields.length;i<len;++i){var field=fields[i],val=headers[field],field=field.toLowerCase();if(0!==field.indexOf("x-amz"))continue;buf.push(field+":"+val)}return buf.sort().join("\n")}module.exports.canonicalizeHeaders=canonicalizeHeaders;function canonicalizeResource(resource){var url=parse(resource,true),path=url.pathname,buf=[];Object.keys(url.query).forEach((function(key){if(!~keys.indexOf(key))return;var val=""==url.query[key]?"":"="+encodeURIComponent(url.query[key]);buf.push(key+val)}));return path+(buf.length?"?"+buf.sort().join("&"):"")}module.exports.canonicalizeResource=canonicalizeResource},{crypto:143,url:995}],76:[function(require,module,exports){(function(process,Buffer){var aws4=exports,url=require("url"),querystring=require("querystring"),crypto=require("crypto"),lru=require("./lru"),credentialsCache=lru(1e3);function hmac(key,string,encoding){return crypto.createHmac("sha256",key).update(string,"utf8").digest(encoding)}function hash(string,encoding){return crypto.createHash("sha256").update(string,"utf8").digest(encoding)}function encodeRfc3986(urlEncodedString){return urlEncodedString.replace(/[!'()*]/g,(function(c){return"%"+c.charCodeAt(0).toString(16).toUpperCase()}))}function encodeRfc3986Full(str){return encodeRfc3986(encodeURIComponent(str))}function RequestSigner(request,credentials){if(typeof request==="string")request=url.parse(request);var headers=request.headers=request.headers||{},hostParts=(!this.service||!this.region)&&this.matchHost(request.hostname||request.host||headers.Host||headers.host);this.request=request;this.credentials=credentials||this.defaultCredentials();this.service=request.service||hostParts[0]||"";this.region=request.region||hostParts[1]||"us-east-1";if(this.service==="email")this.service="ses";if(!request.method&&request.body)request.method="POST";if(!headers.Host&&!headers.host){headers.Host=request.hostname||request.host||this.createHost();if(request.port)headers.Host+=":"+request.port}if(!request.hostname&&!request.host)request.hostname=headers.Host||headers.host;this.isCodeCommitGit=this.service==="codecommit"&&request.method==="GIT"}RequestSigner.prototype.matchHost=function(host){var match=(host||"").match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/);var hostParts=(match||[]).slice(1,3);if(hostParts[1]==="es")hostParts=hostParts.reverse();if(hostParts[1]=="s3"){hostParts[0]="s3";hostParts[1]="us-east-1"}else{for(var i=0;i<2;i++){if(/^s3-/.test(hostParts[i])){hostParts[1]=hostParts[i].slice(3);hostParts[0]="s3";break}}}return hostParts};RequestSigner.prototype.isSingleRegion=function(){if(["s3","sdb"].indexOf(this.service)>=0&&this.region==="us-east-1")return true;return["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0};RequestSigner.prototype.createHost=function(){var region=this.isSingleRegion()?"":"."+this.region,subdomain=this.service==="ses"?"email":this.service;return subdomain+region+".amazonaws.com"};RequestSigner.prototype.prepareRequest=function(){this.parsePath();var request=this.request,headers=request.headers,query;if(request.signQuery){this.parsedPath.query=query=this.parsedPath.query||{};if(this.credentials.sessionToken)query["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!query["X-Amz-Expires"])query["X-Amz-Expires"]=86400;if(query["X-Amz-Date"])this.datetime=query["X-Amz-Date"];else query["X-Amz-Date"]=this.getDateTime();query["X-Amz-Algorithm"]="AWS4-HMAC-SHA256";query["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString();query["X-Amz-SignedHeaders"]=this.signedHeaders()}else{if(!request.doNotModifyHeaders&&!this.isCodeCommitGit){if(request.body&&!headers["Content-Type"]&&!headers["content-type"])headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8";if(request.body&&!headers["Content-Length"]&&!headers["content-length"])headers["Content-Length"]=Buffer.byteLength(request.body);if(this.credentials.sessionToken&&!headers["X-Amz-Security-Token"]&&!headers["x-amz-security-token"])headers["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!headers["X-Amz-Content-Sha256"]&&!headers["x-amz-content-sha256"])headers["X-Amz-Content-Sha256"]=hash(this.request.body||"","hex");if(headers["X-Amz-Date"]||headers["x-amz-date"])this.datetime=headers["X-Amz-Date"]||headers["x-amz-date"];else headers["X-Amz-Date"]=this.getDateTime()}delete headers.Authorization;delete headers.authorization}};RequestSigner.prototype.sign=function(){if(!this.parsedPath)this.prepareRequest();if(this.request.signQuery){this.parsedPath.query["X-Amz-Signature"]=this.signature()}else{this.request.headers.Authorization=this.authHeader()}this.request.path=this.formatPath();return this.request};RequestSigner.prototype.getDateTime=function(){if(!this.datetime){var headers=this.request.headers,date=new Date(headers.Date||headers.date||new Date);this.datetime=date.toISOString().replace(/[:\-]|\.\d{3}/g,"");if(this.isCodeCommitGit)this.datetime=this.datetime.slice(0,-1)}return this.datetime};RequestSigner.prototype.getDate=function(){return this.getDateTime().substr(0,8)};RequestSigner.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")};RequestSigner.prototype.signature=function(){var date=this.getDate(),cacheKey=[this.credentials.secretAccessKey,date,this.region,this.service].join(),kDate,kRegion,kService,kCredentials=credentialsCache.get(cacheKey);if(!kCredentials){kDate=hmac("AWS4"+this.credentials.secretAccessKey,date);kRegion=hmac(kDate,this.region);kService=hmac(kRegion,this.service);kCredentials=hmac(kService,"aws4_request");credentialsCache.set(cacheKey,kCredentials)}return hmac(kCredentials,this.stringToSign(),"hex")};RequestSigner.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),hash(this.canonicalString(),"hex")].join("\n")};RequestSigner.prototype.canonicalString=function(){if(!this.parsedPath)this.prepareRequest();var pathStr=this.parsedPath.path,query=this.parsedPath.query,headers=this.request.headers,queryStr="",normalizePath=this.service!=="s3",decodePath=this.service==="s3"||this.request.doNotEncodePath,decodeSlashesInPath=this.service==="s3",firstValOnly=this.service==="s3",bodyHash;if(this.service==="s3"&&this.request.signQuery){bodyHash="UNSIGNED-PAYLOAD"}else if(this.isCodeCommitGit){bodyHash=""}else{bodyHash=headers["X-Amz-Content-Sha256"]||headers["x-amz-content-sha256"]||hash(this.request.body||"","hex")}if(query){var reducedQuery=Object.keys(query).reduce((function(obj,key){if(!key)return obj;obj[encodeRfc3986Full(key)]=!Array.isArray(query[key])?query[key]:firstValOnly?query[key][0]:query[key];return obj}),{});var encodedQueryPieces=[];Object.keys(reducedQuery).sort().forEach((function(key){if(!Array.isArray(reducedQuery[key])){encodedQueryPieces.push(key+"="+encodeRfc3986Full(reducedQuery[key]))}else{reducedQuery[key].map(encodeRfc3986Full).sort().forEach((function(val){encodedQueryPieces.push(key+"="+val)}))}}));queryStr=encodedQueryPieces.join("&")}if(pathStr!=="/"){if(normalizePath)pathStr=pathStr.replace(/\/{2,}/g,"/");pathStr=pathStr.split("/").reduce((function(path,piece){if(normalizePath&&piece===".."){path.pop()}else if(!normalizePath||piece!=="."){if(decodePath)piece=decodeURIComponent(piece).replace(/\+/g," ");path.push(encodeRfc3986Full(piece))}return path}),[]).join("/");if(pathStr[0]!=="/")pathStr="/"+pathStr;if(decodeSlashesInPath)pathStr=pathStr.replace(/%2F/g,"/")}return[this.request.method||"GET",pathStr,queryStr,this.canonicalHeaders()+"\n",this.signedHeaders(),bodyHash].join("\n")};RequestSigner.prototype.canonicalHeaders=function(){var headers=this.request.headers;function trimAll(header){return header.toString().trim().replace(/\s+/g," ")}return Object.keys(headers).sort((function(a,b){return a.toLowerCase()<b.toLowerCase()?-1:1})).map((function(key){return key.toLowerCase()+":"+trimAll(headers[key])})).join("\n")};RequestSigner.prototype.signedHeaders=function(){return Object.keys(this.request.headers).map((function(key){return key.toLowerCase()})).sort().join(";")};RequestSigner.prototype.credentialString=function(){return[this.getDate(),this.region,this.service,"aws4_request"].join("/")};RequestSigner.prototype.defaultCredentials=function(){var env=process.env;return{accessKeyId:env.AWS_ACCESS_KEY_ID||env.AWS_ACCESS_KEY,secretAccessKey:env.AWS_SECRET_ACCESS_KEY||env.AWS_SECRET_KEY,sessionToken:env.AWS_SESSION_TOKEN}};RequestSigner.prototype.parsePath=function(){var path=this.request.path||"/";if(/[^0-9A-Za-z;,/?:@&=+$\-_.!~*'()#%]/.test(path)){path=encodeURI(decodeURI(path))}var queryIx=path.indexOf("?"),query=null;if(queryIx>=0){query=querystring.parse(path.slice(queryIx+1));path=path.slice(0,queryIx)}this.parsedPath={path:path,query:query}};RequestSigner.prototype.formatPath=function(){var path=this.parsedPath.path,query=this.parsedPath.query;if(!query)return path;if(query[""]!=null)delete query[""];return path+"?"+encodeRfc3986(querystring.stringify(query))};aws4.RequestSigner=RequestSigner;aws4.sign=function(request,credentials){return new RequestSigner(request,credentials).sign()}}).call(this,require("_process"),require("buffer").Buffer)},{"./lru":77,_process:855,buffer:132,crypto:143,querystring:871,url:995}],77:[function(require,module,exports){module.exports=function(size){return new LruCache(size)};function LruCache(size){this.capacity=size|0;this.map=Object.create(null);this.list=new DoublyLinkedList}LruCache.prototype.get=function(key){var node=this.map[key];if(node==null)return undefined;this.used(node);return node.val};LruCache.prototype.set=function(key,val){var node=this.map[key];if(node!=null){node.val=val}else{if(!this.capacity)this.prune();if(!this.capacity)return false;node=new DoublyLinkedNode(key,val);this.map[key]=node;this.capacity--}this.used(node);return true};LruCache.prototype.used=function(node){this.list.moveToFront(node)};LruCache.prototype.prune=function(){var node=this.list.pop();if(node!=null){delete this.map[node.key];this.capacity++}};function DoublyLinkedList(){this.firstNode=null;this.lastNode=null}DoublyLinkedList.prototype.moveToFront=function(node){if(this.firstNode==node)return;this.remove(node);if(this.firstNode==null){this.firstNode=node;this.lastNode=node;node.prev=null;node.next=null}else{node.prev=null;node.next=this.firstNode;node.next.prev=node;this.firstNode=node}};DoublyLinkedList.prototype.pop=function(){var lastNode=this.lastNode;if(lastNode!=null){this.remove(lastNode)}return lastNode};DoublyLinkedList.prototype.remove=function(node){if(this.firstNode==node){this.firstNode=node.next}else if(node.prev!=null){node.prev.next=node.next}if(this.lastNode==node){this.lastNode=node.prev}else if(node.next!=null){node.next.prev=node.prev}};function DoublyLinkedNode(key,val){this.key=key;this.val=val;this.prev=null;this.next=null}},{}],78:[function(require,module,exports){"use strict";exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=="undefined"?Uint8Array:Array;var code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i}revLookup["-".charCodeAt(0)]=62;revLookup["_".charCodeAt(0)]=63;function getLens(b64){var len=b64.length;if(len%4>0){throw new Error("Invalid string. Length must be a multiple of 4")}var validLen=b64.indexOf("=");if(validLen===-1)validLen=len;var placeHoldersLen=validLen===len?0:4-validLen%4;return[validLen,placeHoldersLen]}function byteLength(b64){var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen}function toByteArray(b64){var tmp;var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];var arr=new Arr(_byteLength(b64,validLen,placeHoldersLen));var curByte=0;var len=placeHoldersLen>0?validLen-4:validLen;var i;for(i=0;i<len;i+=4){tmp=revLookup[b64.charCodeAt(i)]<<18|revLookup[b64.charCodeAt(i+1)]<<12|revLookup[b64.charCodeAt(i+2)]<<6|revLookup[b64.charCodeAt(i+3)];arr[curByte++]=tmp>>16&255;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}if(placeHoldersLen===2){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[curByte++]=tmp&255}if(placeHoldersLen===1){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[curByte++]=tmp>>8&255;arr[curByte++]=tmp&255}return arr}function tripletToBase64(num){return lookup[num>>18&63]+lookup[num>>12&63]+lookup[num>>6&63]+lookup[num&63]}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;i<end;i+=3){tmp=(uint8[i]<<16&16711680)+(uint8[i+1]<<8&65280)+(uint8[i+2]&255);output.push(tripletToBase64(tmp))}return output.join("")}function fromByteArray(uint8){var tmp;var len=uint8.length;var extraBytes=len%3;var parts=[];var maxChunkLength=16383;for(var i=0,len2=len-extraBytes;i<len2;i+=maxChunkLength){parts.push(encodeChunk(uint8,i,i+maxChunkLength>len2?len2:i+maxChunkLength))}if(extraBytes===1){tmp=uint8[len-1];parts.push(lookup[tmp>>2]+lookup[tmp<<4&63]+"==")}else if(extraBytes===2){tmp=(uint8[len-2]<<8)+uint8[len-1];parts.push(lookup[tmp>>10]+lookup[tmp>>4&63]+lookup[tmp<<2&63]+"=")}return parts.join("")}},{}],79:[function(require,module,exports){"use strict";var crypto_hash_sha512=require("tweetnacl").lowlevel.crypto_hash;var BLF_J=0;var Blowfish=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])};function F(S,x8,i){return(S[0][x8[i+3]]+S[1][x8[i+2]]^S[2][x8[i+1]])+S[3][x8[i]]}Blowfish.prototype.encipher=function(x,x8){if(x8===undefined){x8=new Uint8Array(x.buffer);if(x.byteOffset!==0)x8=x8.subarray(x.byteOffset)}x[0]^=this.P[0];for(var i=1;i<16;i+=2){x[1]^=F(this.S,x8,0)^this.P[i];x[0]^=F(this.S,x8,4)^this.P[i+1]}var t=x[0];x[0]=x[1]^this.P[17];x[1]=t};Blowfish.prototype.decipher=function(x){var x8=new Uint8Array(x.buffer);if(x.byteOffset!==0)x8=x8.subarray(x.byteOffset);x[0]^=this.P[17];for(var i=16;i>0;i-=2){x[1]^=F(this.S,x8,0)^this.P[i];x[0]^=F(this.S,x8,4)^this.P[i-1]}var t=x[0];x[0]=x[1]^this.P[0];x[1]=t};function stream2word(data,databytes){var i,temp=0;for(i=0;i<4;i++,BLF_J++){if(BLF_J>=databytes)BLF_J=0;temp=temp<<8|data[BLF_J]}return temp}Blowfish.prototype.expand0state=function(key,keybytes){var d=new Uint32Array(2),i,k;var d8=new Uint8Array(d.buffer);for(i=0,BLF_J=0;i<18;i++){this.P[i]^=stream2word(key,keybytes)}BLF_J=0;for(i=0;i<18;i+=2){this.encipher(d,d8);this.P[i]=d[0];this.P[i+1]=d[1]}for(i=0;i<4;i++){for(k=0;k<256;k+=2){this.encipher(d,d8);this.S[i][k]=d[0];this.S[i][k+1]=d[1]}}};Blowfish.prototype.expandstate=function(data,databytes,key,keybytes){var d=new Uint32Array(2),i,k;for(i=0,BLF_J=0;i<18;i++){this.P[i]^=stream2word(key,keybytes)}for(i=0,BLF_J=0;i<18;i+=2){d[0]^=stream2word(data,databytes);d[1]^=stream2word(data,databytes);this.encipher(d);this.P[i]=d[0];this.P[i+1]=d[1]}for(i=0;i<4;i++){for(k=0;k<256;k+=2){d[0]^=stream2word(data,databytes);d[1]^=stream2word(data,databytes);this.encipher(d);this.S[i][k]=d[0];this.S[i][k+1]=d[1]}}BLF_J=0};Blowfish.prototype.enc=function(data,blocks){for(var i=0;i<blocks;i++){this.encipher(data.subarray(i*2))}};Blowfish.prototype.dec=function(data,blocks){for(var i=0;i<blocks;i++){this.decipher(data.subarray(i*2))}};var BCRYPT_BLOCKS=8,BCRYPT_HASHSIZE=32;function bcrypt_hash(sha2pass,sha2salt,out){var state=new Blowfish,cdata=new Uint32Array(BCRYPT_BLOCKS),i,ciphertext=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]);state.expandstate(sha2salt,64,sha2pass,64);for(i=0;i<64;i++){state.expand0state(sha2salt,64);state.expand0state(sha2pass,64)}for(i=0;i<BCRYPT_BLOCKS;i++)cdata[i]=stream2word(ciphertext,ciphertext.byteLength);for(i=0;i<64;i++)state.enc(cdata,cdata.byteLength/8);for(i=0;i<BCRYPT_BLOCKS;i++){out[4*i+3]=cdata[i]>>>24;out[4*i+2]=cdata[i]>>>16;out[4*i+1]=cdata[i]>>>8;out[4*i+0]=cdata[i]}}function bcrypt_pbkdf(pass,passlen,salt,saltlen,key,keylen,rounds){var sha2pass=new Uint8Array(64),sha2salt=new Uint8Array(64),out=new Uint8Array(BCRYPT_HASHSIZE),tmpout=new Uint8Array(BCRYPT_HASHSIZE),countsalt=new Uint8Array(saltlen+4),i,j,amt,stride,dest,count,origkeylen=keylen;if(rounds<1)return-1;if(passlen===0||saltlen===0||keylen===0||keylen>out.byteLength*out.byteLength||saltlen>1<<20)return-1;stride=Math.floor((keylen+out.byteLength-1)/out.byteLength);amt=Math.floor((keylen+stride-1)/stride);for(i=0;i<saltlen;i++)countsalt[i]=salt[i];crypto_hash_sha512(sha2pass,pass,passlen);for(count=1;keylen>0;count++){countsalt[saltlen+0]=count>>>24;countsalt[saltlen+1]=count>>>16;countsalt[saltlen+2]=count>>>8;countsalt[saltlen+3]=count;crypto_hash_sha512(sha2salt,countsalt,saltlen+4);bcrypt_hash(sha2pass,sha2salt,tmpout);for(i=out.byteLength;i--;)out[i]=tmpout[i];for(i=1;i<rounds;i++){crypto_hash_sha512(sha2salt,tmpout,tmpout.byteLength);bcrypt_hash(sha2pass,sha2salt,tmpout);for(j=0;j<out.byteLength;j++)out[j]^=tmpout[j]}amt=Math.min(amt,keylen);for(i=0;i<amt;i++){dest=i*stride+(count-1);if(dest>=origkeylen)break;key[dest]=out[i]}keylen-=i}return 0}module.exports={BLOCKS:BCRYPT_BLOCKS,HASHSIZE:BCRYPT_HASHSIZE,hash:bcrypt_hash,pbkdf:bcrypt_pbkdf}},{tweetnacl:993}],80:[function(require,module,exports){(function(module,exports){"use strict";function assert(val,msg){if(!val)throw new Error(msg||"Assertion failed")}function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}function BN(number,base,endian){if(BN.isBN(number)){return number}this.negative=0;this.words=null;this.length=0;this.red=null;if(number!==null){if(base==="le"||base==="be"){endian=base;base=10}this._init(number||0,base||10,endian||"be")}}if(typeof module==="object"){module.exports=BN}else{exports.BN=BN}BN.BN=BN;BN.wordSize=26;var Buffer;try{Buffer=require("buffer").Buffer}catch(e){}BN.isBN=function isBN(num){if(num instanceof BN){return true}return num!==null&&typeof num==="object"&&num.constructor.wordSize===BN.wordSize&&Array.isArray(num.words)};BN.max=function max(left,right){if(left.cmp(right)>0)return left;return right};BN.min=function min(left,right){if(left.cmp(right)<0)return left;return right};BN.prototype._init=function init(number,base,endian){if(typeof number==="number"){return this._initNumber(number,base,endian)}if(typeof number==="object"){return this._initArray(number,base,endian)}if(base==="hex"){base=16}assert(base===(base|0)&&base>=2&&base<=36);number=number.toString().replace(/\s+/g,"");var start=0;if(number[0]==="-"){start++}if(base===16){this._parseHex(number,start)}else{this._parseBase(number,base,start)}if(number[0]==="-"){this.negative=1}this.strip();if(endian!=="le")return;this._initArray(this.toArray(),base,endian)};BN.prototype._initNumber=function _initNumber(number,base,endian){if(number<0){this.negative=1;number=-number}if(number<67108864){this.words=[number&67108863];this.length=1}else if(number<4503599627370496){this.words=[number&67108863,number/67108864&67108863];this.length=2}else{assert(number<9007199254740992);this.words=[number&67108863,number/67108864&67108863,1];this.length=3}if(endian!=="le")return;this._initArray(this.toArray(),base,endian)};BN.prototype._initArray=function _initArray(number,base,endian){assert(typeof number.length==="number");if(number.length<=0){this.words=[0];this.length=1;return this}this.length=Math.ceil(number.length/3);this.words=new Array(this.length);for(var i=0;i<this.length;i++){this.words[i]=0}var j,w;var off=0;if(endian==="be"){for(i=number.length-1,j=0;i>=0;i-=3){w=number[i]|number[i-1]<<8|number[i-2]<<16;this.words[j]|=w<<off&67108863;this.words[j+1]=w>>>26-off&67108863;off+=24;if(off>=26){off-=26;j++}}}else if(endian==="le"){for(i=0,j=0;i<number.length;i+=3){w=number[i]|number[i+1]<<8|number[i+2]<<16;this.words[j]|=w<<off&67108863;this.words[j+1]=w>>>26-off&67108863;off+=24;if(off>=26){off-=26;j++}}}return this.strip()};function parseHex(str,start,end){var r=0;var len=Math.min(str.length,end);for(var i=start;i<len;i++){var c=str.charCodeAt(i)-48;r<<=4;if(c>=49&&c<=54){r|=c-49+10}else if(c>=17&&c<=22){r|=c-17+10}else{r|=c&15}}return r}BN.prototype._parseHex=function _parseHex(number,start){this.length=Math.ceil((number.length-start)/6);this.words=new Array(this.length);for(var i=0;i<this.length;i++){this.words[i]=0}var j,w;var off=0;for(i=number.length-6,j=0;i>=start;i-=6){w=parseHex(number,i,i+6);this.words[j]|=w<<off&67108863;this.words[j+1]|=w>>>26-off&4194303;off+=24;if(off>=26){off-=26;j++}}if(i+6!==start){w=parseHex(number,start,i+6);this.words[j]|=w<<off&67108863;this.words[j+1]|=w>>>26-off&4194303}this.strip()};function parseBase(str,start,end,mul){var r=0;var len=Math.min(str.length,end);for(var i=start;i<len;i++){var c=str.charCodeAt(i)-48;r*=mul;if(c>=49){r+=c-49+10}else if(c>=17){r+=c-17+10}else{r+=c}}return r}BN.prototype._parseBase=function _parseBase(number,base,start){this.words=[0];this.length=1;for(var limbLen=0,limbPow=1;limbPow<=67108863;limbPow*=base){limbLen++}limbLen--;limbPow=limbPow/base|0;var total=number.length-start;var mod=total%limbLen;var end=Math.min(total,total-mod)+start;var word=0;for(var i=start;i<end;i+=limbLen){word=parseBase(number,i,i+limbLen,base);this.imuln(limbPow);if(this.words[0]+word<67108864){this.words[0]+=word}else{this._iaddn(word)}}if(mod!==0){var pow=1;word=parseBase(number,i,number.length,base);for(i=0;i<mod;i++){pow*=base}this.imuln(pow);if(this.words[0]+word<67108864){this.words[0]+=word}else{this._iaddn(word)}}};BN.prototype.copy=function copy(dest){dest.words=new Array(this.length);for(var i=0;i<this.length;i++){dest.words[i]=this.words[i]}dest.length=this.length;dest.negative=this.negative;dest.red=this.red};BN.prototype.clone=function clone(){var r=new BN(null);this.copy(r);return r};BN.prototype._expand=function _expand(size){while(this.length<size){this.words[this.length++]=0}return this};BN.prototype.strip=function strip(){while(this.length>1&&this.words[this.length-1]===0){this.length--}return this._normSign()};BN.prototype._normSign=function _normSign(){if(this.length===1&&this.words[0]===0){this.negative=0}return this};BN.prototype.inspect=function inspect(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var zeros=["","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"];var groupSizes=[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];var groupBases=[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];BN.prototype.toString=function toString(base,padding){base=base||10;padding=padding|0||1;var out;if(base===16||base==="hex"){out="";var off=0;var carry=0;for(var i=0;i<this.length;i++){var w=this.words[i];var word=((w<<off|carry)&16777215).toString(16);carry=w>>>24-off&16777215;if(carry!==0||i!==this.length-1){out=zeros[6-word.length]+word+out}else{out=word+out}off+=2;if(off>=26){off-=26;i--}}if(carry!==0){out=carry.toString(16)+out}while(out.length%padding!==0){out="0"+out}if(this.negative!==0){out="-"+out}return out}if(base===(base|0)&&base>=2&&base<=36){var groupSize=groupSizes[base];var groupBase=groupBases[base];out="";var c=this.clone();c.negative=0;while(!c.isZero()){var r=c.modn(groupBase).toString(base);c=c.idivn(groupBase);if(!c.isZero()){out=zeros[groupSize-r.length]+r+out}else{out=r+out}}if(this.isZero()){out="0"+out}while(out.length%padding!==0){out="0"+out}if(this.negative!==0){out="-"+out}return out}assert(false,"Base should be between 2 and 36")};BN.prototype.toNumber=function toNumber(){var ret=this.words[0];if(this.length===2){ret+=this.words[1]*67108864}else if(this.length===3&&this.words[2]===1){ret+=4503599627370496+this.words[1]*67108864}else if(this.length>2){assert(false,"Number can only safely store up to 53 bits")}return this.negative!==0?-ret:ret};BN.prototype.toJSON=function toJSON(){return this.toString(16)};BN.prototype.toBuffer=function toBuffer(endian,length){assert(typeof Buffer!=="undefined");return this.toArrayLike(Buffer,endian,length)};BN.prototype.toArray=function toArray(endian,length){return this.toArrayLike(Array,endian,length)};BN.prototype.toArrayLike=function toArrayLike(ArrayType,endian,length){var byteLength=this.byteLength();var reqLength=length||Math.max(1,byteLength);assert(byteLength<=reqLength,"byte array longer than desired length");assert(reqLength>0,"Requested array length <= 0");this.strip();var littleEndian=endian==="le";var res=new ArrayType(reqLength);var b,i;var q=this.clone();if(!littleEndian){for(i=0;i<reqLength-byteLength;i++){res[i]=0}for(i=0;!q.isZero();i++){b=q.andln(255);q.iushrn(8);res[reqLength-i-1]=b}}else{for(i=0;!q.isZero();i++){b=q.andln(255);q.iushrn(8);res[i]=b}for(;i<reqLength;i++){res[i]=0}}return res};if(Math.clz32){BN.prototype._countBits=function _countBits(w){return 32-Math.clz32(w)}}else{BN.prototype._countBits=function _countBits(w){var t=w;var r=0;if(t>=4096){r+=13;t>>>=13}if(t>=64){r+=7;t>>>=7}if(t>=8){r+=4;t>>>=4}if(t>=2){r+=2;t>>>=2}return r+t}}BN.prototype._zeroBits=function _zeroBits(w){if(w===0)return 26;var t=w;var r=0;if((t&8191)===0){r+=13;t>>>=13}if((t&127)===0){r+=7;t>>>=7}if((t&15)===0){r+=4;t>>>=4}if((t&3)===0){r+=2;t>>>=2}if((t&1)===0){r++}return r};BN.prototype.bitLength=function bitLength(){var w=this.words[this.length-1];var hi=this._countBits(w);return(this.length-1)*26+hi};function toBitArray(num){var w=new Array(num.bitLength());for(var bit=0;bit<w.length;bit++){var off=bit/26|0;var wbit=bit%26;w[bit]=(num.words[off]&1<<wbit)>>>wbit}return w}BN.prototype.zeroBits=function zeroBits(){if(this.isZero())return 0;var r=0;for(var i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);r+=b;if(b!==26)break}return r};BN.prototype.byteLength=function byteLength(){return Math.ceil(this.bitLength()/8)};BN.prototype.toTwos=function toTwos(width){if(this.negative!==0){return this.abs().inotn(width).iaddn(1)}return this.clone()};BN.prototype.fromTwos=function fromTwos(width){if(this.testn(width-1)){return this.notn(width).iaddn(1).ineg()}return this.clone()};BN.prototype.isNeg=function isNeg(){return this.negative!==0};BN.prototype.neg=function neg(){return this.clone().ineg()};BN.prototype.ineg=function ineg(){if(!this.isZero()){this.negative^=1}return this};BN.prototype.iuor=function iuor(num){while(this.length<num.length){this.words[this.length++]=0}for(var i=0;i<num.length;i++){this.words[i]=this.words[i]|num.words[i]}return this.strip()};BN.prototype.ior=function ior(num){assert((this.negative|num.negative)===0);return this.iuor(num)};BN.prototype.or=function or(num){if(this.length>num.length)return this.clone().ior(num);return num.clone().ior(this)};BN.prototype.uor=function uor(num){if(this.length>num.length)return this.clone().iuor(num);return num.clone().iuor(this)};BN.prototype.iuand=function iuand(num){var b;if(this.length>num.length){b=num}else{b=this}for(var i=0;i<b.length;i++){this.words[i]=this.words[i]&num.words[i]}this.length=b.length;return this.strip()};BN.prototype.iand=function iand(num){assert((this.negative|num.negative)===0);return this.iuand(num)};BN.prototype.and=function and(num){if(this.length>num.length)return this.clone().iand(num);return num.clone().iand(this)};BN.prototype.uand=function uand(num){if(this.length>num.length)return this.clone().iuand(num);return num.clone().iuand(this)};BN.prototype.iuxor=function iuxor(num){var a;var b;if(this.length>num.length){a=this;b=num}else{a=num;b=this}for(var i=0;i<b.length;i++){this.words[i]=a.words[i]^b.words[i]}if(this!==a){for(;i<a.length;i++){this.words[i]=a.words[i]}}this.length=a.length;return this.strip()};BN.prototype.ixor=function ixor(num){assert((this.negative|num.negative)===0);return this.iuxor(num)};BN.prototype.xor=function xor(num){if(this.length>num.length)return this.clone().ixor(num);return num.clone().ixor(this)};BN.prototype.uxor=function uxor(num){if(this.length>num.length)return this.clone().iuxor(num);return num.clone().iuxor(this)};BN.prototype.inotn=function inotn(width){assert(typeof width==="number"&&width>=0);var bytesNeeded=Math.ceil(width/26)|0;var bitsLeft=width%26;this._expand(bytesNeeded);if(bitsLeft>0){bytesNeeded--}for(var i=0;i<bytesNeeded;i++){this.words[i]=~this.words[i]&67108863}if(bitsLeft>0){this.words[i]=~this.words[i]&67108863>>26-bitsLeft}return this.strip()};BN.prototype.notn=function notn(width){return this.clone().inotn(width)};BN.prototype.setn=function setn(bit,val){assert(typeof bit==="number"&&bit>=0);var off=bit/26|0;var wbit=bit%26;this._expand(off+1);if(val){this.words[off]=this.words[off]|1<<wbit}else{this.words[off]=this.words[off]&~(1<<wbit)}return this.strip()};BN.prototype.iadd=function iadd(num){var r;if(this.negative!==0&&num.negative===0){this.negative=0;r=this.isub(num);this.negative^=1;return this._normSign()}else if(this.negative===0&&num.negative!==0){num.negative=0;r=this.isub(num);num.negative=1;return r._normSign()}var a,b;if(this.length>num.length){a=this;b=num}else{a=num;b=this}var carry=0;for(var i=0;i<b.length;i++){r=(a.words[i]|0)+(b.words[i]|0)+carry;this.words[i]=r&67108863;carry=r>>>26}for(;carry!==0&&i<a.length;i++){r=(a.words[i]|0)+carry;this.words[i]=r&67108863;carry=r>>>26}this.length=a.length;if(carry!==0){this.words[this.length]=carry;this.length++}else if(a!==this){for(;i<a.length;i++){this.words[i]=a.words[i]}}return this};BN.prototype.add=function add(num){var res;if(num.negative!==0&&this.negative===0){num.negative=0;res=this.sub(num);num.negative^=1;return res}else if(num.negative===0&&this.negative!==0){this.negative=0;res=num.sub(this);this.negative=1;return res}if(this.length>num.length)return this.clone().iadd(num);return num.clone().iadd(this)};BN.prototype.isub=function isub(num){if(num.negative!==0){num.negative=0;var r=this.iadd(num);num.negative=1;return r._normSign()}else if(this.negative!==0){this.negative=0;this.iadd(num);this.negative=1;return this._normSign()}var cmp=this.cmp(num);if(cmp===0){this.negative=0;this.length=1;this.words[0]=0;return this}var a,b;if(cmp>0){a=this;b=num}else{a=num;b=this}var carry=0;for(var i=0;i<b.length;i++){r=(a.words[i]|0)-(b.words[i]|0)+carry;carry=r>>26;this.words[i]=r&67108863}for(;carry!==0&&i<a.length;i++){r=(a.words[i]|0)+carry;carry=r>>26;this.words[i]=r&67108863}if(carry===0&&i<a.length&&a!==this){for(;i<a.length;i++){this.words[i]=a.words[i]}}this.length=Math.max(this.length,i);if(a!==this){this.negative=1}return this.strip()};BN.prototype.sub=function sub(num){return this.clone().isub(num)};function smallMulTo(self,num,out){out.negative=num.negative^self.negative;var len=self.length+num.length|0;out.length=len;len=len-1|0;var a=self.words[0]|0;var b=num.words[0]|0;var r=a*b;var lo=r&67108863;var carry=r/67108864|0;out.words[0]=lo;for(var k=1;k<len;k++){var ncarry=carry>>>26;var rword=carry&67108863;var maxJ=Math.min(k,num.length-1);for(var j=Math.max(0,k-self.length+1);j<=maxJ;j++){var i=k-j|0;a=self.words[i]|0;b=num.words[j]|0;r=a*b+rword;ncarry+=r/67108864|0;rword=r&67108863}out.words[k]=rword|0;carry=ncarry|0}if(carry!==0){out.words[k]=carry|0}else{out.length--}return out.strip()}var comb10MulTo=function comb10MulTo(self,num,out){var a=self.words;var b=num.words;var o=out.words;var c=0;var lo;var mid;var hi;var a0=a[0]|0;var al0=a0&8191;var ah0=a0>>>13;var a1=a[1]|0;var al1=a1&8191;var ah1=a1>>>13;var a2=a[2]|0;var al2=a2&8191;var ah2=a2>>>13;var a3=a[3]|0;var al3=a3&8191;var ah3=a3>>>13;var a4=a[4]|0;var al4=a4&8191;var ah4=a4>>>13;var a5=a[5]|0;var al5=a5&8191;var ah5=a5>>>13;var a6=a[6]|0;var al6=a6&8191;var ah6=a6>>>13;var a7=a[7]|0;var al7=a7&8191;var ah7=a7>>>13;var a8=a[8]|0;var al8=a8&8191;var ah8=a8>>>13;var a9=a[9]|0;var al9=a9&8191;var ah9=a9>>>13;var b0=b[0]|0;var bl0=b0&8191;var bh0=b0>>>13;var b1=b[1]|0;var bl1=b1&8191;var bh1=b1>>>13;var b2=b[2]|0;var bl2=b2&8191;var bh2=b2>>>13;var b3=b[3]|0;var bl3=b3&8191;var bh3=b3>>>13;var b4=b[4]|0;var bl4=b4&8191;var bh4=b4>>>13;var b5=b[5]|0;var bl5=b5&8191;var bh5=b5>>>13;var b6=b[6]|0;var bl6=b6&8191;var bh6=b6>>>13;var b7=b[7]|0;var bl7=b7&8191;var bh7=b7>>>13;var b8=b[8]|0;var bl8=b8&8191;var bh8=b8>>>13;var b9=b[9]|0;var bl9=b9&8191;var bh9=b9>>>13;out.negative=self.negative^num.negative;out.length=19;lo=Math.imul(al0,bl0);mid=Math.imul(al0,bh0);mid=mid+Math.imul(ah0,bl0)|0;hi=Math.imul(ah0,bh0);var w0=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w0>>>26)|0;w0&=67108863;lo=Math.imul(al1,bl0);mid=Math.imul(al1,bh0);mid=mid+Math.imul(ah1,bl0)|0;hi=Math.imul(ah1,bh0);lo=lo+Math.imul(al0,bl1)|0;mid=mid+Math.imul(al0,bh1)|0;mid=mid+Math.imul(ah0,bl1)|0;hi=hi+Math.imul(ah0,bh1)|0;var w1=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w1>>>26)|0;w1&=67108863;lo=Math.imul(al2,bl0);mid=Math.imul(al2,bh0);mid=mid+Math.imul(ah2,bl0)|0;hi=Math.imul(ah2,bh0);lo=lo+Math.imul(al1,bl1)|0;mid=mid+Math.imul(al1,bh1)|0;mid=mid+Math.imul(ah1,bl1)|0;hi=hi+Math.imul(ah1,bh1)|0;lo=lo+Math.imul(al0,bl2)|0;mid=mid+Math.imul(al0,bh2)|0;mid=mid+Math.imul(ah0,bl2)|0;hi=hi+Math.imul(ah0,bh2)|0;var w2=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w2>>>26)|0;w2&=67108863;lo=Math.imul(al3,bl0);mid=Math.imul(al3,bh0);mid=mid+Math.imul(ah3,bl0)|0;hi=Math.imul(ah3,bh0);lo=lo+Math.imul(al2,bl1)|0;mid=mid+Math.imul(al2,bh1)|0;mid=mid+Math.imul(ah2,bl1)|0;hi=hi+Math.imul(ah2,bh1)|0;lo=lo+Math.imul(al1,bl2)|0;mid=mid+Math.imul(al1,bh2)|0;mid=mid+Math.imul(ah1,bl2)|0;hi=hi+Math.imul(ah1,bh2)|0;lo=lo+Math.imul(al0,bl3)|0;mid=mid+Math.imul(al0,bh3)|0;mid=mid+Math.imul(ah0,bl3)|0;hi=hi+Math.imul(ah0,bh3)|0;var w3=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w3>>>26)|0;w3&=67108863;lo=Math.imul(al4,bl0);mid=Math.imul(al4,bh0);mid=mid+Math.imul(ah4,bl0)|0;hi=Math.imul(ah4,bh0);lo=lo+Math.imul(al3,bl1)|0;mid=mid+Math.imul(al3,bh1)|0;mid=mid+Math.imul(ah3,bl1)|0;hi=hi+Math.imul(ah3,bh1)|0;lo=lo+Math.imul(al2,bl2)|0;mid=mid+Math.imul(al2,bh2)|0;mid=mid+Math.imul(ah2,bl2)|0;hi=hi+Math.imul(ah2,bh2)|0;lo=lo+Math.imul(al1,bl3)|0;mid=mid+Math.imul(al1,bh3)|0;mid=mid+Math.imul(ah1,bl3)|0;hi=hi+Math.imul(ah1,bh3)|0;lo=lo+Math.imul(al0,bl4)|0;mid=mid+Math.imul(al0,bh4)|0;mid=mid+Math.imul(ah0,bl4)|0;hi=hi+Math.imul(ah0,bh4)|0;var w4=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w4>>>26)|0;w4&=67108863;lo=Math.imul(al5,bl0);mid=Math.imul(al5,bh0);mid=mid+Math.imul(ah5,bl0)|0;hi=Math.imul(ah5,bh0);lo=lo+Math.imul(al4,bl1)|0;mid=mid+Math.imul(al4,bh1)|0;mid=mid+Math.imul(ah4,bl1)|0;hi=hi+Math.imul(ah4,bh1)|0;lo=lo+Math.imul(al3,bl2)|0;mid=mid+Math.imul(al3,bh2)|0;mid=mid+Math.imul(ah3,bl2)|0;hi=hi+Math.imul(ah3,bh2)|0;lo=lo+Math.imul(al2,bl3)|0;mid=mid+Math.imul(al2,bh3)|0;mid=mid+Math.imul(ah2,bl3)|0;hi=hi+Math.imul(ah2,bh3)|0;lo=lo+Math.imul(al1,bl4)|0;mid=mid+Math.imul(al1,bh4)|0;mid=mid+Math.imul(ah1,bl4)|0;hi=hi+Math.imul(ah1,bh4)|0;lo=lo+Math.imul(al0,bl5)|0;mid=mid+Math.imul(al0,bh5)|0;mid=mid+Math.imul(ah0,bl5)|0;hi=hi+Math.imul(ah0,bh5)|0;var w5=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w5>>>26)|0;w5&=67108863;lo=Math.imul(al6,bl0);mid=Math.imul(al6,bh0);mid=mid+Math.imul(ah6,bl0)|0;hi=Math.imul(ah6,bh0);lo=lo+Math.imul(al5,bl1)|0;mid=mid+Math.imul(al5,bh1)|0;mid=mid+Math.imul(ah5,bl1)|0;hi=hi+Math.imul(ah5,bh1)|0;lo=lo+Math.imul(al4,bl2)|0;mid=mid+Math.imul(al4,bh2)|0;mid=mid+Math.imul(ah4,bl2)|0;hi=hi+Math.imul(ah4,bh2)|0;lo=lo+Math.imul(al3,bl3)|0;mid=mid+Math.imul(al3,bh3)|0;mid=mid+Math.imul(ah3,bl3)|0;hi=hi+Math.imul(ah3,bh3)|0;lo=lo+Math.imul(al2,bl4)|0;mid=mid+Math.imul(al2,bh4)|0;mid=mid+Math.imul(ah2,bl4)|0;hi=hi+Math.imul(ah2,bh4)|0;lo=lo+Math.imul(al1,bl5)|0;mid=mid+Math.imul(al1,bh5)|0;mid=mid+Math.imul(ah1,bl5)|0;hi=hi+Math.imul(ah1,bh5)|0;lo=lo+Math.imul(al0,bl6)|0;mid=mid+Math.imul(al0,bh6)|0;mid=mid+Math.imul(ah0,bl6)|0;hi=hi+Math.imul(ah0,bh6)|0;var w6=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w6>>>26)|0;w6&=67108863;lo=Math.imul(al7,bl0);mid=Math.imul(al7,bh0);mid=mid+Math.imul(ah7,bl0)|0;hi=Math.imul(ah7,bh0);lo=lo+Math.imul(al6,bl1)|0;mid=mid+Math.imul(al6,bh1)|0;mid=mid+Math.imul(ah6,bl1)|0;hi=hi+Math.imul(ah6,bh1)|0;lo=lo+Math.imul(al5,bl2)|0;mid=mid+Math.imul(al5,bh2)|0;mid=mid+Math.imul(ah5,bl2)|0;hi=hi+Math.imul(ah5,bh2)|0;lo=lo+Math.imul(al4,bl3)|0;mid=mid+Math.imul(al4,bh3)|0;mid=mid+Math.imul(ah4,bl3)|0;hi=hi+Math.imul(ah4,bh3)|0;lo=lo+Math.imul(al3,bl4)|0;mid=mid+Math.imul(al3,bh4)|0;mid=mid+Math.imul(ah3,bl4)|0;hi=hi+Math.imul(ah3,bh4)|0;lo=lo+Math.imul(al2,bl5)|0;mid=mid+Math.imul(al2,bh5)|0;mid=mid+Math.imul(ah2,bl5)|0;hi=hi+Math.imul(ah2,bh5)|0;lo=lo+Math.imul(al1,bl6)|0;mid=mid+Math.imul(al1,bh6)|0;mid=mid+Math.imul(ah1,bl6)|0;hi=hi+Math.imul(ah1,bh6)|0;lo=lo+Math.imul(al0,bl7)|0;mid=mid+Math.imul(al0,bh7)|0;mid=mid+Math.imul(ah0,bl7)|0;hi=hi+Math.imul(ah0,bh7)|0;var w7=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w7>>>26)|0;w7&=67108863;lo=Math.imul(al8,bl0);mid=Math.imul(al8,bh0);mid=mid+Math.imul(ah8,bl0)|0;hi=Math.imul(ah8,bh0);lo=lo+Math.imul(al7,bl1)|0;mid=mid+Math.imul(al7,bh1)|0;mid=mid+Math.imul(ah7,bl1)|0;hi=hi+Math.imul(ah7,bh1)|0;lo=lo+Math.imul(al6,bl2)|0;mid=mid+Math.imul(al6,bh2)|0;mid=mid+Math.imul(ah6,bl2)|0;hi=hi+Math.imul(ah6,bh2)|0;lo=lo+Math.imul(al5,bl3)|0;mid=mid+Math.imul(al5,bh3)|0;mid=mid+Math.imul(ah5,bl3)|0;hi=hi+Math.imul(ah5,bh3)|0;lo=lo+Math.imul(al4,bl4)|0;mid=mid+Math.imul(al4,bh4)|0;mid=mid+Math.imul(ah4,bl4)|0;hi=hi+Math.imul(ah4,bh4)|0;lo=lo+Math.imul(al3,bl5)|0;mid=mid+Math.imul(al3,bh5)|0;mid=mid+Math.imul(ah3,bl5)|0;hi=hi+Math.imul(ah3,bh5)|0;lo=lo+Math.imul(al2,bl6)|0;mid=mid+Math.imul(al2,bh6)|0;mid=mid+Math.imul(ah2,bl6)|0;hi=hi+Math.imul(ah2,bh6)|0;lo=lo+Math.imul(al1,bl7)|0;mid=mid+Math.imul(al1,bh7)|0;mid=mid+Math.imul(ah1,bl7)|0;hi=hi+Math.imul(ah1,bh7)|0;lo=lo+Math.imul(al0,bl8)|0;mid=mid+Math.imul(al0,bh8)|0;mid=mid+Math.imul(ah0,bl8)|0;hi=hi+Math.imul(ah0,bh8)|0;var w8=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w8>>>26)|0;w8&=67108863;lo=Math.imul(al9,bl0);mid=Math.imul(al9,bh0);mid=mid+Math.imul(ah9,bl0)|0;hi=Math.imul(ah9,bh0);lo=lo+Math.imul(al8,bl1)|0;mid=mid+Math.imul(al8,bh1)|0;mid=mid+Math.imul(ah8,bl1)|0;hi=hi+Math.imul(ah8,bh1)|0;lo=lo+Math.imul(al7,bl2)|0;mid=mid+Math.imul(al7,bh2)|0;mid=mid+Math.imul(ah7,bl2)|0;hi=hi+Math.imul(ah7,bh2)|0;lo=lo+Math.imul(al6,bl3)|0;mid=mid+Math.imul(al6,bh3)|0;mid=mid+Math.imul(ah6,bl3)|0;hi=hi+Math.imul(ah6,bh3)|0;lo=lo+Math.imul(al5,bl4)|0;mid=mid+Math.imul(al5,bh4)|0;mid=mid+Math.imul(ah5,bl4)|0;hi=hi+Math.imul(ah5,bh4)|0;lo=lo+Math.imul(al4,bl5)|0;mid=mid+Math.imul(al4,bh5)|0;mid=mid+Math.imul(ah4,bl5)|0;hi=hi+Math.imul(ah4,bh5)|0;lo=lo+Math.imul(al3,bl6)|0;mid=mid+Math.imul(al3,bh6)|0;mid=mid+Math.imul(ah3,bl6)|0;hi=hi+Math.imul(ah3,bh6)|0;lo=lo+Math.imul(al2,bl7)|0;mid=mid+Math.imul(al2,bh7)|0;mid=mid+Math.imul(ah2,bl7)|0;hi=hi+Math.imul(ah2,bh7)|0;lo=lo+Math.imul(al1,bl8)|0;mid=mid+Math.imul(al1,bh8)|0;mid=mid+Math.imul(ah1,bl8)|0;hi=hi+Math.imul(ah1,bh8)|0;lo=lo+Math.imul(al0,bl9)|0;mid=mid+Math.imul(al0,bh9)|0;mid=mid+Math.imul(ah0,bl9)|0;hi=hi+Math.imul(ah0,bh9)|0;var w9=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w9>>>26)|0;w9&=67108863;lo=Math.imul(al9,bl1);mid=Math.imul(al9,bh1);mid=mid+Math.imul(ah9,bl1)|0;hi=Math.imul(ah9,bh1);lo=lo+Math.imul(al8,bl2)|0;mid=mid+Math.imul(al8,bh2)|0;mid=mid+Math.imul(ah8,bl2)|0;hi=hi+Math.imul(ah8,bh2)|0;lo=lo+Math.imul(al7,bl3)|0;mid=mid+Math.imul(al7,bh3)|0;mid=mid+Math.imul(ah7,bl3)|0;hi=hi+Math.imul(ah7,bh3)|0;lo=lo+Math.imul(al6,bl4)|0;mid=mid+Math.imul(al6,bh4)|0;mid=mid+Math.imul(ah6,bl4)|0;hi=hi+Math.imul(ah6,bh4)|0;lo=lo+Math.imul(al5,bl5)|0;mid=mid+Math.imul(al5,bh5)|0;mid=mid+Math.imul(ah5,bl5)|0;hi=hi+Math.imul(ah5,bh5)|0;lo=lo+Math.imul(al4,bl6)|0;mid=mid+Math.imul(al4,bh6)|0;mid=mid+Math.imul(ah4,bl6)|0;hi=hi+Math.imul(ah4,bh6)|0;lo=lo+Math.imul(al3,bl7)|0;mid=mid+Math.imul(al3,bh7)|0;mid=mid+Math.imul(ah3,bl7)|0;hi=hi+Math.imul(ah3,bh7)|0;lo=lo+Math.imul(al2,bl8)|0;mid=mid+Math.imul(al2,bh8)|0;mid=mid+Math.imul(ah2,bl8)|0;hi=hi+Math.imul(ah2,bh8)|0;lo=lo+Math.imul(al1,bl9)|0;mid=mid+Math.imul(al1,bh9)|0;mid=mid+Math.imul(ah1,bl9)|0;hi=hi+Math.imul(ah1,bh9)|0;var w10=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w10>>>26)|0;w10&=67108863;lo=Math.imul(al9,bl2);mid=Math.imul(al9,bh2);mid=mid+Math.imul(ah9,bl2)|0;hi=Math.imul(ah9,bh2);lo=lo+Math.imul(al8,bl3)|0;mid=mid+Math.imul(al8,bh3)|0;mid=mid+Math.imul(ah8,bl3)|0;hi=hi+Math.imul(ah8,bh3)|0;lo=lo+Math.imul(al7,bl4)|0;mid=mid+Math.imul(al7,bh4)|0;mid=mid+Math.imul(ah7,bl4)|0;hi=hi+Math.imul(ah7,bh4)|0;lo=lo+Math.imul(al6,bl5)|0;mid=mid+Math.imul(al6,bh5)|0;mid=mid+Math.imul(ah6,bl5)|0;hi=hi+Math.imul(ah6,bh5)|0;lo=lo+Math.imul(al5,bl6)|0;mid=mid+Math.imul(al5,bh6)|0;mid=mid+Math.imul(ah5,bl6)|0;hi=hi+Math.imul(ah5,bh6)|0;lo=lo+Math.imul(al4,bl7)|0;mid=mid+Math.imul(al4,bh7)|0;mid=mid+Math.imul(ah4,bl7)|0;hi=hi+Math.imul(ah4,bh7)|0;lo=lo+Math.imul(al3,bl8)|0;mid=mid+Math.imul(al3,bh8)|0;mid=mid+Math.imul(ah3,bl8)|0;hi=hi+Math.imul(ah3,bh8)|0;lo=lo+Math.imul(al2,bl9)|0;mid=mid+Math.imul(al2,bh9)|0;mid=mid+Math.imul(ah2,bl9)|0;hi=hi+Math.imul(ah2,bh9)|0;var w11=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w11>>>26)|0;w11&=67108863;lo=Math.imul(al9,bl3);mid=Math.imul(al9,bh3);mid=mid+Math.imul(ah9,bl3)|0;hi=Math.imul(ah9,bh3);lo=lo+Math.imul(al8,bl4)|0;mid=mid+Math.imul(al8,bh4)|0;mid=mid+Math.imul(ah8,bl4)|0;hi=hi+Math.imul(ah8,bh4)|0;lo=lo+Math.imul(al7,bl5)|0;mid=mid+Math.imul(al7,bh5)|0;mid=mid+Math.imul(ah7,bl5)|0;hi=hi+Math.imul(ah7,bh5)|0;lo=lo+Math.imul(al6,bl6)|0;mid=mid+Math.imul(al6,bh6)|0;mid=mid+Math.imul(ah6,bl6)|0;hi=hi+Math.imul(ah6,bh6)|0;lo=lo+Math.imul(al5,bl7)|0;mid=mid+Math.imul(al5,bh7)|0;mid=mid+Math.imul(ah5,bl7)|0;hi=hi+Math.imul(ah5,bh7)|0;lo=lo+Math.imul(al4,bl8)|0;mid=mid+Math.imul(al4,bh8)|0;mid=mid+Math.imul(ah4,bl8)|0;hi=hi+Math.imul(ah4,bh8)|0;lo=lo+Math.imul(al3,bl9)|0;mid=mid+Math.imul(al3,bh9)|0;mid=mid+Math.imul(ah3,bl9)|0;hi=hi+Math.imul(ah3,bh9)|0;var w12=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w12>>>26)|0;w12&=67108863;lo=Math.imul(al9,bl4);mid=Math.imul(al9,bh4);mid=mid+Math.imul(ah9,bl4)|0;hi=Math.imul(ah9,bh4);lo=lo+Math.imul(al8,bl5)|0;mid=mid+Math.imul(al8,bh5)|0;mid=mid+Math.imul(ah8,bl5)|0;hi=hi+Math.imul(ah8,bh5)|0;lo=lo+Math.imul(al7,bl6)|0;mid=mid+Math.imul(al7,bh6)|0;mid=mid+Math.imul(ah7,bl6)|0;hi=hi+Math.imul(ah7,bh6)|0;lo=lo+Math.imul(al6,bl7)|0;mid=mid+Math.imul(al6,bh7)|0;mid=mid+Math.imul(ah6,bl7)|0;hi=hi+Math.imul(ah6,bh7)|0;lo=lo+Math.imul(al5,bl8)|0;mid=mid+Math.imul(al5,bh8)|0;mid=mid+Math.imul(ah5,bl8)|0;hi=hi+Math.imul(ah5,bh8)|0;lo=lo+Math.imul(al4,bl9)|0;mid=mid+Math.imul(al4,bh9)|0;mid=mid+Math.imul(ah4,bl9)|0;hi=hi+Math.imul(ah4,bh9)|0;var w13=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w13>>>26)|0;w13&=67108863;lo=Math.imul(al9,bl5);mid=Math.imul(al9,bh5);mid=mid+Math.imul(ah9,bl5)|0;hi=Math.imul(ah9,bh5);lo=lo+Math.imul(al8,bl6)|0;mid=mid+Math.imul(al8,bh6)|0;mid=mid+Math.imul(ah8,bl6)|0;hi=hi+Math.imul(ah8,bh6)|0;lo=lo+Math.imul(al7,bl7)|0;mid=mid+Math.imul(al7,bh7)|0;mid=mid+Math.imul(ah7,bl7)|0;hi=hi+Math.imul(ah7,bh7)|0;lo=lo+Math.imul(al6,bl8)|0;mid=mid+Math.imul(al6,bh8)|0;mid=mid+Math.imul(ah6,bl8)|0;hi=hi+Math.imul(ah6,bh8)|0;lo=lo+Math.imul(al5,bl9)|0;mid=mid+Math.imul(al5,bh9)|0;mid=mid+Math.imul(ah5,bl9)|0;hi=hi+Math.imul(ah5,bh9)|0;var w14=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w14>>>26)|0;w14&=67108863;lo=Math.imul(al9,bl6);mid=Math.imul(al9,bh6);mid=mid+Math.imul(ah9,bl6)|0;hi=Math.imul(ah9,bh6);lo=lo+Math.imul(al8,bl7)|0;mid=mid+Math.imul(al8,bh7)|0;mid=mid+Math.imul(ah8,bl7)|0;hi=hi+Math.imul(ah8,bh7)|0;lo=lo+Math.imul(al7,bl8)|0;mid=mid+Math.imul(al7,bh8)|0;mid=mid+Math.imul(ah7,bl8)|0;hi=hi+Math.imul(ah7,bh8)|0;lo=lo+Math.imul(al6,bl9)|0;mid=mid+Math.imul(al6,bh9)|0;mid=mid+Math.imul(ah6,bl9)|0;hi=hi+Math.imul(ah6,bh9)|0;var w15=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w15>>>26)|0;w15&=67108863;lo=Math.imul(al9,bl7);mid=Math.imul(al9,bh7);mid=mid+Math.imul(ah9,bl7)|0;hi=Math.imul(ah9,bh7);lo=lo+Math.imul(al8,bl8)|0;mid=mid+Math.imul(al8,bh8)|0;mid=mid+Math.imul(ah8,bl8)|0;hi=hi+Math.imul(ah8,bh8)|0;lo=lo+Math.imul(al7,bl9)|0;mid=mid+Math.imul(al7,bh9)|0;mid=mid+Math.imul(ah7,bl9)|0;hi=hi+Math.imul(ah7,bh9)|0;var w16=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w16>>>26)|0;w16&=67108863;lo=Math.imul(al9,bl8);mid=Math.imul(al9,bh8);mid=mid+Math.imul(ah9,bl8)|0;hi=Math.imul(ah9,bh8);lo=lo+Math.imul(al8,bl9)|0;mid=mid+Math.imul(al8,bh9)|0;mid=mid+Math.imul(ah8,bl9)|0;hi=hi+Math.imul(ah8,bh9)|0;var w17=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w17>>>26)|0;w17&=67108863;lo=Math.imul(al9,bl9);mid=Math.imul(al9,bh9);mid=mid+Math.imul(ah9,bl9)|0;hi=Math.imul(ah9,bh9);var w18=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w18>>>26)|0;w18&=67108863;o[0]=w0;o[1]=w1;o[2]=w2;o[3]=w3;o[4]=w4;o[5]=w5;o[6]=w6;o[7]=w7;o[8]=w8;o[9]=w9;o[10]=w10;o[11]=w11;o[12]=w12;o[13]=w13;o[14]=w14;o[15]=w15;o[16]=w16;o[17]=w17;o[18]=w18;if(c!==0){o[19]=c;out.length++}return out};if(!Math.imul){comb10MulTo=smallMulTo}function bigMulTo(self,num,out){out.negative=num.negative^self.negative;out.length=self.length+num.length;var carry=0;var hncarry=0;for(var k=0;k<out.length-1;k++){var ncarry=hncarry;hncarry=0;var rword=carry&67108863;var maxJ=Math.min(k,num.length-1);for(var j=Math.max(0,k-self.length+1);j<=maxJ;j++){var i=k-j;var a=self.words[i]|0;var b=num.words[j]|0;var r=a*b;var lo=r&67108863;ncarry=ncarry+(r/67108864|0)|0;lo=lo+rword|0;rword=lo&67108863;ncarry=ncarry+(lo>>>26)|0;hncarry+=ncarry>>>26;ncarry&=67108863}out.words[k]=rword;carry=ncarry;ncarry=hncarry}if(carry!==0){out.words[k]=carry}else{out.length--}return out.strip()}function jumboMulTo(self,num,out){var fftm=new FFTM;return fftm.mulp(self,num,out)}BN.prototype.mulTo=function mulTo(num,out){var res;var len=this.length+num.length;if(this.length===10&&num.length===10){res=comb10MulTo(this,num,out)}else if(len<63){res=smallMulTo(this,num,out)}else if(len<1024){res=bigMulTo(this,num,out)}else{res=jumboMulTo(this,num,out)}return res};function FFTM(x,y){this.x=x;this.y=y}FFTM.prototype.makeRBT=function makeRBT(N){var t=new Array(N);var l=BN.prototype._countBits(N)-1;for(var i=0;i<N;i++){t[i]=this.revBin(i,l,N)}return t};FFTM.prototype.revBin=function revBin(x,l,N){if(x===0||x===N-1)return x;var rb=0;for(var i=0;i<l;i++){rb|=(x&1)<<l-i-1;x>>=1}return rb};FFTM.prototype.permute=function permute(rbt,rws,iws,rtws,itws,N){for(var i=0;i<N;i++){rtws[i]=rws[rbt[i]];itws[i]=iws[rbt[i]]}};FFTM.prototype.transform=function transform(rws,iws,rtws,itws,N,rbt){this.permute(rbt,rws,iws,rtws,itws,N);for(var s=1;s<N;s<<=1){var l=s<<1;var rtwdf=Math.cos(2*Math.PI/l);var itwdf=Math.sin(2*Math.PI/l);for(var p=0;p<N;p+=l){var rtwdf_=rtwdf;var itwdf_=itwdf;for(var j=0;j<s;j++){var re=rtws[p+j];var ie=itws[p+j];var ro=rtws[p+j+s];var io=itws[p+j+s];var rx=rtwdf_*ro-itwdf_*io;io=rtwdf_*io+itwdf_*ro;ro=rx;rtws[p+j]=re+ro;itws[p+j]=ie+io;rtws[p+j+s]=re-ro;itws[p+j+s]=ie-io;if(j!==l){rx=rtwdf*rtwdf_-itwdf*itwdf_;itwdf_=rtwdf*itwdf_+itwdf*rtwdf_;rtwdf_=rx}}}}};FFTM.prototype.guessLen13b=function guessLen13b(n,m){var N=Math.max(m,n)|1;var odd=N&1;var i=0;for(N=N/2|0;N;N=N>>>1){i++}return 1<<i+1+odd};FFTM.prototype.conjugate=function conjugate(rws,iws,N){if(N<=1)return;for(var i=0;i<N/2;i++){var t=rws[i];rws[i]=rws[N-i-1];rws[N-i-1]=t;t=iws[i];iws[i]=-iws[N-i-1];iws[N-i-1]=-t}};FFTM.prototype.normalize13b=function normalize13b(ws,N){var carry=0;for(var i=0;i<N/2;i++){var w=Math.round(ws[2*i+1]/N)*8192+Math.round(ws[2*i]/N)+carry;ws[i]=w&67108863;if(w<67108864){carry=0}else{carry=w/67108864|0}}return ws};FFTM.prototype.convert13b=function convert13b(ws,len,rws,N){var carry=0;for(var i=0;i<len;i++){carry=carry+(ws[i]|0);rws[2*i]=carry&8191;carry=carry>>>13;rws[2*i+1]=carry&8191;carry=carry>>>13}for(i=2*len;i<N;++i){rws[i]=0}assert(carry===0);assert((carry&~8191)===0)};FFTM.prototype.stub=function stub(N){var ph=new Array(N);for(var i=0;i<N;i++){ph[i]=0}return ph};FFTM.prototype.mulp=function mulp(x,y,out){var N=2*this.guessLen13b(x.length,y.length);var rbt=this.makeRBT(N);var _=this.stub(N);var rws=new Array(N);var rwst=new Array(N);var iwst=new Array(N);var nrws=new Array(N);var nrwst=new Array(N);var niwst=new Array(N);var rmws=out.words;rmws.length=N;this.convert13b(x.words,x.length,rws,N);this.convert13b(y.words,y.length,nrws,N);this.transform(rws,_,rwst,iwst,N,rbt);this.transform(nrws,_,nrwst,niwst,N,rbt);for(var i=0;i<N;i++){var rx=rwst[i]*nrwst[i]-iwst[i]*niwst[i];iwst[i]=rwst[i]*niwst[i]+iwst[i]*nrwst[i];rwst[i]=rx}this.conjugate(rwst,iwst,N);this.transform(rwst,iwst,rmws,_,N,rbt);this.conjugate(rmws,_,N);this.normalize13b(rmws,N);out.negative=x.negative^y.negative;out.length=x.length+y.length;return out.strip()};BN.prototype.mul=function mul(num){var out=new BN(null);out.words=new Array(this.length+num.length);return this.mulTo(num,out)};BN.prototype.mulf=function mulf(num){var out=new BN(null);out.words=new Array(this.length+num.length);return jumboMulTo(this,num,out)};BN.prototype.imul=function imul(num){return this.clone().mulTo(num,this)};BN.prototype.imuln=function imuln(num){assert(typeof num==="number");assert(num<67108864);var carry=0;for(var i=0;i<this.length;i++){var w=(this.words[i]|0)*num;var lo=(w&67108863)+(carry&67108863);carry>>=26;carry+=w/67108864|0;carry+=lo>>>26;this.words[i]=lo&67108863}if(carry!==0){this.words[i]=carry;this.length++}return this};BN.prototype.muln=function muln(num){return this.clone().imuln(num)};BN.prototype.sqr=function sqr(){return this.mul(this)};BN.prototype.isqr=function isqr(){return this.imul(this.clone())};BN.prototype.pow=function pow(num){var w=toBitArray(num);if(w.length===0)return new BN(1);var res=this;for(var i=0;i<w.length;i++,res=res.sqr()){if(w[i]!==0)break}if(++i<w.length){for(var q=res.sqr();i<w.length;i++,q=q.sqr()){if(w[i]===0)continue;res=res.mul(q)}}return res};BN.prototype.iushln=function iushln(bits){assert(typeof bits==="number"&&bits>=0);var r=bits%26;var s=(bits-r)/26;var carryMask=67108863>>>26-r<<26-r;var i;if(r!==0){var carry=0;for(i=0;i<this.length;i++){var newCarry=this.words[i]&carryMask;var c=(this.words[i]|0)-newCarry<<r;this.words[i]=c|carry;carry=newCarry>>>26-r}if(carry){this.words[i]=carry;this.length++}}if(s!==0){for(i=this.length-1;i>=0;i--){this.words[i+s]=this.words[i]}for(i=0;i<s;i++){this.words[i]=0}this.length+=s}return this.strip()};BN.prototype.ishln=function ishln(bits){assert(this.negative===0);return this.iushln(bits)};BN.prototype.iushrn=function iushrn(bits,hint,extended){assert(typeof bits==="number"&&bits>=0);var h;if(hint){h=(hint-hint%26)/26}else{h=0}var r=bits%26;var s=Math.min((bits-r)/26,this.length);var mask=67108863^67108863>>>r<<r;var maskedWords=extended;h-=s;h=Math.max(0,h);if(maskedWords){for(var i=0;i<s;i++){maskedWords.words[i]=this.words[i]}maskedWords.length=s}if(s===0){}else if(this.length>s){this.length-=s;for(i=0;i<this.length;i++){this.words[i]=this.words[i+s]}}else{this.words[0]=0;this.length=1}var carry=0;for(i=this.length-1;i>=0&&(carry!==0||i>=h);i--){var word=this.words[i]|0;this.words[i]=carry<<26-r|word>>>r;carry=word&mask}if(maskedWords&&carry!==0){maskedWords.words[maskedWords.length++]=carry}if(this.length===0){this.words[0]=0;this.length=1}return this.strip()};BN.prototype.ishrn=function ishrn(bits,hint,extended){assert(this.negative===0);return this.iushrn(bits,hint,extended)};BN.prototype.shln=function shln(bits){return this.clone().ishln(bits)};BN.prototype.ushln=function ushln(bits){return this.clone().iushln(bits)};BN.prototype.shrn=function shrn(bits){return this.clone().ishrn(bits)};BN.prototype.ushrn=function ushrn(bits){return this.clone().iushrn(bits)};BN.prototype.testn=function testn(bit){assert(typeof bit==="number"&&bit>=0);var r=bit%26;var s=(bit-r)/26;var q=1<<r;if(this.length<=s)return false;var w=this.words[s];return!!(w&q)};BN.prototype.imaskn=function imaskn(bits){assert(typeof bits==="number"&&bits>=0);var r=bits%26;var s=(bits-r)/26;assert(this.negative===0,"imaskn works only with positive numbers");if(this.length<=s){return this}if(r!==0){s++}this.length=Math.min(s,this.length);if(r!==0){var mask=67108863^67108863>>>r<<r;this.words[this.length-1]&=mask}return this.strip()};BN.prototype.maskn=function maskn(bits){return this.clone().imaskn(bits)};BN.prototype.iaddn=function iaddn(num){assert(typeof num==="number");assert(num<67108864);if(num<0)return this.isubn(-num);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<num){this.words[0]=num-(this.words[0]|0);this.negative=0;return this}this.negative=0;this.isubn(num);this.negative=1;return this}return this._iaddn(num)};BN.prototype._iaddn=function _iaddn(num){this.words[0]+=num;for(var i=0;i<this.length&&this.words[i]>=67108864;i++){this.words[i]-=67108864;if(i===this.length-1){this.words[i+1]=1}else{this.words[i+1]++}}this.length=Math.max(this.length,i+1);return this};BN.prototype.isubn=function isubn(num){assert(typeof num==="number");assert(num<67108864);if(num<0)return this.iaddn(-num);if(this.negative!==0){this.negative=0;this.iaddn(num);this.negative=1;return this}this.words[0]-=num;if(this.length===1&&this.words[0]<0){this.words[0]=-this.words[0];this.negative=1}else{for(var i=0;i<this.length&&this.words[i]<0;i++){this.words[i]+=67108864;this.words[i+1]-=1}}return this.strip()};BN.prototype.addn=function addn(num){return this.clone().iaddn(num)};BN.prototype.subn=function subn(num){return this.clone().isubn(num)};BN.prototype.iabs=function iabs(){this.negative=0;return this};BN.prototype.abs=function abs(){return this.clone().iabs()};BN.prototype._ishlnsubmul=function _ishlnsubmul(num,mul,shift){var len=num.length+shift;var i;this._expand(len);var w;var carry=0;for(i=0;i<num.length;i++){w=(this.words[i+shift]|0)+carry;var right=(num.words[i]|0)*mul;w-=right&67108863;carry=(w>>26)-(right/67108864|0);this.words[i+shift]=w&67108863}for(;i<this.length-shift;i++){w=(this.words[i+shift]|0)+carry;carry=w>>26;this.words[i+shift]=w&67108863}if(carry===0)return this.strip();assert(carry===-1);carry=0;for(i=0;i<this.length;i++){w=-(this.words[i]|0)+carry;carry=w>>26;this.words[i]=w&67108863}this.negative=1;return this.strip()};BN.prototype._wordDiv=function _wordDiv(num,mode){var shift=this.length-num.length;var a=this.clone();var b=num;var bhi=b.words[b.length-1]|0;var bhiBits=this._countBits(bhi);shift=26-bhiBits;if(shift!==0){b=b.ushln(shift);a.iushln(shift);bhi=b.words[b.length-1]|0}var m=a.length-b.length;var q;if(mode!=="mod"){q=new BN(null);q.length=m+1;q.words=new Array(q.length);for(var i=0;i<q.length;i++){q.words[i]=0}}var diff=a.clone()._ishlnsubmul(b,1,m);if(diff.negative===0){a=diff;if(q){q.words[m]=1}}for(var j=m-1;j>=0;j--){var qj=(a.words[b.length+j]|0)*67108864+(a.words[b.length+j-1]|0);qj=Math.min(qj/bhi|0,67108863);a._ishlnsubmul(b,qj,j);while(a.negative!==0){qj--;a.negative=0;a._ishlnsubmul(b,1,j);if(!a.isZero()){a.negative^=1}}if(q){q.words[j]=qj}}if(q){q.strip()}a.strip();if(mode!=="div"&&shift!==0){a.iushrn(shift)}return{div:q||null,mod:a}};BN.prototype.divmod=function divmod(num,mode,positive){assert(!num.isZero());if(this.isZero()){return{div:new BN(0),mod:new BN(0)}}var div,mod,res;if(this.negative!==0&&num.negative===0){res=this.neg().divmod(num,mode);if(mode!=="mod"){div=res.div.neg()}if(mode!=="div"){mod=res.mod.neg();if(positive&&mod.negative!==0){mod.iadd(num)}}return{div:div,mod:mod}}if(this.negative===0&&num.negative!==0){res=this.divmod(num.neg(),mode);if(mode!=="mod"){div=res.div.neg()}return{div:div,mod:res.mod}}if((this.negative&num.negative)!==0){res=this.neg().divmod(num.neg(),mode);if(mode!=="div"){mod=res.mod.neg();if(positive&&mod.negative!==0){mod.isub(num)}}return{div:res.div,mod:mod}}if(num.length>this.length||this.cmp(num)<0){return{div:new BN(0),mod:this}}if(num.length===1){if(mode==="div"){return{div:this.divn(num.words[0]),mod:null}}if(mode==="mod"){return{div:null,mod:new BN(this.modn(num.words[0]))}}return{div:this.divn(num.words[0]),mod:new BN(this.modn(num.words[0]))}}return this._wordDiv(num,mode)};BN.prototype.div=function div(num){return this.divmod(num,"div",false).div};BN.prototype.mod=function mod(num){return this.divmod(num,"mod",false).mod};BN.prototype.umod=function umod(num){return this.divmod(num,"mod",true).mod};BN.prototype.divRound=function divRound(num){var dm=this.divmod(num);if(dm.mod.isZero())return dm.div;var mod=dm.div.negative!==0?dm.mod.isub(num):dm.mod;var half=num.ushrn(1);var r2=num.andln(1);var cmp=mod.cmp(half);if(cmp<0||r2===1&&cmp===0)return dm.div;return dm.div.negative!==0?dm.div.isubn(1):dm.div.iaddn(1)};BN.prototype.modn=function modn(num){assert(num<=67108863);var p=(1<<26)%num;var acc=0;for(var i=this.length-1;i>=0;i--){acc=(p*acc+(this.words[i]|0))%num}return acc};BN.prototype.idivn=function idivn(num){assert(num<=67108863);var carry=0;for(var i=this.length-1;i>=0;i--){var w=(this.words[i]|0)+carry*67108864;this.words[i]=w/num|0;carry=w%num}return this.strip()};BN.prototype.divn=function divn(num){return this.clone().idivn(num)};BN.prototype.egcd=function egcd(p){assert(p.negative===0);assert(!p.isZero());var x=this;var y=p.clone();if(x.negative!==0){x=x.umod(p)}else{x=x.clone()}var A=new BN(1);var B=new BN(0);var C=new BN(0);var D=new BN(1);var g=0;while(x.isEven()&&y.isEven()){x.iushrn(1);y.iushrn(1);++g}var yp=y.clone();var xp=x.clone();while(!x.isZero()){for(var i=0,im=1;(x.words[0]&im)===0&&i<26;++i,im<<=1);if(i>0){x.iushrn(i);while(i-- >0){if(A.isOdd()||B.isOdd()){A.iadd(yp);B.isub(xp)}A.iushrn(1);B.iushrn(1)}}for(var j=0,jm=1;(y.words[0]&jm)===0&&j<26;++j,jm<<=1);if(j>0){y.iushrn(j);while(j-- >0){if(C.isOdd()||D.isOdd()){C.iadd(yp);D.isub(xp)}C.iushrn(1);D.iushrn(1)}}if(x.cmp(y)>=0){x.isub(y);A.isub(C);B.isub(D)}else{y.isub(x);C.isub(A);D.isub(B)}}return{a:C,b:D,gcd:y.iushln(g)}};BN.prototype._invmp=function _invmp(p){assert(p.negative===0);assert(!p.isZero());var a=this;var b=p.clone();if(a.negative!==0){a=a.umod(p)}else{a=a.clone()}var x1=new BN(1);var x2=new BN(0);var delta=b.clone();while(a.cmpn(1)>0&&b.cmpn(1)>0){for(var i=0,im=1;(a.words[0]&im)===0&&i<26;++i,im<<=1);if(i>0){a.iushrn(i);while(i-- >0){if(x1.isOdd()){x1.iadd(delta)}x1.iushrn(1)}}for(var j=0,jm=1;(b.words[0]&jm)===0&&j<26;++j,jm<<=1);if(j>0){b.iushrn(j);while(j-- >0){if(x2.isOdd()){x2.iadd(delta)}x2.iushrn(1)}}if(a.cmp(b)>=0){a.isub(b);x1.isub(x2)}else{b.isub(a);x2.isub(x1)}}var res;if(a.cmpn(1)===0){res=x1}else{res=x2}if(res.cmpn(0)<0){res.iadd(p)}return res};BN.prototype.gcd=function gcd(num){if(this.isZero())return num.abs();if(num.isZero())return this.abs();var a=this.clone();var b=num.clone();a.negative=0;b.negative=0;for(var shift=0;a.isEven()&&b.isEven();shift++){a.iushrn(1);b.iushrn(1)}do{while(a.isEven()){a.iushrn(1)}while(b.isEven()){b.iushrn(1)}var r=a.cmp(b);if(r<0){var t=a;a=b;b=t}else if(r===0||b.cmpn(1)===0){break}a.isub(b)}while(true);return b.iushln(shift)};BN.prototype.invm=function invm(num){return this.egcd(num).a.umod(num)};BN.prototype.isEven=function isEven(){return(this.words[0]&1)===0};BN.prototype.isOdd=function isOdd(){return(this.words[0]&1)===1};BN.prototype.andln=function andln(num){return this.words[0]&num};BN.prototype.bincn=function bincn(bit){assert(typeof bit==="number");var r=bit%26;var s=(bit-r)/26;var q=1<<r;if(this.length<=s){this._expand(s+1);this.words[s]|=q;return this}var carry=q;for(var i=s;carry!==0&&i<this.length;i++){var w=this.words[i]|0;w+=carry;carry=w>>>26;w&=67108863;this.words[i]=w}if(carry!==0){this.words[i]=carry;this.length++}return this};BN.prototype.isZero=function isZero(){return this.length===1&&this.words[0]===0};BN.prototype.cmpn=function cmpn(num){var negative=num<0;if(this.negative!==0&&!negative)return-1;if(this.negative===0&&negative)return 1;this.strip();var res;if(this.length>1){res=1}else{if(negative){num=-num}assert(num<=67108863,"Number is too big");var w=this.words[0]|0;res=w===num?0:w<num?-1:1}if(this.negative!==0)return-res|0;return res};BN.prototype.cmp=function cmp(num){if(this.negative!==0&&num.negative===0)return-1;if(this.negative===0&&num.negative!==0)return 1;var res=this.ucmp(num);if(this.negative!==0)return-res|0;return res};BN.prototype.ucmp=function ucmp(num){if(this.length>num.length)return 1;if(this.length<num.length)return-1;var res=0;for(var i=this.length-1;i>=0;i--){var a=this.words[i]|0;var b=num.words[i]|0;if(a===b)continue;if(a<b){res=-1}else if(a>b){res=1}break}return res};BN.prototype.gtn=function gtn(num){return this.cmpn(num)===1};BN.prototype.gt=function gt(num){return this.cmp(num)===1};BN.prototype.gten=function gten(num){return this.cmpn(num)>=0};BN.prototype.gte=function gte(num){return this.cmp(num)>=0};BN.prototype.ltn=function ltn(num){return this.cmpn(num)===-1};BN.prototype.lt=function lt(num){return this.cmp(num)===-1};BN.prototype.lten=function lten(num){return this.cmpn(num)<=0};BN.prototype.lte=function lte(num){return this.cmp(num)<=0};BN.prototype.eqn=function eqn(num){return this.cmpn(num)===0};BN.prototype.eq=function eq(num){return this.cmp(num)===0};BN.red=function red(num){return new Red(num)};BN.prototype.toRed=function toRed(ctx){assert(!this.red,"Already a number in reduction context");assert(this.negative===0,"red works only with positives");return ctx.convertTo(this)._forceRed(ctx)};BN.prototype.fromRed=function fromRed(){assert(this.red,"fromRed works only with numbers in reduction context");return this.red.convertFrom(this)};BN.prototype._forceRed=function _forceRed(ctx){this.red=ctx;return this};BN.prototype.forceRed=function forceRed(ctx){assert(!this.red,"Already a number in reduction context");return this._forceRed(ctx)};BN.prototype.redAdd=function redAdd(num){assert(this.red,"redAdd works only with red numbers");return this.red.add(this,num)};BN.prototype.redIAdd=function redIAdd(num){assert(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,num)};BN.prototype.redSub=function redSub(num){assert(this.red,"redSub works only with red numbers");return this.red.sub(this,num)};BN.prototype.redISub=function redISub(num){assert(this.red,"redISub works only with red numbers");return this.red.isub(this,num)};BN.prototype.redShl=function redShl(num){assert(this.red,"redShl works only with red numbers");return this.red.shl(this,num)};BN.prototype.redMul=function redMul(num){assert(this.red,"redMul works only with red numbers");this.red._verify2(this,num);return this.red.mul(this,num)};BN.prototype.redIMul=function redIMul(num){assert(this.red,"redMul works only with red numbers");this.red._verify2(this,num);return this.red.imul(this,num)};BN.prototype.redSqr=function redSqr(){assert(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};BN.prototype.redISqr=function redISqr(){assert(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};BN.prototype.redSqrt=function redSqrt(){assert(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};BN.prototype.redInvm=function redInvm(){assert(this.red,"redInvm works only with red numbers");this.red._verify1(this);return this.red.invm(this)};BN.prototype.redNeg=function redNeg(){assert(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};BN.prototype.redPow=function redPow(num){assert(this.red&&!num.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,num)};var primes={k256:null,p224:null,p192:null,p25519:null};function MPrime(name,p){this.name=name;this.p=new BN(p,16);this.n=this.p.bitLength();this.k=new BN(1).iushln(this.n).isub(this.p);this.tmp=this._tmp()}MPrime.prototype._tmp=function _tmp(){var tmp=new BN(null);tmp.words=new Array(Math.ceil(this.n/13));return tmp};MPrime.prototype.ireduce=function ireduce(num){var r=num;var rlen;do{this.split(r,this.tmp);r=this.imulK(r);r=r.iadd(this.tmp);rlen=r.bitLength()}while(rlen>this.n);var cmp=rlen<this.n?-1:r.ucmp(this.p);if(cmp===0){r.words[0]=0;r.length=1}else if(cmp>0){r.isub(this.p)}else{if(r.strip!==undefined){r.strip()}else{r._strip()}}return r};MPrime.prototype.split=function split(input,out){input.iushrn(this.n,0,out)};MPrime.prototype.imulK=function imulK(num){return num.imul(this.k)};function K256(){MPrime.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}inherits(K256,MPrime);K256.prototype.split=function split(input,output){var mask=4194303;var outLen=Math.min(input.length,9);for(var i=0;i<outLen;i++){output.words[i]=input.words[i]}output.length=outLen;if(input.length<=9){input.words[0]=0;input.length=1;return}var prev=input.words[9];output.words[output.length++]=prev&mask;for(i=10;i<input.length;i++){var next=input.words[i]|0;input.words[i-10]=(next&mask)<<4|prev>>>22;prev=next}prev>>>=22;input.words[i-10]=prev;if(prev===0&&input.length>10){input.length-=10}else{input.length-=9}};K256.prototype.imulK=function imulK(num){num.words[num.length]=0;num.words[num.length+1]=0;num.length+=2;var lo=0;for(var i=0;i<num.length;i++){var w=num.words[i]|0;lo+=w*977;num.words[i]=lo&67108863;lo=w*64+(lo/67108864|0)}if(num.words[num.length-1]===0){num.length--;if(num.words[num.length-1]===0){num.length--}}return num};function P224(){MPrime.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}inherits(P224,MPrime);function P192(){MPrime.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}inherits(P192,MPrime);function P25519(){MPrime.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}inherits(P25519,MPrime);P25519.prototype.imulK=function imulK(num){var carry=0;for(var i=0;i<num.length;i++){var hi=(num.words[i]|0)*19+carry;var lo=hi&67108863;hi>>>=26;num.words[i]=lo;carry=hi}if(carry!==0){num.words[num.length++]=carry}return num};BN._prime=function prime(name){if(primes[name])return primes[name];var prime;if(name==="k256"){prime=new K256}else if(name==="p224"){prime=new P224}else if(name==="p192"){prime=new P192}else if(name==="p25519"){prime=new P25519}else{throw new Error("Unknown prime "+name)}primes[name]=prime;return prime};function Red(m){if(typeof m==="string"){var prime=BN._prime(m);this.m=prime.p;this.prime=prime}else{assert(m.gtn(1),"modulus must be greater than 1");this.m=m;this.prime=null}}Red.prototype._verify1=function _verify1(a){assert(a.negative===0,"red works only with positives");assert(a.red,"red works only with red numbers")};Red.prototype._verify2=function _verify2(a,b){assert((a.negative|b.negative)===0,"red works only with positives");assert(a.red&&a.red===b.red,"red works only with red numbers")};Red.prototype.imod=function imod(a){if(this.prime)return this.prime.ireduce(a)._forceRed(this);return a.umod(this.m)._forceRed(this)};Red.prototype.neg=function neg(a){if(a.isZero()){return a.clone()}return this.m.sub(a)._forceRed(this)};Red.prototype.add=function add(a,b){this._verify2(a,b);var res=a.add(b);if(res.cmp(this.m)>=0){res.isub(this.m)}return res._forceRed(this)};Red.prototype.iadd=function iadd(a,b){this._verify2(a,b);var res=a.iadd(b);if(res.cmp(this.m)>=0){res.isub(this.m)}return res};Red.prototype.sub=function sub(a,b){this._verify2(a,b);var res=a.sub(b);if(res.cmpn(0)<0){res.iadd(this.m)}return res._forceRed(this)};Red.prototype.isub=function isub(a,b){this._verify2(a,b);var res=a.isub(b);if(res.cmpn(0)<0){res.iadd(this.m)}return res};Red.prototype.shl=function shl(a,num){this._verify1(a);return this.imod(a.ushln(num))};Red.prototype.imul=function imul(a,b){this._verify2(a,b);return this.imod(a.imul(b))};Red.prototype.mul=function mul(a,b){this._verify2(a,b);return this.imod(a.mul(b))};Red.prototype.isqr=function isqr(a){return this.imul(a,a.clone())};Red.prototype.sqr=function sqr(a){return this.mul(a,a)};Red.prototype.sqrt=function sqrt(a){if(a.isZero())return a.clone();var mod3=this.m.andln(3);assert(mod3%2===1);if(mod3===3){var pow=this.m.add(new BN(1)).iushrn(2);return this.pow(a,pow)}var q=this.m.subn(1);var s=0;while(!q.isZero()&&q.andln(1)===0){s++;q.iushrn(1)}assert(!q.isZero());var one=new BN(1).toRed(this);var nOne=one.redNeg();var lpow=this.m.subn(1).iushrn(1);var z=this.m.bitLength();z=new BN(2*z*z).toRed(this);while(this.pow(z,lpow).cmp(nOne)!==0){z.redIAdd(nOne)}var c=this.pow(z,q);var r=this.pow(a,q.addn(1).iushrn(1));var t=this.pow(a,q);var m=s;while(t.cmp(one)!==0){var tmp=t;for(var i=0;tmp.cmp(one)!==0;i++){tmp=tmp.redSqr()}assert(i<m);var b=this.pow(c,new BN(1).iushln(m-i-1));r=r.redMul(b);c=b.redSqr();t=t.redMul(c);m=i}return r};Red.prototype.invm=function invm(a){var inv=a._invmp(this.m);if(inv.negative!==0){inv.negative=0;return this.imod(inv).redNeg()}else{return this.imod(inv)}};Red.prototype.pow=function pow(a,num){if(num.isZero())return new BN(1).toRed(this);if(num.cmpn(1)===0)return a.clone();var windowSize=4;var wnd=new Array(1<<windowSize);wnd[0]=new BN(1).toRed(this);wnd[1]=a;for(var i=2;i<wnd.length;i++){wnd[i]=this.mul(wnd[i-1],a)}var res=wnd[0];var current=0;var currentLen=0;var start=num.bitLength()%26;if(start===0){start=26}for(i=num.length-1;i>=0;i--){var word=num.words[i];for(var j=start-1;j>=0;j--){var bit=word>>j&1;if(res!==wnd[0]){res=this.sqr(res)}if(bit===0&¤t===0){currentLen=0;continue}current<<=1;current|=bit;currentLen++;if(currentLen!==windowSize&&(i!==0||j!==0))continue;res=this.mul(res,wnd[current]);currentLen=0;current=0}start=26}return res};Red.prototype.convertTo=function convertTo(num){var r=num.umod(this.m);return r===num?r.clone():r};Red.prototype.convertFrom=function convertFrom(num){var res=num.clone();res.red=null;return res};BN.mont=function mont(num){return new Mont(num)};function Mont(m){Red.call(this,m);this.shift=this.m.bitLength();if(this.shift%26!==0){this.shift+=26-this.shift%26}this.r=new BN(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)}inherits(Mont,Red);Mont.prototype.convertTo=function convertTo(num){return this.imod(num.ushln(this.shift))};Mont.prototype.convertFrom=function convertFrom(num){var r=this.imod(num.mul(this.rinv));r.red=null;return r};Mont.prototype.imul=function imul(a,b){if(a.isZero()||b.isZero()){a.words[0]=0;a.length=1;return a}var t=a.imul(b);var c=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);var u=t.isub(c).iushrn(this.shift);var res=u;if(u.cmp(this.m)>=0){res=u.isub(this.m)}else if(u.cmpn(0)<0){res=u.iadd(this.m)}return res._forceRed(this)};Mont.prototype.mul=function mul(a,b){if(a.isZero()||b.isZero())return new BN(0)._forceRed(this);var t=a.mul(b);var c=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);var u=t.isub(c).iushrn(this.shift);var res=u;if(u.cmp(this.m)>=0){res=u.isub(this.m)}else if(u.cmpn(0)<0){res=u.iadd(this.m)}return res._forceRed(this)};Mont.prototype.invm=function invm(a){var res=this.imod(a._invmp(this.m).mul(this.r2));return res._forceRed(this)}})(typeof module==="undefined"||module,this)},{buffer:83}],81:[function(require,module,exports){var r;module.exports=function rand(len){if(!r)r=new Rand(null);return r.generate(len)};function Rand(rand){this.rand=rand}module.exports.Rand=Rand;Rand.prototype.generate=function generate(len){return this._rand(len)};Rand.prototype._rand=function _rand(n){if(this.rand.getBytes)return this.rand.getBytes(n);var res=new Uint8Array(n);for(var i=0;i<res.length;i++)res[i]=this.rand.getByte();return res};if(typeof self==="object"){if(self.crypto&&self.crypto.getRandomValues){Rand.prototype._rand=function _rand(n){var arr=new Uint8Array(n);self.crypto.getRandomValues(arr);return arr}}else if(self.msCrypto&&self.msCrypto.getRandomValues){Rand.prototype._rand=function _rand(n){var arr=new Uint8Array(n);self.msCrypto.getRandomValues(arr);return arr}}else if(typeof window==="object"){Rand.prototype._rand=function(){throw new Error("Not implemented yet")}}}else{try{var crypto=require("crypto");if(typeof crypto.randomBytes!=="function")throw new Error("Not supported");Rand.prototype._rand=function _rand(n){return crypto.randomBytes(n)}}catch(e){}}},{crypto:83}],82:[function(require,module,exports){(function(process,global){module.exports=process.hrtime||hrtime;var performance=global.performance||{};var performanceNow=performance.now||performance.mozNow||performance.msNow||performance.oNow||performance.webkitNow||function(){return(new Date).getTime()};function hrtime(previousTimestamp){var clocktime=performanceNow.call(performance)*.001;var seconds=Math.floor(clocktime);var nanoseconds=Math.floor(clocktime%1*1e9);if(previousTimestamp){seconds=seconds-previousTimestamp[0];nanoseconds=nanoseconds-previousTimestamp[1];if(nanoseconds<0){seconds--;nanoseconds+=1e9}}return[seconds,nanoseconds]}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{_process:855}],83:[function(require,module,exports){},{}],84:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;function asUInt32Array(buf){if(!Buffer.isBuffer(buf))buf=Buffer.from(buf);var len=buf.length/4|0;var out=new Array(len);for(var i=0;i<len;i++){out[i]=buf.readUInt32BE(i*4)}return out}function scrubVec(v){for(var i=0;i<v.length;v++){v[i]=0}}function cryptBlock(M,keySchedule,SUB_MIX,SBOX,nRounds){var SUB_MIX0=SUB_MIX[0];var SUB_MIX1=SUB_MIX[1];var SUB_MIX2=SUB_MIX[2];var SUB_MIX3=SUB_MIX[3];var s0=M[0]^keySchedule[0];var s1=M[1]^keySchedule[1];var s2=M[2]^keySchedule[2];var s3=M[3]^keySchedule[3];var t0,t1,t2,t3;var ksRow=4;for(var round=1;round<nRounds;round++){t0=SUB_MIX0[s0>>>24]^SUB_MIX1[s1>>>16&255]^SUB_MIX2[s2>>>8&255]^SUB_MIX3[s3&255]^keySchedule[ksRow++];t1=SUB_MIX0[s1>>>24]^SUB_MIX1[s2>>>16&255]^SUB_MIX2[s3>>>8&255]^SUB_MIX3[s0&255]^keySchedule[ksRow++];t2=SUB_MIX0[s2>>>24]^SUB_MIX1[s3>>>16&255]^SUB_MIX2[s0>>>8&255]^SUB_MIX3[s1&255]^keySchedule[ksRow++];t3=SUB_MIX0[s3>>>24]^SUB_MIX1[s0>>>16&255]^SUB_MIX2[s1>>>8&255]^SUB_MIX3[s2&255]^keySchedule[ksRow++];s0=t0;s1=t1;s2=t2;s3=t3}t0=(SBOX[s0>>>24]<<24|SBOX[s1>>>16&255]<<16|SBOX[s2>>>8&255]<<8|SBOX[s3&255])^keySchedule[ksRow++];t1=(SBOX[s1>>>24]<<24|SBOX[s2>>>16&255]<<16|SBOX[s3>>>8&255]<<8|SBOX[s0&255])^keySchedule[ksRow++];t2=(SBOX[s2>>>24]<<24|SBOX[s3>>>16&255]<<16|SBOX[s0>>>8&255]<<8|SBOX[s1&255])^keySchedule[ksRow++];t3=(SBOX[s3>>>24]<<24|SBOX[s0>>>16&255]<<16|SBOX[s1>>>8&255]<<8|SBOX[s2&255])^keySchedule[ksRow++];t0=t0>>>0;t1=t1>>>0;t2=t2>>>0;t3=t3>>>0;return[t0,t1,t2,t3]}var RCON=[0,1,2,4,8,16,32,64,128,27,54];var G=function(){var d=new Array(256);for(var j=0;j<256;j++){if(j<128){d[j]=j<<1}else{d[j]=j<<1^283}}var SBOX=[];var INV_SBOX=[];var SUB_MIX=[[],[],[],[]];var INV_SUB_MIX=[[],[],[],[]];var x=0;var xi=0;for(var i=0;i<256;++i){var sx=xi^xi<<1^xi<<2^xi<<3^xi<<4;sx=sx>>>8^sx&255^99;SBOX[x]=sx;INV_SBOX[sx]=x;var x2=d[x];var x4=d[x2];var x8=d[x4];var t=d[sx]*257^sx*16843008;SUB_MIX[0][x]=t<<24|t>>>8;SUB_MIX[1][x]=t<<16|t>>>16;SUB_MIX[2][x]=t<<8|t>>>24;SUB_MIX[3][x]=t;t=x8*16843009^x4*65537^x2*257^x*16843008;INV_SUB_MIX[0][sx]=t<<24|t>>>8;INV_SUB_MIX[1][sx]=t<<16|t>>>16;INV_SUB_MIX[2][sx]=t<<8|t>>>24;INV_SUB_MIX[3][sx]=t;if(x===0){x=xi=1}else{x=x2^d[d[d[x8^x2]]];xi^=d[d[xi]]}}return{SBOX:SBOX,INV_SBOX:INV_SBOX,SUB_MIX:SUB_MIX,INV_SUB_MIX:INV_SUB_MIX}}();function AES(key){this._key=asUInt32Array(key);this._reset()}AES.blockSize=4*4;AES.keySize=256/8;AES.prototype.blockSize=AES.blockSize;AES.prototype.keySize=AES.keySize;AES.prototype._reset=function(){var keyWords=this._key;var keySize=keyWords.length;var nRounds=keySize+6;var ksRows=(nRounds+1)*4;var keySchedule=[];for(var k=0;k<keySize;k++){keySchedule[k]=keyWords[k]}for(k=keySize;k<ksRows;k++){var t=keySchedule[k-1];if(k%keySize===0){t=t<<8|t>>>24;t=G.SBOX[t>>>24]<<24|G.SBOX[t>>>16&255]<<16|G.SBOX[t>>>8&255]<<8|G.SBOX[t&255];t^=RCON[k/keySize|0]<<24}else if(keySize>6&&k%keySize===4){t=G.SBOX[t>>>24]<<24|G.SBOX[t>>>16&255]<<16|G.SBOX[t>>>8&255]<<8|G.SBOX[t&255]}keySchedule[k]=keySchedule[k-keySize]^t}var invKeySchedule=[];for(var ik=0;ik<ksRows;ik++){var ksR=ksRows-ik;var tt=keySchedule[ksR-(ik%4?0:4)];if(ik<4||ksR<=4){invKeySchedule[ik]=tt}else{invKeySchedule[ik]=G.INV_SUB_MIX[0][G.SBOX[tt>>>24]]^G.INV_SUB_MIX[1][G.SBOX[tt>>>16&255]]^G.INV_SUB_MIX[2][G.SBOX[tt>>>8&255]]^G.INV_SUB_MIX[3][G.SBOX[tt&255]]}}this._nRounds=nRounds;this._keySchedule=keySchedule;this._invKeySchedule=invKeySchedule};AES.prototype.encryptBlockRaw=function(M){M=asUInt32Array(M);return cryptBlock(M,this._keySchedule,G.SUB_MIX,G.SBOX,this._nRounds)};AES.prototype.encryptBlock=function(M){var out=this.encryptBlockRaw(M);var buf=Buffer.allocUnsafe(16);buf.writeUInt32BE(out[0],0);buf.writeUInt32BE(out[1],4);buf.writeUInt32BE(out[2],8);buf.writeUInt32BE(out[3],12);return buf};AES.prototype.decryptBlock=function(M){M=asUInt32Array(M);var m1=M[1];M[1]=M[3];M[3]=m1;var out=cryptBlock(M,this._invKeySchedule,G.INV_SUB_MIX,G.INV_SBOX,this._nRounds);var buf=Buffer.allocUnsafe(16);buf.writeUInt32BE(out[0],0);buf.writeUInt32BE(out[3],4);buf.writeUInt32BE(out[2],8);buf.writeUInt32BE(out[1],12);return buf};AES.prototype.scrub=function(){scrubVec(this._keySchedule);scrubVec(this._invKeySchedule);scrubVec(this._key)};module.exports.AES=AES},{"safe-buffer":907}],85:[function(require,module,exports){var aes=require("./aes");var Buffer=require("safe-buffer").Buffer;var Transform=require("cipher-base");var inherits=require("inherits");var GHASH=require("./ghash");var xor=require("buffer-xor");var incr32=require("./incr32");function xorTest(a,b){var out=0;if(a.length!==b.length)out++;var len=Math.min(a.length,b.length);for(var i=0;i<len;++i){out+=a[i]^b[i]}return out}function calcIv(self,iv,ck){if(iv.length===12){self._finID=Buffer.concat([iv,Buffer.from([0,0,0,1])]);return Buffer.concat([iv,Buffer.from([0,0,0,2])])}var ghash=new GHASH(ck);var len=iv.length;var toPad=len%16;ghash.update(iv);if(toPad){toPad=16-toPad;ghash.update(Buffer.alloc(toPad,0))}ghash.update(Buffer.alloc(8,0));var ivBits=len*8;var tail=Buffer.alloc(8);tail.writeUIntBE(ivBits,0,8);ghash.update(tail);self._finID=ghash.state;var out=Buffer.from(self._finID);incr32(out);return out}function StreamCipher(mode,key,iv,decrypt){Transform.call(this);var h=Buffer.alloc(4,0);this._cipher=new aes.AES(key);var ck=this._cipher.encryptBlock(h);this._ghash=new GHASH(ck);iv=calcIv(this,iv,ck);this._prev=Buffer.from(iv);this._cache=Buffer.allocUnsafe(0);this._secCache=Buffer.allocUnsafe(0);this._decrypt=decrypt;this._alen=0;this._len=0;this._mode=mode;this._authTag=null;this._called=false}inherits(StreamCipher,Transform);StreamCipher.prototype._update=function(chunk){if(!this._called&&this._alen){var rump=16-this._alen%16;if(rump<16){rump=Buffer.alloc(rump,0);this._ghash.update(rump)}}this._called=true;var out=this._mode.encrypt(this,chunk);if(this._decrypt){this._ghash.update(chunk)}else{this._ghash.update(out)}this._len+=chunk.length;return out};StreamCipher.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var tag=xor(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&xorTest(tag,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=tag;this._cipher.scrub()};StreamCipher.prototype.getAuthTag=function getAuthTag(){if(this._decrypt||!Buffer.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag};StreamCipher.prototype.setAuthTag=function setAuthTag(tag){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=tag};StreamCipher.prototype.setAAD=function setAAD(buf){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(buf);this._alen+=buf.length};module.exports=StreamCipher},{"./aes":84,"./ghash":89,"./incr32":90,"buffer-xor":131,"cipher-base":135,inherits:326,"safe-buffer":907}],86:[function(require,module,exports){var ciphers=require("./encrypter");var deciphers=require("./decrypter");var modes=require("./modes/list.json");function getCiphers(){return Object.keys(modes)}exports.createCipher=exports.Cipher=ciphers.createCipher;exports.createCipheriv=exports.Cipheriv=ciphers.createCipheriv;exports.createDecipher=exports.Decipher=deciphers.createDecipher;exports.createDecipheriv=exports.Decipheriv=deciphers.createDecipheriv;exports.listCiphers=exports.getCiphers=getCiphers},{"./decrypter":87,"./encrypter":88,"./modes/list.json":98}],87:[function(require,module,exports){var AuthCipher=require("./authCipher");var Buffer=require("safe-buffer").Buffer;var MODES=require("./modes");var StreamCipher=require("./streamCipher");var Transform=require("cipher-base");var aes=require("./aes");var ebtk=require("evp_bytestokey");var inherits=require("inherits");function Decipher(mode,key,iv){Transform.call(this);this._cache=new Splitter;this._last=void 0;this._cipher=new aes.AES(key);this._prev=Buffer.from(iv);this._mode=mode;this._autopadding=true}inherits(Decipher,Transform);Decipher.prototype._update=function(data){this._cache.add(data);var chunk;var thing;var out=[];while(chunk=this._cache.get(this._autopadding)){thing=this._mode.decrypt(this,chunk);out.push(thing)}return Buffer.concat(out)};Decipher.prototype._final=function(){var chunk=this._cache.flush();if(this._autopadding){return unpad(this._mode.decrypt(this,chunk))}else if(chunk){throw new Error("data not multiple of block length")}};Decipher.prototype.setAutoPadding=function(setTo){this._autopadding=!!setTo;return this};function Splitter(){this.cache=Buffer.allocUnsafe(0)}Splitter.prototype.add=function(data){this.cache=Buffer.concat([this.cache,data])};Splitter.prototype.get=function(autoPadding){var out;if(autoPadding){if(this.cache.length>16){out=this.cache.slice(0,16);this.cache=this.cache.slice(16);return out}}else{if(this.cache.length>=16){out=this.cache.slice(0,16);this.cache=this.cache.slice(16);return out}}return null};Splitter.prototype.flush=function(){if(this.cache.length)return this.cache};function unpad(last){var padded=last[15];if(padded<1||padded>16){throw new Error("unable to decrypt data")}var i=-1;while(++i<padded){if(last[i+(16-padded)]!==padded){throw new Error("unable to decrypt data")}}if(padded===16)return;return last.slice(0,16-padded)}function createDecipheriv(suite,password,iv){var config=MODES[suite.toLowerCase()];if(!config)throw new TypeError("invalid suite type");if(typeof iv==="string")iv=Buffer.from(iv);if(config.mode!=="GCM"&&iv.length!==config.iv)throw new TypeError("invalid iv length "+iv.length);if(typeof password==="string")password=Buffer.from(password);if(password.length!==config.key/8)throw new TypeError("invalid key length "+password.length);if(config.type==="stream"){return new StreamCipher(config.module,password,iv,true)}else if(config.type==="auth"){return new AuthCipher(config.module,password,iv,true)}return new Decipher(config.module,password,iv)}function createDecipher(suite,password){var config=MODES[suite.toLowerCase()];if(!config)throw new TypeError("invalid suite type");var keys=ebtk(password,false,config.key,config.iv);return createDecipheriv(suite,keys.key,keys.iv)}exports.createDecipher=createDecipher;exports.createDecipheriv=createDecipheriv},{"./aes":84,"./authCipher":85,"./modes":97,"./streamCipher":100,"cipher-base":135,evp_bytestokey:242,inherits:326,"safe-buffer":907}],88:[function(require,module,exports){var MODES=require("./modes");var AuthCipher=require("./authCipher");var Buffer=require("safe-buffer").Buffer;var StreamCipher=require("./streamCipher");var Transform=require("cipher-base");var aes=require("./aes");var ebtk=require("evp_bytestokey");var inherits=require("inherits");function Cipher(mode,key,iv){Transform.call(this);this._cache=new Splitter;this._cipher=new aes.AES(key);this._prev=Buffer.from(iv);this._mode=mode;this._autopadding=true}inherits(Cipher,Transform);Cipher.prototype._update=function(data){this._cache.add(data);var chunk;var thing;var out=[];while(chunk=this._cache.get()){thing=this._mode.encrypt(this,chunk);out.push(thing)}return Buffer.concat(out)};var PADDING=Buffer.alloc(16,16);Cipher.prototype._final=function(){var chunk=this._cache.flush();if(this._autopadding){chunk=this._mode.encrypt(this,chunk);this._cipher.scrub();return chunk}if(!chunk.equals(PADDING)){this._cipher.scrub();throw new Error("data not multiple of block length")}};Cipher.prototype.setAutoPadding=function(setTo){this._autopadding=!!setTo;return this};function Splitter(){this.cache=Buffer.allocUnsafe(0)}Splitter.prototype.add=function(data){this.cache=Buffer.concat([this.cache,data])};Splitter.prototype.get=function(){if(this.cache.length>15){var out=this.cache.slice(0,16);this.cache=this.cache.slice(16);return out}return null};Splitter.prototype.flush=function(){var len=16-this.cache.length;var padBuff=Buffer.allocUnsafe(len);var i=-1;while(++i<len){padBuff.writeUInt8(len,i)}return Buffer.concat([this.cache,padBuff])};function createCipheriv(suite,password,iv){var config=MODES[suite.toLowerCase()];if(!config)throw new TypeError("invalid suite type");if(typeof password==="string")password=Buffer.from(password);if(password.length!==config.key/8)throw new TypeError("invalid key length "+password.length);if(typeof iv==="string")iv=Buffer.from(iv);if(config.mode!=="GCM"&&iv.length!==config.iv)throw new TypeError("invalid iv length "+iv.length);if(config.type==="stream"){return new StreamCipher(config.module,password,iv)}else if(config.type==="auth"){return new AuthCipher(config.module,password,iv)}return new Cipher(config.module,password,iv)}function createCipher(suite,password){var config=MODES[suite.toLowerCase()];if(!config)throw new TypeError("invalid suite type");var keys=ebtk(password,false,config.key,config.iv);return createCipheriv(suite,keys.key,keys.iv)}exports.createCipheriv=createCipheriv;exports.createCipher=createCipher},{"./aes":84,"./authCipher":85,"./modes":97,"./streamCipher":100,"cipher-base":135,evp_bytestokey:242,inherits:326,"safe-buffer":907}],89:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;var ZEROES=Buffer.alloc(16,0);function toArray(buf){return[buf.readUInt32BE(0),buf.readUInt32BE(4),buf.readUInt32BE(8),buf.readUInt32BE(12)]}function fromArray(out){var buf=Buffer.allocUnsafe(16);buf.writeUInt32BE(out[0]>>>0,0);buf.writeUInt32BE(out[1]>>>0,4);buf.writeUInt32BE(out[2]>>>0,8);buf.writeUInt32BE(out[3]>>>0,12);return buf}function GHASH(key){this.h=key;this.state=Buffer.alloc(16,0);this.cache=Buffer.allocUnsafe(0)}GHASH.prototype.ghash=function(block){var i=-1;while(++i<block.length){this.state[i]^=block[i]}this._multiply()};GHASH.prototype._multiply=function(){var Vi=toArray(this.h);var Zi=[0,0,0,0];var j,xi,lsbVi;var i=-1;while(++i<128){xi=(this.state[~~(i/8)]&1<<7-i%8)!==0;if(xi){Zi[0]^=Vi[0];Zi[1]^=Vi[1];Zi[2]^=Vi[2];Zi[3]^=Vi[3]}lsbVi=(Vi[3]&1)!==0;for(j=3;j>0;j--){Vi[j]=Vi[j]>>>1|(Vi[j-1]&1)<<31}Vi[0]=Vi[0]>>>1;if(lsbVi){Vi[0]=Vi[0]^225<<24}}this.state=fromArray(Zi)};GHASH.prototype.update=function(buf){this.cache=Buffer.concat([this.cache,buf]);var chunk;while(this.cache.length>=16){chunk=this.cache.slice(0,16);this.cache=this.cache.slice(16);this.ghash(chunk)}};GHASH.prototype.final=function(abl,bl){if(this.cache.length){this.ghash(Buffer.concat([this.cache,ZEROES],16))}this.ghash(fromArray([0,abl,0,bl]));return this.state};module.exports=GHASH},{"safe-buffer":907}],90:[function(require,module,exports){function incr32(iv){var len=iv.length;var item;while(len--){item=iv.readUInt8(len);if(item===255){iv.writeUInt8(0,len)}else{item++;iv.writeUInt8(item,len);break}}}module.exports=incr32},{}],91:[function(require,module,exports){var xor=require("buffer-xor");exports.encrypt=function(self,block){var data=xor(block,self._prev);self._prev=self._cipher.encryptBlock(data);return self._prev};exports.decrypt=function(self,block){var pad=self._prev;self._prev=block;var out=self._cipher.decryptBlock(block);return xor(out,pad)}},{"buffer-xor":131}],92:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;var xor=require("buffer-xor");function encryptStart(self,data,decrypt){var len=data.length;var out=xor(data,self._cache);self._cache=self._cache.slice(len);self._prev=Buffer.concat([self._prev,decrypt?data:out]);return out}exports.encrypt=function(self,data,decrypt){var out=Buffer.allocUnsafe(0);var len;while(data.length){if(self._cache.length===0){self._cache=self._cipher.encryptBlock(self._prev);self._prev=Buffer.allocUnsafe(0)}if(self._cache.length<=data.length){len=self._cache.length;out=Buffer.concat([out,encryptStart(self,data.slice(0,len),decrypt)]);data=data.slice(len)}else{out=Buffer.concat([out,encryptStart(self,data,decrypt)]);break}}return out}},{"buffer-xor":131,"safe-buffer":907}],93:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;function encryptByte(self,byteParam,decrypt){var pad;var i=-1;var len=8;var out=0;var bit,value;while(++i<len){pad=self._cipher.encryptBlock(self._prev);bit=byteParam&1<<7-i?128:0;value=pad[0]^bit;out+=(value&128)>>i%8;self._prev=shiftIn(self._prev,decrypt?bit:value)}return out}function shiftIn(buffer,value){var len=buffer.length;var i=-1;var out=Buffer.allocUnsafe(buffer.length);buffer=Buffer.concat([buffer,Buffer.from([value])]);while(++i<len){out[i]=buffer[i]<<1|buffer[i+1]>>7}return out}exports.encrypt=function(self,chunk,decrypt){var len=chunk.length;var out=Buffer.allocUnsafe(len);var i=-1;while(++i<len){out[i]=encryptByte(self,chunk[i],decrypt)}return out}},{"safe-buffer":907}],94:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;function encryptByte(self,byteParam,decrypt){var pad=self._cipher.encryptBlock(self._prev);var out=pad[0]^byteParam;self._prev=Buffer.concat([self._prev.slice(1),Buffer.from([decrypt?byteParam:out])]);return out}exports.encrypt=function(self,chunk,decrypt){var len=chunk.length;var out=Buffer.allocUnsafe(len);var i=-1;while(++i<len){out[i]=encryptByte(self,chunk[i],decrypt)}return out}},{"safe-buffer":907}],95:[function(require,module,exports){var xor=require("buffer-xor");var Buffer=require("safe-buffer").Buffer;var incr32=require("../incr32");function getBlock(self){var out=self._cipher.encryptBlockRaw(self._prev);incr32(self._prev);return out}var blockSize=16;exports.encrypt=function(self,chunk){var chunkNum=Math.ceil(chunk.length/blockSize);var start=self._cache.length;self._cache=Buffer.concat([self._cache,Buffer.allocUnsafe(chunkNum*blockSize)]);for(var i=0;i<chunkNum;i++){var out=getBlock(self);var offset=start+i*blockSize;self._cache.writeUInt32BE(out[0],offset+0);self._cache.writeUInt32BE(out[1],offset+4);self._cache.writeUInt32BE(out[2],offset+8);self._cache.writeUInt32BE(out[3],offset+12)}var pad=self._cache.slice(0,chunk.length);self._cache=self._cache.slice(chunk.length);return xor(chunk,pad)}},{"../incr32":90,"buffer-xor":131,"safe-buffer":907}],96:[function(require,module,exports){exports.encrypt=function(self,block){return self._cipher.encryptBlock(block)};exports.decrypt=function(self,block){return self._cipher.decryptBlock(block)}},{}],97:[function(require,module,exports){var modeModules={ECB:require("./ecb"),CBC:require("./cbc"),CFB:require("./cfb"),CFB8:require("./cfb8"),CFB1:require("./cfb1"),OFB:require("./ofb"),CTR:require("./ctr"),GCM:require("./ctr")};var modes=require("./list.json");for(var key in modes){modes[key].module=modeModules[modes[key].mode]}module.exports=modes},{"./cbc":91,"./cfb":92,"./cfb1":93,"./cfb8":94,"./ctr":95,"./ecb":96,"./list.json":98,"./ofb":99}],98:[function(require,module,exports){module.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"}}},{}],99:[function(require,module,exports){(function(Buffer){var xor=require("buffer-xor");function getBlock(self){self._prev=self._cipher.encryptBlock(self._prev);return self._prev}exports.encrypt=function(self,chunk){while(self._cache.length<chunk.length){self._cache=Buffer.concat([self._cache,getBlock(self)])}var pad=self._cache.slice(0,chunk.length);self._cache=self._cache.slice(chunk.length);return xor(chunk,pad)}}).call(this,require("buffer").Buffer)},{buffer:132,"buffer-xor":131}],100:[function(require,module,exports){var aes=require("./aes");var Buffer=require("safe-buffer").Buffer;var Transform=require("cipher-base");var inherits=require("inherits");function StreamCipher(mode,key,iv,decrypt){Transform.call(this);this._cipher=new aes.AES(key);this._prev=Buffer.from(iv);this._cache=Buffer.allocUnsafe(0);this._secCache=Buffer.allocUnsafe(0);this._decrypt=decrypt;this._mode=mode}inherits(StreamCipher,Transform);StreamCipher.prototype._update=function(chunk){return this._mode.encrypt(this,chunk,this._decrypt)};StreamCipher.prototype._final=function(){this._cipher.scrub()};module.exports=StreamCipher},{"./aes":84,"cipher-base":135,inherits:326,"safe-buffer":907}],101:[function(require,module,exports){var DES=require("browserify-des");var aes=require("browserify-aes/browser");var aesModes=require("browserify-aes/modes");var desModes=require("browserify-des/modes");var ebtk=require("evp_bytestokey");function createCipher(suite,password){suite=suite.toLowerCase();var keyLen,ivLen;if(aesModes[suite]){keyLen=aesModes[suite].key;ivLen=aesModes[suite].iv}else if(desModes[suite]){keyLen=desModes[suite].key*8;ivLen=desModes[suite].iv}else{throw new TypeError("invalid suite type")}var keys=ebtk(password,false,keyLen,ivLen);return createCipheriv(suite,keys.key,keys.iv)}function createDecipher(suite,password){suite=suite.toLowerCase();var keyLen,ivLen;if(aesModes[suite]){keyLen=aesModes[suite].key;ivLen=aesModes[suite].iv}else if(desModes[suite]){keyLen=desModes[suite].key*8;ivLen=desModes[suite].iv}else{throw new TypeError("invalid suite type")}var keys=ebtk(password,false,keyLen,ivLen);return createDecipheriv(suite,keys.key,keys.iv)}function createCipheriv(suite,key,iv){suite=suite.toLowerCase();if(aesModes[suite])return aes.createCipheriv(suite,key,iv);if(desModes[suite])return new DES({key:key,iv:iv,mode:suite});throw new TypeError("invalid suite type")}function createDecipheriv(suite,key,iv){suite=suite.toLowerCase();if(aesModes[suite])return aes.createDecipheriv(suite,key,iv);if(desModes[suite])return new DES({key:key,iv:iv,mode:suite,decrypt:true});throw new TypeError("invalid suite type")}function getCiphers(){return Object.keys(desModes).concat(aes.getCiphers())}exports.createCipher=exports.Cipher=createCipher;exports.createCipheriv=exports.Cipheriv=createCipheriv;exports.createDecipher=exports.Decipher=createDecipher;exports.createDecipheriv=exports.Decipheriv=createDecipheriv;exports.listCiphers=exports.getCiphers=getCiphers},{"browserify-aes/browser":86,"browserify-aes/modes":97,"browserify-des":102,"browserify-des/modes":103,evp_bytestokey:242}],102:[function(require,module,exports){var CipherBase=require("cipher-base");var des=require("des.js");var inherits=require("inherits");var Buffer=require("safe-buffer").Buffer;var modes={"des-ede3-cbc":des.CBC.instantiate(des.EDE),"des-ede3":des.EDE,"des-ede-cbc":des.CBC.instantiate(des.EDE),"des-ede":des.EDE,"des-cbc":des.CBC.instantiate(des.DES),"des-ecb":des.DES};modes.des=modes["des-cbc"];modes.des3=modes["des-ede3-cbc"];module.exports=DES;inherits(DES,CipherBase);function DES(opts){CipherBase.call(this);var modeName=opts.mode.toLowerCase();var mode=modes[modeName];var type;if(opts.decrypt){type="decrypt"}else{type="encrypt"}var key=opts.key;if(!Buffer.isBuffer(key)){key=Buffer.from(key)}if(modeName==="des-ede"||modeName==="des-ede-cbc"){key=Buffer.concat([key,key.slice(0,8)])}var iv=opts.iv;if(!Buffer.isBuffer(iv)){iv=Buffer.from(iv)}this._des=mode.create({key:key,iv:iv,type:type})}DES.prototype._update=function(data){return Buffer.from(this._des.update(data))};DES.prototype._final=function(){return Buffer.from(this._des.final())}},{"cipher-base":135,"des.js":199,inherits:326,"safe-buffer":907}],103:[function(require,module,exports){exports["des-ecb"]={key:8,iv:0};exports["des-cbc"]=exports.des={key:8,iv:8};exports["des-ede3-cbc"]=exports.des3={key:24,iv:8};exports["des-ede3"]={key:24,iv:0};exports["des-ede-cbc"]={key:16,iv:8};exports["des-ede"]={key:16,iv:0}},{}],104:[function(require,module,exports){(function(Buffer){var bn=require("bn.js");var randomBytes=require("randombytes");module.exports=crt;function blind(priv){var r=getr(priv);var blinder=r.toRed(bn.mont(priv.modulus)).redPow(new bn(priv.publicExponent)).fromRed();return{blinder:blinder,unblinder:r.invm(priv.modulus)}}function crt(msg,priv){var blinds=blind(priv);var len=priv.modulus.byteLength();var mod=bn.mont(priv.modulus);var blinded=new bn(msg).mul(blinds.blinder).umod(priv.modulus);var c1=blinded.toRed(bn.mont(priv.prime1));var c2=blinded.toRed(bn.mont(priv.prime2));var qinv=priv.coefficient;var p=priv.prime1;var q=priv.prime2;var m1=c1.redPow(priv.exponent1);var m2=c2.redPow(priv.exponent2);m1=m1.fromRed();m2=m2.fromRed();var h=m1.isub(m2).imul(qinv).umod(p);h.imul(q);m2.iadd(h);return new Buffer(m2.imul(blinds.unblinder).umod(priv.modulus).toArray(false,len))}crt.getr=getr;function getr(priv){var len=priv.modulus.byteLength();var r=new bn(randomBytes(len));while(r.cmp(priv.modulus)>=0||!r.umod(priv.prime1)||!r.umod(priv.prime2)){r=new bn(randomBytes(len))}return r}}).call(this,require("buffer").Buffer)},{"bn.js":80,buffer:132,randombytes:872}],105:[function(require,module,exports){module.exports=require("./browser/algorithms.json")},{"./browser/algorithms.json":106}],106:[function(require,module,exports){module.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"}}},{}],107:[function(require,module,exports){module.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"}},{}],108:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;var createHash=require("create-hash");var stream=require("readable-stream");var inherits=require("inherits");var sign=require("./sign");var verify=require("./verify");var algorithms=require("./algorithms.json");Object.keys(algorithms).forEach((function(key){algorithms[key].id=Buffer.from(algorithms[key].id,"hex");algorithms[key.toLowerCase()]=algorithms[key]}));function Sign(algorithm){stream.Writable.call(this);var data=algorithms[algorithm];if(!data)throw new Error("Unknown message digest");this._hashType=data.hash;this._hash=createHash(data.hash);this._tag=data.id;this._signType=data.sign}inherits(Sign,stream.Writable);Sign.prototype._write=function _write(data,_,done){this._hash.update(data);done()};Sign.prototype.update=function update(data,enc){if(typeof data==="string")data=Buffer.from(data,enc);this._hash.update(data);return this};Sign.prototype.sign=function signMethod(key,enc){this.end();var hash=this._hash.digest();var sig=sign(hash,key,this._hashType,this._signType,this._tag);return enc?sig.toString(enc):sig};function Verify(algorithm){stream.Writable.call(this);var data=algorithms[algorithm];if(!data)throw new Error("Unknown message digest");this._hash=createHash(data.hash);this._tag=data.id;this._signType=data.sign}inherits(Verify,stream.Writable);Verify.prototype._write=function _write(data,_,done){this._hash.update(data);done()};Verify.prototype.update=function update(data,enc){if(typeof data==="string")data=Buffer.from(data,enc);this._hash.update(data);return this};Verify.prototype.verify=function verifyMethod(key,sig,enc){if(typeof sig==="string")sig=Buffer.from(sig,enc);this.end();var hash=this._hash.digest();return verify(sig,hash,key,this._signType,this._tag)};function createSign(algorithm){return new Sign(algorithm)}function createVerify(algorithm){return new Verify(algorithm)}module.exports={Sign:createSign,Verify:createVerify,createSign:createSign,createVerify:createVerify}},{"./algorithms.json":106,"./sign":109,"./verify":110,"create-hash":139,inherits:326,"readable-stream":126,"safe-buffer":907}],109:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;var createHmac=require("create-hmac");var crt=require("browserify-rsa");var EC=require("elliptic").ec;var BN=require("bn.js");var parseKeys=require("parse-asn1");var curves=require("./curves.json");function sign(hash,key,hashType,signType,tag){var priv=parseKeys(key);if(priv.curve){if(signType!=="ecdsa"&&signType!=="ecdsa/rsa")throw new Error("wrong private key type");return ecSign(hash,priv)}else if(priv.type==="dsa"){if(signType!=="dsa")throw new Error("wrong private key type");return dsaSign(hash,priv,hashType)}else{if(signType!=="rsa"&&signType!=="ecdsa/rsa")throw new Error("wrong private key type")}hash=Buffer.concat([tag,hash]);var len=priv.modulus.byteLength();var pad=[0,1];while(hash.length+pad.length+1<len)pad.push(255);pad.push(0);var i=-1;while(++i<hash.length)pad.push(hash[i]);var out=crt(pad,priv);return out}function ecSign(hash,priv){var curveId=curves[priv.curve.join(".")];if(!curveId)throw new Error("unknown curve "+priv.curve.join("."));var curve=new EC(curveId);var key=curve.keyFromPrivate(priv.privateKey);var out=key.sign(hash);return Buffer.from(out.toDER())}function dsaSign(hash,priv,algo){var x=priv.params.priv_key;var p=priv.params.p;var q=priv.params.q;var g=priv.params.g;var r=new BN(0);var k;var H=bits2int(hash,q).mod(q);var s=false;var kv=getKey(x,q,hash,algo);while(s===false){k=makeKey(q,kv,algo);r=makeR(g,k,p,q);s=k.invm(q).imul(H.add(x.mul(r))).mod(q);if(s.cmpn(0)===0){s=false;r=new BN(0)}}return toDER(r,s)}function toDER(r,s){r=r.toArray();s=s.toArray();if(r[0]&128)r=[0].concat(r);if(s[0]&128)s=[0].concat(s);var total=r.length+s.length+4;var res=[48,total,2,r.length];res=res.concat(r,[2,s.length],s);return Buffer.from(res)}function getKey(x,q,hash,algo){x=Buffer.from(x.toArray());if(x.length<q.byteLength()){var zeros=Buffer.alloc(q.byteLength()-x.length);x=Buffer.concat([zeros,x])}var hlen=hash.length;var hbits=bits2octets(hash,q);var v=Buffer.alloc(hlen);v.fill(1);var k=Buffer.alloc(hlen);k=createHmac(algo,k).update(v).update(Buffer.from([0])).update(x).update(hbits).digest();v=createHmac(algo,k).update(v).digest();k=createHmac(algo,k).update(v).update(Buffer.from([1])).update(x).update(hbits).digest();v=createHmac(algo,k).update(v).digest();return{k:k,v:v}}function bits2int(obits,q){var bits=new BN(obits);var shift=(obits.length<<3)-q.bitLength();if(shift>0)bits.ishrn(shift);return bits}function bits2octets(bits,q){bits=bits2int(bits,q);bits=bits.mod(q);var out=Buffer.from(bits.toArray());if(out.length<q.byteLength()){var zeros=Buffer.alloc(q.byteLength()-out.length);out=Buffer.concat([zeros,out])}return out}function makeKey(q,kv,algo){var t;var k;do{t=Buffer.alloc(0);while(t.length*8<q.bitLength()){kv.v=createHmac(algo,kv.k).update(kv.v).digest();t=Buffer.concat([t,kv.v])}k=bits2int(t,q);kv.k=createHmac(algo,kv.k).update(kv.v).update(Buffer.from([0])).digest();kv.v=createHmac(algo,kv.k).update(kv.v).digest()}while(k.cmp(q)!==-1);return k}function makeR(g,k,p,q){return g.toRed(BN.mont(p)).redPow(k).fromRed().mod(q)}module.exports=sign;module.exports.getKey=getKey;module.exports.makeKey=makeKey},{"./curves.json":107,"bn.js":111,"browserify-rsa":104,"create-hmac":141,elliptic:217,"parse-asn1":821,"safe-buffer":907}],110:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;var BN=require("bn.js");var EC=require("elliptic").ec;var parseKeys=require("parse-asn1");var curves=require("./curves.json");function verify(sig,hash,key,signType,tag){var pub=parseKeys(key);if(pub.type==="ec"){if(signType!=="ecdsa"&&signType!=="ecdsa/rsa")throw new Error("wrong public key type");return ecVerify(sig,hash,pub)}else if(pub.type==="dsa"){if(signType!=="dsa")throw new Error("wrong public key type");return dsaVerify(sig,hash,pub)}else{if(signType!=="rsa"&&signType!=="ecdsa/rsa")throw new Error("wrong public key type")}hash=Buffer.concat([tag,hash]);var len=pub.modulus.byteLength();var pad=[1];var padNum=0;while(hash.length+pad.length+2<len){pad.push(255);padNum++}pad.push(0);var i=-1;while(++i<hash.length){pad.push(hash[i])}pad=Buffer.from(pad);var red=BN.mont(pub.modulus);sig=new BN(sig).toRed(red);sig=sig.redPow(new BN(pub.publicExponent));sig=Buffer.from(sig.fromRed().toArray());var out=padNum<8?1:0;len=Math.min(sig.length,pad.length);if(sig.length!==pad.length)out=1;i=-1;while(++i<len)out|=sig[i]^pad[i];return out===0}function ecVerify(sig,hash,pub){var curveId=curves[pub.data.algorithm.curve.join(".")];if(!curveId)throw new Error("unknown curve "+pub.data.algorithm.curve.join("."));var curve=new EC(curveId);var pubkey=pub.data.subjectPrivateKey.data;return curve.verify(hash,sig,pubkey)}function dsaVerify(sig,hash,pub){var p=pub.data.p;var q=pub.data.q;var g=pub.data.g;var y=pub.data.pub_key;var unpacked=parseKeys.signature.decode(sig,"der");var s=unpacked.s;var r=unpacked.r;checkValue(s,q);checkValue(r,q);var montp=BN.mont(p);var w=s.invm(q);var v=g.toRed(montp).redPow(new BN(hash).mul(w).mod(q)).fromRed().mul(y.toRed(montp).redPow(r.mul(w).mod(q)).fromRed()).mod(p).mod(q);return v.cmp(r)===0}function checkValue(b,q){if(b.cmpn(0)<=0)throw new Error("invalid sig");if(b.cmp(q)>=q)throw new Error("invalid sig")}module.exports=verify},{"./curves.json":107,"bn.js":111,elliptic:217,"parse-asn1":821,"safe-buffer":907}],111:[function(require,module,exports){(function(module,exports){"use strict";function assert(val,msg){if(!val)throw new Error(msg||"Assertion failed")}function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}function BN(number,base,endian){if(BN.isBN(number)){return number}this.negative=0;this.words=null;this.length=0;this.red=null;if(number!==null){if(base==="le"||base==="be"){endian=base;base=10}this._init(number||0,base||10,endian||"be")}}if(typeof module==="object"){module.exports=BN}else{exports.BN=BN}BN.BN=BN;BN.wordSize=26;var Buffer;try{Buffer=require("buffer").Buffer}catch(e){}BN.isBN=function isBN(num){if(num instanceof BN){return true}return num!==null&&typeof num==="object"&&num.constructor.wordSize===BN.wordSize&&Array.isArray(num.words)};BN.max=function max(left,right){if(left.cmp(right)>0)return left;return right};BN.min=function min(left,right){if(left.cmp(right)<0)return left;return right};BN.prototype._init=function init(number,base,endian){if(typeof number==="number"){return this._initNumber(number,base,endian)}if(typeof number==="object"){return this._initArray(number,base,endian)}if(base==="hex"){base=16}assert(base===(base|0)&&base>=2&&base<=36);number=number.toString().replace(/\s+/g,"");var start=0;if(number[0]==="-"){start++}if(base===16){this._parseHex(number,start)}else{this._parseBase(number,base,start)}if(number[0]==="-"){this.negative=1}this._strip();if(endian!=="le")return;this._initArray(this.toArray(),base,endian)};BN.prototype._initNumber=function _initNumber(number,base,endian){if(number<0){this.negative=1;number=-number}if(number<67108864){this.words=[number&67108863];this.length=1}else if(number<4503599627370496){this.words=[number&67108863,number/67108864&67108863];this.length=2}else{assert(number<9007199254740992);this.words=[number&67108863,number/67108864&67108863,1];this.length=3}if(endian!=="le")return;this._initArray(this.toArray(),base,endian)};BN.prototype._initArray=function _initArray(number,base,endian){assert(typeof number.length==="number");if(number.length<=0){this.words=[0];this.length=1;return this}this.length=Math.ceil(number.length/3);this.words=new Array(this.length);for(var i=0;i<this.length;i++){this.words[i]=0}var j,w;var off=0;if(endian==="be"){for(i=number.length-1,j=0;i>=0;i-=3){w=number[i]|number[i-1]<<8|number[i-2]<<16;this.words[j]|=w<<off&67108863;this.words[j+1]=w>>>26-off&67108863;off+=24;if(off>=26){off-=26;j++}}}else if(endian==="le"){for(i=0,j=0;i<number.length;i+=3){w=number[i]|number[i+1]<<8|number[i+2]<<16;this.words[j]|=w<<off&67108863;this.words[j+1]=w>>>26-off&67108863;off+=24;if(off>=26){off-=26;j++}}}return this._strip()};function parseHex(str,start,end){var r=0;var len=Math.min(str.length,end);var z=0;for(var i=start;i<len;i++){var c=str.charCodeAt(i)-48;r<<=4;var b;if(c>=49&&c<=54){b=c-49+10}else if(c>=17&&c<=22){b=c-17+10}else{b=c}r|=b;z|=b}assert(!(z&240),"Invalid character in "+str);return r}BN.prototype._parseHex=function _parseHex(number,start){this.length=Math.ceil((number.length-start)/6);this.words=new Array(this.length);for(var i=0;i<this.length;i++){this.words[i]=0}var j,w;var off=0;for(i=number.length-6,j=0;i>=start;i-=6){w=parseHex(number,i,i+6);this.words[j]|=w<<off&67108863;this.words[j+1]|=w>>>26-off&4194303;off+=24;if(off>=26){off-=26;j++}}if(i+6!==start){w=parseHex(number,start,i+6);this.words[j]|=w<<off&67108863;this.words[j+1]|=w>>>26-off&4194303}this._strip()};function parseBase(str,start,end,mul){var r=0;var b=0;var len=Math.min(str.length,end);for(var i=start;i<len;i++){var c=str.charCodeAt(i)-48;r*=mul;if(c>=49){b=c-49+10}else if(c>=17){b=c-17+10}else{b=c}assert(c>=0&&b<mul,"Invalid character");r+=b}return r}BN.prototype._parseBase=function _parseBase(number,base,start){this.words=[0];this.length=1;for(var limbLen=0,limbPow=1;limbPow<=67108863;limbPow*=base){limbLen++}limbLen--;limbPow=limbPow/base|0;var total=number.length-start;var mod=total%limbLen;var end=Math.min(total,total-mod)+start;var word=0;for(var i=start;i<end;i+=limbLen){word=parseBase(number,i,i+limbLen,base);this.imuln(limbPow);if(this.words[0]+word<67108864){this.words[0]+=word}else{this._iaddn(word)}}if(mod!==0){var pow=1;word=parseBase(number,i,number.length,base);for(i=0;i<mod;i++){pow*=base}this.imuln(pow);if(this.words[0]+word<67108864){this.words[0]+=word}else{this._iaddn(word)}}};BN.prototype.copy=function copy(dest){dest.words=new Array(this.length);for(var i=0;i<this.length;i++){dest.words[i]=this.words[i]}dest.length=this.length;dest.negative=this.negative;dest.red=this.red};function move(dest,src){dest.words=src.words;dest.length=src.length;dest.negative=src.negative;dest.red=src.red}BN.prototype._move=function _move(dest){move(dest,this)};BN.prototype.clone=function clone(){var r=new BN(null);this.copy(r);return r};BN.prototype._expand=function _expand(size){while(this.length<size){this.words[this.length++]=0}return this};BN.prototype._strip=function strip(){while(this.length>1&&this.words[this.length-1]===0){this.length--}return this._normSign()};BN.prototype._normSign=function _normSign(){if(this.length===1&&this.words[0]===0){this.negative=0}return this};if(typeof Symbol!=="undefined"&&typeof Symbol.for==="function"){BN.prototype[Symbol.for("nodejs.util.inspect.custom")]=inspect}else{BN.prototype.inspect=inspect}function inspect(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var zeros=["","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"];var groupSizes=[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];var groupBases=[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];BN.prototype.toString=function toString(base,padding){base=base||10;padding=padding|0||1;var out;if(base===16||base==="hex"){out="";var off=0;var carry=0;for(var i=0;i<this.length;i++){var w=this.words[i];var word=((w<<off|carry)&16777215).toString(16);carry=w>>>24-off&16777215;if(carry!==0||i!==this.length-1){out=zeros[6-word.length]+word+out}else{out=word+out}off+=2;if(off>=26){off-=26;i--}}if(carry!==0){out=carry.toString(16)+out}while(out.length%padding!==0){out="0"+out}if(this.negative!==0){out="-"+out}return out}if(base===(base|0)&&base>=2&&base<=36){var groupSize=groupSizes[base];var groupBase=groupBases[base];out="";var c=this.clone();c.negative=0;while(!c.isZero()){var r=c.modrn(groupBase).toString(base);c=c.idivn(groupBase);if(!c.isZero()){out=zeros[groupSize-r.length]+r+out}else{out=r+out}}if(this.isZero()){out="0"+out}while(out.length%padding!==0){out="0"+out}if(this.negative!==0){out="-"+out}return out}assert(false,"Base should be between 2 and 36")};BN.prototype.toNumber=function toNumber(){var ret=this.words[0];if(this.length===2){ret+=this.words[1]*67108864}else if(this.length===3&&this.words[2]===1){ret+=4503599627370496+this.words[1]*67108864}else if(this.length>2){assert(false,"Number can only safely store up to 53 bits")}return this.negative!==0?-ret:ret};BN.prototype.toJSON=function toJSON(){return this.toString(16,2)};if(Buffer){BN.prototype.toBuffer=function toBuffer(endian,length){return this.toArrayLike(Buffer,endian,length)}}BN.prototype.toArray=function toArray(endian,length){return this.toArrayLike(Array,endian,length)};var allocate=function allocate(ArrayType,size){if(ArrayType.allocUnsafe){return ArrayType.allocUnsafe(size)}return new ArrayType(size)};BN.prototype.toArrayLike=function toArrayLike(ArrayType,endian,length){this._strip();var byteLength=this.byteLength();var reqLength=length||Math.max(1,byteLength);assert(byteLength<=reqLength,"byte array longer than desired length");assert(reqLength>0,"Requested array length <= 0");var res=allocate(ArrayType,reqLength);var postfix=endian==="le"?"LE":"BE";this["_toArrayLike"+postfix](res,byteLength);return res};BN.prototype._toArrayLikeLE=function _toArrayLikeLE(res,byteLength){var position=0;var carry=0;for(var i=0,shift=0;i<this.length;i++){var word=this.words[i]<<shift|carry;res[position++]=word&255;if(position<res.length){res[position++]=word>>8&255}if(position<res.length){res[position++]=word>>16&255}if(shift===6){if(position<res.length){res[position++]=word>>24&255}carry=0;shift=0}else{carry=word>>>24;shift+=2}}if(position<res.length){res[position++]=carry;while(position<res.length){res[position++]=0}}};BN.prototype._toArrayLikeBE=function _toArrayLikeBE(res,byteLength){var position=res.length-1;var carry=0;for(var i=0,shift=0;i<this.length;i++){var word=this.words[i]<<shift|carry;res[position--]=word&255;if(position>=0){res[position--]=word>>8&255}if(position>=0){res[position--]=word>>16&255}if(shift===6){if(position>=0){res[position--]=word>>24&255}carry=0;shift=0}else{carry=word>>>24;shift+=2}}if(position>=0){res[position--]=carry;while(position>=0){res[position--]=0}}};if(Math.clz32){BN.prototype._countBits=function _countBits(w){return 32-Math.clz32(w)}}else{BN.prototype._countBits=function _countBits(w){var t=w;var r=0;if(t>=4096){r+=13;t>>>=13}if(t>=64){r+=7;t>>>=7}if(t>=8){r+=4;t>>>=4}if(t>=2){r+=2;t>>>=2}return r+t}}BN.prototype._zeroBits=function _zeroBits(w){if(w===0)return 26;var t=w;var r=0;if((t&8191)===0){r+=13;t>>>=13}if((t&127)===0){r+=7;t>>>=7}if((t&15)===0){r+=4;t>>>=4}if((t&3)===0){r+=2;t>>>=2}if((t&1)===0){r++}return r};BN.prototype.bitLength=function bitLength(){var w=this.words[this.length-1];var hi=this._countBits(w);return(this.length-1)*26+hi};function toBitArray(num){var w=new Array(num.bitLength());for(var bit=0;bit<w.length;bit++){var off=bit/26|0;var wbit=bit%26;w[bit]=num.words[off]>>>wbit&1}return w}BN.prototype.zeroBits=function zeroBits(){if(this.isZero())return 0;var r=0;for(var i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);r+=b;if(b!==26)break}return r};BN.prototype.byteLength=function byteLength(){return Math.ceil(this.bitLength()/8)};BN.prototype.toTwos=function toTwos(width){if(this.negative!==0){return this.abs().inotn(width).iaddn(1)}return this.clone()};BN.prototype.fromTwos=function fromTwos(width){if(this.testn(width-1)){return this.notn(width).iaddn(1).ineg()}return this.clone()};BN.prototype.isNeg=function isNeg(){return this.negative!==0};BN.prototype.neg=function neg(){return this.clone().ineg()};BN.prototype.ineg=function ineg(){if(!this.isZero()){this.negative^=1}return this};BN.prototype.iuor=function iuor(num){while(this.length<num.length){this.words[this.length++]=0}for(var i=0;i<num.length;i++){this.words[i]=this.words[i]|num.words[i]}return this._strip()};BN.prototype.ior=function ior(num){assert((this.negative|num.negative)===0);return this.iuor(num)};BN.prototype.or=function or(num){if(this.length>num.length)return this.clone().ior(num);return num.clone().ior(this)};BN.prototype.uor=function uor(num){if(this.length>num.length)return this.clone().iuor(num);return num.clone().iuor(this)};BN.prototype.iuand=function iuand(num){var b;if(this.length>num.length){b=num}else{b=this}for(var i=0;i<b.length;i++){this.words[i]=this.words[i]&num.words[i]}this.length=b.length;return this._strip()};BN.prototype.iand=function iand(num){assert((this.negative|num.negative)===0);return this.iuand(num)};BN.prototype.and=function and(num){if(this.length>num.length)return this.clone().iand(num);return num.clone().iand(this)};BN.prototype.uand=function uand(num){if(this.length>num.length)return this.clone().iuand(num);return num.clone().iuand(this)};BN.prototype.iuxor=function iuxor(num){var a;var b;if(this.length>num.length){a=this;b=num}else{a=num;b=this}for(var i=0;i<b.length;i++){this.words[i]=a.words[i]^b.words[i]}if(this!==a){for(;i<a.length;i++){this.words[i]=a.words[i]}}this.length=a.length;return this._strip()};BN.prototype.ixor=function ixor(num){assert((this.negative|num.negative)===0);return this.iuxor(num)};BN.prototype.xor=function xor(num){if(this.length>num.length)return this.clone().ixor(num);return num.clone().ixor(this)};BN.prototype.uxor=function uxor(num){if(this.length>num.length)return this.clone().iuxor(num);return num.clone().iuxor(this)};BN.prototype.inotn=function inotn(width){assert(typeof width==="number"&&width>=0);var bytesNeeded=Math.ceil(width/26)|0;var bitsLeft=width%26;this._expand(bytesNeeded);if(bitsLeft>0){bytesNeeded--}for(var i=0;i<bytesNeeded;i++){this.words[i]=~this.words[i]&67108863}if(bitsLeft>0){this.words[i]=~this.words[i]&67108863>>26-bitsLeft}return this._strip()};BN.prototype.notn=function notn(width){return this.clone().inotn(width)};BN.prototype.setn=function setn(bit,val){assert(typeof bit==="number"&&bit>=0);var off=bit/26|0;var wbit=bit%26;this._expand(off+1);if(val){this.words[off]=this.words[off]|1<<wbit}else{this.words[off]=this.words[off]&~(1<<wbit)}return this._strip()};BN.prototype.iadd=function iadd(num){var r;if(this.negative!==0&&num.negative===0){this.negative=0;r=this.isub(num);this.negative^=1;return this._normSign()}else if(this.negative===0&&num.negative!==0){num.negative=0;r=this.isub(num);num.negative=1;return r._normSign()}var a,b;if(this.length>num.length){a=this;b=num}else{a=num;b=this}var carry=0;for(var i=0;i<b.length;i++){r=(a.words[i]|0)+(b.words[i]|0)+carry;this.words[i]=r&67108863;carry=r>>>26}for(;carry!==0&&i<a.length;i++){r=(a.words[i]|0)+carry;this.words[i]=r&67108863;carry=r>>>26}this.length=a.length;if(carry!==0){this.words[this.length]=carry;this.length++}else if(a!==this){for(;i<a.length;i++){this.words[i]=a.words[i]}}return this};BN.prototype.add=function add(num){var res;if(num.negative!==0&&this.negative===0){num.negative=0;res=this.sub(num);num.negative^=1;return res}else if(num.negative===0&&this.negative!==0){this.negative=0;res=num.sub(this);this.negative=1;return res}if(this.length>num.length)return this.clone().iadd(num);return num.clone().iadd(this)};BN.prototype.isub=function isub(num){if(num.negative!==0){num.negative=0;var r=this.iadd(num);num.negative=1;return r._normSign()}else if(this.negative!==0){this.negative=0;this.iadd(num);this.negative=1;return this._normSign()}var cmp=this.cmp(num);if(cmp===0){this.negative=0;this.length=1;this.words[0]=0;return this}var a,b;if(cmp>0){a=this;b=num}else{a=num;b=this}var carry=0;for(var i=0;i<b.length;i++){r=(a.words[i]|0)-(b.words[i]|0)+carry;carry=r>>26;this.words[i]=r&67108863}for(;carry!==0&&i<a.length;i++){r=(a.words[i]|0)+carry;carry=r>>26;this.words[i]=r&67108863}if(carry===0&&i<a.length&&a!==this){for(;i<a.length;i++){this.words[i]=a.words[i]}}this.length=Math.max(this.length,i);if(a!==this){this.negative=1}return this._strip()};BN.prototype.sub=function sub(num){return this.clone().isub(num)};function smallMulTo(self,num,out){out.negative=num.negative^self.negative;var len=self.length+num.length|0;out.length=len;len=len-1|0;var a=self.words[0]|0;var b=num.words[0]|0;var r=a*b;var lo=r&67108863;var carry=r/67108864|0;out.words[0]=lo;for(var k=1;k<len;k++){var ncarry=carry>>>26;var rword=carry&67108863;var maxJ=Math.min(k,num.length-1);for(var j=Math.max(0,k-self.length+1);j<=maxJ;j++){var i=k-j|0;a=self.words[i]|0;b=num.words[j]|0;r=a*b+rword;ncarry+=r/67108864|0;rword=r&67108863}out.words[k]=rword|0;carry=ncarry|0}if(carry!==0){out.words[k]=carry|0}else{out.length--}return out._strip()}var comb10MulTo=function comb10MulTo(self,num,out){var a=self.words;var b=num.words;var o=out.words;var c=0;var lo;var mid;var hi;var a0=a[0]|0;var al0=a0&8191;var ah0=a0>>>13;var a1=a[1]|0;var al1=a1&8191;var ah1=a1>>>13;var a2=a[2]|0;var al2=a2&8191;var ah2=a2>>>13;var a3=a[3]|0;var al3=a3&8191;var ah3=a3>>>13;var a4=a[4]|0;var al4=a4&8191;var ah4=a4>>>13;var a5=a[5]|0;var al5=a5&8191;var ah5=a5>>>13;var a6=a[6]|0;var al6=a6&8191;var ah6=a6>>>13;var a7=a[7]|0;var al7=a7&8191;var ah7=a7>>>13;var a8=a[8]|0;var al8=a8&8191;var ah8=a8>>>13;var a9=a[9]|0;var al9=a9&8191;var ah9=a9>>>13;var b0=b[0]|0;var bl0=b0&8191;var bh0=b0>>>13;var b1=b[1]|0;var bl1=b1&8191;var bh1=b1>>>13;var b2=b[2]|0;var bl2=b2&8191;var bh2=b2>>>13;var b3=b[3]|0;var bl3=b3&8191;var bh3=b3>>>13;var b4=b[4]|0;var bl4=b4&8191;var bh4=b4>>>13;var b5=b[5]|0;var bl5=b5&8191;var bh5=b5>>>13;var b6=b[6]|0;var bl6=b6&8191;var bh6=b6>>>13;var b7=b[7]|0;var bl7=b7&8191;var bh7=b7>>>13;var b8=b[8]|0;var bl8=b8&8191;var bh8=b8>>>13;var b9=b[9]|0;var bl9=b9&8191;var bh9=b9>>>13;out.negative=self.negative^num.negative;out.length=19;lo=Math.imul(al0,bl0);mid=Math.imul(al0,bh0);mid=mid+Math.imul(ah0,bl0)|0;hi=Math.imul(ah0,bh0);var w0=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w0>>>26)|0;w0&=67108863;lo=Math.imul(al1,bl0);mid=Math.imul(al1,bh0);mid=mid+Math.imul(ah1,bl0)|0;hi=Math.imul(ah1,bh0);lo=lo+Math.imul(al0,bl1)|0;mid=mid+Math.imul(al0,bh1)|0;mid=mid+Math.imul(ah0,bl1)|0;hi=hi+Math.imul(ah0,bh1)|0;var w1=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w1>>>26)|0;w1&=67108863;lo=Math.imul(al2,bl0);mid=Math.imul(al2,bh0);mid=mid+Math.imul(ah2,bl0)|0;hi=Math.imul(ah2,bh0);lo=lo+Math.imul(al1,bl1)|0;mid=mid+Math.imul(al1,bh1)|0;mid=mid+Math.imul(ah1,bl1)|0;hi=hi+Math.imul(ah1,bh1)|0;lo=lo+Math.imul(al0,bl2)|0;mid=mid+Math.imul(al0,bh2)|0;mid=mid+Math.imul(ah0,bl2)|0;hi=hi+Math.imul(ah0,bh2)|0;var w2=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w2>>>26)|0;w2&=67108863;lo=Math.imul(al3,bl0);mid=Math.imul(al3,bh0);mid=mid+Math.imul(ah3,bl0)|0;hi=Math.imul(ah3,bh0);lo=lo+Math.imul(al2,bl1)|0;mid=mid+Math.imul(al2,bh1)|0;mid=mid+Math.imul(ah2,bl1)|0;hi=hi+Math.imul(ah2,bh1)|0;lo=lo+Math.imul(al1,bl2)|0;mid=mid+Math.imul(al1,bh2)|0;mid=mid+Math.imul(ah1,bl2)|0;hi=hi+Math.imul(ah1,bh2)|0;lo=lo+Math.imul(al0,bl3)|0;mid=mid+Math.imul(al0,bh3)|0;mid=mid+Math.imul(ah0,bl3)|0;hi=hi+Math.imul(ah0,bh3)|0;var w3=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w3>>>26)|0;w3&=67108863;lo=Math.imul(al4,bl0);mid=Math.imul(al4,bh0);mid=mid+Math.imul(ah4,bl0)|0;hi=Math.imul(ah4,bh0);lo=lo+Math.imul(al3,bl1)|0;mid=mid+Math.imul(al3,bh1)|0;mid=mid+Math.imul(ah3,bl1)|0;hi=hi+Math.imul(ah3,bh1)|0;lo=lo+Math.imul(al2,bl2)|0;mid=mid+Math.imul(al2,bh2)|0;mid=mid+Math.imul(ah2,bl2)|0;hi=hi+Math.imul(ah2,bh2)|0;lo=lo+Math.imul(al1,bl3)|0;mid=mid+Math.imul(al1,bh3)|0;mid=mid+Math.imul(ah1,bl3)|0;hi=hi+Math.imul(ah1,bh3)|0;lo=lo+Math.imul(al0,bl4)|0;mid=mid+Math.imul(al0,bh4)|0;mid=mid+Math.imul(ah0,bl4)|0;hi=hi+Math.imul(ah0,bh4)|0;var w4=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w4>>>26)|0;w4&=67108863;lo=Math.imul(al5,bl0);mid=Math.imul(al5,bh0);mid=mid+Math.imul(ah5,bl0)|0;hi=Math.imul(ah5,bh0);lo=lo+Math.imul(al4,bl1)|0;mid=mid+Math.imul(al4,bh1)|0;mid=mid+Math.imul(ah4,bl1)|0;hi=hi+Math.imul(ah4,bh1)|0;lo=lo+Math.imul(al3,bl2)|0;mid=mid+Math.imul(al3,bh2)|0;mid=mid+Math.imul(ah3,bl2)|0;hi=hi+Math.imul(ah3,bh2)|0;lo=lo+Math.imul(al2,bl3)|0;mid=mid+Math.imul(al2,bh3)|0;mid=mid+Math.imul(ah2,bl3)|0;hi=hi+Math.imul(ah2,bh3)|0;lo=lo+Math.imul(al1,bl4)|0;mid=mid+Math.imul(al1,bh4)|0;mid=mid+Math.imul(ah1,bl4)|0;hi=hi+Math.imul(ah1,bh4)|0;lo=lo+Math.imul(al0,bl5)|0;mid=mid+Math.imul(al0,bh5)|0;mid=mid+Math.imul(ah0,bl5)|0;hi=hi+Math.imul(ah0,bh5)|0;var w5=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w5>>>26)|0;w5&=67108863;lo=Math.imul(al6,bl0);mid=Math.imul(al6,bh0);mid=mid+Math.imul(ah6,bl0)|0;hi=Math.imul(ah6,bh0);lo=lo+Math.imul(al5,bl1)|0;mid=mid+Math.imul(al5,bh1)|0;mid=mid+Math.imul(ah5,bl1)|0;hi=hi+Math.imul(ah5,bh1)|0;lo=lo+Math.imul(al4,bl2)|0;mid=mid+Math.imul(al4,bh2)|0;mid=mid+Math.imul(ah4,bl2)|0;hi=hi+Math.imul(ah4,bh2)|0;lo=lo+Math.imul(al3,bl3)|0;mid=mid+Math.imul(al3,bh3)|0;mid=mid+Math.imul(ah3,bl3)|0;hi=hi+Math.imul(ah3,bh3)|0;lo=lo+Math.imul(al2,bl4)|0;mid=mid+Math.imul(al2,bh4)|0;mid=mid+Math.imul(ah2,bl4)|0;hi=hi+Math.imul(ah2,bh4)|0;lo=lo+Math.imul(al1,bl5)|0;mid=mid+Math.imul(al1,bh5)|0;mid=mid+Math.imul(ah1,bl5)|0;hi=hi+Math.imul(ah1,bh5)|0;lo=lo+Math.imul(al0,bl6)|0;mid=mid+Math.imul(al0,bh6)|0;mid=mid+Math.imul(ah0,bl6)|0;hi=hi+Math.imul(ah0,bh6)|0;var w6=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w6>>>26)|0;w6&=67108863;lo=Math.imul(al7,bl0);mid=Math.imul(al7,bh0);mid=mid+Math.imul(ah7,bl0)|0;hi=Math.imul(ah7,bh0);lo=lo+Math.imul(al6,bl1)|0;mid=mid+Math.imul(al6,bh1)|0;mid=mid+Math.imul(ah6,bl1)|0;hi=hi+Math.imul(ah6,bh1)|0;lo=lo+Math.imul(al5,bl2)|0;mid=mid+Math.imul(al5,bh2)|0;mid=mid+Math.imul(ah5,bl2)|0;hi=hi+Math.imul(ah5,bh2)|0;lo=lo+Math.imul(al4,bl3)|0;mid=mid+Math.imul(al4,bh3)|0;mid=mid+Math.imul(ah4,bl3)|0;hi=hi+Math.imul(ah4,bh3)|0;lo=lo+Math.imul(al3,bl4)|0;mid=mid+Math.imul(al3,bh4)|0;mid=mid+Math.imul(ah3,bl4)|0;hi=hi+Math.imul(ah3,bh4)|0;lo=lo+Math.imul(al2,bl5)|0;mid=mid+Math.imul(al2,bh5)|0;mid=mid+Math.imul(ah2,bl5)|0;hi=hi+Math.imul(ah2,bh5)|0;lo=lo+Math.imul(al1,bl6)|0;mid=mid+Math.imul(al1,bh6)|0;mid=mid+Math.imul(ah1,bl6)|0;hi=hi+Math.imul(ah1,bh6)|0;lo=lo+Math.imul(al0,bl7)|0;mid=mid+Math.imul(al0,bh7)|0;mid=mid+Math.imul(ah0,bl7)|0;hi=hi+Math.imul(ah0,bh7)|0;var w7=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w7>>>26)|0;w7&=67108863;lo=Math.imul(al8,bl0);mid=Math.imul(al8,bh0);mid=mid+Math.imul(ah8,bl0)|0;hi=Math.imul(ah8,bh0);lo=lo+Math.imul(al7,bl1)|0;mid=mid+Math.imul(al7,bh1)|0;mid=mid+Math.imul(ah7,bl1)|0;hi=hi+Math.imul(ah7,bh1)|0;lo=lo+Math.imul(al6,bl2)|0;mid=mid+Math.imul(al6,bh2)|0;mid=mid+Math.imul(ah6,bl2)|0;hi=hi+Math.imul(ah6,bh2)|0;lo=lo+Math.imul(al5,bl3)|0;mid=mid+Math.imul(al5,bh3)|0;mid=mid+Math.imul(ah5,bl3)|0;hi=hi+Math.imul(ah5,bh3)|0;lo=lo+Math.imul(al4,bl4)|0;mid=mid+Math.imul(al4,bh4)|0;mid=mid+Math.imul(ah4,bl4)|0;hi=hi+Math.imul(ah4,bh4)|0;lo=lo+Math.imul(al3,bl5)|0;mid=mid+Math.imul(al3,bh5)|0;mid=mid+Math.imul(ah3,bl5)|0;hi=hi+Math.imul(ah3,bh5)|0;lo=lo+Math.imul(al2,bl6)|0;mid=mid+Math.imul(al2,bh6)|0;mid=mid+Math.imul(ah2,bl6)|0;hi=hi+Math.imul(ah2,bh6)|0;lo=lo+Math.imul(al1,bl7)|0;mid=mid+Math.imul(al1,bh7)|0;mid=mid+Math.imul(ah1,bl7)|0;hi=hi+Math.imul(ah1,bh7)|0;lo=lo+Math.imul(al0,bl8)|0;mid=mid+Math.imul(al0,bh8)|0;mid=mid+Math.imul(ah0,bl8)|0;hi=hi+Math.imul(ah0,bh8)|0;var w8=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w8>>>26)|0;w8&=67108863;lo=Math.imul(al9,bl0);mid=Math.imul(al9,bh0);mid=mid+Math.imul(ah9,bl0)|0;hi=Math.imul(ah9,bh0);lo=lo+Math.imul(al8,bl1)|0;mid=mid+Math.imul(al8,bh1)|0;mid=mid+Math.imul(ah8,bl1)|0;hi=hi+Math.imul(ah8,bh1)|0;lo=lo+Math.imul(al7,bl2)|0;mid=mid+Math.imul(al7,bh2)|0;mid=mid+Math.imul(ah7,bl2)|0;hi=hi+Math.imul(ah7,bh2)|0;lo=lo+Math.imul(al6,bl3)|0;mid=mid+Math.imul(al6,bh3)|0;mid=mid+Math.imul(ah6,bl3)|0;hi=hi+Math.imul(ah6,bh3)|0;lo=lo+Math.imul(al5,bl4)|0;mid=mid+Math.imul(al5,bh4)|0;mid=mid+Math.imul(ah5,bl4)|0;hi=hi+Math.imul(ah5,bh4)|0;lo=lo+Math.imul(al4,bl5)|0;mid=mid+Math.imul(al4,bh5)|0;mid=mid+Math.imul(ah4,bl5)|0;hi=hi+Math.imul(ah4,bh5)|0;lo=lo+Math.imul(al3,bl6)|0;mid=mid+Math.imul(al3,bh6)|0;mid=mid+Math.imul(ah3,bl6)|0;hi=hi+Math.imul(ah3,bh6)|0;lo=lo+Math.imul(al2,bl7)|0;mid=mid+Math.imul(al2,bh7)|0;mid=mid+Math.imul(ah2,bl7)|0;hi=hi+Math.imul(ah2,bh7)|0;lo=lo+Math.imul(al1,bl8)|0;mid=mid+Math.imul(al1,bh8)|0;mid=mid+Math.imul(ah1,bl8)|0;hi=hi+Math.imul(ah1,bh8)|0;lo=lo+Math.imul(al0,bl9)|0;mid=mid+Math.imul(al0,bh9)|0;mid=mid+Math.imul(ah0,bl9)|0;hi=hi+Math.imul(ah0,bh9)|0;var w9=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w9>>>26)|0;w9&=67108863;lo=Math.imul(al9,bl1);mid=Math.imul(al9,bh1);mid=mid+Math.imul(ah9,bl1)|0;hi=Math.imul(ah9,bh1);lo=lo+Math.imul(al8,bl2)|0;mid=mid+Math.imul(al8,bh2)|0;mid=mid+Math.imul(ah8,bl2)|0;hi=hi+Math.imul(ah8,bh2)|0;lo=lo+Math.imul(al7,bl3)|0;mid=mid+Math.imul(al7,bh3)|0;mid=mid+Math.imul(ah7,bl3)|0;hi=hi+Math.imul(ah7,bh3)|0;lo=lo+Math.imul(al6,bl4)|0;mid=mid+Math.imul(al6,bh4)|0;mid=mid+Math.imul(ah6,bl4)|0;hi=hi+Math.imul(ah6,bh4)|0;lo=lo+Math.imul(al5,bl5)|0;mid=mid+Math.imul(al5,bh5)|0;mid=mid+Math.imul(ah5,bl5)|0;hi=hi+Math.imul(ah5,bh5)|0;lo=lo+Math.imul(al4,bl6)|0;mid=mid+Math.imul(al4,bh6)|0;mid=mid+Math.imul(ah4,bl6)|0;hi=hi+Math.imul(ah4,bh6)|0;lo=lo+Math.imul(al3,bl7)|0;mid=mid+Math.imul(al3,bh7)|0;mid=mid+Math.imul(ah3,bl7)|0;hi=hi+Math.imul(ah3,bh7)|0;lo=lo+Math.imul(al2,bl8)|0;mid=mid+Math.imul(al2,bh8)|0;mid=mid+Math.imul(ah2,bl8)|0;hi=hi+Math.imul(ah2,bh8)|0;lo=lo+Math.imul(al1,bl9)|0;mid=mid+Math.imul(al1,bh9)|0;mid=mid+Math.imul(ah1,bl9)|0;hi=hi+Math.imul(ah1,bh9)|0;var w10=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w10>>>26)|0;w10&=67108863;lo=Math.imul(al9,bl2);mid=Math.imul(al9,bh2);mid=mid+Math.imul(ah9,bl2)|0;hi=Math.imul(ah9,bh2);lo=lo+Math.imul(al8,bl3)|0;mid=mid+Math.imul(al8,bh3)|0;mid=mid+Math.imul(ah8,bl3)|0;hi=hi+Math.imul(ah8,bh3)|0;lo=lo+Math.imul(al7,bl4)|0;mid=mid+Math.imul(al7,bh4)|0;mid=mid+Math.imul(ah7,bl4)|0;hi=hi+Math.imul(ah7,bh4)|0;lo=lo+Math.imul(al6,bl5)|0;mid=mid+Math.imul(al6,bh5)|0;mid=mid+Math.imul(ah6,bl5)|0;hi=hi+Math.imul(ah6,bh5)|0;lo=lo+Math.imul(al5,bl6)|0;mid=mid+Math.imul(al5,bh6)|0;mid=mid+Math.imul(ah5,bl6)|0;hi=hi+Math.imul(ah5,bh6)|0;lo=lo+Math.imul(al4,bl7)|0;mid=mid+Math.imul(al4,bh7)|0;mid=mid+Math.imul(ah4,bl7)|0;hi=hi+Math.imul(ah4,bh7)|0;lo=lo+Math.imul(al3,bl8)|0;mid=mid+Math.imul(al3,bh8)|0;mid=mid+Math.imul(ah3,bl8)|0;hi=hi+Math.imul(ah3,bh8)|0;lo=lo+Math.imul(al2,bl9)|0;mid=mid+Math.imul(al2,bh9)|0;mid=mid+Math.imul(ah2,bl9)|0;hi=hi+Math.imul(ah2,bh9)|0;var w11=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w11>>>26)|0;w11&=67108863;lo=Math.imul(al9,bl3);mid=Math.imul(al9,bh3);mid=mid+Math.imul(ah9,bl3)|0;hi=Math.imul(ah9,bh3);lo=lo+Math.imul(al8,bl4)|0;mid=mid+Math.imul(al8,bh4)|0;mid=mid+Math.imul(ah8,bl4)|0;hi=hi+Math.imul(ah8,bh4)|0;lo=lo+Math.imul(al7,bl5)|0;mid=mid+Math.imul(al7,bh5)|0;mid=mid+Math.imul(ah7,bl5)|0;hi=hi+Math.imul(ah7,bh5)|0;lo=lo+Math.imul(al6,bl6)|0;mid=mid+Math.imul(al6,bh6)|0;mid=mid+Math.imul(ah6,bl6)|0;hi=hi+Math.imul(ah6,bh6)|0;lo=lo+Math.imul(al5,bl7)|0;mid=mid+Math.imul(al5,bh7)|0;mid=mid+Math.imul(ah5,bl7)|0;hi=hi+Math.imul(ah5,bh7)|0;lo=lo+Math.imul(al4,bl8)|0;mid=mid+Math.imul(al4,bh8)|0;mid=mid+Math.imul(ah4,bl8)|0;hi=hi+Math.imul(ah4,bh8)|0;lo=lo+Math.imul(al3,bl9)|0;mid=mid+Math.imul(al3,bh9)|0;mid=mid+Math.imul(ah3,bl9)|0;hi=hi+Math.imul(ah3,bh9)|0;var w12=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w12>>>26)|0;w12&=67108863;lo=Math.imul(al9,bl4);mid=Math.imul(al9,bh4);mid=mid+Math.imul(ah9,bl4)|0;hi=Math.imul(ah9,bh4);lo=lo+Math.imul(al8,bl5)|0;mid=mid+Math.imul(al8,bh5)|0;mid=mid+Math.imul(ah8,bl5)|0;hi=hi+Math.imul(ah8,bh5)|0;lo=lo+Math.imul(al7,bl6)|0;mid=mid+Math.imul(al7,bh6)|0;mid=mid+Math.imul(ah7,bl6)|0;hi=hi+Math.imul(ah7,bh6)|0;lo=lo+Math.imul(al6,bl7)|0;mid=mid+Math.imul(al6,bh7)|0;mid=mid+Math.imul(ah6,bl7)|0;hi=hi+Math.imul(ah6,bh7)|0;lo=lo+Math.imul(al5,bl8)|0;mid=mid+Math.imul(al5,bh8)|0;mid=mid+Math.imul(ah5,bl8)|0;hi=hi+Math.imul(ah5,bh8)|0;lo=lo+Math.imul(al4,bl9)|0;mid=mid+Math.imul(al4,bh9)|0;mid=mid+Math.imul(ah4,bl9)|0;hi=hi+Math.imul(ah4,bh9)|0;var w13=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w13>>>26)|0;w13&=67108863;lo=Math.imul(al9,bl5);mid=Math.imul(al9,bh5);mid=mid+Math.imul(ah9,bl5)|0;hi=Math.imul(ah9,bh5);lo=lo+Math.imul(al8,bl6)|0;mid=mid+Math.imul(al8,bh6)|0;mid=mid+Math.imul(ah8,bl6)|0;hi=hi+Math.imul(ah8,bh6)|0;lo=lo+Math.imul(al7,bl7)|0;mid=mid+Math.imul(al7,bh7)|0;mid=mid+Math.imul(ah7,bl7)|0;hi=hi+Math.imul(ah7,bh7)|0;lo=lo+Math.imul(al6,bl8)|0;mid=mid+Math.imul(al6,bh8)|0;mid=mid+Math.imul(ah6,bl8)|0;hi=hi+Math.imul(ah6,bh8)|0;lo=lo+Math.imul(al5,bl9)|0;mid=mid+Math.imul(al5,bh9)|0;mid=mid+Math.imul(ah5,bl9)|0;hi=hi+Math.imul(ah5,bh9)|0;var w14=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w14>>>26)|0;w14&=67108863;lo=Math.imul(al9,bl6);mid=Math.imul(al9,bh6);mid=mid+Math.imul(ah9,bl6)|0;hi=Math.imul(ah9,bh6);lo=lo+Math.imul(al8,bl7)|0;mid=mid+Math.imul(al8,bh7)|0;mid=mid+Math.imul(ah8,bl7)|0;hi=hi+Math.imul(ah8,bh7)|0;lo=lo+Math.imul(al7,bl8)|0;mid=mid+Math.imul(al7,bh8)|0;mid=mid+Math.imul(ah7,bl8)|0;hi=hi+Math.imul(ah7,bh8)|0;lo=lo+Math.imul(al6,bl9)|0;mid=mid+Math.imul(al6,bh9)|0;mid=mid+Math.imul(ah6,bl9)|0;hi=hi+Math.imul(ah6,bh9)|0;var w15=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w15>>>26)|0;w15&=67108863;lo=Math.imul(al9,bl7);mid=Math.imul(al9,bh7);mid=mid+Math.imul(ah9,bl7)|0;hi=Math.imul(ah9,bh7);lo=lo+Math.imul(al8,bl8)|0;mid=mid+Math.imul(al8,bh8)|0;mid=mid+Math.imul(ah8,bl8)|0;hi=hi+Math.imul(ah8,bh8)|0;lo=lo+Math.imul(al7,bl9)|0;mid=mid+Math.imul(al7,bh9)|0;mid=mid+Math.imul(ah7,bl9)|0;hi=hi+Math.imul(ah7,bh9)|0;var w16=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w16>>>26)|0;w16&=67108863;lo=Math.imul(al9,bl8);mid=Math.imul(al9,bh8);mid=mid+Math.imul(ah9,bl8)|0;hi=Math.imul(ah9,bh8);lo=lo+Math.imul(al8,bl9)|0;mid=mid+Math.imul(al8,bh9)|0;mid=mid+Math.imul(ah8,bl9)|0;hi=hi+Math.imul(ah8,bh9)|0;var w17=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w17>>>26)|0;w17&=67108863;lo=Math.imul(al9,bl9);mid=Math.imul(al9,bh9);mid=mid+Math.imul(ah9,bl9)|0;hi=Math.imul(ah9,bh9);var w18=(c+lo|0)+((mid&8191)<<13)|0;c=(hi+(mid>>>13)|0)+(w18>>>26)|0;w18&=67108863;o[0]=w0;o[1]=w1;o[2]=w2;o[3]=w3;o[4]=w4;o[5]=w5;o[6]=w6;o[7]=w7;o[8]=w8;o[9]=w9;o[10]=w10;o[11]=w11;o[12]=w12;o[13]=w13;o[14]=w14;o[15]=w15;o[16]=w16;o[17]=w17;o[18]=w18;if(c!==0){o[19]=c;out.length++}return out};if(!Math.imul){comb10MulTo=smallMulTo}function bigMulTo(self,num,out){out.negative=num.negative^self.negative;out.length=self.length+num.length;var carry=0;var hncarry=0;for(var k=0;k<out.length-1;k++){var ncarry=hncarry;hncarry=0;var rword=carry&67108863;var maxJ=Math.min(k,num.length-1);for(var j=Math.max(0,k-self.length+1);j<=maxJ;j++){var i=k-j;var a=self.words[i]|0;var b=num.words[j]|0;var r=a*b;var lo=r&67108863;ncarry=ncarry+(r/67108864|0)|0;lo=lo+rword|0;rword=lo&67108863;ncarry=ncarry+(lo>>>26)|0;hncarry+=ncarry>>>26;ncarry&=67108863}out.words[k]=rword;carry=ncarry;ncarry=hncarry}if(carry!==0){out.words[k]=carry}else{out.length--}return out._strip()}function jumboMulTo(self,num,out){return bigMulTo(self,num,out)}BN.prototype.mulTo=function mulTo(num,out){var res;var len=this.length+num.length;if(this.length===10&&num.length===10){res=comb10MulTo(this,num,out)}else if(len<63){res=smallMulTo(this,num,out)}else if(len<1024){res=bigMulTo(this,num,out)}else{res=jumboMulTo(this,num,out)}return res};function FFTM(x,y){this.x=x;this.y=y}FFTM.prototype.makeRBT=function makeRBT(N){var t=new Array(N);var l=BN.prototype._countBits(N)-1;for(var i=0;i<N;i++){t[i]=this.revBin(i,l,N)}return t};FFTM.prototype.revBin=function revBin(x,l,N){if(x===0||x===N-1)return x;var rb=0;for(var i=0;i<l;i++){rb|=(x&1)<<l-i-1;x>>=1}return rb};FFTM.prototype.permute=function permute(rbt,rws,iws,rtws,itws,N){for(var i=0;i<N;i++){rtws[i]=rws[rbt[i]];itws[i]=iws[rbt[i]]}};FFTM.prototype.transform=function transform(rws,iws,rtws,itws,N,rbt){this.permute(rbt,rws,iws,rtws,itws,N);for(var s=1;s<N;s<<=1){var l=s<<1;var rtwdf=Math.cos(2*Math.PI/l);var itwdf=Math.sin(2*Math.PI/l);for(var p=0;p<N;p+=l){var rtwdf_=rtwdf;var itwdf_=itwdf;for(var j=0;j<s;j++){var re=rtws[p+j];var ie=itws[p+j];var ro=rtws[p+j+s];var io=itws[p+j+s];var rx=rtwdf_*ro-itwdf_*io;io=rtwdf_*io+itwdf_*ro;ro=rx;rtws[p+j]=re+ro;itws[p+j]=ie+io;rtws[p+j+s]=re-ro;itws[p+j+s]=ie-io;if(j!==l){rx=rtwdf*rtwdf_-itwdf*itwdf_;itwdf_=rtwdf*itwdf_+itwdf*rtwdf_;rtwdf_=rx}}}}};FFTM.prototype.guessLen13b=function guessLen13b(n,m){var N=Math.max(m,n)|1;var odd=N&1;var i=0;for(N=N/2|0;N;N=N>>>1){i++}return 1<<i+1+odd};FFTM.prototype.conjugate=function conjugate(rws,iws,N){if(N<=1)return;for(var i=0;i<N/2;i++){var t=rws[i];rws[i]=rws[N-i-1];rws[N-i-1]=t;t=iws[i];iws[i]=-iws[N-i-1];iws[N-i-1]=-t}};FFTM.prototype.normalize13b=function normalize13b(ws,N){var carry=0;for(var i=0;i<N/2;i++){var w=Math.round(ws[2*i+1]/N)*8192+Math.round(ws[2*i]/N)+carry;ws[i]=w&67108863;if(w<67108864){carry=0}else{carry=w/67108864|0}}return ws};FFTM.prototype.convert13b=function convert13b(ws,len,rws,N){var carry=0;for(var i=0;i<len;i++){carry=carry+(ws[i]|0);rws[2*i]=carry&8191;carry=carry>>>13;rws[2*i+1]=carry&8191;carry=carry>>>13}for(i=2*len;i<N;++i){rws[i]=0}assert(carry===0);assert((carry&~8191)===0)};FFTM.prototype.stub=function stub(N){var ph=new Array(N);for(var i=0;i<N;i++){ph[i]=0}return ph};FFTM.prototype.mulp=function mulp(x,y,out){var N=2*this.guessLen13b(x.length,y.length);var rbt=this.makeRBT(N);var _=this.stub(N);var rws=new Array(N);var rwst=new Array(N);var iwst=new Array(N);var nrws=new Array(N);var nrwst=new Array(N);var niwst=new Array(N);var rmws=out.words;rmws.length=N;this.convert13b(x.words,x.length,rws,N);this.convert13b(y.words,y.length,nrws,N);this.transform(rws,_,rwst,iwst,N,rbt);this.transform(nrws,_,nrwst,niwst,N,rbt);for(var i=0;i<N;i++){var rx=rwst[i]*nrwst[i]-iwst[i]*niwst[i];iwst[i]=rwst[i]*niwst[i]+iwst[i]*nrwst[i];rwst[i]=rx}this.conjugate(rwst,iwst,N);this.transform(rwst,iwst,rmws,_,N,rbt);this.conjugate(rmws,_,N);this.normalize13b(rmws,N);out.negative=x.negative^y.negative;out.length=x.length+y.length;return out._strip()};BN.prototype.mul=function mul(num){var out=new BN(null);out.words=new Array(this.length+num.length);return this.mulTo(num,out)};BN.prototype.mulf=function mulf(num){var out=new BN(null);out.words=new Array(this.length+num.length);return jumboMulTo(this,num,out)};BN.prototype.imul=function imul(num){return this.clone().mulTo(num,this)};BN.prototype.imuln=function imuln(num){var isNegNum=num<0;if(isNegNum)num=-num;assert(typeof num==="number");assert(num<67108864);var carry=0;for(var i=0;i<this.length;i++){var w=(this.words[i]|0)*num;var lo=(w&67108863)+(carry&67108863);carry>>=26;carry+=w/67108864|0;carry+=lo>>>26;this.words[i]=lo&67108863}if(carry!==0){this.words[i]=carry;this.length++}return isNegNum?this.ineg():this};BN.prototype.muln=function muln(num){return this.clone().imuln(num)};BN.prototype.sqr=function sqr(){return this.mul(this)};BN.prototype.isqr=function isqr(){return this.imul(this.clone())};BN.prototype.pow=function pow(num){var w=toBitArray(num);if(w.length===0)return new BN(1);var res=this;for(var i=0;i<w.length;i++,res=res.sqr()){if(w[i]!==0)break}if(++i<w.length){for(var q=res.sqr();i<w.length;i++,q=q.sqr()){if(w[i]===0)continue;res=res.mul(q)}}return res};BN.prototype.iushln=function iushln(bits){assert(typeof bits==="number"&&bits>=0);var r=bits%26;var s=(bits-r)/26;var carryMask=67108863>>>26-r<<26-r;var i;if(r!==0){var carry=0;for(i=0;i<this.length;i++){var newCarry=this.words[i]&carryMask;var c=(this.words[i]|0)-newCarry<<r;this.words[i]=c|carry;carry=newCarry>>>26-r}if(carry){this.words[i]=carry;this.length++}}if(s!==0){for(i=this.length-1;i>=0;i--){this.words[i+s]=this.words[i]}for(i=0;i<s;i++){this.words[i]=0}this.length+=s}return this._strip()};BN.prototype.ishln=function ishln(bits){assert(this.negative===0);return this.iushln(bits)};BN.prototype.iushrn=function iushrn(bits,hint,extended){assert(typeof bits==="number"&&bits>=0);var h;if(hint){h=(hint-hint%26)/26}else{h=0}var r=bits%26;var s=Math.min((bits-r)/26,this.length);var mask=67108863^67108863>>>r<<r;var maskedWords=extended;h-=s;h=Math.max(0,h);if(maskedWords){for(var i=0;i<s;i++){maskedWords.words[i]=this.words[i]}maskedWords.length=s}if(s===0){}else if(this.length>s){this.length-=s;for(i=0;i<this.length;i++){this.words[i]=this.words[i+s]}}else{this.words[0]=0;this.length=1}var carry=0;for(i=this.length-1;i>=0&&(carry!==0||i>=h);i--){var word=this.words[i]|0;this.words[i]=carry<<26-r|word>>>r;carry=word&mask}if(maskedWords&&carry!==0){maskedWords.words[maskedWords.length++]=carry}if(this.length===0){this.words[0]=0;this.length=1}return this._strip()};BN.prototype.ishrn=function ishrn(bits,hint,extended){assert(this.negative===0);return this.iushrn(bits,hint,extended)};BN.prototype.shln=function shln(bits){return this.clone().ishln(bits)};BN.prototype.ushln=function ushln(bits){return this.clone().iushln(bits)};BN.prototype.shrn=function shrn(bits){return this.clone().ishrn(bits)};BN.prototype.ushrn=function ushrn(bits){return this.clone().iushrn(bits)};BN.prototype.testn=function testn(bit){assert(typeof bit==="number"&&bit>=0);var r=bit%26;var s=(bit-r)/26;var q=1<<r;if(this.length<=s)return false;var w=this.words[s];return!!(w&q)};BN.prototype.imaskn=function imaskn(bits){assert(typeof bits==="number"&&bits>=0);var r=bits%26;var s=(bits-r)/26;assert(this.negative===0,"imaskn works only with positive numbers");if(this.length<=s){return this}if(r!==0){s++}this.length=Math.min(s,this.length);if(r!==0){var mask=67108863^67108863>>>r<<r;this.words[this.length-1]&=mask}return this._strip()};BN.prototype.maskn=function maskn(bits){return this.clone().imaskn(bits)};BN.prototype.iaddn=function iaddn(num){assert(typeof num==="number");assert(num<67108864);if(num<0)return this.isubn(-num);if(this.negative!==0){if(this.length===1&&(this.words[0]|0)<=num){this.words[0]=num-(this.words[0]|0);this.negative=0;return this}this.negative=0;this.isubn(num);this.negative=1;return this}return this._iaddn(num)};BN.prototype._iaddn=function _iaddn(num){this.words[0]+=num;for(var i=0;i<this.length&&this.words[i]>=67108864;i++){this.words[i]-=67108864;if(i===this.length-1){this.words[i+1]=1}else{this.words[i+1]++}}this.length=Math.max(this.length,i+1);return this};BN.prototype.isubn=function isubn(num){assert(typeof num==="number");assert(num<67108864);if(num<0)return this.iaddn(-num);if(this.negative!==0){this.negative=0;this.iaddn(num);this.negative=1;return this}this.words[0]-=num;if(this.length===1&&this.words[0]<0){this.words[0]=-this.words[0];this.negative=1}else{for(var i=0;i<this.length&&this.words[i]<0;i++){this.words[i]+=67108864;this.words[i+1]-=1}}return this._strip()};BN.prototype.addn=function addn(num){return this.clone().iaddn(num)};BN.prototype.subn=function subn(num){return this.clone().isubn(num)};BN.prototype.iabs=function iabs(){this.negative=0;return this};BN.prototype.abs=function abs(){return this.clone().iabs()};BN.prototype._ishlnsubmul=function _ishlnsubmul(num,mul,shift){var len=num.length+shift;var i;this._expand(len);var w;var carry=0;for(i=0;i<num.length;i++){w=(this.words[i+shift]|0)+carry;var right=(num.words[i]|0)*mul;w-=right&67108863;carry=(w>>26)-(right/67108864|0);this.words[i+shift]=w&67108863}for(;i<this.length-shift;i++){w=(this.words[i+shift]|0)+carry;carry=w>>26;this.words[i+shift]=w&67108863}if(carry===0)return this._strip();assert(carry===-1);carry=0;for(i=0;i<this.length;i++){w=-(this.words[i]|0)+carry;carry=w>>26;this.words[i]=w&67108863}this.negative=1;return this._strip()};BN.prototype._wordDiv=function _wordDiv(num,mode){var shift=this.length-num.length;var a=this.clone();var b=num;var bhi=b.words[b.length-1]|0;var bhiBits=this._countBits(bhi);shift=26-bhiBits;if(shift!==0){b=b.ushln(shift);a.iushln(shift);bhi=b.words[b.length-1]|0}var m=a.length-b.length;var q;if(mode!=="mod"){q=new BN(null);q.length=m+1;q.words=new Array(q.length);for(var i=0;i<q.length;i++){q.words[i]=0}}var diff=a.clone()._ishlnsubmul(b,1,m);if(diff.negative===0){a=diff;if(q){q.words[m]=1}}for(var j=m-1;j>=0;j--){var qj=(a.words[b.length+j]|0)*67108864+(a.words[b.length+j-1]|0);qj=Math.min(qj/bhi|0,67108863);a._ishlnsubmul(b,qj,j);while(a.negative!==0){qj--;a.negative=0;a._ishlnsubmul(b,1,j);if(!a.isZero()){a.negative^=1}}if(q){q.words[j]=qj}}if(q){q._strip()}a._strip();if(mode!=="div"&&shift!==0){a.iushrn(shift)}return{div:q||null,mod:a}};BN.prototype.divmod=function divmod(num,mode,positive){assert(!num.isZero());if(this.isZero()){return{div:new BN(0),mod:new BN(0)}}var div,mod,res;if(this.negative!==0&&num.negative===0){res=this.neg().divmod(num,mode);if(mode!=="mod"){div=res.div.neg()}if(mode!=="div"){mod=res.mod.neg();if(positive&&mod.negative!==0){mod.iadd(num)}}return{div:div,mod:mod}}if(this.negative===0&&num.negative!==0){res=this.divmod(num.neg(),mode);if(mode!=="mod"){div=res.div.neg()}return{div:div,mod:res.mod}}if((this.negative&num.negative)!==0){res=this.neg().divmod(num.neg(),mode);if(mode!=="div"){mod=res.mod.neg();if(positive&&mod.negative!==0){mod.isub(num)}}return{div:res.div,mod:mod}}if(num.length>this.length||this.cmp(num)<0){return{div:new BN(0),mod:this}}if(num.length===1){if(mode==="div"){return{div:this.divn(num.words[0]),mod:null}}if(mode==="mod"){return{div:null,mod:new BN(this.modrn(num.words[0]))}}return{div:this.divn(num.words[0]),mod:new BN(this.modrn(num.words[0]))}}return this._wordDiv(num,mode)};BN.prototype.div=function div(num){return this.divmod(num,"div",false).div};BN.prototype.mod=function mod(num){return this.divmod(num,"mod",false).mod};BN.prototype.umod=function umod(num){return this.divmod(num,"mod",true).mod};BN.prototype.divRound=function divRound(num){var dm=this.divmod(num);if(dm.mod.isZero())return dm.div;var mod=dm.div.negative!==0?dm.mod.isub(num):dm.mod;var half=num.ushrn(1);var r2=num.andln(1);var cmp=mod.cmp(half);if(cmp<0||r2===1&&cmp===0)return dm.div;return dm.div.negative!==0?dm.div.isubn(1):dm.div.iaddn(1)};BN.prototype.modrn=function modrn(num){var isNegNum=num<0;if(isNegNum)num=-num;assert(num<=67108863);var p=(1<<26)%num;var acc=0;for(var i=this.length-1;i>=0;i--){acc=(p*acc+(this.words[i]|0))%num}return isNegNum?-acc:acc};BN.prototype.modn=function modn(num){return this.modrn(num)};BN.prototype.idivn=function idivn(num){var isNegNum=num<0;if(isNegNum)num=-num;assert(num<=67108863);var carry=0;for(var i=this.length-1;i>=0;i--){var w=(this.words[i]|0)+carry*67108864;this.words[i]=w/num|0;carry=w%num}this._strip();return isNegNum?this.ineg():this};BN.prototype.divn=function divn(num){return this.clone().idivn(num)};BN.prototype.egcd=function egcd(p){assert(p.negative===0);assert(!p.isZero());var x=this;var y=p.clone();if(x.negative!==0){x=x.umod(p)}else{x=x.clone()}var A=new BN(1);var B=new BN(0);var C=new BN(0);var D=new BN(1);var g=0;while(x.isEven()&&y.isEven()){x.iushrn(1);y.iushrn(1);++g}var yp=y.clone();var xp=x.clone();while(!x.isZero()){for(var i=0,im=1;(x.words[0]&im)===0&&i<26;++i,im<<=1);if(i>0){x.iushrn(i);while(i-- >0){if(A.isOdd()||B.isOdd()){A.iadd(yp);B.isub(xp)}A.iushrn(1);B.iushrn(1)}}for(var j=0,jm=1;(y.words[0]&jm)===0&&j<26;++j,jm<<=1);if(j>0){y.iushrn(j);while(j-- >0){if(C.isOdd()||D.isOdd()){C.iadd(yp);D.isub(xp)}C.iushrn(1);D.iushrn(1)}}if(x.cmp(y)>=0){x.isub(y);A.isub(C);B.isub(D)}else{y.isub(x);C.isub(A);D.isub(B)}}return{a:C,b:D,gcd:y.iushln(g)}};BN.prototype._invmp=function _invmp(p){assert(p.negative===0);assert(!p.isZero());var a=this;var b=p.clone();if(a.negative!==0){a=a.umod(p)}else{a=a.clone()}var x1=new BN(1);var x2=new BN(0);var delta=b.clone();while(a.cmpn(1)>0&&b.cmpn(1)>0){for(var i=0,im=1;(a.words[0]&im)===0&&i<26;++i,im<<=1);if(i>0){a.iushrn(i);while(i-- >0){if(x1.isOdd()){x1.iadd(delta)}x1.iushrn(1)}}for(var j=0,jm=1;(b.words[0]&jm)===0&&j<26;++j,jm<<=1);if(j>0){b.iushrn(j);while(j-- >0){if(x2.isOdd()){x2.iadd(delta)}x2.iushrn(1)}}if(a.cmp(b)>=0){a.isub(b);x1.isub(x2)}else{b.isub(a);x2.isub(x1)}}var res;if(a.cmpn(1)===0){res=x1}else{res=x2}if(res.cmpn(0)<0){res.iadd(p)}return res};BN.prototype.gcd=function gcd(num){if(this.isZero())return num.abs();if(num.isZero())return this.abs();var a=this.clone();var b=num.clone();a.negative=0;b.negative=0;for(var shift=0;a.isEven()&&b.isEven();shift++){a.iushrn(1);b.iushrn(1)}do{while(a.isEven()){a.iushrn(1)}while(b.isEven()){b.iushrn(1)}var r=a.cmp(b);if(r<0){var t=a;a=b;b=t}else if(r===0||b.cmpn(1)===0){break}a.isub(b)}while(true);return b.iushln(shift)};BN.prototype.invm=function invm(num){return this.egcd(num).a.umod(num)};BN.prototype.isEven=function isEven(){return(this.words[0]&1)===0};BN.prototype.isOdd=function isOdd(){return(this.words[0]&1)===1};BN.prototype.andln=function andln(num){return this.words[0]&num};BN.prototype.bincn=function bincn(bit){assert(typeof bit==="number");var r=bit%26;var s=(bit-r)/26;var q=1<<r;if(this.length<=s){this._expand(s+1);this.words[s]|=q;return this}var carry=q;for(var i=s;carry!==0&&i<this.length;i++){var w=this.words[i]|0;w+=carry;carry=w>>>26;w&=67108863;this.words[i]=w}if(carry!==0){this.words[i]=carry;this.length++}return this};BN.prototype.isZero=function isZero(){return this.length===1&&this.words[0]===0};BN.prototype.cmpn=function cmpn(num){var negative=num<0;if(this.negative!==0&&!negative)return-1;if(this.negative===0&&negative)return 1;this._strip();var res;if(this.length>1){res=1}else{if(negative){num=-num}assert(num<=67108863,"Number is too big");var w=this.words[0]|0;res=w===num?0:w<num?-1:1}if(this.negative!==0)return-res|0;return res};BN.prototype.cmp=function cmp(num){if(this.negative!==0&&num.negative===0)return-1;if(this.negative===0&&num.negative!==0)return 1;var res=this.ucmp(num);if(this.negative!==0)return-res|0;return res};BN.prototype.ucmp=function ucmp(num){if(this.length>num.length)return 1;if(this.length<num.length)return-1;var res=0;for(var i=this.length-1;i>=0;i--){var a=this.words[i]|0;var b=num.words[i]|0;if(a===b)continue;if(a<b){res=-1}else if(a>b){res=1}break}return res};BN.prototype.gtn=function gtn(num){return this.cmpn(num)===1};BN.prototype.gt=function gt(num){return this.cmp(num)===1};BN.prototype.gten=function gten(num){return this.cmpn(num)>=0};BN.prototype.gte=function gte(num){return this.cmp(num)>=0};BN.prototype.ltn=function ltn(num){return this.cmpn(num)===-1};BN.prototype.lt=function lt(num){return this.cmp(num)===-1};BN.prototype.lten=function lten(num){return this.cmpn(num)<=0};BN.prototype.lte=function lte(num){return this.cmp(num)<=0};BN.prototype.eqn=function eqn(num){return this.cmpn(num)===0};BN.prototype.eq=function eq(num){return this.cmp(num)===0};BN.red=function red(num){return new Red(num)};BN.prototype.toRed=function toRed(ctx){assert(!this.red,"Already a number in reduction context");assert(this.negative===0,"red works only with positives");return ctx.convertTo(this)._forceRed(ctx)};BN.prototype.fromRed=function fromRed(){assert(this.red,"fromRed works only with numbers in reduction context");return this.red.convertFrom(this)};BN.prototype._forceRed=function _forceRed(ctx){this.red=ctx;return this};BN.prototype.forceRed=function forceRed(ctx){assert(!this.red,"Already a number in reduction context");return this._forceRed(ctx)};BN.prototype.redAdd=function redAdd(num){assert(this.red,"redAdd works only with red numbers");return this.red.add(this,num)};BN.prototype.redIAdd=function redIAdd(num){assert(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,num)};BN.prototype.redSub=function redSub(num){assert(this.red,"redSub works only with red numbers");return this.red.sub(this,num)};BN.prototype.redISub=function redISub(num){assert(this.red,"redISub works only with red numbers");return this.red.isub(this,num)};BN.prototype.redShl=function redShl(num){assert(this.red,"redShl works only with red numbers");return this.red.shl(this,num)};BN.prototype.redMul=function redMul(num){assert(this.red,"redMul works only with red numbers");this.red._verify2(this,num);return this.red.mul(this,num)};BN.prototype.redIMul=function redIMul(num){assert(this.red,"redMul works only with red numbers");this.red._verify2(this,num);return this.red.imul(this,num)};BN.prototype.redSqr=function redSqr(){assert(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};BN.prototype.redISqr=function redISqr(){assert(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};BN.prototype.redSqrt=function redSqrt(){assert(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};BN.prototype.redInvm=function redInvm(){assert(this.red,"redInvm works only with red numbers");this.red._verify1(this);return this.red.invm(this)};BN.prototype.redNeg=function redNeg(){assert(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};BN.prototype.redPow=function redPow(num){assert(this.red&&!num.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,num)};var primes={k256:null,p224:null,p192:null,p25519:null};function MPrime(name,p){this.name=name;this.p=new BN(p,16);this.n=this.p.bitLength();this.k=new BN(1).iushln(this.n).isub(this.p);this.tmp=this._tmp()}MPrime.prototype._tmp=function _tmp(){var tmp=new BN(null);tmp.words=new Array(Math.ceil(this.n/13));return tmp};MPrime.prototype.ireduce=function ireduce(num){var r=num;var rlen;do{this.split(r,this.tmp);r=this.imulK(r);r=r.iadd(this.tmp);rlen=r.bitLength()}while(rlen>this.n);var cmp=rlen<this.n?-1:r.ucmp(this.p);if(cmp===0){r.words[0]=0;r.length=1}else if(cmp>0){r.isub(this.p)}else{if(r.strip!==undefined){r.strip()}else{r._strip()}}return r};MPrime.prototype.split=function split(input,out){input.iushrn(this.n,0,out)};MPrime.prototype.imulK=function imulK(num){return num.imul(this.k)};function K256(){MPrime.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}inherits(K256,MPrime);K256.prototype.split=function split(input,output){var mask=4194303;var outLen=Math.min(input.length,9);for(var i=0;i<outLen;i++){output.words[i]=input.words[i]}output.length=outLen;if(input.length<=9){input.words[0]=0;input.length=1;return}var prev=input.words[9];output.words[output.length++]=prev&mask;for(i=10;i<input.length;i++){var next=input.words[i]|0;input.words[i-10]=(next&mask)<<4|prev>>>22;prev=next}prev>>>=22;input.words[i-10]=prev;if(prev===0&&input.length>10){input.length-=10}else{input.length-=9}};K256.prototype.imulK=function imulK(num){num.words[num.length]=0;num.words[num.length+1]=0;num.length+=2;var lo=0;for(var i=0;i<num.length;i++){var w=num.words[i]|0;lo+=w*977;num.words[i]=lo&67108863;lo=w*64+(lo/67108864|0)}if(num.words[num.length-1]===0){num.length--;if(num.words[num.length-1]===0){num.length--}}return num};function P224(){MPrime.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}inherits(P224,MPrime);function P192(){MPrime.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}inherits(P192,MPrime);function P25519(){MPrime.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}inherits(P25519,MPrime);P25519.prototype.imulK=function imulK(num){var carry=0;for(var i=0;i<num.length;i++){var hi=(num.words[i]|0)*19+carry;var lo=hi&67108863;hi>>>=26;num.words[i]=lo;carry=hi}if(carry!==0){num.words[num.length++]=carry}return num};BN._prime=function prime(name){if(primes[name])return primes[name];var prime;if(name==="k256"){prime=new K256}else if(name==="p224"){prime=new P224}else if(name==="p192"){prime=new P192}else if(name==="p25519"){prime=new P25519}else{throw new Error("Unknown prime "+name)}primes[name]=prime;return prime};function Red(m){if(typeof m==="string"){var prime=BN._prime(m);this.m=prime.p;this.prime=prime}else{assert(m.gtn(1),"modulus must be greater than 1");this.m=m;this.prime=null}}Red.prototype._verify1=function _verify1(a){assert(a.negative===0,"red works only with positives");assert(a.red,"red works only with red numbers")};Red.prototype._verify2=function _verify2(a,b){assert((a.negative|b.negative)===0,"red works only with positives");assert(a.red&&a.red===b.red,"red works only with red numbers")};Red.prototype.imod=function imod(a){if(this.prime)return this.prime.ireduce(a)._forceRed(this);move(a,a.umod(this.m)._forceRed(this));return a};Red.prototype.neg=function neg(a){if(a.isZero()){return a.clone()}return this.m.sub(a)._forceRed(this)};Red.prototype.add=function add(a,b){this._verify2(a,b);var res=a.add(b);if(res.cmp(this.m)>=0){res.isub(this.m)}return res._forceRed(this)};Red.prototype.iadd=function iadd(a,b){this._verify2(a,b);var res=a.iadd(b);if(res.cmp(this.m)>=0){res.isub(this.m)}return res};Red.prototype.sub=function sub(a,b){this._verify2(a,b);var res=a.sub(b);if(res.cmpn(0)<0){res.iadd(this.m)}return res._forceRed(this)};Red.prototype.isub=function isub(a,b){this._verify2(a,b);var res=a.isub(b);if(res.cmpn(0)<0){res.iadd(this.m)}return res};Red.prototype.shl=function shl(a,num){this._verify1(a);return this.imod(a.ushln(num))};Red.prototype.imul=function imul(a,b){this._verify2(a,b);return this.imod(a.imul(b))};Red.prototype.mul=function mul(a,b){this._verify2(a,b);return this.imod(a.mul(b))};Red.prototype.isqr=function isqr(a){return this.imul(a,a.clone())};Red.prototype.sqr=function sqr(a){return this.mul(a,a)};Red.prototype.sqrt=function sqrt(a){if(a.isZero())return a.clone();var mod3=this.m.andln(3);assert(mod3%2===1);if(mod3===3){var pow=this.m.add(new BN(1)).iushrn(2);return this.pow(a,pow)}var q=this.m.subn(1);var s=0;while(!q.isZero()&&q.andln(1)===0){s++;q.iushrn(1)}assert(!q.isZero());var one=new BN(1).toRed(this);var nOne=one.redNeg();var lpow=this.m.subn(1).iushrn(1);var z=this.m.bitLength();z=new BN(2*z*z).toRed(this);while(this.pow(z,lpow).cmp(nOne)!==0){z.redIAdd(nOne)}var c=this.pow(z,q);var r=this.pow(a,q.addn(1).iushrn(1));var t=this.pow(a,q);var m=s;while(t.cmp(one)!==0){var tmp=t;for(var i=0;tmp.cmp(one)!==0;i++){tmp=tmp.redSqr()}assert(i<m);var b=this.pow(c,new BN(1).iushln(m-i-1));r=r.redMul(b);c=b.redSqr();t=t.redMul(c);m=i}return r};Red.prototype.invm=function invm(a){var inv=a._invmp(this.m);if(inv.negative!==0){inv.negative=0;return this.imod(inv).redNeg()}else{return this.imod(inv)}};Red.prototype.pow=function pow(a,num){if(num.isZero())return new BN(1).toRed(this);if(num.cmpn(1)===0)return a.clone();var windowSize=4;var wnd=new Array(1<<windowSize);wnd[0]=new BN(1).toRed(this);wnd[1]=a;for(var i=2;i<wnd.length;i++){wnd[i]=this.mul(wnd[i-1],a)}var res=wnd[0];var current=0;var currentLen=0;var start=num.bitLength()%26;if(start===0){start=26}for(i=num.length-1;i>=0;i--){var word=num.words[i];for(var j=start-1;j>=0;j--){var bit=word>>j&1;if(res!==wnd[0]){res=this.sqr(res)}if(bit===0&¤t===0){currentLen=0;continue}current<<=1;current|=bit;currentLen++;if(currentLen!==windowSize&&(i!==0||j!==0))continue;res=this.mul(res,wnd[current]);currentLen=0;current=0}start=26}return res};Red.prototype.convertTo=function convertTo(num){var r=num.umod(this.m);return r===num?r.clone():r};Red.prototype.convertFrom=function convertFrom(num){var res=num.clone();res.red=null;return res};BN.mont=function mont(num){return new Mont(num)};function Mont(m){Red.call(this,m);this.shift=this.m.bitLength();if(this.shift%26!==0){this.shift+=26-this.shift%26}this.r=new BN(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)}inherits(Mont,Red);Mont.prototype.convertTo=function convertTo(num){return this.imod(num.ushln(this.shift))};Mont.prototype.convertFrom=function convertFrom(num){var r=this.imod(num.mul(this.rinv));r.red=null;return r};Mont.prototype.imul=function imul(a,b){if(a.isZero()||b.isZero()){a.words[0]=0;a.length=1;return a}var t=a.imul(b);var c=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);var u=t.isub(c).iushrn(this.shift);var res=u;if(u.cmp(this.m)>=0){res=u.isub(this.m)}else if(u.cmpn(0)<0){res=u.iadd(this.m)}return res._forceRed(this)};Mont.prototype.mul=function mul(a,b){if(a.isZero()||b.isZero())return new BN(0)._forceRed(this);var t=a.mul(b);var c=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);var u=t.isub(c).iushrn(this.shift);var res=u;if(u.cmp(this.m)>=0){res=u.isub(this.m)}else if(u.cmpn(0)<0){res=u.iadd(this.m)}return res._forceRed(this)};Mont.prototype.invm=function invm(a){var res=this.imod(a._invmp(this.m).mul(this.r2));return res._forceRed(this)}})(typeof module==="undefined"||module,this)},{buffer:83}],112:[function(require,module,exports){"use strict";function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass}var codes={};function createErrorType(code,message,Base){if(!Base){Base=Error}function getMessage(arg1,arg2,arg3){if(typeof message==="string"){return message}else{return message(arg1,arg2,arg3)}}var NodeError=function(_Base){_inheritsLoose(NodeError,_Base);function NodeError(arg1,arg2,arg3){return _Base.call(this,getMessage(arg1,arg2,arg3))||this}return NodeError}(Base);NodeError.prototype.name=Base.name;NodeError.prototype.code=code;codes[code]=NodeError}function oneOf(expected,thing){if(Array.isArray(expected)){var len=expected.length;expected=expected.map((function(i){return String(i)}));if(len>2){return"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]}else if(len===2){return"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1])}else{return"of ".concat(thing," ").concat(expected[0])}}else{return"of ".concat(thing," ").concat(String(expected))}}function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}function endsWith(str,search,this_len){if(this_len===undefined||this_len>str.length){this_len=str.length}return str.substring(this_len-search.length,this_len)===search}function includes(str,search,start){if(typeof start!=="number"){start=0}if(start+search.length>str.length){return false}else{return str.indexOf(search,start)!==-1}}createErrorType("ERR_INVALID_OPT_VALUE",(function(name,value){return'The value "'+value+'" is invalid for option "'+name+'"'}),TypeError);createErrorType("ERR_INVALID_ARG_TYPE",(function(name,expected,actual){var determiner;if(typeof expected==="string"&&startsWith(expected,"not ")){determiner="must not be";expected=expected.replace(/^not /,"")}else{determiner="must be"}var msg;if(endsWith(name," argument")){msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"))}else{var type=includes(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}msg+=". Received type ".concat(typeof actual);return msg}),TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",(function(name){return"The "+name+" method is not implemented"}));createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",(function(name){return"Cannot call "+name+" after a stream was destroyed"}));createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",(function(arg){return"Unknown encoding: "+arg}),TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");module.exports.codes=codes},{}],113:[function(require,module,exports){(function(process){"use strict";var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj){keys.push(key)}return keys};module.exports=Duplex;var Readable=require("./_stream_readable");var Writable=require("./_stream_writable");require("inherits")(Duplex,Readable);{var keys=objectKeys(Writable.prototype);for(var v=0;v<keys.length;v++){var method=keys[v];if(!Duplex.prototype[method])Duplex.prototype[method]=Writable.prototype[method]}}function Duplex(options){if(!(this instanceof Duplex))return new Duplex(options);Readable.call(this,options);Writable.call(this,options);this.allowHalfOpen=true;if(options){if(options.readable===false)this.readable=false;if(options.writable===false)this.writable=false;if(options.allowHalfOpen===false){this.allowHalfOpen=false;this.once("end",onend)}}}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});Object.defineProperty(Duplex.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(Duplex.prototype,"writableLength",{enumerable:false,get:function get(){return this._writableState.length}});function onend(){if(this._writableState.ended)return;process.nextTick(onEndNT,this)}function onEndNT(self){self.end()}Object.defineProperty(Duplex.prototype,"destroyed",{enumerable:false,get:function get(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set:function set(value){if(this._readableState===undefined||this._writableState===undefined){return}this._readableState.destroyed=value;this._writableState.destroyed=value}})}).call(this,require("_process"))},{"./_stream_readable":115,"./_stream_writable":117,_process:855,inherits:326}],114:[function(require,module,exports){"use strict";module.exports=PassThrough;var Transform=require("./_stream_transform");require("inherits")(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options)}PassThrough.prototype._transform=function(chunk,encoding,cb){cb(null,chunk)}},{"./_stream_transform":116,inherits:326}],115:[function(require,module,exports){(function(process,global){"use strict";module.exports=Readable;var Duplex;Readable.ReadableState=ReadableState;var EE=require("events").EventEmitter;var EElistenerCount=function EElistenerCount(emitter,type){return emitter.listeners(type).length};var Stream=require("./internal/streams/stream");var Buffer=require("buffer").Buffer;var OurUint8Array=global.Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var debugUtil=require("util");var debug;if(debugUtil&&debugUtil.debuglog){debug=debugUtil.debuglog("stream")}else{debug=function debug(){}}var BufferList=require("./internal/streams/buffer_list");var destroyImpl=require("./internal/streams/destroy");var _require=require("./internal/streams/state"),getHighWaterMark=_require.getHighWaterMark;var _require$codes=require("../errors").codes,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_STREAM_PUSH_AFTER_EOF=_require$codes.ERR_STREAM_PUSH_AFTER_EOF,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_STREAM_UNSHIFT_AFTER_END_EVENT=_require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;var StringDecoder;var createReadableStreamAsyncIterator;var from;require("inherits")(Readable,Stream);var errorOrDestroy=destroyImpl.errorOrDestroy;var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn){if(typeof emitter.prependListener==="function")return emitter.prependListener(event,fn);if(!emitter._events||!emitter._events[event])emitter.on(event,fn);else if(Array.isArray(emitter._events[event]))emitter._events[event].unshift(fn);else emitter._events[event]=[fn,emitter._events[event]]}function ReadableState(options,stream,isDuplex){Duplex=Duplex||require("./_stream_duplex");options=options||{};if(typeof isDuplex!=="boolean")isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode;if(isDuplex)this.objectMode=this.objectMode||!!options.readableObjectMode;this.highWaterMark=getHighWaterMark(this,options,"readableHighWaterMark",isDuplex);this.buffer=new BufferList;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.paused=true;this.emitClose=options.emitClose!==false;this.autoDestroy=!!options.autoDestroy;this.destroyed=false;this.defaultEncoding=options.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(options.encoding){if(!StringDecoder)StringDecoder=require("string_decoder/").StringDecoder;this.decoder=new StringDecoder(options.encoding);this.encoding=options.encoding}}function Readable(options){Duplex=Duplex||require("./_stream_duplex");if(!(this instanceof Readable))return new Readable(options);var isDuplex=this instanceof Duplex;this._readableState=new ReadableState(options,this,isDuplex);this.readable=true;if(options){if(typeof options.read==="function")this._read=options.read;if(typeof options.destroy==="function")this._destroy=options.destroy}Stream.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{enumerable:false,get:function get(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function set(value){if(!this._readableState){return}this._readableState.destroyed=value}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb){cb(err)};Readable.prototype.push=function(chunk,encoding){var state=this._readableState;var skipChunkCheck;if(!state.objectMode){if(typeof chunk==="string"){encoding=encoding||state.defaultEncoding;if(encoding!==state.encoding){chunk=Buffer.from(chunk,encoding);encoding=""}skipChunkCheck=true}}else{skipChunkCheck=true}return readableAddChunk(this,chunk,encoding,false,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,true,false)};function readableAddChunk(stream,chunk,encoding,addToFront,skipChunkCheck){debug("readableAddChunk",chunk);var state=stream._readableState;if(chunk===null){state.reading=false;onEofChunk(stream,state)}else{var er;if(!skipChunkCheck)er=chunkInvalid(state,chunk);if(er){errorOrDestroy(stream,er)}else if(state.objectMode||chunk&&chunk.length>0){if(typeof chunk!=="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer.prototype){chunk=_uint8ArrayToBuffer(chunk)}if(addToFront){if(state.endEmitted)errorOrDestroy(stream,new ERR_STREAM_UNSHIFT_AFTER_END_EVENT);else addChunk(stream,state,chunk,true)}else if(state.ended){errorOrDestroy(stream,new ERR_STREAM_PUSH_AFTER_EOF)}else if(state.destroyed){return false}else{state.reading=false;if(state.decoder&&!encoding){chunk=state.decoder.write(chunk);if(state.objectMode||chunk.length!==0)addChunk(stream,state,chunk,false);else maybeReadMore(stream,state)}else{addChunk(stream,state,chunk,false)}}}else if(!addToFront){state.reading=false;maybeReadMore(stream,state)}}return!state.ended&&(state.length<state.highWaterMark||state.length===0)}function addChunk(stream,state,chunk,addToFront){if(state.flowing&&state.length===0&&!state.sync){state.awaitDrain=0;stream.emit("data",chunk)}else{state.length+=state.objectMode?1:chunk.length;if(addToFront)state.buffer.unshift(chunk);else state.buffer.push(chunk);if(state.needReadable)emitReadable(stream)}maybeReadMore(stream,state)}function chunkInvalid(state,chunk){var er;if(!_isUint8Array(chunk)&&typeof chunk!=="string"&&chunk!==undefined&&!state.objectMode){er=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer","Uint8Array"],chunk)}return er}Readable.prototype.isPaused=function(){return this._readableState.flowing===false};Readable.prototype.setEncoding=function(enc){if(!StringDecoder)StringDecoder=require("string_decoder/").StringDecoder;var decoder=new StringDecoder(enc);this._readableState.decoder=decoder;this._readableState.encoding=this._readableState.decoder.encoding;var p=this._readableState.buffer.head;var content="";while(p!==null){content+=decoder.write(p.data);p=p.next}this._readableState.buffer.clear();if(content!=="")this._readableState.buffer.push(content);this._readableState.length=content.length;return this};var MAX_HWM=1073741824;function computeNewHighWaterMark(n){if(n>=MAX_HWM){n=MAX_HWM}else{n--;n|=n>>>1;n|=n>>>2;n|=n>>>4;n|=n>>>8;n|=n>>>16;n++}return n}function howMuchToRead(n,state){if(n<=0||state.length===0&&state.ended)return 0;if(state.objectMode)return 1;if(n!==n){if(state.flowing&&state.length)return state.buffer.head.data.length;else return state.length}if(n>state.highWaterMark)state.highWaterMark=computeNewHighWaterMark(n);if(n<=state.length)return n;if(!state.ended){state.needReadable=true;return 0}return state.length}Readable.prototype.read=function(n){debug("read",n);n=parseInt(n,10);var state=this._readableState;var nOrig=n;if(n!==0)state.emittedReadable=false;if(n===0&&state.needReadable&&((state.highWaterMark!==0?state.length>=state.highWaterMark:state.length>0)||state.ended)){debug("read: emitReadable",state.length,state.ended);if(state.length===0&&state.ended)endReadable(this);else emitReadable(this);return null}n=howMuchToRead(n,state);if(n===0&&state.ended){if(state.length===0)endReadable(this);return null}var doRead=state.needReadable;debug("need readable",doRead);if(state.length===0||state.length-n<state.highWaterMark){doRead=true;debug("length less than watermark",doRead)}if(state.ended||state.reading){doRead=false;debug("reading or ended",doRead)}else if(doRead){debug("do read");state.reading=true;state.sync=true;if(state.length===0)state.needReadable=true;this._read(state.highWaterMark);state.sync=false;if(!state.reading)n=howMuchToRead(nOrig,state)}var ret;if(n>0)ret=fromList(n,state);else ret=null;if(ret===null){state.needReadable=state.length<=state.highWaterMark;n=0}else{state.length-=n;state.awaitDrain=0}if(state.length===0){if(!state.ended)state.needReadable=true;if(nOrig!==n&&state.ended)endReadable(this)}if(ret!==null)this.emit("data",ret);return ret};function onEofChunk(stream,state){debug("onEofChunk");if(state.ended)return;if(state.decoder){var chunk=state.decoder.end();if(chunk&&chunk.length){state.buffer.push(chunk);state.length+=state.objectMode?1:chunk.length}}state.ended=true;if(state.sync){emitReadable(stream)}else{state.needReadable=false;if(!state.emittedReadable){state.emittedReadable=true;emitReadable_(stream)}}}function emitReadable(stream){var state=stream._readableState;debug("emitReadable",state.needReadable,state.emittedReadable);state.needReadable=false;if(!state.emittedReadable){debug("emitReadable",state.flowing);state.emittedReadable=true;process.nextTick(emitReadable_,stream)}}function emitReadable_(stream){var state=stream._readableState;debug("emitReadable_",state.destroyed,state.length,state.ended);if(!state.destroyed&&(state.length||state.ended)){stream.emit("readable");state.emittedReadable=false}state.needReadable=!state.flowing&&!state.ended&&state.length<=state.highWaterMark;flow(stream)}function maybeReadMore(stream,state){if(!state.readingMore){state.readingMore=true;process.nextTick(maybeReadMore_,stream,state)}}function maybeReadMore_(stream,state){while(!state.reading&&!state.ended&&(state.length<state.highWaterMark||state.flowing&&state.length===0)){var len=state.length;debug("maybeReadMore read 0");stream.read(0);if(len===state.length)break}state.readingMore=false}Readable.prototype._read=function(n){errorOrDestroy(this,new ERR_METHOD_NOT_IMPLEMENTED("_read()"))};Readable.prototype.pipe=function(dest,pipeOpts){var src=this;var state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1;debug("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==false)&&dest!==process.stdout&&dest!==process.stderr;var endFn=doEnd?onend:unpipe;if(state.endEmitted)process.nextTick(endFn);else src.once("end",endFn);dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug("onunpipe");if(readable===src){if(unpipeInfo&&unpipeInfo.hasUnpiped===false){unpipeInfo.hasUnpiped=true;cleanup()}}}function onend(){debug("onend");dest.end()}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=false;function cleanup(){debug("cleanup");dest.removeListener("close",onclose);dest.removeListener("finish",onfinish);dest.removeListener("drain",ondrain);dest.removeListener("error",onerror);dest.removeListener("unpipe",onunpipe);src.removeListener("end",onend);src.removeListener("end",unpipe);src.removeListener("data",ondata);cleanedUp=true;if(state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain))ondrain()}src.on("data",ondata);function ondata(chunk){debug("ondata");var ret=dest.write(chunk);debug("dest.write",ret);if(ret===false){if((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp){debug("false write response, pause",state.awaitDrain);state.awaitDrain++}src.pause()}}function onerror(er){debug("onerror",er);unpipe();dest.removeListener("error",onerror);if(EElistenerCount(dest,"error")===0)errorOrDestroy(dest,er)}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish);unpipe()}dest.once("close",onclose);function onfinish(){debug("onfinish");dest.removeListener("close",onclose);unpipe()}dest.once("finish",onfinish);function unpipe(){debug("unpipe");src.unpipe(dest)}dest.emit("pipe",src);if(!state.flowing){debug("pipe resume");src.resume()}return dest};function pipeOnDrain(src){return function pipeOnDrainFunctionResult(){var state=src._readableState;debug("pipeOnDrain",state.awaitDrain);if(state.awaitDrain)state.awaitDrain--;if(state.awaitDrain===0&&EElistenerCount(src,"data")){state.flowing=true;flow(src)}}}Readable.prototype.unpipe=function(dest){var state=this._readableState;var unpipeInfo={hasUnpiped:false};if(state.pipesCount===0)return this;if(state.pipesCount===1){if(dest&&dest!==state.pipes)return this;if(!dest)dest=state.pipes;state.pipes=null;state.pipesCount=0;state.flowing=false;if(dest)dest.emit("unpipe",this,unpipeInfo);return this}if(!dest){var dests=state.pipes;var len=state.pipesCount;state.pipes=null;state.pipesCount=0;state.flowing=false;for(var i=0;i<len;i++){dests[i].emit("unpipe",this,{hasUnpiped:false})}return this}var index=indexOf(state.pipes,dest);if(index===-1)return this;state.pipes.splice(index,1);state.pipesCount-=1;if(state.pipesCount===1)state.pipes=state.pipes[0];dest.emit("unpipe",this,unpipeInfo);return this};Readable.prototype.on=function(ev,fn){var res=Stream.prototype.on.call(this,ev,fn);var state=this._readableState;if(ev==="data"){state.readableListening=this.listenerCount("readable")>0;if(state.flowing!==false)this.resume()}else if(ev==="readable"){if(!state.endEmitted&&!state.readableListening){state.readableListening=state.needReadable=true;state.flowing=false;state.emittedReadable=false;debug("on readable",state.length,state.reading);if(state.length){emitReadable(this)}else if(!state.reading){process.nextTick(nReadingNextTick,this)}}}return res};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(ev,fn){var res=Stream.prototype.removeListener.call(this,ev,fn);if(ev==="readable"){process.nextTick(updateReadableListening,this)}return res};Readable.prototype.removeAllListeners=function(ev){var res=Stream.prototype.removeAllListeners.apply(this,arguments);if(ev==="readable"||ev===undefined){process.nextTick(updateReadableListening,this)}return res};function updateReadableListening(self){var state=self._readableState;state.readableListening=self.listenerCount("readable")>0;if(state.resumeScheduled&&!state.paused){state.flowing=true}else if(self.listenerCount("data")>0){self.resume()}}function nReadingNextTick(self){debug("readable nexttick read 0");self.read(0)}Readable.prototype.resume=function(){var state=this._readableState;if(!state.flowing){debug("resume");state.flowing=!state.readableListening;resume(this,state)}state.paused=false;return this};function resume(stream,state){if(!state.resumeScheduled){state.resumeScheduled=true;process.nextTick(resume_,stream,state)}}function resume_(stream,state){debug("resume",state.reading);if(!state.reading){stream.read(0)}state.resumeScheduled=false;stream.emit("resume");flow(stream);if(state.flowing&&!state.reading)stream.read(0)}Readable.prototype.pause=function(){debug("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){debug("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState.paused=true;return this};function flow(stream){var state=stream._readableState;debug("flow",state.flowing);while(state.flowing&&stream.read()!==null){}}Readable.prototype.wrap=function(stream){var _this=this;var state=this._readableState;var paused=false;stream.on("end",(function(){debug("wrapped end");if(state.decoder&&!state.ended){var chunk=state.decoder.end();if(chunk&&chunk.length)_this.push(chunk)}_this.push(null)}));stream.on("data",(function(chunk){debug("wrapped data");if(state.decoder)chunk=state.decoder.write(chunk);if(state.objectMode&&(chunk===null||chunk===undefined))return;else if(!state.objectMode&&(!chunk||!chunk.length))return;var ret=_this.push(chunk);if(!ret){paused=true;stream.pause()}}));for(var i in stream){if(this[i]===undefined&&typeof stream[i]==="function"){this[i]=function methodWrap(method){return function methodWrapReturnFunction(){return stream[method].apply(stream,arguments)}}(i)}}for(var n=0;n<kProxyEvents.length;n++){stream.on(kProxyEvents[n],this.emit.bind(this,kProxyEvents[n]))}this._read=function(n){debug("wrapped _read",n);if(paused){paused=false;stream.resume()}};return this};if(typeof Symbol==="function"){Readable.prototype[Symbol.asyncIterator]=function(){if(createReadableStreamAsyncIterator===undefined){createReadableStreamAsyncIterator=require("./internal/streams/async_iterator")}return createReadableStreamAsyncIterator(this)}}Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:false,get:function get(){return this._readableState.highWaterMark}});Object.defineProperty(Readable.prototype,"readableBuffer",{enumerable:false,get:function get(){return this._readableState&&this._readableState.buffer}});Object.defineProperty(Readable.prototype,"readableFlowing",{enumerable:false,get:function get(){return this._readableState.flowing},set:function set(state){if(this._readableState){this._readableState.flowing=state}}});Readable._fromList=fromList;Object.defineProperty(Readable.prototype,"readableLength",{enumerable:false,get:function get(){return this._readableState.length}});function fromList(n,state){if(state.length===0)return null;var ret;if(state.objectMode)ret=state.buffer.shift();else if(!n||n>=state.length){if(state.decoder)ret=state.buffer.join("");else if(state.buffer.length===1)ret=state.buffer.first();else ret=state.buffer.concat(state.length);state.buffer.clear()}else{ret=state.buffer.consume(n,state.decoder)}return ret}function endReadable(stream){var state=stream._readableState;debug("endReadable",state.endEmitted);if(!state.endEmitted){state.ended=true;process.nextTick(endReadableNT,state,stream)}}function endReadableNT(state,stream){debug("endReadableNT",state.endEmitted,state.length);if(!state.endEmitted&&state.length===0){state.endEmitted=true;stream.readable=false;stream.emit("end");if(state.autoDestroy){var wState=stream._writableState;if(!wState||wState.autoDestroy&&wState.finished){stream.destroy()}}}}if(typeof Symbol==="function"){Readable.from=function(iterable,opts){if(from===undefined){from=require("./internal/streams/from")}return from(Readable,iterable,opts)}}function indexOf(xs,x){for(var i=0,l=xs.length;i<l;i++){if(xs[i]===x)return i}return-1}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../errors":112,"./_stream_duplex":113,"./internal/streams/async_iterator":118,"./internal/streams/buffer_list":119,"./internal/streams/destroy":120,"./internal/streams/from":122,"./internal/streams/state":124,"./internal/streams/stream":125,_process:855,buffer:132,events:241,inherits:326,"string_decoder/":975,util:83}],116:[function(require,module,exports){"use strict";module.exports=Transform;var _require$codes=require("../errors").codes,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_TRANSFORM_ALREADY_TRANSFORMING=_require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,ERR_TRANSFORM_WITH_LENGTH_0=_require$codes.ERR_TRANSFORM_WITH_LENGTH_0;var Duplex=require("./_stream_duplex");require("inherits")(Transform,Duplex);function afterTransform(er,data){var ts=this._transformState;ts.transforming=false;var cb=ts.writecb;if(cb===null){return this.emit("error",new ERR_MULTIPLE_CALLBACK)}ts.writechunk=null;ts.writecb=null;if(data!=null)this.push(data);cb(er);var rs=this._readableState;rs.reading=false;if(rs.needReadable||rs.length<rs.highWaterMark){this._read(rs.highWaterMark)}}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex.call(this,options);this._transformState={afterTransform:afterTransform.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=true;this._readableState.sync=false;if(options){if(typeof options.transform==="function")this._transform=options.transform;if(typeof options.flush==="function")this._flush=options.flush}this.on("prefinish",prefinish)}function prefinish(){var _this=this;if(typeof this._flush==="function"&&!this._readableState.destroyed){this._flush((function(er,data){done(_this,er,data)}))}else{done(this,null,null)}}Transform.prototype.push=function(chunk,encoding){this._transformState.needTransform=false;return Duplex.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb){cb(new ERR_METHOD_NOT_IMPLEMENTED("_transform()"))};Transform.prototype._write=function(chunk,encoding,cb){var ts=this._transformState;ts.writecb=cb;ts.writechunk=chunk;ts.writeencoding=encoding;if(!ts.transforming){var rs=this._readableState;if(ts.needTransform||rs.needReadable||rs.length<rs.highWaterMark)this._read(rs.highWaterMark)}};Transform.prototype._read=function(n){var ts=this._transformState;if(ts.writechunk!==null&&!ts.transforming){ts.transforming=true;this._transform(ts.writechunk,ts.writeencoding,ts.afterTransform)}else{ts.needTransform=true}};Transform.prototype._destroy=function(err,cb){Duplex.prototype._destroy.call(this,err,(function(err2){cb(err2)}))};function done(stream,er,data){if(er)return stream.emit("error",er);if(data!=null)stream.push(data);if(stream._writableState.length)throw new ERR_TRANSFORM_WITH_LENGTH_0;if(stream._transformState.transforming)throw new ERR_TRANSFORM_ALREADY_TRANSFORMING;return stream.push(null)}},{"../errors":112,"./_stream_duplex":113,inherits:326}],117:[function(require,module,exports){(function(process,global){"use strict";module.exports=Writable;function WriteReq(chunk,encoding,cb){this.chunk=chunk;this.encoding=encoding;this.callback=cb;this.next=null}function CorkedRequest(state){var _this=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(_this,state)}}var Duplex;Writable.WritableState=WritableState;var internalUtil={deprecate:require("util-deprecate")};var Stream=require("./internal/streams/stream");var Buffer=require("buffer").Buffer;var OurUint8Array=global.Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require("./internal/streams/destroy");var _require=require("./internal/streams/state"),getHighWaterMark=_require.getHighWaterMark;var _require$codes=require("../errors").codes,ERR_INVALID_ARG_TYPE=_require$codes.ERR_INVALID_ARG_TYPE,ERR_METHOD_NOT_IMPLEMENTED=_require$codes.ERR_METHOD_NOT_IMPLEMENTED,ERR_MULTIPLE_CALLBACK=_require$codes.ERR_MULTIPLE_CALLBACK,ERR_STREAM_CANNOT_PIPE=_require$codes.ERR_STREAM_CANNOT_PIPE,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED,ERR_STREAM_NULL_VALUES=_require$codes.ERR_STREAM_NULL_VALUES,ERR_STREAM_WRITE_AFTER_END=_require$codes.ERR_STREAM_WRITE_AFTER_END,ERR_UNKNOWN_ENCODING=_require$codes.ERR_UNKNOWN_ENCODING;var errorOrDestroy=destroyImpl.errorOrDestroy;require("inherits")(Writable,Stream);function nop(){}function WritableState(options,stream,isDuplex){Duplex=Duplex||require("./_stream_duplex");options=options||{};if(typeof isDuplex!=="boolean")isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode;if(isDuplex)this.objectMode=this.objectMode||!!options.writableObjectMode;this.highWaterMark=getHighWaterMark(this,options,"writableHighWaterMark",isDuplex);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var noDecode=options.decodeStrings===false;this.decodeStrings=!noDecode;this.defaultEncoding=options.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(er){onwrite(stream,er)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.emitClose=options.emitClose!==false;this.autoDestroy=!!options.autoDestroy;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var current=this.bufferedRequest;var out=[];while(current){out.push(current);current=current.next}return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate((function writableStateBufferGetter(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(_){}})();var realHasInstance;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){realHasInstance=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function value(object){if(realHasInstance.call(this,object))return true;if(this!==Writable)return false;return object&&object._writableState instanceof WritableState}})}else{realHasInstance=function realHasInstance(object){return object instanceof this}}function Writable(options){Duplex=Duplex||require("./_stream_duplex");var isDuplex=this instanceof Duplex;if(!isDuplex&&!realHasInstance.call(Writable,this))return new Writable(options);this._writableState=new WritableState(options,this,isDuplex);this.writable=true;if(options){if(typeof options.write==="function")this._write=options.write;if(typeof options.writev==="function")this._writev=options.writev;if(typeof options.destroy==="function")this._destroy=options.destroy;if(typeof options.final==="function")this._final=options.final}Stream.call(this)}Writable.prototype.pipe=function(){errorOrDestroy(this,new ERR_STREAM_CANNOT_PIPE)};function writeAfterEnd(stream,cb){var er=new ERR_STREAM_WRITE_AFTER_END;errorOrDestroy(stream,er);process.nextTick(cb,er)}function validChunk(stream,state,chunk,cb){var er;if(chunk===null){er=new ERR_STREAM_NULL_VALUES}else if(typeof chunk!=="string"&&!state.objectMode){er=new ERR_INVALID_ARG_TYPE("chunk",["string","Buffer"],chunk)}if(er){errorOrDestroy(stream,er);process.nextTick(cb,er);return false}return true}Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState;var ret=false;var isBuf=!state.objectMode&&_isUint8Array(chunk);if(isBuf&&!Buffer.isBuffer(chunk)){chunk=_uint8ArrayToBuffer(chunk)}if(typeof encoding==="function"){cb=encoding;encoding=null}if(isBuf)encoding="buffer";else if(!encoding)encoding=state.defaultEncoding;if(typeof cb!=="function")cb=nop;if(state.ending)writeAfterEnd(this,cb);else if(isBuf||validChunk(this,state,chunk,cb)){state.pendingcb++;ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb)}return ret};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){var state=this._writableState;if(state.corked){state.corked--;if(!state.writing&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest)clearBuffer(this,state)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(encoding){if(typeof encoding==="string")encoding=encoding.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new ERR_UNKNOWN_ENCODING(encoding);this._writableState.defaultEncoding=encoding;return this};Object.defineProperty(Writable.prototype,"writableBuffer",{enumerable:false,get:function get(){return this._writableState&&this._writableState.getBuffer()}});function decodeChunk(state,chunk,encoding){if(!state.objectMode&&state.decodeStrings!==false&&typeof chunk==="string"){chunk=Buffer.from(chunk,encoding)}return chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function get(){return this._writableState.highWaterMark}});function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);if(chunk!==newChunk){isBuf=true;encoding="buffer";chunk=newChunk}}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(!ret)state.needDrain=true;if(state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk:chunk,encoding:encoding,isBuf:isBuf,callback:cb,next:null};if(last){last.next=state.lastBufferedRequest}else{state.bufferedRequest=state.lastBufferedRequest}state.bufferedRequestCount+=1}else{doWrite(stream,state,false,len,chunk,encoding,cb)}return ret}function doWrite(stream,state,writev,len,chunk,encoding,cb){state.writelen=len;state.writecb=cb;state.writing=true;state.sync=true;if(state.destroyed)state.onwrite(new ERR_STREAM_DESTROYED("write"));else if(writev)stream._writev(chunk,state.onwrite);else stream._write(chunk,encoding,state.onwrite);state.sync=false}function onwriteError(stream,state,sync,er,cb){--state.pendingcb;if(sync){process.nextTick(cb,er);process.nextTick(finishMaybe,stream,state);stream._writableState.errorEmitted=true;errorOrDestroy(stream,er)}else{cb(er);stream._writableState.errorEmitted=true;errorOrDestroy(stream,er);finishMaybe(stream,state)}}function onwriteStateUpdate(state){state.writing=false;state.writecb=null;state.length-=state.writelen;state.writelen=0}function onwrite(stream,er){var state=stream._writableState;var sync=state.sync;var cb=state.writecb;if(typeof cb!=="function")throw new ERR_MULTIPLE_CALLBACK;onwriteStateUpdate(state);if(er)onwriteError(stream,state,sync,er,cb);else{var finished=needFinish(state)||stream.destroyed;if(!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest){clearBuffer(stream,state)}if(sync){process.nextTick(afterWrite,stream,state,finished,cb)}else{afterWrite(stream,state,finished,cb)}}}function afterWrite(stream,state,finished,cb){if(!finished)onwriteDrain(stream,state);state.pendingcb--;cb();finishMaybe(stream,state)}function onwriteDrain(stream,state){if(state.length===0&&state.needDrain){state.needDrain=false;stream.emit("drain")}}function clearBuffer(stream,state){state.bufferProcessing=true;var entry=state.bufferedRequest;if(stream._writev&&entry&&entry.next){var l=state.bufferedRequestCount;var buffer=new Array(l);var holder=state.corkedRequestsFree;holder.entry=entry;var count=0;var allBuffers=true;while(entry){buffer[count]=entry;if(!entry.isBuf)allBuffers=false;entry=entry.next;count+=1}buffer.allBuffers=allBuffers;doWrite(stream,state,true,state.length,buffer,"",holder.finish);state.pendingcb++;state.lastBufferedRequest=null;if(holder.next){state.corkedRequestsFree=holder.next;holder.next=null}else{state.corkedRequestsFree=new CorkedRequest(state)}state.bufferedRequestCount=0}else{while(entry){var chunk=entry.chunk;var encoding=entry.encoding;var cb=entry.callback;var len=state.objectMode?1:chunk.length;doWrite(stream,state,false,len,chunk,encoding,cb);entry=entry.next;state.bufferedRequestCount--;if(state.writing){break}}if(entry===null)state.lastBufferedRequest=null}state.bufferedRequest=entry;state.bufferProcessing=false}Writable.prototype._write=function(chunk,encoding,cb){cb(new ERR_METHOD_NOT_IMPLEMENTED("_write()"))};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;if(typeof chunk==="function"){cb=chunk;chunk=null;encoding=null}else if(typeof encoding==="function"){cb=encoding;encoding=null}if(chunk!==null&&chunk!==undefined)this.write(chunk,encoding);if(state.corked){state.corked=1;this.uncork()}if(!state.ending)endWritable(this,state,cb);return this};Object.defineProperty(Writable.prototype,"writableLength",{enumerable:false,get:function get(){return this._writableState.length}});function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream,state){stream._final((function(err){state.pendingcb--;if(err){errorOrDestroy(stream,err)}state.prefinished=true;stream.emit("prefinish");finishMaybe(stream,state)}))}function prefinish(stream,state){if(!state.prefinished&&!state.finalCalled){if(typeof stream._final==="function"&&!state.destroyed){state.pendingcb++;state.finalCalled=true;process.nextTick(callFinal,stream,state)}else{state.prefinished=true;stream.emit("prefinish")}}}function finishMaybe(stream,state){var need=needFinish(state);if(need){prefinish(stream,state);if(state.pendingcb===0){state.finished=true;stream.emit("finish");if(state.autoDestroy){var rState=stream._readableState;if(!rState||rState.autoDestroy&&rState.endEmitted){stream.destroy()}}}}return need}function endWritable(stream,state,cb){state.ending=true;finishMaybe(stream,state);if(cb){if(state.finished)process.nextTick(cb);else stream.once("finish",cb)}state.ended=true;stream.writable=false}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;corkReq.entry=null;while(entry){var cb=entry.callback;state.pendingcb--;cb(err);entry=entry.next}state.corkedRequestsFree.next=corkReq}Object.defineProperty(Writable.prototype,"destroyed",{enumerable:false,get:function get(){if(this._writableState===undefined){return false}return this._writableState.destroyed},set:function set(value){if(!this._writableState){return}this._writableState.destroyed=value}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb){cb(err)}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../errors":112,"./_stream_duplex":113,"./internal/streams/destroy":120,"./internal/streams/state":124,"./internal/streams/stream":125,_process:855,buffer:132,inherits:326,"util-deprecate":997}],118:[function(require,module,exports){(function(process){"use strict";var _Object$setPrototypeO;function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}var finished=require("./end-of-stream");var kLastResolve=Symbol("lastResolve");var kLastReject=Symbol("lastReject");var kError=Symbol("error");var kEnded=Symbol("ended");var kLastPromise=Symbol("lastPromise");var kHandlePromise=Symbol("handlePromise");var kStream=Symbol("stream");function createIterResult(value,done){return{value:value,done:done}}function readAndResolve(iter){var resolve=iter[kLastResolve];if(resolve!==null){var data=iter[kStream].read();if(data!==null){iter[kLastPromise]=null;iter[kLastResolve]=null;iter[kLastReject]=null;resolve(createIterResult(data,false))}}}function onReadable(iter){process.nextTick(readAndResolve,iter)}function wrapForNext(lastPromise,iter){return function(resolve,reject){lastPromise.then((function(){if(iter[kEnded]){resolve(createIterResult(undefined,true));return}iter[kHandlePromise](resolve,reject)}),reject)}}var AsyncIteratorPrototype=Object.getPrototypeOf((function(){}));var ReadableStreamAsyncIteratorPrototype=Object.setPrototypeOf((_Object$setPrototypeO={get stream(){return this[kStream]},next:function next(){var _this=this;var error=this[kError];if(error!==null){return Promise.reject(error)}if(this[kEnded]){return Promise.resolve(createIterResult(undefined,true))}if(this[kStream].destroyed){return new Promise((function(resolve,reject){process.nextTick((function(){if(_this[kError]){reject(_this[kError])}else{resolve(createIterResult(undefined,true))}}))}))}var lastPromise=this[kLastPromise];var promise;if(lastPromise){promise=new Promise(wrapForNext(lastPromise,this))}else{var data=this[kStream].read();if(data!==null){return Promise.resolve(createIterResult(data,false))}promise=new Promise(this[kHandlePromise])}this[kLastPromise]=promise;return promise}},_defineProperty(_Object$setPrototypeO,Symbol.asyncIterator,(function(){return this})),_defineProperty(_Object$setPrototypeO,"return",(function _return(){var _this2=this;return new Promise((function(resolve,reject){_this2[kStream].destroy(null,(function(err){if(err){reject(err);return}resolve(createIterResult(undefined,true))}))}))})),_Object$setPrototypeO),AsyncIteratorPrototype);var createReadableStreamAsyncIterator=function createReadableStreamAsyncIterator(stream){var _Object$create;var iterator=Object.create(ReadableStreamAsyncIteratorPrototype,(_Object$create={},_defineProperty(_Object$create,kStream,{value:stream,writable:true}),_defineProperty(_Object$create,kLastResolve,{value:null,writable:true}),_defineProperty(_Object$create,kLastReject,{value:null,writable:true}),_defineProperty(_Object$create,kError,{value:null,writable:true}),_defineProperty(_Object$create,kEnded,{value:stream._readableState.endEmitted,writable:true}),_defineProperty(_Object$create,kHandlePromise,{value:function value(resolve,reject){var data=iterator[kStream].read();if(data){iterator[kLastPromise]=null;iterator[kLastResolve]=null;iterator[kLastReject]=null;resolve(createIterResult(data,false))}else{iterator[kLastResolve]=resolve;iterator[kLastReject]=reject}},writable:true}),_Object$create));iterator[kLastPromise]=null;finished(stream,(function(err){if(err&&err.code!=="ERR_STREAM_PREMATURE_CLOSE"){var reject=iterator[kLastReject];if(reject!==null){iterator[kLastPromise]=null;iterator[kLastResolve]=null;iterator[kLastReject]=null;reject(err)}iterator[kError]=err;return}var resolve=iterator[kLastResolve];if(resolve!==null){iterator[kLastPromise]=null;iterator[kLastResolve]=null;iterator[kLastReject]=null;resolve(createIterResult(undefined,true))}iterator[kEnded]=true}));stream.on("readable",onReadable.bind(null,iterator));return iterator};module.exports=createReadableStreamAsyncIterator}).call(this,require("_process"))},{"./end-of-stream":121,_process:855}],119:[function(require,module,exports){"use strict";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}));keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(Object(source),true).forEach((function(key){_defineProperty(target,key,source[key])}))}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source))}else{ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}}return target}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}var _require=require("buffer"),Buffer=_require.Buffer;var _require2=require("util"),inspect=_require2.inspect;var custom=inspect&&inspect.custom||"inspect";function copyBuffer(src,target,offset){Buffer.prototype.copy.call(src,target,offset)}module.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}_createClass(BufferList,[{key:"push",value:function push(v){var entry={data:v,next:null};if(this.length>0)this.tail.next=entry;else this.head=entry;this.tail=entry;++this.length}},{key:"unshift",value:function unshift(v){var entry={data:v,next:this.head};if(this.length===0)this.tail=entry;this.head=entry;++this.length}},{key:"shift",value:function shift(){if(this.length===0)return;var ret=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return ret}},{key:"clear",value:function clear(){this.head=this.tail=null;this.length=0}},{key:"join",value:function join(s){if(this.length===0)return"";var p=this.head;var ret=""+p.data;while(p=p.next){ret+=s+p.data}return ret}},{key:"concat",value:function concat(n){if(this.length===0)return Buffer.alloc(0);var ret=Buffer.allocUnsafe(n>>>0);var p=this.head;var i=0;while(p){copyBuffer(p.data,ret,i);i+=p.data.length;p=p.next}return ret}},{key:"consume",value:function consume(n,hasStrings){var ret;if(n<this.head.data.length){ret=this.head.data.slice(0,n);this.head.data=this.head.data.slice(n)}else if(n===this.head.data.length){ret=this.shift()}else{ret=hasStrings?this._getString(n):this._getBuffer(n)}return ret}},{key:"first",value:function first(){return this.head.data}},{key:"_getString",value:function _getString(n){var p=this.head;var c=1;var ret=p.data;n-=ret.length;while(p=p.next){var str=p.data;var nb=n>str.length?str.length:n;if(nb===str.length)ret+=str;else ret+=str.slice(0,n);n-=nb;if(n===0){if(nb===str.length){++c;if(p.next)this.head=p.next;else this.head=this.tail=null}else{this.head=p;p.data=str.slice(nb)}break}++c}this.length-=c;return ret}},{key:"_getBuffer",value:function _getBuffer(n){var ret=Buffer.allocUnsafe(n);var p=this.head;var c=1;p.data.copy(ret);n-=p.data.length;while(p=p.next){var buf=p.data;var nb=n>buf.length?buf.length:n;buf.copy(ret,ret.length-n,0,nb);n-=nb;if(n===0){if(nb===buf.length){++c;if(p.next)this.head=p.next;else this.head=this.tail=null}else{this.head=p;p.data=buf.slice(nb)}break}++c}this.length-=c;return ret}},{key:custom,value:function value(_,options){return inspect(this,_objectSpread({},options,{depth:0,customInspect:false}))}}]);return BufferList}()},{buffer:132,util:83}],120:[function(require,module,exports){(function(process){"use strict";function destroy(err,cb){var _this=this;var readableDestroyed=this._readableState&&this._readableState.destroyed;var writableDestroyed=this._writableState&&this._writableState.destroyed;if(readableDestroyed||writableDestroyed){if(cb){cb(err)}else if(err){if(!this._writableState){process.nextTick(emitErrorNT,this,err)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;process.nextTick(emitErrorNT,this,err)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(err||null,(function(err){if(!cb&&err){if(!_this._writableState){process.nextTick(emitErrorAndCloseNT,_this,err)}else if(!_this._writableState.errorEmitted){_this._writableState.errorEmitted=true;process.nextTick(emitErrorAndCloseNT,_this,err)}else{process.nextTick(emitCloseNT,_this)}}else if(cb){process.nextTick(emitCloseNT,_this);cb(err)}else{process.nextTick(emitCloseNT,_this)}}));return this}function emitErrorAndCloseNT(self,err){emitErrorNT(self,err);emitCloseNT(self)}function emitCloseNT(self){if(self._writableState&&!self._writableState.emitClose)return;if(self._readableState&&!self._readableState.emitClose)return;self.emit("close")}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(self,err){self.emit("error",err)}function errorOrDestroy(stream,err){var rState=stream._readableState;var wState=stream._writableState;if(rState&&rState.autoDestroy||wState&&wState.autoDestroy)stream.destroy(err);else stream.emit("error",err)}module.exports={destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}}).call(this,require("_process"))},{_process:855}],121:[function(require,module,exports){"use strict";var ERR_STREAM_PREMATURE_CLOSE=require("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function once(callback){var called=false;return function(){if(called)return;called=true;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}callback.apply(this,args)}}function noop(){}function isRequest(stream){return stream.setHeader&&typeof stream.abort==="function"}function eos(stream,opts,callback){if(typeof opts==="function")return eos(stream,null,opts);if(!opts)opts={};callback=once(callback||noop);var readable=opts.readable||opts.readable!==false&&stream.readable;var writable=opts.writable||opts.writable!==false&&stream.writable;var onlegacyfinish=function onlegacyfinish(){if(!stream.writable)onfinish()};var writableEnded=stream._writableState&&stream._writableState.finished;var onfinish=function onfinish(){writable=false;writableEnded=true;if(!readable)callback.call(stream)};var readableEnded=stream._readableState&&stream._readableState.endEmitted;var onend=function onend(){readable=false;readableEnded=true;if(!writable)callback.call(stream)};var onerror=function onerror(err){callback.call(stream,err)};var onclose=function onclose(){var err;if(readable&&!readableEnded){if(!stream._readableState||!stream._readableState.ended)err=new ERR_STREAM_PREMATURE_CLOSE;return callback.call(stream,err)}if(writable&&!writableEnded){if(!stream._writableState||!stream._writableState.ended)err=new ERR_STREAM_PREMATURE_CLOSE;return callback.call(stream,err)}};var onrequest=function onrequest(){stream.req.on("finish",onfinish)};if(isRequest(stream)){stream.on("complete",onfinish);stream.on("abort",onclose);if(stream.req)onrequest();else stream.on("request",onrequest)}else if(writable&&!stream._writableState){stream.on("end",onlegacyfinish);stream.on("close",onlegacyfinish)}stream.on("end",onend);stream.on("finish",onfinish);if(opts.error!==false)stream.on("error",onerror);stream.on("close",onclose);return function(){stream.removeListener("complete",onfinish);stream.removeListener("abort",onclose);stream.removeListener("request",onrequest);if(stream.req)stream.req.removeListener("finish",onfinish);stream.removeListener("end",onlegacyfinish);stream.removeListener("close",onlegacyfinish);stream.removeListener("finish",onfinish);stream.removeListener("end",onend);stream.removeListener("error",onerror);stream.removeListener("close",onclose)}}module.exports=eos},{"../../../errors":112}],122:[function(require,module,exports){module.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],123:[function(require,module,exports){"use strict";var eos;function once(callback){var called=false;return function(){if(called)return;called=true;callback.apply(void 0,arguments)}}var _require$codes=require("../../../errors").codes,ERR_MISSING_ARGS=_require$codes.ERR_MISSING_ARGS,ERR_STREAM_DESTROYED=_require$codes.ERR_STREAM_DESTROYED;function noop(err){if(err)throw err}function isRequest(stream){return stream.setHeader&&typeof stream.abort==="function"}function destroyer(stream,reading,writing,callback){callback=once(callback);var closed=false;stream.on("close",(function(){closed=true}));if(eos===undefined)eos=require("./end-of-stream");eos(stream,{readable:reading,writable:writing},(function(err){if(err)return callback(err);closed=true;callback()}));var destroyed=false;return function(err){if(closed)return;if(destroyed)return;destroyed=true;if(isRequest(stream))return stream.abort();if(typeof stream.destroy==="function")return stream.destroy();callback(err||new ERR_STREAM_DESTROYED("pipe"))}}function call(fn){fn()}function pipe(from,to){return from.pipe(to)}function popCallback(streams){if(!streams.length)return noop;if(typeof streams[streams.length-1]!=="function")return noop;return streams.pop()}function pipeline(){for(var _len=arguments.length,streams=new Array(_len),_key=0;_key<_len;_key++){streams[_key]=arguments[_key]}var callback=popCallback(streams);if(Array.isArray(streams[0]))streams=streams[0];if(streams.length<2){throw new ERR_MISSING_ARGS("streams")}var error;var destroys=streams.map((function(stream,i){var reading=i<streams.length-1;var writing=i>0;return destroyer(stream,reading,writing,(function(err){if(!error)error=err;if(err)destroys.forEach(call);if(reading)return;destroys.forEach(call);callback(error)}))}));return streams.reduce(pipe)}module.exports=pipeline},{"../../../errors":112,"./end-of-stream":121}],124:[function(require,module,exports){"use strict";var ERR_INVALID_OPT_VALUE=require("../../../errors").codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(options,isDuplex,duplexKey){return options.highWaterMark!=null?options.highWaterMark:isDuplex?options[duplexKey]:null}function getHighWaterMark(state,options,duplexKey,isDuplex){var hwm=highWaterMarkFrom(options,isDuplex,duplexKey);if(hwm!=null){if(!(isFinite(hwm)&&Math.floor(hwm)===hwm)||hwm<0){var name=isDuplex?duplexKey:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(name,hwm)}return Math.floor(hwm)}return state.objectMode?16:16*1024}module.exports={getHighWaterMark:getHighWaterMark}},{"../../../errors":112}],125:[function(require,module,exports){module.exports=require("events").EventEmitter},{events:241}],126:[function(require,module,exports){exports=module.exports=require("./lib/_stream_readable.js");exports.Stream=exports;exports.Readable=exports;exports.Writable=require("./lib/_stream_writable.js");exports.Duplex=require("./lib/_stream_duplex.js");exports.Transform=require("./lib/_stream_transform.js");exports.PassThrough=require("./lib/_stream_passthrough.js");exports.finished=require("./lib/internal/streams/end-of-stream.js");exports.pipeline=require("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":113,"./lib/_stream_passthrough.js":114,"./lib/_stream_readable.js":115,"./lib/_stream_transform.js":116,"./lib/_stream_writable.js":117,"./lib/internal/streams/end-of-stream.js":121,"./lib/internal/streams/pipeline.js":123}],127:[function(require,module,exports){(function(process,Buffer){"use strict";var assert=require("assert");var Zstream=require("pako/lib/zlib/zstream");var zlib_deflate=require("pako/lib/zlib/deflate.js");var zlib_inflate=require("pako/lib/zlib/inflate.js");var constants=require("pako/lib/zlib/constants");for(var key in constants){exports[key]=constants[key]}exports.NONE=0;exports.DEFLATE=1;exports.INFLATE=2;exports.GZIP=3;exports.GUNZIP=4;exports.DEFLATERAW=5;exports.INFLATERAW=6;exports.UNZIP=7;var GZIP_HEADER_ID1=31;var GZIP_HEADER_ID2=139;function Zlib(mode){if(typeof mode!=="number"||mode<exports.DEFLATE||mode>exports.UNZIP){throw new TypeError("Bad argument")}this.dictionary=null;this.err=0;this.flush=0;this.init_done=false;this.level=0;this.memLevel=0;this.mode=mode;this.strategy=0;this.windowBits=0;this.write_in_progress=false;this.pending_close=false;this.gzip_id_bytes_read=0}Zlib.prototype.close=function(){if(this.write_in_progress){this.pending_close=true;return}this.pending_close=false;assert(this.init_done,"close before init");assert(this.mode<=exports.UNZIP);if(this.mode===exports.DEFLATE||this.mode===exports.GZIP||this.mode===exports.DEFLATERAW){zlib_deflate.deflateEnd(this.strm)}else if(this.mode===exports.INFLATE||this.mode===exports.GUNZIP||this.mode===exports.INFLATERAW||this.mode===exports.UNZIP){zlib_inflate.inflateEnd(this.strm)}this.mode=exports.NONE;this.dictionary=null};Zlib.prototype.write=function(flush,input,in_off,in_len,out,out_off,out_len){return this._write(true,flush,input,in_off,in_len,out,out_off,out_len)};Zlib.prototype.writeSync=function(flush,input,in_off,in_len,out,out_off,out_len){return this._write(false,flush,input,in_off,in_len,out,out_off,out_len)};Zlib.prototype._write=function(async,flush,input,in_off,in_len,out,out_off,out_len){assert.equal(arguments.length,8);assert(this.init_done,"write before init");assert(this.mode!==exports.NONE,"already finalized");assert.equal(false,this.write_in_progress,"write already in progress");assert.equal(false,this.pending_close,"close is pending");this.write_in_progress=true;assert.equal(false,flush===undefined,"must provide flush value");this.write_in_progress=true;if(flush!==exports.Z_NO_FLUSH&&flush!==exports.Z_PARTIAL_FLUSH&&flush!==exports.Z_SYNC_FLUSH&&flush!==exports.Z_FULL_FLUSH&&flush!==exports.Z_FINISH&&flush!==exports.Z_BLOCK){throw new Error("Invalid flush value")}if(input==null){input=Buffer.alloc(0);in_len=0;in_off=0}this.strm.avail_in=in_len;this.strm.input=input;this.strm.next_in=in_off;this.strm.avail_out=out_len;this.strm.output=out;this.strm.next_out=out_off;this.flush=flush;if(!async){this._process();if(this._checkError()){return this._afterSync()}return}var self=this;process.nextTick((function(){self._process();self._after()}));return this};Zlib.prototype._afterSync=function(){var avail_out=this.strm.avail_out;var avail_in=this.strm.avail_in;this.write_in_progress=false;return[avail_in,avail_out]};Zlib.prototype._process=function(){var next_expected_header_byte=null;switch(this.mode){case exports.DEFLATE:case exports.GZIP:case exports.DEFLATERAW:this.err=zlib_deflate.deflate(this.strm,this.flush);break;case exports.UNZIP:if(this.strm.avail_in>0){next_expected_header_byte=this.strm.next_in}switch(this.gzip_id_bytes_read){case 0:if(next_expected_header_byte===null){break}if(this.strm.input[next_expected_header_byte]===GZIP_HEADER_ID1){this.gzip_id_bytes_read=1;next_expected_header_byte++;if(this.strm.avail_in===1){break}}else{this.mode=exports.INFLATE;break}case 1:if(next_expected_header_byte===null){break}if(this.strm.input[next_expected_header_byte]===GZIP_HEADER_ID2){this.gzip_id_bytes_read=2;this.mode=exports.GUNZIP}else{this.mode=exports.INFLATE}break;default:throw new Error("invalid number of gzip magic number bytes read")}case exports.INFLATE:case exports.GUNZIP:case exports.INFLATERAW:this.err=zlib_inflate.inflate(this.strm,this.flush);if(this.err===exports.Z_NEED_DICT&&this.dictionary){this.err=zlib_inflate.inflateSetDictionary(this.strm,this.dictionary);if(this.err===exports.Z_OK){this.err=zlib_inflate.inflate(this.strm,this.flush)}else if(this.err===exports.Z_DATA_ERROR){this.err=exports.Z_NEED_DICT}}while(this.strm.avail_in>0&&this.mode===exports.GUNZIP&&this.err===exports.Z_STREAM_END&&this.strm.next_in[0]!==0){this.reset();this.err=zlib_inflate.inflate(this.strm,this.flush)}break;default:throw new Error("Unknown mode "+this.mode)}};Zlib.prototype._checkError=function(){switch(this.err){case exports.Z_OK:case exports.Z_BUF_ERROR:if(this.strm.avail_out!==0&&this.flush===exports.Z_FINISH){this._error("unexpected end of file");return false}break;case exports.Z_STREAM_END:break;case exports.Z_NEED_DICT:if(this.dictionary==null){this._error("Missing dictionary")}else{this._error("Bad dictionary")}return false;default:this._error("Zlib error");return false}return true};Zlib.prototype._after=function(){if(!this._checkError()){return}var avail_out=this.strm.avail_out;var avail_in=this.strm.avail_in;this.write_in_progress=false;this.callback(avail_in,avail_out);if(this.pending_close){this.close()}};Zlib.prototype._error=function(message){if(this.strm.msg){message=this.strm.msg}this.onerror(message,this.err);this.write_in_progress=false;if(this.pending_close){this.close()}};Zlib.prototype.init=function(windowBits,level,memLevel,strategy,dictionary){assert(arguments.length===4||arguments.length===5,"init(windowBits, level, memLevel, strategy, [dictionary])");assert(windowBits>=8&&windowBits<=15,"invalid windowBits");assert(level>=-1&&level<=9,"invalid compression level");assert(memLevel>=1&&memLevel<=9,"invalid memlevel");assert(strategy===exports.Z_FILTERED||strategy===exports.Z_HUFFMAN_ONLY||strategy===exports.Z_RLE||strategy===exports.Z_FIXED||strategy===exports.Z_DEFAULT_STRATEGY,"invalid strategy");this._init(level,windowBits,memLevel,strategy,dictionary);this._setDictionary()};Zlib.prototype.params=function(){throw new Error("deflateParams Not supported")};Zlib.prototype.reset=function(){this._reset();this._setDictionary()};Zlib.prototype._init=function(level,windowBits,memLevel,strategy,dictionary){this.level=level;this.windowBits=windowBits;this.memLevel=memLevel;this.strategy=strategy;this.flush=exports.Z_NO_FLUSH;this.err=exports.Z_OK;if(this.mode===exports.GZIP||this.mode===exports.GUNZIP){this.windowBits+=16}if(this.mode===exports.UNZIP){this.windowBits+=32}if(this.mode===exports.DEFLATERAW||this.mode===exports.INFLATERAW){this.windowBits=-1*this.windowBits}this.strm=new Zstream;switch(this.mode){case exports.DEFLATE:case exports.GZIP:case exports.DEFLATERAW:this.err=zlib_deflate.deflateInit2(this.strm,this.level,exports.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case exports.INFLATE:case exports.GUNZIP:case exports.INFLATERAW:case exports.UNZIP:this.err=zlib_inflate.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}if(this.err!==exports.Z_OK){this._error("Init error")}this.dictionary=dictionary;this.write_in_progress=false;this.init_done=true};Zlib.prototype._setDictionary=function(){if(this.dictionary==null){return}this.err=exports.Z_OK;switch(this.mode){case exports.DEFLATE:case exports.DEFLATERAW:this.err=zlib_deflate.deflateSetDictionary(this.strm,this.dictionary);break;default:break}if(this.err!==exports.Z_OK){this._error("Failed to set dictionary")}};Zlib.prototype._reset=function(){this.err=exports.Z_OK;switch(this.mode){case exports.DEFLATE:case exports.DEFLATERAW:case exports.GZIP:this.err=zlib_deflate.deflateReset(this.strm);break;case exports.INFLATE:case exports.INFLATERAW:case exports.GUNZIP:this.err=zlib_inflate.inflateReset(this.strm);break;default:break}if(this.err!==exports.Z_OK){this._error("Failed to reset stream")}};exports.Zlib=Zlib}).call(this,require("_process"),require("buffer").Buffer)},{_process:855,assert:71,buffer:132,"pako/lib/zlib/constants":808,"pako/lib/zlib/deflate.js":810,"pako/lib/zlib/inflate.js":812,"pako/lib/zlib/zstream":816}],128:[function(require,module,exports){(function(process){"use strict";var Buffer=require("buffer").Buffer;var Transform=require("stream").Transform;var binding=require("./binding");var util=require("util");var assert=require("assert").ok;var kMaxLength=require("buffer").kMaxLength;var kRangeErrorMessage="Cannot create final Buffer. It would be larger "+"than 0x"+kMaxLength.toString(16)+" bytes";binding.Z_MIN_WINDOWBITS=8;binding.Z_MAX_WINDOWBITS=15;binding.Z_DEFAULT_WINDOWBITS=15;binding.Z_MIN_CHUNK=64;binding.Z_MAX_CHUNK=Infinity;binding.Z_DEFAULT_CHUNK=16*1024;binding.Z_MIN_MEMLEVEL=1;binding.Z_MAX_MEMLEVEL=9;binding.Z_DEFAULT_MEMLEVEL=8;binding.Z_MIN_LEVEL=-1;binding.Z_MAX_LEVEL=9;binding.Z_DEFAULT_LEVEL=binding.Z_DEFAULT_COMPRESSION;var bkeys=Object.keys(binding);for(var bk=0;bk<bkeys.length;bk++){var bkey=bkeys[bk];if(bkey.match(/^Z/)){Object.defineProperty(exports,bkey,{enumerable:true,value:binding[bkey],writable:false})}}var codes={Z_OK:binding.Z_OK,Z_STREAM_END:binding.Z_STREAM_END,Z_NEED_DICT:binding.Z_NEED_DICT,Z_ERRNO:binding.Z_ERRNO,Z_STREAM_ERROR:binding.Z_STREAM_ERROR,Z_DATA_ERROR:binding.Z_DATA_ERROR,Z_MEM_ERROR:binding.Z_MEM_ERROR,Z_BUF_ERROR:binding.Z_BUF_ERROR,Z_VERSION_ERROR:binding.Z_VERSION_ERROR};var ckeys=Object.keys(codes);for(var ck=0;ck<ckeys.length;ck++){var ckey=ckeys[ck];codes[codes[ckey]]=ckey}Object.defineProperty(exports,"codes",{enumerable:true,value:Object.freeze(codes),writable:false});exports.Deflate=Deflate;exports.Inflate=Inflate;exports.Gzip=Gzip;exports.Gunzip=Gunzip;exports.DeflateRaw=DeflateRaw;exports.InflateRaw=InflateRaw;exports.Unzip=Unzip;exports.createDeflate=function(o){return new Deflate(o)};exports.createInflate=function(o){return new Inflate(o)};exports.createDeflateRaw=function(o){return new DeflateRaw(o)};exports.createInflateRaw=function(o){return new InflateRaw(o)};exports.createGzip=function(o){return new Gzip(o)};exports.createGunzip=function(o){return new Gunzip(o)};exports.createUnzip=function(o){return new Unzip(o)};exports.deflate=function(buffer,opts,callback){if(typeof opts==="function"){callback=opts;opts={}}return zlibBuffer(new Deflate(opts),buffer,callback)};exports.deflateSync=function(buffer,opts){return zlibBufferSync(new Deflate(opts),buffer)};exports.gzip=function(buffer,opts,callback){if(typeof opts==="function"){callback=opts;opts={}}return zlibBuffer(new Gzip(opts),buffer,callback)};exports.gzipSync=function(buffer,opts){return zlibBufferSync(new Gzip(opts),buffer)};exports.deflateRaw=function(buffer,opts,callback){if(typeof opts==="function"){callback=opts;opts={}}return zlibBuffer(new DeflateRaw(opts),buffer,callback)};exports.deflateRawSync=function(buffer,opts){return zlibBufferSync(new DeflateRaw(opts),buffer)};exports.unzip=function(buffer,opts,callback){if(typeof opts==="function"){callback=opts;opts={}}return zlibBuffer(new Unzip(opts),buffer,callback)};exports.unzipSync=function(buffer,opts){return zlibBufferSync(new Unzip(opts),buffer)};exports.inflate=function(buffer,opts,callback){if(typeof opts==="function"){callback=opts;opts={}}return zlibBuffer(new Inflate(opts),buffer,callback)};exports.inflateSync=function(buffer,opts){return zlibBufferSync(new Inflate(opts),buffer)};exports.gunzip=function(buffer,opts,callback){if(typeof opts==="function"){callback=opts;opts={}}return zlibBuffer(new Gunzip(opts),buffer,callback)};exports.gunzipSync=function(buffer,opts){return zlibBufferSync(new Gunzip(opts),buffer)};exports.inflateRaw=function(buffer,opts,callback){if(typeof opts==="function"){callback=opts;opts={}}return zlibBuffer(new InflateRaw(opts),buffer,callback)};exports.inflateRawSync=function(buffer,opts){return zlibBufferSync(new InflateRaw(opts),buffer)};function zlibBuffer(engine,buffer,callback){var buffers=[];var nread=0;engine.on("error",onError);engine.on("end",onEnd);engine.end(buffer);flow();function flow(){var chunk;while(null!==(chunk=engine.read())){buffers.push(chunk);nread+=chunk.length}engine.once("readable",flow)}function onError(err){engine.removeListener("end",onEnd);engine.removeListener("readable",flow);callback(err)}function onEnd(){var buf;var err=null;if(nread>=kMaxLength){err=new RangeError(kRangeErrorMessage)}else{buf=Buffer.concat(buffers,nread)}buffers=[];engine.close();callback(err,buf)}}function zlibBufferSync(engine,buffer){if(typeof buffer==="string")buffer=Buffer.from(buffer);if(!Buffer.isBuffer(buffer))throw new TypeError("Not a string or buffer");var flushFlag=engine._finishFlushFlag;return engine._processChunk(buffer,flushFlag)}function Deflate(opts){if(!(this instanceof Deflate))return new Deflate(opts);Zlib.call(this,opts,binding.DEFLATE)}function Inflate(opts){if(!(this instanceof Inflate))return new Inflate(opts);Zlib.call(this,opts,binding.INFLATE)}function Gzip(opts){if(!(this instanceof Gzip))return new Gzip(opts);Zlib.call(this,opts,binding.GZIP)}function Gunzip(opts){if(!(this instanceof Gunzip))return new Gunzip(opts);Zlib.call(this,opts,binding.GUNZIP)}function DeflateRaw(opts){if(!(this instanceof DeflateRaw))return new DeflateRaw(opts);Zlib.call(this,opts,binding.DEFLATERAW)}function InflateRaw(opts){if(!(this instanceof InflateRaw))return new InflateRaw(opts);Zlib.call(this,opts,binding.INFLATERAW)}function Unzip(opts){if(!(this instanceof Unzip))return new Unzip(opts);Zlib.call(this,opts,binding.UNZIP)}function isValidFlushFlag(flag){return flag===binding.Z_NO_FLUSH||flag===binding.Z_PARTIAL_FLUSH||flag===binding.Z_SYNC_FLUSH||flag===binding.Z_FULL_FLUSH||flag===binding.Z_FINISH||flag===binding.Z_BLOCK}function Zlib(opts,mode){var _this=this;this._opts=opts=opts||{};this._chunkSize=opts.chunkSize||exports.Z_DEFAULT_CHUNK;Transform.call(this,opts);if(opts.flush&&!isValidFlushFlag(opts.flush)){throw new Error("Invalid flush flag: "+opts.flush)}if(opts.finishFlush&&!isValidFlushFlag(opts.finishFlush)){throw new Error("Invalid flush flag: "+opts.finishFlush)}this._flushFlag=opts.flush||binding.Z_NO_FLUSH;this._finishFlushFlag=typeof opts.finishFlush!=="undefined"?opts.finishFlush:binding.Z_FINISH;if(opts.chunkSize){if(opts.chunkSize<exports.Z_MIN_CHUNK||opts.chunkSize>exports.Z_MAX_CHUNK){throw new Error("Invalid chunk size: "+opts.chunkSize)}}if(opts.windowBits){if(opts.windowBits<exports.Z_MIN_WINDOWBITS||opts.windowBits>exports.Z_MAX_WINDOWBITS){throw new Error("Invalid windowBits: "+opts.windowBits)}}if(opts.level){if(opts.level<exports.Z_MIN_LEVEL||opts.level>exports.Z_MAX_LEVEL){throw new Error("Invalid compression level: "+opts.level)}}if(opts.memLevel){if(opts.memLevel<exports.Z_MIN_MEMLEVEL||opts.memLevel>exports.Z_MAX_MEMLEVEL){throw new Error("Invalid memLevel: "+opts.memLevel)}}if(opts.strategy){if(opts.strategy!=exports.Z_FILTERED&&opts.strategy!=exports.Z_HUFFMAN_ONLY&&opts.strategy!=exports.Z_RLE&&opts.strategy!=exports.Z_FIXED&&opts.strategy!=exports.Z_DEFAULT_STRATEGY){throw new Error("Invalid strategy: "+opts.strategy)}}if(opts.dictionary){if(!Buffer.isBuffer(opts.dictionary)){throw new Error("Invalid dictionary: it should be a Buffer instance")}}this._handle=new binding.Zlib(mode);var self=this;this._hadError=false;this._handle.onerror=function(message,errno){_close(self);self._hadError=true;var error=new Error(message);error.errno=errno;error.code=exports.codes[errno];self.emit("error",error)};var level=exports.Z_DEFAULT_COMPRESSION;if(typeof opts.level==="number")level=opts.level;var strategy=exports.Z_DEFAULT_STRATEGY;if(typeof opts.strategy==="number")strategy=opts.strategy;this._handle.init(opts.windowBits||exports.Z_DEFAULT_WINDOWBITS,level,opts.memLevel||exports.Z_DEFAULT_MEMLEVEL,strategy,opts.dictionary);this._buffer=Buffer.allocUnsafe(this._chunkSize);this._offset=0;this._level=level;this._strategy=strategy;this.once("end",this.close);Object.defineProperty(this,"_closed",{get:function(){return!_this._handle},configurable:true,enumerable:true})}util.inherits(Zlib,Transform);Zlib.prototype.params=function(level,strategy,callback){if(level<exports.Z_MIN_LEVEL||level>exports.Z_MAX_LEVEL){throw new RangeError("Invalid compression level: "+level)}if(strategy!=exports.Z_FILTERED&&strategy!=exports.Z_HUFFMAN_ONLY&&strategy!=exports.Z_RLE&&strategy!=exports.Z_FIXED&&strategy!=exports.Z_DEFAULT_STRATEGY){throw new TypeError("Invalid strategy: "+strategy)}if(this._level!==level||this._strategy!==strategy){var self=this;this.flush(binding.Z_SYNC_FLUSH,(function(){assert(self._handle,"zlib binding closed");self._handle.params(level,strategy);if(!self._hadError){self._level=level;self._strategy=strategy;if(callback)callback()}}))}else{process.nextTick(callback)}};Zlib.prototype.reset=function(){assert(this._handle,"zlib binding closed");return this._handle.reset()};Zlib.prototype._flush=function(callback){this._transform(Buffer.alloc(0),"",callback)};Zlib.prototype.flush=function(kind,callback){var _this2=this;var ws=this._writableState;if(typeof kind==="function"||kind===undefined&&!callback){callback=kind;kind=binding.Z_FULL_FLUSH}if(ws.ended){if(callback)process.nextTick(callback)}else if(ws.ending){if(callback)this.once("end",callback)}else if(ws.needDrain){if(callback){this.once("drain",(function(){return _this2.flush(kind,callback)}))}}else{this._flushFlag=kind;this.write(Buffer.alloc(0),"",callback)}};Zlib.prototype.close=function(callback){_close(this,callback);process.nextTick(emitCloseNT,this)};function _close(engine,callback){if(callback)process.nextTick(callback);if(!engine._handle)return;engine._handle.close();engine._handle=null}function emitCloseNT(self){self.emit("close")}Zlib.prototype._transform=function(chunk,encoding,cb){var flushFlag;var ws=this._writableState;var ending=ws.ending||ws.ended;var last=ending&&(!chunk||ws.length===chunk.length);if(chunk!==null&&!Buffer.isBuffer(chunk))return cb(new Error("invalid input"));if(!this._handle)return cb(new Error("zlib binding closed"));if(last)flushFlag=this._finishFlushFlag;else{flushFlag=this._flushFlag;if(chunk.length>=ws.length){this._flushFlag=this._opts.flush||binding.Z_NO_FLUSH}}this._processChunk(chunk,flushFlag,cb)};Zlib.prototype._processChunk=function(chunk,flushFlag,cb){var availInBefore=chunk&&chunk.length;var availOutBefore=this._chunkSize-this._offset;var inOff=0;var self=this;var async=typeof cb==="function";if(!async){var buffers=[];var nread=0;var error;this.on("error",(function(er){error=er}));assert(this._handle,"zlib binding closed");do{var res=this._handle.writeSync(flushFlag,chunk,inOff,availInBefore,this._buffer,this._offset,availOutBefore)}while(!this._hadError&&callback(res[0],res[1]));if(this._hadError){throw error}if(nread>=kMaxLength){_close(this);throw new RangeError(kRangeErrorMessage)}var buf=Buffer.concat(buffers,nread);_close(this);return buf}assert(this._handle,"zlib binding closed");var req=this._handle.write(flushFlag,chunk,inOff,availInBefore,this._buffer,this._offset,availOutBefore);req.buffer=chunk;req.callback=callback;function callback(availInAfter,availOutAfter){if(this){this.buffer=null;this.callback=null}if(self._hadError)return;var have=availOutBefore-availOutAfter;assert(have>=0,"have should not go down");if(have>0){var out=self._buffer.slice(self._offset,self._offset+have);self._offset+=have;if(async){self.push(out)}else{buffers.push(out);nread+=out.length}}if(availOutAfter===0||self._offset>=self._chunkSize){availOutBefore=self._chunkSize;self._offset=0;self._buffer=Buffer.allocUnsafe(self._chunkSize)}if(availOutAfter===0){inOff+=availInBefore-availInAfter;availInBefore=availInAfter;if(!async)return true;var newReq=self._handle.write(flushFlag,chunk,inOff,availInBefore,self._buffer,self._offset,self._chunkSize);newReq.callback=callback;newReq.buffer=chunk;return}if(!async)return false;cb()}};util.inherits(Deflate,Zlib);util.inherits(Inflate,Zlib);util.inherits(Gzip,Zlib);util.inherits(Gunzip,Zlib);util.inherits(DeflateRaw,Zlib);util.inherits(InflateRaw,Zlib);util.inherits(Unzip,Zlib)}).call(this,require("_process"))},{"./binding":127,_process:855,assert:71,buffer:132,stream:955,util:1e3}],129:[function(require,module,exports){arguments[4][83][0].apply(exports,arguments)},{dup:83}],130:[function(require,module,exports){(function(global){(function(root){var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var freeModule=typeof module=="object"&&module&&!module.nodeType&&module;var freeGlobal=typeof global=="object"&&global;if(freeGlobal.global===freeGlobal||freeGlobal.window===freeGlobal||freeGlobal.self===freeGlobal){root=freeGlobal}var punycode,maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\x20-\x7E]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode,key;function error(type){throw new RangeError(errors[type])}function map(array,fn){var length=array.length;var result=[];while(length--){result[length]=fn(array[length])}return result}function mapDomain(string,fn){var parts=string.split("@");var result="";if(parts.length>1){result=parts[0]+"@";string=parts[1]}string=string.replace(regexSeparators,".");var labels=string.split(".");var encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){var output=[],counter=0,length=string.length,value,extra;while(counter<length){value=string.charCodeAt(counter++);if(value>=55296&&value<=56319&&counter<length){extra=string.charCodeAt(counter++);if((extra&64512)==56320){output.push(((value&1023)<<10)+(extra&1023)+65536)}else{output.push(value);counter--}}else{output.push(value)}}return output}function ucs2encode(array){return map(array,(function(value){var output="";if(value>65535){value-=65536;output+=stringFromCharCode(value>>>10&1023|55296);value=56320|value&1023}output+=stringFromCharCode(value);return output})).join("")}function basicToDigit(codePoint){if(codePoint-48<10){return codePoint-22}if(codePoint-65<26){return codePoint-65}if(codePoint-97<26){return codePoint-97}return base}function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((flag!=0)<<5)}function adapt(delta,numPoints,firstTime){var k=0;delta=firstTime?floor(delta/damp):delta>>1;delta+=floor(delta/numPoints);for(;delta>baseMinusTMin*tMax>>1;k+=base){delta=floor(delta/baseMinusTMin)}return floor(k+(baseMinusTMin+1)*delta/(delta+skew))}function decode(input){var output=[],inputLength=input.length,out,i=0,n=initialN,bias=initialBias,basic,j,index,oldi,w,k,digit,t,baseMinusT;basic=input.lastIndexOf(delimiter);if(basic<0){basic=0}for(j=0;j<basic;++j){if(input.charCodeAt(j)>=128){error("not-basic")}output.push(input.charCodeAt(j))}for(index=basic>0?basic+1:0;index<inputLength;){for(oldi=i,w=1,k=base;;k+=base){if(index>=inputLength){error("invalid-input")}digit=basicToDigit(input.charCodeAt(index++));if(digit>=base||digit>floor((maxInt-i)/w)){error("overflow")}i+=digit*w;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digit<t){break}baseMinusT=base-t;if(w>floor(maxInt/baseMinusT)){error("overflow")}w*=baseMinusT}out=output.length+1;bias=adapt(i-oldi,out,oldi==0);if(floor(i/out)>maxInt-n){error("overflow")}n+=floor(i/out);i%=out;output.splice(i++,0,n)}return ucs2encode(output)}function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,output=[],inputLength,handledCPCountPlusOne,baseMinusT,qMinusT;input=ucs2decode(input);inputLength=input.length;n=initialN;delta=0;bias=initialBias;for(j=0;j<inputLength;++j){currentValue=input[j];if(currentValue<128){output.push(stringFromCharCode(currentValue))}}handledCPCount=basicLength=output.length;if(basicLength){output.push(delimiter)}while(handledCPCount<inputLength){for(m=maxInt,j=0;j<inputLength;++j){currentValue=input[j];if(currentValue>=n&¤tValue<m){m=currentValue}}handledCPCountPlusOne=handledCPCount+1;if(m-n>floor((maxInt-delta)/handledCPCountPlusOne)){error("overflow")}delta+=(m-n)*handledCPCountPlusOne;n=m;for(j=0;j<inputLength;++j){currentValue=input[j];if(currentValue<n&&++delta>maxInt){error("overflow")}if(currentValue==n){for(q=delta,k=base;;k+=base){t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q<t){break}qMinusT=q-t;baseMinusT=base-t;output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0)));q=floor(qMinusT/baseMinusT)}output.push(stringFromCharCode(digitToBasic(q,0)));bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength);delta=0;++handledCPCount}}++delta;++n}return output.join("")}function toUnicode(input){return mapDomain(input,(function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string}))}function toASCII(input){return mapDomain(input,(function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string}))}punycode={version:"1.4.1",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:toASCII,toUnicode:toUnicode};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define("punycode",(function(){return punycode}))}else if(freeExports&&freeModule){if(module.exports==freeExports){freeModule.exports=punycode}else{for(key in punycode){punycode.hasOwnProperty(key)&&(freeExports[key]=punycode[key])}}}else{root.punycode=punycode}})(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],131:[function(require,module,exports){(function(Buffer){module.exports=function xor(a,b){var length=Math.min(a.length,b.length);var buffer=new Buffer(length);for(var i=0;i<length;++i){buffer[i]=a[i]^b[i]}return buffer}}).call(this,require("buffer").Buffer)},{buffer:132}],132:[function(require,module,exports){(function(Buffer){
|
||
/*!
|
||
* The buffer module from node.js, for the browser.
|
||
*
|
||
* @author Feross Aboukhadijeh <https://feross.org>
|
||
* @license MIT
|
||
*/
|
||
"use strict";var base64=require("base64-js");var ieee754=require("ieee754");exports.Buffer=Buffer;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;var K_MAX_LENGTH=2147483647;exports.kMaxLength=K_MAX_LENGTH;Buffer.TYPED_ARRAY_SUPPORT=typedArraySupport();if(!Buffer.TYPED_ARRAY_SUPPORT&&typeof console!=="undefined"&&typeof console.error==="function"){console.error("This browser lacks typed array (Uint8Array) support which is required by "+"`buffer` v5.x. Use `buffer` v4.x if you require old browser support.")}function typedArraySupport(){try{var arr=new Uint8Array(1);arr.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return arr.foo()===42}catch(e){return false}}Object.defineProperty(Buffer.prototype,"parent",{enumerable:true,get:function(){if(!Buffer.isBuffer(this))return undefined;return this.buffer}});Object.defineProperty(Buffer.prototype,"offset",{enumerable:true,get:function(){if(!Buffer.isBuffer(this))return undefined;return this.byteOffset}});function createBuffer(length){if(length>K_MAX_LENGTH){throw new RangeError('The value "'+length+'" is invalid for option "size"')}var buf=new Uint8Array(length);buf.__proto__=Buffer.prototype;return buf}function Buffer(arg,encodingOrOffset,length){if(typeof arg==="number"){if(typeof encodingOrOffset==="string"){throw new TypeError('The "string" argument must be of type string. Received type number')}return allocUnsafe(arg)}return from(arg,encodingOrOffset,length)}if(typeof Symbol!=="undefined"&&Symbol.species!=null&&Buffer[Symbol.species]===Buffer){Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:true,enumerable:false,writable:false})}Buffer.poolSize=8192;function from(value,encodingOrOffset,length){if(typeof value==="string"){return fromString(value,encodingOrOffset)}if(ArrayBuffer.isView(value)){return fromArrayLike(value)}if(value==null){throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, "+"or Array-like Object. Received type "+typeof value)}if(isInstance(value,ArrayBuffer)||value&&isInstance(value.buffer,ArrayBuffer)){return fromArrayBuffer(value,encodingOrOffset,length)}if(typeof value==="number"){throw new TypeError('The "value" argument must not be of type number. Received type number')}var valueOf=value.valueOf&&value.valueOf();if(valueOf!=null&&valueOf!==value){return Buffer.from(valueOf,encodingOrOffset,length)}var b=fromObject(value);if(b)return b;if(typeof Symbol!=="undefined"&&Symbol.toPrimitive!=null&&typeof value[Symbol.toPrimitive]==="function"){return Buffer.from(value[Symbol.toPrimitive]("string"),encodingOrOffset,length)}throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, "+"or Array-like Object. Received type "+typeof value)}Buffer.from=function(value,encodingOrOffset,length){return from(value,encodingOrOffset,length)};Buffer.prototype.__proto__=Uint8Array.prototype;Buffer.__proto__=Uint8Array;function assertSize(size){if(typeof size!=="number"){throw new TypeError('"size" argument must be of type number')}else if(size<0){throw new RangeError('The value "'+size+'" is invalid for option "size"')}}function alloc(size,fill,encoding){assertSize(size);if(size<=0){return createBuffer(size)}if(fill!==undefined){return typeof encoding==="string"?createBuffer(size).fill(fill,encoding):createBuffer(size).fill(fill)}return createBuffer(size)}Buffer.alloc=function(size,fill,encoding){return alloc(size,fill,encoding)};function allocUnsafe(size){assertSize(size);return createBuffer(size<0?0:checked(size)|0)}Buffer.allocUnsafe=function(size){return allocUnsafe(size)};Buffer.allocUnsafeSlow=function(size){return allocUnsafe(size)};function fromString(string,encoding){if(typeof encoding!=="string"||encoding===""){encoding="utf8"}if(!Buffer.isEncoding(encoding)){throw new TypeError("Unknown encoding: "+encoding)}var length=byteLength(string,encoding)|0;var buf=createBuffer(length);var actual=buf.write(string,encoding);if(actual!==length){buf=buf.slice(0,actual)}return buf}function fromArrayLike(array){var length=array.length<0?0:checked(array.length)|0;var buf=createBuffer(length);for(var i=0;i<length;i+=1){buf[i]=array[i]&255}return buf}function fromArrayBuffer(array,byteOffset,length){if(byteOffset<0||array.byteLength<byteOffset){throw new RangeError('"offset" is outside of buffer bounds')}if(array.byteLength<byteOffset+(length||0)){throw new RangeError('"length" is outside of buffer bounds')}var buf;if(byteOffset===undefined&&length===undefined){buf=new Uint8Array(array)}else if(length===undefined){buf=new Uint8Array(array,byteOffset)}else{buf=new Uint8Array(array,byteOffset,length)}buf.__proto__=Buffer.prototype;return buf}function fromObject(obj){if(Buffer.isBuffer(obj)){var len=checked(obj.length)|0;var buf=createBuffer(len);if(buf.length===0){return buf}obj.copy(buf,0,0,len);return buf}if(obj.length!==undefined){if(typeof obj.length!=="number"||numberIsNaN(obj.length)){return createBuffer(0)}return fromArrayLike(obj)}if(obj.type==="Buffer"&&Array.isArray(obj.data)){return fromArrayLike(obj.data)}}function checked(length){if(length>=K_MAX_LENGTH){throw new RangeError("Attempt to allocate Buffer larger than maximum "+"size: 0x"+K_MAX_LENGTH.toString(16)+" bytes")}return length|0}function SlowBuffer(length){if(+length!=length){length=0}return Buffer.alloc(+length)}Buffer.isBuffer=function isBuffer(b){return b!=null&&b._isBuffer===true&&b!==Buffer.prototype};Buffer.compare=function compare(a,b){if(isInstance(a,Uint8Array))a=Buffer.from(a,a.offset,a.byteLength);if(isInstance(b,Uint8Array))b=Buffer.from(b,b.offset,b.byteLength);if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b)){throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array')}if(a===b)return 0;var x=a.length;var y=b.length;for(var i=0,len=Math.min(x,y);i<len;++i){if(a[i]!==b[i]){x=a[i];y=b[i];break}}if(x<y)return-1;if(y<x)return 1;return 0};Buffer.isEncoding=function isEncoding(encoding){switch(String(encoding).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return true;default:return false}};Buffer.concat=function concat(list,length){if(!Array.isArray(list)){throw new TypeError('"list" argument must be an Array of Buffers')}if(list.length===0){return Buffer.alloc(0)}var i;if(length===undefined){length=0;for(i=0;i<list.length;++i){length+=list[i].length}}var buffer=Buffer.allocUnsafe(length);var pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(isInstance(buf,Uint8Array)){buf=Buffer.from(buf)}if(!Buffer.isBuffer(buf)){throw new TypeError('"list" argument must be an Array of Buffers')}buf.copy(buffer,pos);pos+=buf.length}return buffer};function byteLength(string,encoding){if(Buffer.isBuffer(string)){return string.length}if(ArrayBuffer.isView(string)||isInstance(string,ArrayBuffer)){return string.byteLength}if(typeof string!=="string"){throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. '+"Received type "+typeof string)}var len=string.length;var mustMatch=arguments.length>2&&arguments[2]===true;if(!mustMatch&&len===0)return 0;var loweredCase=false;for(;;){switch(encoding){case"ascii":case"latin1":case"binary":return len;case"utf8":case"utf-8":return utf8ToBytes(string).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return len*2;case"hex":return len>>>1;case"base64":return base64ToBytes(string).length;default:if(loweredCase){return mustMatch?-1:utf8ToBytes(string).length}encoding=(""+encoding).toLowerCase();loweredCase=true}}}Buffer.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=false;if(start===undefined||start<0){start=0}if(start>this.length){return""}if(end===undefined||end>this.length){end=this.length}if(end<=0){return""}end>>>=0;start>>>=0;if(end<=start){return""}if(!encoding)encoding="utf8";while(true){switch(encoding){case"hex":return hexSlice(this,start,end);case"utf8":case"utf-8":return utf8Slice(this,start,end);case"ascii":return asciiSlice(this,start,end);case"latin1":case"binary":return latin1Slice(this,start,end);case"base64":return base64Slice(this,start,end);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(encoding+"").toLowerCase();loweredCase=true}}}Buffer.prototype._isBuffer=true;function swap(b,n,m){var i=b[n];b[n]=b[m];b[m]=i}Buffer.prototype.swap16=function swap16(){var len=this.length;if(len%2!==0){throw new RangeError("Buffer size must be a multiple of 16-bits")}for(var i=0;i<len;i+=2){swap(this,i,i+1)}return this};Buffer.prototype.swap32=function swap32(){var len=this.length;if(len%4!==0){throw new RangeError("Buffer size must be a multiple of 32-bits")}for(var i=0;i<len;i+=4){swap(this,i,i+3);swap(this,i+1,i+2)}return this};Buffer.prototype.swap64=function swap64(){var len=this.length;if(len%8!==0){throw new RangeError("Buffer size must be a multiple of 64-bits")}for(var i=0;i<len;i+=8){swap(this,i,i+7);swap(this,i+1,i+6);swap(this,i+2,i+5);swap(this,i+3,i+4)}return this};Buffer.prototype.toString=function toString(){var length=this.length;if(length===0)return"";if(arguments.length===0)return utf8Slice(this,0,length);return slowToString.apply(this,arguments)};Buffer.prototype.toLocaleString=Buffer.prototype.toString;Buffer.prototype.equals=function equals(b){if(!Buffer.isBuffer(b))throw new TypeError("Argument must be a Buffer");if(this===b)return true;return Buffer.compare(this,b)===0};Buffer.prototype.inspect=function inspect(){var str="";var max=exports.INSPECT_MAX_BYTES;str=this.toString("hex",0,max).replace(/(.{2})/g,"$1 ").trim();if(this.length>max)str+=" ... ";return"<Buffer "+str+">"};Buffer.prototype.compare=function compare(target,start,end,thisStart,thisEnd){if(isInstance(target,Uint8Array)){target=Buffer.from(target,target.offset,target.byteLength)}if(!Buffer.isBuffer(target)){throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. '+"Received type "+typeof target)}if(start===undefined){start=0}if(end===undefined){end=target?target.length:0}if(thisStart===undefined){thisStart=0}if(thisEnd===undefined){thisEnd=this.length}if(start<0||end>target.length||thisStart<0||thisEnd>this.length){throw new RangeError("out of range index")}if(thisStart>=thisEnd&&start>=end){return 0}if(thisStart>=thisEnd){return-1}if(start>=end){return 1}start>>>=0;end>>>=0;thisStart>>>=0;thisEnd>>>=0;if(this===target)return 0;var x=thisEnd-thisStart;var y=end-start;var len=Math.min(x,y);var thisCopy=this.slice(thisStart,thisEnd);var targetCopy=target.slice(start,end);for(var i=0;i<len;++i){if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i];y=targetCopy[i];break}}if(x<y)return-1;if(y<x)return 1;return 0};function bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){if(buffer.length===0)return-1;if(typeof byteOffset==="string"){encoding=byteOffset;byteOffset=0}else if(byteOffset>2147483647){byteOffset=2147483647}else if(byteOffset<-2147483648){byteOffset=-2147483648}byteOffset=+byteOffset;if(numberIsNaN(byteOffset)){byteOffset=dir?0:buffer.length-1}if(byteOffset<0)byteOffset=buffer.length+byteOffset;if(byteOffset>=buffer.length){if(dir)return-1;else byteOffset=buffer.length-1}else if(byteOffset<0){if(dir)byteOffset=0;else return-1}if(typeof val==="string"){val=Buffer.from(val,encoding)}if(Buffer.isBuffer(val)){if(val.length===0){return-1}return arrayIndexOf(buffer,val,byteOffset,encoding,dir)}else if(typeof val==="number"){val=val&255;if(typeof Uint8Array.prototype.indexOf==="function"){if(dir){return Uint8Array.prototype.indexOf.call(buffer,val,byteOffset)}else{return Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset)}}return arrayIndexOf(buffer,[val],byteOffset,encoding,dir)}throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1;var arrLength=arr.length;var valLength=val.length;if(encoding!==undefined){encoding=String(encoding).toLowerCase();if(encoding==="ucs2"||encoding==="ucs-2"||encoding==="utf16le"||encoding==="utf-16le"){if(arr.length<2||val.length<2){return-1}indexSize=2;arrLength/=2;valLength/=2;byteOffset/=2}}function read(buf,i){if(indexSize===1){return buf[i]}else{return buf.readUInt16BE(i*indexSize)}}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++){if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1)foundIndex=i;if(i-foundIndex+1===valLength)return foundIndex*indexSize}else{if(foundIndex!==-1)i-=i-foundIndex;foundIndex=-1}}}else{if(byteOffset+valLength>arrLength)byteOffset=arrLength-valLength;for(i=byteOffset;i>=0;i--){var found=true;for(var j=0;j<valLength;j++){if(read(arr,i+j)!==read(val,j)){found=false;break}}if(found)return i}}return-1}Buffer.prototype.includes=function includes(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1};Buffer.prototype.indexOf=function indexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,true)};Buffer.prototype.lastIndexOf=function lastIndexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,false)};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;if(!length){length=remaining}else{length=Number(length);if(length>remaining){length=remaining}}var strLen=string.length;if(length>strLen/2){length=strLen/2}for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(numberIsNaN(parsed))return i;buf[offset+i]=parsed}return i}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length)}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length)}function latin1Write(buf,string,offset,length){return asciiWrite(buf,string,offset,length)}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length)}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length)}Buffer.prototype.write=function write(string,offset,length,encoding){if(offset===undefined){encoding="utf8";length=this.length;offset=0}else if(length===undefined&&typeof offset==="string"){encoding=offset;length=this.length;offset=0}else if(isFinite(offset)){offset=offset>>>0;if(isFinite(length)){length=length>>>0;if(encoding===undefined)encoding="utf8"}else{encoding=length;length=undefined}}else{throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")}var remaining=this.length-offset;if(length===undefined||length>remaining)length=remaining;if(string.length>0&&(length<0||offset<0)||offset>this.length){throw new RangeError("Attempt to write outside buffer bounds")}if(!encoding)encoding="utf8";var loweredCase=false;for(;;){switch(encoding){case"hex":return hexWrite(this,string,offset,length);case"utf8":case"utf-8":return utf8Write(this,string,offset,length);case"ascii":return asciiWrite(this,string,offset,length);case"latin1":case"binary":return latin1Write(this,string,offset,length);case"base64":return base64Write(this,string,offset,length);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError("Unknown encoding: "+encoding);encoding=(""+encoding).toLowerCase();loweredCase=true}}};Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function base64Slice(buf,start,end){if(start===0&&end===buf.length){return base64.fromByteArray(buf)}else{return base64.fromByteArray(buf.slice(start,end))}}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);var res=[];var i=start;while(i<end){var firstByte=buf[i];var codePoint=null;var bytesPerSequence=firstByte>239?4:firstByte>223?3:firstByte>191?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:if(firstByte<128){codePoint=firstByte}break;case 2:secondByte=buf[i+1];if((secondByte&192)===128){tempCodePoint=(firstByte&31)<<6|secondByte&63;if(tempCodePoint>127){codePoint=tempCodePoint}}break;case 3:secondByte=buf[i+1];thirdByte=buf[i+2];if((secondByte&192)===128&&(thirdByte&192)===128){tempCodePoint=(firstByte&15)<<12|(secondByte&63)<<6|thirdByte&63;if(tempCodePoint>2047&&(tempCodePoint<55296||tempCodePoint>57343)){codePoint=tempCodePoint}}break;case 4:secondByte=buf[i+1];thirdByte=buf[i+2];fourthByte=buf[i+3];if((secondByte&192)===128&&(thirdByte&192)===128&&(fourthByte&192)===128){tempCodePoint=(firstByte&15)<<18|(secondByte&63)<<12|(thirdByte&63)<<6|fourthByte&63;if(tempCodePoint>65535&&tempCodePoint<1114112){codePoint=tempCodePoint}}}}if(codePoint===null){codePoint=65533;bytesPerSequence=1}else if(codePoint>65535){codePoint-=65536;res.push(codePoint>>>10&1023|55296);codePoint=56320|codePoint&1023}res.push(codePoint);i+=bytesPerSequence}return decodeCodePointsArray(res)}var MAX_ARGUMENTS_LENGTH=4096;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH){return String.fromCharCode.apply(String,codePoints)}var res="";var i=0;while(i<len){res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH))}return res}function asciiSlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i){ret+=String.fromCharCode(buf[i]&127)}return ret}function latin1Slice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;i<end;++i){ret+=String.fromCharCode(buf[i])}return ret}function hexSlice(buf,start,end){var len=buf.length;if(!start||start<0)start=0;if(!end||end<0||end>len)end=len;var out="";for(var i=start;i<end;++i){out+=toHex(buf[i])}return out}function utf16leSlice(buf,start,end){var bytes=buf.slice(start,end);var res="";for(var i=0;i<bytes.length;i+=2){res+=String.fromCharCode(bytes[i]+bytes[i+1]*256)}return res}Buffer.prototype.slice=function slice(start,end){var len=this.length;start=~~start;end=end===undefined?len:~~end;if(start<0){start+=len;if(start<0)start=0}else if(start>len){start=len}if(end<0){end+=len;if(end<0)end=0}else if(end>len){end=len}if(end<start)end=start;var newBuf=this.subarray(start,end);newBuf.__proto__=Buffer.prototype;return newBuf};function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i<byteLength&&(mul*=256)){val+=this[offset+i]*mul}return val};Buffer.prototype.readUIntBE=function readUIntBE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert){checkOffset(offset,byteLength,this.length)}var val=this[offset+--byteLength];var mul=1;while(byteLength>0&&(mul*=256)){val+=this[offset+--byteLength]*mul}return val};Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,1,this.length);return this[offset]};Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);return this[offset]|this[offset+1]<<8};Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);return this[offset]<<8|this[offset+1]};Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*16777216};Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return this[offset]*16777216+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3])};Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i<byteLength&&(mul*=256)){val+=this[offset+i]*mul}mul*=128;if(val>=mul)val-=Math.pow(2,8*byteLength);return val};Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert)checkOffset(offset,byteLength,this.length);var i=byteLength;var mul=1;var val=this[offset+--i];while(i>0&&(mul*=256)){val+=this[offset+--i]*mul}mul*=128;if(val>=mul)val-=Math.pow(2,8*byteLength);return val};Buffer.prototype.readInt8=function readInt8(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,1,this.length);if(!(this[offset]&128))return this[offset];return(255-this[offset]+1)*-1};Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&32768?val|4294901760:val};Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&32768?val|4294901760:val};Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24};Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3]};Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,true,23,4)};Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,false,23,4)};Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,true,52,8)};Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){offset=offset>>>0;if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,false,52,8)};function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('"buffer" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('"value" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError("Index out of range")}Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var mul=1;var i=0;this[offset]=value&255;while(++i<byteLength&&(mul*=256)){this[offset+i]=value/mul&255}return offset+byteLength};Buffer.prototype.writeUIntBE=function writeUIntBE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;byteLength=byteLength>>>0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0)}var i=byteLength-1;var mul=1;this[offset+i]=value&255;while(--i>=0&&(mul*=256)){this[offset+i]=value/mul&255}return offset+byteLength};Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,1,255,0);this[offset]=value&255;return offset+1};Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,65535,0);this[offset]=value&255;this[offset+1]=value>>>8;return offset+2};Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,65535,0);this[offset]=value>>>8;this[offset+1]=value&255;return offset+2};Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,4294967295,0);this[offset+3]=value>>>24;this[offset+2]=value>>>16;this[offset+1]=value>>>8;this[offset]=value&255;return offset+4};Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,4294967295,0);this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value&255;return offset+4};Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=0;var mul=1;var sub=0;this[offset]=value&255;while(++i<byteLength&&(mul*=256)){if(value<0&&sub===0&&this[offset+i-1]!==0){sub=1}this[offset+i]=(value/mul>>0)-sub&255}return offset+byteLength};Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){value=+value;offset=offset>>>0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit)}var i=byteLength-1;var mul=1;var sub=0;this[offset+i]=value&255;while(--i>=0&&(mul*=256)){if(value<0&&sub===0&&this[offset+i+1]!==0){sub=1}this[offset+i]=(value/mul>>0)-sub&255}return offset+byteLength};Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,1,127,-128);if(value<0)value=255+value+1;this[offset]=value&255;return offset+1};Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,32767,-32768);this[offset]=value&255;this[offset+1]=value>>>8;return offset+2};Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,2,32767,-32768);this[offset]=value>>>8;this[offset+1]=value&255;return offset+2};Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,2147483647,-2147483648);this[offset]=value&255;this[offset+1]=value>>>8;this[offset+2]=value>>>16;this[offset+3]=value>>>24;return offset+4};Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){value=+value;offset=offset>>>0;if(!noAssert)checkInt(this,value,offset,4,2147483647,-2147483648);if(value<0)value=4294967295+value+1;this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value&255;return offset+4};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError("Index out of range");if(offset<0)throw new RangeError("Index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){value=+value;offset=offset>>>0;if(!noAssert){checkIEEE754(buf,value,offset,4,34028234663852886e22,-34028234663852886e22)}ieee754.write(buf,value,offset,littleEndian,23,4);return offset+4}Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,true,noAssert)};Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,false,noAssert)};function writeDouble(buf,value,offset,littleEndian,noAssert){value=+value;offset=offset>>>0;if(!noAssert){checkIEEE754(buf,value,offset,8,17976931348623157e292,-17976931348623157e292)}ieee754.write(buf,value,offset,littleEndian,52,8);return offset+8}Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,true,noAssert)};Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,false,noAssert)};Buffer.prototype.copy=function copy(target,targetStart,start,end){if(!Buffer.isBuffer(target))throw new TypeError("argument should be a Buffer");if(!start)start=0;if(!end&&end!==0)end=this.length;if(targetStart>=target.length)targetStart=target.length;if(!targetStart)targetStart=0;if(end>0&&end<start)end=start;if(end===start)return 0;if(target.length===0||this.length===0)return 0;if(targetStart<0){throw new RangeError("targetStart out of bounds")}if(start<0||start>=this.length)throw new RangeError("Index out of range");if(end<0)throw new RangeError("sourceEnd out of bounds");if(end>this.length)end=this.length;if(target.length-targetStart<end-start){end=target.length-targetStart+start}var len=end-start;if(this===target&&typeof Uint8Array.prototype.copyWithin==="function"){this.copyWithin(targetStart,start,end)}else if(this===target&&start<targetStart&&targetStart<end){for(var i=len-1;i>=0;--i){target[i+targetStart]=this[i+start]}}else{Uint8Array.prototype.set.call(target,this.subarray(start,end),targetStart)}return len};Buffer.prototype.fill=function fill(val,start,end,encoding){if(typeof val==="string"){if(typeof start==="string"){encoding=start;start=0;end=this.length}else if(typeof end==="string"){encoding=end;end=this.length}if(encoding!==undefined&&typeof encoding!=="string"){throw new TypeError("encoding must be a string")}if(typeof encoding==="string"&&!Buffer.isEncoding(encoding)){throw new TypeError("Unknown encoding: "+encoding)}if(val.length===1){var code=val.charCodeAt(0);if(encoding==="utf8"&&code<128||encoding==="latin1"){val=code}}}else if(typeof val==="number"){val=val&255}if(start<0||this.length<start||this.length<end){throw new RangeError("Out of range index")}if(end<=start){return this}start=start>>>0;end=end===undefined?this.length:end>>>0;if(!val)val=0;var i;if(typeof val==="number"){for(i=start;i<end;++i){this[i]=val}}else{var bytes=Buffer.isBuffer(val)?val:Buffer.from(val,encoding);var len=bytes.length;if(len===0){throw new TypeError('The value "'+val+'" is invalid for argument "value"')}for(i=0;i<end-start;++i){this[i+start]=bytes[i%len]}}return this};var INVALID_BASE64_RE=/[^+/0-9A-Za-z-_]/g;function base64clean(str){str=str.split("=")[0];str=str.trim().replace(INVALID_BASE64_RE,"");if(str.length<2)return"";while(str.length%4!==0){str=str+"="}return str}function toHex(n){if(n<16)return"0"+n.toString(16);return n.toString(16)}function utf8ToBytes(string,units){units=units||Infinity;var codePoint;var length=string.length;var leadSurrogate=null;var bytes=[];for(var i=0;i<length;++i){codePoint=string.charCodeAt(i);if(codePoint>55295&&codePoint<57344){if(!leadSurrogate){if(codePoint>56319){if((units-=3)>-1)bytes.push(239,191,189);continue}else if(i+1===length){if((units-=3)>-1)bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(codePoint<56320){if((units-=3)>-1)bytes.push(239,191,189);leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else if(leadSurrogate){if((units-=3)>-1)bytes.push(239,191,189)}leadSurrogate=null;if(codePoint<128){if((units-=1)<0)break;bytes.push(codePoint)}else if(codePoint<2048){if((units-=2)<0)break;bytes.push(codePoint>>6|192,codePoint&63|128)}else if(codePoint<65536){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,codePoint&63|128)}else if(codePoint<1114112){if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,codePoint&63|128)}else{throw new Error("Invalid code point")}}return bytes}function asciiToBytes(str){var byteArray=[];for(var i=0;i<str.length;++i){byteArray.push(str.charCodeAt(i)&255)}return byteArray}function utf16leToBytes(str,units){var c,hi,lo;var byteArray=[];for(var i=0;i<str.length;++i){if((units-=2)<0)break;c=str.charCodeAt(i);hi=c>>8;lo=c%256;byteArray.push(lo);byteArray.push(hi)}return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;i<length;++i){if(i+offset>=dst.length||i>=src.length)break;dst[i+offset]=src[i]}return i}function isInstance(obj,type){return obj instanceof type||obj!=null&&obj.constructor!=null&&obj.constructor.name!=null&&obj.constructor.name===type.name}function numberIsNaN(obj){return obj!==obj}}).call(this,require("buffer").Buffer)},{"base64-js":78,buffer:132,ieee754:325}],133:[function(require,module,exports){module.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],134:[function(require,module,exports){function Caseless(dict){this.dict=dict||{}}Caseless.prototype.set=function(name,value,clobber){if(typeof name==="object"){for(var i in name){this.set(i,name[i],value)}}else{if(typeof clobber==="undefined")clobber=true;var has=this.has(name);if(!clobber&&has)this.dict[has]=this.dict[has]+","+value;else this.dict[has||name]=value;return has}};Caseless.prototype.has=function(name){var keys=Object.keys(this.dict),name=name.toLowerCase();for(var i=0;i<keys.length;i++){if(keys[i].toLowerCase()===name)return keys[i]}return false};Caseless.prototype.get=function(name){name=name.toLowerCase();var result,_key;var headers=this.dict;Object.keys(headers).forEach((function(key){_key=key.toLowerCase();if(name===_key)result=headers[key]}));return result};Caseless.prototype.swap=function(name){var has=this.has(name);if(has===name)return;if(!has)throw new Error('There is no header than matches "'+name+'"');this.dict[name]=this.dict[has];delete this.dict[has]};Caseless.prototype.del=function(name){var has=this.has(name);return delete this.dict[has||name]};module.exports=function(dict){return new Caseless(dict)};module.exports.httpify=function(resp,headers){var c=new Caseless(headers);resp.setHeader=function(key,value,clobber){if(typeof value==="undefined")return;return c.set(key,value,clobber)};resp.hasHeader=function(key){return c.has(key)};resp.getHeader=function(key){return c.get(key)};resp.removeHeader=function(key){return c.del(key)};resp.headers=c.dict;return c}},{}],135:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;var Transform=require("stream").Transform;var StringDecoder=require("string_decoder").StringDecoder;var inherits=require("inherits");function CipherBase(hashMode){Transform.call(this);this.hashMode=typeof hashMode==="string";if(this.hashMode){this[hashMode]=this._finalOrDigest}else{this.final=this._finalOrDigest}if(this._final){this.__final=this._final;this._final=null}this._decoder=null;this._encoding=null}inherits(CipherBase,Transform);CipherBase.prototype.update=function(data,inputEnc,outputEnc){if(typeof data==="string"){data=Buffer.from(data,inputEnc)}var outData=this._update(data);if(this.hashMode)return this;if(outputEnc){outData=this._toString(outData,outputEnc)}return outData};CipherBase.prototype.setAutoPadding=function(){};CipherBase.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")};CipherBase.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")};CipherBase.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")};CipherBase.prototype._transform=function(data,_,next){var err;try{if(this.hashMode){this._update(data)}else{this.push(this._update(data))}}catch(e){err=e}finally{next(err)}};CipherBase.prototype._flush=function(done){var err;try{this.push(this.__final())}catch(e){err=e}done(err)};CipherBase.prototype._finalOrDigest=function(outputEnc){var outData=this.__final()||Buffer.alloc(0);if(outputEnc){outData=this._toString(outData,outputEnc,true)}return outData};CipherBase.prototype._toString=function(value,enc,fin){if(!this._decoder){this._decoder=new StringDecoder(enc);this._encoding=enc}if(this._encoding!==enc)throw new Error("can't switch encodings");var out=this._decoder.write(value);if(fin){out+=this._decoder.end()}return out};module.exports=CipherBase},{inherits:326,"safe-buffer":907,stream:955,string_decoder:975}],136:[function(require,module,exports){(function(Buffer){var util=require("util");var Stream=require("stream").Stream;var DelayedStream=require("delayed-stream");module.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}util.inherits(CombinedStream,Stream);CombinedStream.create=function(options){var combinedStream=new this;options=options||{};for(var option in options){combinedStream[option]=options[option]}return combinedStream};CombinedStream.isStreamLike=function(stream){return typeof stream!=="function"&&typeof stream!=="string"&&typeof stream!=="boolean"&&typeof stream!=="number"&&!Buffer.isBuffer(stream)};CombinedStream.prototype.append=function(stream){var isStreamLike=CombinedStream.isStreamLike(stream);if(isStreamLike){if(!(stream instanceof DelayedStream)){var newStream=DelayedStream.create(stream,{maxDataSize:Infinity,pauseStream:this.pauseStreams});stream.on("data",this._checkDataSize.bind(this));stream=newStream}this._handleErrors(stream);if(this.pauseStreams){stream.pause()}}this._streams.push(stream);return this};CombinedStream.prototype.pipe=function(dest,options){Stream.prototype.pipe.call(this,dest,options);this.resume();return dest};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var stream=this._streams.shift();if(typeof stream=="undefined"){this.end();return}if(typeof stream!=="function"){this._pipeNext(stream);return}var getStream=stream;getStream(function(stream){var isStreamLike=CombinedStream.isStreamLike(stream);if(isStreamLike){stream.on("data",this._checkDataSize.bind(this));this._handleErrors(stream)}this._pipeNext(stream)}.bind(this))};CombinedStream.prototype._pipeNext=function(stream){this._currentStream=stream;var isStreamLike=CombinedStream.isStreamLike(stream);if(isStreamLike){stream.on("end",this._getNext.bind(this));stream.pipe(this,{end:false});return}var value=stream;this.write(value);this._getNext()};CombinedStream.prototype._handleErrors=function(stream){var self=this;stream.on("error",(function(err){self._emitError(err)}))};CombinedStream.prototype.write=function(data){this.emit("data",data)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var message="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(message))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var self=this;this._streams.forEach((function(stream){if(!stream.dataSize){return}self.dataSize+=stream.dataSize}));if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(err){this._reset();this.emit("error",err)}}).call(this,{isBuffer:require("../../is-buffer/index.js")})},{"../../is-buffer/index.js":328,"delayed-stream":198,stream:955,util:1e3}],137:[function(require,module,exports){(function(Buffer){function isArray(arg){if(Array.isArray){return Array.isArray(arg)}return objectToString(arg)==="[object Array]"}exports.isArray=isArray;function isBoolean(arg){return typeof arg==="boolean"}exports.isBoolean=isBoolean;function isNull(arg){return arg===null}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg==="number"}exports.isNumber=isNumber;function isString(arg){return typeof arg==="string"}exports.isString=isString;function isSymbol(arg){return typeof arg==="symbol"}exports.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0}exports.isUndefined=isUndefined;function isRegExp(re){return objectToString(re)==="[object RegExp]"}exports.isRegExp=isRegExp;function isObject(arg){return typeof arg==="object"&&arg!==null}exports.isObject=isObject;function isDate(d){return objectToString(d)==="[object Date]"}exports.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}exports.isError=isError;function isFunction(arg){return typeof arg==="function"}exports.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg==="boolean"||typeof arg==="number"||typeof arg==="string"||typeof arg==="symbol"||typeof arg==="undefined"}exports.isPrimitive=isPrimitive;exports.isBuffer=Buffer.isBuffer;function objectToString(o){return Object.prototype.toString.call(o)}}).call(this,{isBuffer:require("../../is-buffer/index.js")})},{"../../is-buffer/index.js":328}],138:[function(require,module,exports){(function(Buffer){var elliptic=require("elliptic");var BN=require("bn.js");module.exports=function createECDH(curve){return new ECDH(curve)};var aliases={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}};aliases.p224=aliases.secp224r1;aliases.p256=aliases.secp256r1=aliases.prime256v1;aliases.p192=aliases.secp192r1=aliases.prime192v1;aliases.p384=aliases.secp384r1;aliases.p521=aliases.secp521r1;function ECDH(curve){this.curveType=aliases[curve];if(!this.curveType){this.curveType={name:curve}}this.curve=new elliptic.ec(this.curveType.name);this.keys=void 0}ECDH.prototype.generateKeys=function(enc,format){this.keys=this.curve.genKeyPair();return this.getPublicKey(enc,format)};ECDH.prototype.computeSecret=function(other,inenc,enc){inenc=inenc||"utf8";if(!Buffer.isBuffer(other)){other=new Buffer(other,inenc)}var otherPub=this.curve.keyFromPublic(other).getPublic();var out=otherPub.mul(this.keys.getPrivate()).getX();return formatReturnValue(out,enc,this.curveType.byteLength)};ECDH.prototype.getPublicKey=function(enc,format){var key=this.keys.getPublic(format==="compressed",true);if(format==="hybrid"){if(key[key.length-1]%2){key[0]=7}else{key[0]=6}}return formatReturnValue(key,enc)};ECDH.prototype.getPrivateKey=function(enc){return formatReturnValue(this.keys.getPrivate(),enc)};ECDH.prototype.setPublicKey=function(pub,enc){enc=enc||"utf8";if(!Buffer.isBuffer(pub)){pub=new Buffer(pub,enc)}this.keys._importPublic(pub);return this};ECDH.prototype.setPrivateKey=function(priv,enc){enc=enc||"utf8";if(!Buffer.isBuffer(priv)){priv=new Buffer(priv,enc)}var _priv=new BN(priv);_priv=_priv.toString(16);this.keys=this.curve.genKeyPair();this.keys._importPrivate(_priv);return this};function formatReturnValue(bn,enc,len){if(!Array.isArray(bn)){bn=bn.toArray()}var buf=new Buffer(bn);if(len&&buf.length<len){var zeros=new Buffer(len-buf.length);zeros.fill(0);buf=Buffer.concat([zeros,buf])}if(!enc){return buf}else{return buf.toString(enc)}}}).call(this,require("buffer").Buffer)},{"bn.js":80,buffer:132,elliptic:217}],139:[function(require,module,exports){"use strict";var inherits=require("inherits");var MD5=require("md5.js");var RIPEMD160=require("ripemd160");var sha=require("sha.js");var Base=require("cipher-base");function Hash(hash){Base.call(this,"digest");this._hash=hash}inherits(Hash,Base);Hash.prototype._update=function(data){this._hash.update(data)};Hash.prototype._final=function(){return this._hash.digest()};module.exports=function createHash(alg){alg=alg.toLowerCase();if(alg==="md5")return new MD5;if(alg==="rmd160"||alg==="ripemd160")return new RIPEMD160;return new Hash(sha(alg))}},{"cipher-base":135,inherits:326,"md5.js":795,ripemd160:906,"sha.js":911}],140:[function(require,module,exports){var MD5=require("md5.js");module.exports=function(buffer){return(new MD5).update(buffer).digest()}},{"md5.js":795}],141:[function(require,module,exports){"use strict";var inherits=require("inherits");var Legacy=require("./legacy");var Base=require("cipher-base");var Buffer=require("safe-buffer").Buffer;var md5=require("create-hash/md5");var RIPEMD160=require("ripemd160");var sha=require("sha.js");var ZEROS=Buffer.alloc(128);function Hmac(alg,key){Base.call(this,"digest");if(typeof key==="string"){key=Buffer.from(key)}var blocksize=alg==="sha512"||alg==="sha384"?128:64;this._alg=alg;this._key=key;if(key.length>blocksize){var hash=alg==="rmd160"?new RIPEMD160:sha(alg);key=hash.update(key).digest()}else if(key.length<blocksize){key=Buffer.concat([key,ZEROS],blocksize)}var ipad=this._ipad=Buffer.allocUnsafe(blocksize);var opad=this._opad=Buffer.allocUnsafe(blocksize);for(var i=0;i<blocksize;i++){ipad[i]=key[i]^54;opad[i]=key[i]^92}this._hash=alg==="rmd160"?new RIPEMD160:sha(alg);this._hash.update(ipad)}inherits(Hmac,Base);Hmac.prototype._update=function(data){this._hash.update(data)};Hmac.prototype._final=function(){var h=this._hash.digest();var hash=this._alg==="rmd160"?new RIPEMD160:sha(this._alg);return hash.update(this._opad).update(h).digest()};module.exports=function createHmac(alg,key){alg=alg.toLowerCase();if(alg==="rmd160"||alg==="ripemd160"){return new Hmac("rmd160",key)}if(alg==="md5"){return new Legacy(md5,key)}return new Hmac(alg,key)}},{"./legacy":142,"cipher-base":135,"create-hash/md5":140,inherits:326,ripemd160:906,"safe-buffer":907,"sha.js":911}],142:[function(require,module,exports){"use strict";var inherits=require("inherits");var Buffer=require("safe-buffer").Buffer;var Base=require("cipher-base");var ZEROS=Buffer.alloc(128);var blocksize=64;function Hmac(alg,key){Base.call(this,"digest");if(typeof key==="string"){key=Buffer.from(key)}this._alg=alg;this._key=key;if(key.length>blocksize){key=alg(key)}else if(key.length<blocksize){key=Buffer.concat([key,ZEROS],blocksize)}var ipad=this._ipad=Buffer.allocUnsafe(blocksize);var opad=this._opad=Buffer.allocUnsafe(blocksize);for(var i=0;i<blocksize;i++){ipad[i]=key[i]^54;opad[i]=key[i]^92}this._hash=[ipad]}inherits(Hmac,Base);Hmac.prototype._update=function(data){this._hash.push(data)};Hmac.prototype._final=function(){var h=this._alg(Buffer.concat(this._hash));return this._alg(Buffer.concat([this._opad,h]))};module.exports=Hmac},{"cipher-base":135,inherits:326,"safe-buffer":907}],143:[function(require,module,exports){"use strict";exports.randomBytes=exports.rng=exports.pseudoRandomBytes=exports.prng=require("randombytes");exports.createHash=exports.Hash=require("create-hash");exports.createHmac=exports.Hmac=require("create-hmac");var algos=require("browserify-sign/algos");var algoKeys=Object.keys(algos);var hashes=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(algoKeys);exports.getHashes=function(){return hashes};var p=require("pbkdf2");exports.pbkdf2=p.pbkdf2;exports.pbkdf2Sync=p.pbkdf2Sync;var aes=require("browserify-cipher");exports.Cipher=aes.Cipher;exports.createCipher=aes.createCipher;exports.Cipheriv=aes.Cipheriv;exports.createCipheriv=aes.createCipheriv;exports.Decipher=aes.Decipher;exports.createDecipher=aes.createDecipher;exports.Decipheriv=aes.Decipheriv;exports.createDecipheriv=aes.createDecipheriv;exports.getCiphers=aes.getCiphers;exports.listCiphers=aes.listCiphers;var dh=require("diffie-hellman");exports.DiffieHellmanGroup=dh.DiffieHellmanGroup;exports.createDiffieHellmanGroup=dh.createDiffieHellmanGroup;exports.getDiffieHellman=dh.getDiffieHellman;exports.createDiffieHellman=dh.createDiffieHellman;exports.DiffieHellman=dh.DiffieHellman;var sign=require("browserify-sign");exports.createSign=sign.createSign;exports.Sign=sign.Sign;exports.createVerify=sign.createVerify;exports.Verify=sign.Verify;exports.createECDH=require("create-ecdh");var publicEncrypt=require("public-encrypt");exports.publicEncrypt=publicEncrypt.publicEncrypt;exports.privateEncrypt=publicEncrypt.privateEncrypt;exports.publicDecrypt=publicEncrypt.publicDecrypt;exports.privateDecrypt=publicEncrypt.privateDecrypt;var rf=require("randomfill");exports.randomFill=rf.randomFill;exports.randomFillSync=rf.randomFillSync;exports.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))};exports.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":101,"browserify-sign":108,"browserify-sign/algos":105,"create-ecdh":138,"create-hash":139,"create-hmac":141,"diffie-hellman":205,pbkdf2:847,"public-encrypt":858,randombytes:872,randomfill:873}],144:[function(require,module,exports){var CSSOM={CSSRule:require("./CSSRule").CSSRule,MatcherList:require("./MatcherList").MatcherList};CSSOM.CSSDocumentRule=function CSSDocumentRule(){CSSOM.CSSRule.call(this);this.matcher=new CSSOM.MatcherList;this.cssRules=[]};CSSOM.CSSDocumentRule.prototype=new CSSOM.CSSRule;CSSOM.CSSDocumentRule.prototype.constructor=CSSOM.CSSDocumentRule;CSSOM.CSSDocumentRule.prototype.type=10;Object.defineProperty(CSSOM.CSSDocumentRule.prototype,"cssText",{get:function(){var cssTexts=[];for(var i=0,length=this.cssRules.length;i<length;i++){cssTexts.push(this.cssRules[i].cssText)}return"@-moz-document "+this.matcher.matcherText+" {"+cssTexts.join("")+"}"}});exports.CSSDocumentRule=CSSOM.CSSDocumentRule},{"./CSSRule":151,"./MatcherList":158}],145:[function(require,module,exports){var CSSOM={CSSStyleDeclaration:require("./CSSStyleDeclaration").CSSStyleDeclaration,CSSRule:require("./CSSRule").CSSRule};CSSOM.CSSFontFaceRule=function CSSFontFaceRule(){CSSOM.CSSRule.call(this);this.style=new CSSOM.CSSStyleDeclaration;this.style.parentRule=this};CSSOM.CSSFontFaceRule.prototype=new CSSOM.CSSRule;CSSOM.CSSFontFaceRule.prototype.constructor=CSSOM.CSSFontFaceRule;CSSOM.CSSFontFaceRule.prototype.type=5;Object.defineProperty(CSSOM.CSSFontFaceRule.prototype,"cssText",{get:function(){return"@font-face {"+this.style.cssText+"}"}});exports.CSSFontFaceRule=CSSOM.CSSFontFaceRule},{"./CSSRule":151,"./CSSStyleDeclaration":152}],146:[function(require,module,exports){var CSSOM={CSSRule:require("./CSSRule").CSSRule};CSSOM.CSSHostRule=function CSSHostRule(){CSSOM.CSSRule.call(this);this.cssRules=[]};CSSOM.CSSHostRule.prototype=new CSSOM.CSSRule;CSSOM.CSSHostRule.prototype.constructor=CSSOM.CSSHostRule;CSSOM.CSSHostRule.prototype.type=1001;Object.defineProperty(CSSOM.CSSHostRule.prototype,"cssText",{get:function(){var cssTexts=[];for(var i=0,length=this.cssRules.length;i<length;i++){cssTexts.push(this.cssRules[i].cssText)}return"@host {"+cssTexts.join("")+"}"}});exports.CSSHostRule=CSSOM.CSSHostRule},{"./CSSRule":151}],147:[function(require,module,exports){var CSSOM={CSSRule:require("./CSSRule").CSSRule,CSSStyleSheet:require("./CSSStyleSheet").CSSStyleSheet,MediaList:require("./MediaList").MediaList};CSSOM.CSSImportRule=function CSSImportRule(){CSSOM.CSSRule.call(this);this.href="";this.media=new CSSOM.MediaList;this.styleSheet=new CSSOM.CSSStyleSheet};CSSOM.CSSImportRule.prototype=new CSSOM.CSSRule;CSSOM.CSSImportRule.prototype.constructor=CSSOM.CSSImportRule;CSSOM.CSSImportRule.prototype.type=3;Object.defineProperty(CSSOM.CSSImportRule.prototype,"cssText",{get:function(){var mediaText=this.media.mediaText;return"@import url("+this.href+")"+(mediaText?" "+mediaText:"")+";"},set:function(cssText){var i=0;var state="";var buffer="";var index;for(var character;character=cssText.charAt(i);i++){switch(character){case" ":case"\t":case"\r":case"\n":case"\f":if(state==="after-import"){state="url"}else{buffer+=character}break;case"@":if(!state&&cssText.indexOf("@import",i)===i){state="after-import";i+="import".length;buffer=""}break;case"u":if(state==="url"&&cssText.indexOf("url(",i)===i){index=cssText.indexOf(")",i+1);if(index===-1){throw i+': ")" not found'}i+="url(".length;var url=cssText.slice(i,index);if(url[0]===url[url.length-1]){if(url[0]==='"'||url[0]==="'"){url=url.slice(1,-1)}}this.href=url;i=index;state="media"}break;case'"':if(state==="url"){index=cssText.indexOf('"',i+1);if(!index){throw i+": '\"' not found"}this.href=cssText.slice(i+1,index);i=index;state="media"}break;case"'":if(state==="url"){index=cssText.indexOf("'",i+1);if(!index){throw i+': "\'" not found'}this.href=cssText.slice(i+1,index);i=index;state="media"}break;case";":if(state==="media"){if(buffer){this.media.mediaText=buffer.trim()}}break;default:if(state==="media"){buffer+=character}break}}}});exports.CSSImportRule=CSSOM.CSSImportRule},{"./CSSRule":151,"./CSSStyleSheet":154,"./MediaList":159}],148:[function(require,module,exports){var CSSOM={CSSRule:require("./CSSRule").CSSRule,CSSStyleDeclaration:require("./CSSStyleDeclaration").CSSStyleDeclaration};CSSOM.CSSKeyframeRule=function CSSKeyframeRule(){CSSOM.CSSRule.call(this);this.keyText="";this.style=new CSSOM.CSSStyleDeclaration;this.style.parentRule=this};CSSOM.CSSKeyframeRule.prototype=new CSSOM.CSSRule;CSSOM.CSSKeyframeRule.prototype.constructor=CSSOM.CSSKeyframeRule;CSSOM.CSSKeyframeRule.prototype.type=8;Object.defineProperty(CSSOM.CSSKeyframeRule.prototype,"cssText",{get:function(){return this.keyText+" {"+this.style.cssText+"} "}});exports.CSSKeyframeRule=CSSOM.CSSKeyframeRule},{"./CSSRule":151,"./CSSStyleDeclaration":152}],149:[function(require,module,exports){var CSSOM={CSSRule:require("./CSSRule").CSSRule};CSSOM.CSSKeyframesRule=function CSSKeyframesRule(){CSSOM.CSSRule.call(this);this.name="";this.cssRules=[]};CSSOM.CSSKeyframesRule.prototype=new CSSOM.CSSRule;CSSOM.CSSKeyframesRule.prototype.constructor=CSSOM.CSSKeyframesRule;CSSOM.CSSKeyframesRule.prototype.type=7;Object.defineProperty(CSSOM.CSSKeyframesRule.prototype,"cssText",{get:function(){var cssTexts=[];for(var i=0,length=this.cssRules.length;i<length;i++){cssTexts.push(" "+this.cssRules[i].cssText)}return"@"+(this._vendorPrefix||"")+"keyframes "+this.name+" { \n"+cssTexts.join("\n")+"\n}"}});exports.CSSKeyframesRule=CSSOM.CSSKeyframesRule},{"./CSSRule":151}],150:[function(require,module,exports){var CSSOM={CSSRule:require("./CSSRule").CSSRule,MediaList:require("./MediaList").MediaList};CSSOM.CSSMediaRule=function CSSMediaRule(){CSSOM.CSSRule.call(this);this.media=new CSSOM.MediaList;this.cssRules=[]};CSSOM.CSSMediaRule.prototype=new CSSOM.CSSRule;CSSOM.CSSMediaRule.prototype.constructor=CSSOM.CSSMediaRule;CSSOM.CSSMediaRule.prototype.type=4;Object.defineProperty(CSSOM.CSSMediaRule.prototype,"cssText",{get:function(){var cssTexts=[];for(var i=0,length=this.cssRules.length;i<length;i++){cssTexts.push(this.cssRules[i].cssText)}return"@media "+this.media.mediaText+" {"+cssTexts.join("")+"}"}});exports.CSSMediaRule=CSSOM.CSSMediaRule},{"./CSSRule":151,"./MediaList":159}],151:[function(require,module,exports){var CSSOM={};CSSOM.CSSRule=function CSSRule(){this.parentRule=null;this.parentStyleSheet=null};CSSOM.CSSRule.UNKNOWN_RULE=0;CSSOM.CSSRule.STYLE_RULE=1;CSSOM.CSSRule.CHARSET_RULE=2;CSSOM.CSSRule.IMPORT_RULE=3;CSSOM.CSSRule.MEDIA_RULE=4;CSSOM.CSSRule.FONT_FACE_RULE=5;CSSOM.CSSRule.PAGE_RULE=6;CSSOM.CSSRule.KEYFRAMES_RULE=7;CSSOM.CSSRule.KEYFRAME_RULE=8;CSSOM.CSSRule.MARGIN_RULE=9;CSSOM.CSSRule.NAMESPACE_RULE=10;CSSOM.CSSRule.COUNTER_STYLE_RULE=11;CSSOM.CSSRule.SUPPORTS_RULE=12;CSSOM.CSSRule.DOCUMENT_RULE=13;CSSOM.CSSRule.FONT_FEATURE_VALUES_RULE=14;CSSOM.CSSRule.VIEWPORT_RULE=15;CSSOM.CSSRule.REGION_STYLE_RULE=16;CSSOM.CSSRule.prototype={constructor:CSSOM.CSSRule};exports.CSSRule=CSSOM.CSSRule},{}],152:[function(require,module,exports){var CSSOM={};CSSOM.CSSStyleDeclaration=function CSSStyleDeclaration(){this.length=0;this.parentRule=null;this._importants={}};CSSOM.CSSStyleDeclaration.prototype={constructor:CSSOM.CSSStyleDeclaration,getPropertyValue:function(name){return this[name]||""},setProperty:function(name,value,priority){if(this[name]){var index=Array.prototype.indexOf.call(this,name);if(index<0){this[this.length]=name;this.length++}}else{this[this.length]=name;this.length++}this[name]=value+"";this._importants[name]=priority},removeProperty:function(name){if(!(name in this)){return""}var index=Array.prototype.indexOf.call(this,name);if(index<0){return""}var prevValue=this[name];this[name]="";Array.prototype.splice.call(this,index,1);return prevValue},getPropertyCSSValue:function(){},getPropertyPriority:function(name){return this._importants[name]||""},getPropertyShorthand:function(){},isPropertyImplicit:function(){},get cssText(){var properties=[];for(var i=0,length=this.length;i<length;++i){var name=this[i];var value=this.getPropertyValue(name);var priority=this.getPropertyPriority(name);if(priority){priority=" !"+priority}properties[i]=name+": "+value+priority+";"}return properties.join(" ")},set cssText(text){var i,name;for(i=this.length;i--;){name=this[i];this[name]=""}Array.prototype.splice.call(this,0,this.length);this._importants={};var dummyRule=CSSOM.parse("#bogus{"+text+"}").cssRules[0].style;var length=dummyRule.length;for(i=0;i<length;++i){name=dummyRule[i];this.setProperty(dummyRule[i],dummyRule.getPropertyValue(name),dummyRule.getPropertyPriority(name))}}};exports.CSSStyleDeclaration=CSSOM.CSSStyleDeclaration;CSSOM.parse=require("./parse").parse},{"./parse":163}],153:[function(require,module,exports){var CSSOM={CSSStyleDeclaration:require("./CSSStyleDeclaration").CSSStyleDeclaration,CSSRule:require("./CSSRule").CSSRule};CSSOM.CSSStyleRule=function CSSStyleRule(){CSSOM.CSSRule.call(this);this.selectorText="";this.style=new CSSOM.CSSStyleDeclaration;this.style.parentRule=this};CSSOM.CSSStyleRule.prototype=new CSSOM.CSSRule;CSSOM.CSSStyleRule.prototype.constructor=CSSOM.CSSStyleRule;CSSOM.CSSStyleRule.prototype.type=1;Object.defineProperty(CSSOM.CSSStyleRule.prototype,"cssText",{get:function(){var text;if(this.selectorText){text=this.selectorText+" {"+this.style.cssText+"}"}else{text=""}return text},set:function(cssText){var rule=CSSOM.CSSStyleRule.parse(cssText);this.style=rule.style;this.selectorText=rule.selectorText}});CSSOM.CSSStyleRule.parse=function(ruleText){var i=0;var state="selector";var index;var j=i;var buffer="";var SIGNIFICANT_WHITESPACE={selector:true,value:true};var styleRule=new CSSOM.CSSStyleRule;var name,priority="";for(var character;character=ruleText.charAt(i);i++){switch(character){case" ":case"\t":case"\r":case"\n":case"\f":if(SIGNIFICANT_WHITESPACE[state]){switch(ruleText.charAt(i-1)){case" ":case"\t":case"\r":case"\n":case"\f":break;default:buffer+=" ";break}}break;case'"':j=i+1;index=ruleText.indexOf('"',j)+1;if(!index){throw'" is missing'}buffer+=ruleText.slice(i,index);i=index-1;break;case"'":j=i+1;index=ruleText.indexOf("'",j)+1;if(!index){throw"' is missing"}buffer+=ruleText.slice(i,index);i=index-1;break;case"/":if(ruleText.charAt(i+1)==="*"){i+=2;index=ruleText.indexOf("*/",i);if(index===-1){throw new SyntaxError("Missing */")}else{i=index+1}}else{buffer+=character}break;case"{":if(state==="selector"){styleRule.selectorText=buffer.trim();buffer="";state="name"}break;case":":if(state==="name"){name=buffer.trim();buffer="";state="value"}else{buffer+=character}break;case"!":if(state==="value"&&ruleText.indexOf("!important",i)===i){priority="important";i+="important".length}else{buffer+=character}break;case";":if(state==="value"){styleRule.style.setProperty(name,buffer.trim(),priority);priority="";buffer="";state="name"}else{buffer+=character}break;case"}":if(state==="value"){styleRule.style.setProperty(name,buffer.trim(),priority);priority="";buffer=""}else if(state==="name"){break}else{buffer+=character}state="selector";break;default:buffer+=character;break}}return styleRule};exports.CSSStyleRule=CSSOM.CSSStyleRule},{"./CSSRule":151,"./CSSStyleDeclaration":152}],154:[function(require,module,exports){var CSSOM={StyleSheet:require("./StyleSheet").StyleSheet,CSSStyleRule:require("./CSSStyleRule").CSSStyleRule};CSSOM.CSSStyleSheet=function CSSStyleSheet(){CSSOM.StyleSheet.call(this);this.cssRules=[]};CSSOM.CSSStyleSheet.prototype=new CSSOM.StyleSheet;CSSOM.CSSStyleSheet.prototype.constructor=CSSOM.CSSStyleSheet;CSSOM.CSSStyleSheet.prototype.insertRule=function(rule,index){if(index<0||index>this.cssRules.length){throw new RangeError("INDEX_SIZE_ERR")}var cssRule=CSSOM.parse(rule).cssRules[0];cssRule.parentStyleSheet=this;this.cssRules.splice(index,0,cssRule);return index};CSSOM.CSSStyleSheet.prototype.deleteRule=function(index){if(index<0||index>=this.cssRules.length){throw new RangeError("INDEX_SIZE_ERR")}this.cssRules.splice(index,1)};CSSOM.CSSStyleSheet.prototype.toString=function(){var result="";var rules=this.cssRules;for(var i=0;i<rules.length;i++){result+=rules[i].cssText+"\n"}return result};exports.CSSStyleSheet=CSSOM.CSSStyleSheet;CSSOM.parse=require("./parse").parse},{"./CSSStyleRule":153,"./StyleSheet":160,"./parse":163}],155:[function(require,module,exports){var CSSOM={CSSRule:require("./CSSRule").CSSRule};CSSOM.CSSSupportsRule=function CSSSupportsRule(){CSSOM.CSSRule.call(this);this.conditionText="";this.cssRules=[]};CSSOM.CSSSupportsRule.prototype=new CSSOM.CSSRule;CSSOM.CSSSupportsRule.prototype.constructor=CSSOM.CSSSupportsRule;CSSOM.CSSSupportsRule.prototype.type=12;Object.defineProperty(CSSOM.CSSSupportsRule.prototype,"cssText",{get:function(){var cssTexts=[];for(var i=0,length=this.cssRules.length;i<length;i++){cssTexts.push(this.cssRules[i].cssText)}return"@supports "+this.conditionText+" {"+cssTexts.join("")+"}"}});exports.CSSSupportsRule=CSSOM.CSSSupportsRule},{"./CSSRule":151}],156:[function(require,module,exports){var CSSOM={};CSSOM.CSSValue=function CSSValue(){};CSSOM.CSSValue.prototype={constructor:CSSOM.CSSValue,set cssText(text){var name=this._getConstructorName();throw new Error('DOMException: property "cssText" of "'+name+'" is readonly and can not be replaced with "'+text+'"!')},get cssText(){var name=this._getConstructorName();throw new Error('getter "cssText" of "'+name+'" is not implemented!')},_getConstructorName:function(){var s=this.constructor.toString(),c=s.match(/function\s([^\(]+)/),name=c[1];return name}};exports.CSSValue=CSSOM.CSSValue},{}],157:[function(require,module,exports){var CSSOM={CSSValue:require("./CSSValue").CSSValue};CSSOM.CSSValueExpression=function CSSValueExpression(token,idx){this._token=token;this._idx=idx};CSSOM.CSSValueExpression.prototype=new CSSOM.CSSValue;CSSOM.CSSValueExpression.prototype.constructor=CSSOM.CSSValueExpression;CSSOM.CSSValueExpression.prototype.parse=function(){var token=this._token,idx=this._idx;var character="",expression="",error="",info,paren=[];for(;;++idx){character=token.charAt(idx);if(character===""){error="css expression error: unfinished expression!";break}switch(character){case"(":paren.push(character);expression+=character;break;case")":paren.pop(character);expression+=character;break;case"/":if(info=this._parseJSComment(token,idx)){if(info.error){error="css expression error: unfinished comment in expression!"}else{idx=info.idx}}else if(info=this._parseJSRexExp(token,idx)){idx=info.idx;expression+=info.text}else{expression+=character}break;case"'":case'"':info=this._parseJSString(token,idx,character);if(info){idx=info.idx;expression+=info.text}else{expression+=character}break;default:expression+=character;break}if(error){break}if(paren.length===0){break}}var ret;if(error){ret={error:error}}else{ret={idx:idx,expression:expression}}return ret};CSSOM.CSSValueExpression.prototype._parseJSComment=function(token,idx){var nextChar=token.charAt(idx+1),text;if(nextChar==="/"||nextChar==="*"){var startIdx=idx,endIdx,commentEndChar;if(nextChar==="/"){commentEndChar="\n"}else if(nextChar==="*"){commentEndChar="*/"}endIdx=token.indexOf(commentEndChar,startIdx+1+1);if(endIdx!==-1){endIdx=endIdx+commentEndChar.length-1;text=token.substring(idx,endIdx+1);return{idx:endIdx,text:text}}else{var error="css expression error: unfinished comment in expression!";return{error:error}}}else{return false}};CSSOM.CSSValueExpression.prototype._parseJSString=function(token,idx,sep){var endIdx=this._findMatchedIdx(token,idx,sep),text;if(endIdx===-1){return false}else{text=token.substring(idx,endIdx+sep.length);return{idx:endIdx,text:text}}};CSSOM.CSSValueExpression.prototype._parseJSRexExp=function(token,idx){var before=token.substring(0,idx).replace(/\s+$/,""),legalRegx=[/^$/,/\($/,/\[$/,/\!$/,/\+$/,/\-$/,/\*$/,/\/\s+/,/\%$/,/\=$/,/\>$/,/<$/,/\&$/,/\|$/,/\^$/,/\~$/,/\?$/,/\,$/,/delete$/,/in$/,/instanceof$/,/new$/,/typeof$/,/void$/];var isLegal=legalRegx.some((function(reg){return reg.test(before)}));if(!isLegal){return false}else{var sep="/";return this._parseJSString(token,idx,sep)}};CSSOM.CSSValueExpression.prototype._findMatchedIdx=function(token,idx,sep){var startIdx=idx,endIdx;var NOT_FOUND=-1;while(true){endIdx=token.indexOf(sep,startIdx+1);if(endIdx===-1){endIdx=NOT_FOUND;break}else{var text=token.substring(idx+1,endIdx),matched=text.match(/\\+$/);if(!matched||matched[0]%2===0){break}else{startIdx=endIdx}}}var nextNewLineIdx=token.indexOf("\n",idx+1);if(nextNewLineIdx<endIdx){endIdx=NOT_FOUND}return endIdx};exports.CSSValueExpression=CSSOM.CSSValueExpression},{"./CSSValue":156}],158:[function(require,module,exports){var CSSOM={};CSSOM.MatcherList=function MatcherList(){this.length=0};CSSOM.MatcherList.prototype={constructor:CSSOM.MatcherList,get matcherText(){return Array.prototype.join.call(this,", ")},set matcherText(value){var values=value.split(",");var length=this.length=values.length;for(var i=0;i<length;i++){this[i]=values[i].trim()}},appendMatcher:function(matcher){if(Array.prototype.indexOf.call(this,matcher)===-1){this[this.length]=matcher;this.length++}},deleteMatcher:function(matcher){var index=Array.prototype.indexOf.call(this,matcher);if(index!==-1){Array.prototype.splice.call(this,index,1)}}};exports.MatcherList=CSSOM.MatcherList},{}],159:[function(require,module,exports){var CSSOM={};CSSOM.MediaList=function MediaList(){this.length=0};CSSOM.MediaList.prototype={constructor:CSSOM.MediaList,get mediaText(){return Array.prototype.join.call(this,", ")},set mediaText(value){var values=value.split(",");var length=this.length=values.length;for(var i=0;i<length;i++){this[i]=values[i].trim()}},appendMedium:function(medium){if(Array.prototype.indexOf.call(this,medium)===-1){this[this.length]=medium;this.length++}},deleteMedium:function(medium){var index=Array.prototype.indexOf.call(this,medium);if(index!==-1){Array.prototype.splice.call(this,index,1)}}};exports.MediaList=CSSOM.MediaList},{}],160:[function(require,module,exports){var CSSOM={};CSSOM.StyleSheet=function StyleSheet(){this.parentStyleSheet=null};exports.StyleSheet=CSSOM.StyleSheet},{}],161:[function(require,module,exports){var CSSOM={CSSStyleSheet:require("./CSSStyleSheet").CSSStyleSheet,CSSStyleRule:require("./CSSStyleRule").CSSStyleRule,CSSMediaRule:require("./CSSMediaRule").CSSMediaRule,CSSSupportsRule:require("./CSSSupportsRule").CSSSupportsRule,CSSStyleDeclaration:require("./CSSStyleDeclaration").CSSStyleDeclaration,CSSKeyframeRule:require("./CSSKeyframeRule").CSSKeyframeRule,CSSKeyframesRule:require("./CSSKeyframesRule").CSSKeyframesRule};CSSOM.clone=function clone(stylesheet){var cloned=new CSSOM.CSSStyleSheet;var rules=stylesheet.cssRules;if(!rules){return cloned}for(var i=0,rulesLength=rules.length;i<rulesLength;i++){var rule=rules[i];var ruleClone=cloned.cssRules[i]=new rule.constructor;var style=rule.style;if(style){var styleClone=ruleClone.style=new CSSOM.CSSStyleDeclaration;for(var j=0,styleLength=style.length;j<styleLength;j++){var name=styleClone[j]=style[j];styleClone[name]=style[name];styleClone._importants[name]=style.getPropertyPriority(name)}styleClone.length=style.length}if(rule.hasOwnProperty("keyText")){ruleClone.keyText=rule.keyText}if(rule.hasOwnProperty("selectorText")){ruleClone.selectorText=rule.selectorText}if(rule.hasOwnProperty("mediaText")){ruleClone.mediaText=rule.mediaText}if(rule.hasOwnProperty("conditionText")){ruleClone.conditionText=rule.conditionText}if(rule.hasOwnProperty("cssRules")){ruleClone.cssRules=clone(rule).cssRules}}return cloned};exports.clone=CSSOM.clone},{"./CSSKeyframeRule":148,"./CSSKeyframesRule":149,"./CSSMediaRule":150,"./CSSStyleDeclaration":152,"./CSSStyleRule":153,"./CSSStyleSheet":154,"./CSSSupportsRule":155}],162:[function(require,module,exports){"use strict";exports.CSSStyleDeclaration=require("./CSSStyleDeclaration").CSSStyleDeclaration;exports.CSSRule=require("./CSSRule").CSSRule;exports.CSSStyleRule=require("./CSSStyleRule").CSSStyleRule;exports.MediaList=require("./MediaList").MediaList;exports.CSSMediaRule=require("./CSSMediaRule").CSSMediaRule;exports.CSSSupportsRule=require("./CSSSupportsRule").CSSSupportsRule;exports.CSSImportRule=require("./CSSImportRule").CSSImportRule;exports.CSSFontFaceRule=require("./CSSFontFaceRule").CSSFontFaceRule;exports.CSSHostRule=require("./CSSHostRule").CSSHostRule;exports.StyleSheet=require("./StyleSheet").StyleSheet;exports.CSSStyleSheet=require("./CSSStyleSheet").CSSStyleSheet;exports.CSSKeyframesRule=require("./CSSKeyframesRule").CSSKeyframesRule;exports.CSSKeyframeRule=require("./CSSKeyframeRule").CSSKeyframeRule;exports.MatcherList=require("./MatcherList").MatcherList;exports.CSSDocumentRule=require("./CSSDocumentRule").CSSDocumentRule;exports.CSSValue=require("./CSSValue").CSSValue;exports.CSSValueExpression=require("./CSSValueExpression").CSSValueExpression;exports.parse=require("./parse").parse;exports.clone=require("./clone").clone},{"./CSSDocumentRule":144,"./CSSFontFaceRule":145,"./CSSHostRule":146,"./CSSImportRule":147,"./CSSKeyframeRule":148,"./CSSKeyframesRule":149,"./CSSMediaRule":150,"./CSSRule":151,"./CSSStyleDeclaration":152,"./CSSStyleRule":153,"./CSSStyleSheet":154,"./CSSSupportsRule":155,"./CSSValue":156,"./CSSValueExpression":157,"./MatcherList":158,"./MediaList":159,"./StyleSheet":160,"./clone":161,"./parse":163}],163:[function(require,module,exports){var CSSOM={};CSSOM.parse=function parse(token){var i=0;var state="before-selector";var index;var buffer="";var valueParenthesisDepth=0;var SIGNIFICANT_WHITESPACE={selector:true,value:true,"value-parenthesis":true,atRule:true,"importRule-begin":true,importRule:true,atBlock:true,conditionBlock:true,"documentRule-begin":true};var styleSheet=new CSSOM.CSSStyleSheet;var currentScope=styleSheet;var parentRule;var ancestorRules=[];var hasAncestors=false;var prevScope;var name,priority="",styleRule,mediaRule,supportsRule,importRule,fontFaceRule,keyframesRule,documentRule,hostRule;var atKeyframesRegExp=/@(-(?:\w+-)+)?keyframes/g;var parseError=function(message){var lines=token.substring(0,i).split("\n");var lineCount=lines.length;var charCount=lines.pop().length+1;var error=new Error(message+" (line "+lineCount+", char "+charCount+")");error.line=lineCount;error["char"]=charCount;error.styleSheet=styleSheet;throw error};for(var character;character=token.charAt(i);i++){switch(character){case" ":case"\t":case"\r":case"\n":case"\f":if(SIGNIFICANT_WHITESPACE[state]){buffer+=character}break;case'"':index=i+1;do{index=token.indexOf('"',index)+1;if(!index){parseError('Unmatched "')}}while(token[index-2]==="\\");buffer+=token.slice(i,index);i=index-1;switch(state){case"before-value":state="value";break;case"importRule-begin":state="importRule";break}break;case"'":index=i+1;do{index=token.indexOf("'",index)+1;if(!index){parseError("Unmatched '")}}while(token[index-2]==="\\");buffer+=token.slice(i,index);i=index-1;switch(state){case"before-value":state="value";break;case"importRule-begin":state="importRule";break}break;case"/":if(token.charAt(i+1)==="*"){i+=2;index=token.indexOf("*/",i);if(index===-1){parseError("Missing */")}else{i=index+1}}else{buffer+=character}if(state==="importRule-begin"){buffer+=" ";state="importRule"}break;case"@":if(token.indexOf("@-moz-document",i)===i){state="documentRule-begin";documentRule=new CSSOM.CSSDocumentRule;documentRule.__starts=i;i+="-moz-document".length;buffer="";break}else if(token.indexOf("@media",i)===i){state="atBlock";mediaRule=new CSSOM.CSSMediaRule;mediaRule.__starts=i;i+="media".length;buffer="";break}else if(token.indexOf("@supports",i)===i){state="conditionBlock";supportsRule=new CSSOM.CSSSupportsRule;supportsRule.__starts=i;i+="supports".length;buffer="";break}else if(token.indexOf("@host",i)===i){state="hostRule-begin";i+="host".length;hostRule=new CSSOM.CSSHostRule;hostRule.__starts=i;buffer="";break}else if(token.indexOf("@import",i)===i){state="importRule-begin";i+="import".length;buffer+="@import";break}else if(token.indexOf("@font-face",i)===i){state="fontFaceRule-begin";i+="font-face".length;fontFaceRule=new CSSOM.CSSFontFaceRule;fontFaceRule.__starts=i;buffer="";break}else{atKeyframesRegExp.lastIndex=i;var matchKeyframes=atKeyframesRegExp.exec(token);if(matchKeyframes&&matchKeyframes.index===i){state="keyframesRule-begin";keyframesRule=new CSSOM.CSSKeyframesRule;keyframesRule.__starts=i;keyframesRule._vendorPrefix=matchKeyframes[1];i+=matchKeyframes[0].length-1;buffer="";break}else if(state==="selector"){state="atRule"}}buffer+=character;break;case"{":if(state==="selector"||state==="atRule"){styleRule.selectorText=buffer.trim();styleRule.style.__starts=i;buffer="";state="before-name"}else if(state==="atBlock"){mediaRule.media.mediaText=buffer.trim();if(parentRule){ancestorRules.push(parentRule)}currentScope=parentRule=mediaRule;mediaRule.parentStyleSheet=styleSheet;buffer="";state="before-selector"}else if(state==="conditionBlock"){supportsRule.conditionText=buffer.trim();if(parentRule){ancestorRules.push(parentRule)}currentScope=parentRule=supportsRule;supportsRule.parentStyleSheet=styleSheet;buffer="";state="before-selector"}else if(state==="hostRule-begin"){if(parentRule){ancestorRules.push(parentRule)}currentScope=parentRule=hostRule;hostRule.parentStyleSheet=styleSheet;buffer="";state="before-selector"}else if(state==="fontFaceRule-begin"){if(parentRule){fontFaceRule.parentRule=parentRule}fontFaceRule.parentStyleSheet=styleSheet;styleRule=fontFaceRule;buffer="";state="before-name"}else if(state==="keyframesRule-begin"){keyframesRule.name=buffer.trim();if(parentRule){ancestorRules.push(parentRule);keyframesRule.parentRule=parentRule}keyframesRule.parentStyleSheet=styleSheet;currentScope=parentRule=keyframesRule;buffer="";state="keyframeRule-begin"}else if(state==="keyframeRule-begin"){styleRule=new CSSOM.CSSKeyframeRule;styleRule.keyText=buffer.trim();styleRule.__starts=i;buffer="";state="before-name"}else if(state==="documentRule-begin"){documentRule.matcher.matcherText=buffer.trim();if(parentRule){ancestorRules.push(parentRule);documentRule.parentRule=parentRule}currentScope=parentRule=documentRule;documentRule.parentStyleSheet=styleSheet;buffer="";state="before-selector"}break;case":":if(state==="name"){name=buffer.trim();buffer="";state="before-value"}else{buffer+=character}break;case"(":if(state==="value"){if(buffer.trim()==="expression"){var info=new CSSOM.CSSValueExpression(token,i).parse();if(info.error){parseError(info.error)}else{buffer+=info.expression;i=info.idx}}else{state="value-parenthesis";valueParenthesisDepth=1;buffer+=character}}else if(state==="value-parenthesis"){valueParenthesisDepth++;buffer+=character}else{buffer+=character}break;case")":if(state==="value-parenthesis"){valueParenthesisDepth--;if(valueParenthesisDepth===0)state="value"}buffer+=character;break;case"!":if(state==="value"&&token.indexOf("!important",i)===i){priority="important";i+="important".length}else{buffer+=character}break;case";":switch(state){case"value":styleRule.style.setProperty(name,buffer.trim(),priority);priority="";buffer="";state="before-name";break;case"atRule":buffer="";state="before-selector";break;case"importRule":importRule=new CSSOM.CSSImportRule;importRule.parentStyleSheet=importRule.styleSheet.parentStyleSheet=styleSheet;importRule.cssText=buffer+character;styleSheet.cssRules.push(importRule);buffer="";state="before-selector";break;default:buffer+=character;break}break;case"}":switch(state){case"value":styleRule.style.setProperty(name,buffer.trim(),priority);priority="";case"before-name":case"name":styleRule.__ends=i+1;if(parentRule){styleRule.parentRule=parentRule}styleRule.parentStyleSheet=styleSheet;currentScope.cssRules.push(styleRule);buffer="";if(currentScope.constructor===CSSOM.CSSKeyframesRule){state="keyframeRule-begin"}else{state="before-selector"}break;case"keyframeRule-begin":case"before-selector":case"selector":if(!parentRule){parseError("Unexpected }")}hasAncestors=ancestorRules.length>0;while(ancestorRules.length>0){parentRule=ancestorRules.pop();if(parentRule.constructor.name==="CSSMediaRule"||parentRule.constructor.name==="CSSSupportsRule"){prevScope=currentScope;currentScope=parentRule;currentScope.cssRules.push(prevScope);break}if(ancestorRules.length===0){hasAncestors=false}}if(!hasAncestors){currentScope.__ends=i+1;styleSheet.cssRules.push(currentScope);currentScope=styleSheet;parentRule=null}buffer="";state="before-selector";break}break;default:switch(state){case"before-selector":state="selector";styleRule=new CSSOM.CSSStyleRule;styleRule.__starts=i;break;case"before-name":state="name";break;case"before-value":state="value";break;case"importRule-begin":state="importRule";break}buffer+=character;break}}return styleSheet};exports.parse=CSSOM.parse;CSSOM.CSSStyleSheet=require("./CSSStyleSheet").CSSStyleSheet;CSSOM.CSSStyleRule=require("./CSSStyleRule").CSSStyleRule;CSSOM.CSSImportRule=require("./CSSImportRule").CSSImportRule;CSSOM.CSSMediaRule=require("./CSSMediaRule").CSSMediaRule;CSSOM.CSSSupportsRule=require("./CSSSupportsRule").CSSSupportsRule;CSSOM.CSSFontFaceRule=require("./CSSFontFaceRule").CSSFontFaceRule;CSSOM.CSSHostRule=require("./CSSHostRule").CSSHostRule;CSSOM.CSSStyleDeclaration=require("./CSSStyleDeclaration").CSSStyleDeclaration;CSSOM.CSSKeyframeRule=require("./CSSKeyframeRule").CSSKeyframeRule;CSSOM.CSSKeyframesRule=require("./CSSKeyframesRule").CSSKeyframesRule;CSSOM.CSSValueExpression=require("./CSSValueExpression").CSSValueExpression;CSSOM.CSSDocumentRule=require("./CSSDocumentRule").CSSDocumentRule},{"./CSSDocumentRule":144,"./CSSFontFaceRule":145,"./CSSHostRule":146,"./CSSImportRule":147,"./CSSKeyframeRule":148,"./CSSKeyframesRule":149,"./CSSMediaRule":150,"./CSSStyleDeclaration":152,"./CSSStyleRule":153,"./CSSStyleSheet":154,"./CSSSupportsRule":155,"./CSSValueExpression":157}],164:[function(require,module,exports){"use strict";var CSSOM=require("cssom");var allProperties=require("./allProperties");var allExtraProperties=require("./allExtraProperties");var implementedProperties=require("./implementedProperties");var{dashedToCamelCase:dashedToCamelCase}=require("./parsers");var getBasicPropertyDescriptor=require("./utils/getBasicPropertyDescriptor");var CSSStyleDeclaration=function CSSStyleDeclaration(onChangeCallback){this._values={};this._importants={};this._length=0;this._onChange=onChangeCallback||function(){return}};CSSStyleDeclaration.prototype={constructor:CSSStyleDeclaration,getPropertyValue:function(name){if(!this._values.hasOwnProperty(name)){return""}return this._values[name].toString()},setProperty:function(name,value,priority){if(value===undefined){return}if(value===null||value===""){this.removeProperty(name);return}var isCustomProperty=name.indexOf("--")===0;if(isCustomProperty){this._setProperty(name,value,priority);return}var lowercaseName=name.toLowerCase();if(!allProperties.has(lowercaseName)&&!allExtraProperties.has(lowercaseName)){return}this[lowercaseName]=value;this._importants[lowercaseName]=priority},_setProperty:function(name,value,priority){if(value===undefined){return}if(value===null||value===""){this.removeProperty(name);return}if(this._values[name]){var index=Array.prototype.indexOf.call(this,name);if(index<0){this[this._length]=name;this._length++}}else{this[this._length]=name;this._length++}this._values[name]=value;this._importants[name]=priority;this._onChange(this.cssText)},removeProperty:function(name){if(!this._values.hasOwnProperty(name)){return""}var prevValue=this._values[name];delete this._values[name];delete this._importants[name];var index=Array.prototype.indexOf.call(this,name);if(index<0){return prevValue}Array.prototype.splice.call(this,index,1);this._onChange(this.cssText);return prevValue},getPropertyPriority:function(name){return this._importants[name]||""},getPropertyCSSValue:function(){return},getPropertyShorthand:function(){return},isPropertyImplicit:function(){return},item:function(index){index=parseInt(index,10);if(index<0||index>=this._length){return""}return this[index]}};Object.defineProperties(CSSStyleDeclaration.prototype,{cssText:{get:function(){var properties=[];var i;var name;var value;var priority;for(i=0;i<this._length;i++){name=this[i];value=this.getPropertyValue(name);priority=this.getPropertyPriority(name);if(priority!==""){priority=" !"+priority}properties.push([name,": ",value,priority,";"].join(""))}return properties.join(" ")},set:function(value){var i;this._values={};Array.prototype.splice.call(this,0,this._length);this._importants={};var dummyRule;try{dummyRule=CSSOM.parse("#bogus{"+value+"}").cssRules[0].style}catch(err){return}var rule_length=dummyRule.length;var name;for(i=0;i<rule_length;++i){name=dummyRule[i];this.setProperty(dummyRule[i],dummyRule.getPropertyValue(name),dummyRule.getPropertyPriority(name))}this._onChange(this.cssText)},enumerable:true,configurable:true},parentRule:{get:function(){return null},enumerable:true,configurable:true},length:{get:function(){return this._length},set:function(value){var i;for(i=value;i<this._length;i++){delete this[i]}this._length=value},enumerable:true,configurable:true}});require("./properties")(CSSStyleDeclaration.prototype);allProperties.forEach((function(property){if(!implementedProperties.has(property)){var declaration=getBasicPropertyDescriptor(property);Object.defineProperty(CSSStyleDeclaration.prototype,property,declaration);Object.defineProperty(CSSStyleDeclaration.prototype,dashedToCamelCase(property),declaration)}}));allExtraProperties.forEach((function(property){if(!implementedProperties.has(property)){var declaration=getBasicPropertyDescriptor(property);Object.defineProperty(CSSStyleDeclaration.prototype,property,declaration);Object.defineProperty(CSSStyleDeclaration.prototype,dashedToCamelCase(property),declaration)}}));exports.CSSStyleDeclaration=CSSStyleDeclaration},{"./allExtraProperties":165,"./allProperties":166,"./implementedProperties":169,"./parsers":171,"./properties":172,"./utils/getBasicPropertyDescriptor":174,cssom:193}],165:[function(require,module,exports){"use strict";var allWebkitProperties=require("./allWebkitProperties");module.exports=new Set(["background-position-x","background-position-y","background-repeat-x","background-repeat-y","color-interpolation","color-profile","color-rendering","css-float","enable-background","fill","fill-opacity","fill-rule","glyph-orientation-horizontal","image-rendering","kerning","marker","marker-end","marker-mid","marker-offset","marker-start","marks","pointer-events","shape-rendering","size","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-line-through","text-line-through-color","text-line-through-mode","text-line-through-style","text-line-through-width","text-overline","text-overline-color","text-overline-mode","text-overline-style","text-overline-width","text-rendering","text-underline","text-underline-color","text-underline-mode","text-underline-style","text-underline-width","unicode-range","vector-effect"].concat(allWebkitProperties))},{"./allWebkitProperties":167}],166:[function(require,module,exports){"use strict";module.exports=new Set(["align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-overflow","block-size","bookmark-label","bookmark-level","bookmark-state","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-boundary","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","box-snap","break-after","break-before","break-inside","caption-side","caret","caret-color","caret-shape","chains","clear","clip","clip-path","clip-rule","color","color-adjust","color-interpolation-filters","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","continue","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","elevation","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","footnote-display","footnote-policy","forced-color-adjust","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphenate-limit-last","hyphenate-limit-lines","hyphenate-limit-zone","hyphens","image-orientation","image-rendering","image-resolution","initial-letters","initial-letters-align","initial-letters-wrap","inline-size","inline-sizing","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-clamp","line-grid","line-height","line-padding","line-snap","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marker-side","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-after","offset-anchor","offset-before","offset-distance","offset-end","offset-path","offset-position","offset-rotate","offset-start","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-block","overflow-inline","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","pitch","pitch-range","place-content","place-items","place-self","play-during","position","quotes","region-fragment","resize","rest","rest-after","rest-before","richness","right","row-gap","ruby-align","ruby-merge","ruby-position","running","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","spatial-navigation-action","spatial-navigation-contain","spatial-navigation-function","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-group-align","text-indent","text-justify","text-orientation","text-overflow","text-shadow","text-space-collapse","text-space-trim","text-spacing","text-transform","text-underline-position","text-wrap","top","transform","transform-box","transform-origin","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-boundary-detection","word-boundary-expansion","word-break","word-spacing","word-wrap","wrap-after","wrap-before","wrap-flow","wrap-inside","wrap-through","writing-mode","z-index"])},{}],167:[function(require,module,exports){"use strict";module.exports=["animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","aspect-ratio","backface-visibility","background-clip","background-composite","background-origin","background-size","border-after","border-after-color","border-after-style","border-after-width","border-before","border-before-color","border-before-style","border-before-width","border-end","border-end-color","border-end-style","border-end-width","border-fit","border-horizontal-spacing","border-image","border-radius","border-start","border-start-color","border-start-style","border-start-width","border-vertical-spacing","box-align","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-reflect","box-shadow","color-correction","column-axis","column-break-after","column-break-before","column-break-inside","column-count","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","columns","column-span","column-width","filter","flex-align","flex-direction","flex-flow","flex-item-align","flex-line-pack","flex-order","flex-pack","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-size-delta","font-smoothing","font-variant-ligatures","highlight","hyphenate-character","hyphenate-limit-after","hyphenate-limit-before","hyphenate-limit-lines","hyphens","line-align","line-box-contain","line-break","line-clamp","line-grid","line-snap","locale","logical-height","logical-width","margin-after","margin-after-collapse","margin-before","margin-before-collapse","margin-bottom-collapse","margin-collapse","margin-end","margin-start","margin-top-collapse","marquee","marquee-direction","marquee-increment","marquee-repetition","marquee-speed","marquee-style","mask","mask-attachment","mask-box-image","mask-box-image-outset","mask-box-image-repeat","mask-box-image-slice","mask-box-image-source","mask-box-image-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-position-x","mask-position-y","mask-repeat","mask-repeat-x","mask-repeat-y","mask-size","match-nearest-mail-blockquote-color","max-logical-height","max-logical-width","min-logical-height","min-logical-width","nbsp-mode","overflow-scrolling","padding-after","padding-before","padding-end","padding-start","perspective","perspective-origin","perspective-origin-x","perspective-origin-y","print-color-adjust","region-break-after","region-break-before","region-break-inside","region-overflow","rtl-ordering","svg-shadow","tap-highlight-color","text-combine","text-decorations-in-effect","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-fill-color","text-orientation","text-security","text-size-adjust","text-stroke","text-stroke-color","text-stroke-width","transform","transform-origin","transform-origin-x","transform-origin-y","transform-origin-z","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-drag","user-modify","user-select","wrap","wrap-flow","wrap-margin","wrap-padding","wrap-shape-inside","wrap-shape-outside","wrap-through","writing-mode","zoom"].map(prop=>"webkit-"+prop)},{}],168:[function(require,module,exports){"use strict";module.exports.POSITION_AT_SHORTHAND={first:0,second:1}},{}],169:[function(require,module,exports){"use strict";var implementedProperties=new Set;implementedProperties.add("azimuth");implementedProperties.add("background");implementedProperties.add("background-attachment");implementedProperties.add("background-color");implementedProperties.add("background-image");implementedProperties.add("background-position");implementedProperties.add("background-repeat");implementedProperties.add("border");implementedProperties.add("border-bottom");implementedProperties.add("border-bottom-color");implementedProperties.add("border-bottom-style");implementedProperties.add("border-bottom-width");implementedProperties.add("border-collapse");implementedProperties.add("border-color");implementedProperties.add("border-left");implementedProperties.add("border-left-color");implementedProperties.add("border-left-style");implementedProperties.add("border-left-width");implementedProperties.add("border-right");implementedProperties.add("border-right-color");implementedProperties.add("border-right-style");implementedProperties.add("border-right-width");implementedProperties.add("border-spacing");implementedProperties.add("border-style");implementedProperties.add("border-top");implementedProperties.add("border-top-color");implementedProperties.add("border-top-style");implementedProperties.add("border-top-width");implementedProperties.add("border-width");implementedProperties.add("bottom");implementedProperties.add("clear");implementedProperties.add("clip");implementedProperties.add("color");implementedProperties.add("css-float");implementedProperties.add("flex");implementedProperties.add("flex-basis");implementedProperties.add("flex-grow");implementedProperties.add("flex-shrink");implementedProperties.add("float");implementedProperties.add("flood-color");implementedProperties.add("font");implementedProperties.add("font-family");implementedProperties.add("font-size");implementedProperties.add("font-style");implementedProperties.add("font-variant");implementedProperties.add("font-weight");implementedProperties.add("height");implementedProperties.add("left");implementedProperties.add("lighting-color");implementedProperties.add("line-height");implementedProperties.add("margin");implementedProperties.add("margin-bottom");implementedProperties.add("margin-left");implementedProperties.add("margin-right");implementedProperties.add("margin-top");implementedProperties.add("opacity");implementedProperties.add("outline-color");implementedProperties.add("padding");implementedProperties.add("padding-bottom");implementedProperties.add("padding-left");implementedProperties.add("padding-right");implementedProperties.add("padding-top");implementedProperties.add("right");implementedProperties.add("stop-color");implementedProperties.add("text-line-through-color");implementedProperties.add("text-overline-color");implementedProperties.add("text-underline-color");implementedProperties.add("top");implementedProperties.add("webkit-border-after-color");implementedProperties.add("webkit-border-before-color");implementedProperties.add("webkit-border-end-color");implementedProperties.add("webkit-border-start-color");implementedProperties.add("webkit-column-rule-color");implementedProperties.add("webkit-match-nearest-mail-blockquote-color");implementedProperties.add("webkit-tap-highlight-color");implementedProperties.add("webkit-text-emphasis-color");implementedProperties.add("webkit-text-fill-color");implementedProperties.add("webkit-text-stroke-color");implementedProperties.add("width");module.exports=implementedProperties},{}],170:[function(require,module,exports){module.exports=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","transparent","currentcolor"]},{}],171:[function(require,module,exports){"use strict";const namedColors=require("./named_colors.json");const{hslToRgb:hslToRgb}=require("./utils/colorSpace");exports.TYPES={INTEGER:1,NUMBER:2,LENGTH:3,PERCENT:4,URL:5,COLOR:6,STRING:7,ANGLE:8,KEYWORD:9,NULL_OR_EMPTY_STR:10,CALC:11};var integerRegEx=/^[-+]?[0-9]+$/;var numberRegEx=/^[-+]?[0-9]*\.?[0-9]+$/;var lengthRegEx=/^(0|[-+]?[0-9]*\.?[0-9]+(in|cm|em|mm|pt|pc|px|ex|rem|vh|vw|ch))$/;var percentRegEx=/^[-+]?[0-9]*\.?[0-9]+%$/;var urlRegEx=/^url\(\s*([^)]*)\s*\)$/;var stringRegEx=/^("[^"]*"|'[^']*')$/;var colorRegEx1=/^#([0-9a-fA-F]{3,4}){1,2}$/;var colorRegEx2=/^rgb\(([^)]*)\)$/;var colorRegEx3=/^rgba\(([^)]*)\)$/;var calcRegEx=/^calc\(([^)]*)\)$/;var colorRegEx4=/^hsla?\(\s*(-?\d+|-?\d*.\d+)\s*,\s*(-?\d+|-?\d*.\d+)%\s*,\s*(-?\d+|-?\d*.\d+)%\s*(,\s*(-?\d+|-?\d*.\d+)\s*)?\)/;var angleRegEx=/^([-+]?[0-9]*\.?[0-9]+)(deg|grad|rad)$/;exports.valueType=function valueType(val){if(val===""||val===null){return exports.TYPES.NULL_OR_EMPTY_STR}if(typeof val==="number"){val=val.toString()}if(typeof val!=="string"){return undefined}if(integerRegEx.test(val)){return exports.TYPES.INTEGER}if(numberRegEx.test(val)){return exports.TYPES.NUMBER}if(lengthRegEx.test(val)){return exports.TYPES.LENGTH}if(percentRegEx.test(val)){return exports.TYPES.PERCENT}if(urlRegEx.test(val)){return exports.TYPES.URL}if(calcRegEx.test(val)){return exports.TYPES.CALC}if(stringRegEx.test(val)){return exports.TYPES.STRING}if(angleRegEx.test(val)){return exports.TYPES.ANGLE}if(colorRegEx1.test(val)){return exports.TYPES.COLOR}var res=colorRegEx2.exec(val);var parts;if(res!==null){parts=res[1].split(/\s*,\s*/);if(parts.length!==3){return undefined}if(parts.every(percentRegEx.test.bind(percentRegEx))||parts.every(integerRegEx.test.bind(integerRegEx))){return exports.TYPES.COLOR}return undefined}res=colorRegEx3.exec(val);if(res!==null){parts=res[1].split(/\s*,\s*/);if(parts.length!==4){return undefined}if(parts.slice(0,3).every(percentRegEx.test.bind(percentRegEx))||parts.slice(0,3).every(integerRegEx.test.bind(integerRegEx))){if(numberRegEx.test(parts[3])){return exports.TYPES.COLOR}}return undefined}if(colorRegEx4.test(val)){return exports.TYPES.COLOR}val=val.toLowerCase();if(namedColors.includes(val)){return exports.TYPES.COLOR}switch(val){case"activeborder":case"activecaption":case"appworkspace":case"background":case"buttonface":case"buttonhighlight":case"buttonshadow":case"buttontext":case"captiontext":case"graytext":case"highlight":case"highlighttext":case"inactiveborder":case"inactivecaption":case"inactivecaptiontext":case"infobackground":case"infotext":case"menu":case"menutext":case"scrollbar":case"threeddarkshadow":case"threedface":case"threedhighlight":case"threedlightshadow":case"threedshadow":case"window":case"windowframe":case"windowtext":return exports.TYPES.COLOR;default:return exports.TYPES.KEYWORD}};exports.parseInteger=function parseInteger(val){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR){return val}if(type!==exports.TYPES.INTEGER){return undefined}return String(parseInt(val,10))};exports.parseNumber=function parseNumber(val){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR){return val}if(type!==exports.TYPES.NUMBER&&type!==exports.TYPES.INTEGER){return undefined}return String(parseFloat(val))};exports.parseLength=function parseLength(val){if(val===0||val==="0"){return"0px"}var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR){return val}if(type!==exports.TYPES.LENGTH){return undefined}return val};exports.parsePercent=function parsePercent(val){if(val===0||val==="0"){return"0%"}var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR){return val}if(type!==exports.TYPES.PERCENT){return undefined}return val};exports.parseMeasurement=function parseMeasurement(val){var type=exports.valueType(val);if(type===exports.TYPES.CALC){return val}var length=exports.parseLength(val);if(length!==undefined){return length}return exports.parsePercent(val)};exports.parseUrl=function parseUrl(val){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR){return val}var res=urlRegEx.exec(val);if(!res){return undefined}var str=res[1];if((str[0]==='"'||str[0]==="'")&&str[0]!==str[str.length-1]){return undefined}if(str[0]==='"'||str[0]==="'"){str=str.substr(1,str.length-2)}var i;for(i=0;i<str.length;i++){switch(str[i]){case"(":case")":case" ":case"\t":case"\n":case"'":case'"':return undefined;case"\\":i++;break}}return"url("+str+")"};exports.parseString=function parseString(val){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR){return val}if(type!==exports.TYPES.STRING){return undefined}var i;for(i=1;i<val.length-1;i++){switch(val[i]){case val[0]:return undefined;case"\\":i++;while(i<val.length-1&&/[0-9A-Fa-f]/.test(val[i])){i++}break}}if(i>=val.length){return undefined}return val};exports.parseColor=function parseColor(val){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR){return val}var red,green,blue,hue,saturation,lightness,alpha=1;var parts;var res=colorRegEx1.exec(val);if(res){var defaultHex=val.substr(1);var hex=val.substr(1);if(hex.length===3||hex.length===4){hex=hex[0]+hex[0]+hex[1]+hex[1]+hex[2]+hex[2];if(defaultHex.length===4){hex=hex+defaultHex[3]+defaultHex[3]}}red=parseInt(hex.substr(0,2),16);green=parseInt(hex.substr(2,2),16);blue=parseInt(hex.substr(4,2),16);if(hex.length===8){var hexAlpha=hex.substr(6,2);var hexAlphaToRgbaAlpha=Number((parseInt(hexAlpha,16)/255).toFixed(3));return"rgba("+red+", "+green+", "+blue+", "+hexAlphaToRgbaAlpha+")"}return"rgb("+red+", "+green+", "+blue+")"}res=colorRegEx2.exec(val);if(res){parts=res[1].split(/\s*,\s*/);if(parts.length!==3){return undefined}if(parts.every(percentRegEx.test.bind(percentRegEx))){red=Math.floor(parseFloat(parts[0].slice(0,-1))*255/100);green=Math.floor(parseFloat(parts[1].slice(0,-1))*255/100);blue=Math.floor(parseFloat(parts[2].slice(0,-1))*255/100)}else if(parts.every(integerRegEx.test.bind(integerRegEx))){red=parseInt(parts[0],10);green=parseInt(parts[1],10);blue=parseInt(parts[2],10)}else{return undefined}red=Math.min(255,Math.max(0,red));green=Math.min(255,Math.max(0,green));blue=Math.min(255,Math.max(0,blue));return"rgb("+red+", "+green+", "+blue+")"}res=colorRegEx3.exec(val);if(res){parts=res[1].split(/\s*,\s*/);if(parts.length!==4){return undefined}if(parts.slice(0,3).every(percentRegEx.test.bind(percentRegEx))){red=Math.floor(parseFloat(parts[0].slice(0,-1))*255/100);green=Math.floor(parseFloat(parts[1].slice(0,-1))*255/100);blue=Math.floor(parseFloat(parts[2].slice(0,-1))*255/100);alpha=parseFloat(parts[3])}else if(parts.slice(0,3).every(integerRegEx.test.bind(integerRegEx))){red=parseInt(parts[0],10);green=parseInt(parts[1],10);blue=parseInt(parts[2],10);alpha=parseFloat(parts[3])}else{return undefined}if(isNaN(alpha)){alpha=1}red=Math.min(255,Math.max(0,red));green=Math.min(255,Math.max(0,green));blue=Math.min(255,Math.max(0,blue));alpha=Math.min(1,Math.max(0,alpha));if(alpha===1){return"rgb("+red+", "+green+", "+blue+")"}return"rgba("+red+", "+green+", "+blue+", "+alpha+")"}res=colorRegEx4.exec(val);if(res){const[,_hue,_saturation,_lightness,_alphaString=""]=res;const _alpha=parseFloat(_alphaString.replace(",","").trim());if(!_hue||!_saturation||!_lightness){return undefined}hue=parseFloat(_hue);saturation=parseInt(_saturation,10);lightness=parseInt(_lightness,10);if(_alpha&&numberRegEx.test(_alpha)){alpha=parseFloat(_alpha)}const[r,g,b]=hslToRgb(hue,saturation/100,lightness/100);if(!_alphaString||alpha===1){return"rgb("+r+", "+g+", "+b+")"}return"rgba("+r+", "+g+", "+b+", "+alpha+")"}if(type===exports.TYPES.COLOR){return val}return undefined};exports.parseAngle=function parseAngle(val){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR){return val}if(type!==exports.TYPES.ANGLE){return undefined}var res=angleRegEx.exec(val);var flt=parseFloat(res[1]);if(res[2]==="rad"){flt*=180/Math.PI}else if(res[2]==="grad"){flt*=360/400}while(flt<0){flt+=360}while(flt>360){flt-=360}return flt+"deg"};exports.parseKeyword=function parseKeyword(val,valid_keywords){var type=exports.valueType(val);if(type===exports.TYPES.NULL_OR_EMPTY_STR){return val}if(type!==exports.TYPES.KEYWORD){return undefined}val=val.toString().toLowerCase();var i;for(i=0;i<valid_keywords.length;i++){if(valid_keywords[i].toLowerCase()===val){return valid_keywords[i]}}return undefined};var dashedToCamelCase=function(dashed){var i;var camel="";var nextCap=false;for(i=0;i<dashed.length;i++){if(dashed[i]!=="-"){camel+=nextCap?dashed[i].toUpperCase():dashed[i];nextCap=false}else{nextCap=true}}return camel};exports.dashedToCamelCase=dashedToCamelCase;var is_space=/\s/;var opening_deliminators=['"',"'","("];var closing_deliminators=['"',"'",")"];var getParts=function(str){var deliminator_stack=[];var length=str.length;var i;var parts=[];var current_part="";var opening_index;var closing_index;for(i=0;i<length;i++){opening_index=opening_deliminators.indexOf(str[i]);closing_index=closing_deliminators.indexOf(str[i]);if(is_space.test(str[i])){if(deliminator_stack.length===0){if(current_part!==""){parts.push(current_part)}current_part=""}else{current_part+=str[i]}}else{if(str[i]==="\\"){i++;current_part+=str[i]}else{current_part+=str[i];if(closing_index!==-1&&closing_index===deliminator_stack[deliminator_stack.length-1]){deliminator_stack.pop()}else if(opening_index!==-1){deliminator_stack.push(opening_index)}}}}if(current_part!==""){parts.push(current_part)}return parts};exports.shorthandParser=function parse(v,shorthand_for){var obj={};var type=exports.valueType(v);if(type===exports.TYPES.NULL_OR_EMPTY_STR){Object.keys(shorthand_for).forEach((function(property){obj[property]=""}));return obj}if(typeof v==="number"){v=v.toString()}if(typeof v!=="string"){return undefined}if(v.toLowerCase()==="inherit"){return{}}var parts=getParts(v);var valid=true;parts.forEach((function(part,i){var part_valid=false;Object.keys(shorthand_for).forEach((function(property){if(shorthand_for[property].isValid(part,i)){part_valid=true;obj[property]=part}}));valid=valid&&part_valid}));if(!valid){return undefined}return obj};exports.shorthandSetter=function(property,shorthand_for){return function(v){var obj=exports.shorthandParser(v,shorthand_for);if(obj===undefined){return}Object.keys(obj).forEach((function(subprop){var camel=dashedToCamelCase(subprop);this[camel]=obj[subprop];obj[subprop]=this[camel];this.removeProperty(subprop);if(obj[subprop]!==""){this._values[subprop]=obj[subprop]}}),this);Object.keys(shorthand_for).forEach((function(subprop){if(!obj.hasOwnProperty(subprop)){this.removeProperty(subprop);delete this._values[subprop]}}),this);this.removeProperty(property);var calculated=exports.shorthandGetter(property,shorthand_for).call(this);if(calculated!==""){this._setProperty(property,calculated)}}};exports.shorthandGetter=function(property,shorthand_for){return function(){if(this._values[property]!==undefined){return this.getPropertyValue(property)}return Object.keys(shorthand_for).map((function(subprop){return this.getPropertyValue(subprop)}),this).filter((function(value){return value!==""})).join(" ")}};exports.implicitSetter=function(property_before,property_after,isValid,parser){property_after=property_after||"";if(property_after!==""){property_after="-"+property_after}var part_names=["top","right","bottom","left"];return function(v){if(typeof v==="number"){v=v.toString()}if(typeof v!=="string"){return undefined}var parts;if(v.toLowerCase()==="inherit"||v===""){parts=[v]}else{parts=getParts(v)}if(parts.length<1||parts.length>4){return undefined}if(!parts.every(isValid)){return undefined}parts=parts.map((function(part){return parser(part)}));this._setProperty(property_before+property_after,parts.join(" "));if(parts.length===1){parts[1]=parts[0]}if(parts.length===2){parts[2]=parts[0]}if(parts.length===3){parts[3]=parts[1]}for(var i=0;i<4;i++){var property=property_before+"-"+part_names[i]+property_after;this.removeProperty(property);if(parts[i]!==""){this._values[property]=parts[i]}}return v}};exports.subImplicitSetter=function(prefix,part,isValid,parser){var property=prefix+"-"+part;var subparts=[prefix+"-top",prefix+"-right",prefix+"-bottom",prefix+"-left"];return function(v){if(typeof v==="number"){v=v.toString()}if(typeof v!=="string"){return undefined}if(!isValid(v)){return undefined}v=parser(v);this._setProperty(property,v);var parts=[];for(var i=0;i<4;i++){if(this._values[subparts[i]]==null||this._values[subparts[i]]===""){break}parts.push(this._values[subparts[i]])}if(parts.length===4){for(i=0;i<4;i++){this.removeProperty(subparts[i]);this._values[subparts[i]]=parts[i]}this._setProperty(prefix,parts.join(" "))}return v}};var camel_to_dashed=/[A-Z]/g;var first_segment=/^\([^-]\)-/;var vendor_prefixes=["o","moz","ms","webkit"];exports.camelToDashed=function(camel_case){var match;var dashed=camel_case.replace(camel_to_dashed,"-$&").toLowerCase();match=dashed.match(first_segment);if(match&&vendor_prefixes.indexOf(match[1])!==-1){dashed="-"+dashed}return dashed}},{"./named_colors.json":170,"./utils/colorSpace":173}],172:[function(require,module,exports){"use strict";var external_dependency_parsers_0=require("./parsers.js");var external_dependency_constants_1=require("./constants.js");var azimuth_export_definition;azimuth_export_definition={set:function(v){var valueType=external_dependency_parsers_0.valueType(v);if(valueType===external_dependency_parsers_0.TYPES.ANGLE){return this._setProperty("azimuth",external_dependency_parsers_0.parseAngle(v))}if(valueType===external_dependency_parsers_0.TYPES.KEYWORD){var keywords=v.toLowerCase().trim().split(/\s+/);var hasBehind=false;if(keywords.length>2){return}var behindIndex=keywords.indexOf("behind");hasBehind=behindIndex!==-1;if(keywords.length===2){if(!hasBehind){return}keywords.splice(behindIndex,1)}if(keywords[0]==="leftwards"||keywords[0]==="rightwards"){if(hasBehind){return}return this._setProperty("azimuth",keywords[0])}if(keywords[0]==="behind"){return this._setProperty("azimuth","180deg")}switch(keywords[0]){case"left-side":return this._setProperty("azimuth","270deg");case"far-left":return this._setProperty("azimuth",(hasBehind?240:300)+"deg");case"left":return this._setProperty("azimuth",(hasBehind?220:320)+"deg");case"center-left":return this._setProperty("azimuth",(hasBehind?200:340)+"deg");case"center":return this._setProperty("azimuth",(hasBehind?180:0)+"deg");case"center-right":return this._setProperty("azimuth",(hasBehind?160:20)+"deg");case"right":return this._setProperty("azimuth",(hasBehind?140:40)+"deg");case"far-right":return this._setProperty("azimuth",(hasBehind?120:60)+"deg");case"right-side":return this._setProperty("azimuth","90deg");default:return}}},get:function(){return this.getPropertyValue("azimuth")},enumerable:true,configurable:true};var backgroundColor_export_isValid,backgroundColor_export_definition;var backgroundColor_local_var_parse=function parse(v){var parsed=external_dependency_parsers_0.parseColor(v);if(parsed!==undefined){return parsed}if(external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&(v.toLowerCase()==="transparent"||v.toLowerCase()==="inherit")){return v}return undefined};backgroundColor_export_isValid=function isValid(v){return backgroundColor_local_var_parse(v)!==undefined};backgroundColor_export_definition={set:function(v){var parsed=backgroundColor_local_var_parse(v);if(parsed===undefined){return}this._setProperty("background-color",parsed)},get:function(){return this.getPropertyValue("background-color")},enumerable:true,configurable:true};var backgroundImage_export_isValid,backgroundImage_export_definition;var backgroundImage_local_var_parse=function parse(v){var parsed=external_dependency_parsers_0.parseUrl(v);if(parsed!==undefined){return parsed}if(external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&(v.toLowerCase()==="none"||v.toLowerCase()==="inherit")){return v}return undefined};backgroundImage_export_isValid=function isValid(v){return backgroundImage_local_var_parse(v)!==undefined};backgroundImage_export_definition={set:function(v){this._setProperty("background-image",backgroundImage_local_var_parse(v))},get:function(){return this.getPropertyValue("background-image")},enumerable:true,configurable:true};var backgroundRepeat_export_isValid,backgroundRepeat_export_definition;var backgroundRepeat_local_var_parse=function parse(v){if(external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&(v.toLowerCase()==="repeat"||v.toLowerCase()==="repeat-x"||v.toLowerCase()==="repeat-y"||v.toLowerCase()==="no-repeat"||v.toLowerCase()==="inherit")){return v}return undefined};backgroundRepeat_export_isValid=function isValid(v){return backgroundRepeat_local_var_parse(v)!==undefined};backgroundRepeat_export_definition={set:function(v){this._setProperty("background-repeat",backgroundRepeat_local_var_parse(v))},get:function(){return this.getPropertyValue("background-repeat")},enumerable:true,configurable:true};var backgroundAttachment_export_isValid,backgroundAttachment_export_definition;var backgroundAttachment_local_var_isValid=backgroundAttachment_export_isValid=function isValid(v){return external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&(v.toLowerCase()==="scroll"||v.toLowerCase()==="fixed"||v.toLowerCase()==="inherit")};backgroundAttachment_export_definition={set:function(v){if(!backgroundAttachment_local_var_isValid(v)){return}this._setProperty("background-attachment",v)},get:function(){return this.getPropertyValue("background-attachment")},enumerable:true,configurable:true};var backgroundPosition_export_isValid,backgroundPosition_export_definition;var backgroundPosition_local_var_valid_keywords=["top","center","bottom","left","right"];var backgroundPosition_local_var_parse=function parse(v){if(v===""||v===null){return undefined}var parts=v.split(/\s+/);if(parts.length>2||parts.length<1){return undefined}var types=[];parts.forEach((function(part,index){types[index]=external_dependency_parsers_0.valueType(part)}));if(parts.length===1){if(types[0]===external_dependency_parsers_0.TYPES.LENGTH||types[0]===external_dependency_parsers_0.TYPES.PERCENT){return v}if(types[0]===external_dependency_parsers_0.TYPES.KEYWORD){if(backgroundPosition_local_var_valid_keywords.indexOf(v.toLowerCase())!==-1||v.toLowerCase()==="inherit"){return v}}return undefined}if((types[0]===external_dependency_parsers_0.TYPES.LENGTH||types[0]===external_dependency_parsers_0.TYPES.PERCENT)&&(types[1]===external_dependency_parsers_0.TYPES.LENGTH||types[1]===external_dependency_parsers_0.TYPES.PERCENT)){return v}if(types[0]!==external_dependency_parsers_0.TYPES.KEYWORD||types[1]!==external_dependency_parsers_0.TYPES.KEYWORD){return undefined}if(backgroundPosition_local_var_valid_keywords.indexOf(parts[0])!==-1&&backgroundPosition_local_var_valid_keywords.indexOf(parts[1])!==-1){return v}return undefined};backgroundPosition_export_isValid=function isValid(v){return backgroundPosition_local_var_parse(v)!==undefined};backgroundPosition_export_definition={set:function(v){this._setProperty("background-position",backgroundPosition_local_var_parse(v))},get:function(){return this.getPropertyValue("background-position")},enumerable:true,configurable:true};var background_export_definition;var background_local_var_shorthand_for={"background-color":{isValid:backgroundColor_export_isValid,definition:backgroundColor_export_definition},"background-image":{isValid:backgroundImage_export_isValid,definition:backgroundImage_export_definition},"background-repeat":{isValid:backgroundRepeat_export_isValid,definition:backgroundRepeat_export_definition},"background-attachment":{isValid:backgroundAttachment_export_isValid,definition:backgroundAttachment_export_definition},"background-position":{isValid:backgroundPosition_export_isValid,definition:backgroundPosition_export_definition}};background_export_definition={set:external_dependency_parsers_0.shorthandSetter("background",background_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("background",background_local_var_shorthand_for),enumerable:true,configurable:true};var borderWidth_export_isValid,borderWidth_export_definition;var borderWidth_local_var_widths=["thin","medium","thick"];borderWidth_export_isValid=function parse(v){var length=external_dependency_parsers_0.parseLength(v);if(length!==undefined){return true}if(typeof v!=="string"){return false}if(v===""){return true}v=v.toLowerCase();if(borderWidth_local_var_widths.indexOf(v)===-1){return false}return true};var borderWidth_local_var_isValid=borderWidth_export_isValid;var borderWidth_local_var_parser=function(v){var length=external_dependency_parsers_0.parseLength(v);if(length!==undefined){return length}if(borderWidth_local_var_isValid(v)){return v.toLowerCase()}return undefined};borderWidth_export_definition={set:external_dependency_parsers_0.implicitSetter("border","width",borderWidth_local_var_isValid,borderWidth_local_var_parser),get:function(){return this.getPropertyValue("border-width")},enumerable:true,configurable:true};var borderStyle_export_isValid,borderStyle_export_definition;var borderStyle_local_var_styles=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];borderStyle_export_isValid=function parse(v){return typeof v==="string"&&(v===""||borderStyle_local_var_styles.indexOf(v)!==-1)};var borderStyle_local_var_isValid=borderStyle_export_isValid;var borderStyle_local_var_parser=function(v){if(borderStyle_local_var_isValid(v)){return v.toLowerCase()}return undefined};borderStyle_export_definition={set:external_dependency_parsers_0.implicitSetter("border","style",borderStyle_local_var_isValid,borderStyle_local_var_parser),get:function(){return this.getPropertyValue("border-style")},enumerable:true,configurable:true};var borderColor_export_isValid,borderColor_export_definition;borderColor_export_isValid=function parse(v){if(typeof v!=="string"){return false}return v===""||v.toLowerCase()==="transparent"||external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.COLOR};var borderColor_local_var_isValid=borderColor_export_isValid;var borderColor_local_var_parser=function(v){if(borderColor_local_var_isValid(v)){return v.toLowerCase()}return undefined};borderColor_export_definition={set:external_dependency_parsers_0.implicitSetter("border","color",borderColor_local_var_isValid,borderColor_local_var_parser),get:function(){return this.getPropertyValue("border-color")},enumerable:true,configurable:true};var border_export_definition;var border_local_var_shorthand_for={"border-width":{isValid:borderWidth_export_isValid,definition:borderWidth_export_definition},"border-style":{isValid:borderStyle_export_isValid,definition:borderStyle_export_definition},"border-color":{isValid:borderColor_export_isValid,definition:borderColor_export_definition}};var border_local_var_myShorthandSetter=external_dependency_parsers_0.shorthandSetter("border",border_local_var_shorthand_for);var border_local_var_myShorthandGetter=external_dependency_parsers_0.shorthandGetter("border",border_local_var_shorthand_for);border_export_definition={set:function(v){if(v.toString().toLowerCase()==="none"){v=""}border_local_var_myShorthandSetter.call(this,v);this.removeProperty("border-top");this.removeProperty("border-left");this.removeProperty("border-right");this.removeProperty("border-bottom");this._values["border-top"]=this._values.border;this._values["border-left"]=this._values.border;this._values["border-right"]=this._values.border;this._values["border-bottom"]=this._values.border},get:border_local_var_myShorthandGetter,enumerable:true,configurable:true};var borderBottomWidth_export_isValid,borderBottomWidth_export_definition;var borderBottomWidth_local_var_isValid=borderBottomWidth_export_isValid=borderWidth_export_isValid;borderBottomWidth_export_definition={set:function(v){if(borderBottomWidth_local_var_isValid(v)){this._setProperty("border-bottom-width",v)}},get:function(){return this.getPropertyValue("border-bottom-width")},enumerable:true,configurable:true};var borderBottomStyle_export_isValid,borderBottomStyle_export_definition;borderBottomStyle_export_isValid=borderStyle_export_isValid;borderBottomStyle_export_definition={set:function(v){if(borderStyle_export_isValid(v)){if(v.toLowerCase()==="none"){v="";this.removeProperty("border-bottom-width")}this._setProperty("border-bottom-style",v)}},get:function(){return this.getPropertyValue("border-bottom-style")},enumerable:true,configurable:true};var borderBottomColor_export_isValid,borderBottomColor_export_definition;var borderBottomColor_local_var_isValid=borderBottomColor_export_isValid=borderColor_export_isValid;borderBottomColor_export_definition={set:function(v){if(borderBottomColor_local_var_isValid(v)){this._setProperty("border-bottom-color",v)}},get:function(){return this.getPropertyValue("border-bottom-color")},enumerable:true,configurable:true};var borderBottom_export_definition;var borderBottom_local_var_shorthand_for={"border-bottom-width":{isValid:borderBottomWidth_export_isValid,definition:borderBottomWidth_export_definition},"border-bottom-style":{isValid:borderBottomStyle_export_isValid,definition:borderBottomStyle_export_definition},"border-bottom-color":{isValid:borderBottomColor_export_isValid,definition:borderBottomColor_export_definition}};borderBottom_export_definition={set:external_dependency_parsers_0.shorthandSetter("border-bottom",borderBottom_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("border-bottom",borderBottom_local_var_shorthand_for),enumerable:true,configurable:true};var borderCollapse_export_definition;var borderCollapse_local_var_parse=function parse(v){if(external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&(v.toLowerCase()==="collapse"||v.toLowerCase()==="separate"||v.toLowerCase()==="inherit")){return v}return undefined};borderCollapse_export_definition={set:function(v){this._setProperty("border-collapse",borderCollapse_local_var_parse(v))},get:function(){return this.getPropertyValue("border-collapse")},enumerable:true,configurable:true};var borderLeftWidth_export_isValid,borderLeftWidth_export_definition;var borderLeftWidth_local_var_isValid=borderLeftWidth_export_isValid=borderWidth_export_isValid;borderLeftWidth_export_definition={set:function(v){if(borderLeftWidth_local_var_isValid(v)){this._setProperty("border-left-width",v)}},get:function(){return this.getPropertyValue("border-left-width")},enumerable:true,configurable:true};var borderLeftStyle_export_isValid,borderLeftStyle_export_definition;borderLeftStyle_export_isValid=borderStyle_export_isValid;borderLeftStyle_export_definition={set:function(v){if(borderStyle_export_isValid(v)){if(v.toLowerCase()==="none"){v="";this.removeProperty("border-left-width")}this._setProperty("border-left-style",v)}},get:function(){return this.getPropertyValue("border-left-style")},enumerable:true,configurable:true};var borderLeftColor_export_isValid,borderLeftColor_export_definition;var borderLeftColor_local_var_isValid=borderLeftColor_export_isValid=borderColor_export_isValid;borderLeftColor_export_definition={set:function(v){if(borderLeftColor_local_var_isValid(v)){this._setProperty("border-left-color",v)}},get:function(){return this.getPropertyValue("border-left-color")},enumerable:true,configurable:true};var borderLeft_export_definition;var borderLeft_local_var_shorthand_for={"border-left-width":{isValid:borderLeftWidth_export_isValid,definition:borderLeftWidth_export_definition},"border-left-style":{isValid:borderLeftStyle_export_isValid,definition:borderLeftStyle_export_definition},"border-left-color":{isValid:borderLeftColor_export_isValid,definition:borderLeftColor_export_definition}};borderLeft_export_definition={set:external_dependency_parsers_0.shorthandSetter("border-left",borderLeft_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("border-left",borderLeft_local_var_shorthand_for),enumerable:true,configurable:true};var borderRightWidth_export_isValid,borderRightWidth_export_definition;var borderRightWidth_local_var_isValid=borderRightWidth_export_isValid=borderWidth_export_isValid;borderRightWidth_export_definition={set:function(v){if(borderRightWidth_local_var_isValid(v)){this._setProperty("border-right-width",v)}},get:function(){return this.getPropertyValue("border-right-width")},enumerable:true,configurable:true};var borderRightStyle_export_isValid,borderRightStyle_export_definition;borderRightStyle_export_isValid=borderStyle_export_isValid;borderRightStyle_export_definition={set:function(v){if(borderStyle_export_isValid(v)){if(v.toLowerCase()==="none"){v="";this.removeProperty("border-right-width")}this._setProperty("border-right-style",v)}},get:function(){return this.getPropertyValue("border-right-style")},enumerable:true,configurable:true};var borderRightColor_export_isValid,borderRightColor_export_definition;var borderRightColor_local_var_isValid=borderRightColor_export_isValid=borderColor_export_isValid;borderRightColor_export_definition={set:function(v){if(borderRightColor_local_var_isValid(v)){this._setProperty("border-right-color",v)}},get:function(){return this.getPropertyValue("border-right-color")},enumerable:true,configurable:true};var borderRight_export_definition;var borderRight_local_var_shorthand_for={"border-right-width":{isValid:borderRightWidth_export_isValid,definition:borderRightWidth_export_definition},"border-right-style":{isValid:borderRightStyle_export_isValid,definition:borderRightStyle_export_definition},"border-right-color":{isValid:borderRightColor_export_isValid,definition:borderRightColor_export_definition}};borderRight_export_definition={set:external_dependency_parsers_0.shorthandSetter("border-right",borderRight_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("border-right",borderRight_local_var_shorthand_for),enumerable:true,configurable:true};var borderSpacing_export_definition;var borderSpacing_local_var_parse=function parse(v){if(v===""||v===null){return undefined}if(v===0){return"0px"}if(v.toLowerCase()==="inherit"){return v}var parts=v.split(/\s+/);if(parts.length!==1&&parts.length!==2){return undefined}parts.forEach((function(part){if(external_dependency_parsers_0.valueType(part)!==external_dependency_parsers_0.TYPES.LENGTH){return undefined}}));return v};borderSpacing_export_definition={set:function(v){this._setProperty("border-spacing",borderSpacing_local_var_parse(v))},get:function(){return this.getPropertyValue("border-spacing")},enumerable:true,configurable:true};var borderTopWidth_export_isValid,borderTopWidth_export_definition;borderTopWidth_export_isValid=borderWidth_export_isValid;borderTopWidth_export_definition={set:function(v){if(borderWidth_export_isValid(v)){this._setProperty("border-top-width",v)}},get:function(){return this.getPropertyValue("border-top-width")},enumerable:true,configurable:true};var borderTopStyle_export_isValid,borderTopStyle_export_definition;borderTopStyle_export_isValid=borderStyle_export_isValid;borderTopStyle_export_definition={set:function(v){if(borderStyle_export_isValid(v)){if(v.toLowerCase()==="none"){v="";this.removeProperty("border-top-width")}this._setProperty("border-top-style",v)}},get:function(){return this.getPropertyValue("border-top-style")},enumerable:true,configurable:true};var borderTopColor_export_isValid,borderTopColor_export_definition;var borderTopColor_local_var_isValid=borderTopColor_export_isValid=borderColor_export_isValid;borderTopColor_export_definition={set:function(v){if(borderTopColor_local_var_isValid(v)){this._setProperty("border-top-color",v)}},get:function(){return this.getPropertyValue("border-top-color")},enumerable:true,configurable:true};var borderTop_export_definition;var borderTop_local_var_shorthand_for={"border-top-width":{isValid:borderTopWidth_export_isValid,definition:borderTopWidth_export_definition},"border-top-style":{isValid:borderTopStyle_export_isValid,definition:borderTopStyle_export_definition},"border-top-color":{isValid:borderTopColor_export_isValid,definition:borderTopColor_export_definition}};borderTop_export_definition={set:external_dependency_parsers_0.shorthandSetter("border-top",borderTop_local_var_shorthand_for),get:external_dependency_parsers_0.shorthandGetter("border-top",borderTop_local_var_shorthand_for),enumerable:true,configurable:true};var bottom_export_definition;bottom_export_definition={set:function(v){this._setProperty("bottom",external_dependency_parsers_0.parseMeasurement(v))},get:function(){return this.getPropertyValue("bottom")},enumerable:true,configurable:true};var clear_export_definition;var clear_local_var_clear_keywords=["none","left","right","both","inherit"];clear_export_definition={set:function(v){this._setProperty("clear",external_dependency_parsers_0.parseKeyword(v,clear_local_var_clear_keywords))},get:function(){return this.getPropertyValue("clear")},enumerable:true,configurable:true};var clip_export_definition;var clip_local_var_shape_regex=/^rect\((.*)\)$/i;var clip_local_var_parse=function(val){if(val===""||val===null){return val}if(typeof val!=="string"){return undefined}val=val.toLowerCase();if(val==="auto"||val==="inherit"){return val}var matches=val.match(clip_local_var_shape_regex);if(!matches){return undefined}var parts=matches[1].split(/\s*,\s*/);if(parts.length!==4){return undefined}var valid=parts.every((function(part,index){var measurement=external_dependency_parsers_0.parseMeasurement(part);parts[index]=measurement;return measurement!==undefined}));if(!valid){return undefined}parts=parts.join(", ");return val.replace(matches[1],parts)};clip_export_definition={set:function(v){this._setProperty("clip",clip_local_var_parse(v))},get:function(){return this.getPropertyValue("clip")},enumerable:true,configurable:true};var color_export_definition;color_export_definition={set:function(v){this._setProperty("color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("color")},enumerable:true,configurable:true};var cssFloat_export_definition;cssFloat_export_definition={set:function(v){this._setProperty("float",v)},get:function(){return this.getPropertyValue("float")},enumerable:true,configurable:true};var flexGrow_export_isValid,flexGrow_export_definition;flexGrow_export_isValid=function isValid(v,positionAtFlexShorthand){return external_dependency_parsers_0.parseNumber(v)!==undefined&&positionAtFlexShorthand===external_dependency_constants_1.POSITION_AT_SHORTHAND.first};flexGrow_export_definition={set:function(v){this._setProperty("flex-grow",external_dependency_parsers_0.parseNumber(v))},get:function(){return this.getPropertyValue("flex-grow")},enumerable:true,configurable:true};var flexShrink_export_isValid,flexShrink_export_definition;flexShrink_export_isValid=function isValid(v,positionAtFlexShorthand){return external_dependency_parsers_0.parseNumber(v)!==undefined&&positionAtFlexShorthand===external_dependency_constants_1.POSITION_AT_SHORTHAND.second};flexShrink_export_definition={set:function(v){this._setProperty("flex-shrink",external_dependency_parsers_0.parseNumber(v))},get:function(){return this.getPropertyValue("flex-shrink")},enumerable:true,configurable:true};var flexBasis_export_isValid,flexBasis_export_definition;function flexBasis_local_fn_parse(v){if(String(v).toLowerCase()==="auto"){return"auto"}if(String(v).toLowerCase()==="inherit"){return"inherit"}return external_dependency_parsers_0.parseMeasurement(v)}flexBasis_export_isValid=function isValid(v){return flexBasis_local_fn_parse(v)!==undefined};flexBasis_export_definition={set:function(v){this._setProperty("flex-basis",flexBasis_local_fn_parse(v))},get:function(){return this.getPropertyValue("flex-basis")},enumerable:true,configurable:true};var flex_export_isValid,flex_export_definition;var flex_local_var_shorthand_for={"flex-grow":{isValid:flexGrow_export_isValid,definition:flexGrow_export_definition},"flex-shrink":{isValid:flexShrink_export_isValid,definition:flexShrink_export_definition},"flex-basis":{isValid:flexBasis_export_isValid,definition:flexBasis_export_definition}};var flex_local_var_myShorthandSetter=external_dependency_parsers_0.shorthandSetter("flex",flex_local_var_shorthand_for);flex_export_isValid=function isValid(v){return external_dependency_parsers_0.shorthandParser(v,flex_local_var_shorthand_for)!==undefined};flex_export_definition={set:function(v){var normalizedValue=String(v).trim().toLowerCase();if(normalizedValue==="none"){flex_local_var_myShorthandSetter.call(this,"0 0 auto");return}if(normalizedValue==="initial"){flex_local_var_myShorthandSetter.call(this,"0 1 auto");return}if(normalizedValue==="auto"){this.removeProperty("flex-grow");this.removeProperty("flex-shrink");this.setProperty("flex-basis",normalizedValue);return}flex_local_var_myShorthandSetter.call(this,v)},get:external_dependency_parsers_0.shorthandGetter("flex",flex_local_var_shorthand_for),enumerable:true,configurable:true};var float_export_definition;float_export_definition={set:function(v){this._setProperty("float",v)},get:function(){return this.getPropertyValue("float")},enumerable:true,configurable:true};var floodColor_export_definition;floodColor_export_definition={set:function(v){this._setProperty("flood-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("flood-color")},enumerable:true,configurable:true};var fontFamily_export_isValid,fontFamily_export_definition;var fontFamily_local_var_partsRegEx=/\s*,\s*/;fontFamily_export_isValid=function isValid(v){if(v===""||v===null){return true}var parts=v.split(fontFamily_local_var_partsRegEx);var len=parts.length;var i;var type;for(i=0;i<len;i++){type=external_dependency_parsers_0.valueType(parts[i]);if(type===external_dependency_parsers_0.TYPES.STRING||type===external_dependency_parsers_0.TYPES.KEYWORD){return true}}return false};fontFamily_export_definition={set:function(v){this._setProperty("font-family",v)},get:function(){return this.getPropertyValue("font-family")},enumerable:true,configurable:true};var fontSize_export_isValid,fontSize_export_definition;var fontSize_local_var_absoluteSizes=["xx-small","x-small","small","medium","large","x-large","xx-large"];var fontSize_local_var_relativeSizes=["larger","smaller"];fontSize_export_isValid=function(v){var type=external_dependency_parsers_0.valueType(v.toLowerCase());return type===external_dependency_parsers_0.TYPES.LENGTH||type===external_dependency_parsers_0.TYPES.PERCENT||type===external_dependency_parsers_0.TYPES.KEYWORD&&fontSize_local_var_absoluteSizes.indexOf(v.toLowerCase())!==-1||type===external_dependency_parsers_0.TYPES.KEYWORD&&fontSize_local_var_relativeSizes.indexOf(v.toLowerCase())!==-1};function fontSize_local_fn_parse(v){const valueAsString=String(v).toLowerCase();const optionalArguments=fontSize_local_var_absoluteSizes.concat(fontSize_local_var_relativeSizes);const isOptionalArgument=optionalArguments.some(stringValue=>stringValue.toLowerCase()===valueAsString);return isOptionalArgument?valueAsString:external_dependency_parsers_0.parseMeasurement(v)}fontSize_export_definition={set:function(v){this._setProperty("font-size",fontSize_local_fn_parse(v))},get:function(){return this.getPropertyValue("font-size")},enumerable:true,configurable:true};var fontStyle_export_isValid,fontStyle_export_definition;var fontStyle_local_var_valid_styles=["normal","italic","oblique","inherit"];fontStyle_export_isValid=function(v){return fontStyle_local_var_valid_styles.indexOf(v.toLowerCase())!==-1};fontStyle_export_definition={set:function(v){this._setProperty("font-style",v)},get:function(){return this.getPropertyValue("font-style")},enumerable:true,configurable:true};var fontVariant_export_isValid,fontVariant_export_definition;var fontVariant_local_var_valid_variants=["normal","small-caps","inherit"];fontVariant_export_isValid=function isValid(v){return fontVariant_local_var_valid_variants.indexOf(v.toLowerCase())!==-1};fontVariant_export_definition={set:function(v){this._setProperty("font-variant",v)},get:function(){return this.getPropertyValue("font-variant")},enumerable:true,configurable:true};var fontWeight_export_isValid,fontWeight_export_definition;var fontWeight_local_var_valid_weights=["normal","bold","bolder","lighter","100","200","300","400","500","600","700","800","900","inherit"];fontWeight_export_isValid=function isValid(v){return fontWeight_local_var_valid_weights.indexOf(v.toLowerCase())!==-1};fontWeight_export_definition={set:function(v){this._setProperty("font-weight",v)},get:function(){return this.getPropertyValue("font-weight")},enumerable:true,configurable:true};var lineHeight_export_isValid,lineHeight_export_definition;lineHeight_export_isValid=function isValid(v){var type=external_dependency_parsers_0.valueType(v);return type===external_dependency_parsers_0.TYPES.KEYWORD&&v.toLowerCase()==="normal"||v.toLowerCase()==="inherit"||type===external_dependency_parsers_0.TYPES.NUMBER||type===external_dependency_parsers_0.TYPES.LENGTH||type===external_dependency_parsers_0.TYPES.PERCENT};lineHeight_export_definition={set:function(v){this._setProperty("line-height",v)},get:function(){return this.getPropertyValue("line-height")},enumerable:true,configurable:true};var font_export_definition;var font_local_var_shorthand_for={"font-family":{isValid:fontFamily_export_isValid,definition:fontFamily_export_definition},"font-size":{isValid:fontSize_export_isValid,definition:fontSize_export_definition},"font-style":{isValid:fontStyle_export_isValid,definition:fontStyle_export_definition},"font-variant":{isValid:fontVariant_export_isValid,definition:fontVariant_export_definition},"font-weight":{isValid:fontWeight_export_isValid,definition:fontWeight_export_definition},"line-height":{isValid:lineHeight_export_isValid,definition:lineHeight_export_definition}};var font_local_var_static_fonts=["caption","icon","menu","message-box","small-caption","status-bar","inherit"];var font_local_var_setter=external_dependency_parsers_0.shorthandSetter("font",font_local_var_shorthand_for);font_export_definition={set:function(v){var short=external_dependency_parsers_0.shorthandParser(v,font_local_var_shorthand_for);if(short!==undefined){return font_local_var_setter.call(this,v)}if(external_dependency_parsers_0.valueType(v)===external_dependency_parsers_0.TYPES.KEYWORD&&font_local_var_static_fonts.indexOf(v.toLowerCase())!==-1){this._setProperty("font",v)}},get:external_dependency_parsers_0.shorthandGetter("font",font_local_var_shorthand_for),enumerable:true,configurable:true};var height_export_definition;function height_local_fn_parse(v){if(String(v).toLowerCase()==="auto"){return"auto"}if(String(v).toLowerCase()==="inherit"){return"inherit"}return external_dependency_parsers_0.parseMeasurement(v)}height_export_definition={set:function(v){this._setProperty("height",height_local_fn_parse(v))},get:function(){return this.getPropertyValue("height")},enumerable:true,configurable:true};var left_export_definition;left_export_definition={set:function(v){this._setProperty("left",external_dependency_parsers_0.parseMeasurement(v))},get:function(){return this.getPropertyValue("left")},enumerable:true,configurable:true};var lightingColor_export_definition;lightingColor_export_definition={set:function(v){this._setProperty("lighting-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("lighting-color")},enumerable:true,configurable:true};var margin_export_definition,margin_export_isValid,margin_export_parser;var margin_local_var_TYPES=external_dependency_parsers_0.TYPES;var margin_local_var_isValid=function(v){if(v.toLowerCase()==="auto"){return true}var type=external_dependency_parsers_0.valueType(v);return type===margin_local_var_TYPES.LENGTH||type===margin_local_var_TYPES.PERCENT||type===margin_local_var_TYPES.INTEGER&&(v==="0"||v===0)};var margin_local_var_parser=function(v){var V=v.toLowerCase();if(V==="auto"){return V}return external_dependency_parsers_0.parseMeasurement(v)};var margin_local_var_mySetter=external_dependency_parsers_0.implicitSetter("margin","",margin_local_var_isValid,margin_local_var_parser);var margin_local_var_myGlobal=external_dependency_parsers_0.implicitSetter("margin","",(function(){return true}),(function(v){return v}));margin_export_definition={set:function(v){if(typeof v==="number"){v=String(v)}if(typeof v!=="string"){return}var V=v.toLowerCase();switch(V){case"inherit":case"initial":case"unset":case"":margin_local_var_myGlobal.call(this,V);break;default:margin_local_var_mySetter.call(this,v);break}},get:function(){return this.getPropertyValue("margin")},enumerable:true,configurable:true};margin_export_isValid=margin_local_var_isValid;margin_export_parser=margin_local_var_parser;var marginBottom_export_definition;marginBottom_export_definition={set:external_dependency_parsers_0.subImplicitSetter("margin","bottom",{definition:margin_export_definition,isValid:margin_export_isValid,parser:margin_export_parser}.isValid,{definition:margin_export_definition,isValid:margin_export_isValid,parser:margin_export_parser}.parser),get:function(){return this.getPropertyValue("margin-bottom")},enumerable:true,configurable:true};var marginLeft_export_definition;marginLeft_export_definition={set:external_dependency_parsers_0.subImplicitSetter("margin","left",{definition:margin_export_definition,isValid:margin_export_isValid,parser:margin_export_parser}.isValid,{definition:margin_export_definition,isValid:margin_export_isValid,parser:margin_export_parser}.parser),get:function(){return this.getPropertyValue("margin-left")},enumerable:true,configurable:true};var marginRight_export_definition;marginRight_export_definition={set:external_dependency_parsers_0.subImplicitSetter("margin","right",{definition:margin_export_definition,isValid:margin_export_isValid,parser:margin_export_parser}.isValid,{definition:margin_export_definition,isValid:margin_export_isValid,parser:margin_export_parser}.parser),get:function(){return this.getPropertyValue("margin-right")},enumerable:true,configurable:true};var marginTop_export_definition;marginTop_export_definition={set:external_dependency_parsers_0.subImplicitSetter("margin","top",{definition:margin_export_definition,isValid:margin_export_isValid,parser:margin_export_parser}.isValid,{definition:margin_export_definition,isValid:margin_export_isValid,parser:margin_export_parser}.parser),get:function(){return this.getPropertyValue("margin-top")},enumerable:true,configurable:true};var opacity_export_definition;opacity_export_definition={set:function(v){this._setProperty("opacity",external_dependency_parsers_0.parseNumber(v))},get:function(){return this.getPropertyValue("opacity")},enumerable:true,configurable:true};var outlineColor_export_definition;outlineColor_export_definition={set:function(v){this._setProperty("outline-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("outline-color")},enumerable:true,configurable:true};var padding_export_definition,padding_export_isValid,padding_export_parser;var padding_local_var_TYPES=external_dependency_parsers_0.TYPES;var padding_local_var_isValid=function(v){var type=external_dependency_parsers_0.valueType(v);return type===padding_local_var_TYPES.LENGTH||type===padding_local_var_TYPES.PERCENT||type===padding_local_var_TYPES.INTEGER&&(v==="0"||v===0)};var padding_local_var_parser=function(v){return external_dependency_parsers_0.parseMeasurement(v)};var padding_local_var_mySetter=external_dependency_parsers_0.implicitSetter("padding","",padding_local_var_isValid,padding_local_var_parser);var padding_local_var_myGlobal=external_dependency_parsers_0.implicitSetter("padding","",(function(){return true}),(function(v){return v}));padding_export_definition={set:function(v){if(typeof v==="number"){v=String(v)}if(typeof v!=="string"){return}var V=v.toLowerCase();switch(V){case"inherit":case"initial":case"unset":case"":padding_local_var_myGlobal.call(this,V);break;default:padding_local_var_mySetter.call(this,v);break}},get:function(){return this.getPropertyValue("padding")},enumerable:true,configurable:true};padding_export_isValid=padding_local_var_isValid;padding_export_parser=padding_local_var_parser;var paddingBottom_export_definition;paddingBottom_export_definition={set:external_dependency_parsers_0.subImplicitSetter("padding","bottom",{definition:padding_export_definition,isValid:padding_export_isValid,parser:padding_export_parser}.isValid,{definition:padding_export_definition,isValid:padding_export_isValid,parser:padding_export_parser}.parser),get:function(){return this.getPropertyValue("padding-bottom")},enumerable:true,configurable:true};var paddingLeft_export_definition;paddingLeft_export_definition={set:external_dependency_parsers_0.subImplicitSetter("padding","left",{definition:padding_export_definition,isValid:padding_export_isValid,parser:padding_export_parser}.isValid,{definition:padding_export_definition,isValid:padding_export_isValid,parser:padding_export_parser}.parser),get:function(){return this.getPropertyValue("padding-left")},enumerable:true,configurable:true};var paddingRight_export_definition;paddingRight_export_definition={set:external_dependency_parsers_0.subImplicitSetter("padding","right",{definition:padding_export_definition,isValid:padding_export_isValid,parser:padding_export_parser}.isValid,{definition:padding_export_definition,isValid:padding_export_isValid,parser:padding_export_parser}.parser),get:function(){return this.getPropertyValue("padding-right")},enumerable:true,configurable:true};var paddingTop_export_definition;paddingTop_export_definition={set:external_dependency_parsers_0.subImplicitSetter("padding","top",{definition:padding_export_definition,isValid:padding_export_isValid,parser:padding_export_parser}.isValid,{definition:padding_export_definition,isValid:padding_export_isValid,parser:padding_export_parser}.parser),get:function(){return this.getPropertyValue("padding-top")},enumerable:true,configurable:true};var right_export_definition;right_export_definition={set:function(v){this._setProperty("right",external_dependency_parsers_0.parseMeasurement(v))},get:function(){return this.getPropertyValue("right")},enumerable:true,configurable:true};var stopColor_export_definition;stopColor_export_definition={set:function(v){this._setProperty("stop-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("stop-color")},enumerable:true,configurable:true};var textLineThroughColor_export_definition;textLineThroughColor_export_definition={set:function(v){this._setProperty("text-line-through-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("text-line-through-color")},enumerable:true,configurable:true};var textOverlineColor_export_definition;textOverlineColor_export_definition={set:function(v){this._setProperty("text-overline-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("text-overline-color")},enumerable:true,configurable:true};var textUnderlineColor_export_definition;textUnderlineColor_export_definition={set:function(v){this._setProperty("text-underline-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("text-underline-color")},enumerable:true,configurable:true};var top_export_definition;top_export_definition={set:function(v){this._setProperty("top",external_dependency_parsers_0.parseMeasurement(v))},get:function(){return this.getPropertyValue("top")},enumerable:true,configurable:true};var webkitBorderAfterColor_export_definition;webkitBorderAfterColor_export_definition={set:function(v){this._setProperty("-webkit-border-after-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-border-after-color")},enumerable:true,configurable:true};var webkitBorderBeforeColor_export_definition;webkitBorderBeforeColor_export_definition={set:function(v){this._setProperty("-webkit-border-before-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-border-before-color")},enumerable:true,configurable:true};var webkitBorderEndColor_export_definition;webkitBorderEndColor_export_definition={set:function(v){this._setProperty("-webkit-border-end-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-border-end-color")},enumerable:true,configurable:true};var webkitBorderStartColor_export_definition;webkitBorderStartColor_export_definition={set:function(v){this._setProperty("-webkit-border-start-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-border-start-color")},enumerable:true,configurable:true};var webkitColumnRuleColor_export_definition;webkitColumnRuleColor_export_definition={set:function(v){this._setProperty("-webkit-column-rule-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-column-rule-color")},enumerable:true,configurable:true};var webkitMatchNearestMailBlockquoteColor_export_definition;webkitMatchNearestMailBlockquoteColor_export_definition={set:function(v){this._setProperty("-webkit-match-nearest-mail-blockquote-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-match-nearest-mail-blockquote-color")},enumerable:true,configurable:true};var webkitTapHighlightColor_export_definition;webkitTapHighlightColor_export_definition={set:function(v){this._setProperty("-webkit-tap-highlight-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-tap-highlight-color")},enumerable:true,configurable:true};var webkitTextEmphasisColor_export_definition;webkitTextEmphasisColor_export_definition={set:function(v){this._setProperty("-webkit-text-emphasis-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-text-emphasis-color")},enumerable:true,configurable:true};var webkitTextFillColor_export_definition;webkitTextFillColor_export_definition={set:function(v){this._setProperty("-webkit-text-fill-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-text-fill-color")},enumerable:true,configurable:true};var webkitTextStrokeColor_export_definition;webkitTextStrokeColor_export_definition={set:function(v){this._setProperty("-webkit-text-stroke-color",external_dependency_parsers_0.parseColor(v))},get:function(){return this.getPropertyValue("-webkit-text-stroke-color")},enumerable:true,configurable:true};var width_export_definition;function width_local_fn_parse(v){if(String(v).toLowerCase()==="auto"){return"auto"}if(String(v).toLowerCase()==="inherit"){return"inherit"}return external_dependency_parsers_0.parseMeasurement(v)}width_export_definition={set:function(v){this._setProperty("width",width_local_fn_parse(v))},get:function(){return this.getPropertyValue("width")},enumerable:true,configurable:true};module.exports=function(prototype){Object.defineProperties(prototype,{azimuth:azimuth_export_definition,backgroundColor:backgroundColor_export_definition,"background-color":backgroundColor_export_definition,backgroundImage:backgroundImage_export_definition,"background-image":backgroundImage_export_definition,backgroundRepeat:backgroundRepeat_export_definition,"background-repeat":backgroundRepeat_export_definition,backgroundAttachment:backgroundAttachment_export_definition,"background-attachment":backgroundAttachment_export_definition,backgroundPosition:backgroundPosition_export_definition,"background-position":backgroundPosition_export_definition,background:background_export_definition,borderWidth:borderWidth_export_definition,"border-width":borderWidth_export_definition,borderStyle:borderStyle_export_definition,"border-style":borderStyle_export_definition,borderColor:borderColor_export_definition,"border-color":borderColor_export_definition,border:border_export_definition,borderBottomWidth:borderBottomWidth_export_definition,"border-bottom-width":borderBottomWidth_export_definition,borderBottomStyle:borderBottomStyle_export_definition,"border-bottom-style":borderBottomStyle_export_definition,borderBottomColor:borderBottomColor_export_definition,"border-bottom-color":borderBottomColor_export_definition,borderBottom:borderBottom_export_definition,"border-bottom":borderBottom_export_definition,borderCollapse:borderCollapse_export_definition,"border-collapse":borderCollapse_export_definition,borderLeftWidth:borderLeftWidth_export_definition,"border-left-width":borderLeftWidth_export_definition,borderLeftStyle:borderLeftStyle_export_definition,"border-left-style":borderLeftStyle_export_definition,borderLeftColor:borderLeftColor_export_definition,"border-left-color":borderLeftColor_export_definition,borderLeft:borderLeft_export_definition,"border-left":borderLeft_export_definition,borderRightWidth:borderRightWidth_export_definition,"border-right-width":borderRightWidth_export_definition,borderRightStyle:borderRightStyle_export_definition,"border-right-style":borderRightStyle_export_definition,borderRightColor:borderRightColor_export_definition,"border-right-color":borderRightColor_export_definition,borderRight:borderRight_export_definition,"border-right":borderRight_export_definition,borderSpacing:borderSpacing_export_definition,"border-spacing":borderSpacing_export_definition,borderTopWidth:borderTopWidth_export_definition,"border-top-width":borderTopWidth_export_definition,borderTopStyle:borderTopStyle_export_definition,"border-top-style":borderTopStyle_export_definition,borderTopColor:borderTopColor_export_definition,"border-top-color":borderTopColor_export_definition,borderTop:borderTop_export_definition,"border-top":borderTop_export_definition,bottom:bottom_export_definition,clear:clear_export_definition,clip:clip_export_definition,color:color_export_definition,cssFloat:cssFloat_export_definition,"css-float":cssFloat_export_definition,flexGrow:flexGrow_export_definition,"flex-grow":flexGrow_export_definition,flexShrink:flexShrink_export_definition,"flex-shrink":flexShrink_export_definition,flexBasis:flexBasis_export_definition,"flex-basis":flexBasis_export_definition,flex:flex_export_definition,float:float_export_definition,floodColor:floodColor_export_definition,"flood-color":floodColor_export_definition,fontFamily:fontFamily_export_definition,"font-family":fontFamily_export_definition,fontSize:fontSize_export_definition,"font-size":fontSize_export_definition,fontStyle:fontStyle_export_definition,"font-style":fontStyle_export_definition,fontVariant:fontVariant_export_definition,"font-variant":fontVariant_export_definition,fontWeight:fontWeight_export_definition,"font-weight":fontWeight_export_definition,lineHeight:lineHeight_export_definition,"line-height":lineHeight_export_definition,font:font_export_definition,height:height_export_definition,left:left_export_definition,lightingColor:lightingColor_export_definition,"lighting-color":lightingColor_export_definition,margin:margin_export_definition,marginBottom:marginBottom_export_definition,"margin-bottom":marginBottom_export_definition,marginLeft:marginLeft_export_definition,"margin-left":marginLeft_export_definition,marginRight:marginRight_export_definition,"margin-right":marginRight_export_definition,marginTop:marginTop_export_definition,"margin-top":marginTop_export_definition,opacity:opacity_export_definition,outlineColor:outlineColor_export_definition,"outline-color":outlineColor_export_definition,padding:padding_export_definition,paddingBottom:paddingBottom_export_definition,"padding-bottom":paddingBottom_export_definition,paddingLeft:paddingLeft_export_definition,"padding-left":paddingLeft_export_definition,paddingRight:paddingRight_export_definition,"padding-right":paddingRight_export_definition,paddingTop:paddingTop_export_definition,"padding-top":paddingTop_export_definition,right:right_export_definition,stopColor:stopColor_export_definition,"stop-color":stopColor_export_definition,textLineThroughColor:textLineThroughColor_export_definition,"text-line-through-color":textLineThroughColor_export_definition,textOverlineColor:textOverlineColor_export_definition,"text-overline-color":textOverlineColor_export_definition,textUnderlineColor:textUnderlineColor_export_definition,"text-underline-color":textUnderlineColor_export_definition,top:top_export_definition,webkitBorderAfterColor:webkitBorderAfterColor_export_definition,"webkit-border-after-color":webkitBorderAfterColor_export_definition,webkitBorderBeforeColor:webkitBorderBeforeColor_export_definition,"webkit-border-before-color":webkitBorderBeforeColor_export_definition,webkitBorderEndColor:webkitBorderEndColor_export_definition,"webkit-border-end-color":webkitBorderEndColor_export_definition,webkitBorderStartColor:webkitBorderStartColor_export_definition,"webkit-border-start-color":webkitBorderStartColor_export_definition,webkitColumnRuleColor:webkitColumnRuleColor_export_definition,"webkit-column-rule-color":webkitColumnRuleColor_export_definition,webkitMatchNearestMailBlockquoteColor:webkitMatchNearestMailBlockquoteColor_export_definition,"webkit-match-nearest-mail-blockquote-color":webkitMatchNearestMailBlockquoteColor_export_definition,webkitTapHighlightColor:webkitTapHighlightColor_export_definition,"webkit-tap-highlight-color":webkitTapHighlightColor_export_definition,webkitTextEmphasisColor:webkitTextEmphasisColor_export_definition,"webkit-text-emphasis-color":webkitTextEmphasisColor_export_definition,webkitTextFillColor:webkitTextFillColor_export_definition,"webkit-text-fill-color":webkitTextFillColor_export_definition,webkitTextStrokeColor:webkitTextStrokeColor_export_definition,"webkit-text-stroke-color":webkitTextStrokeColor_export_definition,width:width_export_definition})}},{"./constants.js":168,"./parsers.js":171}],173:[function(require,module,exports){"use strict";const hueToRgb=(t1,t2,hue)=>{if(hue<0)hue+=6;if(hue>=6)hue-=6;if(hue<1)return(t2-t1)*hue+t1;else if(hue<3)return t2;else if(hue<4)return(t2-t1)*(4-hue)+t1;else return t1};exports.hslToRgb=(hue,sat,light)=>{const t2=light<=.5?light*(sat+1):light+sat-light*sat;const t1=light*2-t2;const r=hueToRgb(t1,t2,hue+2);const g=hueToRgb(t1,t2,hue);const b=hueToRgb(t1,t2,hue-2);return[Math.round(r*255),Math.round(g*255),Math.round(b*255)]}},{}],174:[function(require,module,exports){"use strict";module.exports=function getBasicPropertyDescriptor(name){return{set:function(v){this._setProperty(name,v)},get:function(){return this.getPropertyValue(name)},enumerable:true,configurable:true}}},{}],175:[function(require,module,exports){arguments[4][144][0].apply(exports,arguments)},{"./CSSRule":182,"./MatcherList":189,dup:144}],176:[function(require,module,exports){arguments[4][145][0].apply(exports,arguments)},{"./CSSRule":182,"./CSSStyleDeclaration":183,dup:145}],177:[function(require,module,exports){arguments[4][146][0].apply(exports,arguments)},{"./CSSRule":182,dup:146}],178:[function(require,module,exports){arguments[4][147][0].apply(exports,arguments)},{"./CSSRule":182,"./CSSStyleSheet":185,"./MediaList":190,dup:147}],179:[function(require,module,exports){var CSSOM={CSSRule:require("./CSSRule").CSSRule,CSSStyleDeclaration:require("./CSSStyleDeclaration").CSSStyleDeclaration};CSSOM.CSSKeyframeRule=function CSSKeyframeRule(){CSSOM.CSSRule.call(this);this.keyText="";this.style=new CSSOM.CSSStyleDeclaration;this.style.parentRule=this};CSSOM.CSSKeyframeRule.prototype=new CSSOM.CSSRule;CSSOM.CSSKeyframeRule.prototype.constructor=CSSOM.CSSKeyframeRule;CSSOM.CSSKeyframeRule.prototype.type=9;Object.defineProperty(CSSOM.CSSKeyframeRule.prototype,"cssText",{get:function(){return this.keyText+" {"+this.style.cssText+"} "}});exports.CSSKeyframeRule=CSSOM.CSSKeyframeRule},{"./CSSRule":182,"./CSSStyleDeclaration":183}],180:[function(require,module,exports){var CSSOM={CSSRule:require("./CSSRule").CSSRule};CSSOM.CSSKeyframesRule=function CSSKeyframesRule(){CSSOM.CSSRule.call(this);this.name="";this.cssRules=[]};CSSOM.CSSKeyframesRule.prototype=new CSSOM.CSSRule;CSSOM.CSSKeyframesRule.prototype.constructor=CSSOM.CSSKeyframesRule;CSSOM.CSSKeyframesRule.prototype.type=8;Object.defineProperty(CSSOM.CSSKeyframesRule.prototype,"cssText",{get:function(){var cssTexts=[];for(var i=0,length=this.cssRules.length;i<length;i++){cssTexts.push(" "+this.cssRules[i].cssText)}return"@"+(this._vendorPrefix||"")+"keyframes "+this.name+" { \n"+cssTexts.join("\n")+"\n}"}});exports.CSSKeyframesRule=CSSOM.CSSKeyframesRule},{"./CSSRule":182}],181:[function(require,module,exports){arguments[4][150][0].apply(exports,arguments)},{"./CSSRule":182,"./MediaList":190,dup:150}],182:[function(require,module,exports){arguments[4][151][0].apply(exports,arguments)},{dup:151}],183:[function(require,module,exports){arguments[4][152][0].apply(exports,arguments)},{"./parse":194,dup:152}],184:[function(require,module,exports){arguments[4][153][0].apply(exports,arguments)},{"./CSSRule":182,"./CSSStyleDeclaration":183,dup:153}],185:[function(require,module,exports){arguments[4][154][0].apply(exports,arguments)},{"./CSSStyleRule":184,"./StyleSheet":191,"./parse":194,dup:154}],186:[function(require,module,exports){arguments[4][155][0].apply(exports,arguments)},{"./CSSRule":182,dup:155}],187:[function(require,module,exports){arguments[4][156][0].apply(exports,arguments)},{dup:156}],188:[function(require,module,exports){arguments[4][157][0].apply(exports,arguments)},{"./CSSValue":187,dup:157}],189:[function(require,module,exports){arguments[4][158][0].apply(exports,arguments)},{dup:158}],190:[function(require,module,exports){arguments[4][159][0].apply(exports,arguments)},{dup:159}],191:[function(require,module,exports){arguments[4][160][0].apply(exports,arguments)},{dup:160}],192:[function(require,module,exports){var CSSOM={CSSStyleSheet:require("./CSSStyleSheet").CSSStyleSheet,CSSStyleRule:require("./CSSStyleRule").CSSStyleRule,CSSMediaRule:require("./CSSMediaRule").CSSMediaRule,CSSSupportsRule:require("./CSSSupportsRule").CSSSupportsRule,CSSStyleDeclaration:require("./CSSStyleDeclaration").CSSStyleDeclaration,CSSKeyframeRule:require("./CSSKeyframeRule").CSSKeyframeRule,CSSKeyframesRule:require("./CSSKeyframesRule").CSSKeyframesRule};CSSOM.clone=function clone(stylesheet){var cloned=new CSSOM.CSSStyleSheet;var rules=stylesheet.cssRules;if(!rules){return cloned}var RULE_TYPES={1:CSSOM.CSSStyleRule,4:CSSOM.CSSMediaRule,8:CSSOM.CSSKeyframesRule,9:CSSOM.CSSKeyframeRule,12:CSSOM.CSSSupportsRule};for(var i=0,rulesLength=rules.length;i<rulesLength;i++){var rule=rules[i];var ruleClone=cloned.cssRules[i]=new RULE_TYPES[rule.type];var style=rule.style;if(style){var styleClone=ruleClone.style=new CSSOM.CSSStyleDeclaration;for(var j=0,styleLength=style.length;j<styleLength;j++){var name=styleClone[j]=style[j];styleClone[name]=style[name];styleClone._importants[name]=style.getPropertyPriority(name)}styleClone.length=style.length}if(rule.hasOwnProperty("keyText")){ruleClone.keyText=rule.keyText}if(rule.hasOwnProperty("selectorText")){ruleClone.selectorText=rule.selectorText}if(rule.hasOwnProperty("mediaText")){ruleClone.mediaText=rule.mediaText}if(rule.hasOwnProperty("conditionText")){ruleClone.conditionText=rule.conditionText}if(rule.hasOwnProperty("cssRules")){ruleClone.cssRules=clone(rule).cssRules}}return cloned};exports.clone=CSSOM.clone},{"./CSSKeyframeRule":179,"./CSSKeyframesRule":180,"./CSSMediaRule":181,"./CSSStyleDeclaration":183,"./CSSStyleRule":184,"./CSSStyleSheet":185,"./CSSSupportsRule":186}],193:[function(require,module,exports){arguments[4][162][0].apply(exports,arguments)},{"./CSSDocumentRule":175,"./CSSFontFaceRule":176,"./CSSHostRule":177,"./CSSImportRule":178,"./CSSKeyframeRule":179,"./CSSKeyframesRule":180,"./CSSMediaRule":181,"./CSSRule":182,"./CSSStyleDeclaration":183,"./CSSStyleRule":184,"./CSSStyleSheet":185,"./CSSSupportsRule":186,"./CSSValue":187,"./CSSValueExpression":188,"./MatcherList":189,"./MediaList":190,"./StyleSheet":191,"./clone":192,"./parse":194,dup:162}],194:[function(require,module,exports){var CSSOM={};CSSOM.parse=function parse(token){var i=0;var state="before-selector";var index;var buffer="";var valueParenthesisDepth=0;var SIGNIFICANT_WHITESPACE={selector:true,value:true,"value-parenthesis":true,atRule:true,"importRule-begin":true,importRule:true,atBlock:true,conditionBlock:true,"documentRule-begin":true};var styleSheet=new CSSOM.CSSStyleSheet;var currentScope=styleSheet;var parentRule;var ancestorRules=[];var hasAncestors=false;var prevScope;var name,priority="",styleRule,mediaRule,supportsRule,importRule,fontFaceRule,keyframesRule,documentRule,hostRule;var atKeyframesRegExp=/@(-(?:\w+-)+)?keyframes/g;var parseError=function(message){var lines=token.substring(0,i).split("\n");var lineCount=lines.length;var charCount=lines.pop().length+1;var error=new Error(message+" (line "+lineCount+", char "+charCount+")");error.line=lineCount;error["char"]=charCount;error.styleSheet=styleSheet;throw error};for(var character;character=token.charAt(i);i++){switch(character){case" ":case"\t":case"\r":case"\n":case"\f":if(SIGNIFICANT_WHITESPACE[state]){buffer+=character}break;case'"':index=i+1;do{index=token.indexOf('"',index)+1;if(!index){parseError('Unmatched "')}}while(token[index-2]==="\\");buffer+=token.slice(i,index);i=index-1;switch(state){case"before-value":state="value";break;case"importRule-begin":state="importRule";break}break;case"'":index=i+1;do{index=token.indexOf("'",index)+1;if(!index){parseError("Unmatched '")}}while(token[index-2]==="\\");buffer+=token.slice(i,index);i=index-1;switch(state){case"before-value":state="value";break;case"importRule-begin":state="importRule";break}break;case"/":if(token.charAt(i+1)==="*"){i+=2;index=token.indexOf("*/",i);if(index===-1){parseError("Missing */")}else{i=index+1}}else{buffer+=character}if(state==="importRule-begin"){buffer+=" ";state="importRule"}break;case"@":if(token.indexOf("@-moz-document",i)===i){state="documentRule-begin";documentRule=new CSSOM.CSSDocumentRule;documentRule.__starts=i;i+="-moz-document".length;buffer="";break}else if(token.indexOf("@media",i)===i){state="atBlock";mediaRule=new CSSOM.CSSMediaRule;mediaRule.__starts=i;i+="media".length;buffer="";break}else if(token.indexOf("@supports",i)===i){state="conditionBlock";supportsRule=new CSSOM.CSSSupportsRule;supportsRule.__starts=i;i+="supports".length;buffer="";break}else if(token.indexOf("@host",i)===i){state="hostRule-begin";i+="host".length;hostRule=new CSSOM.CSSHostRule;hostRule.__starts=i;buffer="";break}else if(token.indexOf("@import",i)===i){state="importRule-begin";i+="import".length;buffer+="@import";break}else if(token.indexOf("@font-face",i)===i){state="fontFaceRule-begin";i+="font-face".length;fontFaceRule=new CSSOM.CSSFontFaceRule;fontFaceRule.__starts=i;buffer="";break}else{atKeyframesRegExp.lastIndex=i;var matchKeyframes=atKeyframesRegExp.exec(token);if(matchKeyframes&&matchKeyframes.index===i){state="keyframesRule-begin";keyframesRule=new CSSOM.CSSKeyframesRule;keyframesRule.__starts=i;keyframesRule._vendorPrefix=matchKeyframes[1];i+=matchKeyframes[0].length-1;buffer="";break}else if(state==="selector"){state="atRule"}}buffer+=character;break;case"{":if(state==="selector"||state==="atRule"){styleRule.selectorText=buffer.trim();styleRule.style.__starts=i;buffer="";state="before-name"}else if(state==="atBlock"){mediaRule.media.mediaText=buffer.trim();if(parentRule){ancestorRules.push(parentRule)}currentScope=parentRule=mediaRule;mediaRule.parentStyleSheet=styleSheet;buffer="";state="before-selector"}else if(state==="conditionBlock"){supportsRule.conditionText=buffer.trim();if(parentRule){ancestorRules.push(parentRule)}currentScope=parentRule=supportsRule;supportsRule.parentStyleSheet=styleSheet;buffer="";state="before-selector"}else if(state==="hostRule-begin"){if(parentRule){ancestorRules.push(parentRule)}currentScope=parentRule=hostRule;hostRule.parentStyleSheet=styleSheet;buffer="";state="before-selector"}else if(state==="fontFaceRule-begin"){if(parentRule){ancestorRules.push(parentRule);fontFaceRule.parentRule=parentRule}fontFaceRule.parentStyleSheet=styleSheet;styleRule=fontFaceRule;buffer="";state="before-name"}else if(state==="keyframesRule-begin"){keyframesRule.name=buffer.trim();if(parentRule){ancestorRules.push(parentRule);keyframesRule.parentRule=parentRule}keyframesRule.parentStyleSheet=styleSheet;currentScope=parentRule=keyframesRule;buffer="";state="keyframeRule-begin"}else if(state==="keyframeRule-begin"){styleRule=new CSSOM.CSSKeyframeRule;styleRule.keyText=buffer.trim();styleRule.__starts=i;buffer="";state="before-name"}else if(state==="documentRule-begin"){documentRule.matcher.matcherText=buffer.trim();if(parentRule){ancestorRules.push(parentRule);documentRule.parentRule=parentRule}currentScope=parentRule=documentRule;documentRule.parentStyleSheet=styleSheet;buffer="";state="before-selector"}break;case":":if(state==="name"){name=buffer.trim();buffer="";state="before-value"}else{buffer+=character}break;case"(":if(state==="value"){if(buffer.trim()==="expression"){var info=new CSSOM.CSSValueExpression(token,i).parse();if(info.error){parseError(info.error)}else{buffer+=info.expression;i=info.idx}}else{state="value-parenthesis";valueParenthesisDepth=1;buffer+=character}}else if(state==="value-parenthesis"){valueParenthesisDepth++;buffer+=character}else{buffer+=character}break;case")":if(state==="value-parenthesis"){valueParenthesisDepth--;if(valueParenthesisDepth===0)state="value"}buffer+=character;break;case"!":if(state==="value"&&token.indexOf("!important",i)===i){priority="important";i+="important".length}else{buffer+=character}break;case";":switch(state){case"value":styleRule.style.setProperty(name,buffer.trim(),priority);priority="";buffer="";state="before-name";break;case"atRule":buffer="";state="before-selector";break;case"importRule":importRule=new CSSOM.CSSImportRule;importRule.parentStyleSheet=importRule.styleSheet.parentStyleSheet=styleSheet;importRule.cssText=buffer+character;styleSheet.cssRules.push(importRule);buffer="";state="before-selector";break;default:buffer+=character;break}break;case"}":switch(state){case"value":styleRule.style.setProperty(name,buffer.trim(),priority);priority="";case"before-name":case"name":styleRule.__ends=i+1;if(parentRule){styleRule.parentRule=parentRule}styleRule.parentStyleSheet=styleSheet;currentScope.cssRules.push(styleRule);buffer="";if(currentScope.constructor===CSSOM.CSSKeyframesRule){state="keyframeRule-begin"}else{state="before-selector"}break;case"keyframeRule-begin":case"before-selector":case"selector":if(!parentRule){parseError("Unexpected }")}hasAncestors=ancestorRules.length>0;while(ancestorRules.length>0){parentRule=ancestorRules.pop();if(parentRule.constructor.name==="CSSMediaRule"||parentRule.constructor.name==="CSSSupportsRule"){prevScope=currentScope;currentScope=parentRule;currentScope.cssRules.push(prevScope);break}if(ancestorRules.length===0){hasAncestors=false}}if(!hasAncestors){currentScope.__ends=i+1;styleSheet.cssRules.push(currentScope);currentScope=styleSheet;parentRule=null}buffer="";state="before-selector";break}break;default:switch(state){case"before-selector":state="selector";styleRule=new CSSOM.CSSStyleRule;styleRule.__starts=i;break;case"before-name":state="name";break;case"before-value":state="value";break;case"importRule-begin":state="importRule";break}buffer+=character;break}}return styleSheet};exports.parse=CSSOM.parse;CSSOM.CSSStyleSheet=require("./CSSStyleSheet").CSSStyleSheet;CSSOM.CSSStyleRule=require("./CSSStyleRule").CSSStyleRule;CSSOM.CSSImportRule=require("./CSSImportRule").CSSImportRule;CSSOM.CSSMediaRule=require("./CSSMediaRule").CSSMediaRule;CSSOM.CSSSupportsRule=require("./CSSSupportsRule").CSSSupportsRule;CSSOM.CSSFontFaceRule=require("./CSSFontFaceRule").CSSFontFaceRule;CSSOM.CSSHostRule=require("./CSSHostRule").CSSHostRule;CSSOM.CSSStyleDeclaration=require("./CSSStyleDeclaration").CSSStyleDeclaration;CSSOM.CSSKeyframeRule=require("./CSSKeyframeRule").CSSKeyframeRule;CSSOM.CSSKeyframesRule=require("./CSSKeyframesRule").CSSKeyframesRule;CSSOM.CSSValueExpression=require("./CSSValueExpression").CSSValueExpression;CSSOM.CSSDocumentRule=require("./CSSDocumentRule").CSSDocumentRule},{"./CSSDocumentRule":175,"./CSSFontFaceRule":176,"./CSSHostRule":177,"./CSSImportRule":178,"./CSSKeyframeRule":179,"./CSSKeyframesRule":180,"./CSSMediaRule":181,"./CSSStyleDeclaration":183,"./CSSStyleRule":184,"./CSSStyleSheet":185,"./CSSSupportsRule":186,"./CSSValueExpression":188}],195:[function(require,module,exports){"use strict";const MIMEType=require("whatwg-mimetype");const{parseURL:parseURL,serializeURL:serializeURL}=require("whatwg-url");const{stripLeadingAndTrailingASCIIWhitespace:stripLeadingAndTrailingASCIIWhitespace,stringPercentDecode:stringPercentDecode,isomorphicDecode:isomorphicDecode,forgivingBase64Decode:forgivingBase64Decode}=require("./utils.js");module.exports=stringInput=>{const urlRecord=parseURL(stringInput);if(urlRecord===null){return null}return module.exports.fromURLRecord(urlRecord)};module.exports.fromURLRecord=urlRecord=>{if(urlRecord.scheme!=="data"){return null}const input=serializeURL(urlRecord,true).substring("data:".length);let position=0;let mimeType="";while(position<input.length&&input[position]!==","){mimeType+=input[position];++position}mimeType=stripLeadingAndTrailingASCIIWhitespace(mimeType);if(position===input.length){return null}++position;const encodedBody=input.substring(position);let body=stringPercentDecode(encodedBody);const mimeTypeBase64MatchResult=/(.*); *[Bb][Aa][Ss][Ee]64$/.exec(mimeType);if(mimeTypeBase64MatchResult){const stringBody=isomorphicDecode(body);body=forgivingBase64Decode(stringBody);if(body===null){return null}mimeType=mimeTypeBase64MatchResult[1]}if(mimeType.startsWith(";")){mimeType="text/plain"+mimeType}let mimeTypeRecord;try{mimeTypeRecord=new MIMEType(mimeType)}catch(e){mimeTypeRecord=new MIMEType("text/plain;charset=US-ASCII")}return{mimeType:mimeTypeRecord,body:body}}},{"./utils.js":196,"whatwg-mimetype":1020,"whatwg-url":1024}],196:[function(require,module,exports){(function(Buffer){"use strict";const{percentDecode:percentDecode}=require("whatwg-url");const{atob:atob}=require("abab");exports.stripLeadingAndTrailingASCIIWhitespace=string=>string.replace(/^[ \t\n\f\r]+/,"").replace(/[ \t\n\f\r]+$/,"");exports.stringPercentDecode=input=>percentDecode(Buffer.from(input,"utf-8"));exports.isomorphicDecode=input=>input.toString("binary");exports.forgivingBase64Decode=data=>{const asString=atob(data);if(asString===null){return null}return Buffer.from(asString,"binary")}}).call(this,require("buffer").Buffer)},{abab:1,buffer:132,"whatwg-url":1024}],197:[function(require,module,exports){(function(globalScope){"use strict";var EXP_LIMIT=9e15,MAX_DIGITS=1e9,NUMERALS="0123456789abcdef",LN10="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",PI="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",DEFAULTS={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-EXP_LIMIT,maxE:EXP_LIMIT,crypto:false},Decimal,inexact,noConflict,quadrant,external=true,decimalError="[DecimalError] ",invalidArgument=decimalError+"Invalid argument: ",precisionLimitExceeded=decimalError+"Precision limit exceeded",cryptoUnavailable=decimalError+"crypto unavailable",mathfloor=Math.floor,mathpow=Math.pow,isBinary=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,isHex=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,isOctal=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,isDecimal=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,BASE=1e7,LOG_BASE=7,MAX_SAFE_INTEGER=9007199254740991,LN10_PRECISION=LN10.length-1,PI_PRECISION=PI.length-1,P={name:"[object Decimal]"};P.absoluteValue=P.abs=function(){var x=new this.constructor(this);if(x.s<0)x.s=1;return finalise(x)};P.ceil=function(){return finalise(new this.constructor(this),this.e+1,2)};P.comparedTo=P.cmp=function(y){var i,j,xdL,ydL,x=this,xd=x.d,yd=(y=new x.constructor(y)).d,xs=x.s,ys=y.s;if(!xd||!yd){return!xs||!ys?NaN:xs!==ys?xs:xd===yd?0:!xd^xs<0?1:-1}if(!xd[0]||!yd[0])return xd[0]?xs:yd[0]?-ys:0;if(xs!==ys)return xs;if(x.e!==y.e)return x.e>y.e^xs<0?1:-1;xdL=xd.length;ydL=yd.length;for(i=0,j=xdL<ydL?xdL:ydL;i<j;++i){if(xd[i]!==yd[i])return xd[i]>yd[i]^xs<0?1:-1}return xdL===ydL?0:xdL>ydL^xs<0?1:-1};P.cosine=P.cos=function(){var pr,rm,x=this,Ctor=x.constructor;if(!x.d)return new Ctor(NaN);if(!x.d[0])return new Ctor(1);pr=Ctor.precision;rm=Ctor.rounding;Ctor.precision=pr+Math.max(x.e,x.sd())+LOG_BASE;Ctor.rounding=1;x=cosine(Ctor,toLessThanHalfPi(Ctor,x));Ctor.precision=pr;Ctor.rounding=rm;return finalise(quadrant==2||quadrant==3?x.neg():x,pr,rm,true)};P.cubeRoot=P.cbrt=function(){var e,m,n,r,rep,s,sd,t,t3,t3plusx,x=this,Ctor=x.constructor;if(!x.isFinite()||x.isZero())return new Ctor(x);external=false;s=x.s*mathpow(x.s*x,1/3);if(!s||Math.abs(s)==1/0){n=digitsToString(x.d);e=x.e;if(s=(e-n.length+1)%3)n+=s==1||s==-2?"0":"00";s=mathpow(n,1/3);e=mathfloor((e+1)/3)-(e%3==(e<0?-1:2));if(s==1/0){n="5e"+e}else{n=s.toExponential();n=n.slice(0,n.indexOf("e")+1)+e}r=new Ctor(n);r.s=x.s}else{r=new Ctor(s.toString())}sd=(e=Ctor.precision)+3;for(;;){t=r;t3=t.times(t).times(t);t3plusx=t3.plus(x);r=divide(t3plusx.plus(x).times(t),t3plusx.plus(t3),sd+2,1);if(digitsToString(t.d).slice(0,sd)===(n=digitsToString(r.d)).slice(0,sd)){n=n.slice(sd-3,sd+1);if(n=="9999"||!rep&&n=="4999"){if(!rep){finalise(t,e+1,0);if(t.times(t).times(t).eq(x)){r=t;break}}sd+=4;rep=1}else{if(!+n||!+n.slice(1)&&n.charAt(0)=="5"){finalise(r,e+1,1);m=!r.times(r).times(r).eq(x)}break}}}external=true;return finalise(r,e,Ctor.rounding,m)};P.decimalPlaces=P.dp=function(){var w,d=this.d,n=NaN;if(d){w=d.length-1;n=(w-mathfloor(this.e/LOG_BASE))*LOG_BASE;w=d[w];if(w)for(;w%10==0;w/=10)n--;if(n<0)n=0}return n};P.dividedBy=P.div=function(y){return divide(this,new this.constructor(y))};P.dividedToIntegerBy=P.divToInt=function(y){var x=this,Ctor=x.constructor;return finalise(divide(x,new Ctor(y),0,1,1),Ctor.precision,Ctor.rounding)};P.equals=P.eq=function(y){return this.cmp(y)===0};P.floor=function(){return finalise(new this.constructor(this),this.e+1,3)};P.greaterThan=P.gt=function(y){return this.cmp(y)>0};P.greaterThanOrEqualTo=P.gte=function(y){var k=this.cmp(y);return k==1||k===0};P.hyperbolicCosine=P.cosh=function(){var k,n,pr,rm,len,x=this,Ctor=x.constructor,one=new Ctor(1);if(!x.isFinite())return new Ctor(x.s?1/0:NaN);if(x.isZero())return one;pr=Ctor.precision;rm=Ctor.rounding;Ctor.precision=pr+Math.max(x.e,x.sd())+4;Ctor.rounding=1;len=x.d.length;if(len<32){k=Math.ceil(len/3);n=(1/tinyPow(4,k)).toString()}else{k=16;n="2.3283064365386962890625e-10"}x=taylorSeries(Ctor,1,x.times(n),new Ctor(1),true);var cosh2_x,i=k,d8=new Ctor(8);for(;i--;){cosh2_x=x.times(x);x=one.minus(cosh2_x.times(d8.minus(cosh2_x.times(d8))))}return finalise(x,Ctor.precision=pr,Ctor.rounding=rm,true)};P.hyperbolicSine=P.sinh=function(){var k,pr,rm,len,x=this,Ctor=x.constructor;if(!x.isFinite()||x.isZero())return new Ctor(x);pr=Ctor.precision;rm=Ctor.rounding;Ctor.precision=pr+Math.max(x.e,x.sd())+4;Ctor.rounding=1;len=x.d.length;if(len<3){x=taylorSeries(Ctor,2,x,x,true)}else{k=1.4*Math.sqrt(len);k=k>16?16:k|0;x=x.times(1/tinyPow(5,k));x=taylorSeries(Ctor,2,x,x,true);var sinh2_x,d5=new Ctor(5),d16=new Ctor(16),d20=new Ctor(20);for(;k--;){sinh2_x=x.times(x);x=x.times(d5.plus(sinh2_x.times(d16.times(sinh2_x).plus(d20))))}}Ctor.precision=pr;Ctor.rounding=rm;return finalise(x,pr,rm,true)};P.hyperbolicTangent=P.tanh=function(){var pr,rm,x=this,Ctor=x.constructor;if(!x.isFinite())return new Ctor(x.s);if(x.isZero())return new Ctor(x);pr=Ctor.precision;rm=Ctor.rounding;Ctor.precision=pr+7;Ctor.rounding=1;return divide(x.sinh(),x.cosh(),Ctor.precision=pr,Ctor.rounding=rm)};P.inverseCosine=P.acos=function(){var halfPi,x=this,Ctor=x.constructor,k=x.abs().cmp(1),pr=Ctor.precision,rm=Ctor.rounding;if(k!==-1){return k===0?x.isNeg()?getPi(Ctor,pr,rm):new Ctor(0):new Ctor(NaN)}if(x.isZero())return getPi(Ctor,pr+4,rm).times(.5);Ctor.precision=pr+6;Ctor.rounding=1;x=x.asin();halfPi=getPi(Ctor,pr+4,rm).times(.5);Ctor.precision=pr;Ctor.rounding=rm;return halfPi.minus(x)};P.inverseHyperbolicCosine=P.acosh=function(){var pr,rm,x=this,Ctor=x.constructor;if(x.lte(1))return new Ctor(x.eq(1)?0:NaN);if(!x.isFinite())return new Ctor(x);pr=Ctor.precision;rm=Ctor.rounding;Ctor.precision=pr+Math.max(Math.abs(x.e),x.sd())+4;Ctor.rounding=1;external=false;x=x.times(x).minus(1).sqrt().plus(x);external=true;Ctor.precision=pr;Ctor.rounding=rm;return x.ln()};P.inverseHyperbolicSine=P.asinh=function(){var pr,rm,x=this,Ctor=x.constructor;if(!x.isFinite()||x.isZero())return new Ctor(x);pr=Ctor.precision;rm=Ctor.rounding;Ctor.precision=pr+2*Math.max(Math.abs(x.e),x.sd())+6;Ctor.rounding=1;external=false;x=x.times(x).plus(1).sqrt().plus(x);external=true;Ctor.precision=pr;Ctor.rounding=rm;return x.ln()};P.inverseHyperbolicTangent=P.atanh=function(){var pr,rm,wpr,xsd,x=this,Ctor=x.constructor;if(!x.isFinite())return new Ctor(NaN);if(x.e>=0)return new Ctor(x.abs().eq(1)?x.s/0:x.isZero()?x:NaN);pr=Ctor.precision;rm=Ctor.rounding;xsd=x.sd();if(Math.max(xsd,pr)<2*-x.e-1)return finalise(new Ctor(x),pr,rm,true);Ctor.precision=wpr=xsd-x.e;x=divide(x.plus(1),new Ctor(1).minus(x),wpr+pr,1);Ctor.precision=pr+4;Ctor.rounding=1;x=x.ln();Ctor.precision=pr;Ctor.rounding=rm;return x.times(.5)};P.inverseSine=P.asin=function(){var halfPi,k,pr,rm,x=this,Ctor=x.constructor;if(x.isZero())return new Ctor(x);k=x.abs().cmp(1);pr=Ctor.precision;rm=Ctor.rounding;if(k!==-1){if(k===0){halfPi=getPi(Ctor,pr+4,rm).times(.5);halfPi.s=x.s;return halfPi}return new Ctor(NaN)}Ctor.precision=pr+6;Ctor.rounding=1;x=x.div(new Ctor(1).minus(x.times(x)).sqrt().plus(1)).atan();Ctor.precision=pr;Ctor.rounding=rm;return x.times(2)};P.inverseTangent=P.atan=function(){var i,j,k,n,px,t,r,wpr,x2,x=this,Ctor=x.constructor,pr=Ctor.precision,rm=Ctor.rounding;if(!x.isFinite()){if(!x.s)return new Ctor(NaN);if(pr+4<=PI_PRECISION){r=getPi(Ctor,pr+4,rm).times(.5);r.s=x.s;return r}}else if(x.isZero()){return new Ctor(x)}else if(x.abs().eq(1)&&pr+4<=PI_PRECISION){r=getPi(Ctor,pr+4,rm).times(.25);r.s=x.s;return r}Ctor.precision=wpr=pr+10;Ctor.rounding=1;k=Math.min(28,wpr/LOG_BASE+2|0);for(i=k;i;--i)x=x.div(x.times(x).plus(1).sqrt().plus(1));external=false;j=Math.ceil(wpr/LOG_BASE);n=1;x2=x.times(x);r=new Ctor(x);px=x;for(;i!==-1;){px=px.times(x2);t=r.minus(px.div(n+=2));px=px.times(x2);r=t.plus(px.div(n+=2));if(r.d[j]!==void 0)for(i=j;r.d[i]===t.d[i]&&i--;);}if(k)r=r.times(2<<k-1);external=true;return finalise(r,Ctor.precision=pr,Ctor.rounding=rm,true)};P.isFinite=function(){return!!this.d};P.isInteger=P.isInt=function(){return!!this.d&&mathfloor(this.e/LOG_BASE)>this.d.length-2};P.isNaN=function(){return!this.s};P.isNegative=P.isNeg=function(){return this.s<0};P.isPositive=P.isPos=function(){return this.s>0};P.isZero=function(){return!!this.d&&this.d[0]===0};P.lessThan=P.lt=function(y){return this.cmp(y)<0};P.lessThanOrEqualTo=P.lte=function(y){return this.cmp(y)<1};P.logarithm=P.log=function(base){var isBase10,d,denominator,k,inf,num,sd,r,arg=this,Ctor=arg.constructor,pr=Ctor.precision,rm=Ctor.rounding,guard=5;if(base==null){base=new Ctor(10);isBase10=true}else{base=new Ctor(base);d=base.d;if(base.s<0||!d||!d[0]||base.eq(1))return new Ctor(NaN);isBase10=base.eq(10)}d=arg.d;if(arg.s<0||!d||!d[0]||arg.eq(1)){return new Ctor(d&&!d[0]?-1/0:arg.s!=1?NaN:d?0:1/0)}if(isBase10){if(d.length>1){inf=true}else{for(k=d[0];k%10===0;)k/=10;inf=k!==1}}external=false;sd=pr+guard;num=naturalLogarithm(arg,sd);denominator=isBase10?getLn10(Ctor,sd+10):naturalLogarithm(base,sd);r=divide(num,denominator,sd,1);if(checkRoundingDigits(r.d,k=pr,rm)){do{sd+=10;num=naturalLogarithm(arg,sd);denominator=isBase10?getLn10(Ctor,sd+10):naturalLogarithm(base,sd);r=divide(num,denominator,sd,1);if(!inf){if(+digitsToString(r.d).slice(k+1,k+15)+1==1e14){r=finalise(r,pr+1,0)}break}}while(checkRoundingDigits(r.d,k+=10,rm))}external=true;return finalise(r,pr,rm)};P.minus=P.sub=function(y){var d,e,i,j,k,len,pr,rm,xd,xe,xLTy,yd,x=this,Ctor=x.constructor;y=new Ctor(y);if(!x.d||!y.d){if(!x.s||!y.s)y=new Ctor(NaN);else if(x.d)y.s=-y.s;else y=new Ctor(y.d||x.s!==y.s?x:NaN);return y}if(x.s!=y.s){y.s=-y.s;return x.plus(y)}xd=x.d;yd=y.d;pr=Ctor.precision;rm=Ctor.rounding;if(!xd[0]||!yd[0]){if(yd[0])y.s=-y.s;else if(xd[0])y=new Ctor(x);else return new Ctor(rm===3?-0:0);return external?finalise(y,pr,rm):y}e=mathfloor(y.e/LOG_BASE);xe=mathfloor(x.e/LOG_BASE);xd=xd.slice();k=xe-e;if(k){xLTy=k<0;if(xLTy){d=xd;k=-k;len=yd.length}else{d=yd;e=xe;len=xd.length}i=Math.max(Math.ceil(pr/LOG_BASE),len)+2;if(k>i){k=i;d.length=1}d.reverse();for(i=k;i--;)d.push(0);d.reverse()}else{i=xd.length;len=yd.length;xLTy=i<len;if(xLTy)len=i;for(i=0;i<len;i++){if(xd[i]!=yd[i]){xLTy=xd[i]<yd[i];break}}k=0}if(xLTy){d=xd;xd=yd;yd=d;y.s=-y.s}len=xd.length;for(i=yd.length-len;i>0;--i)xd[len++]=0;for(i=yd.length;i>k;){if(xd[--i]<yd[i]){for(j=i;j&&xd[--j]===0;)xd[j]=BASE-1;--xd[j];xd[i]+=BASE}xd[i]-=yd[i]}for(;xd[--len]===0;)xd.pop();for(;xd[0]===0;xd.shift())--e;if(!xd[0])return new Ctor(rm===3?-0:0);y.d=xd;y.e=getBase10Exponent(xd,e);return external?finalise(y,pr,rm):y};P.modulo=P.mod=function(y){var q,x=this,Ctor=x.constructor;y=new Ctor(y);if(!x.d||!y.s||y.d&&!y.d[0])return new Ctor(NaN);if(!y.d||x.d&&!x.d[0]){return finalise(new Ctor(x),Ctor.precision,Ctor.rounding)}external=false;if(Ctor.modulo==9){q=divide(x,y.abs(),0,3,1);q.s*=y.s}else{q=divide(x,y,0,Ctor.modulo,1)}q=q.times(y);external=true;return x.minus(q)};P.naturalExponential=P.exp=function(){return naturalExponential(this)};P.naturalLogarithm=P.ln=function(){return naturalLogarithm(this)};P.negated=P.neg=function(){var x=new this.constructor(this);x.s=-x.s;return finalise(x)};P.plus=P.add=function(y){var carry,d,e,i,k,len,pr,rm,xd,yd,x=this,Ctor=x.constructor;y=new Ctor(y);if(!x.d||!y.d){if(!x.s||!y.s)y=new Ctor(NaN);else if(!x.d)y=new Ctor(y.d||x.s===y.s?x:NaN);return y}if(x.s!=y.s){y.s=-y.s;return x.minus(y)}xd=x.d;yd=y.d;pr=Ctor.precision;rm=Ctor.rounding;if(!xd[0]||!yd[0]){if(!yd[0])y=new Ctor(x);return external?finalise(y,pr,rm):y}k=mathfloor(x.e/LOG_BASE);e=mathfloor(y.e/LOG_BASE);xd=xd.slice();i=k-e;if(i){if(i<0){d=xd;i=-i;len=yd.length}else{d=yd;e=k;len=xd.length}k=Math.ceil(pr/LOG_BASE);len=k>len?k+1:len+1;if(i>len){i=len;d.length=1}d.reverse();for(;i--;)d.push(0);d.reverse()}len=xd.length;i=yd.length;if(len-i<0){i=len;d=yd;yd=xd;xd=d}for(carry=0;i;){carry=(xd[--i]=xd[i]+yd[i]+carry)/BASE|0;xd[i]%=BASE}if(carry){xd.unshift(carry);++e}for(len=xd.length;xd[--len]==0;)xd.pop();y.d=xd;y.e=getBase10Exponent(xd,e);return external?finalise(y,pr,rm):y};P.precision=P.sd=function(z){var k,x=this;if(z!==void 0&&z!==!!z&&z!==1&&z!==0)throw Error(invalidArgument+z);if(x.d){k=getPrecision(x.d);if(z&&x.e+1>k)k=x.e+1}else{k=NaN}return k};P.round=function(){var x=this,Ctor=x.constructor;return finalise(new Ctor(x),x.e+1,Ctor.rounding)};P.sine=P.sin=function(){var pr,rm,x=this,Ctor=x.constructor;if(!x.isFinite())return new Ctor(NaN);if(x.isZero())return new Ctor(x);pr=Ctor.precision;rm=Ctor.rounding;Ctor.precision=pr+Math.max(x.e,x.sd())+LOG_BASE;Ctor.rounding=1;x=sine(Ctor,toLessThanHalfPi(Ctor,x));Ctor.precision=pr;Ctor.rounding=rm;return finalise(quadrant>2?x.neg():x,pr,rm,true)};P.squareRoot=P.sqrt=function(){var m,n,sd,r,rep,t,x=this,d=x.d,e=x.e,s=x.s,Ctor=x.constructor;if(s!==1||!d||!d[0]){return new Ctor(!s||s<0&&(!d||d[0])?NaN:d?x:1/0)}external=false;s=Math.sqrt(+x);if(s==0||s==1/0){n=digitsToString(d);if((n.length+e)%2==0)n+="0";s=Math.sqrt(n);e=mathfloor((e+1)/2)-(e<0||e%2);if(s==1/0){n="1e"+e}else{n=s.toExponential();n=n.slice(0,n.indexOf("e")+1)+e}r=new Ctor(n)}else{r=new Ctor(s.toString())}sd=(e=Ctor.precision)+3;for(;;){t=r;r=t.plus(divide(x,t,sd+2,1)).times(.5);if(digitsToString(t.d).slice(0,sd)===(n=digitsToString(r.d)).slice(0,sd)){n=n.slice(sd-3,sd+1);if(n=="9999"||!rep&&n=="4999"){if(!rep){finalise(t,e+1,0);if(t.times(t).eq(x)){r=t;break}}sd+=4;rep=1}else{if(!+n||!+n.slice(1)&&n.charAt(0)=="5"){finalise(r,e+1,1);m=!r.times(r).eq(x)}break}}}external=true;return finalise(r,e,Ctor.rounding,m)};P.tangent=P.tan=function(){var pr,rm,x=this,Ctor=x.constructor;if(!x.isFinite())return new Ctor(NaN);if(x.isZero())return new Ctor(x);pr=Ctor.precision;rm=Ctor.rounding;Ctor.precision=pr+10;Ctor.rounding=1;x=x.sin();x.s=1;x=divide(x,new Ctor(1).minus(x.times(x)).sqrt(),pr+10,0);Ctor.precision=pr;Ctor.rounding=rm;return finalise(quadrant==2||quadrant==4?x.neg():x,pr,rm,true)};P.times=P.mul=function(y){var carry,e,i,k,r,rL,t,xdL,ydL,x=this,Ctor=x.constructor,xd=x.d,yd=(y=new Ctor(y)).d;y.s*=x.s;if(!xd||!xd[0]||!yd||!yd[0]){return new Ctor(!y.s||xd&&!xd[0]&&!yd||yd&&!yd[0]&&!xd?NaN:!xd||!yd?y.s/0:y.s*0)}e=mathfloor(x.e/LOG_BASE)+mathfloor(y.e/LOG_BASE);xdL=xd.length;ydL=yd.length;if(xdL<ydL){r=xd;xd=yd;yd=r;rL=xdL;xdL=ydL;ydL=rL}r=[];rL=xdL+ydL;for(i=rL;i--;)r.push(0);for(i=ydL;--i>=0;){carry=0;for(k=xdL+i;k>i;){t=r[k]+yd[i]*xd[k-i-1]+carry;r[k--]=t%BASE|0;carry=t/BASE|0}r[k]=(r[k]+carry)%BASE|0}for(;!r[--rL];)r.pop();if(carry)++e;else r.shift();y.d=r;y.e=getBase10Exponent(r,e);return external?finalise(y,Ctor.precision,Ctor.rounding):y};P.toBinary=function(sd,rm){return toStringBinary(this,2,sd,rm)};P.toDecimalPlaces=P.toDP=function(dp,rm){var x=this,Ctor=x.constructor;x=new Ctor(x);if(dp===void 0)return x;checkInt32(dp,0,MAX_DIGITS);if(rm===void 0)rm=Ctor.rounding;else checkInt32(rm,0,8);return finalise(x,dp+x.e+1,rm)};P.toExponential=function(dp,rm){var str,x=this,Ctor=x.constructor;if(dp===void 0){str=finiteToString(x,true)}else{checkInt32(dp,0,MAX_DIGITS);if(rm===void 0)rm=Ctor.rounding;else checkInt32(rm,0,8);x=finalise(new Ctor(x),dp+1,rm);str=finiteToString(x,true,dp+1)}return x.isNeg()&&!x.isZero()?"-"+str:str};P.toFixed=function(dp,rm){var str,y,x=this,Ctor=x.constructor;if(dp===void 0){str=finiteToString(x)}else{checkInt32(dp,0,MAX_DIGITS);if(rm===void 0)rm=Ctor.rounding;else checkInt32(rm,0,8);y=finalise(new Ctor(x),dp+x.e+1,rm);str=finiteToString(y,false,dp+y.e+1)}return x.isNeg()&&!x.isZero()?"-"+str:str};P.toFraction=function(maxD){var d,d0,d1,d2,e,k,n,n0,n1,pr,q,r,x=this,xd=x.d,Ctor=x.constructor;if(!xd)return new Ctor(x);n1=d0=new Ctor(1);d1=n0=new Ctor(0);d=new Ctor(d1);e=d.e=getPrecision(xd)-x.e-1;k=e%LOG_BASE;d.d[0]=mathpow(10,k<0?LOG_BASE+k:k);if(maxD==null){maxD=e>0?d:n1}else{n=new Ctor(maxD);if(!n.isInt()||n.lt(n1))throw Error(invalidArgument+n);maxD=n.gt(d)?e>0?d:n1:n}external=false;n=new Ctor(digitsToString(xd));pr=Ctor.precision;Ctor.precision=e=xd.length*LOG_BASE*2;for(;;){q=divide(n,d,0,1,1);d2=d0.plus(q.times(d1));if(d2.cmp(maxD)==1)break;d0=d1;d1=d2;d2=n1;n1=n0.plus(q.times(d2));n0=d2;d2=d;d=n.minus(q.times(d2));n=d2}d2=divide(maxD.minus(d0),d1,0,1,1);n0=n0.plus(d2.times(n1));d0=d0.plus(d2.times(d1));n0.s=n1.s=x.s;r=divide(n1,d1,e,1).minus(x).abs().cmp(divide(n0,d0,e,1).minus(x).abs())<1?[n1,d1]:[n0,d0];Ctor.precision=pr;external=true;return r};P.toHexadecimal=P.toHex=function(sd,rm){return toStringBinary(this,16,sd,rm)};P.toNearest=function(y,rm){var x=this,Ctor=x.constructor;x=new Ctor(x);if(y==null){if(!x.d)return x;y=new Ctor(1);rm=Ctor.rounding}else{y=new Ctor(y);if(rm===void 0){rm=Ctor.rounding}else{checkInt32(rm,0,8)}if(!x.d)return y.s?x:y;if(!y.d){if(y.s)y.s=x.s;return y}}if(y.d[0]){external=false;x=divide(x,y,0,rm,1).times(y);external=true;finalise(x)}else{y.s=x.s;x=y}return x};P.toNumber=function(){return+this};P.toOctal=function(sd,rm){return toStringBinary(this,8,sd,rm)};P.toPower=P.pow=function(y){var e,k,pr,r,rm,s,x=this,Ctor=x.constructor,yn=+(y=new Ctor(y));if(!x.d||!y.d||!x.d[0]||!y.d[0])return new Ctor(mathpow(+x,yn));x=new Ctor(x);if(x.eq(1))return x;pr=Ctor.precision;rm=Ctor.rounding;if(y.eq(1))return finalise(x,pr,rm);e=mathfloor(y.e/LOG_BASE);if(e>=y.d.length-1&&(k=yn<0?-yn:yn)<=MAX_SAFE_INTEGER){r=intPow(Ctor,x,k,pr);return y.s<0?new Ctor(1).div(r):finalise(r,pr,rm)}s=x.s;if(s<0){if(e<y.d.length-1)return new Ctor(NaN);if((y.d[e]&1)==0)s=1;if(x.e==0&&x.d[0]==1&&x.d.length==1){x.s=s;return x}}k=mathpow(+x,yn);e=k==0||!isFinite(k)?mathfloor(yn*(Math.log("0."+digitsToString(x.d))/Math.LN10+x.e+1)):new Ctor(k+"").e;if(e>Ctor.maxE+1||e<Ctor.minE-1)return new Ctor(e>0?s/0:0);external=false;Ctor.rounding=x.s=1;k=Math.min(12,(e+"").length);r=naturalExponential(y.times(naturalLogarithm(x,pr+k)),pr);if(r.d){r=finalise(r,pr+5,1);if(checkRoundingDigits(r.d,pr,rm)){e=pr+10;r=finalise(naturalExponential(y.times(naturalLogarithm(x,e+k)),e),e+5,1);if(+digitsToString(r.d).slice(pr+1,pr+15)+1==1e14){r=finalise(r,pr+1,0)}}}r.s=s;external=true;Ctor.rounding=rm;return finalise(r,pr,rm)};P.toPrecision=function(sd,rm){var str,x=this,Ctor=x.constructor;if(sd===void 0){str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos)}else{checkInt32(sd,1,MAX_DIGITS);if(rm===void 0)rm=Ctor.rounding;else checkInt32(rm,0,8);x=finalise(new Ctor(x),sd,rm);str=finiteToString(x,sd<=x.e||x.e<=Ctor.toExpNeg,sd)}return x.isNeg()&&!x.isZero()?"-"+str:str};P.toSignificantDigits=P.toSD=function(sd,rm){var x=this,Ctor=x.constructor;if(sd===void 0){sd=Ctor.precision;rm=Ctor.rounding}else{checkInt32(sd,1,MAX_DIGITS);if(rm===void 0)rm=Ctor.rounding;else checkInt32(rm,0,8)}return finalise(new Ctor(x),sd,rm)};P.toString=function(){var x=this,Ctor=x.constructor,str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos);return x.isNeg()&&!x.isZero()?"-"+str:str};P.truncated=P.trunc=function(){return finalise(new this.constructor(this),this.e+1,1)};P.valueOf=P.toJSON=function(){var x=this,Ctor=x.constructor,str=finiteToString(x,x.e<=Ctor.toExpNeg||x.e>=Ctor.toExpPos);return x.isNeg()?"-"+str:str};function digitsToString(d){var i,k,ws,indexOfLastWord=d.length-1,str="",w=d[0];if(indexOfLastWord>0){str+=w;for(i=1;i<indexOfLastWord;i++){ws=d[i]+"";k=LOG_BASE-ws.length;if(k)str+=getZeroString(k);str+=ws}w=d[i];ws=w+"";k=LOG_BASE-ws.length;if(k)str+=getZeroString(k)}else if(w===0){return"0"}for(;w%10===0;)w/=10;return str+w}function checkInt32(i,min,max){if(i!==~~i||i<min||i>max){throw Error(invalidArgument+i)}}function checkRoundingDigits(d,i,rm,repeating){var di,k,r,rd;for(k=d[0];k>=10;k/=10)--i;if(--i<0){i+=LOG_BASE;di=0}else{di=Math.ceil((i+1)/LOG_BASE);i%=LOG_BASE}k=mathpow(10,LOG_BASE-i);rd=d[di]%k|0;if(repeating==null){if(i<3){if(i==0)rd=rd/100|0;else if(i==1)rd=rd/10|0;r=rm<4&&rd==99999||rm>3&&rd==49999||rd==5e4||rd==0}else{r=(rm<4&&rd+1==k||rm>3&&rd+1==k/2)&&(d[di+1]/k/100|0)==mathpow(10,i-2)-1||(rd==k/2||rd==0)&&(d[di+1]/k/100|0)==0}}else{if(i<4){if(i==0)rd=rd/1e3|0;else if(i==1)rd=rd/100|0;else if(i==2)rd=rd/10|0;r=(repeating||rm<4)&&rd==9999||!repeating&&rm>3&&rd==4999}else{r=((repeating||rm<4)&&rd+1==k||!repeating&&rm>3&&rd+1==k/2)&&(d[di+1]/k/1e3|0)==mathpow(10,i-3)-1}}return r}function convertBase(str,baseIn,baseOut){var j,arr=[0],arrL,i=0,strL=str.length;for(;i<strL;){for(arrL=arr.length;arrL--;)arr[arrL]*=baseIn;arr[0]+=NUMERALS.indexOf(str.charAt(i++));for(j=0;j<arr.length;j++){if(arr[j]>baseOut-1){if(arr[j+1]===void 0)arr[j+1]=0;arr[j+1]+=arr[j]/baseOut|0;arr[j]%=baseOut}}}return arr.reverse()}function cosine(Ctor,x){var k,y,len=x.d.length;if(len<32){k=Math.ceil(len/3);y=(1/tinyPow(4,k)).toString()}else{k=16;y="2.3283064365386962890625e-10"}Ctor.precision+=k;x=taylorSeries(Ctor,1,x.times(y),new Ctor(1));for(var i=k;i--;){var cos2x=x.times(x);x=cos2x.times(cos2x).minus(cos2x).times(8).plus(1)}Ctor.precision-=k;return x}var divide=function(){function multiplyInteger(x,k,base){var temp,carry=0,i=x.length;for(x=x.slice();i--;){temp=x[i]*k+carry;x[i]=temp%base|0;carry=temp/base|0}if(carry)x.unshift(carry);return x}function compare(a,b,aL,bL){var i,r;if(aL!=bL){r=aL>bL?1:-1}else{for(i=r=0;i<aL;i++){if(a[i]!=b[i]){r=a[i]>b[i]?1:-1;break}}}return r}function subtract(a,b,aL,base){var i=0;for(;aL--;){a[aL]-=i;i=a[aL]<b[aL]?1:0;a[aL]=i*base+a[aL]-b[aL]}for(;!a[0]&&a.length>1;)a.shift()}return function(x,y,pr,rm,dp,base){var cmp,e,i,k,logBase,more,prod,prodL,q,qd,rem,remL,rem0,sd,t,xi,xL,yd0,yL,yz,Ctor=x.constructor,sign=x.s==y.s?1:-1,xd=x.d,yd=y.d;if(!xd||!xd[0]||!yd||!yd[0]){return new Ctor(!x.s||!y.s||(xd?yd&&xd[0]==yd[0]:!yd)?NaN:xd&&xd[0]==0||!yd?sign*0:sign/0)}if(base){logBase=1;e=x.e-y.e}else{base=BASE;logBase=LOG_BASE;e=mathfloor(x.e/logBase)-mathfloor(y.e/logBase)}yL=yd.length;xL=xd.length;q=new Ctor(sign);qd=q.d=[];for(i=0;yd[i]==(xd[i]||0);i++);if(yd[i]>(xd[i]||0))e--;if(pr==null){sd=pr=Ctor.precision;rm=Ctor.rounding}else if(dp){sd=pr+(x.e-y.e)+1}else{sd=pr}if(sd<0){qd.push(1);more=true}else{sd=sd/logBase+2|0;i=0;if(yL==1){k=0;yd=yd[0];sd++;for(;(i<xL||k)&&sd--;i++){t=k*base+(xd[i]||0);qd[i]=t/yd|0;k=t%yd|0}more=k||i<xL}else{k=base/(yd[0]+1)|0;if(k>1){yd=multiplyInteger(yd,k,base);xd=multiplyInteger(xd,k,base);yL=yd.length;xL=xd.length}xi=yL;rem=xd.slice(0,yL);remL=rem.length;for(;remL<yL;)rem[remL++]=0;yz=yd.slice();yz.unshift(0);yd0=yd[0];if(yd[1]>=base/2)++yd0;do{k=0;cmp=compare(yd,rem,yL,remL);if(cmp<0){rem0=rem[0];if(yL!=remL)rem0=rem0*base+(rem[1]||0);k=rem0/yd0|0;if(k>1){if(k>=base)k=base-1;prod=multiplyInteger(yd,k,base);prodL=prod.length;remL=rem.length;cmp=compare(prod,rem,prodL,remL);if(cmp==1){k--;subtract(prod,yL<prodL?yz:yd,prodL,base)}}else{if(k==0)cmp=k=1;prod=yd.slice()}prodL=prod.length;if(prodL<remL)prod.unshift(0);subtract(rem,prod,remL,base);if(cmp==-1){remL=rem.length;cmp=compare(yd,rem,yL,remL);if(cmp<1){k++;subtract(rem,yL<remL?yz:yd,remL,base)}}remL=rem.length}else if(cmp===0){k++;rem=[0]}qd[i++]=k;if(cmp&&rem[0]){rem[remL++]=xd[xi]||0}else{rem=[xd[xi]];remL=1}}while((xi++<xL||rem[0]!==void 0)&&sd--);more=rem[0]!==void 0}if(!qd[0])qd.shift()}if(logBase==1){q.e=e;inexact=more}else{for(i=1,k=qd[0];k>=10;k/=10)i++;q.e=i+e*logBase-1;finalise(q,dp?pr+q.e+1:pr,rm,more)}return q}}();function finalise(x,sd,rm,isTruncated){var digits,i,j,k,rd,roundUp,w,xd,xdi,Ctor=x.constructor;out:if(sd!=null){xd=x.d;if(!xd)return x;for(digits=1,k=xd[0];k>=10;k/=10)digits++;i=sd-digits;if(i<0){i+=LOG_BASE;j=sd;w=xd[xdi=0];rd=w/mathpow(10,digits-j-1)%10|0}else{xdi=Math.ceil((i+1)/LOG_BASE);k=xd.length;if(xdi>=k){if(isTruncated){for(;k++<=xdi;)xd.push(0);w=rd=0;digits=1;i%=LOG_BASE;j=i-LOG_BASE+1}else{break out}}else{w=k=xd[xdi];for(digits=1;k>=10;k/=10)digits++;i%=LOG_BASE;j=i-LOG_BASE+digits;rd=j<0?0:w/mathpow(10,digits-j-1)%10|0}}isTruncated=isTruncated||sd<0||xd[xdi+1]!==void 0||(j<0?w:w%mathpow(10,digits-j-1));roundUp=rm<4?(rd||isTruncated)&&(rm==0||rm==(x.s<0?3:2)):rd>5||rd==5&&(rm==4||isTruncated||rm==6&&(i>0?j>0?w/mathpow(10,digits-j):0:xd[xdi-1])%10&1||rm==(x.s<0?8:7));if(sd<1||!xd[0]){xd.length=0;if(roundUp){sd-=x.e+1;xd[0]=mathpow(10,(LOG_BASE-sd%LOG_BASE)%LOG_BASE);x.e=-sd||0}else{xd[0]=x.e=0}return x}if(i==0){xd.length=xdi;k=1;xdi--}else{xd.length=xdi+1;k=mathpow(10,LOG_BASE-i);xd[xdi]=j>0?(w/mathpow(10,digits-j)%mathpow(10,j)|0)*k:0}if(roundUp){for(;;){if(xdi==0){for(i=1,j=xd[0];j>=10;j/=10)i++;j=xd[0]+=k;for(k=1;j>=10;j/=10)k++;if(i!=k){x.e++;if(xd[0]==BASE)xd[0]=1}break}else{xd[xdi]+=k;if(xd[xdi]!=BASE)break;xd[xdi--]=0;k=1}}}for(i=xd.length;xd[--i]===0;)xd.pop()}if(external){if(x.e>Ctor.maxE){x.d=null;x.e=NaN}else if(x.e<Ctor.minE){x.e=0;x.d=[0]}}return x}function finiteToString(x,isExp,sd){if(!x.isFinite())return nonFiniteToString(x);var k,e=x.e,str=digitsToString(x.d),len=str.length;if(isExp){if(sd&&(k=sd-len)>0){str=str.charAt(0)+"."+str.slice(1)+getZeroString(k)}else if(len>1){str=str.charAt(0)+"."+str.slice(1)}str=str+(x.e<0?"e":"e+")+x.e}else if(e<0){str="0."+getZeroString(-e-1)+str;if(sd&&(k=sd-len)>0)str+=getZeroString(k)}else if(e>=len){str+=getZeroString(e+1-len);if(sd&&(k=sd-e-1)>0)str=str+"."+getZeroString(k)}else{if((k=e+1)<len)str=str.slice(0,k)+"."+str.slice(k);if(sd&&(k=sd-len)>0){if(e+1===len)str+=".";str+=getZeroString(k)}}return str}function getBase10Exponent(digits,e){var w=digits[0];for(e*=LOG_BASE;w>=10;w/=10)e++;return e}function getLn10(Ctor,sd,pr){if(sd>LN10_PRECISION){external=true;if(pr)Ctor.precision=pr;throw Error(precisionLimitExceeded)}return finalise(new Ctor(LN10),sd,1,true)}function getPi(Ctor,sd,rm){if(sd>PI_PRECISION)throw Error(precisionLimitExceeded);return finalise(new Ctor(PI),sd,rm,true)}function getPrecision(digits){var w=digits.length-1,len=w*LOG_BASE+1;w=digits[w];if(w){for(;w%10==0;w/=10)len--;for(w=digits[0];w>=10;w/=10)len++}return len}function getZeroString(k){var zs="";for(;k--;)zs+="0";return zs}function intPow(Ctor,x,n,pr){var isTruncated,r=new Ctor(1),k=Math.ceil(pr/LOG_BASE+4);external=false;for(;;){if(n%2){r=r.times(x);if(truncate(r.d,k))isTruncated=true}n=mathfloor(n/2);if(n===0){n=r.d.length-1;if(isTruncated&&r.d[n]===0)++r.d[n];break}x=x.times(x);truncate(x.d,k)}external=true;return r}function isOdd(n){return n.d[n.d.length-1]&1}function maxOrMin(Ctor,args,ltgt){var y,x=new Ctor(args[0]),i=0;for(;++i<args.length;){y=new Ctor(args[i]);if(!y.s){x=y;break}else if(x[ltgt](y)){x=y}}return x}function naturalExponential(x,sd){var denominator,guard,j,pow,sum,t,wpr,rep=0,i=0,k=0,Ctor=x.constructor,rm=Ctor.rounding,pr=Ctor.precision;if(!x.d||!x.d[0]||x.e>17){return new Ctor(x.d?!x.d[0]?1:x.s<0?0:1/0:x.s?x.s<0?0:x:0/0)}if(sd==null){external=false;wpr=pr}else{wpr=sd}t=new Ctor(.03125);while(x.e>-2){x=x.times(t);k+=5}guard=Math.log(mathpow(2,k))/Math.LN10*2+5|0;wpr+=guard;denominator=pow=sum=new Ctor(1);Ctor.precision=wpr;for(;;){pow=finalise(pow.times(x),wpr,1);denominator=denominator.times(++i);t=sum.plus(divide(pow,denominator,wpr,1));if(digitsToString(t.d).slice(0,wpr)===digitsToString(sum.d).slice(0,wpr)){j=k;while(j--)sum=finalise(sum.times(sum),wpr,1);if(sd==null){if(rep<3&&checkRoundingDigits(sum.d,wpr-guard,rm,rep)){Ctor.precision=wpr+=10;denominator=pow=t=new Ctor(1);i=0;rep++}else{return finalise(sum,Ctor.precision=pr,rm,external=true)}}else{Ctor.precision=pr;return sum}}sum=t}}function naturalLogarithm(y,sd){var c,c0,denominator,e,numerator,rep,sum,t,wpr,x1,x2,n=1,guard=10,x=y,xd=x.d,Ctor=x.constructor,rm=Ctor.rounding,pr=Ctor.precision;if(x.s<0||!xd||!xd[0]||!x.e&&xd[0]==1&&xd.length==1){return new Ctor(xd&&!xd[0]?-1/0:x.s!=1?NaN:xd?0:x)}if(sd==null){external=false;wpr=pr}else{wpr=sd}Ctor.precision=wpr+=guard;c=digitsToString(xd);c0=c.charAt(0);if(Math.abs(e=x.e)<15e14){while(c0<7&&c0!=1||c0==1&&c.charAt(1)>3){x=x.times(y);c=digitsToString(x.d);c0=c.charAt(0);n++}e=x.e;if(c0>1){x=new Ctor("0."+c);e++}else{x=new Ctor(c0+"."+c.slice(1))}}else{t=getLn10(Ctor,wpr+2,pr).times(e+"");x=naturalLogarithm(new Ctor(c0+"."+c.slice(1)),wpr-guard).plus(t);Ctor.precision=pr;return sd==null?finalise(x,pr,rm,external=true):x}x1=x;sum=numerator=x=divide(x.minus(1),x.plus(1),wpr,1);x2=finalise(x.times(x),wpr,1);denominator=3;for(;;){numerator=finalise(numerator.times(x2),wpr,1);t=sum.plus(divide(numerator,new Ctor(denominator),wpr,1));if(digitsToString(t.d).slice(0,wpr)===digitsToString(sum.d).slice(0,wpr)){sum=sum.times(2);if(e!==0)sum=sum.plus(getLn10(Ctor,wpr+2,pr).times(e+""));sum=divide(sum,new Ctor(n),wpr,1);if(sd==null){if(checkRoundingDigits(sum.d,wpr-guard,rm,rep)){Ctor.precision=wpr+=guard;t=numerator=x=divide(x1.minus(1),x1.plus(1),wpr,1);x2=finalise(x.times(x),wpr,1);denominator=rep=1}else{return finalise(sum,Ctor.precision=pr,rm,external=true)}}else{Ctor.precision=pr;return sum}}sum=t;denominator+=2}}function nonFiniteToString(x){return String(x.s*x.s/0)}function parseDecimal(x,str){var e,i,len;if((e=str.indexOf("."))>-1)str=str.replace(".","");if((i=str.search(/e/i))>0){if(e<0)e=i;e+=+str.slice(i+1);str=str.substring(0,i)}else if(e<0){e=str.length}for(i=0;str.charCodeAt(i)===48;i++);for(len=str.length;str.charCodeAt(len-1)===48;--len);str=str.slice(i,len);if(str){len-=i;x.e=e=e-i-1;x.d=[];i=(e+1)%LOG_BASE;if(e<0)i+=LOG_BASE;if(i<len){if(i)x.d.push(+str.slice(0,i));for(len-=LOG_BASE;i<len;)x.d.push(+str.slice(i,i+=LOG_BASE));str=str.slice(i);i=LOG_BASE-str.length}else{i-=len}for(;i--;)str+="0";x.d.push(+str);if(external){if(x.e>x.constructor.maxE){x.d=null;x.e=NaN}else if(x.e<x.constructor.minE){x.e=0;x.d=[0]}}}else{x.e=0;x.d=[0]}return x}function parseOther(x,str){var base,Ctor,divisor,i,isFloat,len,p,xd,xe;if(str==="Infinity"||str==="NaN"){if(!+str)x.s=NaN;x.e=NaN;x.d=null;return x}if(isHex.test(str)){base=16;str=str.toLowerCase()}else if(isBinary.test(str)){base=2}else if(isOctal.test(str)){base=8}else{throw Error(invalidArgument+str)}i=str.search(/p/i);if(i>0){p=+str.slice(i+1);str=str.substring(2,i)}else{str=str.slice(2)}i=str.indexOf(".");isFloat=i>=0;Ctor=x.constructor;if(isFloat){str=str.replace(".","");len=str.length;i=len-i;divisor=intPow(Ctor,new Ctor(base),i,i*2)}xd=convertBase(str,base,BASE);xe=xd.length-1;for(i=xe;xd[i]===0;--i)xd.pop();if(i<0)return new Ctor(x.s*0);x.e=getBase10Exponent(xd,xe);x.d=xd;external=false;if(isFloat)x=divide(x,divisor,len*4);if(p)x=x.times(Math.abs(p)<54?mathpow(2,p):Decimal.pow(2,p));external=true;return x}function sine(Ctor,x){var k,len=x.d.length;if(len<3)return taylorSeries(Ctor,2,x,x);k=1.4*Math.sqrt(len);k=k>16?16:k|0;x=x.times(1/tinyPow(5,k));x=taylorSeries(Ctor,2,x,x);var sin2_x,d5=new Ctor(5),d16=new Ctor(16),d20=new Ctor(20);for(;k--;){sin2_x=x.times(x);x=x.times(d5.plus(sin2_x.times(d16.times(sin2_x).minus(d20))))}return x}function taylorSeries(Ctor,n,x,y,isHyperbolic){var j,t,u,x2,i=1,pr=Ctor.precision,k=Math.ceil(pr/LOG_BASE);external=false;x2=x.times(x);u=new Ctor(y);for(;;){t=divide(u.times(x2),new Ctor(n++*n++),pr,1);u=isHyperbolic?y.plus(t):y.minus(t);y=divide(t.times(x2),new Ctor(n++*n++),pr,1);t=u.plus(y);if(t.d[k]!==void 0){for(j=k;t.d[j]===u.d[j]&&j--;);if(j==-1)break}j=u;u=y;y=t;t=j;i++}external=true;t.d.length=k+1;return t}function tinyPow(b,e){var n=b;while(--e)n*=b;return n}function toLessThanHalfPi(Ctor,x){var t,isNeg=x.s<0,pi=getPi(Ctor,Ctor.precision,1),halfPi=pi.times(.5);x=x.abs();if(x.lte(halfPi)){quadrant=isNeg?4:1;return x}t=x.divToInt(pi);if(t.isZero()){quadrant=isNeg?3:2}else{x=x.minus(t.times(pi));if(x.lte(halfPi)){quadrant=isOdd(t)?isNeg?2:3:isNeg?4:1;return x}quadrant=isOdd(t)?isNeg?1:4:isNeg?3:2}return x.minus(pi).abs()}function toStringBinary(x,baseOut,sd,rm){var base,e,i,k,len,roundUp,str,xd,y,Ctor=x.constructor,isExp=sd!==void 0;if(isExp){checkInt32(sd,1,MAX_DIGITS);if(rm===void 0)rm=Ctor.rounding;else checkInt32(rm,0,8)}else{sd=Ctor.precision;rm=Ctor.rounding}if(!x.isFinite()){str=nonFiniteToString(x)}else{str=finiteToString(x);i=str.indexOf(".");if(isExp){base=2;if(baseOut==16){sd=sd*4-3}else if(baseOut==8){sd=sd*3-2}}else{base=baseOut}if(i>=0){str=str.replace(".","");y=new Ctor(1);y.e=str.length-i;y.d=convertBase(finiteToString(y),10,base);y.e=y.d.length}xd=convertBase(str,10,base);e=len=xd.length;for(;xd[--len]==0;)xd.pop();if(!xd[0]){str=isExp?"0p+0":"0"}else{if(i<0){e--}else{x=new Ctor(x);x.d=xd;x.e=e;x=divide(x,y,sd,rm,0,base);xd=x.d;e=x.e;roundUp=inexact}i=xd[sd];k=base/2;roundUp=roundUp||xd[sd+1]!==void 0;roundUp=rm<4?(i!==void 0||roundUp)&&(rm===0||rm===(x.s<0?3:2)):i>k||i===k&&(rm===4||roundUp||rm===6&&xd[sd-1]&1||rm===(x.s<0?8:7));xd.length=sd;if(roundUp){for(;++xd[--sd]>base-1;){xd[sd]=0;if(!sd){++e;xd.unshift(1)}}}for(len=xd.length;!xd[len-1];--len);for(i=0,str="";i<len;i++)str+=NUMERALS.charAt(xd[i]);if(isExp){if(len>1){if(baseOut==16||baseOut==8){i=baseOut==16?4:3;for(--len;len%i;len++)str+="0";xd=convertBase(str,base,baseOut);for(len=xd.length;!xd[len-1];--len);for(i=1,str="1.";i<len;i++)str+=NUMERALS.charAt(xd[i])}else{str=str.charAt(0)+"."+str.slice(1)}}str=str+(e<0?"p":"p+")+e}else if(e<0){for(;++e;)str="0"+str;str="0."+str}else{if(++e>len)for(e-=len;e--;)str+="0";else if(e<len)str=str.slice(0,e)+"."+str.slice(e)}}str=(baseOut==16?"0x":baseOut==2?"0b":baseOut==8?"0o":"")+str}return x.s<0?"-"+str:str}function truncate(arr,len){if(arr.length>len){arr.length=len;return true}}function abs(x){return new this(x).abs()}function acos(x){return new this(x).acos()}function acosh(x){return new this(x).acosh()}function add(x,y){return new this(x).plus(y)}function asin(x){return new this(x).asin()}function asinh(x){return new this(x).asinh()}function atan(x){return new this(x).atan()}function atanh(x){return new this(x).atanh()}function atan2(y,x){y=new this(y);x=new this(x);var r,pr=this.precision,rm=this.rounding,wpr=pr+4;if(!y.s||!x.s){r=new this(NaN)}else if(!y.d&&!x.d){r=getPi(this,wpr,1).times(x.s>0?.25:.75);r.s=y.s}else if(!x.d||y.isZero()){r=x.s<0?getPi(this,pr,rm):new this(0);r.s=y.s}else if(!y.d||x.isZero()){r=getPi(this,wpr,1).times(.5);r.s=y.s}else if(x.s<0){this.precision=wpr;this.rounding=1;r=this.atan(divide(y,x,wpr,1));x=getPi(this,wpr,1);this.precision=pr;this.rounding=rm;r=y.s<0?r.minus(x):r.plus(x)}else{r=this.atan(divide(y,x,wpr,1))}return r}function cbrt(x){return new this(x).cbrt()}function ceil(x){return finalise(x=new this(x),x.e+1,2)}function config(obj){if(!obj||typeof obj!=="object")throw Error(decimalError+"Object expected");var i,p,v,useDefaults=obj.defaults===true,ps=["precision",1,MAX_DIGITS,"rounding",0,8,"toExpNeg",-EXP_LIMIT,0,"toExpPos",0,EXP_LIMIT,"maxE",0,EXP_LIMIT,"minE",-EXP_LIMIT,0,"modulo",0,9];for(i=0;i<ps.length;i+=3){if(p=ps[i],useDefaults)this[p]=DEFAULTS[p];if((v=obj[p])!==void 0){if(mathfloor(v)===v&&v>=ps[i+1]&&v<=ps[i+2])this[p]=v;else throw Error(invalidArgument+p+": "+v)}}if(p="crypto",useDefaults)this[p]=DEFAULTS[p];if((v=obj[p])!==void 0){if(v===true||v===false||v===0||v===1){if(v){if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes)){this[p]=true}else{throw Error(cryptoUnavailable)}}else{this[p]=false}}else{throw Error(invalidArgument+p+": "+v)}}return this}function cos(x){return new this(x).cos()}function cosh(x){return new this(x).cosh()}function clone(obj){var i,p,ps;function Decimal(v){var e,i,t,x=this;if(!(x instanceof Decimal))return new Decimal(v);x.constructor=Decimal;if(v instanceof Decimal){x.s=v.s;if(external){if(!v.d||v.e>Decimal.maxE){x.e=NaN;x.d=null}else if(v.e<Decimal.minE){x.e=0;x.d=[0]}else{x.e=v.e;x.d=v.d.slice()}}else{x.e=v.e;x.d=v.d?v.d.slice():v.d}return}t=typeof v;if(t==="number"){if(v===0){x.s=1/v<0?-1:1;x.e=0;x.d=[0];return}if(v<0){v=-v;x.s=-1}else{x.s=1}if(v===~~v&&v<1e7){for(e=0,i=v;i>=10;i/=10)e++;if(external){if(e>Decimal.maxE){x.e=NaN;x.d=null}else if(e<Decimal.minE){x.e=0;x.d=[0]}else{x.e=e;x.d=[v]}}else{x.e=e;x.d=[v]}return}else if(v*0!==0){if(!v)x.s=NaN;x.e=NaN;x.d=null;return}return parseDecimal(x,v.toString())}else if(t!=="string"){throw Error(invalidArgument+v)}if((i=v.charCodeAt(0))===45){v=v.slice(1);x.s=-1}else{if(i===43)v=v.slice(1);x.s=1}return isDecimal.test(v)?parseDecimal(x,v):parseOther(x,v)}Decimal.prototype=P;Decimal.ROUND_UP=0;Decimal.ROUND_DOWN=1;Decimal.ROUND_CEIL=2;Decimal.ROUND_FLOOR=3;Decimal.ROUND_HALF_UP=4;Decimal.ROUND_HALF_DOWN=5;Decimal.ROUND_HALF_EVEN=6;Decimal.ROUND_HALF_CEIL=7;Decimal.ROUND_HALF_FLOOR=8;Decimal.EUCLID=9;Decimal.config=Decimal.set=config;Decimal.clone=clone;Decimal.isDecimal=isDecimalInstance;Decimal.abs=abs;Decimal.acos=acos;Decimal.acosh=acosh;Decimal.add=add;Decimal.asin=asin;Decimal.asinh=asinh;Decimal.atan=atan;Decimal.atanh=atanh;Decimal.atan2=atan2;Decimal.cbrt=cbrt;Decimal.ceil=ceil;Decimal.cos=cos;Decimal.cosh=cosh;Decimal.div=div;Decimal.exp=exp;Decimal.floor=floor;Decimal.hypot=hypot;Decimal.ln=ln;Decimal.log=log;Decimal.log10=log10;Decimal.log2=log2;Decimal.max=max;Decimal.min=min;Decimal.mod=mod;Decimal.mul=mul;Decimal.pow=pow;Decimal.random=random;Decimal.round=round;Decimal.sign=sign;Decimal.sin=sin;Decimal.sinh=sinh;Decimal.sqrt=sqrt;Decimal.sub=sub;Decimal.tan=tan;Decimal.tanh=tanh;Decimal.trunc=trunc;if(obj===void 0)obj={};if(obj){if(obj.defaults!==true){ps=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"];for(i=0;i<ps.length;)if(!obj.hasOwnProperty(p=ps[i++]))obj[p]=this[p]}}Decimal.config(obj);return Decimal}function div(x,y){return new this(x).div(y)}function exp(x){return new this(x).exp()}function floor(x){return finalise(x=new this(x),x.e+1,3)}function hypot(){var i,n,t=new this(0);external=false;for(i=0;i<arguments.length;){n=new this(arguments[i++]);if(!n.d){if(n.s){external=true;return new this(1/0)}t=n}else if(t.d){t=t.plus(n.times(n))}}external=true;return t.sqrt()}function isDecimalInstance(obj){return obj instanceof Decimal||obj&&obj.name==="[object Decimal]"||false}function ln(x){return new this(x).ln()}function log(x,y){return new this(x).log(y)}function log2(x){return new this(x).log(2)}function log10(x){return new this(x).log(10)}function max(){return maxOrMin(this,arguments,"lt")}function min(){return maxOrMin(this,arguments,"gt")}function mod(x,y){return new this(x).mod(y)}function mul(x,y){return new this(x).mul(y)}function pow(x,y){return new this(x).pow(y)}function random(sd){var d,e,k,n,i=0,r=new this(1),rd=[];if(sd===void 0)sd=this.precision;else checkInt32(sd,1,MAX_DIGITS);k=Math.ceil(sd/LOG_BASE);if(!this.crypto){for(;i<k;)rd[i++]=Math.random()*1e7|0}else if(crypto.getRandomValues){d=crypto.getRandomValues(new Uint32Array(k));for(;i<k;){n=d[i];if(n>=429e7){d[i]=crypto.getRandomValues(new Uint32Array(1))[0]}else{rd[i++]=n%1e7}}}else if(crypto.randomBytes){d=crypto.randomBytes(k*=4);for(;i<k;){n=d[i]+(d[i+1]<<8)+(d[i+2]<<16)+((d[i+3]&127)<<24);if(n>=214e7){crypto.randomBytes(4).copy(d,i)}else{rd.push(n%1e7);i+=4}}i=k/4}else{throw Error(cryptoUnavailable)}k=rd[--i];sd%=LOG_BASE;if(k&&sd){n=mathpow(10,LOG_BASE-sd);rd[i]=(k/n|0)*n}for(;rd[i]===0;i--)rd.pop();if(i<0){e=0;rd=[0]}else{e=-1;for(;rd[0]===0;e-=LOG_BASE)rd.shift();for(k=1,n=rd[0];n>=10;n/=10)k++;if(k<LOG_BASE)e-=LOG_BASE-k}r.e=e;r.d=rd;return r}function round(x){return finalise(x=new this(x),x.e+1,this.rounding)}function sign(x){x=new this(x);return x.d?x.d[0]?x.s:0*x.s:x.s||NaN}function sin(x){return new this(x).sin()}function sinh(x){return new this(x).sinh()}function sqrt(x){return new this(x).sqrt()}function sub(x,y){return new this(x).sub(y)}function tan(x){return new this(x).tan()}function tanh(x){return new this(x).tanh()}function trunc(x){return finalise(x=new this(x),x.e+1,1)}Decimal=clone(DEFAULTS);Decimal["default"]=Decimal.Decimal=Decimal;LN10=new Decimal(LN10);PI=new Decimal(PI);if(typeof define=="function"&&define.amd){define((function(){return Decimal}))}else if(typeof module!="undefined"&&module.exports){if(typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"){P[Symbol.for("nodejs.util.inspect.custom")]=P.toString;P[Symbol.toStringTag]="Decimal"}module.exports=Decimal}else{if(!globalScope){globalScope=typeof self!="undefined"&&self&&self.self==self?self:window}noConflict=globalScope.Decimal;Decimal.noConflict=function(){globalScope.Decimal=noConflict;return Decimal};globalScope.Decimal=Decimal}})(this)},{}],198:[function(require,module,exports){var Stream=require("stream").Stream;var util=require("util");module.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}util.inherits(DelayedStream,Stream);DelayedStream.create=function(source,options){var delayedStream=new this;options=options||{};for(var option in options){delayedStream[option]=options[option]}delayedStream.source=source;var realEmit=source.emit;source.emit=function(){delayedStream._handleEmit(arguments);return realEmit.apply(source,arguments)};source.on("error",(function(){}));if(delayedStream.pauseStream){source.pause()}return delayedStream};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(args){this.emit.apply(this,args)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var r=Stream.prototype.pipe.apply(this,arguments);this.resume();return r};DelayedStream.prototype._handleEmit=function(args){if(this._released){this.emit.apply(this,args);return}if(args[0]==="data"){this.dataSize+=args[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(args)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var message="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(message))}},{stream:955,util:1e3}],199:[function(require,module,exports){"use strict";exports.utils=require("./des/utils");exports.Cipher=require("./des/cipher");exports.DES=require("./des/des");exports.CBC=require("./des/cbc");exports.EDE=require("./des/ede")},{"./des/cbc":200,"./des/cipher":201,"./des/des":202,"./des/ede":203,"./des/utils":204}],200:[function(require,module,exports){"use strict";var assert=require("minimalistic-assert");var inherits=require("inherits");var proto={};function CBCState(iv){assert.equal(iv.length,8,"Invalid IV length");this.iv=new Array(8);for(var i=0;i<this.iv.length;i++)this.iv[i]=iv[i]}function instantiate(Base){function CBC(options){Base.call(this,options);this._cbcInit()}inherits(CBC,Base);var keys=Object.keys(proto);for(var i=0;i<keys.length;i++){var key=keys[i];CBC.prototype[key]=proto[key]}CBC.create=function create(options){return new CBC(options)};return CBC}exports.instantiate=instantiate;proto._cbcInit=function _cbcInit(){var state=new CBCState(this.options.iv);this._cbcState=state};proto._update=function _update(inp,inOff,out,outOff){var state=this._cbcState;var superProto=this.constructor.super_.prototype;var iv=state.iv;if(this.type==="encrypt"){for(var i=0;i<this.blockSize;i++)iv[i]^=inp[inOff+i];superProto._update.call(this,iv,0,out,outOff);for(var i=0;i<this.blockSize;i++)iv[i]=out[outOff+i]}else{superProto._update.call(this,inp,inOff,out,outOff);for(var i=0;i<this.blockSize;i++)out[outOff+i]^=iv[i];for(var i=0;i<this.blockSize;i++)iv[i]=inp[inOff+i]}}},{inherits:326,"minimalistic-assert":800}],201:[function(require,module,exports){"use strict";var assert=require("minimalistic-assert");function Cipher(options){this.options=options;this.type=this.options.type;this.blockSize=8;this._init();this.buffer=new Array(this.blockSize);this.bufferOff=0}module.exports=Cipher;Cipher.prototype._init=function _init(){};Cipher.prototype.update=function update(data){if(data.length===0)return[];if(this.type==="decrypt")return this._updateDecrypt(data);else return this._updateEncrypt(data)};Cipher.prototype._buffer=function _buffer(data,off){var min=Math.min(this.buffer.length-this.bufferOff,data.length-off);for(var i=0;i<min;i++)this.buffer[this.bufferOff+i]=data[off+i];this.bufferOff+=min;return min};Cipher.prototype._flushBuffer=function _flushBuffer(out,off){this._update(this.buffer,0,out,off);this.bufferOff=0;return this.blockSize};Cipher.prototype._updateEncrypt=function _updateEncrypt(data){var inputOff=0;var outputOff=0;var count=(this.bufferOff+data.length)/this.blockSize|0;var out=new Array(count*this.blockSize);if(this.bufferOff!==0){inputOff+=this._buffer(data,inputOff);if(this.bufferOff===this.buffer.length)outputOff+=this._flushBuffer(out,outputOff)}var max=data.length-(data.length-inputOff)%this.blockSize;for(;inputOff<max;inputOff+=this.blockSize){this._update(data,inputOff,out,outputOff);outputOff+=this.blockSize}for(;inputOff<data.length;inputOff++,this.bufferOff++)this.buffer[this.bufferOff]=data[inputOff];return out};Cipher.prototype._updateDecrypt=function _updateDecrypt(data){var inputOff=0;var outputOff=0;var count=Math.ceil((this.bufferOff+data.length)/this.blockSize)-1;var out=new Array(count*this.blockSize);for(;count>0;count--){inputOff+=this._buffer(data,inputOff);outputOff+=this._flushBuffer(out,outputOff)}inputOff+=this._buffer(data,inputOff);return out};Cipher.prototype.final=function final(buffer){var first;if(buffer)first=this.update(buffer);var last;if(this.type==="encrypt")last=this._finalEncrypt();else last=this._finalDecrypt();if(first)return first.concat(last);else return last};Cipher.prototype._pad=function _pad(buffer,off){if(off===0)return false;while(off<buffer.length)buffer[off++]=0;return true};Cipher.prototype._finalEncrypt=function _finalEncrypt(){if(!this._pad(this.buffer,this.bufferOff))return[];var out=new Array(this.blockSize);this._update(this.buffer,0,out,0);return out};Cipher.prototype._unpad=function _unpad(buffer){return buffer};Cipher.prototype._finalDecrypt=function _finalDecrypt(){assert.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var out=new Array(this.blockSize);this._flushBuffer(out,0);return this._unpad(out)}},{"minimalistic-assert":800}],202:[function(require,module,exports){"use strict";var assert=require("minimalistic-assert");var inherits=require("inherits");var utils=require("./utils");var Cipher=require("./cipher");function DESState(){this.tmp=new Array(2);this.keys=null}function DES(options){Cipher.call(this,options);var state=new DESState;this._desState=state;this.deriveKeys(state,options.key)}inherits(DES,Cipher);module.exports=DES;DES.create=function create(options){return new DES(options)};var shiftTable=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];DES.prototype.deriveKeys=function deriveKeys(state,key){state.keys=new Array(16*2);assert.equal(key.length,this.blockSize,"Invalid key length");var kL=utils.readUInt32BE(key,0);var kR=utils.readUInt32BE(key,4);utils.pc1(kL,kR,state.tmp,0);kL=state.tmp[0];kR=state.tmp[1];for(var i=0;i<state.keys.length;i+=2){var shift=shiftTable[i>>>1];kL=utils.r28shl(kL,shift);kR=utils.r28shl(kR,shift);utils.pc2(kL,kR,state.keys,i)}};DES.prototype._update=function _update(inp,inOff,out,outOff){var state=this._desState;var l=utils.readUInt32BE(inp,inOff);var r=utils.readUInt32BE(inp,inOff+4);utils.ip(l,r,state.tmp,0);l=state.tmp[0];r=state.tmp[1];if(this.type==="encrypt")this._encrypt(state,l,r,state.tmp,0);else this._decrypt(state,l,r,state.tmp,0);l=state.tmp[0];r=state.tmp[1];utils.writeUInt32BE(out,l,outOff);utils.writeUInt32BE(out,r,outOff+4)};DES.prototype._pad=function _pad(buffer,off){var value=buffer.length-off;for(var i=off;i<buffer.length;i++)buffer[i]=value;return true};DES.prototype._unpad=function _unpad(buffer){var pad=buffer[buffer.length-1];for(var i=buffer.length-pad;i<buffer.length;i++)assert.equal(buffer[i],pad);return buffer.slice(0,buffer.length-pad)};DES.prototype._encrypt=function _encrypt(state,lStart,rStart,out,off){var l=lStart;var r=rStart;for(var i=0;i<state.keys.length;i+=2){var keyL=state.keys[i];var keyR=state.keys[i+1];utils.expand(r,state.tmp,0);keyL^=state.tmp[0];keyR^=state.tmp[1];var s=utils.substitute(keyL,keyR);var f=utils.permute(s);var t=r;r=(l^f)>>>0;l=t}utils.rip(r,l,out,off)};DES.prototype._decrypt=function _decrypt(state,lStart,rStart,out,off){var l=rStart;var r=lStart;for(var i=state.keys.length-2;i>=0;i-=2){var keyL=state.keys[i];var keyR=state.keys[i+1];utils.expand(l,state.tmp,0);keyL^=state.tmp[0];keyR^=state.tmp[1];var s=utils.substitute(keyL,keyR);var f=utils.permute(s);var t=l;l=(r^f)>>>0;r=t}utils.rip(l,r,out,off)}},{"./cipher":201,"./utils":204,inherits:326,"minimalistic-assert":800}],203:[function(require,module,exports){"use strict";var assert=require("minimalistic-assert");var inherits=require("inherits");var Cipher=require("./cipher");var DES=require("./des");function EDEState(type,key){assert.equal(key.length,24,"Invalid key length");var k1=key.slice(0,8);var k2=key.slice(8,16);var k3=key.slice(16,24);if(type==="encrypt"){this.ciphers=[DES.create({type:"encrypt",key:k1}),DES.create({type:"decrypt",key:k2}),DES.create({type:"encrypt",key:k3})]}else{this.ciphers=[DES.create({type:"decrypt",key:k3}),DES.create({type:"encrypt",key:k2}),DES.create({type:"decrypt",key:k1})]}}function EDE(options){Cipher.call(this,options);var state=new EDEState(this.type,this.options.key);this._edeState=state}inherits(EDE,Cipher);module.exports=EDE;EDE.create=function create(options){return new EDE(options)};EDE.prototype._update=function _update(inp,inOff,out,outOff){var state=this._edeState;state.ciphers[0]._update(inp,inOff,out,outOff);state.ciphers[1]._update(out,outOff,out,outOff);state.ciphers[2]._update(out,outOff,out,outOff)};EDE.prototype._pad=DES.prototype._pad;EDE.prototype._unpad=DES.prototype._unpad},{"./cipher":201,"./des":202,inherits:326,"minimalistic-assert":800}],204:[function(require,module,exports){"use strict";exports.readUInt32BE=function readUInt32BE(bytes,off){var res=bytes[0+off]<<24|bytes[1+off]<<16|bytes[2+off]<<8|bytes[3+off];return res>>>0};exports.writeUInt32BE=function writeUInt32BE(bytes,value,off){bytes[0+off]=value>>>24;bytes[1+off]=value>>>16&255;bytes[2+off]=value>>>8&255;bytes[3+off]=value&255};exports.ip=function ip(inL,inR,out,off){var outL=0;var outR=0;for(var i=6;i>=0;i-=2){for(var j=0;j<=24;j+=8){outL<<=1;outL|=inR>>>j+i&1}for(var j=0;j<=24;j+=8){outL<<=1;outL|=inL>>>j+i&1}}for(var i=6;i>=0;i-=2){for(var j=1;j<=25;j+=8){outR<<=1;outR|=inR>>>j+i&1}for(var j=1;j<=25;j+=8){outR<<=1;outR|=inL>>>j+i&1}}out[off+0]=outL>>>0;out[off+1]=outR>>>0};exports.rip=function rip(inL,inR,out,off){var outL=0;var outR=0;for(var i=0;i<4;i++){for(var j=24;j>=0;j-=8){outL<<=1;outL|=inR>>>j+i&1;outL<<=1;outL|=inL>>>j+i&1}}for(var i=4;i<8;i++){for(var j=24;j>=0;j-=8){outR<<=1;outR|=inR>>>j+i&1;outR<<=1;outR|=inL>>>j+i&1}}out[off+0]=outL>>>0;out[off+1]=outR>>>0};exports.pc1=function pc1(inL,inR,out,off){var outL=0;var outR=0;for(var i=7;i>=5;i--){for(var j=0;j<=24;j+=8){outL<<=1;outL|=inR>>j+i&1}for(var j=0;j<=24;j+=8){outL<<=1;outL|=inL>>j+i&1}}for(var j=0;j<=24;j+=8){outL<<=1;outL|=inR>>j+i&1}for(var i=1;i<=3;i++){for(var j=0;j<=24;j+=8){outR<<=1;outR|=inR>>j+i&1}for(var j=0;j<=24;j+=8){outR<<=1;outR|=inL>>j+i&1}}for(var j=0;j<=24;j+=8){outR<<=1;outR|=inL>>j+i&1}out[off+0]=outL>>>0;out[off+1]=outR>>>0};exports.r28shl=function r28shl(num,shift){return num<<shift&268435455|num>>>28-shift};var pc2table=[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];exports.pc2=function pc2(inL,inR,out,off){var outL=0;var outR=0;var len=pc2table.length>>>1;for(var i=0;i<len;i++){outL<<=1;outL|=inL>>>pc2table[i]&1}for(var i=len;i<pc2table.length;i++){outR<<=1;outR|=inR>>>pc2table[i]&1}out[off+0]=outL>>>0;out[off+1]=outR>>>0};exports.expand=function expand(r,out,off){var outL=0;var outR=0;outL=(r&1)<<5|r>>>27;for(var i=23;i>=15;i-=4){outL<<=6;outL|=r>>>i&63}for(var i=11;i>=3;i-=4){outR|=r>>>i&63;outR<<=6}outR|=(r&31)<<1|r>>>31;out[off+0]=outL>>>0;out[off+1]=outR>>>0};var sTable=[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];exports.substitute=function substitute(inL,inR){var out=0;for(var i=0;i<4;i++){var b=inL>>>18-i*6&63;var sb=sTable[i*64+b];out<<=4;out|=sb}for(var i=0;i<4;i++){var b=inR>>>18-i*6&63;var sb=sTable[4*64+i*64+b];out<<=4;out|=sb}return out>>>0};var permuteTable=[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];exports.permute=function permute(num){var out=0;for(var i=0;i<permuteTable.length;i++){out<<=1;out|=num>>>permuteTable[i]&1}return out>>>0};exports.padSplit=function padSplit(num,size,group){var str=num.toString(2);while(str.length<size)str="0"+str;var out=[];for(var i=0;i<size;i+=group)out.push(str.slice(i,i+group));return out.join(" ")}},{}],205:[function(require,module,exports){(function(Buffer){var generatePrime=require("./lib/generatePrime");var primes=require("./lib/primes.json");var DH=require("./lib/dh");function getDiffieHellman(mod){var prime=new Buffer(primes[mod].prime,"hex");var gen=new Buffer(primes[mod].gen,"hex");return new DH(prime,gen)}var ENCODINGS={binary:true,hex:true,base64:true};function createDiffieHellman(prime,enc,generator,genc){if(Buffer.isBuffer(enc)||ENCODINGS[enc]===undefined){return createDiffieHellman(prime,"binary",enc,generator)}enc=enc||"binary";genc=genc||"binary";generator=generator||new Buffer([2]);if(!Buffer.isBuffer(generator)){generator=new Buffer(generator,genc)}if(typeof prime==="number"){return new DH(generatePrime(prime,generator),generator,true)}if(!Buffer.isBuffer(prime)){prime=new Buffer(prime,enc)}return new DH(prime,generator,true)}exports.DiffieHellmanGroup=exports.createDiffieHellmanGroup=exports.getDiffieHellman=getDiffieHellman;exports.createDiffieHellman=exports.DiffieHellman=createDiffieHellman}).call(this,require("buffer").Buffer)},{"./lib/dh":206,"./lib/generatePrime":207,"./lib/primes.json":208,buffer:132}],206:[function(require,module,exports){(function(Buffer){var BN=require("bn.js");var MillerRabin=require("miller-rabin");var millerRabin=new MillerRabin;var TWENTYFOUR=new BN(24);var ELEVEN=new BN(11);var TEN=new BN(10);var THREE=new BN(3);var SEVEN=new BN(7);var primes=require("./generatePrime");var randomBytes=require("randombytes");module.exports=DH;function setPublicKey(pub,enc){enc=enc||"utf8";if(!Buffer.isBuffer(pub)){pub=new Buffer(pub,enc)}this._pub=new BN(pub);return this}function setPrivateKey(priv,enc){enc=enc||"utf8";if(!Buffer.isBuffer(priv)){priv=new Buffer(priv,enc)}this._priv=new BN(priv);return this}var primeCache={};function checkPrime(prime,generator){var gen=generator.toString("hex");var hex=[gen,prime.toString(16)].join("_");if(hex in primeCache){return primeCache[hex]}var error=0;if(prime.isEven()||!primes.simpleSieve||!primes.fermatTest(prime)||!millerRabin.test(prime)){error+=1;if(gen==="02"||gen==="05"){error+=8}else{error+=4}primeCache[hex]=error;return error}if(!millerRabin.test(prime.shrn(1))){error+=2}var rem;switch(gen){case"02":if(prime.mod(TWENTYFOUR).cmp(ELEVEN)){error+=8}break;case"05":rem=prime.mod(TEN);if(rem.cmp(THREE)&&rem.cmp(SEVEN)){error+=8}break;default:error+=4}primeCache[hex]=error;return error}function DH(prime,generator,malleable){this.setGenerator(generator);this.__prime=new BN(prime);this._prime=BN.mont(this.__prime);this._primeLen=prime.length;this._pub=undefined;this._priv=undefined;this._primeCode=undefined;if(malleable){this.setPublicKey=setPublicKey;this.setPrivateKey=setPrivateKey}else{this._primeCode=8}}Object.defineProperty(DH.prototype,"verifyError",{enumerable:true,get:function(){if(typeof this._primeCode!=="number"){this._primeCode=checkPrime(this.__prime,this.__gen)}return this._primeCode}});DH.prototype.generateKeys=function(){if(!this._priv){this._priv=new BN(randomBytes(this._primeLen))}this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed();return this.getPublicKey()};DH.prototype.computeSecret=function(other){other=new BN(other);other=other.toRed(this._prime);var secret=other.redPow(this._priv).fromRed();var out=new Buffer(secret.toArray());var prime=this.getPrime();if(out.length<prime.length){var front=new Buffer(prime.length-out.length);front.fill(0);out=Buffer.concat([front,out])}return out};DH.prototype.getPublicKey=function getPublicKey(enc){return formatReturnValue(this._pub,enc)};DH.prototype.getPrivateKey=function getPrivateKey(enc){return formatReturnValue(this._priv,enc)};DH.prototype.getPrime=function(enc){return formatReturnValue(this.__prime,enc)};DH.prototype.getGenerator=function(enc){return formatReturnValue(this._gen,enc)};DH.prototype.setGenerator=function(gen,enc){enc=enc||"utf8";if(!Buffer.isBuffer(gen)){gen=new Buffer(gen,enc)}this.__gen=gen;this._gen=new BN(gen);return this};function formatReturnValue(bn,enc){var buf=new Buffer(bn.toArray());if(!enc){return buf}else{return buf.toString(enc)}}}).call(this,require("buffer").Buffer)},{"./generatePrime":207,"bn.js":80,buffer:132,"miller-rabin":796,randombytes:872}],207:[function(require,module,exports){var randomBytes=require("randombytes");module.exports=findPrime;findPrime.simpleSieve=simpleSieve;findPrime.fermatTest=fermatTest;var BN=require("bn.js");var TWENTYFOUR=new BN(24);var MillerRabin=require("miller-rabin");var millerRabin=new MillerRabin;var ONE=new BN(1);var TWO=new BN(2);var FIVE=new BN(5);var SIXTEEN=new BN(16);var EIGHT=new BN(8);var TEN=new BN(10);var THREE=new BN(3);var SEVEN=new BN(7);var ELEVEN=new BN(11);var FOUR=new BN(4);var TWELVE=new BN(12);var primes=null;function _getPrimes(){if(primes!==null)return primes;var limit=1048576;var res=[];res[0]=2;for(var i=1,k=3;k<limit;k+=2){var sqrt=Math.ceil(Math.sqrt(k));for(var j=0;j<i&&res[j]<=sqrt;j++)if(k%res[j]===0)break;if(i!==j&&res[j]<=sqrt)continue;res[i++]=k}primes=res;return res}function simpleSieve(p){var primes=_getPrimes();for(var i=0;i<primes.length;i++)if(p.modn(primes[i])===0){if(p.cmpn(primes[i])===0){return true}else{return false}}return true}function fermatTest(p){var red=BN.mont(p);return TWO.toRed(red).redPow(p.subn(1)).fromRed().cmpn(1)===0}function findPrime(bits,gen){if(bits<16){if(gen===2||gen===5){return new BN([140,123])}else{return new BN([140,39])}}gen=new BN(gen);var num,n2;while(true){num=new BN(randomBytes(Math.ceil(bits/8)));while(num.bitLength()>bits){num.ishrn(1)}if(num.isEven()){num.iadd(ONE)}if(!num.testn(1)){num.iadd(TWO)}if(!gen.cmp(TWO)){while(num.mod(TWENTYFOUR).cmp(ELEVEN)){num.iadd(FOUR)}}else if(!gen.cmp(FIVE)){while(num.mod(TEN).cmp(THREE)){num.iadd(FOUR)}}n2=num.shrn(1);if(simpleSieve(n2)&&simpleSieve(num)&&fermatTest(n2)&&fermatTest(num)&&millerRabin.test(n2)&&millerRabin.test(num)){return num}}}},{"bn.js":80,"miller-rabin":796,randombytes:872}],208:[function(require,module,exports){module.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"}}},{}],209:[function(require,module,exports){"use strict";const legacyErrorCodes=require("./legacy-error-codes.json");const idlUtils=require("./utils.js");exports.implementation=class DOMExceptionImpl{constructor(globalObject,[message,name]){this.name=name;this.message=message}get code(){return legacyErrorCodes[this.name]||0}};exports.init=impl=>{if(Error.captureStackTrace){const wrapper=idlUtils.wrapperForImpl(impl);Error.captureStackTrace(wrapper,wrapper.constructor)}}},{"./legacy-error-codes.json":211,"./utils.js":212}],210:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const impl=utils.implSymbol;const ctorRegistry=utils.ctorRegistrySymbol;const iface={_mixedIntoPredicates:[],is(obj){if(obj){if(utils.hasOwn(obj,impl)&&obj[impl]instanceof Impl.implementation){return true}for(const isMixedInto of module.exports._mixedIntoPredicates){if(isMixedInto(obj)){return true}}}return false},isImpl(obj){if(obj){if(obj instanceof Impl.implementation){return true}const wrapper=utils.wrapperForImpl(obj);for(const isMixedInto of module.exports._mixedIntoPredicates){if(isMixedInto(wrapper)){return true}}}return false},convert(obj,{context:context="The provided value"}={}){if(module.exports.is(obj)){return utils.implForWrapper(obj)}throw new TypeError(`${context} is not of type 'DOMException'.`)},create(globalObject,constructorArgs,privateData){if(globalObject[ctorRegistry]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistry]["DOMException"];if(ctor===undefined){throw new Error("Internal error: constructor DOMException is not installed on the passed global object")}let obj=Object.create(ctor.prototype);obj=iface.setup(obj,globalObject,constructorArgs,privateData);return obj},createImpl(globalObject,constructorArgs,privateData){const obj=iface.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(obj)},_internalSetup(obj){},setup(obj,globalObject,constructorArgs=[],privateData={}){privateData.wrapper=obj;iface._internalSetup(obj);Object.defineProperty(obj,impl,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});obj[impl][utils.wrapperSymbol]=obj;if(Impl.init){Impl.init(obj[impl],privateData)}return obj},install(globalObject){class DOMException{constructor(){const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'DOMException': parameter 1"})}else{curArg=""}args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'DOMException': parameter 2"})}else{curArg="Error"}args.push(curArg)}return iface.setup(Object.create(new.target.prototype),globalObject,args)}get name(){if(!this||!module.exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["name"]}get message(){if(!this||!module.exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["message"]}get code(){if(!this||!module.exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["code"]}}Object.defineProperties(DOMException.prototype,{name:{enumerable:true},message:{enumerable:true},code:{enumerable:true},[Symbol.toStringTag]:{value:"DOMException",configurable:true},INDEX_SIZE_ERR:{value:1,enumerable:true},DOMSTRING_SIZE_ERR:{value:2,enumerable:true},HIERARCHY_REQUEST_ERR:{value:3,enumerable:true},WRONG_DOCUMENT_ERR:{value:4,enumerable:true},INVALID_CHARACTER_ERR:{value:5,enumerable:true},NO_DATA_ALLOWED_ERR:{value:6,enumerable:true},NO_MODIFICATION_ALLOWED_ERR:{value:7,enumerable:true},NOT_FOUND_ERR:{value:8,enumerable:true},NOT_SUPPORTED_ERR:{value:9,enumerable:true},INUSE_ATTRIBUTE_ERR:{value:10,enumerable:true},INVALID_STATE_ERR:{value:11,enumerable:true},SYNTAX_ERR:{value:12,enumerable:true},INVALID_MODIFICATION_ERR:{value:13,enumerable:true},NAMESPACE_ERR:{value:14,enumerable:true},INVALID_ACCESS_ERR:{value:15,enumerable:true},VALIDATION_ERR:{value:16,enumerable:true},TYPE_MISMATCH_ERR:{value:17,enumerable:true},SECURITY_ERR:{value:18,enumerable:true},NETWORK_ERR:{value:19,enumerable:true},ABORT_ERR:{value:20,enumerable:true},URL_MISMATCH_ERR:{value:21,enumerable:true},QUOTA_EXCEEDED_ERR:{value:22,enumerable:true},TIMEOUT_ERR:{value:23,enumerable:true},INVALID_NODE_TYPE_ERR:{value:24,enumerable:true},DATA_CLONE_ERR:{value:25,enumerable:true}});Object.defineProperties(DOMException,{INDEX_SIZE_ERR:{value:1,enumerable:true},DOMSTRING_SIZE_ERR:{value:2,enumerable:true},HIERARCHY_REQUEST_ERR:{value:3,enumerable:true},WRONG_DOCUMENT_ERR:{value:4,enumerable:true},INVALID_CHARACTER_ERR:{value:5,enumerable:true},NO_DATA_ALLOWED_ERR:{value:6,enumerable:true},NO_MODIFICATION_ALLOWED_ERR:{value:7,enumerable:true},NOT_FOUND_ERR:{value:8,enumerable:true},NOT_SUPPORTED_ERR:{value:9,enumerable:true},INUSE_ATTRIBUTE_ERR:{value:10,enumerable:true},INVALID_STATE_ERR:{value:11,enumerable:true},SYNTAX_ERR:{value:12,enumerable:true},INVALID_MODIFICATION_ERR:{value:13,enumerable:true},NAMESPACE_ERR:{value:14,enumerable:true},INVALID_ACCESS_ERR:{value:15,enumerable:true},VALIDATION_ERR:{value:16,enumerable:true},TYPE_MISMATCH_ERR:{value:17,enumerable:true},SECURITY_ERR:{value:18,enumerable:true},NETWORK_ERR:{value:19,enumerable:true},ABORT_ERR:{value:20,enumerable:true},URL_MISMATCH_ERR:{value:21,enumerable:true},QUOTA_EXCEEDED_ERR:{value:22,enumerable:true},TIMEOUT_ERR:{value:23,enumerable:true},INVALID_NODE_TYPE_ERR:{value:24,enumerable:true},DATA_CLONE_ERR:{value:25,enumerable:true}});if(globalObject[ctorRegistry]===undefined){globalObject[ctorRegistry]=Object.create(null)}globalObject[ctorRegistry]["DOMException"]=DOMException;Object.defineProperty(globalObject,"DOMException",{configurable:true,writable:true,value:DOMException})}};module.exports=iface;const Impl=require("./DOMException-impl.js")},{"./DOMException-impl.js":209,"./utils.js":212,"webidl-conversions":1016}],211:[function(require,module,exports){module.exports={IndexSizeError:1,DOMStringSizeError:2,HierarchyRequestError:3,WrongDocumentError:4,InvalidCharacterError:5,NoDataAllowedError:6,NoModificationAllowedError:7,NotFoundError:8,NotSupportedError:9,InUseAttributeError:10,InvalidStateError:11,SyntaxError:12,InvalidModificationError:13,NamespaceError:14,InvalidAccessError:15,ValidationError:16,TypeMismatchError:17,SecurityError:18,NetworkError:19,AbortError:20,URLMismatchError:21,QuotaExceededError:22,TimeoutError:23,InvalidNodeTypeError:24,DataCloneError:25}},{}],212:[function(require,module,exports){"use strict";function isObject(value){return typeof value==="object"&&value!==null||typeof value==="function"}function hasOwn(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}const wrapperSymbol=Symbol("wrapper");const implSymbol=Symbol("impl");const sameObjectCaches=Symbol("SameObject caches");const ctorRegistrySymbol=Symbol.for("[webidl2js] constructor registry");function getSameObject(wrapper,prop,creator){if(!wrapper[sameObjectCaches]){wrapper[sameObjectCaches]=Object.create(null)}if(prop in wrapper[sameObjectCaches]){return wrapper[sameObjectCaches][prop]}wrapper[sameObjectCaches][prop]=creator();return wrapper[sameObjectCaches][prop]}function wrapperForImpl(impl){return impl?impl[wrapperSymbol]:null}function implForWrapper(wrapper){return wrapper?wrapper[implSymbol]:null}function tryWrapperForImpl(impl){const wrapper=wrapperForImpl(impl);return wrapper?wrapper:impl}function tryImplForWrapper(wrapper){const impl=implForWrapper(wrapper);return impl?impl:wrapper}const iterInternalSymbol=Symbol("internal");const IteratorPrototype=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function isArrayIndexPropName(P){if(typeof P!=="string"){return false}const i=P>>>0;if(i===Math.pow(2,32)-1){return false}const s=`${i}`;if(P!==s){return false}return true}const byteLengthGetter=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;function isArrayBuffer(value){try{byteLengthGetter.call(value);return true}catch(e){return false}}const supportsPropertyIndex=Symbol("supports property index");const supportedPropertyIndices=Symbol("supported property indices");const supportsPropertyName=Symbol("supports property name");const supportedPropertyNames=Symbol("supported property names");const indexedGet=Symbol("indexed property get");const indexedSetNew=Symbol("indexed property set new");const indexedSetExisting=Symbol("indexed property set existing");const namedGet=Symbol("named property get");const namedSetNew=Symbol("named property set new");const namedSetExisting=Symbol("named property set existing");const namedDelete=Symbol("named property delete");module.exports=exports={isObject:isObject,hasOwn:hasOwn,wrapperSymbol:wrapperSymbol,implSymbol:implSymbol,getSameObject:getSameObject,ctorRegistrySymbol:ctorRegistrySymbol,wrapperForImpl:wrapperForImpl,implForWrapper:implForWrapper,tryWrapperForImpl:tryWrapperForImpl,tryImplForWrapper:tryImplForWrapper,iterInternalSymbol:iterInternalSymbol,IteratorPrototype:IteratorPrototype,isArrayBuffer:isArrayBuffer,isArrayIndexPropName:isArrayIndexPropName,supportsPropertyIndex:supportsPropertyIndex,supportedPropertyIndices:supportedPropertyIndices,supportsPropertyName:supportsPropertyName,supportedPropertyNames:supportedPropertyNames,indexedGet:indexedGet,indexedSetNew:indexedSetNew,indexedSetExisting:indexedSetExisting,namedGet:namedGet,namedSetNew:namedSetNew,namedSetExisting:namedSetExisting,namedDelete:namedDelete}},{}],213:[function(require,module,exports){"use strict";const DOMException=require("./lib/DOMException.js");function installOverride(globalObject){if(typeof globalObject.Error!=="function"){throw new Error("Internal error: Error constructor is not present on the given global object.")}DOMException.install(globalObject);Object.setPrototypeOf(globalObject.DOMException.prototype,globalObject.Error.prototype)}module.exports={...DOMException,install:installOverride}},{"./lib/DOMException.js":210}],214:[function(require,module,exports){var crypto=require("crypto");var BigInteger=require("jsbn").BigInteger;var ECPointFp=require("./lib/ec.js").ECPointFp;var Buffer=require("safer-buffer").Buffer;exports.ECCurves=require("./lib/sec.js");function unstupid(hex,len){return hex.length>=len?hex:unstupid("0"+hex,len)}exports.ECKey=function(curve,key,isPublic){var priv;var c=curve();var n=c.getN();var bytes=Math.floor(n.bitLength()/8);if(key){if(isPublic){var curve=c.getCurve();this.P=curve.decodePointHex(key.toString("hex"))}else{if(key.length!=bytes)return false;priv=new BigInteger(key.toString("hex"),16)}}else{var n1=n.subtract(BigInteger.ONE);var r=new BigInteger(crypto.randomBytes(n.bitLength()));priv=r.mod(n1).add(BigInteger.ONE);this.P=c.getG().multiply(priv)}if(this.P){this.PublicKey=Buffer.from(c.getCurve().encodeCompressedPointHex(this.P),"hex")}if(priv){this.PrivateKey=Buffer.from(unstupid(priv.toString(16),bytes*2),"hex");this.deriveSharedSecret=function(key){if(!key||!key.P)return false;var S=key.P.multiply(priv);return Buffer.from(unstupid(S.getX().toBigInteger().toString(16),bytes*2),"hex")}}}},{"./lib/ec.js":215,"./lib/sec.js":216,crypto:143,jsbn:333,"safer-buffer":908}],215:[function(require,module,exports){var BigInteger=require("jsbn").BigInteger;var Barrett=BigInteger.prototype.Barrett;function ECFieldElementFp(q,x){this.x=x;this.q=q}function feFpEquals(other){if(other==this)return true;return this.q.equals(other.q)&&this.x.equals(other.x)}function feFpToBigInteger(){return this.x}function feFpNegate(){return new ECFieldElementFp(this.q,this.x.negate().mod(this.q))}function feFpAdd(b){return new ECFieldElementFp(this.q,this.x.add(b.toBigInteger()).mod(this.q))}function feFpSubtract(b){return new ECFieldElementFp(this.q,this.x.subtract(b.toBigInteger()).mod(this.q))}function feFpMultiply(b){return new ECFieldElementFp(this.q,this.x.multiply(b.toBigInteger()).mod(this.q))}function feFpSquare(){return new ECFieldElementFp(this.q,this.x.square().mod(this.q))}function feFpDivide(b){return new ECFieldElementFp(this.q,this.x.multiply(b.toBigInteger().modInverse(this.q)).mod(this.q))}ECFieldElementFp.prototype.equals=feFpEquals;ECFieldElementFp.prototype.toBigInteger=feFpToBigInteger;ECFieldElementFp.prototype.negate=feFpNegate;ECFieldElementFp.prototype.add=feFpAdd;ECFieldElementFp.prototype.subtract=feFpSubtract;ECFieldElementFp.prototype.multiply=feFpMultiply;ECFieldElementFp.prototype.square=feFpSquare;ECFieldElementFp.prototype.divide=feFpDivide;function ECPointFp(curve,x,y,z){this.curve=curve;this.x=x;this.y=y;if(z==null){this.z=BigInteger.ONE}else{this.z=z}this.zinv=null}function pointFpGetX(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var r=this.x.toBigInteger().multiply(this.zinv);this.curve.reduce(r);return this.curve.fromBigInteger(r)}function pointFpGetY(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var r=this.y.toBigInteger().multiply(this.zinv);this.curve.reduce(r);return this.curve.fromBigInteger(r)}function pointFpEquals(other){if(other==this)return true;if(this.isInfinity())return other.isInfinity();if(other.isInfinity())return this.isInfinity();var u,v;u=other.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(other.z)).mod(this.curve.q);if(!u.equals(BigInteger.ZERO))return false;v=other.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(other.z)).mod(this.curve.q);return v.equals(BigInteger.ZERO)}function pointFpIsInfinity(){if(this.x==null&&this.y==null)return true;return this.z.equals(BigInteger.ZERO)&&!this.y.toBigInteger().equals(BigInteger.ZERO)}function pointFpNegate(){return new ECPointFp(this.curve,this.x,this.y.negate(),this.z)}function pointFpAdd(b){if(this.isInfinity())return b;if(b.isInfinity())return this;var u=b.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(b.z)).mod(this.curve.q);var v=b.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(b.z)).mod(this.curve.q);if(BigInteger.ZERO.equals(v)){if(BigInteger.ZERO.equals(u)){return this.twice()}return this.curve.getInfinity()}var THREE=new BigInteger("3");var x1=this.x.toBigInteger();var y1=this.y.toBigInteger();var x2=b.x.toBigInteger();var y2=b.y.toBigInteger();var v2=v.square();var v3=v2.multiply(v);var x1v2=x1.multiply(v2);var zu2=u.square().multiply(this.z);var x3=zu2.subtract(x1v2.shiftLeft(1)).multiply(b.z).subtract(v3).multiply(v).mod(this.curve.q);var y3=x1v2.multiply(THREE).multiply(u).subtract(y1.multiply(v3)).subtract(zu2.multiply(u)).multiply(b.z).add(u.multiply(v3)).mod(this.curve.q);var z3=v3.multiply(this.z).multiply(b.z).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(x3),this.curve.fromBigInteger(y3),z3)}function pointFpTwice(){if(this.isInfinity())return this;if(this.y.toBigInteger().signum()==0)return this.curve.getInfinity();var THREE=new BigInteger("3");var x1=this.x.toBigInteger();var y1=this.y.toBigInteger();var y1z1=y1.multiply(this.z);var y1sqz1=y1z1.multiply(y1).mod(this.curve.q);var a=this.curve.a.toBigInteger();var w=x1.square().multiply(THREE);if(!BigInteger.ZERO.equals(a)){w=w.add(this.z.square().multiply(a))}w=w.mod(this.curve.q);var x3=w.square().subtract(x1.shiftLeft(3).multiply(y1sqz1)).shiftLeft(1).multiply(y1z1).mod(this.curve.q);var y3=w.multiply(THREE).multiply(x1).subtract(y1sqz1.shiftLeft(1)).shiftLeft(2).multiply(y1sqz1).subtract(w.square().multiply(w)).mod(this.curve.q);var z3=y1z1.square().multiply(y1z1).shiftLeft(3).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(x3),this.curve.fromBigInteger(y3),z3)}function pointFpMultiply(k){if(this.isInfinity())return this;if(k.signum()==0)return this.curve.getInfinity();var e=k;var h=e.multiply(new BigInteger("3"));var neg=this.negate();var R=this;var i;for(i=h.bitLength()-2;i>0;--i){R=R.twice();var hBit=h.testBit(i);var eBit=e.testBit(i);if(hBit!=eBit){R=R.add(hBit?this:neg)}}return R}function pointFpMultiplyTwo(j,x,k){var i;if(j.bitLength()>k.bitLength())i=j.bitLength()-1;else i=k.bitLength()-1;var R=this.curve.getInfinity();var both=this.add(x);while(i>=0){R=R.twice();if(j.testBit(i)){if(k.testBit(i)){R=R.add(both)}else{R=R.add(this)}}else{if(k.testBit(i)){R=R.add(x)}}--i}return R}ECPointFp.prototype.getX=pointFpGetX;ECPointFp.prototype.getY=pointFpGetY;ECPointFp.prototype.equals=pointFpEquals;ECPointFp.prototype.isInfinity=pointFpIsInfinity;ECPointFp.prototype.negate=pointFpNegate;ECPointFp.prototype.add=pointFpAdd;ECPointFp.prototype.twice=pointFpTwice;ECPointFp.prototype.multiply=pointFpMultiply;ECPointFp.prototype.multiplyTwo=pointFpMultiplyTwo;function ECCurveFp(q,a,b){this.q=q;this.a=this.fromBigInteger(a);this.b=this.fromBigInteger(b);this.infinity=new ECPointFp(this,null,null);this.reducer=new Barrett(this.q)}function curveFpGetQ(){return this.q}function curveFpGetA(){return this.a}function curveFpGetB(){return this.b}function curveFpEquals(other){if(other==this)return true;return this.q.equals(other.q)&&this.a.equals(other.a)&&this.b.equals(other.b)}function curveFpGetInfinity(){return this.infinity}function curveFpFromBigInteger(x){return new ECFieldElementFp(this.q,x)}function curveReduce(x){this.reducer.reduce(x)}function curveFpDecodePointHex(s){switch(parseInt(s.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var len=(s.length-2)/2;var xHex=s.substr(2,len);var yHex=s.substr(len+2,len);return new ECPointFp(this,this.fromBigInteger(new BigInteger(xHex,16)),this.fromBigInteger(new BigInteger(yHex,16)));default:return null}}function curveFpEncodePointHex(p){if(p.isInfinity())return"00";var xHex=p.getX().toBigInteger().toString(16);var yHex=p.getY().toBigInteger().toString(16);var oLen=this.getQ().toString(16).length;if(oLen%2!=0)oLen++;while(xHex.length<oLen){xHex="0"+xHex}while(yHex.length<oLen){yHex="0"+yHex}return"04"+xHex+yHex}ECCurveFp.prototype.getQ=curveFpGetQ;ECCurveFp.prototype.getA=curveFpGetA;ECCurveFp.prototype.getB=curveFpGetB;ECCurveFp.prototype.equals=curveFpEquals;ECCurveFp.prototype.getInfinity=curveFpGetInfinity;ECCurveFp.prototype.fromBigInteger=curveFpFromBigInteger;ECCurveFp.prototype.reduce=curveReduce;ECCurveFp.prototype.encodePointHex=curveFpEncodePointHex;ECCurveFp.prototype.decodePointHex=function(s){var yIsEven;switch(parseInt(s.substr(0,2),16)){case 0:return this.infinity;case 2:yIsEven=false;case 3:if(yIsEven==undefined)yIsEven=true;var len=s.length-2;var xHex=s.substr(2,len);var x=this.fromBigInteger(new BigInteger(xHex,16));var alpha=x.multiply(x.square().add(this.getA())).add(this.getB());var beta=alpha.sqrt();if(beta==null)throw"Invalid point compression";var betaValue=beta.toBigInteger();if(betaValue.testBit(0)!=yIsEven){beta=this.fromBigInteger(this.getQ().subtract(betaValue))}return new ECPointFp(this,x,beta);case 4:case 6:case 7:var len=(s.length-2)/2;var xHex=s.substr(2,len);var yHex=s.substr(len+2,len);return new ECPointFp(this,this.fromBigInteger(new BigInteger(xHex,16)),this.fromBigInteger(new BigInteger(yHex,16)));default:return null}};ECCurveFp.prototype.encodeCompressedPointHex=function(p){if(p.isInfinity())return"00";var xHex=p.getX().toBigInteger().toString(16);var oLen=this.getQ().toString(16).length;if(oLen%2!=0)oLen++;while(xHex.length<oLen)xHex="0"+xHex;var yPrefix;if(p.getY().toBigInteger().isEven())yPrefix="02";else yPrefix="03";return yPrefix+xHex};ECFieldElementFp.prototype.getR=function(){if(this.r!=undefined)return this.r;this.r=null;var bitLength=this.q.bitLength();if(bitLength>128){var firstWord=this.q.shiftRight(bitLength-64);if(firstWord.intValue()==-1){this.r=BigInteger.ONE.shiftLeft(bitLength).subtract(this.q)}}return this.r};ECFieldElementFp.prototype.modMult=function(x1,x2){return this.modReduce(x1.multiply(x2))};ECFieldElementFp.prototype.modReduce=function(x){if(this.getR()!=null){var qLen=q.bitLength();while(x.bitLength()>qLen+1){var u=x.shiftRight(qLen);var v=x.subtract(u.shiftLeft(qLen));if(!this.getR().equals(BigInteger.ONE)){u=u.multiply(this.getR())}x=u.add(v)}while(x.compareTo(q)>=0){x=x.subtract(q)}}else{x=x.mod(q)}return x};ECFieldElementFp.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var z=new ECFieldElementFp(this.q,this.x.modPow(this.q.shiftRight(2).add(BigInteger.ONE),this.q));return z.square().equals(this)?z:null}var qMinusOne=this.q.subtract(BigInteger.ONE);var legendreExponent=qMinusOne.shiftRight(1);if(!this.x.modPow(legendreExponent,this.q).equals(BigInteger.ONE)){return null}var u=qMinusOne.shiftRight(2);var k=u.shiftLeft(1).add(BigInteger.ONE);var Q=this.x;var fourQ=modDouble(modDouble(Q));var U,V;do{var P;do{P=new BigInteger(this.q.bitLength(),new SecureRandom)}while(P.compareTo(this.q)>=0||!P.multiply(P).subtract(fourQ).modPow(legendreExponent,this.q).equals(qMinusOne));var result=this.lucasSequence(P,Q,k);U=result[0];V=result[1];if(this.modMult(V,V).equals(fourQ)){if(V.testBit(0)){V=V.add(q)}V=V.shiftRight(1);return new ECFieldElementFp(q,V)}}while(U.equals(BigInteger.ONE)||U.equals(qMinusOne));return null};ECFieldElementFp.prototype.lucasSequence=function(P,Q,k){var n=k.bitLength();var s=k.getLowestSetBit();var Uh=BigInteger.ONE;var Vl=BigInteger.TWO;var Vh=P;var Ql=BigInteger.ONE;var Qh=BigInteger.ONE;for(var j=n-1;j>=s+1;--j){Ql=this.modMult(Ql,Qh);if(k.testBit(j)){Qh=this.modMult(Ql,Q);Uh=this.modMult(Uh,Vh);Vl=this.modReduce(Vh.multiply(Vl).subtract(P.multiply(Ql)));Vh=this.modReduce(Vh.multiply(Vh).subtract(Qh.shiftLeft(1)))}else{Qh=Ql;Uh=this.modReduce(Uh.multiply(Vl).subtract(Ql));Vh=this.modReduce(Vh.multiply(Vl).subtract(P.multiply(Ql)));Vl=this.modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1)))}}Ql=this.modMult(Ql,Qh);Qh=this.modMult(Ql,Q);Uh=this.modReduce(Uh.multiply(Vl).subtract(Ql));Vl=this.modReduce(Vh.multiply(Vl).subtract(P.multiply(Ql)));Ql=this.modMult(Ql,Qh);for(var j=1;j<=s;++j){Uh=this.modMult(Uh,Vl);Vl=this.modReduce(Vl.multiply(Vl).subtract(Ql.shiftLeft(1)));Ql=this.modMult(Ql,Ql)}return[Uh,Vl]};var exports={ECCurveFp:ECCurveFp,ECPointFp:ECPointFp,ECFieldElementFp:ECFieldElementFp};module.exports=exports},{jsbn:333}],216:[function(require,module,exports){var BigInteger=require("jsbn").BigInteger;var ECCurveFp=require("./ec.js").ECCurveFp;function X9ECParameters(curve,g,n,h){this.curve=curve;this.g=g;this.n=n;this.h=h}function x9getCurve(){return this.curve}function x9getG(){return this.g}function x9getN(){return this.n}function x9getH(){return this.h}X9ECParameters.prototype.getCurve=x9getCurve;X9ECParameters.prototype.getG=x9getG;X9ECParameters.prototype.getN=x9getN;X9ECParameters.prototype.getH=x9getH;function fromHex(s){return new BigInteger(s,16)}function secp128r1(){var p=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");var a=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC");var b=fromHex("E87579C11079F43DD824993C2CEE5ED3");var n=fromHex("FFFFFFFE0000000075A30D1B9038A115");var h=BigInteger.ONE;var curve=new ECCurveFp(p,a,b);var G=curve.decodePointHex("04"+"161FF7528B899B2D0C28607CA52C5B86"+"CF5AC8395BAFEB13C02DA292DDED7A83");return new X9ECParameters(curve,G,n,h)}function secp160k1(){var p=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73");var a=BigInteger.ZERO;var b=fromHex("7");var n=fromHex("0100000000000000000001B8FA16DFAB9ACA16B6B3");var h=BigInteger.ONE;var curve=new ECCurveFp(p,a,b);var G=curve.decodePointHex("04"+"3B4C382CE37AA192A4019E763036F4F5DD4D7EBB"+"938CF935318FDCED6BC28286531733C3F03C4FEE");return new X9ECParameters(curve,G,n,h)}function secp160r1(){var p=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF");var a=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC");var b=fromHex("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45");var n=fromHex("0100000000000000000001F4C8F927AED3CA752257");var h=BigInteger.ONE;var curve=new ECCurveFp(p,a,b);var G=curve.decodePointHex("04"+"4A96B5688EF573284664698968C38BB913CBFC82"+"23A628553168947D59DCC912042351377AC5FB32");return new X9ECParameters(curve,G,n,h)}function secp192k1(){var p=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37");var a=BigInteger.ZERO;var b=fromHex("3");var n=fromHex("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D");var h=BigInteger.ONE;var curve=new ECCurveFp(p,a,b);var G=curve.decodePointHex("04"+"DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D"+"9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D");return new X9ECParameters(curve,G,n,h)}function secp192r1(){var p=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF");var a=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC");var b=fromHex("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1");var n=fromHex("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831");var h=BigInteger.ONE;var curve=new ECCurveFp(p,a,b);var G=curve.decodePointHex("04"+"188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012"+"07192B95FFC8DA78631011ED6B24CDD573F977A11E794811");return new X9ECParameters(curve,G,n,h)}function secp224r1(){var p=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001");var a=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE");var b=fromHex("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4");var n=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D");var h=BigInteger.ONE;var curve=new ECCurveFp(p,a,b);var G=curve.decodePointHex("04"+"B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21"+"BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34");return new X9ECParameters(curve,G,n,h)}function secp256r1(){var p=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF");var a=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC");var b=fromHex("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B");var n=fromHex("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551");var h=BigInteger.ONE;var curve=new ECCurveFp(p,a,b);var G=curve.decodePointHex("04"+"6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296"+"4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5");return new X9ECParameters(curve,G,n,h)}function getSECCurveByName(name){if(name=="secp128r1")return secp128r1();if(name=="secp160k1")return secp160k1();if(name=="secp160r1")return secp160r1();if(name=="secp192k1")return secp192k1();if(name=="secp192r1")return secp192r1();if(name=="secp224r1")return secp224r1();if(name=="secp256r1")return secp256r1();return null}module.exports={secp128r1:secp128r1,secp160k1:secp160k1,secp160r1:secp160r1,secp192k1:secp192k1,secp192r1:secp192r1,secp224r1:secp224r1,secp256r1:secp256r1}},{"./ec.js":215,jsbn:333}],217:[function(require,module,exports){"use strict";var elliptic=exports;elliptic.version=require("../package.json").version;elliptic.utils=require("./elliptic/utils");elliptic.rand=require("brorand");elliptic.curve=require("./elliptic/curve");elliptic.curves=require("./elliptic/curves");elliptic.ec=require("./elliptic/ec");elliptic.eddsa=require("./elliptic/eddsa")},{"../package.json":232,"./elliptic/curve":220,"./elliptic/curves":223,"./elliptic/ec":224,"./elliptic/eddsa":227,"./elliptic/utils":231,brorand:81}],218:[function(require,module,exports){"use strict";var BN=require("bn.js");var utils=require("../utils");var getNAF=utils.getNAF;var getJSF=utils.getJSF;var assert=utils.assert;function BaseCurve(type,conf){this.type=type;this.p=new BN(conf.p,16);this.red=conf.prime?BN.red(conf.prime):BN.mont(this.p);this.zero=new BN(0).toRed(this.red);this.one=new BN(1).toRed(this.red);this.two=new BN(2).toRed(this.red);this.n=conf.n&&new BN(conf.n,16);this.g=conf.g&&this.pointFromJSON(conf.g,conf.gRed);this._wnafT1=new Array(4);this._wnafT2=new Array(4);this._wnafT3=new Array(4);this._wnafT4=new Array(4);this._bitLength=this.n?this.n.bitLength():0;var adjustCount=this.n&&this.p.div(this.n);if(!adjustCount||adjustCount.cmpn(100)>0){this.redN=null}else{this._maxwellTrick=true;this.redN=this.n.toRed(this.red)}}module.exports=BaseCurve;BaseCurve.prototype.point=function point(){throw new Error("Not implemented")};BaseCurve.prototype.validate=function validate(){throw new Error("Not implemented")};BaseCurve.prototype._fixedNafMul=function _fixedNafMul(p,k){assert(p.precomputed);var doubles=p._getDoubles();var naf=getNAF(k,1,this._bitLength);var I=(1<<doubles.step+1)-(doubles.step%2===0?2:1);I/=3;var repr=[];for(var j=0;j<naf.length;j+=doubles.step){var nafW=0;for(var k=j+doubles.step-1;k>=j;k--)nafW=(nafW<<1)+naf[k];repr.push(nafW)}var a=this.jpoint(null,null,null);var b=this.jpoint(null,null,null);for(var i=I;i>0;i--){for(var j=0;j<repr.length;j++){var nafW=repr[j];if(nafW===i)b=b.mixedAdd(doubles.points[j]);else if(nafW===-i)b=b.mixedAdd(doubles.points[j].neg())}a=a.add(b)}return a.toP()};BaseCurve.prototype._wnafMul=function _wnafMul(p,k){var w=4;var nafPoints=p._getNAFPoints(w);w=nafPoints.wnd;var wnd=nafPoints.points;var naf=getNAF(k,w,this._bitLength);var acc=this.jpoint(null,null,null);for(var i=naf.length-1;i>=0;i--){for(var k=0;i>=0&&naf[i]===0;i--)k++;if(i>=0)k++;acc=acc.dblp(k);if(i<0)break;var z=naf[i];assert(z!==0);if(p.type==="affine"){if(z>0)acc=acc.mixedAdd(wnd[z-1>>1]);else acc=acc.mixedAdd(wnd[-z-1>>1].neg())}else{if(z>0)acc=acc.add(wnd[z-1>>1]);else acc=acc.add(wnd[-z-1>>1].neg())}}return p.type==="affine"?acc.toP():acc};BaseCurve.prototype._wnafMulAdd=function _wnafMulAdd(defW,points,coeffs,len,jacobianResult){var wndWidth=this._wnafT1;var wnd=this._wnafT2;var naf=this._wnafT3;var max=0;for(var i=0;i<len;i++){var p=points[i];var nafPoints=p._getNAFPoints(defW);wndWidth[i]=nafPoints.wnd;wnd[i]=nafPoints.points}for(var i=len-1;i>=1;i-=2){var a=i-1;var b=i;if(wndWidth[a]!==1||wndWidth[b]!==1){naf[a]=getNAF(coeffs[a],wndWidth[a],this._bitLength);naf[b]=getNAF(coeffs[b],wndWidth[b],this._bitLength);max=Math.max(naf[a].length,max);max=Math.max(naf[b].length,max);continue}var comb=[points[a],null,null,points[b]];if(points[a].y.cmp(points[b].y)===0){comb[1]=points[a].add(points[b]);comb[2]=points[a].toJ().mixedAdd(points[b].neg())}else if(points[a].y.cmp(points[b].y.redNeg())===0){comb[1]=points[a].toJ().mixedAdd(points[b]);comb[2]=points[a].add(points[b].neg())}else{comb[1]=points[a].toJ().mixedAdd(points[b]);comb[2]=points[a].toJ().mixedAdd(points[b].neg())}var index=[-3,-1,-5,-7,0,7,5,1,3];var jsf=getJSF(coeffs[a],coeffs[b]);max=Math.max(jsf[0].length,max);naf[a]=new Array(max);naf[b]=new Array(max);for(var j=0;j<max;j++){var ja=jsf[0][j]|0;var jb=jsf[1][j]|0;naf[a][j]=index[(ja+1)*3+(jb+1)];naf[b][j]=0;wnd[a]=comb}}var acc=this.jpoint(null,null,null);var tmp=this._wnafT4;for(var i=max;i>=0;i--){var k=0;while(i>=0){var zero=true;for(var j=0;j<len;j++){tmp[j]=naf[j][i]|0;if(tmp[j]!==0)zero=false}if(!zero)break;k++;i--}if(i>=0)k++;acc=acc.dblp(k);if(i<0)break;for(var j=0;j<len;j++){var z=tmp[j];var p;if(z===0)continue;else if(z>0)p=wnd[j][z-1>>1];else if(z<0)p=wnd[j][-z-1>>1].neg();if(p.type==="affine")acc=acc.mixedAdd(p);else acc=acc.add(p)}}for(var i=0;i<len;i++)wnd[i]=null;if(jacobianResult)return acc;else return acc.toP()};function BasePoint(curve,type){this.curve=curve;this.type=type;this.precomputed=null}BaseCurve.BasePoint=BasePoint;BasePoint.prototype.eq=function eq(){throw new Error("Not implemented")};BasePoint.prototype.validate=function validate(){return this.curve.validate(this)};BaseCurve.prototype.decodePoint=function decodePoint(bytes,enc){bytes=utils.toArray(bytes,enc);var len=this.p.byteLength();if((bytes[0]===4||bytes[0]===6||bytes[0]===7)&&bytes.length-1===2*len){if(bytes[0]===6)assert(bytes[bytes.length-1]%2===0);else if(bytes[0]===7)assert(bytes[bytes.length-1]%2===1);var res=this.point(bytes.slice(1,1+len),bytes.slice(1+len,1+2*len));return res}else if((bytes[0]===2||bytes[0]===3)&&bytes.length-1===len){return this.pointFromX(bytes.slice(1,1+len),bytes[0]===3)}throw new Error("Unknown point format")};BasePoint.prototype.encodeCompressed=function encodeCompressed(enc){return this.encode(enc,true)};BasePoint.prototype._encode=function _encode(compact){var len=this.curve.p.byteLength();var x=this.getX().toArray("be",len);if(compact)return[this.getY().isEven()?2:3].concat(x);return[4].concat(x,this.getY().toArray("be",len))};BasePoint.prototype.encode=function encode(enc,compact){return utils.encode(this._encode(compact),enc)};BasePoint.prototype.precompute=function precompute(power){if(this.precomputed)return this;var precomputed={doubles:null,naf:null,beta:null};precomputed.naf=this._getNAFPoints(8);precomputed.doubles=this._getDoubles(4,power);precomputed.beta=this._getBeta();this.precomputed=precomputed;return this};BasePoint.prototype._hasDoubles=function _hasDoubles(k){if(!this.precomputed)return false;var doubles=this.precomputed.doubles;if(!doubles)return false;return doubles.points.length>=Math.ceil((k.bitLength()+1)/doubles.step)};BasePoint.prototype._getDoubles=function _getDoubles(step,power){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;var doubles=[this];var acc=this;for(var i=0;i<power;i+=step){for(var j=0;j<step;j++)acc=acc.dbl();doubles.push(acc)}return{step:step,points:doubles}};BasePoint.prototype._getNAFPoints=function _getNAFPoints(wnd){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;var res=[this];var max=(1<<wnd)-1;var dbl=max===1?null:this.dbl();for(var i=1;i<max;i++)res[i]=res[i-1].add(dbl);return{wnd:wnd,points:res}};BasePoint.prototype._getBeta=function _getBeta(){return null};BasePoint.prototype.dblp=function dblp(k){var r=this;for(var i=0;i<k;i++)r=r.dbl();return r}},{"../utils":231,"bn.js":80}],219:[function(require,module,exports){"use strict";var utils=require("../utils");var BN=require("bn.js");var inherits=require("inherits");var Base=require("./base");var assert=utils.assert;function EdwardsCurve(conf){this.twisted=(conf.a|0)!==1;this.mOneA=this.twisted&&(conf.a|0)===-1;this.extended=this.mOneA;Base.call(this,"edwards",conf);this.a=new BN(conf.a,16).umod(this.red.m);this.a=this.a.toRed(this.red);this.c=new BN(conf.c,16).toRed(this.red);this.c2=this.c.redSqr();this.d=new BN(conf.d,16).toRed(this.red);this.dd=this.d.redAdd(this.d);assert(!this.twisted||this.c.fromRed().cmpn(1)===0);this.oneC=(conf.c|0)===1}inherits(EdwardsCurve,Base);module.exports=EdwardsCurve;EdwardsCurve.prototype._mulA=function _mulA(num){if(this.mOneA)return num.redNeg();else return this.a.redMul(num)};EdwardsCurve.prototype._mulC=function _mulC(num){if(this.oneC)return num;else return this.c.redMul(num)};EdwardsCurve.prototype.jpoint=function jpoint(x,y,z,t){return this.point(x,y,z,t)};EdwardsCurve.prototype.pointFromX=function pointFromX(x,odd){x=new BN(x,16);if(!x.red)x=x.toRed(this.red);var x2=x.redSqr();var rhs=this.c2.redSub(this.a.redMul(x2));var lhs=this.one.redSub(this.c2.redMul(this.d).redMul(x2));var y2=rhs.redMul(lhs.redInvm());var y=y2.redSqrt();if(y.redSqr().redSub(y2).cmp(this.zero)!==0)throw new Error("invalid point");var isOdd=y.fromRed().isOdd();if(odd&&!isOdd||!odd&&isOdd)y=y.redNeg();return this.point(x,y)};EdwardsCurve.prototype.pointFromY=function pointFromY(y,odd){y=new BN(y,16);if(!y.red)y=y.toRed(this.red);var y2=y.redSqr();var lhs=y2.redSub(this.c2);var rhs=y2.redMul(this.d).redMul(this.c2).redSub(this.a);var x2=lhs.redMul(rhs.redInvm());if(x2.cmp(this.zero)===0){if(odd)throw new Error("invalid point");else return this.point(this.zero,y)}var x=x2.redSqrt();if(x.redSqr().redSub(x2).cmp(this.zero)!==0)throw new Error("invalid point");if(x.fromRed().isOdd()!==odd)x=x.redNeg();return this.point(x,y)};EdwardsCurve.prototype.validate=function validate(point){if(point.isInfinity())return true;point.normalize();var x2=point.x.redSqr();var y2=point.y.redSqr();var lhs=x2.redMul(this.a).redAdd(y2);var rhs=this.c2.redMul(this.one.redAdd(this.d.redMul(x2).redMul(y2)));return lhs.cmp(rhs)===0};function Point(curve,x,y,z,t){Base.BasePoint.call(this,curve,"projective");if(x===null&&y===null&&z===null){this.x=this.curve.zero;this.y=this.curve.one;this.z=this.curve.one;this.t=this.curve.zero;this.zOne=true}else{this.x=new BN(x,16);this.y=new BN(y,16);this.z=z?new BN(z,16):this.curve.one;this.t=t&&new BN(t,16);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);if(this.t&&!this.t.red)this.t=this.t.toRed(this.curve.red);this.zOne=this.z===this.curve.one;if(this.curve.extended&&!this.t){this.t=this.x.redMul(this.y);if(!this.zOne)this.t=this.t.redMul(this.z.redInvm())}}}inherits(Point,Base.BasePoint);EdwardsCurve.prototype.pointFromJSON=function pointFromJSON(obj){return Point.fromJSON(this,obj)};EdwardsCurve.prototype.point=function point(x,y,z,t){return new Point(this,x,y,z,t)};Point.fromJSON=function fromJSON(curve,obj){return new Point(curve,obj[0],obj[1],obj[2])};Point.prototype.inspect=function inspect(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"};Point.prototype.isInfinity=function isInfinity(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)};Point.prototype._extDbl=function _extDbl(){var a=this.x.redSqr();var b=this.y.redSqr();var c=this.z.redSqr();c=c.redIAdd(c);var d=this.curve._mulA(a);var e=this.x.redAdd(this.y).redSqr().redISub(a).redISub(b);var g=d.redAdd(b);var f=g.redSub(c);var h=d.redSub(b);var nx=e.redMul(f);var ny=g.redMul(h);var nt=e.redMul(h);var nz=f.redMul(g);return this.curve.point(nx,ny,nz,nt)};Point.prototype._projDbl=function _projDbl(){var b=this.x.redAdd(this.y).redSqr();var c=this.x.redSqr();var d=this.y.redSqr();var nx;var ny;var nz;if(this.curve.twisted){var e=this.curve._mulA(c);var f=e.redAdd(d);if(this.zOne){nx=b.redSub(c).redSub(d).redMul(f.redSub(this.curve.two));ny=f.redMul(e.redSub(d));nz=f.redSqr().redSub(f).redSub(f)}else{var h=this.z.redSqr();var j=f.redSub(h).redISub(h);nx=b.redSub(c).redISub(d).redMul(j);ny=f.redMul(e.redSub(d));nz=f.redMul(j)}}else{var e=c.redAdd(d);var h=this.curve._mulC(this.z).redSqr();var j=e.redSub(h).redSub(h);nx=this.curve._mulC(b.redISub(e)).redMul(j);ny=this.curve._mulC(e).redMul(c.redISub(d));nz=e.redMul(j)}return this.curve.point(nx,ny,nz)};Point.prototype.dbl=function dbl(){if(this.isInfinity())return this;if(this.curve.extended)return this._extDbl();else return this._projDbl()};Point.prototype._extAdd=function _extAdd(p){var a=this.y.redSub(this.x).redMul(p.y.redSub(p.x));var b=this.y.redAdd(this.x).redMul(p.y.redAdd(p.x));var c=this.t.redMul(this.curve.dd).redMul(p.t);var d=this.z.redMul(p.z.redAdd(p.z));var e=b.redSub(a);var f=d.redSub(c);var g=d.redAdd(c);var h=b.redAdd(a);var nx=e.redMul(f);var ny=g.redMul(h);var nt=e.redMul(h);var nz=f.redMul(g);return this.curve.point(nx,ny,nz,nt)};Point.prototype._projAdd=function _projAdd(p){var a=this.z.redMul(p.z);var b=a.redSqr();var c=this.x.redMul(p.x);var d=this.y.redMul(p.y);var e=this.curve.d.redMul(c).redMul(d);var f=b.redSub(e);var g=b.redAdd(e);var tmp=this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(c).redISub(d);var nx=a.redMul(f).redMul(tmp);var ny;var nz;if(this.curve.twisted){ny=a.redMul(g).redMul(d.redSub(this.curve._mulA(c)));nz=f.redMul(g)}else{ny=a.redMul(g).redMul(d.redSub(c));nz=this.curve._mulC(f).redMul(g)}return this.curve.point(nx,ny,nz)};Point.prototype.add=function add(p){if(this.isInfinity())return p;if(p.isInfinity())return this;if(this.curve.extended)return this._extAdd(p);else return this._projAdd(p)};Point.prototype.mul=function mul(k){if(this._hasDoubles(k))return this.curve._fixedNafMul(this,k);else return this.curve._wnafMul(this,k)};Point.prototype.mulAdd=function mulAdd(k1,p,k2){return this.curve._wnafMulAdd(1,[this,p],[k1,k2],2,false)};Point.prototype.jmulAdd=function jmulAdd(k1,p,k2){return this.curve._wnafMulAdd(1,[this,p],[k1,k2],2,true)};Point.prototype.normalize=function normalize(){if(this.zOne)return this;var zi=this.z.redInvm();this.x=this.x.redMul(zi);this.y=this.y.redMul(zi);if(this.t)this.t=this.t.redMul(zi);this.z=this.curve.one;this.zOne=true;return this};Point.prototype.neg=function neg(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())};Point.prototype.getX=function getX(){this.normalize();return this.x.fromRed()};Point.prototype.getY=function getY(){this.normalize();return this.y.fromRed()};Point.prototype.eq=function eq(other){return this===other||this.getX().cmp(other.getX())===0&&this.getY().cmp(other.getY())===0};Point.prototype.eqXToP=function eqXToP(x){var rx=x.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(rx)===0)return true;var xc=x.clone();var t=this.curve.redN.redMul(this.z);for(;;){xc.iadd(this.curve.n);if(xc.cmp(this.curve.p)>=0)return false;rx.redIAdd(t);if(this.x.cmp(rx)===0)return true}};Point.prototype.toP=Point.prototype.normalize;Point.prototype.mixedAdd=Point.prototype.add},{"../utils":231,"./base":218,"bn.js":80,inherits:326}],220:[function(require,module,exports){"use strict";var curve=exports;curve.base=require("./base");curve.short=require("./short");curve.mont=require("./mont");curve.edwards=require("./edwards")},{"./base":218,"./edwards":219,"./mont":221,"./short":222}],221:[function(require,module,exports){"use strict";var BN=require("bn.js");var inherits=require("inherits");var Base=require("./base");var utils=require("../utils");function MontCurve(conf){Base.call(this,"mont",conf);this.a=new BN(conf.a,16).toRed(this.red);this.b=new BN(conf.b,16).toRed(this.red);this.i4=new BN(4).toRed(this.red).redInvm();this.two=new BN(2).toRed(this.red);this.a24=this.i4.redMul(this.a.redAdd(this.two))}inherits(MontCurve,Base);module.exports=MontCurve;MontCurve.prototype.validate=function validate(point){var x=point.normalize().x;var x2=x.redSqr();var rhs=x2.redMul(x).redAdd(x2.redMul(this.a)).redAdd(x);var y=rhs.redSqrt();return y.redSqr().cmp(rhs)===0};function Point(curve,x,z){Base.BasePoint.call(this,curve,"projective");if(x===null&&z===null){this.x=this.curve.one;this.z=this.curve.zero}else{this.x=new BN(x,16);this.z=new BN(z,16);if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red)}}inherits(Point,Base.BasePoint);MontCurve.prototype.decodePoint=function decodePoint(bytes,enc){return this.point(utils.toArray(bytes,enc),1)};MontCurve.prototype.point=function point(x,z){return new Point(this,x,z)};MontCurve.prototype.pointFromJSON=function pointFromJSON(obj){return Point.fromJSON(this,obj)};Point.prototype.precompute=function precompute(){};Point.prototype._encode=function _encode(){return this.getX().toArray("be",this.curve.p.byteLength())};Point.fromJSON=function fromJSON(curve,obj){return new Point(curve,obj[0],obj[1]||curve.one)};Point.prototype.inspect=function inspect(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"};Point.prototype.isInfinity=function isInfinity(){return this.z.cmpn(0)===0};Point.prototype.dbl=function dbl(){var a=this.x.redAdd(this.z);var aa=a.redSqr();var b=this.x.redSub(this.z);var bb=b.redSqr();var c=aa.redSub(bb);var nx=aa.redMul(bb);var nz=c.redMul(bb.redAdd(this.curve.a24.redMul(c)));return this.curve.point(nx,nz)};Point.prototype.add=function add(){throw new Error("Not supported on Montgomery curve")};Point.prototype.diffAdd=function diffAdd(p,diff){var a=this.x.redAdd(this.z);var b=this.x.redSub(this.z);var c=p.x.redAdd(p.z);var d=p.x.redSub(p.z);var da=d.redMul(a);var cb=c.redMul(b);var nx=diff.z.redMul(da.redAdd(cb).redSqr());var nz=diff.x.redMul(da.redISub(cb).redSqr());return this.curve.point(nx,nz)};Point.prototype.mul=function mul(k){var t=k.clone();var a=this;var b=this.curve.point(null,null);var c=this;for(var bits=[];t.cmpn(0)!==0;t.iushrn(1))bits.push(t.andln(1));for(var i=bits.length-1;i>=0;i--){if(bits[i]===0){a=a.diffAdd(b,c);b=b.dbl()}else{b=a.diffAdd(b,c);a=a.dbl()}}return b};Point.prototype.mulAdd=function mulAdd(){throw new Error("Not supported on Montgomery curve")};Point.prototype.jumlAdd=function jumlAdd(){throw new Error("Not supported on Montgomery curve")};Point.prototype.eq=function eq(other){return this.getX().cmp(other.getX())===0};Point.prototype.normalize=function normalize(){this.x=this.x.redMul(this.z.redInvm());this.z=this.curve.one;return this};Point.prototype.getX=function getX(){this.normalize();return this.x.fromRed()}},{"../utils":231,"./base":218,"bn.js":80,inherits:326}],222:[function(require,module,exports){"use strict";var utils=require("../utils");var BN=require("bn.js");var inherits=require("inherits");var Base=require("./base");var assert=utils.assert;function ShortCurve(conf){Base.call(this,"short",conf);this.a=new BN(conf.a,16).toRed(this.red);this.b=new BN(conf.b,16).toRed(this.red);this.tinv=this.two.redInvm();this.zeroA=this.a.fromRed().cmpn(0)===0;this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0;this.endo=this._getEndomorphism(conf);this._endoWnafT1=new Array(4);this._endoWnafT2=new Array(4)}inherits(ShortCurve,Base);module.exports=ShortCurve;ShortCurve.prototype._getEndomorphism=function _getEndomorphism(conf){if(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)return;var beta;var lambda;if(conf.beta){beta=new BN(conf.beta,16).toRed(this.red)}else{var betas=this._getEndoRoots(this.p);beta=betas[0].cmp(betas[1])<0?betas[0]:betas[1];beta=beta.toRed(this.red)}if(conf.lambda){lambda=new BN(conf.lambda,16)}else{var lambdas=this._getEndoRoots(this.n);if(this.g.mul(lambdas[0]).x.cmp(this.g.x.redMul(beta))===0){lambda=lambdas[0]}else{lambda=lambdas[1];assert(this.g.mul(lambda).x.cmp(this.g.x.redMul(beta))===0)}}var basis;if(conf.basis){basis=conf.basis.map((function(vec){return{a:new BN(vec.a,16),b:new BN(vec.b,16)}}))}else{basis=this._getEndoBasis(lambda)}return{beta:beta,lambda:lambda,basis:basis}};ShortCurve.prototype._getEndoRoots=function _getEndoRoots(num){var red=num===this.p?this.red:BN.mont(num);var tinv=new BN(2).toRed(red).redInvm();var ntinv=tinv.redNeg();var s=new BN(3).toRed(red).redNeg().redSqrt().redMul(tinv);var l1=ntinv.redAdd(s).fromRed();var l2=ntinv.redSub(s).fromRed();return[l1,l2]};ShortCurve.prototype._getEndoBasis=function _getEndoBasis(lambda){var aprxSqrt=this.n.ushrn(Math.floor(this.n.bitLength()/2));var u=lambda;var v=this.n.clone();var x1=new BN(1);var y1=new BN(0);var x2=new BN(0);var y2=new BN(1);var a0;var b0;var a1;var b1;var a2;var b2;var prevR;var i=0;var r;var x;while(u.cmpn(0)!==0){var q=v.div(u);r=v.sub(q.mul(u));x=x2.sub(q.mul(x1));var y=y2.sub(q.mul(y1));if(!a1&&r.cmp(aprxSqrt)<0){a0=prevR.neg();b0=x1;a1=r.neg();b1=x}else if(a1&&++i===2){break}prevR=r;v=u;u=r;x2=x1;x1=x;y2=y1;y1=y}a2=r.neg();b2=x;var len1=a1.sqr().add(b1.sqr());var len2=a2.sqr().add(b2.sqr());if(len2.cmp(len1)>=0){a2=a0;b2=b0}if(a1.negative){a1=a1.neg();b1=b1.neg()}if(a2.negative){a2=a2.neg();b2=b2.neg()}return[{a:a1,b:b1},{a:a2,b:b2}]};ShortCurve.prototype._endoSplit=function _endoSplit(k){var basis=this.endo.basis;var v1=basis[0];var v2=basis[1];var c1=v2.b.mul(k).divRound(this.n);var c2=v1.b.neg().mul(k).divRound(this.n);var p1=c1.mul(v1.a);var p2=c2.mul(v2.a);var q1=c1.mul(v1.b);var q2=c2.mul(v2.b);var k1=k.sub(p1).sub(p2);var k2=q1.add(q2).neg();return{k1:k1,k2:k2}};ShortCurve.prototype.pointFromX=function pointFromX(x,odd){x=new BN(x,16);if(!x.red)x=x.toRed(this.red);var y2=x.redSqr().redMul(x).redIAdd(x.redMul(this.a)).redIAdd(this.b);var y=y2.redSqrt();if(y.redSqr().redSub(y2).cmp(this.zero)!==0)throw new Error("invalid point");var isOdd=y.fromRed().isOdd();if(odd&&!isOdd||!odd&&isOdd)y=y.redNeg();return this.point(x,y)};ShortCurve.prototype.validate=function validate(point){if(point.inf)return true;var x=point.x;var y=point.y;var ax=this.a.redMul(x);var rhs=x.redSqr().redMul(x).redIAdd(ax).redIAdd(this.b);return y.redSqr().redISub(rhs).cmpn(0)===0};ShortCurve.prototype._endoWnafMulAdd=function _endoWnafMulAdd(points,coeffs,jacobianResult){var npoints=this._endoWnafT1;var ncoeffs=this._endoWnafT2;for(var i=0;i<points.length;i++){var split=this._endoSplit(coeffs[i]);var p=points[i];var beta=p._getBeta();if(split.k1.negative){split.k1.ineg();p=p.neg(true)}if(split.k2.negative){split.k2.ineg();beta=beta.neg(true)}npoints[i*2]=p;npoints[i*2+1]=beta;ncoeffs[i*2]=split.k1;ncoeffs[i*2+1]=split.k2}var res=this._wnafMulAdd(1,npoints,ncoeffs,i*2,jacobianResult);for(var j=0;j<i*2;j++){npoints[j]=null;ncoeffs[j]=null}return res};function Point(curve,x,y,isRed){Base.BasePoint.call(this,curve,"affine");if(x===null&&y===null){this.x=null;this.y=null;this.inf=true}else{this.x=new BN(x,16);this.y=new BN(y,16);if(isRed){this.x.forceRed(this.curve.red);this.y.forceRed(this.curve.red)}if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);this.inf=false}}inherits(Point,Base.BasePoint);ShortCurve.prototype.point=function point(x,y,isRed){return new Point(this,x,y,isRed)};ShortCurve.prototype.pointFromJSON=function pointFromJSON(obj,red){return Point.fromJSON(this,obj,red)};Point.prototype._getBeta=function _getBeta(){if(!this.curve.endo)return;var pre=this.precomputed;if(pre&&pre.beta)return pre.beta;var beta=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(pre){var curve=this.curve;var endoMul=function(p){return curve.point(p.x.redMul(curve.endo.beta),p.y)};pre.beta=beta;beta.precomputed={beta:null,naf:pre.naf&&{wnd:pre.naf.wnd,points:pre.naf.points.map(endoMul)},doubles:pre.doubles&&{step:pre.doubles.step,points:pre.doubles.points.map(endoMul)}}}return beta};Point.prototype.toJSON=function toJSON(){if(!this.precomputed)return[this.x,this.y];return[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)}}]};Point.fromJSON=function fromJSON(curve,obj,red){if(typeof obj==="string")obj=JSON.parse(obj);var res=curve.point(obj[0],obj[1],red);if(!obj[2])return res;function obj2point(obj){return curve.point(obj[0],obj[1],red)}var pre=obj[2];res.precomputed={beta:null,doubles:pre.doubles&&{step:pre.doubles.step,points:[res].concat(pre.doubles.points.map(obj2point))},naf:pre.naf&&{wnd:pre.naf.wnd,points:[res].concat(pre.naf.points.map(obj2point))}};return res};Point.prototype.inspect=function inspect(){if(this.isInfinity())return"<EC Point Infinity>";return"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"};Point.prototype.isInfinity=function isInfinity(){return this.inf};Point.prototype.add=function add(p){if(this.inf)return p;if(p.inf)return this;if(this.eq(p))return this.dbl();if(this.neg().eq(p))return this.curve.point(null,null);if(this.x.cmp(p.x)===0)return this.curve.point(null,null);var c=this.y.redSub(p.y);if(c.cmpn(0)!==0)c=c.redMul(this.x.redSub(p.x).redInvm());var nx=c.redSqr().redISub(this.x).redISub(p.x);var ny=c.redMul(this.x.redSub(nx)).redISub(this.y);return this.curve.point(nx,ny)};Point.prototype.dbl=function dbl(){if(this.inf)return this;var ys1=this.y.redAdd(this.y);if(ys1.cmpn(0)===0)return this.curve.point(null,null);var a=this.curve.a;var x2=this.x.redSqr();var dyinv=ys1.redInvm();var c=x2.redAdd(x2).redIAdd(x2).redIAdd(a).redMul(dyinv);var nx=c.redSqr().redISub(this.x.redAdd(this.x));var ny=c.redMul(this.x.redSub(nx)).redISub(this.y);return this.curve.point(nx,ny)};Point.prototype.getX=function getX(){return this.x.fromRed()};Point.prototype.getY=function getY(){return this.y.fromRed()};Point.prototype.mul=function mul(k){k=new BN(k,16);if(this.isInfinity())return this;else if(this._hasDoubles(k))return this.curve._fixedNafMul(this,k);else if(this.curve.endo)return this.curve._endoWnafMulAdd([this],[k]);else return this.curve._wnafMul(this,k)};Point.prototype.mulAdd=function mulAdd(k1,p2,k2){var points=[this,p2];var coeffs=[k1,k2];if(this.curve.endo)return this.curve._endoWnafMulAdd(points,coeffs);else return this.curve._wnafMulAdd(1,points,coeffs,2)};Point.prototype.jmulAdd=function jmulAdd(k1,p2,k2){var points=[this,p2];var coeffs=[k1,k2];if(this.curve.endo)return this.curve._endoWnafMulAdd(points,coeffs,true);else return this.curve._wnafMulAdd(1,points,coeffs,2,true)};Point.prototype.eq=function eq(p){return this===p||this.inf===p.inf&&(this.inf||this.x.cmp(p.x)===0&&this.y.cmp(p.y)===0)};Point.prototype.neg=function neg(_precompute){if(this.inf)return this;var res=this.curve.point(this.x,this.y.redNeg());if(_precompute&&this.precomputed){var pre=this.precomputed;var negate=function(p){return p.neg()};res.precomputed={naf:pre.naf&&{wnd:pre.naf.wnd,points:pre.naf.points.map(negate)},doubles:pre.doubles&&{step:pre.doubles.step,points:pre.doubles.points.map(negate)}}}return res};Point.prototype.toJ=function toJ(){if(this.inf)return this.curve.jpoint(null,null,null);var res=this.curve.jpoint(this.x,this.y,this.curve.one);return res};function JPoint(curve,x,y,z){Base.BasePoint.call(this,curve,"jacobian");if(x===null&&y===null&&z===null){this.x=this.curve.one;this.y=this.curve.one;this.z=new BN(0)}else{this.x=new BN(x,16);this.y=new BN(y,16);this.z=new BN(z,16)}if(!this.x.red)this.x=this.x.toRed(this.curve.red);if(!this.y.red)this.y=this.y.toRed(this.curve.red);if(!this.z.red)this.z=this.z.toRed(this.curve.red);this.zOne=this.z===this.curve.one}inherits(JPoint,Base.BasePoint);ShortCurve.prototype.jpoint=function jpoint(x,y,z){return new JPoint(this,x,y,z)};JPoint.prototype.toP=function toP(){if(this.isInfinity())return this.curve.point(null,null);var zinv=this.z.redInvm();var zinv2=zinv.redSqr();var ax=this.x.redMul(zinv2);var ay=this.y.redMul(zinv2).redMul(zinv);return this.curve.point(ax,ay)};JPoint.prototype.neg=function neg(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)};JPoint.prototype.add=function add(p){if(this.isInfinity())return p;if(p.isInfinity())return this;var pz2=p.z.redSqr();var z2=this.z.redSqr();var u1=this.x.redMul(pz2);var u2=p.x.redMul(z2);var s1=this.y.redMul(pz2.redMul(p.z));var s2=p.y.redMul(z2.redMul(this.z));var h=u1.redSub(u2);var r=s1.redSub(s2);if(h.cmpn(0)===0){if(r.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl()}var h2=h.redSqr();var h3=h2.redMul(h);var v=u1.redMul(h2);var nx=r.redSqr().redIAdd(h3).redISub(v).redISub(v);var ny=r.redMul(v.redISub(nx)).redISub(s1.redMul(h3));var nz=this.z.redMul(p.z).redMul(h);return this.curve.jpoint(nx,ny,nz)};JPoint.prototype.mixedAdd=function mixedAdd(p){if(this.isInfinity())return p.toJ();if(p.isInfinity())return this;var z2=this.z.redSqr();var u1=this.x;var u2=p.x.redMul(z2);var s1=this.y;var s2=p.y.redMul(z2).redMul(this.z);var h=u1.redSub(u2);var r=s1.redSub(s2);if(h.cmpn(0)===0){if(r.cmpn(0)!==0)return this.curve.jpoint(null,null,null);else return this.dbl()}var h2=h.redSqr();var h3=h2.redMul(h);var v=u1.redMul(h2);var nx=r.redSqr().redIAdd(h3).redISub(v).redISub(v);var ny=r.redMul(v.redISub(nx)).redISub(s1.redMul(h3));var nz=this.z.redMul(h);return this.curve.jpoint(nx,ny,nz)};JPoint.prototype.dblp=function dblp(pow){if(pow===0)return this;if(this.isInfinity())return this;if(!pow)return this.dbl();if(this.curve.zeroA||this.curve.threeA){var r=this;for(var i=0;i<pow;i++)r=r.dbl();return r}var a=this.curve.a;var tinv=this.curve.tinv;var jx=this.x;var jy=this.y;var jz=this.z;var jz4=jz.redSqr().redSqr();var jyd=jy.redAdd(jy);for(var i=0;i<pow;i++){var jx2=jx.redSqr();var jyd2=jyd.redSqr();var jyd4=jyd2.redSqr();var c=jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4));var t1=jx.redMul(jyd2);var nx=c.redSqr().redISub(t1.redAdd(t1));var t2=t1.redISub(nx);var dny=c.redMul(t2);dny=dny.redIAdd(dny).redISub(jyd4);var nz=jyd.redMul(jz);if(i+1<pow)jz4=jz4.redMul(jyd4);jx=nx;jz=nz;jyd=dny}return this.curve.jpoint(jx,jyd.redMul(tinv),jz)};JPoint.prototype.dbl=function dbl(){if(this.isInfinity())return this;if(this.curve.zeroA)return this._zeroDbl();else if(this.curve.threeA)return this._threeDbl();else return this._dbl()};JPoint.prototype._zeroDbl=function _zeroDbl(){var nx;var ny;var nz;if(this.zOne){var xx=this.x.redSqr();var yy=this.y.redSqr();var yyyy=yy.redSqr();var s=this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy);s=s.redIAdd(s);var m=xx.redAdd(xx).redIAdd(xx);var t=m.redSqr().redISub(s).redISub(s);var yyyy8=yyyy.redIAdd(yyyy);yyyy8=yyyy8.redIAdd(yyyy8);yyyy8=yyyy8.redIAdd(yyyy8);nx=t;ny=m.redMul(s.redISub(t)).redISub(yyyy8);nz=this.y.redAdd(this.y)}else{var a=this.x.redSqr();var b=this.y.redSqr();var c=b.redSqr();var d=this.x.redAdd(b).redSqr().redISub(a).redISub(c);d=d.redIAdd(d);var e=a.redAdd(a).redIAdd(a);var f=e.redSqr();var c8=c.redIAdd(c);c8=c8.redIAdd(c8);c8=c8.redIAdd(c8);nx=f.redISub(d).redISub(d);ny=e.redMul(d.redISub(nx)).redISub(c8);nz=this.y.redMul(this.z);nz=nz.redIAdd(nz)}return this.curve.jpoint(nx,ny,nz)};JPoint.prototype._threeDbl=function _threeDbl(){var nx;var ny;var nz;if(this.zOne){var xx=this.x.redSqr();var yy=this.y.redSqr();var yyyy=yy.redSqr();var s=this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy);s=s.redIAdd(s);var m=xx.redAdd(xx).redIAdd(xx).redIAdd(this.curve.a);var t=m.redSqr().redISub(s).redISub(s);nx=t;var yyyy8=yyyy.redIAdd(yyyy);yyyy8=yyyy8.redIAdd(yyyy8);yyyy8=yyyy8.redIAdd(yyyy8);ny=m.redMul(s.redISub(t)).redISub(yyyy8);nz=this.y.redAdd(this.y)}else{var delta=this.z.redSqr();var gamma=this.y.redSqr();var beta=this.x.redMul(gamma);var alpha=this.x.redSub(delta).redMul(this.x.redAdd(delta));alpha=alpha.redAdd(alpha).redIAdd(alpha);var beta4=beta.redIAdd(beta);beta4=beta4.redIAdd(beta4);var beta8=beta4.redAdd(beta4);nx=alpha.redSqr().redISub(beta8);nz=this.y.redAdd(this.z).redSqr().redISub(gamma).redISub(delta);var ggamma8=gamma.redSqr();ggamma8=ggamma8.redIAdd(ggamma8);ggamma8=ggamma8.redIAdd(ggamma8);ggamma8=ggamma8.redIAdd(ggamma8);ny=alpha.redMul(beta4.redISub(nx)).redISub(ggamma8)}return this.curve.jpoint(nx,ny,nz)};JPoint.prototype._dbl=function _dbl(){var a=this.curve.a;var jx=this.x;var jy=this.y;var jz=this.z;var jz4=jz.redSqr().redSqr();var jx2=jx.redSqr();var jy2=jy.redSqr();var c=jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4));var jxd4=jx.redAdd(jx);jxd4=jxd4.redIAdd(jxd4);var t1=jxd4.redMul(jy2);var nx=c.redSqr().redISub(t1.redAdd(t1));var t2=t1.redISub(nx);var jyd8=jy2.redSqr();jyd8=jyd8.redIAdd(jyd8);jyd8=jyd8.redIAdd(jyd8);jyd8=jyd8.redIAdd(jyd8);var ny=c.redMul(t2).redISub(jyd8);var nz=jy.redAdd(jy).redMul(jz);return this.curve.jpoint(nx,ny,nz)};JPoint.prototype.trpl=function trpl(){if(!this.curve.zeroA)return this.dbl().add(this);var xx=this.x.redSqr();var yy=this.y.redSqr();var zz=this.z.redSqr();var yyyy=yy.redSqr();var m=xx.redAdd(xx).redIAdd(xx);var mm=m.redSqr();var e=this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy);e=e.redIAdd(e);e=e.redAdd(e).redIAdd(e);e=e.redISub(mm);var ee=e.redSqr();var t=yyyy.redIAdd(yyyy);t=t.redIAdd(t);t=t.redIAdd(t);t=t.redIAdd(t);var u=m.redIAdd(e).redSqr().redISub(mm).redISub(ee).redISub(t);var yyu4=yy.redMul(u);yyu4=yyu4.redIAdd(yyu4);yyu4=yyu4.redIAdd(yyu4);var nx=this.x.redMul(ee).redISub(yyu4);nx=nx.redIAdd(nx);nx=nx.redIAdd(nx);var ny=this.y.redMul(u.redMul(t.redISub(u)).redISub(e.redMul(ee)));ny=ny.redIAdd(ny);ny=ny.redIAdd(ny);ny=ny.redIAdd(ny);var nz=this.z.redAdd(e).redSqr().redISub(zz).redISub(ee);return this.curve.jpoint(nx,ny,nz)};JPoint.prototype.mul=function mul(k,kbase){k=new BN(k,kbase);return this.curve._wnafMul(this,k)};JPoint.prototype.eq=function eq(p){if(p.type==="affine")return this.eq(p.toJ());if(this===p)return true;var z2=this.z.redSqr();var pz2=p.z.redSqr();if(this.x.redMul(pz2).redISub(p.x.redMul(z2)).cmpn(0)!==0)return false;var z3=z2.redMul(this.z);var pz3=pz2.redMul(p.z);return this.y.redMul(pz3).redISub(p.y.redMul(z3)).cmpn(0)===0};JPoint.prototype.eqXToP=function eqXToP(x){var zs=this.z.redSqr();var rx=x.toRed(this.curve.red).redMul(zs);if(this.x.cmp(rx)===0)return true;var xc=x.clone();var t=this.curve.redN.redMul(zs);for(;;){xc.iadd(this.curve.n);if(xc.cmp(this.curve.p)>=0)return false;rx.redIAdd(t);if(this.x.cmp(rx)===0)return true}};JPoint.prototype.inspect=function inspect(){if(this.isInfinity())return"<EC JPoint Infinity>";return"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"};JPoint.prototype.isInfinity=function isInfinity(){return this.z.cmpn(0)===0}},{"../utils":231,"./base":218,"bn.js":80,inherits:326}],223:[function(require,module,exports){"use strict";var curves=exports;var hash=require("hash.js");var curve=require("./curve");var utils=require("./utils");var assert=utils.assert;function PresetCurve(options){if(options.type==="short")this.curve=new curve.short(options);else if(options.type==="edwards")this.curve=new curve.edwards(options);else this.curve=new curve.mont(options);this.g=this.curve.g;this.n=this.curve.n;this.hash=options.hash;assert(this.g.validate(),"Invalid curve");assert(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}curves.PresetCurve=PresetCurve;function defineCurve(name,options){Object.defineProperty(curves,name,{configurable:true,enumerable:true,get:function(){var curve=new PresetCurve(options);Object.defineProperty(curves,name,{configurable:true,enumerable:true,value:curve});return curve}})}defineCurve("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:hash.sha256,gRed:false,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]});defineCurve("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:hash.sha256,gRed:false,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]});defineCurve("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:hash.sha256,gRed:false,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]});defineCurve("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:hash.sha384,gRed:false,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"]});defineCurve("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:hash.sha512,gRed:false,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"]});defineCurve("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:hash.sha256,gRed:false,g:["9"]});defineCurve("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:hash.sha256,gRed:false,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var pre;try{pre=require("./precomputed/secp256k1")}catch(e){pre=undefined}defineCurve("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:hash.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:false,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",pre]})},{"./curve":220,"./precomputed/secp256k1":230,"./utils":231,"hash.js":286}],224:[function(require,module,exports){"use strict";var BN=require("bn.js");var HmacDRBG=require("hmac-drbg");var utils=require("../utils");var curves=require("../curves");var rand=require("brorand");var assert=utils.assert;var KeyPair=require("./key");var Signature=require("./signature");function EC(options){if(!(this instanceof EC))return new EC(options);if(typeof options==="string"){assert(curves.hasOwnProperty(options),"Unknown curve "+options);options=curves[options]}if(options instanceof curves.PresetCurve)options={curve:options};this.curve=options.curve.curve;this.n=this.curve.n;this.nh=this.n.ushrn(1);this.g=this.curve.g;this.g=options.curve.g;this.g.precompute(options.curve.n.bitLength()+1);this.hash=options.hash||options.curve.hash}module.exports=EC;EC.prototype.keyPair=function keyPair(options){return new KeyPair(this,options)};EC.prototype.keyFromPrivate=function keyFromPrivate(priv,enc){return KeyPair.fromPrivate(this,priv,enc)};EC.prototype.keyFromPublic=function keyFromPublic(pub,enc){return KeyPair.fromPublic(this,pub,enc)};EC.prototype.genKeyPair=function genKeyPair(options){if(!options)options={};var drbg=new HmacDRBG({hash:this.hash,pers:options.pers,persEnc:options.persEnc||"utf8",entropy:options.entropy||rand(this.hash.hmacStrength),entropyEnc:options.entropy&&options.entropyEnc||"utf8",nonce:this.n.toArray()});var bytes=this.n.byteLength();var ns2=this.n.sub(new BN(2));do{var priv=new BN(drbg.generate(bytes));if(priv.cmp(ns2)>0)continue;priv.iaddn(1);return this.keyFromPrivate(priv)}while(true)};EC.prototype._truncateToN=function truncateToN(msg,truncOnly){var delta=msg.byteLength()*8-this.n.bitLength();if(delta>0)msg=msg.ushrn(delta);if(!truncOnly&&msg.cmp(this.n)>=0)return msg.sub(this.n);else return msg};EC.prototype.sign=function sign(msg,key,enc,options){if(typeof enc==="object"){options=enc;enc=null}if(!options)options={};key=this.keyFromPrivate(key,enc);msg=this._truncateToN(new BN(msg,16));var bytes=this.n.byteLength();var bkey=key.getPrivate().toArray("be",bytes);var nonce=msg.toArray("be",bytes);var drbg=new HmacDRBG({hash:this.hash,entropy:bkey,nonce:nonce,pers:options.pers,persEnc:options.persEnc||"utf8"});var ns1=this.n.sub(new BN(1));for(var iter=0;true;iter++){var k=options.k?options.k(iter):new BN(drbg.generate(this.n.byteLength()));k=this._truncateToN(k,true);if(k.cmpn(1)<=0||k.cmp(ns1)>=0)continue;var kp=this.g.mul(k);if(kp.isInfinity())continue;var kpX=kp.getX();var r=kpX.umod(this.n);if(r.cmpn(0)===0)continue;var s=k.invm(this.n).mul(r.mul(key.getPrivate()).iadd(msg));s=s.umod(this.n);if(s.cmpn(0)===0)continue;var recoveryParam=(kp.getY().isOdd()?1:0)|(kpX.cmp(r)!==0?2:0);if(options.canonical&&s.cmp(this.nh)>0){s=this.n.sub(s);recoveryParam^=1}return new Signature({r:r,s:s,recoveryParam:recoveryParam})}};EC.prototype.verify=function verify(msg,signature,key,enc){msg=this._truncateToN(new BN(msg,16));key=this.keyFromPublic(key,enc);signature=new Signature(signature,"hex");var r=signature.r;var s=signature.s;if(r.cmpn(1)<0||r.cmp(this.n)>=0)return false;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return false;var sinv=s.invm(this.n);var u1=sinv.mul(msg).umod(this.n);var u2=sinv.mul(r).umod(this.n);if(!this.curve._maxwellTrick){var p=this.g.mulAdd(u1,key.getPublic(),u2);if(p.isInfinity())return false;return p.getX().umod(this.n).cmp(r)===0}var p=this.g.jmulAdd(u1,key.getPublic(),u2);if(p.isInfinity())return false;return p.eqXToP(r)};EC.prototype.recoverPubKey=function(msg,signature,j,enc){assert((3&j)===j,"The recovery param is more than two bits");signature=new Signature(signature,enc);var n=this.n;var e=new BN(msg);var r=signature.r;var s=signature.s;var isYOdd=j&1;var isSecondKey=j>>1;if(r.cmp(this.curve.p.umod(this.curve.n))>=0&&isSecondKey)throw new Error("Unable to find sencond key candinate");if(isSecondKey)r=this.curve.pointFromX(r.add(this.curve.n),isYOdd);else r=this.curve.pointFromX(r,isYOdd);var rInv=signature.r.invm(n);var s1=n.sub(e).mul(rInv).umod(n);var s2=s.mul(rInv).umod(n);return this.g.mulAdd(s1,r,s2)};EC.prototype.getKeyRecoveryParam=function(e,signature,Q,enc){signature=new Signature(signature,enc);if(signature.recoveryParam!==null)return signature.recoveryParam;for(var i=0;i<4;i++){var Qprime;try{Qprime=this.recoverPubKey(e,signature,i)}catch(e){continue}if(Qprime.eq(Q))return i}throw new Error("Unable to find valid recovery factor")}},{"../curves":223,"../utils":231,"./key":225,"./signature":226,"bn.js":80,brorand:81,"hmac-drbg":298}],225:[function(require,module,exports){"use strict";var BN=require("bn.js");var utils=require("../utils");var assert=utils.assert;function KeyPair(ec,options){this.ec=ec;this.priv=null;this.pub=null;if(options.priv)this._importPrivate(options.priv,options.privEnc);if(options.pub)this._importPublic(options.pub,options.pubEnc)}module.exports=KeyPair;KeyPair.fromPublic=function fromPublic(ec,pub,enc){if(pub instanceof KeyPair)return pub;return new KeyPair(ec,{pub:pub,pubEnc:enc})};KeyPair.fromPrivate=function fromPrivate(ec,priv,enc){if(priv instanceof KeyPair)return priv;return new KeyPair(ec,{priv:priv,privEnc:enc})};KeyPair.prototype.validate=function validate(){var pub=this.getPublic();if(pub.isInfinity())return{result:false,reason:"Invalid public key"};if(!pub.validate())return{result:false,reason:"Public key is not a point"};if(!pub.mul(this.ec.curve.n).isInfinity())return{result:false,reason:"Public key * N != O"};return{result:true,reason:null}};KeyPair.prototype.getPublic=function getPublic(compact,enc){if(typeof compact==="string"){enc=compact;compact=null}if(!this.pub)this.pub=this.ec.g.mul(this.priv);if(!enc)return this.pub;return this.pub.encode(enc,compact)};KeyPair.prototype.getPrivate=function getPrivate(enc){if(enc==="hex")return this.priv.toString(16,2);else return this.priv};KeyPair.prototype._importPrivate=function _importPrivate(key,enc){this.priv=new BN(key,enc||16);this.priv=this.priv.umod(this.ec.curve.n)};KeyPair.prototype._importPublic=function _importPublic(key,enc){if(key.x||key.y){if(this.ec.curve.type==="mont"){assert(key.x,"Need x coordinate")}else if(this.ec.curve.type==="short"||this.ec.curve.type==="edwards"){assert(key.x&&key.y,"Need both x and y coordinate")}this.pub=this.ec.curve.point(key.x,key.y);return}this.pub=this.ec.curve.decodePoint(key,enc)};KeyPair.prototype.derive=function derive(pub){return pub.mul(this.priv).getX()};KeyPair.prototype.sign=function sign(msg,enc,options){return this.ec.sign(msg,this,enc,options)};KeyPair.prototype.verify=function verify(msg,signature){return this.ec.verify(msg,signature,this)};KeyPair.prototype.inspect=function inspect(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"../utils":231,"bn.js":80}],226:[function(require,module,exports){"use strict";var BN=require("bn.js");var utils=require("../utils");var assert=utils.assert;function Signature(options,enc){if(options instanceof Signature)return options;if(this._importDER(options,enc))return;assert(options.r&&options.s,"Signature without r or s");this.r=new BN(options.r,16);this.s=new BN(options.s,16);if(options.recoveryParam===undefined)this.recoveryParam=null;else this.recoveryParam=options.recoveryParam}module.exports=Signature;function Position(){this.place=0}function getLength(buf,p){var initial=buf[p.place++];if(!(initial&128)){return initial}var octetLen=initial&15;if(octetLen===0||octetLen>4){return false}var val=0;for(var i=0,off=p.place;i<octetLen;i++,off++){val<<=8;val|=buf[off];val>>>=0}if(val<=127){return false}p.place=off;return val}function rmPadding(buf){var i=0;var len=buf.length-1;while(!buf[i]&&!(buf[i+1]&128)&&i<len){i++}if(i===0){return buf}return buf.slice(i)}Signature.prototype._importDER=function _importDER(data,enc){data=utils.toArray(data,enc);var p=new Position;if(data[p.place++]!==48){return false}var len=getLength(data,p);if(len===false){return false}if(len+p.place!==data.length){return false}if(data[p.place++]!==2){return false}var rlen=getLength(data,p);if(rlen===false){return false}var r=data.slice(p.place,rlen+p.place);p.place+=rlen;if(data[p.place++]!==2){return false}var slen=getLength(data,p);if(slen===false){return false}if(data.length!==slen+p.place){return false}var s=data.slice(p.place,slen+p.place);if(r[0]===0){if(r[1]&128){r=r.slice(1)}else{return false}}if(s[0]===0){if(s[1]&128){s=s.slice(1)}else{return false}}this.r=new BN(r);this.s=new BN(s);this.recoveryParam=null;return true};function constructLength(arr,len){if(len<128){arr.push(len);return}var octets=1+(Math.log(len)/Math.LN2>>>3);arr.push(octets|128);while(--octets){arr.push(len>>>(octets<<3)&255)}arr.push(len)}Signature.prototype.toDER=function toDER(enc){var r=this.r.toArray();var s=this.s.toArray();if(r[0]&128)r=[0].concat(r);if(s[0]&128)s=[0].concat(s);r=rmPadding(r);s=rmPadding(s);while(!s[0]&&!(s[1]&128)){s=s.slice(1)}var arr=[2];constructLength(arr,r.length);arr=arr.concat(r);arr.push(2);constructLength(arr,s.length);var backHalf=arr.concat(s);var res=[48];constructLength(res,backHalf.length);res=res.concat(backHalf);return utils.encode(res,enc)}},{"../utils":231,"bn.js":80}],227:[function(require,module,exports){"use strict";var hash=require("hash.js");var curves=require("../curves");var utils=require("../utils");var assert=utils.assert;var parseBytes=utils.parseBytes;var KeyPair=require("./key");var Signature=require("./signature");function EDDSA(curve){assert(curve==="ed25519","only tested with ed25519 so far");if(!(this instanceof EDDSA))return new EDDSA(curve);var curve=curves[curve].curve;this.curve=curve;this.g=curve.g;this.g.precompute(curve.n.bitLength()+1);this.pointClass=curve.point().constructor;this.encodingLength=Math.ceil(curve.n.bitLength()/8);this.hash=hash.sha512}module.exports=EDDSA;EDDSA.prototype.sign=function sign(message,secret){message=parseBytes(message);var key=this.keyFromSecret(secret);var r=this.hashInt(key.messagePrefix(),message);var R=this.g.mul(r);var Rencoded=this.encodePoint(R);var s_=this.hashInt(Rencoded,key.pubBytes(),message).mul(key.priv());var S=r.add(s_).umod(this.curve.n);return this.makeSignature({R:R,S:S,Rencoded:Rencoded})};EDDSA.prototype.verify=function verify(message,sig,pub){message=parseBytes(message);sig=this.makeSignature(sig);var key=this.keyFromPublic(pub);var h=this.hashInt(sig.Rencoded(),key.pubBytes(),message);var SG=this.g.mul(sig.S());var RplusAh=sig.R().add(key.pub().mul(h));return RplusAh.eq(SG)};EDDSA.prototype.hashInt=function hashInt(){var hash=this.hash();for(var i=0;i<arguments.length;i++)hash.update(arguments[i]);return utils.intFromLE(hash.digest()).umod(this.curve.n)};EDDSA.prototype.keyFromPublic=function keyFromPublic(pub){return KeyPair.fromPublic(this,pub)};EDDSA.prototype.keyFromSecret=function keyFromSecret(secret){return KeyPair.fromSecret(this,secret)};EDDSA.prototype.makeSignature=function makeSignature(sig){if(sig instanceof Signature)return sig;return new Signature(this,sig)};EDDSA.prototype.encodePoint=function encodePoint(point){var enc=point.getY().toArray("le",this.encodingLength);enc[this.encodingLength-1]|=point.getX().isOdd()?128:0;return enc};EDDSA.prototype.decodePoint=function decodePoint(bytes){bytes=utils.parseBytes(bytes);var lastIx=bytes.length-1;var normed=bytes.slice(0,lastIx).concat(bytes[lastIx]&~128);var xIsOdd=(bytes[lastIx]&128)!==0;var y=utils.intFromLE(normed);return this.curve.pointFromY(y,xIsOdd)};EDDSA.prototype.encodeInt=function encodeInt(num){return num.toArray("le",this.encodingLength)};EDDSA.prototype.decodeInt=function decodeInt(bytes){return utils.intFromLE(bytes)};EDDSA.prototype.isPoint=function isPoint(val){return val instanceof this.pointClass}},{"../curves":223,"../utils":231,"./key":228,"./signature":229,"hash.js":286}],228:[function(require,module,exports){"use strict";var utils=require("../utils");var assert=utils.assert;var parseBytes=utils.parseBytes;var cachedProperty=utils.cachedProperty;function KeyPair(eddsa,params){this.eddsa=eddsa;this._secret=parseBytes(params.secret);if(eddsa.isPoint(params.pub))this._pub=params.pub;else this._pubBytes=parseBytes(params.pub)}KeyPair.fromPublic=function fromPublic(eddsa,pub){if(pub instanceof KeyPair)return pub;return new KeyPair(eddsa,{pub:pub})};KeyPair.fromSecret=function fromSecret(eddsa,secret){if(secret instanceof KeyPair)return secret;return new KeyPair(eddsa,{secret:secret})};KeyPair.prototype.secret=function secret(){return this._secret};cachedProperty(KeyPair,"pubBytes",(function pubBytes(){return this.eddsa.encodePoint(this.pub())}));cachedProperty(KeyPair,"pub",(function pub(){if(this._pubBytes)return this.eddsa.decodePoint(this._pubBytes);return this.eddsa.g.mul(this.priv())}));cachedProperty(KeyPair,"privBytes",(function privBytes(){var eddsa=this.eddsa;var hash=this.hash();var lastIx=eddsa.encodingLength-1;var a=hash.slice(0,eddsa.encodingLength);a[0]&=248;a[lastIx]&=127;a[lastIx]|=64;return a}));cachedProperty(KeyPair,"priv",(function priv(){return this.eddsa.decodeInt(this.privBytes())}));cachedProperty(KeyPair,"hash",(function hash(){return this.eddsa.hash().update(this.secret()).digest()}));cachedProperty(KeyPair,"messagePrefix",(function messagePrefix(){return this.hash().slice(this.eddsa.encodingLength)}));KeyPair.prototype.sign=function sign(message){assert(this._secret,"KeyPair can only verify");return this.eddsa.sign(message,this)};KeyPair.prototype.verify=function verify(message,sig){return this.eddsa.verify(message,sig,this)};KeyPair.prototype.getSecret=function getSecret(enc){assert(this._secret,"KeyPair is public only");return utils.encode(this.secret(),enc)};KeyPair.prototype.getPublic=function getPublic(enc){return utils.encode(this.pubBytes(),enc)};module.exports=KeyPair},{"../utils":231}],229:[function(require,module,exports){"use strict";var BN=require("bn.js");var utils=require("../utils");var assert=utils.assert;var cachedProperty=utils.cachedProperty;var parseBytes=utils.parseBytes;function Signature(eddsa,sig){this.eddsa=eddsa;if(typeof sig!=="object")sig=parseBytes(sig);if(Array.isArray(sig)){sig={R:sig.slice(0,eddsa.encodingLength),S:sig.slice(eddsa.encodingLength)}}assert(sig.R&&sig.S,"Signature without R or S");if(eddsa.isPoint(sig.R))this._R=sig.R;if(sig.S instanceof BN)this._S=sig.S;this._Rencoded=Array.isArray(sig.R)?sig.R:sig.Rencoded;this._Sencoded=Array.isArray(sig.S)?sig.S:sig.Sencoded}cachedProperty(Signature,"S",(function S(){return this.eddsa.decodeInt(this.Sencoded())}));cachedProperty(Signature,"R",(function R(){return this.eddsa.decodePoint(this.Rencoded())}));cachedProperty(Signature,"Rencoded",(function Rencoded(){return this.eddsa.encodePoint(this.R())}));cachedProperty(Signature,"Sencoded",(function Sencoded(){return this.eddsa.encodeInt(this.S())}));Signature.prototype.toBytes=function toBytes(){return this.Rencoded().concat(this.Sencoded())};Signature.prototype.toHex=function toHex(){return utils.encode(this.toBytes(),"hex").toUpperCase()};module.exports=Signature},{"../utils":231,"bn.js":80}],230:[function(require,module,exports){module.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"]]}}},{}],231:[function(require,module,exports){"use strict";var utils=exports;var BN=require("bn.js");var minAssert=require("minimalistic-assert");var minUtils=require("minimalistic-crypto-utils");utils.assert=minAssert;utils.toArray=minUtils.toArray;utils.zero2=minUtils.zero2;utils.toHex=minUtils.toHex;utils.encode=minUtils.encode;function getNAF(num,w,bits){var naf=new Array(Math.max(num.bitLength(),bits)+1);naf.fill(0);var ws=1<<w+1;var k=num.clone();for(var i=0;i<naf.length;i++){var z;var mod=k.andln(ws-1);if(k.isOdd()){if(mod>(ws>>1)-1)z=(ws>>1)-mod;else z=mod;k.isubn(z)}else{z=0}naf[i]=z;k.iushrn(1)}return naf}utils.getNAF=getNAF;function getJSF(k1,k2){var jsf=[[],[]];k1=k1.clone();k2=k2.clone();var d1=0;var d2=0;while(k1.cmpn(-d1)>0||k2.cmpn(-d2)>0){var m14=k1.andln(3)+d1&3;var m24=k2.andln(3)+d2&3;if(m14===3)m14=-1;if(m24===3)m24=-1;var u1;if((m14&1)===0){u1=0}else{var m8=k1.andln(7)+d1&7;if((m8===3||m8===5)&&m24===2)u1=-m14;else u1=m14}jsf[0].push(u1);var u2;if((m24&1)===0){u2=0}else{var m8=k2.andln(7)+d2&7;if((m8===3||m8===5)&&m14===2)u2=-m24;else u2=m24}jsf[1].push(u2);if(2*d1===u1+1)d1=1-d1;if(2*d2===u2+1)d2=1-d2;k1.iushrn(1);k2.iushrn(1)}return jsf}utils.getJSF=getJSF;function cachedProperty(obj,name,computer){var key="_"+name;obj.prototype[name]=function cachedProperty(){return this[key]!==undefined?this[key]:this[key]=computer.call(this)}}utils.cachedProperty=cachedProperty;function parseBytes(bytes){return typeof bytes==="string"?utils.toArray(bytes,"hex"):bytes}utils.parseBytes=parseBytes;function intFromLE(bytes){return new BN(bytes,"hex","le")}utils.intFromLE=intFromLE},{"bn.js":80,"minimalistic-assert":800,"minimalistic-crypto-utils":801}],232:[function(require,module,exports){module.exports={name:"elliptic",version:"6.5.3",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],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",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^1.4.3",coveralls:"^3.0.8",grunt:"^1.0.4","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":"^9.0.1",istanbul:"^0.4.2",jscs:"^3.0.7",jshint:"^2.10.3",mocha:"^6.2.2"},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"}}},{}],233:[function(require,module,exports){(function(global){(function(){"use strict";var Syntax,Precedence,BinaryPrecedence,SourceNode,estraverse,esutils,base,indent,json,renumber,hexadecimal,quotes,escapeless,newline,space,parentheses,semicolons,safeConcatenation,directive,extra,parse,sourceMap,sourceCode,preserveBlankLines,FORMAT_MINIFY,FORMAT_DEFAULTS;estraverse=require("estraverse");esutils=require("esutils");Syntax=estraverse.Syntax;function isExpression(node){return CodeGenerator.Expression.hasOwnProperty(node.type)}function isStatement(node){return CodeGenerator.Statement.hasOwnProperty(node.type)}Precedence={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,LogicalOR:3,LogicalAND:4,BitwiseOR:5,BitwiseXOR:6,BitwiseAND:7,Equality:8,Relational:9,BitwiseSHIFT:10,Additive:11,Multiplicative:12,Exponentiation:13,Await:14,Unary:14,Postfix:15,Call:16,New:17,TaggedTemplate:18,Member:19,Primary:20};BinaryPrecedence={"||":Precedence.LogicalOR,"&&":Precedence.LogicalAND,"|":Precedence.BitwiseOR,"^":Precedence.BitwiseXOR,"&":Precedence.BitwiseAND,"==":Precedence.Equality,"!=":Precedence.Equality,"===":Precedence.Equality,"!==":Precedence.Equality,is:Precedence.Equality,isnt:Precedence.Equality,"<":Precedence.Relational,">":Precedence.Relational,"<=":Precedence.Relational,">=":Precedence.Relational,in:Precedence.Relational,instanceof:Precedence.Relational,"<<":Precedence.BitwiseSHIFT,">>":Precedence.BitwiseSHIFT,">>>":Precedence.BitwiseSHIFT,"+":Precedence.Additive,"-":Precedence.Additive,"*":Precedence.Multiplicative,"%":Precedence.Multiplicative,"/":Precedence.Multiplicative,"**":Precedence.Exponentiation};var F_ALLOW_IN=1,F_ALLOW_CALL=1<<1,F_ALLOW_UNPARATH_NEW=1<<2,F_FUNC_BODY=1<<3,F_DIRECTIVE_CTX=1<<4,F_SEMICOLON_OPT=1<<5;var E_FTT=F_ALLOW_CALL|F_ALLOW_UNPARATH_NEW,E_TTF=F_ALLOW_IN|F_ALLOW_CALL,E_TTT=F_ALLOW_IN|F_ALLOW_CALL|F_ALLOW_UNPARATH_NEW,E_TFF=F_ALLOW_IN,E_FFT=F_ALLOW_UNPARATH_NEW,E_TFT=F_ALLOW_IN|F_ALLOW_UNPARATH_NEW;var S_TFFF=F_ALLOW_IN,S_TFFT=F_ALLOW_IN|F_SEMICOLON_OPT,S_FFFF=0,S_TFTF=F_ALLOW_IN|F_DIRECTIVE_CTX,S_TTFF=F_ALLOW_IN|F_FUNC_BODY;function getDefaultOptions(){return{indent:null,base:null,parse:null,comment:false,format:{indent:{style:" ",base:0,adjustMultilineComment:false},newline:"\n",space:" ",json:false,renumber:false,hexadecimal:false,quotes:"single",escapeless:false,compact:false,parentheses:true,semicolons:true,safeConcatenation:false,preserveBlankLines:false},moz:{comprehensionExpressionStartsWithAssignment:false,starlessGenerator:false},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:false,directive:false,raw:true,verbatim:null,sourceCode:null}}function stringRepeat(str,num){var result="";for(num|=0;num>0;num>>>=1,str+=str){if(num&1){result+=str}}return result}function hasLineTerminator(str){return/[\r\n]/g.test(str)}function endsWithLineTerminator(str){var len=str.length;return len&&esutils.code.isLineTerminator(str.charCodeAt(len-1))}function merge(target,override){var key;for(key in override){if(override.hasOwnProperty(key)){target[key]=override[key]}}return target}function updateDeeply(target,override){var key,val;function isHashObject(target){return typeof target==="object"&&target instanceof Object&&!(target instanceof RegExp)}for(key in override){if(override.hasOwnProperty(key)){val=override[key];if(isHashObject(val)){if(isHashObject(target[key])){updateDeeply(target[key],val)}else{target[key]=updateDeeply({},val)}}else{target[key]=val}}}return target}function generateNumber(value){var result,point,temp,exponent,pos;if(value!==value){throw new Error("Numeric literal whose value is NaN")}if(value<0||value===0&&1/value<0){throw new Error("Numeric literal whose value is negative")}if(value===1/0){return json?"null":renumber?"1e400":"1e+400"}result=""+value;if(!renumber||result.length<3){return result}point=result.indexOf(".");if(!json&&result.charCodeAt(0)===48&&point===1){point=0;result=result.slice(1)}temp=result;result=result.replace("e+","e");exponent=0;if((pos=temp.indexOf("e"))>0){exponent=+temp.slice(pos+1);temp=temp.slice(0,pos)}if(point>=0){exponent-=temp.length-point-1;temp=+(temp.slice(0,point)+temp.slice(point+1))+""}pos=0;while(temp.charCodeAt(temp.length+pos-1)===48){--pos}if(pos!==0){exponent-=pos;temp=temp.slice(0,pos)}if(exponent!==0){temp+="e"+exponent}if((temp.length<result.length||hexadecimal&&value>1e12&&Math.floor(value)===value&&(temp="0x"+value.toString(16)).length<result.length)&&+temp===value){result=temp}return result}function escapeRegExpCharacter(ch,previousIsBackslash){if((ch&~1)===8232){return(previousIsBackslash?"u":"\\u")+(ch===8232?"2028":"2029")}else if(ch===10||ch===13){return(previousIsBackslash?"":"\\")+(ch===10?"n":"r")}return String.fromCharCode(ch)}function generateRegExp(reg){var match,result,flags,i,iz,ch,characterInBrack,previousIsBackslash;result=reg.toString();if(reg.source){match=result.match(/\/([^/]*)$/);if(!match){return result}flags=match[1];result="";characterInBrack=false;previousIsBackslash=false;for(i=0,iz=reg.source.length;i<iz;++i){ch=reg.source.charCodeAt(i);if(!previousIsBackslash){if(characterInBrack){if(ch===93){characterInBrack=false}}else{if(ch===47){result+="\\"}else if(ch===91){characterInBrack=true}}result+=escapeRegExpCharacter(ch,previousIsBackslash);previousIsBackslash=ch===92}else{result+=escapeRegExpCharacter(ch,previousIsBackslash);previousIsBackslash=false}}return"/"+result+"/"+flags}return result}function escapeAllowedCharacter(code,next){var hex;if(code===8){return"\\b"}if(code===12){return"\\f"}if(code===9){return"\\t"}hex=code.toString(16).toUpperCase();if(json||code>255){return"\\u"+"0000".slice(hex.length)+hex}else if(code===0&&!esutils.code.isDecimalDigit(next)){return"\\0"}else if(code===11){return"\\x0B"}else{return"\\x"+"00".slice(hex.length)+hex}}function escapeDisallowedCharacter(code){if(code===92){return"\\\\"}if(code===10){return"\\n"}if(code===13){return"\\r"}if(code===8232){return"\\u2028"}if(code===8233){return"\\u2029"}throw new Error("Incorrectly classified character")}function escapeDirective(str){var i,iz,code,quote;quote=quotes==="double"?'"':"'";for(i=0,iz=str.length;i<iz;++i){code=str.charCodeAt(i);if(code===39){quote='"';break}else if(code===34){quote="'";break}else if(code===92){++i}}return quote+str+quote}function escapeString(str){var result="",i,len,code,singleQuotes=0,doubleQuotes=0,single,quote;for(i=0,len=str.length;i<len;++i){code=str.charCodeAt(i);if(code===39){++singleQuotes}else if(code===34){++doubleQuotes}else if(code===47&&json){result+="\\"}else if(esutils.code.isLineTerminator(code)||code===92){result+=escapeDisallowedCharacter(code);continue}else if(!esutils.code.isIdentifierPartES5(code)&&(json&&code<32||!json&&!escapeless&&(code<32||code>126))){result+=escapeAllowedCharacter(code,str.charCodeAt(i+1));continue}result+=String.fromCharCode(code)}single=!(quotes==="double"||quotes==="auto"&&doubleQuotes<singleQuotes);quote=single?"'":'"';if(!(single?singleQuotes:doubleQuotes)){return quote+result+quote}str=result;result=quote;for(i=0,len=str.length;i<len;++i){code=str.charCodeAt(i);if(code===39&&single||code===34&&!single){result+="\\"}result+=String.fromCharCode(code)}return result+quote}function flattenToString(arr){var i,iz,elem,result="";for(i=0,iz=arr.length;i<iz;++i){elem=arr[i];result+=Array.isArray(elem)?flattenToString(elem):elem}return result}function toSourceNodeWhenNeeded(generated,node){if(!sourceMap){if(Array.isArray(generated)){return flattenToString(generated)}else{return generated}}if(node==null){if(generated instanceof SourceNode){return generated}else{node={}}}if(node.loc==null){return new SourceNode(null,null,sourceMap,generated,node.name||null)}return new SourceNode(node.loc.start.line,node.loc.start.column,sourceMap===true?node.loc.source||null:sourceMap,generated,node.name||null)}function noEmptySpace(){return space?space:" "}function join(left,right){var leftSource,rightSource,leftCharCode,rightCharCode;leftSource=toSourceNodeWhenNeeded(left).toString();if(leftSource.length===0){return[right]}rightSource=toSourceNodeWhenNeeded(right).toString();if(rightSource.length===0){return[left]}leftCharCode=leftSource.charCodeAt(leftSource.length-1);rightCharCode=rightSource.charCodeAt(0);if((leftCharCode===43||leftCharCode===45)&&leftCharCode===rightCharCode||esutils.code.isIdentifierPartES5(leftCharCode)&&esutils.code.isIdentifierPartES5(rightCharCode)||leftCharCode===47&&rightCharCode===105){return[left,noEmptySpace(),right]}else if(esutils.code.isWhiteSpace(leftCharCode)||esutils.code.isLineTerminator(leftCharCode)||esutils.code.isWhiteSpace(rightCharCode)||esutils.code.isLineTerminator(rightCharCode)){return[left,right]}return[left,space,right]}function addIndent(stmt){return[base,stmt]}function withIndent(fn){var previousBase;previousBase=base;base+=indent;fn(base);base=previousBase}function calculateSpaces(str){var i;for(i=str.length-1;i>=0;--i){if(esutils.code.isLineTerminator(str.charCodeAt(i))){break}}return str.length-1-i}function adjustMultilineComment(value,specialBase){var array,i,len,line,j,spaces,previousBase,sn;array=value.split(/\r\n|[\r\n]/);spaces=Number.MAX_VALUE;for(i=1,len=array.length;i<len;++i){line=array[i];j=0;while(j<line.length&&esutils.code.isWhiteSpace(line.charCodeAt(j))){++j}if(spaces>j){spaces=j}}if(typeof specialBase!=="undefined"){previousBase=base;if(array[1][spaces]==="*"){specialBase+=" "}base=specialBase}else{if(spaces&1){--spaces}previousBase=base}for(i=1,len=array.length;i<len;++i){sn=toSourceNodeWhenNeeded(addIndent(array[i].slice(spaces)));array[i]=sourceMap?sn.join(""):sn}base=previousBase;return array.join("\n")}function generateComment(comment,specialBase){if(comment.type==="Line"){if(endsWithLineTerminator(comment.value)){return"//"+comment.value}else{var result="//"+comment.value;if(!preserveBlankLines){result+="\n"}return result}}if(extra.format.indent.adjustMultilineComment&&/[\n\r]/.test(comment.value)){return adjustMultilineComment("/*"+comment.value+"*/",specialBase)}return"/*"+comment.value+"*/"}function addComments(stmt,result){var i,len,comment,save,tailingToStatement,specialBase,fragment,extRange,range,prevRange,prefix,infix,suffix,count;if(stmt.leadingComments&&stmt.leadingComments.length>0){save=result;if(preserveBlankLines){comment=stmt.leadingComments[0];result=[];extRange=comment.extendedRange;range=comment.range;prefix=sourceCode.substring(extRange[0],range[0]);count=(prefix.match(/\n/g)||[]).length;if(count>0){result.push(stringRepeat("\n",count));result.push(addIndent(generateComment(comment)))}else{result.push(prefix);result.push(generateComment(comment))}prevRange=range;for(i=1,len=stmt.leadingComments.length;i<len;i++){comment=stmt.leadingComments[i];range=comment.range;infix=sourceCode.substring(prevRange[1],range[0]);count=(infix.match(/\n/g)||[]).length;result.push(stringRepeat("\n",count));result.push(addIndent(generateComment(comment)));prevRange=range}suffix=sourceCode.substring(range[1],extRange[1]);count=(suffix.match(/\n/g)||[]).length;result.push(stringRepeat("\n",count))}else{comment=stmt.leadingComments[0];result=[];if(safeConcatenation&&stmt.type===Syntax.Program&&stmt.body.length===0){result.push("\n")}result.push(generateComment(comment));if(!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())){result.push("\n")}for(i=1,len=stmt.leadingComments.length;i<len;++i){comment=stmt.leadingComments[i];fragment=[generateComment(comment)];if(!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())){fragment.push("\n")}result.push(addIndent(fragment))}}result.push(addIndent(save))}if(stmt.trailingComments){if(preserveBlankLines){comment=stmt.trailingComments[0];extRange=comment.extendedRange;range=comment.range;prefix=sourceCode.substring(extRange[0],range[0]);count=(prefix.match(/\n/g)||[]).length;if(count>0){result.push(stringRepeat("\n",count));result.push(addIndent(generateComment(comment)))}else{result.push(prefix);result.push(generateComment(comment))}}else{tailingToStatement=!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString());specialBase=stringRepeat(" ",calculateSpaces(toSourceNodeWhenNeeded([base,result,indent]).toString()));for(i=0,len=stmt.trailingComments.length;i<len;++i){comment=stmt.trailingComments[i];if(tailingToStatement){if(i===0){result=[result,indent]}else{result=[result,specialBase]}result.push(generateComment(comment,specialBase))}else{result=[result,addIndent(generateComment(comment))]}if(i!==len-1&&!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())){result=[result,"\n"]}}}}return result}function generateBlankLines(start,end,result){var j,newlineCount=0;for(j=start;j<end;j++){if(sourceCode[j]==="\n"){newlineCount++}}for(j=1;j<newlineCount;j++){result.push(newline)}}function parenthesize(text,current,should){if(current<should){return["(",text,")"]}return text}function generateVerbatimString(string){var i,iz,result;result=string.split(/\r\n|\n/);for(i=1,iz=result.length;i<iz;i++){result[i]=newline+base+result[i]}return result}function generateVerbatim(expr,precedence){var verbatim,result,prec;verbatim=expr[extra.verbatim];if(typeof verbatim==="string"){result=parenthesize(generateVerbatimString(verbatim),Precedence.Sequence,precedence)}else{result=generateVerbatimString(verbatim.content);prec=verbatim.precedence!=null?verbatim.precedence:Precedence.Sequence;result=parenthesize(result,prec,precedence)}return toSourceNodeWhenNeeded(result,expr)}function CodeGenerator(){}CodeGenerator.prototype.maybeBlock=function(stmt,flags){var result,noLeadingComment,that=this;noLeadingComment=!extra.comment||!stmt.leadingComments;if(stmt.type===Syntax.BlockStatement&&noLeadingComment){return[space,this.generateStatement(stmt,flags)]}if(stmt.type===Syntax.EmptyStatement&&noLeadingComment){return";"}withIndent((function(){result=[newline,addIndent(that.generateStatement(stmt,flags))]}));return result};CodeGenerator.prototype.maybeBlockSuffix=function(stmt,result){var ends=endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString());if(stmt.type===Syntax.BlockStatement&&(!extra.comment||!stmt.leadingComments)&&!ends){return[result,space]}if(ends){return[result,base]}return[result,newline,base]};function generateIdentifier(node){return toSourceNodeWhenNeeded(node.name,node)}function generateAsyncPrefix(node,spaceRequired){return node.async?"async"+(spaceRequired?noEmptySpace():space):""}function generateStarSuffix(node){var isGenerator=node.generator&&!extra.moz.starlessGenerator;return isGenerator?"*"+space:""}function generateMethodPrefix(prop){var func=prop.value,prefix="";if(func.async){prefix+=generateAsyncPrefix(func,!prop.computed)}if(func.generator){prefix+=generateStarSuffix(func)?"*":""}return prefix}CodeGenerator.prototype.generatePattern=function(node,precedence,flags){if(node.type===Syntax.Identifier){return generateIdentifier(node)}return this.generateExpression(node,precedence,flags)};CodeGenerator.prototype.generateFunctionParams=function(node){var i,iz,result,hasDefault;hasDefault=false;if(node.type===Syntax.ArrowFunctionExpression&&!node.rest&&(!node.defaults||node.defaults.length===0)&&node.params.length===1&&node.params[0].type===Syntax.Identifier){result=[generateAsyncPrefix(node,true),generateIdentifier(node.params[0])]}else{result=node.type===Syntax.ArrowFunctionExpression?[generateAsyncPrefix(node,false)]:[];result.push("(");if(node.defaults){hasDefault=true}for(i=0,iz=node.params.length;i<iz;++i){if(hasDefault&&node.defaults[i]){result.push(this.generateAssignment(node.params[i],node.defaults[i],"=",Precedence.Assignment,E_TTT))}else{result.push(this.generatePattern(node.params[i],Precedence.Assignment,E_TTT))}if(i+1<iz){result.push(","+space)}}if(node.rest){if(node.params.length){result.push(","+space)}result.push("...");result.push(generateIdentifier(node.rest))}result.push(")")}return result};CodeGenerator.prototype.generateFunctionBody=function(node){var result,expr;result=this.generateFunctionParams(node);if(node.type===Syntax.ArrowFunctionExpression){result.push(space);result.push("=>")}if(node.expression){result.push(space);expr=this.generateExpression(node.body,Precedence.Assignment,E_TTT);if(expr.toString().charAt(0)==="{"){expr=["(",expr,")"]}result.push(expr)}else{result.push(this.maybeBlock(node.body,S_TTFF))}return result};CodeGenerator.prototype.generateIterationForStatement=function(operator,stmt,flags){var result=["for"+(stmt.await?noEmptySpace()+"await":"")+space+"("],that=this;withIndent((function(){if(stmt.left.type===Syntax.VariableDeclaration){withIndent((function(){result.push(stmt.left.kind+noEmptySpace());result.push(that.generateStatement(stmt.left.declarations[0],S_FFFF))}))}else{result.push(that.generateExpression(stmt.left,Precedence.Call,E_TTT))}result=join(result,operator);result=[join(result,that.generateExpression(stmt.right,Precedence.Assignment,E_TTT)),")"]}));result.push(this.maybeBlock(stmt.body,flags));return result};CodeGenerator.prototype.generatePropertyKey=function(expr,computed){var result=[];if(computed){result.push("[")}result.push(this.generateExpression(expr,Precedence.Assignment,E_TTT));if(computed){result.push("]")}return result};CodeGenerator.prototype.generateAssignment=function(left,right,operator,precedence,flags){if(Precedence.Assignment<precedence){flags|=F_ALLOW_IN}return parenthesize([this.generateExpression(left,Precedence.Call,flags),space+operator+space,this.generateExpression(right,Precedence.Assignment,flags)],Precedence.Assignment,precedence)};CodeGenerator.prototype.semicolon=function(flags){if(!semicolons&&flags&F_SEMICOLON_OPT){return""}return";"};CodeGenerator.Statement={BlockStatement:function(stmt,flags){var range,content,result=["{",newline],that=this;withIndent((function(){if(stmt.body.length===0&&preserveBlankLines){range=stmt.range;if(range[1]-range[0]>2){content=sourceCode.substring(range[0]+1,range[1]-1);if(content[0]==="\n"){result=["{"]}result.push(content)}}var i,iz,fragment,bodyFlags;bodyFlags=S_TFFF;if(flags&F_FUNC_BODY){bodyFlags|=F_DIRECTIVE_CTX}for(i=0,iz=stmt.body.length;i<iz;++i){if(preserveBlankLines){if(i===0){if(stmt.body[0].leadingComments){range=stmt.body[0].leadingComments[0].extendedRange;content=sourceCode.substring(range[0],range[1]);if(content[0]==="\n"){result=["{"]}}if(!stmt.body[0].leadingComments){generateBlankLines(stmt.range[0],stmt.body[0].range[0],result)}}if(i>0){if(!stmt.body[i-1].trailingComments&&!stmt.body[i].leadingComments){generateBlankLines(stmt.body[i-1].range[1],stmt.body[i].range[0],result)}}}if(i===iz-1){bodyFlags|=F_SEMICOLON_OPT}if(stmt.body[i].leadingComments&&preserveBlankLines){fragment=that.generateStatement(stmt.body[i],bodyFlags)}else{fragment=addIndent(that.generateStatement(stmt.body[i],bodyFlags))}result.push(fragment);if(!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())){if(preserveBlankLines&&i<iz-1){if(!stmt.body[i+1].leadingComments){result.push(newline)}}else{result.push(newline)}}if(preserveBlankLines){if(i===iz-1){if(!stmt.body[i].trailingComments){generateBlankLines(stmt.body[i].range[1],stmt.range[1],result)}}}}}));result.push(addIndent("}"));return result},BreakStatement:function(stmt,flags){if(stmt.label){return"break "+stmt.label.name+this.semicolon(flags)}return"break"+this.semicolon(flags)},ContinueStatement:function(stmt,flags){if(stmt.label){return"continue "+stmt.label.name+this.semicolon(flags)}return"continue"+this.semicolon(flags)},ClassBody:function(stmt,flags){var result=["{",newline],that=this;withIndent((function(indent){var i,iz;for(i=0,iz=stmt.body.length;i<iz;++i){result.push(indent);result.push(that.generateExpression(stmt.body[i],Precedence.Sequence,E_TTT));if(i+1<iz){result.push(newline)}}}));if(!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())){result.push(newline)}result.push(base);result.push("}");return result},ClassDeclaration:function(stmt,flags){var result,fragment;result=["class"];if(stmt.id){result=join(result,this.generateExpression(stmt.id,Precedence.Sequence,E_TTT))}if(stmt.superClass){fragment=join("extends",this.generateExpression(stmt.superClass,Precedence.Unary,E_TTT));result=join(result,fragment)}result.push(space);result.push(this.generateStatement(stmt.body,S_TFFT));return result},DirectiveStatement:function(stmt,flags){if(extra.raw&&stmt.raw){return stmt.raw+this.semicolon(flags)}return escapeDirective(stmt.directive)+this.semicolon(flags)},DoWhileStatement:function(stmt,flags){var result=join("do",this.maybeBlock(stmt.body,S_TFFF));result=this.maybeBlockSuffix(stmt.body,result);return join(result,["while"+space+"(",this.generateExpression(stmt.test,Precedence.Sequence,E_TTT),")"+this.semicolon(flags)])},CatchClause:function(stmt,flags){var result,that=this;withIndent((function(){var guard;if(stmt.param){result=["catch"+space+"(",that.generateExpression(stmt.param,Precedence.Sequence,E_TTT),")"];if(stmt.guard){guard=that.generateExpression(stmt.guard,Precedence.Sequence,E_TTT);result.splice(2,0," if ",guard)}}else{result=["catch"]}}));result.push(this.maybeBlock(stmt.body,S_TFFF));return result},DebuggerStatement:function(stmt,flags){return"debugger"+this.semicolon(flags)},EmptyStatement:function(stmt,flags){return";"},ExportDefaultDeclaration:function(stmt,flags){var result=["export"],bodyFlags;bodyFlags=flags&F_SEMICOLON_OPT?S_TFFT:S_TFFF;result=join(result,"default");if(isStatement(stmt.declaration)){result=join(result,this.generateStatement(stmt.declaration,bodyFlags))}else{result=join(result,this.generateExpression(stmt.declaration,Precedence.Assignment,E_TTT)+this.semicolon(flags))}return result},ExportNamedDeclaration:function(stmt,flags){var result=["export"],bodyFlags,that=this;bodyFlags=flags&F_SEMICOLON_OPT?S_TFFT:S_TFFF;if(stmt.declaration){return join(result,this.generateStatement(stmt.declaration,bodyFlags))}if(stmt.specifiers){if(stmt.specifiers.length===0){result=join(result,"{"+space+"}")}else if(stmt.specifiers[0].type===Syntax.ExportBatchSpecifier){result=join(result,this.generateExpression(stmt.specifiers[0],Precedence.Sequence,E_TTT))}else{result=join(result,"{");withIndent((function(indent){var i,iz;result.push(newline);for(i=0,iz=stmt.specifiers.length;i<iz;++i){result.push(indent);result.push(that.generateExpression(stmt.specifiers[i],Precedence.Sequence,E_TTT));if(i+1<iz){result.push(","+newline)}}}));if(!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())){result.push(newline)}result.push(base+"}")}if(stmt.source){result=join(result,["from"+space,this.generateExpression(stmt.source,Precedence.Sequence,E_TTT),this.semicolon(flags)])}else{result.push(this.semicolon(flags))}}return result},ExportAllDeclaration:function(stmt,flags){return["export"+space,"*"+space,"from"+space,this.generateExpression(stmt.source,Precedence.Sequence,E_TTT),this.semicolon(flags)]},ExpressionStatement:function(stmt,flags){var result,fragment;function isClassPrefixed(fragment){var code;if(fragment.slice(0,5)!=="class"){return false}code=fragment.charCodeAt(5);return code===123||esutils.code.isWhiteSpace(code)||esutils.code.isLineTerminator(code)}function isFunctionPrefixed(fragment){var code;if(fragment.slice(0,8)!=="function"){return false}code=fragment.charCodeAt(8);return code===40||esutils.code.isWhiteSpace(code)||code===42||esutils.code.isLineTerminator(code)}function isAsyncPrefixed(fragment){var code,i,iz;if(fragment.slice(0,5)!=="async"){return false}if(!esutils.code.isWhiteSpace(fragment.charCodeAt(5))){return false}for(i=6,iz=fragment.length;i<iz;++i){if(!esutils.code.isWhiteSpace(fragment.charCodeAt(i))){break}}if(i===iz){return false}if(fragment.slice(i,i+8)!=="function"){return false}code=fragment.charCodeAt(i+8);return code===40||esutils.code.isWhiteSpace(code)||code===42||esutils.code.isLineTerminator(code)}result=[this.generateExpression(stmt.expression,Precedence.Sequence,E_TTT)];fragment=toSourceNodeWhenNeeded(result).toString();if(fragment.charCodeAt(0)===123||isClassPrefixed(fragment)||isFunctionPrefixed(fragment)||isAsyncPrefixed(fragment)||directive&&flags&F_DIRECTIVE_CTX&&stmt.expression.type===Syntax.Literal&&typeof stmt.expression.value==="string"){result=["(",result,")"+this.semicolon(flags)]}else{result.push(this.semicolon(flags))}return result},ImportDeclaration:function(stmt,flags){var result,cursor,that=this;if(stmt.specifiers.length===0){return["import",space,this.generateExpression(stmt.source,Precedence.Sequence,E_TTT),this.semicolon(flags)]}result=["import"];cursor=0;if(stmt.specifiers[cursor].type===Syntax.ImportDefaultSpecifier){result=join(result,[this.generateExpression(stmt.specifiers[cursor],Precedence.Sequence,E_TTT)]);++cursor}if(stmt.specifiers[cursor]){if(cursor!==0){result.push(",")}if(stmt.specifiers[cursor].type===Syntax.ImportNamespaceSpecifier){result=join(result,[space,this.generateExpression(stmt.specifiers[cursor],Precedence.Sequence,E_TTT)])}else{result.push(space+"{");if(stmt.specifiers.length-cursor===1){result.push(space);result.push(this.generateExpression(stmt.specifiers[cursor],Precedence.Sequence,E_TTT));result.push(space+"}"+space)}else{withIndent((function(indent){var i,iz;result.push(newline);for(i=cursor,iz=stmt.specifiers.length;i<iz;++i){result.push(indent);result.push(that.generateExpression(stmt.specifiers[i],Precedence.Sequence,E_TTT));if(i+1<iz){result.push(","+newline)}}}));if(!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())){result.push(newline)}result.push(base+"}"+space)}}}result=join(result,["from"+space,this.generateExpression(stmt.source,Precedence.Sequence,E_TTT),this.semicolon(flags)]);return result},VariableDeclarator:function(stmt,flags){var itemFlags=flags&F_ALLOW_IN?E_TTT:E_FTT;if(stmt.init){return[this.generateExpression(stmt.id,Precedence.Assignment,itemFlags),space,"=",space,this.generateExpression(stmt.init,Precedence.Assignment,itemFlags)]}return this.generatePattern(stmt.id,Precedence.Assignment,itemFlags)},VariableDeclaration:function(stmt,flags){var result,i,iz,node,bodyFlags,that=this;result=[stmt.kind];bodyFlags=flags&F_ALLOW_IN?S_TFFF:S_FFFF;function block(){node=stmt.declarations[0];if(extra.comment&&node.leadingComments){result.push("\n");result.push(addIndent(that.generateStatement(node,bodyFlags)))}else{result.push(noEmptySpace());result.push(that.generateStatement(node,bodyFlags))}for(i=1,iz=stmt.declarations.length;i<iz;++i){node=stmt.declarations[i];if(extra.comment&&node.leadingComments){result.push(","+newline);result.push(addIndent(that.generateStatement(node,bodyFlags)))}else{result.push(","+space);result.push(that.generateStatement(node,bodyFlags))}}}if(stmt.declarations.length>1){withIndent(block)}else{block()}result.push(this.semicolon(flags));return result},ThrowStatement:function(stmt,flags){return[join("throw",this.generateExpression(stmt.argument,Precedence.Sequence,E_TTT)),this.semicolon(flags)]},TryStatement:function(stmt,flags){var result,i,iz,guardedHandlers;result=["try",this.maybeBlock(stmt.block,S_TFFF)];result=this.maybeBlockSuffix(stmt.block,result);if(stmt.handlers){for(i=0,iz=stmt.handlers.length;i<iz;++i){result=join(result,this.generateStatement(stmt.handlers[i],S_TFFF));if(stmt.finalizer||i+1!==iz){result=this.maybeBlockSuffix(stmt.handlers[i].body,result)}}}else{guardedHandlers=stmt.guardedHandlers||[];for(i=0,iz=guardedHandlers.length;i<iz;++i){result=join(result,this.generateStatement(guardedHandlers[i],S_TFFF));if(stmt.finalizer||i+1!==iz){result=this.maybeBlockSuffix(guardedHandlers[i].body,result)}}if(stmt.handler){if(Array.isArray(stmt.handler)){for(i=0,iz=stmt.handler.length;i<iz;++i){result=join(result,this.generateStatement(stmt.handler[i],S_TFFF));if(stmt.finalizer||i+1!==iz){result=this.maybeBlockSuffix(stmt.handler[i].body,result)}}}else{result=join(result,this.generateStatement(stmt.handler,S_TFFF));if(stmt.finalizer){result=this.maybeBlockSuffix(stmt.handler.body,result)}}}}if(stmt.finalizer){result=join(result,["finally",this.maybeBlock(stmt.finalizer,S_TFFF)])}return result},SwitchStatement:function(stmt,flags){var result,fragment,i,iz,bodyFlags,that=this;withIndent((function(){result=["switch"+space+"(",that.generateExpression(stmt.discriminant,Precedence.Sequence,E_TTT),")"+space+"{"+newline]}));if(stmt.cases){bodyFlags=S_TFFF;for(i=0,iz=stmt.cases.length;i<iz;++i){if(i===iz-1){bodyFlags|=F_SEMICOLON_OPT}fragment=addIndent(this.generateStatement(stmt.cases[i],bodyFlags));result.push(fragment);if(!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())){result.push(newline)}}}result.push(addIndent("}"));return result},SwitchCase:function(stmt,flags){var result,fragment,i,iz,bodyFlags,that=this;withIndent((function(){if(stmt.test){result=[join("case",that.generateExpression(stmt.test,Precedence.Sequence,E_TTT)),":"]}else{result=["default:"]}i=0;iz=stmt.consequent.length;if(iz&&stmt.consequent[0].type===Syntax.BlockStatement){fragment=that.maybeBlock(stmt.consequent[0],S_TFFF);result.push(fragment);i=1}if(i!==iz&&!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())){result.push(newline)}bodyFlags=S_TFFF;for(;i<iz;++i){if(i===iz-1&&flags&F_SEMICOLON_OPT){bodyFlags|=F_SEMICOLON_OPT}fragment=addIndent(that.generateStatement(stmt.consequent[i],bodyFlags));result.push(fragment);if(i+1!==iz&&!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())){result.push(newline)}}}));return result},IfStatement:function(stmt,flags){var result,bodyFlags,semicolonOptional,that=this;withIndent((function(){result=["if"+space+"(",that.generateExpression(stmt.test,Precedence.Sequence,E_TTT),")"]}));semicolonOptional=flags&F_SEMICOLON_OPT;bodyFlags=S_TFFF;if(semicolonOptional){bodyFlags|=F_SEMICOLON_OPT}if(stmt.alternate){result.push(this.maybeBlock(stmt.consequent,S_TFFF));result=this.maybeBlockSuffix(stmt.consequent,result);if(stmt.alternate.type===Syntax.IfStatement){result=join(result,["else ",this.generateStatement(stmt.alternate,bodyFlags)])}else{result=join(result,join("else",this.maybeBlock(stmt.alternate,bodyFlags)))}}else{result.push(this.maybeBlock(stmt.consequent,bodyFlags))}return result},ForStatement:function(stmt,flags){var result,that=this;withIndent((function(){result=["for"+space+"("];if(stmt.init){if(stmt.init.type===Syntax.VariableDeclaration){result.push(that.generateStatement(stmt.init,S_FFFF))}else{result.push(that.generateExpression(stmt.init,Precedence.Sequence,E_FTT));result.push(";")}}else{result.push(";")}if(stmt.test){result.push(space);result.push(that.generateExpression(stmt.test,Precedence.Sequence,E_TTT));result.push(";")}else{result.push(";")}if(stmt.update){result.push(space);result.push(that.generateExpression(stmt.update,Precedence.Sequence,E_TTT));result.push(")")}else{result.push(")")}}));result.push(this.maybeBlock(stmt.body,flags&F_SEMICOLON_OPT?S_TFFT:S_TFFF));return result},ForInStatement:function(stmt,flags){return this.generateIterationForStatement("in",stmt,flags&F_SEMICOLON_OPT?S_TFFT:S_TFFF)},ForOfStatement:function(stmt,flags){return this.generateIterationForStatement("of",stmt,flags&F_SEMICOLON_OPT?S_TFFT:S_TFFF)},LabeledStatement:function(stmt,flags){return[stmt.label.name+":",this.maybeBlock(stmt.body,flags&F_SEMICOLON_OPT?S_TFFT:S_TFFF)]},Program:function(stmt,flags){var result,fragment,i,iz,bodyFlags;iz=stmt.body.length;result=[safeConcatenation&&iz>0?"\n":""];bodyFlags=S_TFTF;for(i=0;i<iz;++i){if(!safeConcatenation&&i===iz-1){bodyFlags|=F_SEMICOLON_OPT}if(preserveBlankLines){if(i===0){if(!stmt.body[0].leadingComments){generateBlankLines(stmt.range[0],stmt.body[i].range[0],result)}}if(i>0){if(!stmt.body[i-1].trailingComments&&!stmt.body[i].leadingComments){generateBlankLines(stmt.body[i-1].range[1],stmt.body[i].range[0],result)}}}fragment=addIndent(this.generateStatement(stmt.body[i],bodyFlags));result.push(fragment);if(i+1<iz&&!endsWithLineTerminator(toSourceNodeWhenNeeded(fragment).toString())){if(preserveBlankLines){if(!stmt.body[i+1].leadingComments){result.push(newline)}}else{result.push(newline)}}if(preserveBlankLines){if(i===iz-1){if(!stmt.body[i].trailingComments){generateBlankLines(stmt.body[i].range[1],stmt.range[1],result)}}}}return result},FunctionDeclaration:function(stmt,flags){return[generateAsyncPrefix(stmt,true),"function",generateStarSuffix(stmt)||noEmptySpace(),stmt.id?generateIdentifier(stmt.id):"",this.generateFunctionBody(stmt)]},ReturnStatement:function(stmt,flags){if(stmt.argument){return[join("return",this.generateExpression(stmt.argument,Precedence.Sequence,E_TTT)),this.semicolon(flags)]}return["return"+this.semicolon(flags)]},WhileStatement:function(stmt,flags){var result,that=this;withIndent((function(){result=["while"+space+"(",that.generateExpression(stmt.test,Precedence.Sequence,E_TTT),")"]}));result.push(this.maybeBlock(stmt.body,flags&F_SEMICOLON_OPT?S_TFFT:S_TFFF));return result},WithStatement:function(stmt,flags){var result,that=this;withIndent((function(){result=["with"+space+"(",that.generateExpression(stmt.object,Precedence.Sequence,E_TTT),")"]}));result.push(this.maybeBlock(stmt.body,flags&F_SEMICOLON_OPT?S_TFFT:S_TFFF));return result}};merge(CodeGenerator.prototype,CodeGenerator.Statement);CodeGenerator.Expression={SequenceExpression:function(expr,precedence,flags){var result,i,iz;if(Precedence.Sequence<precedence){flags|=F_ALLOW_IN}result=[];for(i=0,iz=expr.expressions.length;i<iz;++i){result.push(this.generateExpression(expr.expressions[i],Precedence.Assignment,flags));if(i+1<iz){result.push(","+space)}}return parenthesize(result,Precedence.Sequence,precedence)},AssignmentExpression:function(expr,precedence,flags){return this.generateAssignment(expr.left,expr.right,expr.operator,precedence,flags)},ArrowFunctionExpression:function(expr,precedence,flags){return parenthesize(this.generateFunctionBody(expr),Precedence.ArrowFunction,precedence)},ConditionalExpression:function(expr,precedence,flags){if(Precedence.Conditional<precedence){flags|=F_ALLOW_IN}return parenthesize([this.generateExpression(expr.test,Precedence.LogicalOR,flags),space+"?"+space,this.generateExpression(expr.consequent,Precedence.Assignment,flags),space+":"+space,this.generateExpression(expr.alternate,Precedence.Assignment,flags)],Precedence.Conditional,precedence)},LogicalExpression:function(expr,precedence,flags){return this.BinaryExpression(expr,precedence,flags)},BinaryExpression:function(expr,precedence,flags){var result,leftPrecedence,rightPrecedence,currentPrecedence,fragment,leftSource;currentPrecedence=BinaryPrecedence[expr.operator];leftPrecedence=expr.operator==="**"?Precedence.Postfix:currentPrecedence;rightPrecedence=expr.operator==="**"?currentPrecedence:currentPrecedence+1;if(currentPrecedence<precedence){flags|=F_ALLOW_IN}fragment=this.generateExpression(expr.left,leftPrecedence,flags);leftSource=fragment.toString();if(leftSource.charCodeAt(leftSource.length-1)===47&&esutils.code.isIdentifierPartES5(expr.operator.charCodeAt(0))){result=[fragment,noEmptySpace(),expr.operator]}else{result=join(fragment,expr.operator)}fragment=this.generateExpression(expr.right,rightPrecedence,flags);if(expr.operator==="/"&&fragment.toString().charAt(0)==="/"||expr.operator.slice(-1)==="<"&&fragment.toString().slice(0,3)==="!--"){result.push(noEmptySpace());result.push(fragment)}else{result=join(result,fragment)}if(expr.operator==="in"&&!(flags&F_ALLOW_IN)){return["(",result,")"]}return parenthesize(result,currentPrecedence,precedence)},CallExpression:function(expr,precedence,flags){var result,i,iz;result=[this.generateExpression(expr.callee,Precedence.Call,E_TTF)];result.push("(");for(i=0,iz=expr["arguments"].length;i<iz;++i){result.push(this.generateExpression(expr["arguments"][i],Precedence.Assignment,E_TTT));if(i+1<iz){result.push(","+space)}}result.push(")");if(!(flags&F_ALLOW_CALL)){return["(",result,")"]}return parenthesize(result,Precedence.Call,precedence)},NewExpression:function(expr,precedence,flags){var result,length,i,iz,itemFlags;length=expr["arguments"].length;itemFlags=flags&F_ALLOW_UNPARATH_NEW&&!parentheses&&length===0?E_TFT:E_TFF;result=join("new",this.generateExpression(expr.callee,Precedence.New,itemFlags));if(!(flags&F_ALLOW_UNPARATH_NEW)||parentheses||length>0){result.push("(");for(i=0,iz=length;i<iz;++i){result.push(this.generateExpression(expr["arguments"][i],Precedence.Assignment,E_TTT));if(i+1<iz){result.push(","+space)}}result.push(")")}return parenthesize(result,Precedence.New,precedence)},MemberExpression:function(expr,precedence,flags){var result,fragment;result=[this.generateExpression(expr.object,Precedence.Call,flags&F_ALLOW_CALL?E_TTF:E_TFF)];if(expr.computed){result.push("[");result.push(this.generateExpression(expr.property,Precedence.Sequence,flags&F_ALLOW_CALL?E_TTT:E_TFT));result.push("]")}else{if(expr.object.type===Syntax.Literal&&typeof expr.object.value==="number"){fragment=toSourceNodeWhenNeeded(result).toString();if(fragment.indexOf(".")<0&&!/[eExX]/.test(fragment)&&esutils.code.isDecimalDigit(fragment.charCodeAt(fragment.length-1))&&!(fragment.length>=2&&fragment.charCodeAt(0)===48)){result.push(" ")}}result.push(".");result.push(generateIdentifier(expr.property))}return parenthesize(result,Precedence.Member,precedence)},MetaProperty:function(expr,precedence,flags){var result;result=[];result.push(typeof expr.meta==="string"?expr.meta:generateIdentifier(expr.meta));result.push(".");result.push(typeof expr.property==="string"?expr.property:generateIdentifier(expr.property));return parenthesize(result,Precedence.Member,precedence)},UnaryExpression:function(expr,precedence,flags){var result,fragment,rightCharCode,leftSource,leftCharCode;fragment=this.generateExpression(expr.argument,Precedence.Unary,E_TTT);if(space===""){result=join(expr.operator,fragment)}else{result=[expr.operator];if(expr.operator.length>2){result=join(result,fragment)}else{leftSource=toSourceNodeWhenNeeded(result).toString();leftCharCode=leftSource.charCodeAt(leftSource.length-1);rightCharCode=fragment.toString().charCodeAt(0);if((leftCharCode===43||leftCharCode===45)&&leftCharCode===rightCharCode||esutils.code.isIdentifierPartES5(leftCharCode)&&esutils.code.isIdentifierPartES5(rightCharCode)){result.push(noEmptySpace());result.push(fragment)}else{result.push(fragment)}}}return parenthesize(result,Precedence.Unary,precedence)},YieldExpression:function(expr,precedence,flags){var result;if(expr.delegate){result="yield*"}else{result="yield"}if(expr.argument){result=join(result,this.generateExpression(expr.argument,Precedence.Yield,E_TTT))}return parenthesize(result,Precedence.Yield,precedence)},AwaitExpression:function(expr,precedence,flags){var result=join(expr.all?"await*":"await",this.generateExpression(expr.argument,Precedence.Await,E_TTT));return parenthesize(result,Precedence.Await,precedence)},UpdateExpression:function(expr,precedence,flags){if(expr.prefix){return parenthesize([expr.operator,this.generateExpression(expr.argument,Precedence.Unary,E_TTT)],Precedence.Unary,precedence)}return parenthesize([this.generateExpression(expr.argument,Precedence.Postfix,E_TTT),expr.operator],Precedence.Postfix,precedence)},FunctionExpression:function(expr,precedence,flags){var result=[generateAsyncPrefix(expr,true),"function"];if(expr.id){result.push(generateStarSuffix(expr)||noEmptySpace());result.push(generateIdentifier(expr.id))}else{result.push(generateStarSuffix(expr)||space)}result.push(this.generateFunctionBody(expr));return result},ArrayPattern:function(expr,precedence,flags){return this.ArrayExpression(expr,precedence,flags,true)},ArrayExpression:function(expr,precedence,flags,isPattern){var result,multiline,that=this;if(!expr.elements.length){return"[]"}multiline=isPattern?false:expr.elements.length>1;result=["[",multiline?newline:""];withIndent((function(indent){var i,iz;for(i=0,iz=expr.elements.length;i<iz;++i){if(!expr.elements[i]){if(multiline){result.push(indent)}if(i+1===iz){result.push(",")}}else{result.push(multiline?indent:"");result.push(that.generateExpression(expr.elements[i],Precedence.Assignment,E_TTT))}if(i+1<iz){result.push(","+(multiline?newline:space))}}}));if(multiline&&!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())){result.push(newline)}result.push(multiline?base:"");result.push("]");return result},RestElement:function(expr,precedence,flags){return"..."+this.generatePattern(expr.argument)},ClassExpression:function(expr,precedence,flags){var result,fragment;result=["class"];if(expr.id){result=join(result,this.generateExpression(expr.id,Precedence.Sequence,E_TTT))}if(expr.superClass){fragment=join("extends",this.generateExpression(expr.superClass,Precedence.Unary,E_TTT));result=join(result,fragment)}result.push(space);result.push(this.generateStatement(expr.body,S_TFFT));return result},MethodDefinition:function(expr,precedence,flags){var result,fragment;if(expr["static"]){result=["static"+space]}else{result=[]}if(expr.kind==="get"||expr.kind==="set"){fragment=[join(expr.kind,this.generatePropertyKey(expr.key,expr.computed)),this.generateFunctionBody(expr.value)]}else{fragment=[generateMethodPrefix(expr),this.generatePropertyKey(expr.key,expr.computed),this.generateFunctionBody(expr.value)]}return join(result,fragment)},Property:function(expr,precedence,flags){if(expr.kind==="get"||expr.kind==="set"){return[expr.kind,noEmptySpace(),this.generatePropertyKey(expr.key,expr.computed),this.generateFunctionBody(expr.value)]}if(expr.shorthand){if(expr.value.type==="AssignmentPattern"){return this.AssignmentPattern(expr.value,Precedence.Sequence,E_TTT)}return this.generatePropertyKey(expr.key,expr.computed)}if(expr.method){return[generateMethodPrefix(expr),this.generatePropertyKey(expr.key,expr.computed),this.generateFunctionBody(expr.value)]}return[this.generatePropertyKey(expr.key,expr.computed),":"+space,this.generateExpression(expr.value,Precedence.Assignment,E_TTT)]},ObjectExpression:function(expr,precedence,flags){var multiline,result,fragment,that=this;if(!expr.properties.length){return"{}"}multiline=expr.properties.length>1;withIndent((function(){fragment=that.generateExpression(expr.properties[0],Precedence.Sequence,E_TTT)}));if(!multiline){if(!hasLineTerminator(toSourceNodeWhenNeeded(fragment).toString())){return["{",space,fragment,space,"}"]}}withIndent((function(indent){var i,iz;result=["{",newline,indent,fragment];if(multiline){result.push(","+newline);for(i=1,iz=expr.properties.length;i<iz;++i){result.push(indent);result.push(that.generateExpression(expr.properties[i],Precedence.Sequence,E_TTT));if(i+1<iz){result.push(","+newline)}}}}));if(!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())){result.push(newline)}result.push(base);result.push("}");return result},AssignmentPattern:function(expr,precedence,flags){return this.generateAssignment(expr.left,expr.right,"=",precedence,flags)},ObjectPattern:function(expr,precedence,flags){var result,i,iz,multiline,property,that=this;if(!expr.properties.length){return"{}"}multiline=false;if(expr.properties.length===1){property=expr.properties[0];if(property.type===Syntax.Property&&property.value.type!==Syntax.Identifier){multiline=true}}else{for(i=0,iz=expr.properties.length;i<iz;++i){property=expr.properties[i];if(property.type===Syntax.Property&&!property.shorthand){multiline=true;break}}}result=["{",multiline?newline:""];withIndent((function(indent){var i,iz;for(i=0,iz=expr.properties.length;i<iz;++i){result.push(multiline?indent:"");result.push(that.generateExpression(expr.properties[i],Precedence.Sequence,E_TTT));if(i+1<iz){result.push(","+(multiline?newline:space))}}}));if(multiline&&!endsWithLineTerminator(toSourceNodeWhenNeeded(result).toString())){result.push(newline)}result.push(multiline?base:"");result.push("}");return result},ThisExpression:function(expr,precedence,flags){return"this"},Super:function(expr,precedence,flags){return"super"},Identifier:function(expr,precedence,flags){return generateIdentifier(expr)},ImportDefaultSpecifier:function(expr,precedence,flags){return generateIdentifier(expr.id||expr.local)},ImportNamespaceSpecifier:function(expr,precedence,flags){var result=["*"];var id=expr.id||expr.local;if(id){result.push(space+"as"+noEmptySpace()+generateIdentifier(id))}return result},ImportSpecifier:function(expr,precedence,flags){var imported=expr.imported;var result=[imported.name];var local=expr.local;if(local&&local.name!==imported.name){result.push(noEmptySpace()+"as"+noEmptySpace()+generateIdentifier(local))}return result},ExportSpecifier:function(expr,precedence,flags){var local=expr.local;var result=[local.name];var exported=expr.exported;if(exported&&exported.name!==local.name){result.push(noEmptySpace()+"as"+noEmptySpace()+generateIdentifier(exported))}return result},Literal:function(expr,precedence,flags){var raw;if(expr.hasOwnProperty("raw")&&parse&&extra.raw){try{raw=parse(expr.raw).body[0].expression;if(raw.type===Syntax.Literal){if(raw.value===expr.value){return expr.raw}}}catch(e){}}if(expr.regex){return"/"+expr.regex.pattern+"/"+expr.regex.flags}if(expr.value===null){return"null"}if(typeof expr.value==="string"){return escapeString(expr.value)}if(typeof expr.value==="number"){return generateNumber(expr.value)}if(typeof expr.value==="boolean"){return expr.value?"true":"false"}return generateRegExp(expr.value)},GeneratorExpression:function(expr,precedence,flags){return this.ComprehensionExpression(expr,precedence,flags)},ComprehensionExpression:function(expr,precedence,flags){var result,i,iz,fragment,that=this;result=expr.type===Syntax.GeneratorExpression?["("]:["["];if(extra.moz.comprehensionExpressionStartsWithAssignment){fragment=this.generateExpression(expr.body,Precedence.Assignment,E_TTT);result.push(fragment)}if(expr.blocks){withIndent((function(){for(i=0,iz=expr.blocks.length;i<iz;++i){fragment=that.generateExpression(expr.blocks[i],Precedence.Sequence,E_TTT);if(i>0||extra.moz.comprehensionExpressionStartsWithAssignment){result=join(result,fragment)}else{result.push(fragment)}}}))}if(expr.filter){result=join(result,"if"+space);fragment=this.generateExpression(expr.filter,Precedence.Sequence,E_TTT);result=join(result,["(",fragment,")"])}if(!extra.moz.comprehensionExpressionStartsWithAssignment){fragment=this.generateExpression(expr.body,Precedence.Assignment,E_TTT);result=join(result,fragment)}result.push(expr.type===Syntax.GeneratorExpression?")":"]");return result},ComprehensionBlock:function(expr,precedence,flags){var fragment;if(expr.left.type===Syntax.VariableDeclaration){fragment=[expr.left.kind,noEmptySpace(),this.generateStatement(expr.left.declarations[0],S_FFFF)]}else{fragment=this.generateExpression(expr.left,Precedence.Call,E_TTT)}fragment=join(fragment,expr.of?"of":"in");fragment=join(fragment,this.generateExpression(expr.right,Precedence.Sequence,E_TTT));return["for"+space+"(",fragment,")"]},SpreadElement:function(expr,precedence,flags){return["...",this.generateExpression(expr.argument,Precedence.Assignment,E_TTT)]},TaggedTemplateExpression:function(expr,precedence,flags){var itemFlags=E_TTF;if(!(flags&F_ALLOW_CALL)){itemFlags=E_TFF}var result=[this.generateExpression(expr.tag,Precedence.Call,itemFlags),this.generateExpression(expr.quasi,Precedence.Primary,E_FFT)];return parenthesize(result,Precedence.TaggedTemplate,precedence)},TemplateElement:function(expr,precedence,flags){return expr.value.raw},TemplateLiteral:function(expr,precedence,flags){var result,i,iz;result=["`"];for(i=0,iz=expr.quasis.length;i<iz;++i){result.push(this.generateExpression(expr.quasis[i],Precedence.Primary,E_TTT));if(i+1<iz){result.push("${"+space);result.push(this.generateExpression(expr.expressions[i],Precedence.Sequence,E_TTT));result.push(space+"}")}}result.push("`");return result},ModuleSpecifier:function(expr,precedence,flags){return this.Literal(expr,precedence,flags)},ImportExpression:function(expr,precedence,flag){return parenthesize(["import(",this.generateExpression(expr.source,Precedence.Assignment,E_TTT),")"],Precedence.Call,precedence)}};merge(CodeGenerator.prototype,CodeGenerator.Expression);CodeGenerator.prototype.generateExpression=function(expr,precedence,flags){var result,type;type=expr.type||Syntax.Property;if(extra.verbatim&&expr.hasOwnProperty(extra.verbatim)){return generateVerbatim(expr,precedence)}result=this[type](expr,precedence,flags);if(extra.comment){result=addComments(expr,result)}return toSourceNodeWhenNeeded(result,expr)};CodeGenerator.prototype.generateStatement=function(stmt,flags){var result,fragment;result=this[stmt.type](stmt,flags);if(extra.comment){result=addComments(stmt,result)}fragment=toSourceNodeWhenNeeded(result).toString();if(stmt.type===Syntax.Program&&!safeConcatenation&&newline===""&&fragment.charAt(fragment.length-1)==="\n"){result=sourceMap?toSourceNodeWhenNeeded(result).replaceRight(/\s+$/,""):fragment.replace(/\s+$/,"")}return toSourceNodeWhenNeeded(result,stmt)};function generateInternal(node){var codegen;codegen=new CodeGenerator;if(isStatement(node)){return codegen.generateStatement(node,S_TFFF)}if(isExpression(node)){return codegen.generateExpression(node,Precedence.Sequence,E_TTT)}throw new Error("Unknown node type: "+node.type)}function generate(node,options){var defaultOptions=getDefaultOptions(),result,pair;if(options!=null){if(typeof options.indent==="string"){defaultOptions.format.indent.style=options.indent}if(typeof options.base==="number"){defaultOptions.format.indent.base=options.base}options=updateDeeply(defaultOptions,options);indent=options.format.indent.style;if(typeof options.base==="string"){base=options.base}else{base=stringRepeat(indent,options.format.indent.base)}}else{options=defaultOptions;indent=options.format.indent.style;base=stringRepeat(indent,options.format.indent.base)}json=options.format.json;renumber=options.format.renumber;hexadecimal=json?false:options.format.hexadecimal;quotes=json?"double":options.format.quotes;escapeless=options.format.escapeless;newline=options.format.newline;space=options.format.space;if(options.format.compact){newline=space=indent=base=""}parentheses=options.format.parentheses;semicolons=options.format.semicolons;safeConcatenation=options.format.safeConcatenation;directive=options.directive;parse=json?null:options.parse;sourceMap=options.sourceMap;sourceCode=options.sourceCode;preserveBlankLines=options.format.preserveBlankLines&&sourceCode!==null;extra=options;if(sourceMap){if(!exports.browser){SourceNode=require("source-map").SourceNode}else{SourceNode=global.sourceMap.SourceNode}}result=generateInternal(node);if(!sourceMap){pair={code:result.toString(),map:null};return options.sourceMapWithCode?pair:pair.code}pair=result.toStringWithSourceMap({file:options.file,sourceRoot:options.sourceMapRoot});if(options.sourceContent){pair.map.setSourceContent(options.sourceMap,options.sourceContent)}if(options.sourceMapWithCode){return pair}return pair.map.toString()}FORMAT_MINIFY={indent:{style:"",base:0},renumber:true,hexadecimal:true,quotes:"auto",escapeless:true,compact:true,parentheses:false,semicolons:false};FORMAT_DEFAULTS=getDefaultOptions().format;exports.version=require("./package.json").version;exports.generate=generate;exports.attachComments=estraverse.attachComments;exports.Precedence=updateDeeply({},Precedence);exports.browser=false;exports.FORMAT_MINIFY=FORMAT_MINIFY;exports.FORMAT_DEFAULTS=FORMAT_DEFAULTS})()}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./package.json":234,estraverse:235,esutils:240,"source-map":928}],234:[function(require,module,exports){module.exports={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/estools/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},files:["LICENSE.BSD","README.md","bin","escodegen.js","package.json"],version:"1.14.3",engines:{node:">=4.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^4.2.0",esutils:"^2.0.2",esprima:"^4.0.1",optionator:"^0.8.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^7.1.0",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^3.5.0","commonjs-everywhere":"^0.9.7",gulp:"^3.8.10","gulp-eslint":"^3.0.1","gulp-mocha":"^3.0.1",semver:"^5.1.0"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}},{}],235:[function(require,module,exports){(function clone(exports){"use strict";var Syntax,VisitorOption,VisitorKeys,BREAK,SKIP,REMOVE;function deepCopy(obj){var ret={},key,val;for(key in obj){if(obj.hasOwnProperty(key)){val=obj[key];if(typeof val==="object"&&val!==null){ret[key]=deepCopy(val)}else{ret[key]=val}}}return ret}function upperBound(array,func){var diff,len,i,current;len=array.length;i=0;while(len){diff=len>>>1;current=i+diff;if(func(array[current])){len=diff}else{i=current+1;len-=diff+1}}return i}Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};VisitorKeys={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};BREAK={};SKIP={};REMOVE={};VisitorOption={Break:BREAK,Skip:SKIP,Remove:REMOVE};function Reference(parent,key){this.parent=parent;this.key=key}Reference.prototype.replace=function replace(node){this.parent[this.key]=node};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(node,path,wrap,ref){this.node=node;this.path=path;this.wrap=wrap;this.ref=ref}function Controller(){}Controller.prototype.path=function path(){var i,iz,j,jz,result,element;function addToPath(result,path){if(Array.isArray(path)){for(j=0,jz=path.length;j<jz;++j){result.push(path[j])}}else{result.push(path)}}if(!this.__current.path){return null}result=[];for(i=2,iz=this.__leavelist.length;i<iz;++i){element=this.__leavelist[i];addToPath(result,element.path)}addToPath(result,this.__current.path);return result};Controller.prototype.type=function(){var node=this.current();return node.type||this.__current.wrap};Controller.prototype.parents=function parents(){var i,iz,result;result=[];for(i=1,iz=this.__leavelist.length;i<iz;++i){result.push(this.__leavelist[i].node)}return result};Controller.prototype.current=function current(){return this.__current.node};Controller.prototype.__execute=function __execute(callback,element){var previous,result;result=undefined;previous=this.__current;this.__current=element;this.__state=null;if(callback){result=callback.call(this,element.node,this.__leavelist[this.__leavelist.length-1].node)}this.__current=previous;return result};Controller.prototype.notify=function notify(flag){this.__state=flag};Controller.prototype.skip=function(){this.notify(SKIP)};Controller.prototype["break"]=function(){this.notify(BREAK)};Controller.prototype.remove=function(){this.notify(REMOVE)};Controller.prototype.__initialize=function(root,visitor){this.visitor=visitor;this.root=root;this.__worklist=[];this.__leavelist=[];this.__current=null;this.__state=null;this.__fallback=null;if(visitor.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof visitor.fallback==="function"){this.__fallback=visitor.fallback}this.__keys=VisitorKeys;if(visitor.keys){this.__keys=Object.assign(Object.create(this.__keys),visitor.keys)}};function isNode(node){if(node==null){return false}return typeof node==="object"&&typeof node.type==="string"}function isProperty(nodeType,key){return(nodeType===Syntax.ObjectExpression||nodeType===Syntax.ObjectPattern)&&"properties"===key}Controller.prototype.traverse=function traverse(root,visitor){var worklist,leavelist,element,node,nodeType,ret,key,current,current2,candidates,candidate,sentinel;this.__initialize(root,visitor);sentinel={};worklist=this.__worklist;leavelist=this.__leavelist;worklist.push(new Element(root,null,null,null));leavelist.push(new Element(null,null,null,null));while(worklist.length){element=worklist.pop();if(element===sentinel){element=leavelist.pop();ret=this.__execute(visitor.leave,element);if(this.__state===BREAK||ret===BREAK){return}continue}if(element.node){ret=this.__execute(visitor.enter,element);if(this.__state===BREAK||ret===BREAK){return}worklist.push(sentinel);leavelist.push(element);if(this.__state===SKIP||ret===SKIP){continue}node=element.node;nodeType=node.type||element.wrap;candidates=this.__keys[nodeType];if(!candidates){if(this.__fallback){candidates=this.__fallback(node)}else{throw new Error("Unknown node type "+nodeType+".")}}current=candidates.length;while((current-=1)>=0){key=candidates[current];candidate=node[key];if(!candidate){continue}if(Array.isArray(candidate)){current2=candidate.length;while((current2-=1)>=0){if(!candidate[current2]){continue}if(isProperty(nodeType,candidates[current])){element=new Element(candidate[current2],[key,current2],"Property",null)}else if(isNode(candidate[current2])){element=new Element(candidate[current2],[key,current2],null,null)}else{continue}worklist.push(element)}}else if(isNode(candidate)){worklist.push(new Element(candidate,key,null,null))}}}}};Controller.prototype.replace=function replace(root,visitor){var worklist,leavelist,node,nodeType,target,element,current,current2,candidates,candidate,sentinel,outer,key;function removeElem(element){var i,key,nextElem,parent;if(element.ref.remove()){key=element.ref.key;parent=element.ref.parent;i=worklist.length;while(i--){nextElem=worklist[i];if(nextElem.ref&&nextElem.ref.parent===parent){if(nextElem.ref.key<key){break}--nextElem.ref.key}}}}this.__initialize(root,visitor);sentinel={};worklist=this.__worklist;leavelist=this.__leavelist;outer={root:root};element=new Element(root,null,null,new Reference(outer,"root"));worklist.push(element);leavelist.push(element);while(worklist.length){element=worklist.pop();if(element===sentinel){element=leavelist.pop();target=this.__execute(visitor.leave,element);if(target!==undefined&&target!==BREAK&&target!==SKIP&&target!==REMOVE){element.ref.replace(target)}if(this.__state===REMOVE||target===REMOVE){removeElem(element)}if(this.__state===BREAK||target===BREAK){return outer.root}continue}target=this.__execute(visitor.enter,element);if(target!==undefined&&target!==BREAK&&target!==SKIP&&target!==REMOVE){element.ref.replace(target);element.node=target}if(this.__state===REMOVE||target===REMOVE){removeElem(element);element.node=null}if(this.__state===BREAK||target===BREAK){return outer.root}node=element.node;if(!node){continue}worklist.push(sentinel);leavelist.push(element);if(this.__state===SKIP||target===SKIP){continue}nodeType=node.type||element.wrap;candidates=this.__keys[nodeType];if(!candidates){if(this.__fallback){candidates=this.__fallback(node)}else{throw new Error("Unknown node type "+nodeType+".")}}current=candidates.length;while((current-=1)>=0){key=candidates[current];candidate=node[key];if(!candidate){continue}if(Array.isArray(candidate)){current2=candidate.length;while((current2-=1)>=0){if(!candidate[current2]){continue}if(isProperty(nodeType,candidates[current])){element=new Element(candidate[current2],[key,current2],"Property",new Reference(candidate,current2))}else if(isNode(candidate[current2])){element=new Element(candidate[current2],[key,current2],null,new Reference(candidate,current2))}else{continue}worklist.push(element)}}else if(isNode(candidate)){worklist.push(new Element(candidate,key,null,new Reference(node,key)))}}}return outer.root};function traverse(root,visitor){var controller=new Controller;return controller.traverse(root,visitor)}function replace(root,visitor){var controller=new Controller;return controller.replace(root,visitor)}function extendCommentRange(comment,tokens){var target;target=upperBound(tokens,(function search(token){return token.range[0]>comment.range[0]}));comment.extendedRange=[comment.range[0],comment.range[1]];if(target!==tokens.length){comment.extendedRange[1]=tokens[target].range[0]}target-=1;if(target>=0){comment.extendedRange[0]=tokens[target].range[1]}return comment}function attachComments(tree,providedComments,tokens){var comments=[],comment,len,i,cursor;if(!tree.range){throw new Error("attachComments needs range information")}if(!tokens.length){if(providedComments.length){for(i=0,len=providedComments.length;i<len;i+=1){comment=deepCopy(providedComments[i]);comment.extendedRange=[0,tree.range[0]];comments.push(comment)}tree.leadingComments=comments}return tree}for(i=0,len=providedComments.length;i<len;i+=1){comments.push(extendCommentRange(deepCopy(providedComments[i]),tokens))}cursor=0;traverse(tree,{enter:function(node){var comment;while(cursor<comments.length){comment=comments[cursor];if(comment.extendedRange[1]>node.range[0]){break}if(comment.extendedRange[1]===node.range[0]){if(!node.leadingComments){node.leadingComments=[]}node.leadingComments.push(comment);comments.splice(cursor,1)}else{cursor+=1}}if(cursor===comments.length){return VisitorOption.Break}if(comments[cursor].extendedRange[0]>node.range[1]){return VisitorOption.Skip}}});cursor=0;traverse(tree,{leave:function(node){var comment;while(cursor<comments.length){comment=comments[cursor];if(node.range[1]<comment.extendedRange[0]){break}if(node.range[1]===comment.extendedRange[0]){if(!node.trailingComments){node.trailingComments=[]}node.trailingComments.push(comment);comments.splice(cursor,1)}else{cursor+=1}}if(cursor===comments.length){return VisitorOption.Break}if(comments[cursor].extendedRange[0]>node.range[1]){return VisitorOption.Skip}}});return tree}exports.version=require("./package.json").version;exports.Syntax=Syntax;exports.traverse=traverse;exports.replace=replace;exports.attachComments=attachComments;exports.VisitorKeys=VisitorKeys;exports.VisitorOption=VisitorOption;exports.Controller=Controller;exports.cloneEnvironment=function(){return clone({})};return exports})(exports)},{"./package.json":236}],236:[function(require,module,exports){module.exports={name:"estraverse",description:"ECMAScript JS AST traversal functions",homepage:"https://github.com/estools/estraverse",main:"estraverse.js",version:"4.3.0",engines:{node:">=4.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/estraverse.git"},devDependencies:{"babel-preset-env":"^1.6.1","babel-register":"^6.3.13",chai:"^2.1.1",espree:"^1.11.0",gulp:"^3.8.10","gulp-bump":"^0.2.2","gulp-filter":"^2.0.0","gulp-git":"^1.0.1","gulp-tag-version":"^1.3.0",jshint:"^2.5.6",mocha:"^2.1.0"},license:"BSD-2-Clause",scripts:{test:"npm run-script lint && npm run-script unit-test",lint:"jshint estraverse.js","unit-test":"mocha --compilers js:babel-register"}}},{}],237:[function(require,module,exports){(function(){"use strict";function isExpression(node){if(node==null){return false}switch(node.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return true}return false}function isIterationStatement(node){if(node==null){return false}switch(node.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return true}return false}function isStatement(node){if(node==null){return false}switch(node.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return true}return false}function isSourceElement(node){return isStatement(node)||node!=null&&node.type==="FunctionDeclaration"}function trailingStatement(node){switch(node.type){case"IfStatement":if(node.alternate!=null){return node.alternate}return node.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return node.body}return null}function isProblematicIfStatement(node){var current;if(node.type!=="IfStatement"){return false}if(node.alternate==null){return false}current=node.consequent;do{if(current.type==="IfStatement"){if(current.alternate==null){return true}}current=trailingStatement(current)}while(current);return false}module.exports={isExpression:isExpression,isStatement:isStatement,isIterationStatement:isIterationStatement,isSourceElement:isSourceElement,isProblematicIfStatement:isProblematicIfStatement,trailingStatement:trailingStatement}})()},{}],238:[function(require,module,exports){(function(){"use strict";var ES6Regex,ES5Regex,NON_ASCII_WHITESPACES,IDENTIFIER_START,IDENTIFIER_PART,ch;ES5Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/};ES6Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function isDecimalDigit(ch){return 48<=ch&&ch<=57}function isHexDigit(ch){return 48<=ch&&ch<=57||97<=ch&&ch<=102||65<=ch&&ch<=70}function isOctalDigit(ch){return ch>=48&&ch<=55}NON_ASCII_WHITESPACES=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function isWhiteSpace(ch){return ch===32||ch===9||ch===11||ch===12||ch===160||ch>=5760&&NON_ASCII_WHITESPACES.indexOf(ch)>=0}function isLineTerminator(ch){return ch===10||ch===13||ch===8232||ch===8233}function fromCodePoint(cp){if(cp<=65535){return String.fromCharCode(cp)}var cu1=String.fromCharCode(Math.floor((cp-65536)/1024)+55296);var cu2=String.fromCharCode((cp-65536)%1024+56320);return cu1+cu2}IDENTIFIER_START=new Array(128);for(ch=0;ch<128;++ch){IDENTIFIER_START[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||ch===36||ch===95}IDENTIFIER_PART=new Array(128);for(ch=0;ch<128;++ch){IDENTIFIER_PART[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57||ch===36||ch===95}function isIdentifierStartES5(ch){return ch<128?IDENTIFIER_START[ch]:ES5Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))}function isIdentifierPartES5(ch){return ch<128?IDENTIFIER_PART[ch]:ES5Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))}function isIdentifierStartES6(ch){return ch<128?IDENTIFIER_START[ch]:ES6Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))}function isIdentifierPartES6(ch){return ch<128?IDENTIFIER_PART[ch]:ES6Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))}module.exports={isDecimalDigit:isDecimalDigit,isHexDigit:isHexDigit,isOctalDigit:isOctalDigit,isWhiteSpace:isWhiteSpace,isLineTerminator:isLineTerminator,isIdentifierStartES5:isIdentifierStartES5,isIdentifierPartES5:isIdentifierPartES5,isIdentifierStartES6:isIdentifierStartES6,isIdentifierPartES6:isIdentifierPartES6}})()},{}],239:[function(require,module,exports){(function(){"use strict";var code=require("./code");function isStrictModeReservedWordES6(id){switch(id){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return true;default:return false}}function isKeywordES5(id,strict){if(!strict&&id==="yield"){return false}return isKeywordES6(id,strict)}function isKeywordES6(id,strict){if(strict&&isStrictModeReservedWordES6(id)){return true}switch(id.length){case 2:return id==="if"||id==="in"||id==="do";case 3:return id==="var"||id==="for"||id==="new"||id==="try";case 4:return id==="this"||id==="else"||id==="case"||id==="void"||id==="with"||id==="enum";case 5:return id==="while"||id==="break"||id==="catch"||id==="throw"||id==="const"||id==="yield"||id==="class"||id==="super";case 6:return id==="return"||id==="typeof"||id==="delete"||id==="switch"||id==="export"||id==="import";case 7:return id==="default"||id==="finally"||id==="extends";case 8:return id==="function"||id==="continue"||id==="debugger";case 10:return id==="instanceof";default:return false}}function isReservedWordES5(id,strict){return id==="null"||id==="true"||id==="false"||isKeywordES5(id,strict)}function isReservedWordES6(id,strict){return id==="null"||id==="true"||id==="false"||isKeywordES6(id,strict)}function isRestrictedWord(id){return id==="eval"||id==="arguments"}function isIdentifierNameES5(id){var i,iz,ch;if(id.length===0){return false}ch=id.charCodeAt(0);if(!code.isIdentifierStartES5(ch)){return false}for(i=1,iz=id.length;i<iz;++i){ch=id.charCodeAt(i);if(!code.isIdentifierPartES5(ch)){return false}}return true}function decodeUtf16(lead,trail){return(lead-55296)*1024+(trail-56320)+65536}function isIdentifierNameES6(id){var i,iz,ch,lowCh,check;if(id.length===0){return false}check=code.isIdentifierStartES6;for(i=0,iz=id.length;i<iz;++i){ch=id.charCodeAt(i);if(55296<=ch&&ch<=56319){++i;if(i>=iz){return false}lowCh=id.charCodeAt(i);if(!(56320<=lowCh&&lowCh<=57343)){return false}ch=decodeUtf16(ch,lowCh)}if(!check(ch)){return false}check=code.isIdentifierPartES6}return true}function isIdentifierES5(id,strict){return isIdentifierNameES5(id)&&!isReservedWordES5(id,strict)}function isIdentifierES6(id,strict){return isIdentifierNameES6(id)&&!isReservedWordES6(id,strict)}module.exports={isKeywordES5:isKeywordES5,isKeywordES6:isKeywordES6,isReservedWordES5:isReservedWordES5,isReservedWordES6:isReservedWordES6,isRestrictedWord:isRestrictedWord,isIdentifierNameES5:isIdentifierNameES5,isIdentifierNameES6:isIdentifierNameES6,isIdentifierES5:isIdentifierES5,isIdentifierES6:isIdentifierES6}})()},{"./code":238}],240:[function(require,module,exports){(function(){"use strict";exports.ast=require("./ast");exports.code=require("./code");exports.keyword=require("./keyword")})()},{"./ast":237,"./code":238,"./keyword":239}],241:[function(require,module,exports){var objectCreate=Object.create||objectCreatePolyfill;var objectKeys=Object.keys||objectKeysPolyfill;var bind=Function.prototype.bind||functionBindPolyfill;function EventEmitter(){if(!this._events||!Object.prototype.hasOwnProperty.call(this,"_events")){this._events=objectCreate(null);this._eventsCount=0}this._maxListeners=this._maxListeners||undefined}module.exports=EventEmitter;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=undefined;EventEmitter.prototype._maxListeners=undefined;var defaultMaxListeners=10;var hasDefineProperty;try{var o={};if(Object.defineProperty)Object.defineProperty(o,"x",{value:0});hasDefineProperty=o.x===0}catch(err){hasDefineProperty=false}if(hasDefineProperty){Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:true,get:function(){return defaultMaxListeners},set:function(arg){if(typeof arg!=="number"||arg<0||arg!==arg)throw new TypeError('"defaultMaxListeners" must be a positive number');defaultMaxListeners=arg}})}else{EventEmitter.defaultMaxListeners=defaultMaxListeners}EventEmitter.prototype.setMaxListeners=function setMaxListeners(n){if(typeof n!=="number"||n<0||isNaN(n))throw new TypeError('"n" argument must be a positive number');this._maxListeners=n;return this};function $getMaxListeners(that){if(that._maxListeners===undefined)return EventEmitter.defaultMaxListeners;return that._maxListeners}EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return $getMaxListeners(this)};function emitNone(handler,isFn,self){if(isFn)handler.call(self);else{var len=handler.length;var listeners=arrayClone(handler,len);for(var i=0;i<len;++i)listeners[i].call(self)}}function emitOne(handler,isFn,self,arg1){if(isFn)handler.call(self,arg1);else{var len=handler.length;var listeners=arrayClone(handler,len);for(var i=0;i<len;++i)listeners[i].call(self,arg1)}}function emitTwo(handler,isFn,self,arg1,arg2){if(isFn)handler.call(self,arg1,arg2);else{var len=handler.length;var listeners=arrayClone(handler,len);for(var i=0;i<len;++i)listeners[i].call(self,arg1,arg2)}}function emitThree(handler,isFn,self,arg1,arg2,arg3){if(isFn)handler.call(self,arg1,arg2,arg3);else{var len=handler.length;var listeners=arrayClone(handler,len);for(var i=0;i<len;++i)listeners[i].call(self,arg1,arg2,arg3)}}function emitMany(handler,isFn,self,args){if(isFn)handler.apply(self,args);else{var len=handler.length;var listeners=arrayClone(handler,len);for(var i=0;i<len;++i)listeners[i].apply(self,args)}}EventEmitter.prototype.emit=function emit(type){var er,handler,len,args,i,events;var doError=type==="error";events=this._events;if(events)doError=doError&&events.error==null;else if(!doError)return false;if(doError){if(arguments.length>1)er=arguments[1];if(er instanceof Error){throw er}else{var err=new Error('Unhandled "error" event. ('+er+")");err.context=er;throw err}return false}handler=events[type];if(!handler)return false;var isFn=typeof handler==="function";len=arguments.length;switch(len){case 1:emitNone(handler,isFn,this);break;case 2:emitOne(handler,isFn,this,arguments[1]);break;case 3:emitTwo(handler,isFn,this,arguments[1],arguments[2]);break;case 4:emitThree(handler,isFn,this,arguments[1],arguments[2],arguments[3]);break;default:args=new Array(len-1);for(i=1;i<len;i++)args[i-1]=arguments[i];emitMany(handler,isFn,this,args)}return true};function _addListener(target,type,listener,prepend){var m;var events;var existing;if(typeof listener!=="function")throw new TypeError('"listener" argument must be a function');events=target._events;if(!events){events=target._events=objectCreate(null);target._eventsCount=0}else{if(events.newListener){target.emit("newListener",type,listener.listener?listener.listener:listener);events=target._events}existing=events[type]}if(!existing){existing=events[type]=listener;++target._eventsCount}else{if(typeof existing==="function"){existing=events[type]=prepend?[listener,existing]:[existing,listener]}else{if(prepend){existing.unshift(listener)}else{existing.push(listener)}}if(!existing.warned){m=$getMaxListeners(target);if(m&&m>0&&existing.length>m){existing.warned=true;var w=new Error("Possible EventEmitter memory leak detected. "+existing.length+' "'+String(type)+'" listeners '+"added. Use emitter.setMaxListeners() to "+"increase limit.");w.name="MaxListenersExceededWarning";w.emitter=target;w.type=type;w.count=existing.length;if(typeof console==="object"&&console.warn){console.warn("%s: %s",w.name,w.message)}}}}return target}EventEmitter.prototype.addListener=function addListener(type,listener){return _addListener(this,type,listener,false)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function prependListener(type,listener){return _addListener(this,type,listener,true)};function onceWrapper(){if(!this.fired){this.target.removeListener(this.type,this.wrapFn);this.fired=true;switch(arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:var args=new Array(arguments.length);for(var i=0;i<args.length;++i)args[i]=arguments[i];this.listener.apply(this.target,args)}}}function _onceWrap(target,type,listener){var state={fired:false,wrapFn:undefined,target:target,type:type,listener:listener};var wrapped=bind.call(onceWrapper,state);wrapped.listener=listener;state.wrapFn=wrapped;return wrapped}EventEmitter.prototype.once=function once(type,listener){if(typeof listener!=="function")throw new TypeError('"listener" argument must be a function');this.on(type,_onceWrap(this,type,listener));return this};EventEmitter.prototype.prependOnceListener=function prependOnceListener(type,listener){if(typeof listener!=="function")throw new TypeError('"listener" argument must be a function');this.prependListener(type,_onceWrap(this,type,listener));return this};EventEmitter.prototype.removeListener=function removeListener(type,listener){var list,events,position,i,originalListener;if(typeof listener!=="function")throw new TypeError('"listener" argument must be a function');events=this._events;if(!events)return this;list=events[type];if(!list)return this;if(list===listener||list.listener===listener){if(--this._eventsCount===0)this._events=objectCreate(null);else{delete events[type];if(events.removeListener)this.emit("removeListener",type,list.listener||listener)}}else if(typeof list!=="function"){position=-1;for(i=list.length-1;i>=0;i--){if(list[i]===listener||list[i].listener===listener){originalListener=list[i].listener;position=i;break}}if(position<0)return this;if(position===0)list.shift();else spliceOne(list,position);if(list.length===1)events[type]=list[0];if(events.removeListener)this.emit("removeListener",type,originalListener||listener)}return this};EventEmitter.prototype.removeAllListeners=function removeAllListeners(type){var listeners,events,i;events=this._events;if(!events)return this;if(!events.removeListener){if(arguments.length===0){this._events=objectCreate(null);this._eventsCount=0}else if(events[type]){if(--this._eventsCount===0)this._events=objectCreate(null);else delete events[type]}return this}if(arguments.length===0){var keys=objectKeys(events);var key;for(i=0;i<keys.length;++i){key=keys[i];if(key==="removeListener")continue;this.removeAllListeners(key)}this.removeAllListeners("removeListener");this._events=objectCreate(null);this._eventsCount=0;return this}listeners=events[type];if(typeof listeners==="function"){this.removeListener(type,listeners)}else if(listeners){for(i=listeners.length-1;i>=0;i--){this.removeListener(type,listeners[i])}}return this};function _listeners(target,type,unwrap){var events=target._events;if(!events)return[];var evlistener=events[type];if(!evlistener)return[];if(typeof evlistener==="function")return unwrap?[evlistener.listener||evlistener]:[evlistener];return unwrap?unwrapListeners(evlistener):arrayClone(evlistener,evlistener.length)}EventEmitter.prototype.listeners=function listeners(type){return _listeners(this,type,true)};EventEmitter.prototype.rawListeners=function rawListeners(type){return _listeners(this,type,false)};EventEmitter.listenerCount=function(emitter,type){if(typeof emitter.listenerCount==="function"){return emitter.listenerCount(type)}else{return listenerCount.call(emitter,type)}};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(type){var events=this._events;if(events){var evlistener=events[type];if(typeof evlistener==="function"){return 1}else if(evlistener){return evlistener.length}}return 0}EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};function spliceOne(list,index){for(var i=index,k=i+1,n=list.length;k<n;i+=1,k+=1)list[i]=list[k];list.pop()}function arrayClone(arr,n){var copy=new Array(n);for(var i=0;i<n;++i)copy[i]=arr[i];return copy}function unwrapListeners(arr){var ret=new Array(arr.length);for(var i=0;i<ret.length;++i){ret[i]=arr[i].listener||arr[i]}return ret}function objectCreatePolyfill(proto){var F=function(){};F.prototype=proto;return new F}function objectKeysPolyfill(obj){var keys=[];for(var k in obj)if(Object.prototype.hasOwnProperty.call(obj,k)){keys.push(k)}return k}function functionBindPolyfill(context){var fn=this;return function(){return fn.apply(context,arguments)}}},{}],242:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;var MD5=require("md5.js");function EVP_BytesToKey(password,salt,keyBits,ivLen){if(!Buffer.isBuffer(password))password=Buffer.from(password,"binary");if(salt){if(!Buffer.isBuffer(salt))salt=Buffer.from(salt,"binary");if(salt.length!==8)throw new RangeError("salt should be Buffer with 8 byte length")}var keyLen=keyBits/8;var key=Buffer.alloc(keyLen);var iv=Buffer.alloc(ivLen||0);var tmp=Buffer.alloc(0);while(keyLen>0||ivLen>0){var hash=new MD5;hash.update(tmp);hash.update(password);if(salt)hash.update(salt);tmp=hash.digest();var used=0;if(keyLen>0){var keyStart=key.length-keyLen;used=Math.min(keyLen,tmp.length);tmp.copy(key,keyStart,0,used);keyLen-=used}if(used<tmp.length&&ivLen>0){var ivStart=iv.length-ivLen;var length=Math.min(ivLen,tmp.length-used);tmp.copy(iv,ivStart,used,used+length);ivLen-=length}}tmp.fill(0);return{key:key,iv:iv}}module.exports=EVP_BytesToKey},{"md5.js":795,"safe-buffer":907}],243:[function(require,module,exports){"use strict";var hasOwn=Object.prototype.hasOwnProperty;var toStr=Object.prototype.toString;var defineProperty=Object.defineProperty;var gOPD=Object.getOwnPropertyDescriptor;var isArray=function isArray(arr){if(typeof Array.isArray==="function"){return Array.isArray(arr)}return toStr.call(arr)==="[object Array]"};var isPlainObject=function isPlainObject(obj){if(!obj||toStr.call(obj)!=="[object Object]"){return false}var hasOwnConstructor=hasOwn.call(obj,"constructor");var hasIsPrototypeOf=obj.constructor&&obj.constructor.prototype&&hasOwn.call(obj.constructor.prototype,"isPrototypeOf");if(obj.constructor&&!hasOwnConstructor&&!hasIsPrototypeOf){return false}var key;for(key in obj){}return typeof key==="undefined"||hasOwn.call(obj,key)};var setProperty=function setProperty(target,options){if(defineProperty&&options.name==="__proto__"){defineProperty(target,options.name,{enumerable:true,configurable:true,value:options.newValue,writable:true})}else{target[options.name]=options.newValue}};var getProperty=function getProperty(obj,name){if(name==="__proto__"){if(!hasOwn.call(obj,name)){return void 0}else if(gOPD){return gOPD(obj,name).value}}return obj[name]};module.exports=function extend(){var options,name,src,copy,copyIsArray,clone;var target=arguments[0];var i=1;var length=arguments.length;var deep=false;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2}if(target==null||typeof target!=="object"&&typeof target!=="function"){target={}}for(;i<length;++i){options=arguments[i];if(options!=null){for(name in options){src=getProperty(target,name);copy=getProperty(options,name);if(target!==copy){if(deep&©&&(isPlainObject(copy)||(copyIsArray=isArray(copy)))){if(copyIsArray){copyIsArray=false;clone=src&&isArray(src)?src:[]}else{clone=src&&isPlainObject(src)?src:{}}setProperty(target,{name:name,newValue:extend(deep,clone,copy)})}else if(typeof copy!=="undefined"){setProperty(target,{name:name,newValue:copy})}}}}}return target}},{}],244:[function(require,module,exports){(function(process){var mod_assert=require("assert");var mod_util=require("util");exports.sprintf=jsSprintf;exports.printf=jsPrintf;exports.fprintf=jsFprintf;function jsSprintf(fmt){var regex=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join("");var re=new RegExp(regex);var args=Array.prototype.slice.call(arguments,1);var flags,width,precision,conversion;var left,pad,sign,arg,match;var ret="";var argn=1;mod_assert.equal("string",typeof fmt);while((match=re.exec(fmt))!==null){ret+=match[1];fmt=fmt.substring(match[0].length);flags=match[2]||"";width=match[3]||0;precision=match[4]||"";conversion=match[6];left=false;sign=false;pad=" ";if(conversion=="%"){ret+="%";continue}if(args.length===0)throw new Error("too few args to sprintf");arg=args.shift();argn++;if(flags.match(/[\' #]/))throw new Error("unsupported flags: "+flags);if(precision.length>0)throw new Error("non-zero precision not supported");if(flags.match(/-/))left=true;if(flags.match(/0/))pad="0";if(flags.match(/\+/))sign=true;switch(conversion){case"s":if(arg===undefined||arg===null)throw new Error("argument "+argn+": attempted to print undefined or null "+"as a string");ret+=doPad(pad,width,left,arg.toString());break;case"d":arg=Math.floor(arg);case"f":sign=sign&&arg>0?"+":"";ret+=sign+doPad(pad,width,left,arg.toString());break;case"x":ret+=doPad(pad,width,left,arg.toString(16));break;case"j":if(width===0)width=10;ret+=mod_util.inspect(arg,false,width);break;case"r":ret+=dumpException(arg);break;default:throw new Error("unsupported conversion: "+conversion)}}ret+=fmt;return ret}function jsPrintf(){var args=Array.prototype.slice.call(arguments);args.unshift(process.stdout);jsFprintf.apply(null,args)}function jsFprintf(stream){var args=Array.prototype.slice.call(arguments,1);return stream.write(jsSprintf.apply(this,args))}function doPad(chr,width,left,str){var ret=str;while(ret.length<width){if(left)ret+=chr;else ret=chr+ret}return ret}function dumpException(ex){var ret;if(!(ex instanceof Error))throw new Error(jsSprintf("invalid type for %%r: %j",ex));ret="EXCEPTION: "+ex.constructor.name+": "+ex.stack;if(ex.cause&&typeof ex.cause==="function"){var cex=ex.cause();if(cex){ret+="\nCaused by: "+dumpException(cex)}}return ret}}).call(this,require("_process"))},{_process:855,assert:71,util:1e3}],245:[function(require,module,exports){"use strict";module.exports=function equal(a,b){if(a===b)return true;if(a&&b&&typeof a=="object"&&typeof b=="object"){if(a.constructor!==b.constructor)return false;var length,i,keys;if(Array.isArray(a)){length=a.length;if(length!=b.length)return false;for(i=length;i--!==0;)if(!equal(a[i],b[i]))return false;return true}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();keys=Object.keys(a);length=keys.length;if(length!==Object.keys(b).length)return false;for(i=length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return false;for(i=length;i--!==0;){var key=keys[i];if(!equal(a[key],b[key]))return false}return true}return a!==a&&b!==b}},{}],246:[function(require,module,exports){"use strict";module.exports=function(data,opts){if(!opts)opts={};if(typeof opts==="function")opts={cmp:opts};var cycles=typeof opts.cycles==="boolean"?opts.cycles:false;var cmp=opts.cmp&&function(f){return function(node){return function(a,b){var aobj={key:a,value:node[a]};var bobj={key:b,value:node[b]};return f(aobj,bobj)}}}(opts.cmp);var seen=[];return function stringify(node){if(node&&node.toJSON&&typeof node.toJSON==="function"){node=node.toJSON()}if(node===undefined)return;if(typeof node=="number")return isFinite(node)?""+node:"null";if(typeof node!=="object")return JSON.stringify(node);var i,out;if(Array.isArray(node)){out="[";for(i=0;i<node.length;i++){if(i)out+=",";out+=stringify(node[i])||"null"}return out+"]"}if(node===null)return"null";if(seen.indexOf(node)!==-1){if(cycles)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var seenIndex=seen.push(node)-1;var keys=Object.keys(node).sort(cmp&&cmp(node));out="";for(i=0;i<keys.length;i++){var key=keys[i];var value=stringify(node[key]);if(!value)continue;if(out)out+=",";out+=JSON.stringify(key)+":"+value}seen.splice(seenIndex,1);return"{"+out+"}"}(data)}},{}],247:[function(require,module,exports){module.exports=ForeverAgent;ForeverAgent.SSL=ForeverAgentSSL;var util=require("util"),Agent=require("http").Agent,net=require("net"),tls=require("tls"),AgentSSL=require("https").Agent;function getConnectionName(host,port){var name="";if(typeof host==="string"){name=host+":"+port}else{name=host.host+":"+host.port+":"+(host.localAddress?host.localAddress+":":":")}return name}function ForeverAgent(options){var self=this;self.options=options||{};self.requests={};self.sockets={};self.freeSockets={};self.maxSockets=self.options.maxSockets||Agent.defaultMaxSockets;self.minSockets=self.options.minSockets||ForeverAgent.defaultMinSockets;self.on("free",(function(socket,host,port){var name=getConnectionName(host,port);if(self.requests[name]&&self.requests[name].length){self.requests[name].shift().onSocket(socket)}else if(self.sockets[name].length<self.minSockets){if(!self.freeSockets[name])self.freeSockets[name]=[];self.freeSockets[name].push(socket);var onIdleError=function(){socket.destroy()};socket._onIdleError=onIdleError;socket.on("error",onIdleError)}else{socket.destroy()}}))}util.inherits(ForeverAgent,Agent);ForeverAgent.defaultMinSockets=5;ForeverAgent.prototype.createConnection=net.createConnection;ForeverAgent.prototype.addRequestNoreuse=Agent.prototype.addRequest;ForeverAgent.prototype.addRequest=function(req,host,port){var name=getConnectionName(host,port);if(typeof host!=="string"){var options=host;port=options.port;host=options.host}if(this.freeSockets[name]&&this.freeSockets[name].length>0&&!req.useChunkedEncodingByDefault){var idleSocket=this.freeSockets[name].pop();idleSocket.removeListener("error",idleSocket._onIdleError);delete idleSocket._onIdleError;req._reusedSocket=true;req.onSocket(idleSocket)}else{this.addRequestNoreuse(req,host,port)}};ForeverAgent.prototype.removeSocket=function(s,name,host,port){if(this.sockets[name]){var index=this.sockets[name].indexOf(s);if(index!==-1){this.sockets[name].splice(index,1)}}else if(this.sockets[name]&&this.sockets[name].length===0){delete this.sockets[name];delete this.requests[name]}if(this.freeSockets[name]){var index=this.freeSockets[name].indexOf(s);if(index!==-1){this.freeSockets[name].splice(index,1);if(this.freeSockets[name].length===0){delete this.freeSockets[name]}}}if(this.requests[name]&&this.requests[name].length){this.createSocket(name,host,port).emit("free")}};function ForeverAgentSSL(options){ForeverAgent.call(this,options)}util.inherits(ForeverAgentSSL,ForeverAgent);ForeverAgentSSL.prototype.createConnection=createConnectionSSL;ForeverAgentSSL.prototype.addRequestNoreuse=AgentSSL.prototype.addRequest;function createConnectionSSL(port,host,options){if(typeof port==="object"){options=port}else if(typeof host==="object"){options=host}else if(typeof options==="object"){options=options}else{options={}}if(typeof port==="number"){options.port=port}if(typeof host==="string"){options.host=host}return tls.connect(options)}},{http:956,https:305,net:129,tls:129,util:1e3}],248:[function(require,module,exports){module.exports=typeof self=="object"?self.FormData:window.FormData},{}],249:[function(require,module,exports){module.exports={$id:"afterRequest.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,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"}}}},{}],250:[function(require,module,exports){module.exports={$id:"beforeRequest.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,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"}}}},{}],251:[function(require,module,exports){module.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"}}}},{}],252:[function(require,module,exports){module.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"}}}},{}],253:[function(require,module,exports){module.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"}}}},{}],254:[function(require,module,exports){module.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"}}}},{}],255:[function(require,module,exports){module.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"}}}},{}],256:[function(require,module,exports){module.exports={$id:"entry.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,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"}}}},{}],257:[function(require,module,exports){module.exports={$id:"har.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["log"],properties:{log:{$ref:"log.json#"}}}},{}],258:[function(require,module,exports){module.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"}}}},{}],259:[function(require,module,exports){"use strict";module.exports={afterRequest:require("./afterRequest.json"),beforeRequest:require("./beforeRequest.json"),browser:require("./browser.json"),cache:require("./cache.json"),content:require("./content.json"),cookie:require("./cookie.json"),creator:require("./creator.json"),entry:require("./entry.json"),har:require("./har.json"),header:require("./header.json"),log:require("./log.json"),page:require("./page.json"),pageTimings:require("./pageTimings.json"),postData:require("./postData.json"),query:require("./query.json"),request:require("./request.json"),response:require("./response.json"),timings:require("./timings.json")}},{"./afterRequest.json":249,"./beforeRequest.json":250,"./browser.json":251,"./cache.json":252,"./content.json":253,"./cookie.json":254,"./creator.json":255,"./entry.json":256,"./har.json":257,"./header.json":258,"./log.json":260,"./page.json":261,"./pageTimings.json":262,"./postData.json":263,"./query.json":264,"./request.json":265,"./response.json":266,"./timings.json":267}],260:[function(require,module,exports){module.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"}}}},{}],261:[function(require,module,exports){module.exports={$id:"page.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,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:true},title:{type:"string"},pageTimings:{$ref:"pageTimings.json#"},comment:{type:"string"}}}},{}],262:[function(require,module,exports){module.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"}}}},{}],263:[function(require,module,exports){module.exports={$id:"postData.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,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"}}}},{}],264:[function(require,module,exports){module.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"}}}},{}],265:[function(require,module,exports){module.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"}}}},{}],266:[function(require,module,exports){module.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"}}}},{}],267:[function(require,module,exports){module.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"}}}},{}],268:[function(require,module,exports){function HARError(errors){var message="validation failed";this.name="HARError";this.message=message;this.errors=errors;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,this.constructor)}else{this.stack=new Error(message).stack}}HARError.prototype=Error.prototype;module.exports=HARError},{}],269:[function(require,module,exports){var Ajv=require("ajv");var HARError=require("./error");var schemas=require("har-schema");var ajv;function createAjvInstance(){var ajv=new Ajv({allErrors:true});ajv.addMetaSchema(require("ajv/lib/refs/json-schema-draft-06.json"));ajv.addSchema(schemas);return ajv}function validate(name,data){data=data||{};ajv=ajv||createAjvInstance();var validate=ajv.getSchema(name+".json");return new Promise((function(resolve,reject){var valid=validate(data);!valid?reject(new HARError(validate.errors)):resolve(data)}))}exports.afterRequest=function(data){return validate("afterRequest",data)};exports.beforeRequest=function(data){return validate("beforeRequest",data)};exports.browser=function(data){return validate("browser",data)};exports.cache=function(data){return validate("cache",data)};exports.content=function(data){return validate("content",data)};exports.cookie=function(data){return validate("cookie",data)};exports.creator=function(data){return validate("creator",data)};exports.entry=function(data){return validate("entry",data)};exports.har=function(data){return validate("har",data)};exports.header=function(data){return validate("header",data)};exports.log=function(data){return validate("log",data)};exports.page=function(data){return validate("page",data)};exports.pageTimings=function(data){return validate("pageTimings",data)};exports.postData=function(data){return validate("postData",data)};exports.query=function(data){return validate("query",data)};exports.request=function(data){return validate("request",data)};exports.response=function(data){return validate("response",data)};exports.timings=function(data){return validate("timings",data)}},{"./error":268,ajv:7,"ajv/lib/refs/json-schema-draft-06.json":48,"har-schema":259}],270:[function(require,module,exports){"use strict";var Buffer=require("safe-buffer").Buffer;var Transform=require("readable-stream").Transform;var inherits=require("inherits");function throwIfNotStringOrBuffer(val,prefix){if(!Buffer.isBuffer(val)&&typeof val!=="string"){throw new TypeError(prefix+" must be a string or a buffer")}}function HashBase(blockSize){Transform.call(this);this._block=Buffer.allocUnsafe(blockSize);this._blockSize=blockSize;this._blockOffset=0;this._length=[0,0,0,0];this._finalized=false}inherits(HashBase,Transform);HashBase.prototype._transform=function(chunk,encoding,callback){var error=null;try{this.update(chunk,encoding)}catch(err){error=err}callback(error)};HashBase.prototype._flush=function(callback){var error=null;try{this.push(this.digest())}catch(err){error=err}callback(error)};HashBase.prototype.update=function(data,encoding){throwIfNotStringOrBuffer(data,"Data");if(this._finalized)throw new Error("Digest already called");if(!Buffer.isBuffer(data))data=Buffer.from(data,encoding);var block=this._block;var offset=0;while(this._blockOffset+data.length-offset>=this._blockSize){for(var i=this._blockOffset;i<this._blockSize;)block[i++]=data[offset++];this._update();this._blockOffset=0}while(offset<data.length)block[this._blockOffset++]=data[offset++];for(var j=0,carry=data.length*8;carry>0;++j){this._length[j]+=carry;carry=this._length[j]/4294967296|0;if(carry>0)this._length[j]-=4294967296*carry}return this};HashBase.prototype._update=function(){throw new Error("_update is not implemented")};HashBase.prototype.digest=function(encoding){if(this._finalized)throw new Error("Digest already called");this._finalized=true;var digest=this._digest();if(encoding!==undefined)digest=digest.toString(encoding);this._block.fill(0);this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return digest};HashBase.prototype._digest=function(){throw new Error("_digest is not implemented")};module.exports=HashBase},{inherits:326,"readable-stream":285,"safe-buffer":907}],271:[function(require,module,exports){arguments[4][112][0].apply(exports,arguments)},{dup:112}],272:[function(require,module,exports){arguments[4][113][0].apply(exports,arguments)},{"./_stream_readable":274,"./_stream_writable":276,_process:855,dup:113,inherits:326}],273:[function(require,module,exports){arguments[4][114][0].apply(exports,arguments)},{"./_stream_transform":275,dup:114,inherits:326}],274:[function(require,module,exports){arguments[4][115][0].apply(exports,arguments)},{"../errors":271,"./_stream_duplex":272,"./internal/streams/async_iterator":277,"./internal/streams/buffer_list":278,"./internal/streams/destroy":279,"./internal/streams/from":281,"./internal/streams/state":283,"./internal/streams/stream":284,_process:855,buffer:132,dup:115,events:241,inherits:326,"string_decoder/":975,util:83}],275:[function(require,module,exports){arguments[4][116][0].apply(exports,arguments)},{"../errors":271,"./_stream_duplex":272,dup:116,inherits:326}],276:[function(require,module,exports){arguments[4][117][0].apply(exports,arguments)},{"../errors":271,"./_stream_duplex":272,"./internal/streams/destroy":279,"./internal/streams/state":283,"./internal/streams/stream":284,_process:855,buffer:132,dup:117,inherits:326,"util-deprecate":997}],277:[function(require,module,exports){arguments[4][118][0].apply(exports,arguments)},{"./end-of-stream":280,_process:855,dup:118}],278:[function(require,module,exports){arguments[4][119][0].apply(exports,arguments)},{buffer:132,dup:119,util:83}],279:[function(require,module,exports){arguments[4][120][0].apply(exports,arguments)},{_process:855,dup:120}],280:[function(require,module,exports){arguments[4][121][0].apply(exports,arguments)},{"../../../errors":271,dup:121}],281:[function(require,module,exports){arguments[4][122][0].apply(exports,arguments)},{dup:122}],282:[function(require,module,exports){arguments[4][123][0].apply(exports,arguments)},{"../../../errors":271,"./end-of-stream":280,dup:123}],283:[function(require,module,exports){arguments[4][124][0].apply(exports,arguments)},{"../../../errors":271,dup:124}],284:[function(require,module,exports){arguments[4][125][0].apply(exports,arguments)},{dup:125,events:241}],285:[function(require,module,exports){arguments[4][126][0].apply(exports,arguments)},{"./lib/_stream_duplex.js":272,"./lib/_stream_passthrough.js":273,"./lib/_stream_readable.js":274,"./lib/_stream_transform.js":275,"./lib/_stream_writable.js":276,"./lib/internal/streams/end-of-stream.js":280,"./lib/internal/streams/pipeline.js":282,dup:126}],286:[function(require,module,exports){var hash=exports;hash.utils=require("./hash/utils");hash.common=require("./hash/common");hash.sha=require("./hash/sha");hash.ripemd=require("./hash/ripemd");hash.hmac=require("./hash/hmac");hash.sha1=hash.sha.sha1;hash.sha256=hash.sha.sha256;hash.sha224=hash.sha.sha224;hash.sha384=hash.sha.sha384;hash.sha512=hash.sha.sha512;hash.ripemd160=hash.ripemd.ripemd160},{"./hash/common":287,"./hash/hmac":288,"./hash/ripemd":289,"./hash/sha":290,"./hash/utils":297}],287:[function(require,module,exports){"use strict";var utils=require("./utils");var assert=require("minimalistic-assert");function BlockHash(){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}exports.BlockHash=BlockHash;BlockHash.prototype.update=function update(msg,enc){msg=utils.toArray(msg,enc);if(!this.pending)this.pending=msg;else this.pending=this.pending.concat(msg);this.pendingTotal+=msg.length;if(this.pending.length>=this._delta8){msg=this.pending;var r=msg.length%this._delta8;this.pending=msg.slice(msg.length-r,msg.length);if(this.pending.length===0)this.pending=null;msg=utils.join32(msg,0,msg.length-r,this.endian);for(var i=0;i<msg.length;i+=this._delta32)this._update(msg,i,i+this._delta32)}return this};BlockHash.prototype.digest=function digest(enc){this.update(this._pad());assert(this.pending===null);return this._digest(enc)};BlockHash.prototype._pad=function pad(){var len=this.pendingTotal;var bytes=this._delta8;var k=bytes-(len+this.padLength)%bytes;var res=new Array(k+this.padLength);res[0]=128;for(var i=1;i<k;i++)res[i]=0;len<<=3;if(this.endian==="big"){for(var t=8;t<this.padLength;t++)res[i++]=0;res[i++]=0;res[i++]=0;res[i++]=0;res[i++]=0;res[i++]=len>>>24&255;res[i++]=len>>>16&255;res[i++]=len>>>8&255;res[i++]=len&255}else{res[i++]=len&255;res[i++]=len>>>8&255;res[i++]=len>>>16&255;res[i++]=len>>>24&255;res[i++]=0;res[i++]=0;res[i++]=0;res[i++]=0;for(t=8;t<this.padLength;t++)res[i++]=0}return res}},{"./utils":297,"minimalistic-assert":800}],288:[function(require,module,exports){"use strict";var utils=require("./utils");var assert=require("minimalistic-assert");function Hmac(hash,key,enc){if(!(this instanceof Hmac))return new Hmac(hash,key,enc);this.Hash=hash;this.blockSize=hash.blockSize/8;this.outSize=hash.outSize/8;this.inner=null;this.outer=null;this._init(utils.toArray(key,enc))}module.exports=Hmac;Hmac.prototype._init=function init(key){if(key.length>this.blockSize)key=(new this.Hash).update(key).digest();assert(key.length<=this.blockSize);for(var i=key.length;i<this.blockSize;i++)key.push(0);for(i=0;i<key.length;i++)key[i]^=54;this.inner=(new this.Hash).update(key);for(i=0;i<key.length;i++)key[i]^=106;this.outer=(new this.Hash).update(key)};Hmac.prototype.update=function update(msg,enc){this.inner.update(msg,enc);return this};Hmac.prototype.digest=function digest(enc){this.outer.update(this.inner.digest());return this.outer.digest(enc)}},{"./utils":297,"minimalistic-assert":800}],289:[function(require,module,exports){"use strict";var utils=require("./utils");var common=require("./common");var rotl32=utils.rotl32;var sum32=utils.sum32;var sum32_3=utils.sum32_3;var sum32_4=utils.sum32_4;var BlockHash=common.BlockHash;function RIPEMD160(){if(!(this instanceof RIPEMD160))return new RIPEMD160;BlockHash.call(this);this.h=[1732584193,4023233417,2562383102,271733878,3285377520];this.endian="little"}utils.inherits(RIPEMD160,BlockHash);exports.ripemd160=RIPEMD160;RIPEMD160.blockSize=512;RIPEMD160.outSize=160;RIPEMD160.hmacStrength=192;RIPEMD160.padLength=64;RIPEMD160.prototype._update=function update(msg,start){var A=this.h[0];var B=this.h[1];var C=this.h[2];var D=this.h[3];var E=this.h[4];var Ah=A;var Bh=B;var Ch=C;var Dh=D;var Eh=E;for(var j=0;j<80;j++){var T=sum32(rotl32(sum32_4(A,f(j,B,C,D),msg[r[j]+start],K(j)),s[j]),E);A=E;E=D;D=rotl32(C,10);C=B;B=T;T=sum32(rotl32(sum32_4(Ah,f(79-j,Bh,Ch,Dh),msg[rh[j]+start],Kh(j)),sh[j]),Eh);Ah=Eh;Eh=Dh;Dh=rotl32(Ch,10);Ch=Bh;Bh=T}T=sum32_3(this.h[1],C,Dh);this.h[1]=sum32_3(this.h[2],D,Eh);this.h[2]=sum32_3(this.h[3],E,Ah);this.h[3]=sum32_3(this.h[4],A,Bh);this.h[4]=sum32_3(this.h[0],B,Ch);this.h[0]=T};RIPEMD160.prototype._digest=function digest(enc){if(enc==="hex")return utils.toHex32(this.h,"little");else return utils.split32(this.h,"little")};function f(j,x,y,z){if(j<=15)return x^y^z;else if(j<=31)return x&y|~x&z;else if(j<=47)return(x|~y)^z;else if(j<=63)return x&z|y&~z;else return x^(y|~z)}function K(j){if(j<=15)return 0;else if(j<=31)return 1518500249;else if(j<=47)return 1859775393;else if(j<=63)return 2400959708;else return 2840853838}function Kh(j){if(j<=15)return 1352829926;else if(j<=31)return 1548603684;else if(j<=47)return 1836072691;else if(j<=63)return 2053994217;else return 0}var r=[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];var rh=[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];var s=[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];var sh=[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":287,"./utils":297}],290:[function(require,module,exports){"use strict";exports.sha1=require("./sha/1");exports.sha224=require("./sha/224");exports.sha256=require("./sha/256");exports.sha384=require("./sha/384");exports.sha512=require("./sha/512")},{"./sha/1":291,"./sha/224":292,"./sha/256":293,"./sha/384":294,"./sha/512":295}],291:[function(require,module,exports){"use strict";var utils=require("../utils");var common=require("../common");var shaCommon=require("./common");var rotl32=utils.rotl32;var sum32=utils.sum32;var sum32_5=utils.sum32_5;var ft_1=shaCommon.ft_1;var BlockHash=common.BlockHash;var sha1_K=[1518500249,1859775393,2400959708,3395469782];function SHA1(){if(!(this instanceof SHA1))return new SHA1;BlockHash.call(this);this.h=[1732584193,4023233417,2562383102,271733878,3285377520];this.W=new Array(80)}utils.inherits(SHA1,BlockHash);module.exports=SHA1;SHA1.blockSize=512;SHA1.outSize=160;SHA1.hmacStrength=80;SHA1.padLength=64;SHA1.prototype._update=function _update(msg,start){var W=this.W;for(var i=0;i<16;i++)W[i]=msg[start+i];for(;i<W.length;i++)W[i]=rotl32(W[i-3]^W[i-8]^W[i-14]^W[i-16],1);var a=this.h[0];var b=this.h[1];var c=this.h[2];var d=this.h[3];var e=this.h[4];for(i=0;i<W.length;i++){var s=~~(i/20);var t=sum32_5(rotl32(a,5),ft_1(s,b,c,d),e,W[i],sha1_K[s]);e=d;d=c;c=rotl32(b,30);b=a;a=t}this.h[0]=sum32(this.h[0],a);this.h[1]=sum32(this.h[1],b);this.h[2]=sum32(this.h[2],c);this.h[3]=sum32(this.h[3],d);this.h[4]=sum32(this.h[4],e)};SHA1.prototype._digest=function digest(enc){if(enc==="hex")return utils.toHex32(this.h,"big");else return utils.split32(this.h,"big")}},{"../common":287,"../utils":297,"./common":296}],292:[function(require,module,exports){"use strict";var utils=require("../utils");var SHA256=require("./256");function SHA224(){if(!(this instanceof SHA224))return new SHA224;SHA256.call(this);this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}utils.inherits(SHA224,SHA256);module.exports=SHA224;SHA224.blockSize=512;SHA224.outSize=224;SHA224.hmacStrength=192;SHA224.padLength=64;SHA224.prototype._digest=function digest(enc){if(enc==="hex")return utils.toHex32(this.h.slice(0,7),"big");else return utils.split32(this.h.slice(0,7),"big")}},{"../utils":297,"./256":293}],293:[function(require,module,exports){"use strict";var utils=require("../utils");var common=require("../common");var shaCommon=require("./common");var assert=require("minimalistic-assert");var sum32=utils.sum32;var sum32_4=utils.sum32_4;var sum32_5=utils.sum32_5;var ch32=shaCommon.ch32;var maj32=shaCommon.maj32;var s0_256=shaCommon.s0_256;var s1_256=shaCommon.s1_256;var g0_256=shaCommon.g0_256;var g1_256=shaCommon.g1_256;var BlockHash=common.BlockHash;var sha256_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];function SHA256(){if(!(this instanceof SHA256))return new SHA256;BlockHash.call(this);this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];this.k=sha256_K;this.W=new Array(64)}utils.inherits(SHA256,BlockHash);module.exports=SHA256;SHA256.blockSize=512;SHA256.outSize=256;SHA256.hmacStrength=192;SHA256.padLength=64;SHA256.prototype._update=function _update(msg,start){var W=this.W;for(var i=0;i<16;i++)W[i]=msg[start+i];for(;i<W.length;i++)W[i]=sum32_4(g1_256(W[i-2]),W[i-7],g0_256(W[i-15]),W[i-16]);var a=this.h[0];var b=this.h[1];var c=this.h[2];var d=this.h[3];var e=this.h[4];var f=this.h[5];var g=this.h[6];var h=this.h[7];assert(this.k.length===W.length);for(i=0;i<W.length;i++){var T1=sum32_5(h,s1_256(e),ch32(e,f,g),this.k[i],W[i]);var T2=sum32(s0_256(a),maj32(a,b,c));h=g;g=f;f=e;e=sum32(d,T1);d=c;c=b;b=a;a=sum32(T1,T2)}this.h[0]=sum32(this.h[0],a);this.h[1]=sum32(this.h[1],b);this.h[2]=sum32(this.h[2],c);this.h[3]=sum32(this.h[3],d);this.h[4]=sum32(this.h[4],e);this.h[5]=sum32(this.h[5],f);this.h[6]=sum32(this.h[6],g);this.h[7]=sum32(this.h[7],h)};SHA256.prototype._digest=function digest(enc){if(enc==="hex")return utils.toHex32(this.h,"big");else return utils.split32(this.h,"big")}},{"../common":287,"../utils":297,"./common":296,"minimalistic-assert":800}],294:[function(require,module,exports){"use strict";var utils=require("../utils");var SHA512=require("./512");function SHA384(){if(!(this instanceof SHA384))return new SHA384;SHA512.call(this);this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}utils.inherits(SHA384,SHA512);module.exports=SHA384;SHA384.blockSize=1024;SHA384.outSize=384;SHA384.hmacStrength=192;SHA384.padLength=128;SHA384.prototype._digest=function digest(enc){if(enc==="hex")return utils.toHex32(this.h.slice(0,12),"big");else return utils.split32(this.h.slice(0,12),"big")}},{"../utils":297,"./512":295}],295:[function(require,module,exports){"use strict";var utils=require("../utils");var common=require("../common");var assert=require("minimalistic-assert");var rotr64_hi=utils.rotr64_hi;var rotr64_lo=utils.rotr64_lo;var shr64_hi=utils.shr64_hi;var shr64_lo=utils.shr64_lo;var sum64=utils.sum64;var sum64_hi=utils.sum64_hi;var sum64_lo=utils.sum64_lo;var sum64_4_hi=utils.sum64_4_hi;var sum64_4_lo=utils.sum64_4_lo;var sum64_5_hi=utils.sum64_5_hi;var sum64_5_lo=utils.sum64_5_lo;var BlockHash=common.BlockHash;var sha512_K=[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];function SHA512(){if(!(this instanceof SHA512))return new SHA512;BlockHash.call(this);this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209];this.k=sha512_K;this.W=new Array(160)}utils.inherits(SHA512,BlockHash);module.exports=SHA512;SHA512.blockSize=1024;SHA512.outSize=512;SHA512.hmacStrength=192;SHA512.padLength=128;SHA512.prototype._prepareBlock=function _prepareBlock(msg,start){var W=this.W;for(var i=0;i<32;i++)W[i]=msg[start+i];for(;i<W.length;i+=2){var c0_hi=g1_512_hi(W[i-4],W[i-3]);var c0_lo=g1_512_lo(W[i-4],W[i-3]);var c1_hi=W[i-14];var c1_lo=W[i-13];var c2_hi=g0_512_hi(W[i-30],W[i-29]);var c2_lo=g0_512_lo(W[i-30],W[i-29]);var c3_hi=W[i-32];var c3_lo=W[i-31];W[i]=sum64_4_hi(c0_hi,c0_lo,c1_hi,c1_lo,c2_hi,c2_lo,c3_hi,c3_lo);W[i+1]=sum64_4_lo(c0_hi,c0_lo,c1_hi,c1_lo,c2_hi,c2_lo,c3_hi,c3_lo)}};SHA512.prototype._update=function _update(msg,start){this._prepareBlock(msg,start);var W=this.W;var ah=this.h[0];var al=this.h[1];var bh=this.h[2];var bl=this.h[3];var ch=this.h[4];var cl=this.h[5];var dh=this.h[6];var dl=this.h[7];var eh=this.h[8];var el=this.h[9];var fh=this.h[10];var fl=this.h[11];var gh=this.h[12];var gl=this.h[13];var hh=this.h[14];var hl=this.h[15];assert(this.k.length===W.length);for(var i=0;i<W.length;i+=2){var c0_hi=hh;var c0_lo=hl;var c1_hi=s1_512_hi(eh,el);var c1_lo=s1_512_lo(eh,el);var c2_hi=ch64_hi(eh,el,fh,fl,gh,gl);var c2_lo=ch64_lo(eh,el,fh,fl,gh,gl);var c3_hi=this.k[i];var c3_lo=this.k[i+1];var c4_hi=W[i];var c4_lo=W[i+1];var T1_hi=sum64_5_hi(c0_hi,c0_lo,c1_hi,c1_lo,c2_hi,c2_lo,c3_hi,c3_lo,c4_hi,c4_lo);var T1_lo=sum64_5_lo(c0_hi,c0_lo,c1_hi,c1_lo,c2_hi,c2_lo,c3_hi,c3_lo,c4_hi,c4_lo);c0_hi=s0_512_hi(ah,al);c0_lo=s0_512_lo(ah,al);c1_hi=maj64_hi(ah,al,bh,bl,ch,cl);c1_lo=maj64_lo(ah,al,bh,bl,ch,cl);var T2_hi=sum64_hi(c0_hi,c0_lo,c1_hi,c1_lo);var T2_lo=sum64_lo(c0_hi,c0_lo,c1_hi,c1_lo);hh=gh;hl=gl;gh=fh;gl=fl;fh=eh;fl=el;eh=sum64_hi(dh,dl,T1_hi,T1_lo);el=sum64_lo(dl,dl,T1_hi,T1_lo);dh=ch;dl=cl;ch=bh;cl=bl;bh=ah;bl=al;ah=sum64_hi(T1_hi,T1_lo,T2_hi,T2_lo);al=sum64_lo(T1_hi,T1_lo,T2_hi,T2_lo)}sum64(this.h,0,ah,al);sum64(this.h,2,bh,bl);sum64(this.h,4,ch,cl);sum64(this.h,6,dh,dl);sum64(this.h,8,eh,el);sum64(this.h,10,fh,fl);sum64(this.h,12,gh,gl);sum64(this.h,14,hh,hl)};SHA512.prototype._digest=function digest(enc){if(enc==="hex")return utils.toHex32(this.h,"big");else return utils.split32(this.h,"big")};function ch64_hi(xh,xl,yh,yl,zh){var r=xh&yh^~xh&zh;if(r<0)r+=4294967296;return r}function ch64_lo(xh,xl,yh,yl,zh,zl){var r=xl&yl^~xl&zl;if(r<0)r+=4294967296;return r}function maj64_hi(xh,xl,yh,yl,zh){var r=xh&yh^xh&zh^yh&zh;if(r<0)r+=4294967296;return r}function maj64_lo(xh,xl,yh,yl,zh,zl){var r=xl&yl^xl&zl^yl&zl;if(r<0)r+=4294967296;return r}function s0_512_hi(xh,xl){var c0_hi=rotr64_hi(xh,xl,28);var c1_hi=rotr64_hi(xl,xh,2);var c2_hi=rotr64_hi(xl,xh,7);var r=c0_hi^c1_hi^c2_hi;if(r<0)r+=4294967296;return r}function s0_512_lo(xh,xl){var c0_lo=rotr64_lo(xh,xl,28);var c1_lo=rotr64_lo(xl,xh,2);var c2_lo=rotr64_lo(xl,xh,7);var r=c0_lo^c1_lo^c2_lo;if(r<0)r+=4294967296;return r}function s1_512_hi(xh,xl){var c0_hi=rotr64_hi(xh,xl,14);var c1_hi=rotr64_hi(xh,xl,18);var c2_hi=rotr64_hi(xl,xh,9);var r=c0_hi^c1_hi^c2_hi;if(r<0)r+=4294967296;return r}function s1_512_lo(xh,xl){var c0_lo=rotr64_lo(xh,xl,14);var c1_lo=rotr64_lo(xh,xl,18);var c2_lo=rotr64_lo(xl,xh,9);var r=c0_lo^c1_lo^c2_lo;if(r<0)r+=4294967296;return r}function g0_512_hi(xh,xl){var c0_hi=rotr64_hi(xh,xl,1);var c1_hi=rotr64_hi(xh,xl,8);var c2_hi=shr64_hi(xh,xl,7);var r=c0_hi^c1_hi^c2_hi;if(r<0)r+=4294967296;return r}function g0_512_lo(xh,xl){var c0_lo=rotr64_lo(xh,xl,1);var c1_lo=rotr64_lo(xh,xl,8);var c2_lo=shr64_lo(xh,xl,7);var r=c0_lo^c1_lo^c2_lo;if(r<0)r+=4294967296;return r}function g1_512_hi(xh,xl){var c0_hi=rotr64_hi(xh,xl,19);var c1_hi=rotr64_hi(xl,xh,29);var c2_hi=shr64_hi(xh,xl,6);var r=c0_hi^c1_hi^c2_hi;if(r<0)r+=4294967296;return r}function g1_512_lo(xh,xl){var c0_lo=rotr64_lo(xh,xl,19);var c1_lo=rotr64_lo(xl,xh,29);var c2_lo=shr64_lo(xh,xl,6);var r=c0_lo^c1_lo^c2_lo;if(r<0)r+=4294967296;return r}},{"../common":287,"../utils":297,"minimalistic-assert":800}],296:[function(require,module,exports){"use strict";var utils=require("../utils");var rotr32=utils.rotr32;function ft_1(s,x,y,z){if(s===0)return ch32(x,y,z);if(s===1||s===3)return p32(x,y,z);if(s===2)return maj32(x,y,z)}exports.ft_1=ft_1;function ch32(x,y,z){return x&y^~x&z}exports.ch32=ch32;function maj32(x,y,z){return x&y^x&z^y&z}exports.maj32=maj32;function p32(x,y,z){return x^y^z}exports.p32=p32;function s0_256(x){return rotr32(x,2)^rotr32(x,13)^rotr32(x,22)}exports.s0_256=s0_256;function s1_256(x){return rotr32(x,6)^rotr32(x,11)^rotr32(x,25)}exports.s1_256=s1_256;function g0_256(x){return rotr32(x,7)^rotr32(x,18)^x>>>3}exports.g0_256=g0_256;function g1_256(x){return rotr32(x,17)^rotr32(x,19)^x>>>10}exports.g1_256=g1_256},{"../utils":297}],297:[function(require,module,exports){"use strict";var assert=require("minimalistic-assert");var inherits=require("inherits");exports.inherits=inherits;function isSurrogatePair(msg,i){if((msg.charCodeAt(i)&64512)!==55296){return false}if(i<0||i+1>=msg.length){return false}return(msg.charCodeAt(i+1)&64512)===56320}function toArray(msg,enc){if(Array.isArray(msg))return msg.slice();if(!msg)return[];var res=[];if(typeof msg==="string"){if(!enc){var p=0;for(var i=0;i<msg.length;i++){var c=msg.charCodeAt(i);if(c<128){res[p++]=c}else if(c<2048){res[p++]=c>>6|192;res[p++]=c&63|128}else if(isSurrogatePair(msg,i)){c=65536+((c&1023)<<10)+(msg.charCodeAt(++i)&1023);res[p++]=c>>18|240;res[p++]=c>>12&63|128;res[p++]=c>>6&63|128;res[p++]=c&63|128}else{res[p++]=c>>12|224;res[p++]=c>>6&63|128;res[p++]=c&63|128}}}else if(enc==="hex"){msg=msg.replace(/[^a-z0-9]+/gi,"");if(msg.length%2!==0)msg="0"+msg;for(i=0;i<msg.length;i+=2)res.push(parseInt(msg[i]+msg[i+1],16))}}else{for(i=0;i<msg.length;i++)res[i]=msg[i]|0}return res}exports.toArray=toArray;function toHex(msg){var res="";for(var i=0;i<msg.length;i++)res+=zero2(msg[i].toString(16));return res}exports.toHex=toHex;function htonl(w){var res=w>>>24|w>>>8&65280|w<<8&16711680|(w&255)<<24;return res>>>0}exports.htonl=htonl;function toHex32(msg,endian){var res="";for(var i=0;i<msg.length;i++){var w=msg[i];if(endian==="little")w=htonl(w);res+=zero8(w.toString(16))}return res}exports.toHex32=toHex32;function zero2(word){if(word.length===1)return"0"+word;else return word}exports.zero2=zero2;function zero8(word){if(word.length===7)return"0"+word;else if(word.length===6)return"00"+word;else if(word.length===5)return"000"+word;else if(word.length===4)return"0000"+word;else if(word.length===3)return"00000"+word;else if(word.length===2)return"000000"+word;else if(word.length===1)return"0000000"+word;else return word}exports.zero8=zero8;function join32(msg,start,end,endian){var len=end-start;assert(len%4===0);var res=new Array(len/4);for(var i=0,k=start;i<res.length;i++,k+=4){var w;if(endian==="big")w=msg[k]<<24|msg[k+1]<<16|msg[k+2]<<8|msg[k+3];else w=msg[k+3]<<24|msg[k+2]<<16|msg[k+1]<<8|msg[k];res[i]=w>>>0}return res}exports.join32=join32;function split32(msg,endian){var res=new Array(msg.length*4);for(var i=0,k=0;i<msg.length;i++,k+=4){var m=msg[i];if(endian==="big"){res[k]=m>>>24;res[k+1]=m>>>16&255;res[k+2]=m>>>8&255;res[k+3]=m&255}else{res[k+3]=m>>>24;res[k+2]=m>>>16&255;res[k+1]=m>>>8&255;res[k]=m&255}}return res}exports.split32=split32;function rotr32(w,b){return w>>>b|w<<32-b}exports.rotr32=rotr32;function rotl32(w,b){return w<<b|w>>>32-b}exports.rotl32=rotl32;function sum32(a,b){return a+b>>>0}exports.sum32=sum32;function sum32_3(a,b,c){return a+b+c>>>0}exports.sum32_3=sum32_3;function sum32_4(a,b,c,d){return a+b+c+d>>>0}exports.sum32_4=sum32_4;function sum32_5(a,b,c,d,e){return a+b+c+d+e>>>0}exports.sum32_5=sum32_5;function sum64(buf,pos,ah,al){var bh=buf[pos];var bl=buf[pos+1];var lo=al+bl>>>0;var hi=(lo<al?1:0)+ah+bh;buf[pos]=hi>>>0;buf[pos+1]=lo}exports.sum64=sum64;function sum64_hi(ah,al,bh,bl){var lo=al+bl>>>0;var hi=(lo<al?1:0)+ah+bh;return hi>>>0}exports.sum64_hi=sum64_hi;function sum64_lo(ah,al,bh,bl){var lo=al+bl;return lo>>>0}exports.sum64_lo=sum64_lo;function sum64_4_hi(ah,al,bh,bl,ch,cl,dh,dl){var carry=0;var lo=al;lo=lo+bl>>>0;carry+=lo<al?1:0;lo=lo+cl>>>0;carry+=lo<cl?1:0;lo=lo+dl>>>0;carry+=lo<dl?1:0;var hi=ah+bh+ch+dh+carry;return hi>>>0}exports.sum64_4_hi=sum64_4_hi;function sum64_4_lo(ah,al,bh,bl,ch,cl,dh,dl){var lo=al+bl+cl+dl;return lo>>>0}exports.sum64_4_lo=sum64_4_lo;function sum64_5_hi(ah,al,bh,bl,ch,cl,dh,dl,eh,el){var carry=0;var lo=al;lo=lo+bl>>>0;carry+=lo<al?1:0;lo=lo+cl>>>0;carry+=lo<cl?1:0;lo=lo+dl>>>0;carry+=lo<dl?1:0;lo=lo+el>>>0;carry+=lo<el?1:0;var hi=ah+bh+ch+dh+eh+carry;return hi>>>0}exports.sum64_5_hi=sum64_5_hi;function sum64_5_lo(ah,al,bh,bl,ch,cl,dh,dl,eh,el){var lo=al+bl+cl+dl+el;return lo>>>0}exports.sum64_5_lo=sum64_5_lo;function rotr64_hi(ah,al,num){var r=al<<32-num|ah>>>num;return r>>>0}exports.rotr64_hi=rotr64_hi;function rotr64_lo(ah,al,num){var r=ah<<32-num|al>>>num;return r>>>0}exports.rotr64_lo=rotr64_lo;function shr64_hi(ah,al,num){return ah>>>num}exports.shr64_hi=shr64_hi;function shr64_lo(ah,al,num){var r=ah<<32-num|al>>>num;return r>>>0}exports.shr64_lo=shr64_lo},{inherits:326,"minimalistic-assert":800}],298:[function(require,module,exports){"use strict";var hash=require("hash.js");var utils=require("minimalistic-crypto-utils");var assert=require("minimalistic-assert");function HmacDRBG(options){if(!(this instanceof HmacDRBG))return new HmacDRBG(options);this.hash=options.hash;this.predResist=!!options.predResist;this.outLen=this.hash.outSize;this.minEntropy=options.minEntropy||this.hash.hmacStrength;this._reseed=null;this.reseedInterval=null;this.K=null;this.V=null;var entropy=utils.toArray(options.entropy,options.entropyEnc||"hex");var nonce=utils.toArray(options.nonce,options.nonceEnc||"hex");var pers=utils.toArray(options.pers,options.persEnc||"hex");assert(entropy.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._init(entropy,nonce,pers)}module.exports=HmacDRBG;HmacDRBG.prototype._init=function init(entropy,nonce,pers){var seed=entropy.concat(nonce).concat(pers);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(seed);this._reseed=1;this.reseedInterval=281474976710656};HmacDRBG.prototype._hmac=function hmac(){return new hash.hmac(this.hash,this.K)};HmacDRBG.prototype._update=function update(seed){var kmac=this._hmac().update(this.V).update([0]);if(seed)kmac=kmac.update(seed);this.K=kmac.digest();this.V=this._hmac().update(this.V).digest();if(!seed)return;this.K=this._hmac().update(this.V).update([1]).update(seed).digest();this.V=this._hmac().update(this.V).digest()};HmacDRBG.prototype.reseed=function reseed(entropy,entropyEnc,add,addEnc){if(typeof entropyEnc!=="string"){addEnc=add;add=entropyEnc;entropyEnc=null}entropy=utils.toArray(entropy,entropyEnc);add=utils.toArray(add,addEnc);assert(entropy.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._update(entropy.concat(add||[]));this._reseed=1};HmacDRBG.prototype.generate=function generate(len,enc,add,addEnc){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");if(typeof enc!=="string"){addEnc=add;add=enc;enc=null}if(add){add=utils.toArray(add,addEnc||"hex");this._update(add)}var temp=[];while(temp.length<len){this.V=this._hmac().update(this.V).digest();temp=temp.concat(this.V)}var res=temp.slice(0,len);this._update(add);this._reseed++;return utils.encode(res,enc)}},{"hash.js":286,"minimalistic-assert":800,"minimalistic-crypto-utils":801}],299:[function(require,module,exports){"use strict";const whatwgEncoding=require("whatwg-encoding");module.exports=(buffer,{transportLayerEncodingLabel:transportLayerEncodingLabel,defaultEncoding:defaultEncoding="windows-1252"}={})=>{let encoding=whatwgEncoding.getBOMEncoding(buffer);if(encoding===null&&transportLayerEncodingLabel!==undefined){encoding=whatwgEncoding.labelToName(transportLayerEncodingLabel)}if(encoding===null){encoding=prescanMetaCharset(buffer)}if(encoding===null){encoding=defaultEncoding}return encoding};function prescanMetaCharset(buffer){const l=Math.min(buffer.length,1024);for(let i=0;i<l;i++){let c=buffer[i];if(c===60){const c1=buffer[i+1];const c2=buffer[i+2];const c3=buffer[i+3];const c4=buffer[i+4];const c5=buffer[i+5];if(c1===33&&c2===45&&c3===45){i+=4;for(;i<l;i++){c=buffer[i];const cMinus1=buffer[i-1];const cMinus2=buffer[i-2];if(c===62&&cMinus1===45&&cMinus2===45){break}}}else if((c1===77||c1===109)&&(c2===69||c2===101)&&(c3===84||c3===116)&&(c4===65||c4===97)&&(isSpaceCharacter(c5)||c5===47)){i+=6;const attributeList=new Set;let gotPragma=false;let needPragma=null;let charset=null;let attrRes;do{attrRes=getAttribute(buffer,i,l);if(attrRes.attr&&!attributeList.has(attrRes.attr.name)){attributeList.add(attrRes.attr.name);if(attrRes.attr.name==="http-equiv"){gotPragma=attrRes.attr.value==="content-type"}else if(attrRes.attr.name==="content"&&!charset){charset=extractCharacterEncodingFromMeta(attrRes.attr.value);if(charset!==null){needPragma=true}}else if(attrRes.attr.name==="charset"){charset=whatwgEncoding.labelToName(attrRes.attr.value);needPragma=false}}i=attrRes.i}while(attrRes.attr);if(needPragma===null){continue}if(needPragma===true&&gotPragma===false){continue}if(charset===null){continue}if(charset==="UTF-16LE"||charset==="UTF-16BE"){charset="UTF-8"}if(charset==="x-user-defined"){charset="windows-1252"}return charset}else if(c1>=65&&c1<=90||c1>=97&&c1<=122){for(i+=2;i<l;i++){c=buffer[i];if(isSpaceCharacter(c)||c===62){break}}let attrRes;do{attrRes=getAttribute(buffer,i,l);i=attrRes.i}while(attrRes.attr)}else if(c1===33||c1===47||c1===63){for(i+=2;i<l;i++){c=buffer[i];if(c===62){break}}}}}return null}function getAttribute(buffer,i,l){for(;i<l;i++){let c=buffer[i];if(isSpaceCharacter(c)||c===47){continue}if(c===62){break}let name="";let value="";nameLoop:for(;i<l;i++){c=buffer[i];if(c===61&&name!==""){i++;break}if(isSpaceCharacter(c)){for(i++;i<l;i++){c=buffer[i];if(isSpaceCharacter(c)){continue}if(c!==61){return{attr:{name:name,value:value},i:i}}i++;break nameLoop}break}if(c===47||c===62){return{attr:{name:name,value:value},i:i}}if(c>=65&&c<=90){name+=String.fromCharCode(c+32)}else{name+=String.fromCharCode(c)}}c=buffer[i];if(isSpaceCharacter(c)){for(i++;i<l;i++){c=buffer[i];if(isSpaceCharacter(c)){continue}else{break}}}if(c===34||c===39){const quote=c;for(i++;i<l;i++){c=buffer[i];if(c===quote){i++;return{attr:{name:name,value:value},i:i}}if(c>=65&&c<=90){value+=String.fromCharCode(c+32)}else{value+=String.fromCharCode(c)}}}if(c===62){return{attr:{name:name,value:value},i:i}}if(c>=65&&c<=90){value+=String.fromCharCode(c+32)}else{value+=String.fromCharCode(c)}for(i++;i<l;i++){c=buffer[i];if(isSpaceCharacter(c)||c===62){return{attr:{name:name,value:value},i:i}}if(c>=65&&c<=90){value+=String.fromCharCode(c+32)}else{value+=String.fromCharCode(c)}}}return{i:i}}function extractCharacterEncodingFromMeta(string){let position=0;while(true){const indexOfCharset=string.substring(position).search(/charset/i);if(indexOfCharset===-1){return null}let subPosition=position+indexOfCharset+"charset".length;while(isSpaceCharacter(string[subPosition].charCodeAt(0))){++subPosition}if(string[subPosition]!=="="){position=subPosition-1;continue}++subPosition;while(isSpaceCharacter(string[subPosition].charCodeAt(0))){++subPosition}position=subPosition;break}if(string[position]==='"'||string[position]==="'"){const nextIndex=string.indexOf(string[position],position+1);if(nextIndex!==-1){return whatwgEncoding.labelToName(string.substring(position+1,nextIndex))}return null}if(string.length===position+1){return null}const indexOfASCIIWhitespaceOrSemicolon=string.substring(position+1).search(/\x09|\x0A|\x0C|\x0D|\x20|;/);const end=indexOfASCIIWhitespaceOrSemicolon===-1?string.length:position+indexOfASCIIWhitespaceOrSemicolon+1;return whatwgEncoding.labelToName(string.substring(position,end))}function isSpaceCharacter(c){return c===9||c===10||c===12||c===13||c===32}},{"whatwg-encoding":1019}],300:[function(require,module,exports){var parser=require("./parser");var signer=require("./signer");var verify=require("./verify");var utils=require("./utils");module.exports={parse:parser.parseRequest,parseRequest:parser.parseRequest,sign:signer.signRequest,signRequest:signer.signRequest,createSigner:signer.createSigner,isSigner:signer.isSigner,sshKeyToPEM:utils.sshKeyToPEM,sshKeyFingerprint:utils.fingerprint,pemToRsaSSHKey:utils.pemToRsaSSHKey,verify:verify.verifySignature,verifySignature:verify.verifySignature,verifyHMAC:verify.verifyHMAC}},{"./parser":301,"./signer":302,"./utils":303,"./verify":304}],301:[function(require,module,exports){var assert=require("assert-plus");var util=require("util");var utils=require("./utils");var HASH_ALGOS=utils.HASH_ALGOS;var PK_ALGOS=utils.PK_ALGOS;var HttpSignatureError=utils.HttpSignatureError;var InvalidAlgorithmError=utils.InvalidAlgorithmError;var validateAlgorithm=utils.validateAlgorithm;var State={New:0,Params:1};var ParamsState={Name:0,Quote:1,Value:2,Comma:3};function ExpiredRequestError(message){HttpSignatureError.call(this,message,ExpiredRequestError)}util.inherits(ExpiredRequestError,HttpSignatureError);function InvalidHeaderError(message){HttpSignatureError.call(this,message,InvalidHeaderError)}util.inherits(InvalidHeaderError,HttpSignatureError);function InvalidParamsError(message){HttpSignatureError.call(this,message,InvalidParamsError)}util.inherits(InvalidParamsError,HttpSignatureError);function MissingHeaderError(message){HttpSignatureError.call(this,message,MissingHeaderError)}util.inherits(MissingHeaderError,HttpSignatureError);function StrictParsingError(message){HttpSignatureError.call(this,message,StrictParsingError)}util.inherits(StrictParsingError,HttpSignatureError);module.exports={parseRequest:function parseRequest(request,options){assert.object(request,"request");assert.object(request.headers,"request.headers");if(options===undefined){options={}}if(options.headers===undefined){options.headers=[request.headers["x-date"]?"x-date":"date"]}assert.object(options,"options");assert.arrayOfString(options.headers,"options.headers");assert.optionalFinite(options.clockSkew,"options.clockSkew");var authzHeaderName=options.authorizationHeaderName||"authorization";if(!request.headers[authzHeaderName]){throw new MissingHeaderError("no "+authzHeaderName+" header "+"present in the request")}options.clockSkew=options.clockSkew||300;var i=0;var state=State.New;var substate=ParamsState.Name;var tmpName="";var tmpValue="";var parsed={scheme:"",params:{},signingString:""};var authz=request.headers[authzHeaderName];for(i=0;i<authz.length;i++){var c=authz.charAt(i);switch(Number(state)){case State.New:if(c!==" ")parsed.scheme+=c;else state=State.Params;break;case State.Params:switch(Number(substate)){case ParamsState.Name:var code=c.charCodeAt(0);if(code>=65&&code<=90||code>=97&&code<=122){tmpName+=c}else if(c==="="){if(tmpName.length===0)throw new InvalidHeaderError("bad param format");substate=ParamsState.Quote}else{throw new InvalidHeaderError("bad param format")}break;case ParamsState.Quote:if(c==='"'){tmpValue="";substate=ParamsState.Value}else{throw new InvalidHeaderError("bad param format")}break;case ParamsState.Value:if(c==='"'){parsed.params[tmpName]=tmpValue;substate=ParamsState.Comma}else{tmpValue+=c}break;case ParamsState.Comma:if(c===","){tmpName="";substate=ParamsState.Name}else{throw new InvalidHeaderError("bad param format")}break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(!parsed.params.headers||parsed.params.headers===""){if(request.headers["x-date"]){parsed.params.headers=["x-date"]}else{parsed.params.headers=["date"]}}else{parsed.params.headers=parsed.params.headers.split(" ")}if(!parsed.scheme||parsed.scheme!=="Signature")throw new InvalidHeaderError('scheme was not "Signature"');if(!parsed.params.keyId)throw new InvalidHeaderError("keyId was not specified");if(!parsed.params.algorithm)throw new InvalidHeaderError("algorithm was not specified");if(!parsed.params.signature)throw new InvalidHeaderError("signature was not specified");parsed.params.algorithm=parsed.params.algorithm.toLowerCase();try{validateAlgorithm(parsed.params.algorithm)}catch(e){if(e instanceof InvalidAlgorithmError)throw new InvalidParamsError(parsed.params.algorithm+" is not "+"supported");else throw e}for(i=0;i<parsed.params.headers.length;i++){var h=parsed.params.headers[i].toLowerCase();parsed.params.headers[i]=h;if(h==="request-line"){if(!options.strict){parsed.signingString+=request.method+" "+request.url+" HTTP/"+request.httpVersion}else{throw new StrictParsingError("request-line is not a valid header "+"with strict parsing enabled.")}}else if(h==="(request-target)"){parsed.signingString+="(request-target): "+request.method.toLowerCase()+" "+request.url}else{var value=request.headers[h];if(value===undefined)throw new MissingHeaderError(h+" was not in the request");parsed.signingString+=h+": "+value}if(i+1<parsed.params.headers.length)parsed.signingString+="\n"}var date;if(request.headers.date||request.headers["x-date"]){if(request.headers["x-date"]){date=new Date(request.headers["x-date"])}else{date=new Date(request.headers.date)}var now=new Date;var skew=Math.abs(now.getTime()-date.getTime());if(skew>options.clockSkew*1e3){throw new ExpiredRequestError("clock skew of "+skew/1e3+"s was greater than "+options.clockSkew+"s")}}options.headers.forEach((function(hdr){if(parsed.params.headers.indexOf(hdr.toLowerCase())<0)throw new MissingHeaderError(hdr+" was not a signed header")}));if(options.algorithms){if(options.algorithms.indexOf(parsed.params.algorithm)===-1)throw new InvalidParamsError(parsed.params.algorithm+" is not a supported algorithm")}parsed.algorithm=parsed.params.algorithm.toUpperCase();parsed.keyId=parsed.params.keyId;return parsed}}},{"./utils":303,"assert-plus":70,util:1e3}],302:[function(require,module,exports){(function(Buffer){var assert=require("assert-plus");var crypto=require("crypto");var http=require("http");var util=require("util");var sshpk=require("sshpk");var jsprim=require("jsprim");var utils=require("./utils");var sprintf=require("util").format;var HASH_ALGOS=utils.HASH_ALGOS;var PK_ALGOS=utils.PK_ALGOS;var InvalidAlgorithmError=utils.InvalidAlgorithmError;var HttpSignatureError=utils.HttpSignatureError;var validateAlgorithm=utils.validateAlgorithm;var AUTHZ_FMT='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function MissingHeaderError(message){HttpSignatureError.call(this,message,MissingHeaderError)}util.inherits(MissingHeaderError,HttpSignatureError);function StrictParsingError(message){HttpSignatureError.call(this,message,StrictParsingError)}util.inherits(StrictParsingError,HttpSignatureError);function RequestSigner(options){assert.object(options,"options");var alg=[];if(options.algorithm!==undefined){assert.string(options.algorithm,"options.algorithm");alg=validateAlgorithm(options.algorithm)}this.rs_alg=alg;if(options.sign!==undefined){assert.func(options.sign,"options.sign");this.rs_signFunc=options.sign}else if(alg[0]==="hmac"&&options.key!==undefined){assert.string(options.keyId,"options.keyId");this.rs_keyId=options.keyId;if(typeof options.key!=="string"&&!Buffer.isBuffer(options.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=crypto.createHmac(alg[1].toUpperCase(),options.key);this.rs_signer.sign=function(){var digest=this.digest("base64");return{hashAlgorithm:alg[1],toString:function(){return digest}}}}else if(options.key!==undefined){var key=options.key;if(typeof key==="string"||Buffer.isBuffer(key))key=sshpk.parsePrivateKey(key);assert.ok(sshpk.PrivateKey.isPrivateKey(key,[1,2]),"options.key must be a sshpk.PrivateKey");this.rs_key=key;assert.string(options.keyId,"options.keyId");this.rs_keyId=options.keyId;if(!PK_ALGOS[key.type]){throw new InvalidAlgorithmError(key.type.toUpperCase()+" type "+"keys are not supported")}if(alg[0]!==undefined&&key.type!==alg[0]){throw new InvalidAlgorithmError("options.key must be a "+alg[0].toUpperCase()+" key, was given a "+key.type.toUpperCase()+" key instead")}this.rs_signer=key.createSign(alg[1])}else{throw new TypeError("options.sign (func) or options.key is required")}this.rs_headers=[];this.rs_lines=[]}RequestSigner.prototype.writeHeader=function(header,value){assert.string(header,"header");header=header.toLowerCase();assert.string(value,"value");this.rs_headers.push(header);if(this.rs_signFunc){this.rs_lines.push(header+": "+value)}else{var line=header+": "+value;if(this.rs_headers.length>0)line="\n"+line;this.rs_signer.update(line)}return value};RequestSigner.prototype.writeDateHeader=function(){return this.writeHeader("date",jsprim.rfc1123(new Date))};RequestSigner.prototype.writeTarget=function(method,path){assert.string(method,"method");assert.string(path,"path");method=method.toLowerCase();this.writeHeader("(request-target)",method+" "+path)};RequestSigner.prototype.sign=function(cb){assert.func(cb,"callback");if(this.rs_headers.length<1)throw new Error("At least one header must be signed");var alg,authz;if(this.rs_signFunc){var data=this.rs_lines.join("\n");var self=this;this.rs_signFunc(data,(function(err,sig){if(err){cb(err);return}try{assert.object(sig,"signature");assert.string(sig.keyId,"signature.keyId");assert.string(sig.algorithm,"signature.algorithm");assert.string(sig.signature,"signature.signature");alg=validateAlgorithm(sig.algorithm);authz=sprintf(AUTHZ_FMT,sig.keyId,sig.algorithm,self.rs_headers.join(" "),sig.signature)}catch(e){cb(e);return}cb(null,authz)}))}else{try{var sigObj=this.rs_signer.sign()}catch(e){cb(e);return}alg=(this.rs_alg[0]||this.rs_key.type)+"-"+sigObj.hashAlgorithm;var signature=sigObj.toString();authz=sprintf(AUTHZ_FMT,this.rs_keyId,alg,this.rs_headers.join(" "),signature);cb(null,authz)}};module.exports={isSigner:function(obj){if(typeof obj==="object"&&obj instanceof RequestSigner)return true;return false},createSigner:function createSigner(options){return new RequestSigner(options)},signRequest:function signRequest(request,options){assert.object(request,"request");assert.object(options,"options");assert.optionalString(options.algorithm,"options.algorithm");assert.string(options.keyId,"options.keyId");assert.optionalArrayOfString(options.headers,"options.headers");assert.optionalString(options.httpVersion,"options.httpVersion");if(!request.getHeader("Date"))request.setHeader("Date",jsprim.rfc1123(new Date));if(!options.headers)options.headers=["date"];if(!options.httpVersion)options.httpVersion="1.1";var alg=[];if(options.algorithm){options.algorithm=options.algorithm.toLowerCase();alg=validateAlgorithm(options.algorithm)}var i;var stringToSign="";for(i=0;i<options.headers.length;i++){if(typeof options.headers[i]!=="string")throw new TypeError("options.headers must be an array of Strings");var h=options.headers[i].toLowerCase();if(h==="request-line"){if(!options.strict){stringToSign+=request.method+" "+request.path+" HTTP/"+options.httpVersion}else{throw new StrictParsingError("request-line is not a valid header "+"with strict parsing enabled.")}}else if(h==="(request-target)"){stringToSign+="(request-target): "+request.method.toLowerCase()+" "+request.path}else{var value=request.getHeader(h);if(value===undefined||value===""){throw new MissingHeaderError(h+" was not in the request")}stringToSign+=h+": "+value}if(i+1<options.headers.length)stringToSign+="\n"}if(request.hasOwnProperty("_stringToSign")){request._stringToSign=stringToSign}var signature;if(alg[0]==="hmac"){if(typeof options.key!=="string"&&!Buffer.isBuffer(options.key))throw new TypeError("options.key must be a string or Buffer");var hmac=crypto.createHmac(alg[1].toUpperCase(),options.key);hmac.update(stringToSign);signature=hmac.digest("base64")}else{var key=options.key;if(typeof key==="string"||Buffer.isBuffer(key))key=sshpk.parsePrivateKey(options.key);assert.ok(sshpk.PrivateKey.isPrivateKey(key,[1,2]),"options.key must be a sshpk.PrivateKey");if(!PK_ALGOS[key.type]){throw new InvalidAlgorithmError(key.type.toUpperCase()+" type "+"keys are not supported")}if(alg[0]!==undefined&&key.type!==alg[0]){throw new InvalidAlgorithmError("options.key must be a "+alg[0].toUpperCase()+" key, was given a "+key.type.toUpperCase()+" key instead")}var signer=key.createSign(alg[1]);signer.update(stringToSign);var sigObj=signer.sign();if(!HASH_ALGOS[sigObj.hashAlgorithm]){throw new InvalidAlgorithmError(sigObj.hashAlgorithm.toUpperCase()+" is not a supported hash algorithm")}options.algorithm=key.type+"-"+sigObj.hashAlgorithm;signature=sigObj.toString();assert.notStrictEqual(signature,"","empty signature produced")}var authzHeaderName=options.authorizationHeaderName||"Authorization";request.setHeader(authzHeaderName,sprintf(AUTHZ_FMT,options.keyId,options.algorithm,options.headers.join(" "),signature));return true}}}).call(this,{isBuffer:require("../../is-buffer/index.js")})},{"../../is-buffer/index.js":328,"./utils":303,"assert-plus":70,crypto:143,http:956,jsprim:781,sshpk:948,util:1e3}],303:[function(require,module,exports){var assert=require("assert-plus");var sshpk=require("sshpk");var util=require("util");var HASH_ALGOS={sha1:true,sha256:true,sha512:true};var PK_ALGOS={rsa:true,dsa:true,ecdsa:true};function HttpSignatureError(message,caller){if(Error.captureStackTrace)Error.captureStackTrace(this,caller||HttpSignatureError);this.message=message;this.name=caller.name}util.inherits(HttpSignatureError,Error);function InvalidAlgorithmError(message){HttpSignatureError.call(this,message,InvalidAlgorithmError)}util.inherits(InvalidAlgorithmError,HttpSignatureError);function validateAlgorithm(algorithm){var alg=algorithm.toLowerCase().split("-");if(alg.length!==2){throw new InvalidAlgorithmError(alg[0].toUpperCase()+" is not a "+"valid algorithm")}if(alg[0]!=="hmac"&&!PK_ALGOS[alg[0]]){throw new InvalidAlgorithmError(alg[0].toUpperCase()+" type keys "+"are not supported")}if(!HASH_ALGOS[alg[1]]){throw new InvalidAlgorithmError(alg[1].toUpperCase()+" is not a "+"supported hash algorithm")}return alg}module.exports={HASH_ALGOS:HASH_ALGOS,PK_ALGOS:PK_ALGOS,HttpSignatureError:HttpSignatureError,InvalidAlgorithmError:InvalidAlgorithmError,validateAlgorithm:validateAlgorithm,sshKeyToPEM:function sshKeyToPEM(key){assert.string(key,"ssh_key");var k=sshpk.parseKey(key,"ssh");return k.toString("pem")},fingerprint:function fingerprint(key){assert.string(key,"ssh_key");var k=sshpk.parseKey(key,"ssh");return k.fingerprint("md5").toString("hex")},pemToRsaSSHKey:function pemToRsaSSHKey(pem,comment){assert.equal("string",typeof pem,"typeof pem");var k=sshpk.parseKey(pem,"pem");k.comment=comment;return k.toString("ssh")}}},{"assert-plus":70,sshpk:948,util:1e3}],304:[function(require,module,exports){(function(Buffer){var assert=require("assert-plus");var crypto=require("crypto");var sshpk=require("sshpk");var utils=require("./utils");var HASH_ALGOS=utils.HASH_ALGOS;var PK_ALGOS=utils.PK_ALGOS;var InvalidAlgorithmError=utils.InvalidAlgorithmError;var HttpSignatureError=utils.HttpSignatureError;var validateAlgorithm=utils.validateAlgorithm;module.exports={verifySignature:function verifySignature(parsedSignature,pubkey){assert.object(parsedSignature,"parsedSignature");if(typeof pubkey==="string"||Buffer.isBuffer(pubkey))pubkey=sshpk.parseKey(pubkey);assert.ok(sshpk.Key.isKey(pubkey,[1,1]),"pubkey must be a sshpk.Key");var alg=validateAlgorithm(parsedSignature.algorithm);if(alg[0]==="hmac"||alg[0]!==pubkey.type)return false;var v=pubkey.createVerify(alg[1]);v.update(parsedSignature.signingString);return v.verify(parsedSignature.params.signature,"base64")},verifyHMAC:function verifyHMAC(parsedSignature,secret){assert.object(parsedSignature,"parsedHMAC");assert.string(secret,"secret");var alg=validateAlgorithm(parsedSignature.algorithm);if(alg[0]!=="hmac")return false;var hashAlg=alg[1].toUpperCase();var hmac=crypto.createHmac(hashAlg,secret);hmac.update(parsedSignature.signingString);var h1=crypto.createHmac(hashAlg,secret);h1.update(hmac.digest());h1=h1.digest();var h2=crypto.createHmac(hashAlg,secret);h2.update(new Buffer(parsedSignature.params.signature,"base64"));h2=h2.digest();if(typeof h1==="string")return h1===h2;if(Buffer.isBuffer(h1)&&!h1.equals)return h1.toString("binary")===h2.toString("binary");return h1.equals(h2)}}}).call(this,require("buffer").Buffer)},{"./utils":303,"assert-plus":70,buffer:132,crypto:143,sshpk:948}],305:[function(require,module,exports){var http=require("http");var url=require("url");var https=module.exports;for(var key in http){if(http.hasOwnProperty(key))https[key]=http[key]}https.request=function(params,cb){params=validateParams(params);return http.request.call(this,params,cb)};https.get=function(params,cb){params=validateParams(params);return http.get.call(this,params,cb)};function validateParams(params){if(typeof params==="string"){params=url.parse(params)}if(!params.protocol){params.protocol="https:"}if(params.protocol!=="https:"){throw new Error('Protocol "'+params.protocol+'" not supported. Expected "https:"')}return params}},{http:956,url:995}],306:[function(require,module,exports){"use strict";var Buffer=require("safer-buffer").Buffer;exports._dbcs=DBCSCodec;var UNASSIGNED=-1,GB18030_CODE=-2,SEQ_START=-10,NODE_START=-1e3,UNASSIGNED_NODE=new Array(256),DEF_CHAR=-1;for(var i=0;i<256;i++)UNASSIGNED_NODE[i]=UNASSIGNED;function DBCSCodec(codecOptions,iconv){this.encodingName=codecOptions.encodingName;if(!codecOptions)throw new Error("DBCS codec is called without the data.");if(!codecOptions.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var mappingTable=codecOptions.table();this.decodeTables=[];this.decodeTables[0]=UNASSIGNED_NODE.slice(0);this.decodeTableSeq=[];for(var i=0;i<mappingTable.length;i++)this._addDecodeChunk(mappingTable[i]);this.defaultCharUnicode=iconv.defaultCharUnicode;this.encodeTable=[];this.encodeTableSeq=[];var skipEncodeChars={};if(codecOptions.encodeSkipVals)for(var i=0;i<codecOptions.encodeSkipVals.length;i++){var val=codecOptions.encodeSkipVals[i];if(typeof val==="number")skipEncodeChars[val]=true;else for(var j=val.from;j<=val.to;j++)skipEncodeChars[j]=true}this._fillEncodeTable(0,0,skipEncodeChars);if(codecOptions.encodeAdd){for(var uChar in codecOptions.encodeAdd)if(Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd,uChar))this._setEncodeChar(uChar.charCodeAt(0),codecOptions.encodeAdd[uChar])}this.defCharSB=this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)];if(this.defCharSB===UNASSIGNED)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===UNASSIGNED)this.defCharSB="?".charCodeAt(0);if(typeof codecOptions.gb18030==="function"){this.gb18030=codecOptions.gb18030();var thirdByteNodeIdx=this.decodeTables.length;var thirdByteNode=this.decodeTables[thirdByteNodeIdx]=UNASSIGNED_NODE.slice(0);var fourthByteNodeIdx=this.decodeTables.length;var fourthByteNode=this.decodeTables[fourthByteNodeIdx]=UNASSIGNED_NODE.slice(0);for(var i=129;i<=254;i++){var secondByteNodeIdx=NODE_START-this.decodeTables[0][i];var secondByteNode=this.decodeTables[secondByteNodeIdx];for(var j=48;j<=57;j++)secondByteNode[j]=NODE_START-thirdByteNodeIdx}for(var i=129;i<=254;i++)thirdByteNode[i]=NODE_START-fourthByteNodeIdx;for(var i=48;i<=57;i++)fourthByteNode[i]=GB18030_CODE}}DBCSCodec.prototype.encoder=DBCSEncoder;DBCSCodec.prototype.decoder=DBCSDecoder;DBCSCodec.prototype._getDecodeTrieNode=function(addr){var bytes=[];for(;addr>0;addr>>=8)bytes.push(addr&255);if(bytes.length==0)bytes.push(0);var node=this.decodeTables[0];for(var i=bytes.length-1;i>0;i--){var val=node[bytes[i]];if(val==UNASSIGNED){node[bytes[i]]=NODE_START-this.decodeTables.length;this.decodeTables.push(node=UNASSIGNED_NODE.slice(0))}else if(val<=NODE_START){node=this.decodeTables[NODE_START-val]}else throw new Error("Overwrite byte in "+this.encodingName+", addr: "+addr.toString(16))}return node};DBCSCodec.prototype._addDecodeChunk=function(chunk){var curAddr=parseInt(chunk[0],16);var writeTable=this._getDecodeTrieNode(curAddr);curAddr=curAddr&255;for(var k=1;k<chunk.length;k++){var part=chunk[k];if(typeof part==="string"){for(var l=0;l<part.length;){var code=part.charCodeAt(l++);if(55296<=code&&code<56320){var codeTrail=part.charCodeAt(l++);if(56320<=codeTrail&&codeTrail<57344)writeTable[curAddr++]=65536+(code-55296)*1024+(codeTrail-56320);else throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+chunk[0])}else if(4080<code&&code<=4095){var len=4095-code+2;var seq=[];for(var m=0;m<len;m++)seq.push(part.charCodeAt(l++));writeTable[curAddr++]=SEQ_START-this.decodeTableSeq.length;this.decodeTableSeq.push(seq)}else writeTable[curAddr++]=code}}else if(typeof part==="number"){var charCode=writeTable[curAddr-1]+1;for(var l=0;l<part;l++)writeTable[curAddr++]=charCode++}else throw new Error("Incorrect type '"+typeof part+"' given in "+this.encodingName+" at chunk "+chunk[0])}if(curAddr>255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+chunk[0]+": too long"+curAddr)};DBCSCodec.prototype._getEncodeBucket=function(uCode){var high=uCode>>8;if(this.encodeTable[high]===undefined)this.encodeTable[high]=UNASSIGNED_NODE.slice(0);return this.encodeTable[high]};DBCSCodec.prototype._setEncodeChar=function(uCode,dbcsCode){var bucket=this._getEncodeBucket(uCode);var low=uCode&255;if(bucket[low]<=SEQ_START)this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR]=dbcsCode;else if(bucket[low]==UNASSIGNED)bucket[low]=dbcsCode};DBCSCodec.prototype._setEncodeSequence=function(seq,dbcsCode){var uCode=seq[0];var bucket=this._getEncodeBucket(uCode);var low=uCode&255;var node;if(bucket[low]<=SEQ_START){node=this.encodeTableSeq[SEQ_START-bucket[low]]}else{node={};if(bucket[low]!==UNASSIGNED)node[DEF_CHAR]=bucket[low];bucket[low]=SEQ_START-this.encodeTableSeq.length;this.encodeTableSeq.push(node)}for(var j=1;j<seq.length-1;j++){var oldVal=node[uCode];if(typeof oldVal==="object")node=oldVal;else{node=node[uCode]={};if(oldVal!==undefined)node[DEF_CHAR]=oldVal}}uCode=seq[seq.length-1];node[uCode]=dbcsCode};DBCSCodec.prototype._fillEncodeTable=function(nodeIdx,prefix,skipEncodeChars){var node=this.decodeTables[nodeIdx];for(var i=0;i<256;i++){var uCode=node[i];var mbCode=prefix+i;if(skipEncodeChars[mbCode])continue;if(uCode>=0)this._setEncodeChar(uCode,mbCode);else if(uCode<=NODE_START)this._fillEncodeTable(NODE_START-uCode,mbCode<<8,skipEncodeChars);else if(uCode<=SEQ_START)this._setEncodeSequence(this.decodeTableSeq[SEQ_START-uCode],mbCode)}};function DBCSEncoder(options,codec){this.leadSurrogate=-1;this.seqObj=undefined;this.encodeTable=codec.encodeTable;this.encodeTableSeq=codec.encodeTableSeq;this.defaultCharSingleByte=codec.defCharSB;this.gb18030=codec.gb18030}DBCSEncoder.prototype.write=function(str){var newBuf=Buffer.alloc(str.length*(this.gb18030?4:3)),leadSurrogate=this.leadSurrogate,seqObj=this.seqObj,nextChar=-1,i=0,j=0;while(true){if(nextChar===-1){if(i==str.length)break;var uCode=str.charCodeAt(i++)}else{var uCode=nextChar;nextChar=-1}if(55296<=uCode&&uCode<57344){if(uCode<56320){if(leadSurrogate===-1){leadSurrogate=uCode;continue}else{leadSurrogate=uCode;uCode=UNASSIGNED}}else{if(leadSurrogate!==-1){uCode=65536+(leadSurrogate-55296)*1024+(uCode-56320);leadSurrogate=-1}else{uCode=UNASSIGNED}}}else if(leadSurrogate!==-1){nextChar=uCode;uCode=UNASSIGNED;leadSurrogate=-1}var dbcsCode=UNASSIGNED;if(seqObj!==undefined&&uCode!=UNASSIGNED){var resCode=seqObj[uCode];if(typeof resCode==="object"){seqObj=resCode;continue}else if(typeof resCode=="number"){dbcsCode=resCode}else if(resCode==undefined){resCode=seqObj[DEF_CHAR];if(resCode!==undefined){dbcsCode=resCode;nextChar=uCode}else{}}seqObj=undefined}else if(uCode>=0){var subtable=this.encodeTable[uCode>>8];if(subtable!==undefined)dbcsCode=subtable[uCode&255];if(dbcsCode<=SEQ_START){seqObj=this.encodeTableSeq[SEQ_START-dbcsCode];continue}if(dbcsCode==UNASSIGNED&&this.gb18030){var idx=findIdx(this.gb18030.uChars,uCode);if(idx!=-1){var dbcsCode=this.gb18030.gbChars[idx]+(uCode-this.gb18030.uChars[idx]);newBuf[j++]=129+Math.floor(dbcsCode/12600);dbcsCode=dbcsCode%12600;newBuf[j++]=48+Math.floor(dbcsCode/1260);dbcsCode=dbcsCode%1260;newBuf[j++]=129+Math.floor(dbcsCode/10);dbcsCode=dbcsCode%10;newBuf[j++]=48+dbcsCode;continue}}}if(dbcsCode===UNASSIGNED)dbcsCode=this.defaultCharSingleByte;if(dbcsCode<256){newBuf[j++]=dbcsCode}else if(dbcsCode<65536){newBuf[j++]=dbcsCode>>8;newBuf[j++]=dbcsCode&255}else{newBuf[j++]=dbcsCode>>16;newBuf[j++]=dbcsCode>>8&255;newBuf[j++]=dbcsCode&255}}this.seqObj=seqObj;this.leadSurrogate=leadSurrogate;return newBuf.slice(0,j)};DBCSEncoder.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===undefined)return;var newBuf=Buffer.alloc(10),j=0;if(this.seqObj){var dbcsCode=this.seqObj[DEF_CHAR];if(dbcsCode!==undefined){if(dbcsCode<256){newBuf[j++]=dbcsCode}else{newBuf[j++]=dbcsCode>>8;newBuf[j++]=dbcsCode&255}}else{}this.seqObj=undefined}if(this.leadSurrogate!==-1){newBuf[j++]=this.defaultCharSingleByte;this.leadSurrogate=-1}return newBuf.slice(0,j)};DBCSEncoder.prototype.findIdx=findIdx;function DBCSDecoder(options,codec){this.nodeIdx=0;this.prevBuf=Buffer.alloc(0);this.decodeTables=codec.decodeTables;this.decodeTableSeq=codec.decodeTableSeq;this.defaultCharUnicode=codec.defaultCharUnicode;this.gb18030=codec.gb18030}DBCSDecoder.prototype.write=function(buf){var newBuf=Buffer.alloc(buf.length*2),nodeIdx=this.nodeIdx,prevBuf=this.prevBuf,prevBufOffset=this.prevBuf.length,seqStart=-this.prevBuf.length,uCode;if(prevBufOffset>0)prevBuf=Buffer.concat([prevBuf,buf.slice(0,10)]);for(var i=0,j=0;i<buf.length;i++){var curByte=i>=0?buf[i]:prevBuf[i+prevBufOffset];var uCode=this.decodeTables[nodeIdx][curByte];if(uCode>=0){}else if(uCode===UNASSIGNED){i=seqStart;uCode=this.defaultCharUnicode.charCodeAt(0)}else if(uCode===GB18030_CODE){var curSeq=seqStart>=0?buf.slice(seqStart,i+1):prevBuf.slice(seqStart+prevBufOffset,i+1+prevBufOffset);var ptr=(curSeq[0]-129)*12600+(curSeq[1]-48)*1260+(curSeq[2]-129)*10+(curSeq[3]-48);var idx=findIdx(this.gb18030.gbChars,ptr);uCode=this.gb18030.uChars[idx]+ptr-this.gb18030.gbChars[idx]}else if(uCode<=NODE_START){nodeIdx=NODE_START-uCode;continue}else if(uCode<=SEQ_START){var seq=this.decodeTableSeq[SEQ_START-uCode];for(var k=0;k<seq.length-1;k++){uCode=seq[k];newBuf[j++]=uCode&255;newBuf[j++]=uCode>>8}uCode=seq[seq.length-1]}else throw new Error("iconv-lite internal error: invalid decoding table value "+uCode+" at "+nodeIdx+"/"+curByte);if(uCode>65535){uCode-=65536;var uCodeLead=55296+Math.floor(uCode/1024);newBuf[j++]=uCodeLead&255;newBuf[j++]=uCodeLead>>8;uCode=56320+uCode%1024}newBuf[j++]=uCode&255;newBuf[j++]=uCode>>8;nodeIdx=0;seqStart=i+1}this.nodeIdx=nodeIdx;this.prevBuf=seqStart>=0?buf.slice(seqStart):prevBuf.slice(seqStart+prevBufOffset);return newBuf.slice(0,j).toString("ucs2")};DBCSDecoder.prototype.end=function(){var ret="";while(this.prevBuf.length>0){ret+=this.defaultCharUnicode;var buf=this.prevBuf.slice(1);this.prevBuf=Buffer.alloc(0);this.nodeIdx=0;if(buf.length>0)ret+=this.write(buf)}this.nodeIdx=0;return ret};function findIdx(table,val){if(table[0]>val)return-1;var l=0,r=table.length;while(l<r-1){var mid=l+Math.floor((r-l+1)/2);if(table[mid]<=val)l=mid;else r=mid}return l}},{"safer-buffer":908}],307:[function(require,module,exports){"use strict";module.exports={shiftjis:{type:"_dbcs",table:function(){return require("./tables/shiftjis.json")},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return require("./tables/eucjp.json")},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return require("./tables/cp936.json")}},gbk:{type:"_dbcs",table:function(){return require("./tables/cp936.json").concat(require("./tables/gbk-added.json"))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return require("./tables/cp936.json").concat(require("./tables/gbk-added.json"))},gb18030:function(){return require("./tables/gb18030-ranges.json")},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return require("./tables/cp949.json")}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return require("./tables/cp950.json")}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return require("./tables/cp950.json").concat(require("./tables/big5-added.json"))},encodeSkipVals:[41676]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},{"./tables/big5-added.json":313,"./tables/cp936.json":314,"./tables/cp949.json":315,"./tables/cp950.json":316,"./tables/eucjp.json":317,"./tables/gb18030-ranges.json":318,"./tables/gbk-added.json":319,"./tables/shiftjis.json":320}],308:[function(require,module,exports){"use strict";var modules=[require("./internal"),require("./utf16"),require("./utf7"),require("./sbcs-codec"),require("./sbcs-data"),require("./sbcs-data-generated"),require("./dbcs-codec"),require("./dbcs-data")];for(var i=0;i<modules.length;i++){var module=modules[i];for(var enc in module)if(Object.prototype.hasOwnProperty.call(module,enc))exports[enc]=module[enc]}},{"./dbcs-codec":306,"./dbcs-data":307,"./internal":309,"./sbcs-codec":310,"./sbcs-data":312,"./sbcs-data-generated":311,"./utf16":321,"./utf7":322}],309:[function(require,module,exports){"use strict";var Buffer=require("safer-buffer").Buffer;module.exports={utf8:{type:"_internal",bomAware:true},cesu8:{type:"_internal",bomAware:true},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:true},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:InternalCodec};function InternalCodec(codecOptions,iconv){this.enc=codecOptions.encodingName;this.bomAware=codecOptions.bomAware;if(this.enc==="base64")this.encoder=InternalEncoderBase64;else if(this.enc==="cesu8"){this.enc="utf8";this.encoder=InternalEncoderCesu8;if(Buffer.from("eda0bdedb2a9","hex").toString()!=="💩"){this.decoder=InternalDecoderCesu8;this.defaultCharUnicode=iconv.defaultCharUnicode}}}InternalCodec.prototype.encoder=InternalEncoder;InternalCodec.prototype.decoder=InternalDecoder;var StringDecoder=require("string_decoder").StringDecoder;if(!StringDecoder.prototype.end)StringDecoder.prototype.end=function(){};function InternalDecoder(options,codec){StringDecoder.call(this,codec.enc)}InternalDecoder.prototype=StringDecoder.prototype;function InternalEncoder(options,codec){this.enc=codec.enc}InternalEncoder.prototype.write=function(str){return Buffer.from(str,this.enc)};InternalEncoder.prototype.end=function(){};function InternalEncoderBase64(options,codec){this.prevStr=""}InternalEncoderBase64.prototype.write=function(str){str=this.prevStr+str;var completeQuads=str.length-str.length%4;this.prevStr=str.slice(completeQuads);str=str.slice(0,completeQuads);return Buffer.from(str,"base64")};InternalEncoderBase64.prototype.end=function(){return Buffer.from(this.prevStr,"base64")};function InternalEncoderCesu8(options,codec){}InternalEncoderCesu8.prototype.write=function(str){var buf=Buffer.alloc(str.length*3),bufIdx=0;for(var i=0;i<str.length;i++){var charCode=str.charCodeAt(i);if(charCode<128)buf[bufIdx++]=charCode;else if(charCode<2048){buf[bufIdx++]=192+(charCode>>>6);buf[bufIdx++]=128+(charCode&63)}else{buf[bufIdx++]=224+(charCode>>>12);buf[bufIdx++]=128+(charCode>>>6&63);buf[bufIdx++]=128+(charCode&63)}}return buf.slice(0,bufIdx)};InternalEncoderCesu8.prototype.end=function(){};function InternalDecoderCesu8(options,codec){this.acc=0;this.contBytes=0;this.accBytes=0;this.defaultCharUnicode=codec.defaultCharUnicode}InternalDecoderCesu8.prototype.write=function(buf){var acc=this.acc,contBytes=this.contBytes,accBytes=this.accBytes,res="";for(var i=0;i<buf.length;i++){var curByte=buf[i];if((curByte&192)!==128){if(contBytes>0){res+=this.defaultCharUnicode;contBytes=0}if(curByte<128){res+=String.fromCharCode(curByte)}else if(curByte<224){acc=curByte&31;contBytes=1;accBytes=1}else if(curByte<240){acc=curByte&15;contBytes=2;accBytes=1}else{res+=this.defaultCharUnicode}}else{if(contBytes>0){acc=acc<<6|curByte&63;contBytes--;accBytes++;if(contBytes===0){if(accBytes===2&&acc<128&&acc>0)res+=this.defaultCharUnicode;else if(accBytes===3&&acc<2048)res+=this.defaultCharUnicode;else res+=String.fromCharCode(acc)}}else{res+=this.defaultCharUnicode}}}this.acc=acc;this.contBytes=contBytes;this.accBytes=accBytes;return res};InternalDecoderCesu8.prototype.end=function(){var res=0;if(this.contBytes>0)res+=this.defaultCharUnicode;return res}},{"safer-buffer":908,string_decoder:975}],310:[function(require,module,exports){"use strict";var Buffer=require("safer-buffer").Buffer;exports._sbcs=SBCSCodec;function SBCSCodec(codecOptions,iconv){if(!codecOptions)throw new Error("SBCS codec is called without the data.");if(!codecOptions.chars||codecOptions.chars.length!==128&&codecOptions.chars.length!==256)throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(codecOptions.chars.length===128){var asciiString="";for(var i=0;i<128;i++)asciiString+=String.fromCharCode(i);codecOptions.chars=asciiString+codecOptions.chars}this.decodeBuf=Buffer.from(codecOptions.chars,"ucs2");var encodeBuf=Buffer.alloc(65536,iconv.defaultCharSingleByte.charCodeAt(0));for(var i=0;i<codecOptions.chars.length;i++)encodeBuf[codecOptions.chars.charCodeAt(i)]=i;this.encodeBuf=encodeBuf}SBCSCodec.prototype.encoder=SBCSEncoder;SBCSCodec.prototype.decoder=SBCSDecoder;function SBCSEncoder(options,codec){this.encodeBuf=codec.encodeBuf}SBCSEncoder.prototype.write=function(str){var buf=Buffer.alloc(str.length);for(var i=0;i<str.length;i++)buf[i]=this.encodeBuf[str.charCodeAt(i)];return buf};SBCSEncoder.prototype.end=function(){};function SBCSDecoder(options,codec){this.decodeBuf=codec.decodeBuf}SBCSDecoder.prototype.write=function(buf){var decodeBuf=this.decodeBuf;var newBuf=Buffer.alloc(buf.length*2);var idx1=0,idx2=0;for(var i=0;i<buf.length;i++){idx1=buf[i]*2;idx2=i*2;newBuf[idx2]=decodeBuf[idx1];newBuf[idx2+1]=decodeBuf[idx1+1]}return newBuf.toString("ucs2")};SBCSDecoder.prototype.end=function(){}},{"safer-buffer":908}],311:[function(require,module,exports){"use strict";module.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€<><E282AC><EFBFBD><EFBFBD>…<EFBFBD><E280A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>‘’“”•–—<E28093><E28094><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู<E0B8B9><E0B8BA><EFBFBD><EFBFBD>฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛<E0B99A><E0B99B><EFBFBD><EFBFBD>"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€<>‚<EFBFBD>„…†‡<E280A0>‰Š‹ŚŤŽŹ<C5BD>‘’“”•–—<E28093>™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—<E28093>™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€<>‚ƒ„…†‡ˆ‰Š‹Œ<E280B9>Ž<EFBFBD><C5BD>‘’“”•–—˜™š›œ<E280BA>žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€<>‚ƒ„…†‡<E280A0>‰<EFBFBD>‹<EFBFBD><E280B9><EFBFBD><EFBFBD><EFBFBD>‘’“”•–—<E28093>™<EFBFBD>›<EFBFBD><E280BA><EFBFBD><EFBFBD> ΅Ά£¤¥¦§¨©<C2A8>«¬®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ<CEA0>ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ<CF8D>"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€<>‚ƒ„…†‡ˆ‰Š‹Œ<E280B9><C592><EFBFBD><EFBFBD>‘’“”•–—˜™š›œ<E280BA><C593>Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€<>‚ƒ„…†‡ˆ‰<CB86>‹<EFBFBD><E280B9><EFBFBD><EFBFBD><EFBFBD>‘’“”•–—˜™<CB9C>›<EFBFBD><E280BA><EFBFBD><EFBFBD> ¡¢£₪¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״<D7B3><D7B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>אבגדהוזחטיךכלםמןנסעףפץצקרשת<D7A9><D7AA><E2808E>"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œں ،¢£¤¥¦§¨©ھ«¬®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€<>‚<EFBFBD>„…†‡<E280A0>‰<EFBFBD>‹<EFBFBD>¨ˇ¸<CB87>‘’“”•–—<E28093>™<EFBFBD>›<EFBFBD>¯˛<C2AF> <EFBFBD>¢£¤<C2A3>¦§Ø©Ŗ«¬®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€<>‚ƒ„…†‡ˆ‰<CB86>‹Œ<E280B9><C592><EFBFBD><EFBFBD>‘’“”•–—˜™<CB9C>›œ<E280BA><C593>Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"
Ą˘Ł¤ĽŚ§¨ŠŞŤŹŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"
Ħ˘£¤<C2A3>Ĥ§¨İŞĞĴ<C4B4>ݰħ²³´µĥ·¸ışğĵ½<C4B5>żÀÁÂ<C381>ÄĊĈÇÈÉÊËÌÍÎÏ<C38E>ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ<C3A1>äċĉçèéêëìíîï<C3AE>ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"
ĄĸŖ¤Ĩϧ¨ŠĒĢŦޝ°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"
ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"
<C29F><C2A0><EFBFBD>¤<EFBFBD><C2A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>،<D88C><C2AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؛<EFBFBD><D89B><EFBFBD>؟<EFBFBD>ءآأؤإئابةتثجحخدذرزسشصضطظعغ<D8B9><D8BA><EFBFBD><EFBFBD><EFBFBD>ـفقكلمنهوىيًٌٍَُِّْ<D991><D992><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"
‘’£€₯¦§¨©ͺ«¬<C2AC>―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ<CEA0>ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ<CF8D>"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"
<C29F>¢£¤¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾<C2BD><C2BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>‗אבגדהוזחטיךכלםמןנסעףפץצקרשת<D7A9><D7AA><E2808E>"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"
ĄĒĢĪĨͧĻĐŠŦŽŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"
กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู<E0B8B9><E0B8BA><EFBFBD><EFBFBD>฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛<E0B99A><E0B99B><EFBFBD><EFBFBD>"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"
”¢£¤„¦§Ø©Ŗ«¬®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"
Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"
¡¢£€¥Š§š©ª«¬®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"
ĄąŁ€„Чš©Ș«ŹźŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת<D7A9>£<EFBFBD>×<EFBFBD><C397><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>®¬½¼<C2BD>«»░▒▓│┤<E29482><E294A4><EFBFBD>©╣║╗╝¢¥┐└┴┬├─┼<E29480><E294BC>╚╔╩╦╠═╬¤<E295AC><C2A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>┘┌█▄¦<E29684>▀<EFBFBD><E29680><EFBFBD><EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD><C2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¯´±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ<C38B>ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ<C395>×ÚÛÙìÿ¯´±<C2AD>¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ<EFBBB7><EFBBB8>ﻻﻼ<EFBBBB> ﺂ£¤ﺄ<C2A4><EFBA84>ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■<EFBBB1>"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ά<EFBFBD>·¬¦‘’Έ―ΉΊΪΌ<CEAA><CE8C>ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"
¡¢£¤¥¦§¨©ª«¬®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ<EFBBAC>"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"
ЁЂҐЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"
¡¢£¤¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"
ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ<E0BAAD><E0BAAE><EFBFBD>ຯະາຳິີຶືຸູຼັົຽ<E0BABB><E0BABD><EFBFBD>ເແໂໃໄ່້໊໋໌ໍໆ<E0BB8D>ໜໝ₭<E0BB9D><E282AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>໐໑໒໓໔໕໖໗໘໙<E0BB98><E0BB99>¢¬¦<C2AC>"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู<E0B8B9><E0B8BA><EFBFBD><EFBFBD>฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛<E0B99A><E0B99B><EFBFBD><EFBFBD>"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"
¡¢£€¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊<C3B7>©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ<CE90>"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”<E2809D>•‘’<E28098> กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\ufeff–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©<C2AE><C2A9><EFBFBD><EFBFBD>"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙ<C39B>ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡<E280A0>‰ҳ‹ҲҷҶ<D2B7>Қ‘’“”•–—<E28093>™<EFBFBD>›<EFBFBD><E280BA><EFBFBD><EFBFBD><EFBFBD>ӯӮё¤ӣ¦§<C2A6><C2A7><EFBFBD>«¬®<C2AD>°±²Ё<C2B2>Ӣ¶·<C2B6>№<EFBFBD>»<EFBFBD><C2BB><EFBFBD>©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"
<C29F>և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚<D686>"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—<E28093>™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:"\0ÚỤỪỬỮ\b\t\n\v\f\rỨỰỲỶỸÝỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"},georgianacademy:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:"\0ẲẴẪ\b\t\n\v\f\rỶỸỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"},iso646cn:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾<E280BE><7F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"},iso646jp:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾<E280BE><7F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"},hproman8:{type:"_sbcs",chars:"
ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±<C2BB>"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"},tis620:{type:"_sbcs",chars:"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู<E0B8B9><E0B8BA><EFBFBD><EFBFBD>฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛<E0B99A><E0B99B><EFBFBD><EFBFBD>"}}},{}],312:[function(require,module,exports){"use strict";module.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},{}],313:[function(require,module,exports){module.exports=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒÊ̄ẾÊ̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜüê̄ếê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]},{}],314:[function(require,module,exports){module.exports=[["0","\0",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]},{}],315:[function(require,module,exports){module.exports=[["0","\0",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]},{}],316:[function(require,module,exports){module.exports=[["0","\0",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]},{}],317:[function(require,module,exports){module.exports=[["0","\0",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]},{}],318:[function(require,module,exports){module.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189e3]}},{}],319:[function(require,module,exports){module.exports=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc",""],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93]]},{}],320:[function(require,module,exports){module.exports=[["0","\0",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]},{}],321:[function(require,module,exports){"use strict";var Buffer=require("safer-buffer").Buffer;exports.utf16be=Utf16BECodec;function Utf16BECodec(){}Utf16BECodec.prototype.encoder=Utf16BEEncoder;Utf16BECodec.prototype.decoder=Utf16BEDecoder;Utf16BECodec.prototype.bomAware=true;function Utf16BEEncoder(){}Utf16BEEncoder.prototype.write=function(str){var buf=Buffer.from(str,"ucs2");for(var i=0;i<buf.length;i+=2){var tmp=buf[i];buf[i]=buf[i+1];buf[i+1]=tmp}return buf};Utf16BEEncoder.prototype.end=function(){};function Utf16BEDecoder(){this.overflowByte=-1}Utf16BEDecoder.prototype.write=function(buf){if(buf.length==0)return"";var buf2=Buffer.alloc(buf.length+1),i=0,j=0;if(this.overflowByte!==-1){buf2[0]=buf[0];buf2[1]=this.overflowByte;i=1;j=2}for(;i<buf.length-1;i+=2,j+=2){buf2[j]=buf[i+1];buf2[j+1]=buf[i]}this.overflowByte=i==buf.length-1?buf[buf.length-1]:-1;return buf2.slice(0,j).toString("ucs2")};Utf16BEDecoder.prototype.end=function(){};exports.utf16=Utf16Codec;function Utf16Codec(codecOptions,iconv){this.iconv=iconv}Utf16Codec.prototype.encoder=Utf16Encoder;Utf16Codec.prototype.decoder=Utf16Decoder;function Utf16Encoder(options,codec){options=options||{};if(options.addBOM===undefined)options.addBOM=true;this.encoder=codec.iconv.getEncoder("utf-16le",options)}Utf16Encoder.prototype.write=function(str){return this.encoder.write(str)};Utf16Encoder.prototype.end=function(){return this.encoder.end()};function Utf16Decoder(options,codec){this.decoder=null;this.initialBytes=[];this.initialBytesLen=0;this.options=options||{};this.iconv=codec.iconv}Utf16Decoder.prototype.write=function(buf){if(!this.decoder){this.initialBytes.push(buf);this.initialBytesLen+=buf.length;if(this.initialBytesLen<16)return"";var buf=Buffer.concat(this.initialBytes),encoding=detectEncoding(buf,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(encoding,this.options);this.initialBytes.length=this.initialBytesLen=0}return this.decoder.write(buf)};Utf16Decoder.prototype.end=function(){if(!this.decoder){var buf=Buffer.concat(this.initialBytes),encoding=detectEncoding(buf,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(encoding,this.options);var res=this.decoder.write(buf),trail=this.decoder.end();return trail?res+trail:res}return this.decoder.end()};function detectEncoding(buf,defaultEncoding){var enc=defaultEncoding||"utf-16le";if(buf.length>=2){if(buf[0]==254&&buf[1]==255)enc="utf-16be";else if(buf[0]==255&&buf[1]==254)enc="utf-16le";else{var asciiCharsLE=0,asciiCharsBE=0,_len=Math.min(buf.length-buf.length%2,64);for(var i=0;i<_len;i+=2){if(buf[i]===0&&buf[i+1]!==0)asciiCharsBE++;if(buf[i]!==0&&buf[i+1]===0)asciiCharsLE++}if(asciiCharsBE>asciiCharsLE)enc="utf-16be";else if(asciiCharsBE<asciiCharsLE)enc="utf-16le"}}return enc}},{"safer-buffer":908}],322:[function(require,module,exports){"use strict";var Buffer=require("safer-buffer").Buffer;exports.utf7=Utf7Codec;exports.unicode11utf7="utf7";function Utf7Codec(codecOptions,iconv){this.iconv=iconv}Utf7Codec.prototype.encoder=Utf7Encoder;Utf7Codec.prototype.decoder=Utf7Decoder;Utf7Codec.prototype.bomAware=true;var nonDirectChars=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function Utf7Encoder(options,codec){this.iconv=codec.iconv}Utf7Encoder.prototype.write=function(str){return Buffer.from(str.replace(nonDirectChars,function(chunk){return"+"+(chunk==="+"?"":this.iconv.encode(chunk,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};Utf7Encoder.prototype.end=function(){};function Utf7Decoder(options,codec){this.iconv=codec.iconv;this.inBase64=false;this.base64Accum=""}var base64Regex=/[A-Za-z0-9\/+]/;var base64Chars=[];for(var i=0;i<256;i++)base64Chars[i]=base64Regex.test(String.fromCharCode(i));var plusChar="+".charCodeAt(0),minusChar="-".charCodeAt(0),andChar="&".charCodeAt(0);Utf7Decoder.prototype.write=function(buf){var res="",lastI=0,inBase64=this.inBase64,base64Accum=this.base64Accum;for(var i=0;i<buf.length;i++){if(!inBase64){if(buf[i]==plusChar){res+=this.iconv.decode(buf.slice(lastI,i),"ascii");lastI=i+1;inBase64=true}}else{if(!base64Chars[buf[i]]){if(i==lastI&&buf[i]==minusChar){res+="+"}else{var b64str=base64Accum+buf.slice(lastI,i).toString();res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}if(buf[i]!=minusChar)i--;lastI=i+1;inBase64=false;base64Accum=""}}}if(!inBase64){res+=this.iconv.decode(buf.slice(lastI),"ascii")}else{var b64str=base64Accum+buf.slice(lastI).toString();var canBeDecoded=b64str.length-b64str.length%8;base64Accum=b64str.slice(canBeDecoded);b64str=b64str.slice(0,canBeDecoded);res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}this.inBase64=inBase64;this.base64Accum=base64Accum;return res};Utf7Decoder.prototype.end=function(){var res="";if(this.inBase64&&this.base64Accum.length>0)res=this.iconv.decode(Buffer.from(this.base64Accum,"base64"),"utf16-be");this.inBase64=false;this.base64Accum="";return res};exports.utf7imap=Utf7IMAPCodec;function Utf7IMAPCodec(codecOptions,iconv){this.iconv=iconv}Utf7IMAPCodec.prototype.encoder=Utf7IMAPEncoder;Utf7IMAPCodec.prototype.decoder=Utf7IMAPDecoder;Utf7IMAPCodec.prototype.bomAware=true;function Utf7IMAPEncoder(options,codec){this.iconv=codec.iconv;this.inBase64=false;this.base64Accum=Buffer.alloc(6);this.base64AccumIdx=0}Utf7IMAPEncoder.prototype.write=function(str){var inBase64=this.inBase64,base64Accum=this.base64Accum,base64AccumIdx=this.base64AccumIdx,buf=Buffer.alloc(str.length*5+10),bufIdx=0;for(var i=0;i<str.length;i++){var uChar=str.charCodeAt(i);if(32<=uChar&&uChar<=126){if(inBase64){if(base64AccumIdx>0){bufIdx+=buf.write(base64Accum.slice(0,base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),bufIdx);base64AccumIdx=0}buf[bufIdx++]=minusChar;inBase64=false}if(!inBase64){buf[bufIdx++]=uChar;if(uChar===andChar)buf[bufIdx++]=minusChar}}else{if(!inBase64){buf[bufIdx++]=andChar;inBase64=true}if(inBase64){base64Accum[base64AccumIdx++]=uChar>>8;base64Accum[base64AccumIdx++]=uChar&255;if(base64AccumIdx==base64Accum.length){bufIdx+=buf.write(base64Accum.toString("base64").replace(/\//g,","),bufIdx);base64AccumIdx=0}}}}this.inBase64=inBase64;this.base64AccumIdx=base64AccumIdx;return buf.slice(0,bufIdx)};Utf7IMAPEncoder.prototype.end=function(){var buf=Buffer.alloc(10),bufIdx=0;if(this.inBase64){if(this.base64AccumIdx>0){bufIdx+=buf.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),bufIdx);this.base64AccumIdx=0}buf[bufIdx++]=minusChar;this.inBase64=false}return buf.slice(0,bufIdx)};function Utf7IMAPDecoder(options,codec){this.iconv=codec.iconv;this.inBase64=false;this.base64Accum=""}var base64IMAPChars=base64Chars.slice();base64IMAPChars[",".charCodeAt(0)]=true;Utf7IMAPDecoder.prototype.write=function(buf){var res="",lastI=0,inBase64=this.inBase64,base64Accum=this.base64Accum;for(var i=0;i<buf.length;i++){if(!inBase64){if(buf[i]==andChar){res+=this.iconv.decode(buf.slice(lastI,i),"ascii");lastI=i+1;inBase64=true}}else{if(!base64IMAPChars[buf[i]]){if(i==lastI&&buf[i]==minusChar){res+="&"}else{var b64str=base64Accum+buf.slice(lastI,i).toString().replace(/,/g,"/");res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}if(buf[i]!=minusChar)i--;lastI=i+1;inBase64=false;base64Accum=""}}}if(!inBase64){res+=this.iconv.decode(buf.slice(lastI),"ascii")}else{var b64str=base64Accum+buf.slice(lastI).toString().replace(/,/g,"/");var canBeDecoded=b64str.length-b64str.length%8;base64Accum=b64str.slice(canBeDecoded);b64str=b64str.slice(0,canBeDecoded);res+=this.iconv.decode(Buffer.from(b64str,"base64"),"utf16-be")}this.inBase64=inBase64;this.base64Accum=base64Accum;return res};Utf7IMAPDecoder.prototype.end=function(){var res="";if(this.inBase64&&this.base64Accum.length>0)res=this.iconv.decode(Buffer.from(this.base64Accum,"base64"),"utf16-be");this.inBase64=false;this.base64Accum="";return res}},{"safer-buffer":908}],323:[function(require,module,exports){"use strict";var BOMChar="\ufeff";exports.PrependBOM=PrependBOMWrapper;function PrependBOMWrapper(encoder,options){this.encoder=encoder;this.addBOM=true}PrependBOMWrapper.prototype.write=function(str){if(this.addBOM){str=BOMChar+str;this.addBOM=false}return this.encoder.write(str)};PrependBOMWrapper.prototype.end=function(){return this.encoder.end()};exports.StripBOM=StripBOMWrapper;function StripBOMWrapper(decoder,options){this.decoder=decoder;this.pass=false;this.options=options||{}}StripBOMWrapper.prototype.write=function(buf){var res=this.decoder.write(buf);if(this.pass||!res)return res;if(res[0]===BOMChar){res=res.slice(1);if(typeof this.options.stripBOM==="function")this.options.stripBOM()}this.pass=true;return res};StripBOMWrapper.prototype.end=function(){return this.decoder.end()}},{}],324:[function(require,module,exports){(function(process){"use strict";var Buffer=require("safer-buffer").Buffer;var bomHandling=require("./bom-handling"),iconv=module.exports;iconv.encodings=null;iconv.defaultCharUnicode="<22>";iconv.defaultCharSingleByte="?";iconv.encode=function encode(str,encoding,options){str=""+(str||"");var encoder=iconv.getEncoder(encoding,options);var res=encoder.write(str);var trail=encoder.end();return trail&&trail.length>0?Buffer.concat([res,trail]):res};iconv.decode=function decode(buf,encoding,options){if(typeof buf==="string"){if(!iconv.skipDecodeWarning){console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");iconv.skipDecodeWarning=true}buf=Buffer.from(""+(buf||""),"binary")}var decoder=iconv.getDecoder(encoding,options);var res=decoder.write(buf);var trail=decoder.end();return trail?res+trail:res};iconv.encodingExists=function encodingExists(enc){try{iconv.getCodec(enc);return true}catch(e){return false}};iconv.toEncoding=iconv.encode;iconv.fromEncoding=iconv.decode;iconv._codecDataCache={};iconv.getCodec=function getCodec(encoding){if(!iconv.encodings)iconv.encodings=require("../encodings");var enc=iconv._canonicalizeEncoding(encoding);var codecOptions={};while(true){var codec=iconv._codecDataCache[enc];if(codec)return codec;var codecDef=iconv.encodings[enc];switch(typeof codecDef){case"string":enc=codecDef;break;case"object":for(var key in codecDef)codecOptions[key]=codecDef[key];if(!codecOptions.encodingName)codecOptions.encodingName=enc;enc=codecDef.type;break;case"function":if(!codecOptions.encodingName)codecOptions.encodingName=enc;codec=new codecDef(codecOptions,iconv);iconv._codecDataCache[codecOptions.encodingName]=codec;return codec;default:throw new Error("Encoding not recognized: '"+encoding+"' (searched as: '"+enc+"')")}}};iconv._canonicalizeEncoding=function(encoding){return(""+encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};iconv.getEncoder=function getEncoder(encoding,options){var codec=iconv.getCodec(encoding),encoder=new codec.encoder(options,codec);if(codec.bomAware&&options&&options.addBOM)encoder=new bomHandling.PrependBOM(encoder,options);return encoder};iconv.getDecoder=function getDecoder(encoding,options){var codec=iconv.getCodec(encoding),decoder=new codec.decoder(options,codec);if(codec.bomAware&&!(options&&options.stripBOM===false))decoder=new bomHandling.StripBOM(decoder,options);return decoder};var nodeVer=typeof process!=="undefined"&&process.versions&&process.versions.node;if(nodeVer){var nodeVerArr=nodeVer.split(".").map(Number);if(nodeVerArr[0]>0||nodeVerArr[1]>=10){require("./streams")(iconv)}require("./extend-node")(iconv)}if("Ā"!="Ā"){console.error("iconv-lite warning: javascript files use encoding different from utf-8. See https://github.com/ashtuchkin/iconv-lite/wiki/Javascript-source-file-encodings for more info.")}}).call(this,require("_process"))},{"../encodings":308,"./bom-handling":323,"./extend-node":83,"./streams":83,_process:855,"safer-buffer":908}],325:[function(require,module,exports){exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m;var eLen=nBytes*8-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var nBits=-7;var i=isLE?nBytes-1:0;var d=isLE?-1:1;var s=buffer[offset+i];i+=d;e=s&(1<<-nBits)-1;s>>=-nBits;nBits+=eLen;for(;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8){}m=e&(1<<-nBits)-1;e>>=-nBits;nBits+=mLen;for(;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8){}if(e===0){e=1-eBias}else if(e===eMax){return m?NaN:(s?-1:1)*Infinity}else{m=m+Math.pow(2,mLen);e=e-eBias}return(s?-1:1)*m*Math.pow(2,e-mLen)};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c;var eLen=nBytes*8-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0;var i=isLE?0:nBytes-1;var d=isLE?1:-1;var s=value<0||value===0&&1/value<0?1:0;value=Math.abs(value);if(isNaN(value)||value===Infinity){m=isNaN(value)?1:0;e=eMax}else{e=Math.floor(Math.log(value)/Math.LN2);if(value*(c=Math.pow(2,-e))<1){e--;c*=2}if(e+eBias>=1){value+=rt/c}else{value+=rt*Math.pow(2,1-eBias)}if(value*c>=2){e++;c/=2}if(e+eBias>=eMax){m=0;e=eMax}else if(e+eBias>=1){m=(value*c-1)*Math.pow(2,mLen);e=e+eBias}else{m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen);e=0}}for(;mLen>=8;buffer[offset+i]=m&255,i+=d,m/=256,mLen-=8){}e=e<<mLen|m;eLen+=mLen;for(;eLen>0;buffer[offset+i]=e&255,i+=d,e/=256,eLen-=8){}buffer[offset+i-d]|=s*128}},{}],326:[function(require,module,exports){if(typeof Object.create==="function"){module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}})}}}else{module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor;ctor.prototype.constructor=ctor}}}},{}],327:[function(require,module,exports){"use strict";const v4="(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])){3}";const v6seg="[0-9a-fA-F]{1,4}";const v6=`\n(\n(?:${v6seg}:){7}(?:${v6seg}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8\n(?:${v6seg}:){6}(?:${v4}|:${v6seg}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4\n(?:${v6seg}:){5}(?::${v4}|(:${v6seg}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4\n(?:${v6seg}:){4}(?:(:${v6seg}){0,1}:${v4}|(:${v6seg}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4\n(?:${v6seg}:){3}(?:(:${v6seg}){0,2}:${v4}|(:${v6seg}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4\n(?:${v6seg}:){2}(?:(:${v6seg}){0,3}:${v4}|(:${v6seg}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4\n(?:${v6seg}:){1}(?:(:${v6seg}){0,4}:${v4}|(:${v6seg}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4\n(?::((?::${v6seg}){0,5}:${v4}|(?::${v6seg}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4\n)(%[0-9a-zA-Z]{1,})? // %eth0 %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim();const ip=module.exports=opts=>opts&&opts.exact?new RegExp(`(?:^${v4}$)|(?:^${v6}$)`):new RegExp(`(?:${v4})|(?:${v6})`,"g");ip.v4=opts=>opts&&opts.exact?new RegExp(`^${v4}$`):new RegExp(v4,"g");ip.v6=opts=>opts&&opts.exact?new RegExp(`^${v6}$`):new RegExp(v6,"g")},{}],328:[function(require,module,exports){
|
||
/*!
|
||
* Determine if an object is a Buffer
|
||
*
|
||
* @author Feross Aboukhadijeh <https://feross.org>
|
||
* @license MIT
|
||
*/
|
||
module.exports=function(obj){return obj!=null&&(isBuffer(obj)||isSlowBuffer(obj)||!!obj._isBuffer)};function isBuffer(obj){return!!obj.constructor&&typeof obj.constructor.isBuffer==="function"&&obj.constructor.isBuffer(obj)}function isSlowBuffer(obj){return typeof obj.readFloatLE==="function"&&typeof obj.slice==="function"&&isBuffer(obj.slice(0,0))}},{}],329:[function(require,module,exports){var regex=/^[a-z](?:[\-\.0-9_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-9_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])*$/;var isPotentialCustomElementName=function(string){return regex.test(string)};module.exports=isPotentialCustomElementName},{}],330:[function(require,module,exports){module.exports=isTypedArray;isTypedArray.strict=isStrictTypedArray;isTypedArray.loose=isLooseTypedArray;var toString=Object.prototype.toString;var names={"[object Int8Array]":true,"[object Int16Array]":true,"[object Int32Array]":true,"[object Uint8Array]":true,"[object Uint8ClampedArray]":true,"[object Uint16Array]":true,"[object Uint32Array]":true,"[object Float32Array]":true,"[object Float64Array]":true};function isTypedArray(arr){return isStrictTypedArray(arr)||isLooseTypedArray(arr)}function isStrictTypedArray(arr){return arr instanceof Int8Array||arr instanceof Int16Array||arr instanceof Int32Array||arr instanceof Uint8Array||arr instanceof Uint8ClampedArray||arr instanceof Uint16Array||arr instanceof Uint32Array||arr instanceof Float32Array||arr instanceof Float64Array}function isLooseTypedArray(arr){return names[toString.call(arr)]}},{}],331:[function(require,module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return toString.call(arr)=="[object Array]"}},{}],332:[function(require,module,exports){var stream=require("stream");function isStream(obj){return obj instanceof stream.Stream}function isReadable(obj){return isStream(obj)&&typeof obj._read=="function"&&typeof obj._readableState=="object"}function isWritable(obj){return isStream(obj)&&typeof obj._write=="function"&&typeof obj._writableState=="object"}function isDuplex(obj){return isReadable(obj)&&isWritable(obj)}module.exports=isStream;module.exports.isReadable=isReadable;module.exports.isWritable=isWritable;module.exports.isDuplex=isDuplex},{stream:955}],333:[function(require,module,exports){(function(){var dbits;var canary=0xdeadbeefcafe;var j_lm=(canary&16777215)==15715070;function BigInteger(a,b,c){if(a!=null)if("number"==typeof a)this.fromNumber(a,b,c);else if(b==null&&"string"!=typeof a)this.fromString(a,256);else this.fromString(a,b)}function nbi(){return new BigInteger(null)}function am1(i,x,w,j,c,n){while(--n>=0){var v=x*this[i++]+w[j]+c;c=Math.floor(v/67108864);w[j++]=v&67108863}return c}function am2(i,x,w,j,c,n){var xl=x&32767,xh=x>>15;while(--n>=0){var l=this[i]&32767;var h=this[i++]>>15;var m=xh*l+h*xl;l=xl*l+((m&32767)<<15)+w[j]+(c&1073741823);c=(l>>>30)+(m>>>15)+xh*h+(c>>>30);w[j++]=l&1073741823}return c}function am3(i,x,w,j,c,n){var xl=x&16383,xh=x>>14;while(--n>=0){var l=this[i]&16383;var h=this[i++]>>14;var m=xh*l+h*xl;l=xl*l+((m&16383)<<14)+w[j]+c;c=(l>>28)+(m>>14)+xh*h;w[j++]=l&268435455}return c}var inBrowser=typeof navigator!=="undefined";if(inBrowser&&j_lm&&navigator.appName=="Microsoft Internet Explorer"){BigInteger.prototype.am=am2;dbits=30}else if(inBrowser&&j_lm&&navigator.appName!="Netscape"){BigInteger.prototype.am=am1;dbits=26}else{BigInteger.prototype.am=am3;dbits=28}BigInteger.prototype.DB=dbits;BigInteger.prototype.DM=(1<<dbits)-1;BigInteger.prototype.DV=1<<dbits;var BI_FP=52;BigInteger.prototype.FV=Math.pow(2,BI_FP);BigInteger.prototype.F1=BI_FP-dbits;BigInteger.prototype.F2=2*dbits-BI_FP;var BI_RM="0123456789abcdefghijklmnopqrstuvwxyz";var BI_RC=new Array;var rr,vv;rr="0".charCodeAt(0);for(vv=0;vv<=9;++vv)BI_RC[rr++]=vv;rr="a".charCodeAt(0);for(vv=10;vv<36;++vv)BI_RC[rr++]=vv;rr="A".charCodeAt(0);for(vv=10;vv<36;++vv)BI_RC[rr++]=vv;function int2char(n){return BI_RM.charAt(n)}function intAt(s,i){var c=BI_RC[s.charCodeAt(i)];return c==null?-1:c}function bnpCopyTo(r){for(var i=this.t-1;i>=0;--i)r[i]=this[i];r.t=this.t;r.s=this.s}function bnpFromInt(x){this.t=1;this.s=x<0?-1:0;if(x>0)this[0]=x;else if(x<-1)this[0]=x+this.DV;else this.t=0}function nbv(i){var r=nbi();r.fromInt(i);return r}function bnpFromString(s,b){var k;if(b==16)k=4;else if(b==8)k=3;else if(b==256)k=8;else if(b==2)k=1;else if(b==32)k=5;else if(b==4)k=2;else{this.fromRadix(s,b);return}this.t=0;this.s=0;var i=s.length,mi=false,sh=0;while(--i>=0){var x=k==8?s[i]&255:intAt(s,i);if(x<0){if(s.charAt(i)=="-")mi=true;continue}mi=false;if(sh==0)this[this.t++]=x;else if(sh+k>this.DB){this[this.t-1]|=(x&(1<<this.DB-sh)-1)<<sh;this[this.t++]=x>>this.DB-sh}else this[this.t-1]|=x<<sh;sh+=k;if(sh>=this.DB)sh-=this.DB}if(k==8&&(s[0]&128)!=0){this.s=-1;if(sh>0)this[this.t-1]|=(1<<this.DB-sh)-1<<sh}this.clamp();if(mi)BigInteger.ZERO.subTo(this,this)}function bnpClamp(){var c=this.s&this.DM;while(this.t>0&&this[this.t-1]==c)--this.t}function bnToString(b){if(this.s<0)return"-"+this.negate().toString(b);var k;if(b==16)k=4;else if(b==8)k=3;else if(b==2)k=1;else if(b==32)k=5;else if(b==4)k=2;else return this.toRadix(b);var km=(1<<k)-1,d,m=false,r="",i=this.t;var p=this.DB-i*this.DB%k;if(i-- >0){if(p<this.DB&&(d=this[i]>>p)>0){m=true;r=int2char(d)}while(i>=0){if(p<k){d=(this[i]&(1<<p)-1)<<k-p;d|=this[--i]>>(p+=this.DB-k)}else{d=this[i]>>(p-=k)&km;if(p<=0){p+=this.DB;--i}}if(d>0)m=true;if(m)r+=int2char(d)}}return m?r:"0"}function bnNegate(){var r=nbi();BigInteger.ZERO.subTo(this,r);return r}function bnAbs(){return this.s<0?this.negate():this}function bnCompareTo(a){var r=this.s-a.s;if(r!=0)return r;var i=this.t;r=i-a.t;if(r!=0)return this.s<0?-r:r;while(--i>=0)if((r=this[i]-a[i])!=0)return r;return 0}function nbits(x){var r=1,t;if((t=x>>>16)!=0){x=t;r+=16}if((t=x>>8)!=0){x=t;r+=8}if((t=x>>4)!=0){x=t;r+=4}if((t=x>>2)!=0){x=t;r+=2}if((t=x>>1)!=0){x=t;r+=1}return r}function bnBitLength(){if(this.t<=0)return 0;return this.DB*(this.t-1)+nbits(this[this.t-1]^this.s&this.DM)}function bnpDLShiftTo(n,r){var i;for(i=this.t-1;i>=0;--i)r[i+n]=this[i];for(i=n-1;i>=0;--i)r[i]=0;r.t=this.t+n;r.s=this.s}function bnpDRShiftTo(n,r){for(var i=n;i<this.t;++i)r[i-n]=this[i];r.t=Math.max(this.t-n,0);r.s=this.s}function bnpLShiftTo(n,r){var bs=n%this.DB;var cbs=this.DB-bs;var bm=(1<<cbs)-1;var ds=Math.floor(n/this.DB),c=this.s<<bs&this.DM,i;for(i=this.t-1;i>=0;--i){r[i+ds+1]=this[i]>>cbs|c;c=(this[i]&bm)<<bs}for(i=ds-1;i>=0;--i)r[i]=0;r[ds]=c;r.t=this.t+ds+1;r.s=this.s;r.clamp()}function bnpRShiftTo(n,r){r.s=this.s;var ds=Math.floor(n/this.DB);if(ds>=this.t){r.t=0;return}var bs=n%this.DB;var cbs=this.DB-bs;var bm=(1<<bs)-1;r[0]=this[ds]>>bs;for(var i=ds+1;i<this.t;++i){r[i-ds-1]|=(this[i]&bm)<<cbs;r[i-ds]=this[i]>>bs}if(bs>0)r[this.t-ds-1]|=(this.s&bm)<<cbs;r.t=this.t-ds;r.clamp()}function bnpSubTo(a,r){var i=0,c=0,m=Math.min(a.t,this.t);while(i<m){c+=this[i]-a[i];r[i++]=c&this.DM;c>>=this.DB}if(a.t<this.t){c-=a.s;while(i<this.t){c+=this[i];r[i++]=c&this.DM;c>>=this.DB}c+=this.s}else{c+=this.s;while(i<a.t){c-=a[i];r[i++]=c&this.DM;c>>=this.DB}c-=a.s}r.s=c<0?-1:0;if(c<-1)r[i++]=this.DV+c;else if(c>0)r[i++]=c;r.t=i;r.clamp()}function bnpMultiplyTo(a,r){var x=this.abs(),y=a.abs();var i=x.t;r.t=i+y.t;while(--i>=0)r[i]=0;for(i=0;i<y.t;++i)r[i+x.t]=x.am(0,y[i],r,i,0,x.t);r.s=0;r.clamp();if(this.s!=a.s)BigInteger.ZERO.subTo(r,r)}function bnpSquareTo(r){var x=this.abs();var i=r.t=2*x.t;while(--i>=0)r[i]=0;for(i=0;i<x.t-1;++i){var c=x.am(i,x[i],r,2*i,0,1);if((r[i+x.t]+=x.am(i+1,2*x[i],r,2*i+1,c,x.t-i-1))>=x.DV){r[i+x.t]-=x.DV;r[i+x.t+1]=1}}if(r.t>0)r[r.t-1]+=x.am(i,x[i],r,2*i,0,1);r.s=0;r.clamp()}function bnpDivRemTo(m,q,r){var pm=m.abs();if(pm.t<=0)return;var pt=this.abs();if(pt.t<pm.t){if(q!=null)q.fromInt(0);if(r!=null)this.copyTo(r);return}if(r==null)r=nbi();var y=nbi(),ts=this.s,ms=m.s;var nsh=this.DB-nbits(pm[pm.t-1]);if(nsh>0){pm.lShiftTo(nsh,y);pt.lShiftTo(nsh,r)}else{pm.copyTo(y);pt.copyTo(r)}var ys=y.t;var y0=y[ys-1];if(y0==0)return;var yt=y0*(1<<this.F1)+(ys>1?y[ys-2]>>this.F2:0);var d1=this.FV/yt,d2=(1<<this.F1)/yt,e=1<<this.F2;var i=r.t,j=i-ys,t=q==null?nbi():q;y.dlShiftTo(j,t);if(r.compareTo(t)>=0){r[r.t++]=1;r.subTo(t,r)}BigInteger.ONE.dlShiftTo(ys,t);t.subTo(y,y);while(y.t<ys)y[y.t++]=0;while(--j>=0){var qd=r[--i]==y0?this.DM:Math.floor(r[i]*d1+(r[i-1]+e)*d2);if((r[i]+=y.am(0,qd,r,j,0,ys))<qd){y.dlShiftTo(j,t);r.subTo(t,r);while(r[i]<--qd)r.subTo(t,r)}}if(q!=null){r.drShiftTo(ys,q);if(ts!=ms)BigInteger.ZERO.subTo(q,q)}r.t=ys;r.clamp();if(nsh>0)r.rShiftTo(nsh,r);if(ts<0)BigInteger.ZERO.subTo(r,r)}function bnMod(a){var r=nbi();this.abs().divRemTo(a,null,r);if(this.s<0&&r.compareTo(BigInteger.ZERO)>0)a.subTo(r,r);return r}function Classic(m){this.m=m}function cConvert(x){if(x.s<0||x.compareTo(this.m)>=0)return x.mod(this.m);else return x}function cRevert(x){return x}function cReduce(x){x.divRemTo(this.m,null,x)}function cMulTo(x,y,r){x.multiplyTo(y,r);this.reduce(r)}function cSqrTo(x,r){x.squareTo(r);this.reduce(r)}Classic.prototype.convert=cConvert;Classic.prototype.revert=cRevert;Classic.prototype.reduce=cReduce;Classic.prototype.mulTo=cMulTo;Classic.prototype.sqrTo=cSqrTo;function bnpInvDigit(){if(this.t<1)return 0;var x=this[0];if((x&1)==0)return 0;var y=x&3;y=y*(2-(x&15)*y)&15;y=y*(2-(x&255)*y)&255;y=y*(2-((x&65535)*y&65535))&65535;y=y*(2-x*y%this.DV)%this.DV;return y>0?this.DV-y:-y}function Montgomery(m){this.m=m;this.mp=m.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<<m.DB-15)-1;this.mt2=2*m.t}function montConvert(x){var r=nbi();x.abs().dlShiftTo(this.m.t,r);r.divRemTo(this.m,null,r);if(x.s<0&&r.compareTo(BigInteger.ZERO)>0)this.m.subTo(r,r);return r}function montRevert(x){var r=nbi();x.copyTo(r);this.reduce(r);return r}function montReduce(x){while(x.t<=this.mt2)x[x.t++]=0;for(var i=0;i<this.m.t;++i){var j=x[i]&32767;var u0=j*this.mpl+((j*this.mph+(x[i]>>15)*this.mpl&this.um)<<15)&x.DM;j=i+this.m.t;x[j]+=this.m.am(0,u0,x,i,0,this.m.t);while(x[j]>=x.DV){x[j]-=x.DV;x[++j]++}}x.clamp();x.drShiftTo(this.m.t,x);if(x.compareTo(this.m)>=0)x.subTo(this.m,x)}function montSqrTo(x,r){x.squareTo(r);this.reduce(r)}function montMulTo(x,y,r){x.multiplyTo(y,r);this.reduce(r)}Montgomery.prototype.convert=montConvert;Montgomery.prototype.revert=montRevert;Montgomery.prototype.reduce=montReduce;Montgomery.prototype.mulTo=montMulTo;Montgomery.prototype.sqrTo=montSqrTo;function bnpIsEven(){return(this.t>0?this[0]&1:this.s)==0}function bnpExp(e,z){if(e>4294967295||e<1)return BigInteger.ONE;var r=nbi(),r2=nbi(),g=z.convert(this),i=nbits(e)-1;g.copyTo(r);while(--i>=0){z.sqrTo(r,r2);if((e&1<<i)>0)z.mulTo(r2,g,r);else{var t=r;r=r2;r2=t}}return z.revert(r)}function bnModPowInt(e,m){var z;if(e<256||m.isEven())z=new Classic(m);else z=new Montgomery(m);return this.exp(e,z)}BigInteger.prototype.copyTo=bnpCopyTo;BigInteger.prototype.fromInt=bnpFromInt;BigInteger.prototype.fromString=bnpFromString;BigInteger.prototype.clamp=bnpClamp;BigInteger.prototype.dlShiftTo=bnpDLShiftTo;BigInteger.prototype.drShiftTo=bnpDRShiftTo;BigInteger.prototype.lShiftTo=bnpLShiftTo;BigInteger.prototype.rShiftTo=bnpRShiftTo;BigInteger.prototype.subTo=bnpSubTo;BigInteger.prototype.multiplyTo=bnpMultiplyTo;BigInteger.prototype.squareTo=bnpSquareTo;BigInteger.prototype.divRemTo=bnpDivRemTo;BigInteger.prototype.invDigit=bnpInvDigit;BigInteger.prototype.isEven=bnpIsEven;BigInteger.prototype.exp=bnpExp;BigInteger.prototype.toString=bnToString;BigInteger.prototype.negate=bnNegate;BigInteger.prototype.abs=bnAbs;BigInteger.prototype.compareTo=bnCompareTo;BigInteger.prototype.bitLength=bnBitLength;BigInteger.prototype.mod=bnMod;BigInteger.prototype.modPowInt=bnModPowInt;BigInteger.ZERO=nbv(0);BigInteger.ONE=nbv(1);function bnClone(){var r=nbi();this.copyTo(r);return r}function bnIntValue(){if(this.s<0){if(this.t==1)return this[0]-this.DV;else if(this.t==0)return-1}else if(this.t==1)return this[0];else if(this.t==0)return 0;return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function bnByteValue(){return this.t==0?this.s:this[0]<<24>>24}function bnShortValue(){return this.t==0?this.s:this[0]<<16>>16}function bnpChunkSize(r){return Math.floor(Math.LN2*this.DB/Math.log(r))}function bnSigNum(){if(this.s<0)return-1;else if(this.t<=0||this.t==1&&this[0]<=0)return 0;else return 1}function bnpToRadix(b){if(b==null)b=10;if(this.signum()==0||b<2||b>36)return"0";var cs=this.chunkSize(b);var a=Math.pow(b,cs);var d=nbv(a),y=nbi(),z=nbi(),r="";this.divRemTo(d,y,z);while(y.signum()>0){r=(a+z.intValue()).toString(b).substr(1)+r;y.divRemTo(d,y,z)}return z.intValue().toString(b)+r}function bnpFromRadix(s,b){this.fromInt(0);if(b==null)b=10;var cs=this.chunkSize(b);var d=Math.pow(b,cs),mi=false,j=0,w=0;for(var i=0;i<s.length;++i){var x=intAt(s,i);if(x<0){if(s.charAt(i)=="-"&&this.signum()==0)mi=true;continue}w=b*w+x;if(++j>=cs){this.dMultiply(d);this.dAddOffset(w,0);j=0;w=0}}if(j>0){this.dMultiply(Math.pow(b,j));this.dAddOffset(w,0)}if(mi)BigInteger.ZERO.subTo(this,this)}function bnpFromNumber(a,b,c){if("number"==typeof b){if(a<2)this.fromInt(1);else{this.fromNumber(a,c);if(!this.testBit(a-1))this.bitwiseTo(BigInteger.ONE.shiftLeft(a-1),op_or,this);if(this.isEven())this.dAddOffset(1,0);while(!this.isProbablePrime(b)){this.dAddOffset(2,0);if(this.bitLength()>a)this.subTo(BigInteger.ONE.shiftLeft(a-1),this)}}}else{var x=new Array,t=a&7;x.length=(a>>3)+1;b.nextBytes(x);if(t>0)x[0]&=(1<<t)-1;else x[0]=0;this.fromString(x,256)}}function bnToByteArray(){var i=this.t,r=new Array;r[0]=this.s;var p=this.DB-i*this.DB%8,d,k=0;if(i-- >0){if(p<this.DB&&(d=this[i]>>p)!=(this.s&this.DM)>>p)r[k++]=d|this.s<<this.DB-p;while(i>=0){if(p<8){d=(this[i]&(1<<p)-1)<<8-p;d|=this[--i]>>(p+=this.DB-8)}else{d=this[i]>>(p-=8)&255;if(p<=0){p+=this.DB;--i}}if((d&128)!=0)d|=-256;if(k==0&&(this.s&128)!=(d&128))++k;if(k>0||d!=this.s)r[k++]=d}}return r}function bnEquals(a){return this.compareTo(a)==0}function bnMin(a){return this.compareTo(a)<0?this:a}function bnMax(a){return this.compareTo(a)>0?this:a}function bnpBitwiseTo(a,op,r){var i,f,m=Math.min(a.t,this.t);for(i=0;i<m;++i)r[i]=op(this[i],a[i]);if(a.t<this.t){f=a.s&this.DM;for(i=m;i<this.t;++i)r[i]=op(this[i],f);r.t=this.t}else{f=this.s&this.DM;for(i=m;i<a.t;++i)r[i]=op(f,a[i]);r.t=a.t}r.s=op(this.s,a.s);r.clamp()}function op_and(x,y){return x&y}function bnAnd(a){var r=nbi();this.bitwiseTo(a,op_and,r);return r}function op_or(x,y){return x|y}function bnOr(a){var r=nbi();this.bitwiseTo(a,op_or,r);return r}function op_xor(x,y){return x^y}function bnXor(a){var r=nbi();this.bitwiseTo(a,op_xor,r);return r}function op_andnot(x,y){return x&~y}function bnAndNot(a){var r=nbi();this.bitwiseTo(a,op_andnot,r);return r}function bnNot(){var r=nbi();for(var i=0;i<this.t;++i)r[i]=this.DM&~this[i];r.t=this.t;r.s=~this.s;return r}function bnShiftLeft(n){var r=nbi();if(n<0)this.rShiftTo(-n,r);else this.lShiftTo(n,r);return r}function bnShiftRight(n){var r=nbi();if(n<0)this.lShiftTo(-n,r);else this.rShiftTo(n,r);return r}function lbit(x){if(x==0)return-1;var r=0;if((x&65535)==0){x>>=16;r+=16}if((x&255)==0){x>>=8;r+=8}if((x&15)==0){x>>=4;r+=4}if((x&3)==0){x>>=2;r+=2}if((x&1)==0)++r;return r}function bnGetLowestSetBit(){for(var i=0;i<this.t;++i)if(this[i]!=0)return i*this.DB+lbit(this[i]);if(this.s<0)return this.t*this.DB;return-1}function cbit(x){var r=0;while(x!=0){x&=x-1;++r}return r}function bnBitCount(){var r=0,x=this.s&this.DM;for(var i=0;i<this.t;++i)r+=cbit(this[i]^x);return r}function bnTestBit(n){var j=Math.floor(n/this.DB);if(j>=this.t)return this.s!=0;return(this[j]&1<<n%this.DB)!=0}function bnpChangeBit(n,op){var r=BigInteger.ONE.shiftLeft(n);this.bitwiseTo(r,op,r);return r}function bnSetBit(n){return this.changeBit(n,op_or)}function bnClearBit(n){return this.changeBit(n,op_andnot)}function bnFlipBit(n){return this.changeBit(n,op_xor)}function bnpAddTo(a,r){var i=0,c=0,m=Math.min(a.t,this.t);while(i<m){c+=this[i]+a[i];r[i++]=c&this.DM;c>>=this.DB}if(a.t<this.t){c+=a.s;while(i<this.t){c+=this[i];r[i++]=c&this.DM;c>>=this.DB}c+=this.s}else{c+=this.s;while(i<a.t){c+=a[i];r[i++]=c&this.DM;c>>=this.DB}c+=a.s}r.s=c<0?-1:0;if(c>0)r[i++]=c;else if(c<-1)r[i++]=this.DV+c;r.t=i;r.clamp()}function bnAdd(a){var r=nbi();this.addTo(a,r);return r}function bnSubtract(a){var r=nbi();this.subTo(a,r);return r}function bnMultiply(a){var r=nbi();this.multiplyTo(a,r);return r}function bnSquare(){var r=nbi();this.squareTo(r);return r}function bnDivide(a){var r=nbi();this.divRemTo(a,r,null);return r}function bnRemainder(a){var r=nbi();this.divRemTo(a,null,r);return r}function bnDivideAndRemainder(a){var q=nbi(),r=nbi();this.divRemTo(a,q,r);return new Array(q,r)}function bnpDMultiply(n){this[this.t]=this.am(0,n-1,this,0,0,this.t);++this.t;this.clamp()}function bnpDAddOffset(n,w){if(n==0)return;while(this.t<=w)this[this.t++]=0;this[w]+=n;while(this[w]>=this.DV){this[w]-=this.DV;if(++w>=this.t)this[this.t++]=0;++this[w]}}function NullExp(){}function nNop(x){return x}function nMulTo(x,y,r){x.multiplyTo(y,r)}function nSqrTo(x,r){x.squareTo(r)}NullExp.prototype.convert=nNop;NullExp.prototype.revert=nNop;NullExp.prototype.mulTo=nMulTo;NullExp.prototype.sqrTo=nSqrTo;function bnPow(e){return this.exp(e,new NullExp)}function bnpMultiplyLowerTo(a,n,r){var i=Math.min(this.t+a.t,n);r.s=0;r.t=i;while(i>0)r[--i]=0;var j;for(j=r.t-this.t;i<j;++i)r[i+this.t]=this.am(0,a[i],r,i,0,this.t);for(j=Math.min(a.t,n);i<j;++i)this.am(0,a[i],r,i,0,n-i);r.clamp()}function bnpMultiplyUpperTo(a,n,r){--n;var i=r.t=this.t+a.t-n;r.s=0;while(--i>=0)r[i]=0;for(i=Math.max(n-this.t,0);i<a.t;++i)r[this.t+i-n]=this.am(n-i,a[i],r,0,0,this.t+i-n);r.clamp();r.drShiftTo(1,r)}function Barrett(m){this.r2=nbi();this.q3=nbi();BigInteger.ONE.dlShiftTo(2*m.t,this.r2);this.mu=this.r2.divide(m);this.m=m}function barrettConvert(x){if(x.s<0||x.t>2*this.m.t)return x.mod(this.m);else if(x.compareTo(this.m)<0)return x;else{var r=nbi();x.copyTo(r);this.reduce(r);return r}}function barrettRevert(x){return x}function barrettReduce(x){x.drShiftTo(this.m.t-1,this.r2);if(x.t>this.m.t+1){x.t=this.m.t+1;x.clamp()}this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(x.compareTo(this.r2)<0)x.dAddOffset(1,this.m.t+1);x.subTo(this.r2,x);while(x.compareTo(this.m)>=0)x.subTo(this.m,x)}function barrettSqrTo(x,r){x.squareTo(r);this.reduce(r)}function barrettMulTo(x,y,r){x.multiplyTo(y,r);this.reduce(r)}Barrett.prototype.convert=barrettConvert;Barrett.prototype.revert=barrettRevert;Barrett.prototype.reduce=barrettReduce;Barrett.prototype.mulTo=barrettMulTo;Barrett.prototype.sqrTo=barrettSqrTo;function bnModPow(e,m){var i=e.bitLength(),k,r=nbv(1),z;if(i<=0)return r;else if(i<18)k=1;else if(i<48)k=3;else if(i<144)k=4;else if(i<768)k=5;else k=6;if(i<8)z=new Classic(m);else if(m.isEven())z=new Barrett(m);else z=new Montgomery(m);var g=new Array,n=3,k1=k-1,km=(1<<k)-1;g[1]=z.convert(this);if(k>1){var g2=nbi();z.sqrTo(g[1],g2);while(n<=km){g[n]=nbi();z.mulTo(g2,g[n-2],g[n]);n+=2}}var j=e.t-1,w,is1=true,r2=nbi(),t;i=nbits(e[j])-1;while(j>=0){if(i>=k1)w=e[j]>>i-k1&km;else{w=(e[j]&(1<<i+1)-1)<<k1-i;if(j>0)w|=e[j-1]>>this.DB+i-k1}n=k;while((w&1)==0){w>>=1;--n}if((i-=n)<0){i+=this.DB;--j}if(is1){g[w].copyTo(r);is1=false}else{while(n>1){z.sqrTo(r,r2);z.sqrTo(r2,r);n-=2}if(n>0)z.sqrTo(r,r2);else{t=r;r=r2;r2=t}z.mulTo(r2,g[w],r)}while(j>=0&&(e[j]&1<<i)==0){z.sqrTo(r,r2);t=r;r=r2;r2=t;if(--i<0){i=this.DB-1;--j}}}return z.revert(r)}function bnGCD(a){var x=this.s<0?this.negate():this.clone();var y=a.s<0?a.negate():a.clone();if(x.compareTo(y)<0){var t=x;x=y;y=t}var i=x.getLowestSetBit(),g=y.getLowestSetBit();if(g<0)return x;if(i<g)g=i;if(g>0){x.rShiftTo(g,x);y.rShiftTo(g,y)}while(x.signum()>0){if((i=x.getLowestSetBit())>0)x.rShiftTo(i,x);if((i=y.getLowestSetBit())>0)y.rShiftTo(i,y);if(x.compareTo(y)>=0){x.subTo(y,x);x.rShiftTo(1,x)}else{y.subTo(x,y);y.rShiftTo(1,y)}}if(g>0)y.lShiftTo(g,y);return y}function bnpModInt(n){if(n<=0)return 0;var d=this.DV%n,r=this.s<0?n-1:0;if(this.t>0)if(d==0)r=this[0]%n;else for(var i=this.t-1;i>=0;--i)r=(d*r+this[i])%n;return r}function bnModInverse(m){var ac=m.isEven();if(this.isEven()&&ac||m.signum()==0)return BigInteger.ZERO;var u=m.clone(),v=this.clone();var a=nbv(1),b=nbv(0),c=nbv(0),d=nbv(1);while(u.signum()!=0){while(u.isEven()){u.rShiftTo(1,u);if(ac){if(!a.isEven()||!b.isEven()){a.addTo(this,a);b.subTo(m,b)}a.rShiftTo(1,a)}else if(!b.isEven())b.subTo(m,b);b.rShiftTo(1,b)}while(v.isEven()){v.rShiftTo(1,v);if(ac){if(!c.isEven()||!d.isEven()){c.addTo(this,c);d.subTo(m,d)}c.rShiftTo(1,c)}else if(!d.isEven())d.subTo(m,d);d.rShiftTo(1,d)}if(u.compareTo(v)>=0){u.subTo(v,u);if(ac)a.subTo(c,a);b.subTo(d,b)}else{v.subTo(u,v);if(ac)c.subTo(a,c);d.subTo(b,d)}}if(v.compareTo(BigInteger.ONE)!=0)return BigInteger.ZERO;if(d.compareTo(m)>=0)return d.subtract(m);if(d.signum()<0)d.addTo(m,d);else return d;if(d.signum()<0)return d.add(m);else return d}var lowprimes=[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];var lplim=(1<<26)/lowprimes[lowprimes.length-1];function bnIsProbablePrime(t){var i,x=this.abs();if(x.t==1&&x[0]<=lowprimes[lowprimes.length-1]){for(i=0;i<lowprimes.length;++i)if(x[0]==lowprimes[i])return true;return false}if(x.isEven())return false;i=1;while(i<lowprimes.length){var m=lowprimes[i],j=i+1;while(j<lowprimes.length&&m<lplim)m*=lowprimes[j++];m=x.modInt(m);while(i<j)if(m%lowprimes[i++]==0)return false}return x.millerRabin(t)}function bnpMillerRabin(t){var n1=this.subtract(BigInteger.ONE);var k=n1.getLowestSetBit();if(k<=0)return false;var r=n1.shiftRight(k);t=t+1>>1;if(t>lowprimes.length)t=lowprimes.length;var a=nbi();for(var i=0;i<t;++i){a.fromInt(lowprimes[Math.floor(Math.random()*lowprimes.length)]);var y=a.modPow(r,this);if(y.compareTo(BigInteger.ONE)!=0&&y.compareTo(n1)!=0){var j=1;while(j++<k&&y.compareTo(n1)!=0){y=y.modPowInt(2,this);if(y.compareTo(BigInteger.ONE)==0)return false}if(y.compareTo(n1)!=0)return false}}return true}BigInteger.prototype.chunkSize=bnpChunkSize;BigInteger.prototype.toRadix=bnpToRadix;BigInteger.prototype.fromRadix=bnpFromRadix;BigInteger.prototype.fromNumber=bnpFromNumber;BigInteger.prototype.bitwiseTo=bnpBitwiseTo;BigInteger.prototype.changeBit=bnpChangeBit;BigInteger.prototype.addTo=bnpAddTo;BigInteger.prototype.dMultiply=bnpDMultiply;BigInteger.prototype.dAddOffset=bnpDAddOffset;BigInteger.prototype.multiplyLowerTo=bnpMultiplyLowerTo;BigInteger.prototype.multiplyUpperTo=bnpMultiplyUpperTo;BigInteger.prototype.modInt=bnpModInt;BigInteger.prototype.millerRabin=bnpMillerRabin;BigInteger.prototype.clone=bnClone;BigInteger.prototype.intValue=bnIntValue;BigInteger.prototype.byteValue=bnByteValue;BigInteger.prototype.shortValue=bnShortValue;BigInteger.prototype.signum=bnSigNum;BigInteger.prototype.toByteArray=bnToByteArray;BigInteger.prototype.equals=bnEquals;BigInteger.prototype.min=bnMin;BigInteger.prototype.max=bnMax;BigInteger.prototype.and=bnAnd;BigInteger.prototype.or=bnOr;BigInteger.prototype.xor=bnXor;BigInteger.prototype.andNot=bnAndNot;BigInteger.prototype.not=bnNot;BigInteger.prototype.shiftLeft=bnShiftLeft;BigInteger.prototype.shiftRight=bnShiftRight;BigInteger.prototype.getLowestSetBit=bnGetLowestSetBit;BigInteger.prototype.bitCount=bnBitCount;BigInteger.prototype.testBit=bnTestBit;BigInteger.prototype.setBit=bnSetBit;BigInteger.prototype.clearBit=bnClearBit;BigInteger.prototype.flipBit=bnFlipBit;BigInteger.prototype.add=bnAdd;BigInteger.prototype.subtract=bnSubtract;BigInteger.prototype.multiply=bnMultiply;BigInteger.prototype.divide=bnDivide;BigInteger.prototype.remainder=bnRemainder;BigInteger.prototype.divideAndRemainder=bnDivideAndRemainder;BigInteger.prototype.modPow=bnModPow;BigInteger.prototype.modInverse=bnModInverse;BigInteger.prototype.pow=bnPow;BigInteger.prototype.gcd=bnGCD;BigInteger.prototype.isProbablePrime=bnIsProbablePrime;BigInteger.prototype.square=bnSquare;BigInteger.prototype.Barrett=Barrett;var rng_state;var rng_pool;var rng_pptr;function rng_seed_int(x){rng_pool[rng_pptr++]^=x&255;rng_pool[rng_pptr++]^=x>>8&255;rng_pool[rng_pptr++]^=x>>16&255;rng_pool[rng_pptr++]^=x>>24&255;if(rng_pptr>=rng_psize)rng_pptr-=rng_psize}function rng_seed_time(){rng_seed_int((new Date).getTime())}if(rng_pool==null){rng_pool=new Array;rng_pptr=0;var t;if(typeof window!=="undefined"&&window.crypto){if(window.crypto.getRandomValues){var ua=new Uint8Array(32);window.crypto.getRandomValues(ua);for(t=0;t<32;++t)rng_pool[rng_pptr++]=ua[t]}else if(navigator.appName=="Netscape"&&navigator.appVersion<"5"){var z=window.crypto.random(32);for(t=0;t<z.length;++t)rng_pool[rng_pptr++]=z.charCodeAt(t)&255}}while(rng_pptr<rng_psize){t=Math.floor(65536*Math.random());rng_pool[rng_pptr++]=t>>>8;rng_pool[rng_pptr++]=t&255}rng_pptr=0;rng_seed_time()}function rng_get_byte(){if(rng_state==null){rng_seed_time();rng_state=prng_newstate();rng_state.init(rng_pool);for(rng_pptr=0;rng_pptr<rng_pool.length;++rng_pptr)rng_pool[rng_pptr]=0;rng_pptr=0}return rng_state.next()}function rng_get_bytes(ba){var i;for(i=0;i<ba.length;++i)ba[i]=rng_get_byte()}function SecureRandom(){}SecureRandom.prototype.nextBytes=rng_get_bytes;function Arcfour(){this.i=0;this.j=0;this.S=new Array}function ARC4init(key){var i,j,t;for(i=0;i<256;++i)this.S[i]=i;j=0;for(i=0;i<256;++i){j=j+this.S[i]+key[i%key.length]&255;t=this.S[i];this.S[i]=this.S[j];this.S[j]=t}this.i=0;this.j=0}function ARC4next(){var t;this.i=this.i+1&255;this.j=this.j+this.S[this.i]&255;t=this.S[this.i];this.S[this.i]=this.S[this.j];this.S[this.j]=t;return this.S[t+this.S[this.i]&255]}Arcfour.prototype.init=ARC4init;Arcfour.prototype.next=ARC4next;function prng_newstate(){return new Arcfour}var rng_psize=256;BigInteger.SecureRandom=SecureRandom;BigInteger.BigInteger=BigInteger;if(typeof exports!=="undefined"){exports=module.exports=BigInteger}else{this.BigInteger=BigInteger;this.SecureRandom=SecureRandom}}).call(this)},{}],334:[function(require,module,exports){(function(Buffer){"use strict";const path=require("path");const fs=require("fs").promises;const vm=require("vm");const toughCookie=require("tough-cookie");const sniffHTMLEncoding=require("html-encoding-sniffer");const whatwgURL=require("whatwg-url");const whatwgEncoding=require("whatwg-encoding");const{URL:URL}=require("whatwg-url");const MIMEType=require("whatwg-mimetype");const idlUtils=require("./jsdom/living/generated/utils.js");const VirtualConsole=require("./jsdom/virtual-console.js");const{createWindow:createWindow}=require("./jsdom/browser/Window.js");const{parseIntoDocument:parseIntoDocument}=require("./jsdom/browser/parser");const{fragmentSerialization:fragmentSerialization}=require("./jsdom/living/domparsing/serialization.js");const ResourceLoader=require("./jsdom/browser/resources/resource-loader.js");const NoOpResourceLoader=require("./jsdom/browser/resources/no-op-resource-loader.js");class CookieJar extends toughCookie.CookieJar{constructor(store,options){super(store,Object.assign({looseMode:true},options))}}const window=Symbol("window");let sharedFragmentDocument=null;class JSDOM{constructor(input,options={}){const mimeType=new MIMEType(options.contentType===undefined?"text/html":options.contentType);const{html:html,encoding:encoding}=normalizeHTML(input,mimeType);options=transformOptions(options,encoding,mimeType);this[window]=createWindow(options.windowOptions);const documentImpl=idlUtils.implForWrapper(this[window]._document);options.beforeParse(this[window]._globalProxy);parseIntoDocument(html,documentImpl);documentImpl.close()}get window(){return this[window]._globalProxy}get virtualConsole(){return this[window]._virtualConsole}get cookieJar(){return idlUtils.implForWrapper(this[window]._document)._cookieJar}serialize(){return fragmentSerialization(idlUtils.implForWrapper(this[window]._document),{requireWellFormed:false})}nodeLocation(node){if(!idlUtils.implForWrapper(this[window]._document)._parseOptions.sourceCodeLocationInfo){throw new Error("Location information was not saved for this jsdom. Use includeNodeLocations during creation.")}return idlUtils.implForWrapper(node).sourceCodeLocation}getInternalVMContext(){if(!vm.isContext(this[window])){throw new TypeError("This jsdom was not configured to allow script running. "+"Use the runScripts option during creation.")}return this[window]}reconfigure(settings){if("windowTop"in settings){this[window]._top=settings.windowTop}if("url"in settings){const document=idlUtils.implForWrapper(this[window]._document);const url=whatwgURL.parseURL(settings.url);if(url===null){throw new TypeError(`Could not parse "${settings.url}" as a URL`)}document._URL=url;document._origin=whatwgURL.serializeURLOrigin(document._URL)}}static fragment(string=""){if(!sharedFragmentDocument){sharedFragmentDocument=(new JSDOM).window.document}const template=sharedFragmentDocument.createElement("template");template.innerHTML=string;return template.content}static fromURL(url,options={}){return Promise.resolve().then(()=>{const parsedURL=new URL(url);const originalHash=parsedURL.hash;parsedURL.hash="";url=parsedURL.href;options=normalizeFromURLOptions(options);const resourceLoader=resourcesToResourceLoader(options.resources);const resourceLoaderForInitialRequest=resourceLoader.constructor===NoOpResourceLoader?new ResourceLoader:resourceLoader;const req=resourceLoaderForInitialRequest.fetch(url,{accept:"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",cookieJar:options.cookieJar,referrer:options.referrer});return req.then(body=>{const res=req.response;options=Object.assign(options,{url:req.href+originalHash,contentType:res.headers["content-type"],referrer:req.getHeader("referer")});return new JSDOM(body,options)})})}static async fromFile(filename,options={}){options=normalizeFromFileOptions(filename,options);const buffer=await fs.readFile(filename);return new JSDOM(buffer,options)}}function normalizeFromURLOptions(options){if(options.url!==undefined){throw new TypeError("Cannot supply a url option when using fromURL")}if(options.contentType!==undefined){throw new TypeError("Cannot supply a contentType option when using fromURL")}const normalized=Object.assign({},options);if(options.referrer!==undefined){normalized.referrer=new URL(options.referrer).href}if(options.cookieJar===undefined){normalized.cookieJar=new CookieJar}return normalized}function normalizeFromFileOptions(filename,options){const normalized=Object.assign({},options);if(normalized.contentType===undefined){const extname=path.extname(filename);if(extname===".xhtml"||extname===".xht"||extname===".xml"){normalized.contentType="application/xhtml+xml"}}if(normalized.url===undefined){normalized.url=new URL("file:"+path.resolve(filename))}return normalized}function transformOptions(options,encoding,mimeType){const transformed={windowOptions:{url:"about:blank",referrer:"",contentType:"text/html",parsingMode:"html",parseOptions:{sourceCodeLocationInfo:false,scriptingEnabled:false},runScripts:undefined,encoding:encoding,pretendToBeVisual:false,storageQuota:5e6,resourceLoader:undefined,virtualConsole:undefined,cookieJar:undefined},beforeParse(){}};if(!mimeType.isHTML()&&!mimeType.isXML()){throw new RangeError(`The given content type of "${options.contentType}" was not a HTML or XML content type`)}transformed.windowOptions.contentType=mimeType.essence;transformed.windowOptions.parsingMode=mimeType.isHTML()?"html":"xml";if(options.url!==undefined){transformed.windowOptions.url=new URL(options.url).href}if(options.referrer!==undefined){transformed.windowOptions.referrer=new URL(options.referrer).href}if(options.includeNodeLocations){if(transformed.windowOptions.parsingMode==="xml"){throw new TypeError("Cannot set includeNodeLocations to true with an XML content type")}transformed.windowOptions.parseOptions={sourceCodeLocationInfo:true}}transformed.windowOptions.cookieJar=options.cookieJar===undefined?new CookieJar:options.cookieJar;transformed.windowOptions.virtualConsole=options.virtualConsole===undefined?(new VirtualConsole).sendTo(console):options.virtualConsole;if(!(transformed.windowOptions.virtualConsole instanceof VirtualConsole)){throw new TypeError("virtualConsole must be an instance of VirtualConsole")}transformed.windowOptions.resourceLoader=resourcesToResourceLoader(options.resources);if(options.runScripts!==undefined){transformed.windowOptions.runScripts=String(options.runScripts);if(transformed.windowOptions.runScripts==="dangerously"){transformed.windowOptions.parseOptions.scriptingEnabled=true}else if(transformed.windowOptions.runScripts!=="outside-only"){throw new RangeError(`runScripts must be undefined, "dangerously", or "outside-only"`)}}if(options.beforeParse!==undefined){transformed.beforeParse=options.beforeParse}if(options.pretendToBeVisual!==undefined){transformed.windowOptions.pretendToBeVisual=Boolean(options.pretendToBeVisual)}if(options.storageQuota!==undefined){transformed.windowOptions.storageQuota=Number(options.storageQuota)}return transformed}function normalizeHTML(html="",mimeType){let encoding="UTF-8";if(ArrayBuffer.isView(html)){html=Buffer.from(html.buffer,html.byteOffset,html.byteLength)}else if(html instanceof ArrayBuffer){html=Buffer.from(html)}if(Buffer.isBuffer(html)){encoding=sniffHTMLEncoding(html,{defaultEncoding:mimeType.isXML()?"UTF-8":"windows-1252",transportLayerEncodingLabel:mimeType.parameters.get("charset")});html=whatwgEncoding.decode(html,encoding)}else{html=String(html)}return{html:html,encoding:encoding}}function resourcesToResourceLoader(resources){switch(resources){case undefined:{return new NoOpResourceLoader}case"usable":{return new ResourceLoader}default:{if(!(resources instanceof ResourceLoader)){throw new TypeError("resources must be an instance of ResourceLoader")}return resources}}}exports.JSDOM=JSDOM;exports.VirtualConsole=VirtualConsole;exports.CookieJar=CookieJar;exports.ResourceLoader=ResourceLoader;exports.toughCookie=toughCookie}).call(this,require("buffer").Buffer)},{"./jsdom/browser/Window.js":335,"./jsdom/browser/parser":340,"./jsdom/browser/resources/no-op-resource-loader.js":343,"./jsdom/browser/resources/resource-loader.js":346,"./jsdom/living/domparsing/serialization.js":363,"./jsdom/living/generated/utils.js":584,"./jsdom/virtual-console.js":767,buffer:132,fs:129,"html-encoding-sniffer":299,path:846,"tough-cookie":769,vm:768,"whatwg-encoding":1019,"whatwg-mimetype":1020,"whatwg-url":1024}],335:[function(require,module,exports){(function(process,global){"use strict";const vm=require("vm");const webIDLConversions=require("webidl-conversions");const{CSSStyleDeclaration:CSSStyleDeclaration}=require("cssstyle");const{Performance:RawPerformance}=require("w3c-hr-time");const notImplemented=require("./not-implemented");const{installInterfaces:installInterfaces}=require("../living/interfaces");const{define:define,mixin:mixin}=require("../utils");const Element=require("../living/generated/Element");const EventTarget=require("../living/generated/EventTarget");const PageTransitionEvent=require("../living/generated/PageTransitionEvent");const namedPropertiesWindow=require("../living/named-properties-window");const postMessage=require("../living/post-message");const DOMException=require("domexception/webidl2js-wrapper");const{btoa:btoa,atob:atob}=require("abab");const idlUtils=require("../living/generated/utils");const WebSocketImpl=require("../living/websockets/WebSocket-impl").implementation;const BarProp=require("../living/generated/BarProp");const documents=require("../living/documents.js");const External=require("../living/generated/External");const Navigator=require("../living/generated/Navigator");const Performance=require("../living/generated/Performance");const Screen=require("../living/generated/Screen");const Storage=require("../living/generated/Storage");const Selection=require("../living/generated/Selection");const reportException=require("../living/helpers/runtime-script-errors");const{fireAnEvent:fireAnEvent}=require("../living/helpers/events");const SessionHistory=require("../living/window/SessionHistory");const{forEachMatchingSheetRuleOfElement:forEachMatchingSheetRuleOfElement,getResolvedValue:getResolvedValue,propertiesWithResolvedValueImplemented:propertiesWithResolvedValueImplemented}=require("../living/helpers/style-rules");const CustomElementRegistry=require("../living/generated/CustomElementRegistry");const jsGlobals=require("./js-globals.json");const GlobalEventHandlersImpl=require("../living/nodes/GlobalEventHandlers-impl").implementation;const WindowEventHandlersImpl=require("../living/nodes/WindowEventHandlers-impl").implementation;exports.createWindow=function(options){return new Window(options)};const jsGlobalEntriesToInstall=Object.entries(jsGlobals).filter(([name])=>name in global);function setupWindow(windowInstance,{runScripts:runScripts}){if(runScripts==="outside-only"||runScripts==="dangerously"){contextifyWindow(windowInstance);for(const[globalName,globalPropDesc]of jsGlobalEntriesToInstall){const propDesc={...globalPropDesc,value:vm.runInContext(globalName,windowInstance)};Object.defineProperty(windowInstance,globalName,propDesc)}}else{for(const[globalName,globalPropDesc]of jsGlobalEntriesToInstall){const propDesc={...globalPropDesc,value:global[globalName]};Object.defineProperty(windowInstance,globalName,propDesc)}}installInterfaces(windowInstance,["Window"]);const EventTargetConstructor=windowInstance.EventTarget;const windowConstructor=function Window(){throw new TypeError("Illegal constructor")};Object.setPrototypeOf(windowConstructor,EventTargetConstructor);Object.defineProperty(windowInstance,"Window",{configurable:true,writable:true,value:windowConstructor});const windowPrototype=Object.create(EventTargetConstructor.prototype);Object.defineProperties(windowPrototype,{constructor:{value:windowConstructor,writable:true,configurable:true},[Symbol.toStringTag]:{value:"Window",configurable:true}});windowConstructor.prototype=windowPrototype;Object.setPrototypeOf(windowInstance,windowPrototype);EventTarget.setup(windowInstance,windowInstance);mixin(windowInstance,WindowEventHandlersImpl.prototype);mixin(windowInstance,GlobalEventHandlersImpl.prototype);windowInstance._initGlobalEvents();windowInstance._globalObject=windowInstance}function Window(options){setupWindow(this,{runScripts:options.runScripts});const rawPerformance=new RawPerformance;const windowInitialized=rawPerformance.now();const window=this;this._resourceLoader=options.resourceLoader;this._globalProxy=this;Object.defineProperty(idlUtils.implForWrapper(this),idlUtils.wrapperSymbol,{get:()=>this._globalProxy});this._document=documents.createWrapper(window,{parsingMode:options.parsingMode,contentType:options.contentType,encoding:options.encoding,cookieJar:options.cookieJar,url:options.url,lastModified:options.lastModified,referrer:options.referrer,concurrentNodeIterators:options.concurrentNodeIterators,parseOptions:options.parseOptions,defaultView:this._globalProxy,global:this},{alwaysUseDocumentClass:true});if(vm.isContext(window)){const documentImpl=idlUtils.implForWrapper(window._document);documentImpl._defaultView=window._globalProxy=vm.runInContext("this",window)}const documentOrigin=idlUtils.implForWrapper(this._document)._origin;this._origin=documentOrigin;this._sessionHistory=new SessionHistory({document:idlUtils.implForWrapper(this._document),url:idlUtils.implForWrapper(this._document)._URL,stateObject:null},this);this._virtualConsole=options.virtualConsole;this._runScripts=options.runScripts;this._parent=this._top=this._globalProxy;this._frameElement=null;this._length=0;this._pretendToBeVisual=options.pretendToBeVisual;this._storageQuota=options.storageQuota;if(options.commonForOrigin&&options.commonForOrigin[documentOrigin]){this._commonForOrigin=options.commonForOrigin}else{this._commonForOrigin={[documentOrigin]:{localStorageArea:new Map,sessionStorageArea:new Map,windowsInSameOrigin:[this]}}}this._currentOriginData=this._commonForOrigin[documentOrigin];this._localStorage=Storage.create(window,[],{associatedWindow:this,storageArea:this._currentOriginData.localStorageArea,type:"localStorage",url:this._document.documentURI,storageQuota:this._storageQuota});this._sessionStorage=Storage.create(window,[],{associatedWindow:this,storageArea:this._currentOriginData.sessionStorageArea,type:"sessionStorage",url:this._document.documentURI,storageQuota:this._storageQuota});this._selection=Selection.createImpl(window);this.getSelection=function(){return window._selection};const locationbar=BarProp.create(window);const menubar=BarProp.create(window);const personalbar=BarProp.create(window);const scrollbars=BarProp.create(window);const statusbar=BarProp.create(window);const toolbar=BarProp.create(window);const external=External.create(window);const navigator=Navigator.create(window,[],{userAgent:this._resourceLoader._userAgent});const performance=Performance.create(window,[],{rawPerformance:rawPerformance});const screen=Screen.create(window);const customElementRegistry=CustomElementRegistry.create(window);define(this,{get length(){return window._length},get window(){return window._globalProxy},get frameElement(){return idlUtils.wrapperForImpl(window._frameElement)},get frames(){return window._globalProxy},get self(){return window._globalProxy},get parent(){return window._parent},get top(){return window._top},get document(){return window._document},get external(){return external},get location(){return idlUtils.wrapperForImpl(idlUtils.implForWrapper(window._document)._location)},get history(){return idlUtils.wrapperForImpl(idlUtils.implForWrapper(window._document)._history)},get navigator(){return navigator},get locationbar(){return locationbar},get menubar(){return menubar},get personalbar(){return personalbar},get scrollbars(){return scrollbars},get statusbar(){return statusbar},get toolbar(){return toolbar},get performance(){return performance},get screen(){return screen},get origin(){return window._origin},set origin(value){Object.defineProperty(this,"origin",{value:value,writable:true,enumerable:true,configurable:true})},get localStorage(){if(idlUtils.implForWrapper(this._document)._origin==="null"){throw DOMException.create(window,["localStorage is not available for opaque origins","SecurityError"])}return this._localStorage},get sessionStorage(){if(idlUtils.implForWrapper(this._document)._origin==="null"){throw DOMException.create(window,["sessionStorage is not available for opaque origins","SecurityError"])}return this._sessionStorage},get customElements(){return customElementRegistry}});namedPropertiesWindow.initializeWindow(this,this._globalProxy);const listOfActiveTimers=new Map;let latestTimerId=0;this.setTimeout=function(handler,timeout=0,...args){if(typeof handler!=="function"){handler=webIDLConversions.DOMString(handler)}timeout=webIDLConversions.long(timeout);return timerInitializationSteps(handler,timeout,args,{methodContext:window,repeat:false})};this.setInterval=function(handler,timeout=0,...args){if(typeof handler!=="function"){handler=webIDLConversions.DOMString(handler)}timeout=webIDLConversions.long(timeout);return timerInitializationSteps(handler,timeout,args,{methodContext:window,repeat:true})};this.clearTimeout=function(handle=0){handle=webIDLConversions.long(handle);const nodejsTimer=listOfActiveTimers.get(handle);if(nodejsTimer){clearTimeout(nodejsTimer);listOfActiveTimers.delete(handle)}};this.clearInterval=function(handle=0){handle=webIDLConversions.long(handle);const nodejsTimer=listOfActiveTimers.get(handle);if(nodejsTimer){clearTimeout(nodejsTimer);listOfActiveTimers.delete(handle)}};function timerInitializationSteps(handler,timeout,args,{methodContext:methodContext,repeat:repeat,previousHandle:previousHandle}){if(!methodContext._document){return 0}const methodContextProxy=methodContext._globalProxy;const handle=previousHandle!==undefined?previousHandle:++latestTimerId;function task(){if(!listOfActiveTimers.has(handle)){return}try{if(typeof handler==="function"){handler.apply(methodContextProxy,args)}else if(window._runScripts==="dangerously"){vm.runInContext(handler,window,{filename:window.location.href,displayErrors:false})}}catch(e){reportException(window,e,window.location.href)}if(listOfActiveTimers.has(handle)){if(repeat){timerInitializationSteps(handler,timeout,args,{methodContext:methodContext,repeat:true,previousHandle:handle})}else{listOfActiveTimers.delete(handle)}}}if(timeout<0){timeout=0}const nodejsTimer=setTimeout(task,timeout);listOfActiveTimers.set(handle,nodejsTimer);return handle}let animationFrameCallbackId=0;const mapOfAnimationFrameCallbacks=new Map;let animationFrameNodejsInterval=null;let numberOfOngoingAnimationFrameCallbacks=0;if(this._pretendToBeVisual){this.requestAnimationFrame=function(callback){callback=webIDLConversions.Function(callback);const handle=++animationFrameCallbackId;mapOfAnimationFrameCallbacks.set(handle,callback);++numberOfOngoingAnimationFrameCallbacks;if(numberOfOngoingAnimationFrameCallbacks===1){animationFrameNodejsInterval=setInterval(()=>{runAnimationFrameCallbacks(rawPerformance.now()-windowInitialized)},1e3/60)}return handle};this.cancelAnimationFrame=function(handle){handle=webIDLConversions["unsigned long"](handle);removeAnimationFrameCallback(handle)};function runAnimationFrameCallbacks(now){const callbackHandles=[...mapOfAnimationFrameCallbacks.keys()];for(const handle of callbackHandles){if(mapOfAnimationFrameCallbacks.has(handle)){const callback=mapOfAnimationFrameCallbacks.get(handle);removeAnimationFrameCallback(handle);try{callback(now)}catch(e){reportException(window,e,window.location.href)}}}}function removeAnimationFrameCallback(handle){if(mapOfAnimationFrameCallbacks.has(handle)){--numberOfOngoingAnimationFrameCallbacks;if(numberOfOngoingAnimationFrameCallbacks===0){clearInterval(animationFrameNodejsInterval)}}mapOfAnimationFrameCallbacks.delete(handle)}}function stopAllTimers(){for(const nodejsTimer of listOfActiveTimers.values()){clearTimeout(nodejsTimer)}listOfActiveTimers.clear();clearInterval(animationFrameNodejsInterval)}function Option(text,value,defaultSelected,selected){if(text===undefined){text=""}text=webIDLConversions.DOMString(text);if(value!==undefined){value=webIDLConversions.DOMString(value)}defaultSelected=webIDLConversions.boolean(defaultSelected);selected=webIDLConversions.boolean(selected);const option=window._document.createElement("option");const impl=idlUtils.implForWrapper(option);if(text!==""){impl.text=text}if(value!==undefined){impl.setAttributeNS(null,"value",value)}if(defaultSelected){impl.setAttributeNS(null,"selected","")}impl._selectedness=selected;return option}Object.defineProperty(Option,"prototype",{value:this.HTMLOptionElement.prototype,configurable:false,enumerable:false,writable:false});Object.defineProperty(window,"Option",{value:Option,configurable:true,enumerable:false,writable:true});function Image(){const img=window._document.createElement("img");const impl=idlUtils.implForWrapper(img);if(arguments.length>0){impl.setAttributeNS(null,"width",String(arguments[0]))}if(arguments.length>1){impl.setAttributeNS(null,"height",String(arguments[1]))}return img}Object.defineProperty(Image,"prototype",{value:this.HTMLImageElement.prototype,configurable:false,enumerable:false,writable:false});Object.defineProperty(window,"Image",{value:Image,configurable:true,enumerable:false,writable:true});function Audio(src){const audio=window._document.createElement("audio");const impl=idlUtils.implForWrapper(audio);impl.setAttributeNS(null,"preload","auto");if(src!==undefined){impl.setAttributeNS(null,"src",String(src))}return audio}Object.defineProperty(Audio,"prototype",{value:this.HTMLAudioElement.prototype,configurable:false,enumerable:false,writable:false});Object.defineProperty(window,"Audio",{value:Audio,configurable:true,enumerable:false,writable:true});this.postMessage=postMessage(window);this.atob=function(str){const result=atob(str);if(result===null){throw DOMException.create(window,["The string to be decoded contains invalid characters.","InvalidCharacterError"])}return result};this.btoa=function(str){const result=btoa(str);if(result===null){throw DOMException.create(window,["The string to be encoded contains invalid characters.","InvalidCharacterError"])}return result};this.stop=function(){const manager=idlUtils.implForWrapper(this._document)._requestManager;if(manager){manager.close()}};this.close=function(){for(let i=0;i<this.length;++i){this[i].close()}idlUtils.implForWrapper(this)._eventListeners=Object.create(null);if(this._document){if(this._document.body){this._document.body.innerHTML=""}if(this._document.close){idlUtils.implForWrapper(this._document)._eventListeners=Object.create(null);this._document.close()}const doc=idlUtils.implForWrapper(this._document);if(doc._requestManager){doc._requestManager.close()}delete this._document}stopAllTimers();WebSocketImpl.cleanUpWindow(this)};this.getComputedStyle=function(elt){elt=Element.convert(elt);const declaration=new CSSStyleDeclaration;const{forEach:forEach}=Array.prototype;const{style:style}=elt;forEachMatchingSheetRuleOfElement(elt,rule=>{forEach.call(rule.style,property=>{declaration.setProperty(property,rule.style.getPropertyValue(property),rule.style.getPropertyPriority(property))})});const declarations=Object.keys(propertiesWithResolvedValueImplemented);forEach.call(declarations,property=>{declaration.setProperty(property,getResolvedValue(elt,property))});forEach.call(style,property=>{declaration.setProperty(property,style.getPropertyValue(property),style.getPropertyPriority(property))});return declaration};this.getSelection=function(){return window._document.getSelection()};this.captureEvents=function(){};this.releaseEvents=function(){};function wrapConsoleMethod(method){return(...args)=>{window._virtualConsole.emit(method,...args)}}this.console={assert:wrapConsoleMethod("assert"),clear:wrapConsoleMethod("clear"),count:wrapConsoleMethod("count"),countReset:wrapConsoleMethod("countReset"),debug:wrapConsoleMethod("debug"),dir:wrapConsoleMethod("dir"),dirxml:wrapConsoleMethod("dirxml"),error:wrapConsoleMethod("error"),group:wrapConsoleMethod("group"),groupCollapsed:wrapConsoleMethod("groupCollapsed"),groupEnd:wrapConsoleMethod("groupEnd"),info:wrapConsoleMethod("info"),log:wrapConsoleMethod("log"),table:wrapConsoleMethod("table"),time:wrapConsoleMethod("time"),timeLog:wrapConsoleMethod("timeLog"),timeEnd:wrapConsoleMethod("timeEnd"),trace:wrapConsoleMethod("trace"),warn:wrapConsoleMethod("warn")};function notImplementedMethod(name){return function(){notImplemented(name,window)}}define(this,{name:"",status:"",devicePixelRatio:1,innerWidth:1024,innerHeight:768,outerWidth:1024,outerHeight:768,pageXOffset:0,pageYOffset:0,screenX:0,screenLeft:0,screenY:0,screenTop:0,scrollX:0,scrollY:0,alert:notImplementedMethod("window.alert"),blur:notImplementedMethod("window.blur"),confirm:notImplementedMethod("window.confirm"),focus:notImplementedMethod("window.focus"),moveBy:notImplementedMethod("window.moveBy"),moveTo:notImplementedMethod("window.moveTo"),open:notImplementedMethod("window.open"),print:notImplementedMethod("window.print"),prompt:notImplementedMethod("window.prompt"),resizeBy:notImplementedMethod("window.resizeBy"),resizeTo:notImplementedMethod("window.resizeTo"),scroll:notImplementedMethod("window.scroll"),scrollBy:notImplementedMethod("window.scrollBy"),scrollTo:notImplementedMethod("window.scrollTo")});process.nextTick(()=>{if(!window.document){return}if(window.document.readyState==="complete"){fireAnEvent("load",window,undefined,{},window.document)}else{window.document.addEventListener("load",()=>{fireAnEvent("load",window,undefined,{},window.document);if(!idlUtils.implForWrapper(window._document)._pageShowingFlag){idlUtils.implForWrapper(window._document)._pageShowingFlag=true;fireAnEvent("pageshow",window,PageTransitionEvent,{persisted:false},window.document)}})}})}function contextifyWindow(window){if(vm.isContext(window)){return}vm.createContext(window)}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"../living/documents.js":359,"../living/generated/BarProp":397,"../living/generated/CustomElementRegistry":408,"../living/generated/Element":418,"../living/generated/EventTarget":429,"../living/generated/External":430,"../living/generated/Navigator":531,"../living/generated/PageTransitionEvent":536,"../living/generated/Performance":538,"../living/generated/Screen":554,"../living/generated/Selection":555,"../living/generated/Storage":562,"../living/generated/utils":584,"../living/helpers/events":592,"../living/helpers/runtime-script-errors":603,"../living/helpers/style-rules":607,"../living/interfaces":615,"../living/named-properties-window":618,"../living/nodes/GlobalEventHandlers-impl":646,"../living/nodes/WindowEventHandlers-impl":736,"../living/post-message":738,"../living/websockets/WebSocket-impl":751,"../living/window/SessionHistory":758,"../utils":766,"./js-globals.json":337,"./not-implemented":338,_process:855,abab:1,cssstyle:164,"domexception/webidl2js-wrapper":213,vm:768,"w3c-hr-time":1007,"webidl-conversions":776}],336:[function(require,module,exports){module.exports=`\n/*\n * The default style sheet used to render HTML.\n *\n * Copyright (C) 2000 Lars Knoll (knoll@kde.org)\n * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Library General Public License for more details.\n *\n * You should have received a copy of the GNU Library General Public License\n * along with this library; see the file COPYING.LIB. If not, write to\n * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\n * Boston, MA 02110-1301, USA.\n *\n */\n\n@namespace "http://www.w3.org/1999/xhtml";\n\nhtml {\n display: block\n}\n\n:root {\n scroll-blocks-on: start-touch wheel-event\n}\n\n/* children of the <head> element all have display:none */\nhead {\n display: none\n}\n\nmeta {\n display: none\n}\n\ntitle {\n display: none\n}\n\nlink {\n display: none\n}\n\nstyle {\n display: none\n}\n\nscript {\n display: none\n}\n\n/* generic block-level elements */\n\nbody {\n display: block;\n margin: 8px\n}\n\np {\n display: block;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1__qem;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n}\n\ndiv {\n display: block\n}\n\nlayer {\n display: block\n}\n\narticle, aside, footer, header, hgroup, main, nav, section {\n display: block\n}\n\nmarquee {\n display: inline-block;\n}\n\naddress {\n display: block\n}\n\nblockquote {\n display: block;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 40px;\n -webkit-margin-end: 40px;\n}\n\nfigcaption {\n display: block\n}\n\nfigure {\n display: block;\n -webkit-margin-before: 1em;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 40px;\n -webkit-margin-end: 40px;\n}\n\nq {\n display: inline\n}\n\n/* nwmatcher does not support ::before and ::after, so we can't render q\ncorrectly: https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3\nTODO: add q::before and q::after selectors\n*/\n\ncenter {\n display: block;\n /* special centering to be able to emulate the html4/netscape behaviour */\n text-align: -webkit-center\n}\n\nhr {\n display: block;\n -webkit-margin-before: 0.5em;\n -webkit-margin-after: 0.5em;\n -webkit-margin-start: auto;\n -webkit-margin-end: auto;\n border-style: inset;\n border-width: 1px;\n box-sizing: border-box\n}\n\nmap {\n display: inline\n}\n\nvideo {\n object-fit: contain;\n}\n\n/* heading elements */\n\nh1 {\n display: block;\n font-size: 2em;\n -webkit-margin-before: 0.67__qem;\n -webkit-margin-after: 0.67em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\narticle h1,\naside h1,\nnav h1,\nsection h1 {\n font-size: 1.5em;\n -webkit-margin-before: 0.83__qem;\n -webkit-margin-after: 0.83em;\n}\n\narticle article h1,\narticle aside h1,\narticle nav h1,\narticle section h1,\naside article h1,\naside aside h1,\naside nav h1,\naside section h1,\nnav article h1,\nnav aside h1,\nnav nav h1,\nnav section h1,\nsection article h1,\nsection aside h1,\nsection nav h1,\nsection section h1 {\n font-size: 1.17em;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n}\n\n/* Remaining selectors are deleted because nwmatcher does not support\n:matches() and expanding the selectors manually would be far too verbose.\nAlso see https://html.spec.whatwg.org/multipage/rendering.html#sections-and-headings\nTODO: rewrite to use :matches() when nwmatcher supports it.\n*/\n\nh2 {\n display: block;\n font-size: 1.5em;\n -webkit-margin-before: 0.83__qem;\n -webkit-margin-after: 0.83em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\nh3 {\n display: block;\n font-size: 1.17em;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\nh4 {\n display: block;\n -webkit-margin-before: 1.33__qem;\n -webkit-margin-after: 1.33em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\nh5 {\n display: block;\n font-size: .83em;\n -webkit-margin-before: 1.67__qem;\n -webkit-margin-after: 1.67em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\nh6 {\n display: block;\n font-size: .67em;\n -webkit-margin-before: 2.33__qem;\n -webkit-margin-after: 2.33em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n font-weight: bold\n}\n\n/* tables */\n\ntable {\n display: table;\n border-collapse: separate;\n border-spacing: 2px;\n border-color: gray\n}\n\nthead {\n display: table-header-group;\n vertical-align: middle;\n border-color: inherit\n}\n\ntbody {\n display: table-row-group;\n vertical-align: middle;\n border-color: inherit\n}\n\ntfoot {\n display: table-footer-group;\n vertical-align: middle;\n border-color: inherit\n}\n\n/* for tables without table section elements (can happen with XHTML or dynamically created tables) */\ntable > tr {\n vertical-align: middle;\n}\n\ncol {\n display: table-column\n}\n\ncolgroup {\n display: table-column-group\n}\n\ntr {\n display: table-row;\n vertical-align: inherit;\n border-color: inherit\n}\n\ntd, th {\n display: table-cell;\n vertical-align: inherit\n}\n\nth {\n font-weight: bold\n}\n\ncaption {\n display: table-caption;\n text-align: -webkit-center\n}\n\n/* lists */\n\nul, menu, dir {\n display: block;\n list-style-type: disc;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n -webkit-padding-start: 40px\n}\n\nol {\n display: block;\n list-style-type: decimal;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n -webkit-padding-start: 40px\n}\n\nli {\n display: list-item;\n text-align: -webkit-match-parent;\n}\n\nul ul, ol ul {\n list-style-type: circle\n}\n\nol ol ul, ol ul ul, ul ol ul, ul ul ul {\n list-style-type: square\n}\n\ndd {\n display: block;\n -webkit-margin-start: 40px\n}\n\ndl {\n display: block;\n -webkit-margin-before: 1__qem;\n -webkit-margin-after: 1em;\n -webkit-margin-start: 0;\n -webkit-margin-end: 0;\n}\n\ndt {\n display: block\n}\n\nol ul, ul ol, ul ul, ol ol {\n -webkit-margin-before: 0;\n -webkit-margin-after: 0\n}\n\n/* form elements */\n\nform {\n display: block;\n margin-top: 0__qem;\n}\n\nlabel {\n cursor: default;\n}\n\nlegend {\n display: block;\n -webkit-padding-start: 2px;\n -webkit-padding-end: 2px;\n border: none\n}\n\nfieldset {\n display: block;\n -webkit-margin-start: 2px;\n -webkit-margin-end: 2px;\n -webkit-padding-before: 0.35em;\n -webkit-padding-start: 0.75em;\n -webkit-padding-end: 0.75em;\n -webkit-padding-after: 0.625em;\n border: 2px groove ThreeDFace;\n min-width: -webkit-min-content;\n}\n\nbutton {\n -webkit-appearance: button;\n}\n\n/* Form controls don't go vertical. */\ninput, textarea, select, button, meter, progress {\n -webkit-writing-mode: horizontal-tb !important;\n}\n\ninput, textarea, select, button {\n margin: 0__qem;\n font: -webkit-small-control;\n text-rendering: auto; /* FIXME: Remove when tabs work with optimizeLegibility. */\n color: initial;\n letter-spacing: normal;\n word-spacing: normal;\n line-height: normal;\n text-transform: none;\n text-indent: 0;\n text-shadow: none;\n display: inline-block;\n text-align: start;\n}\n\n/* TODO: Add " i" to attribute matchers to support case-insensitive matching */\ninput[type="hidden"] {\n display: none\n}\n\ninput {\n -webkit-appearance: textfield;\n padding: 1px;\n background-color: white;\n border: 2px inset;\n -webkit-rtl-ordering: logical;\n -webkit-user-select: text;\n cursor: auto;\n}\n\ninput[type="search"] {\n -webkit-appearance: searchfield;\n box-sizing: border-box;\n}\n\nselect {\n border-radius: 5px;\n}\n\ntextarea {\n -webkit-appearance: textarea;\n background-color: white;\n border: 1px solid;\n -webkit-rtl-ordering: logical;\n -webkit-user-select: text;\n flex-direction: column;\n resize: auto;\n cursor: auto;\n padding: 2px;\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n\ninput[type="password"] {\n -webkit-text-security: disc !important;\n}\n\ninput[type="hidden"], input[type="image"], input[type="file"] {\n -webkit-appearance: initial;\n padding: initial;\n background-color: initial;\n border: initial;\n}\n\ninput[type="file"] {\n align-items: baseline;\n color: inherit;\n text-align: start !important;\n}\n\ninput[type="radio"], input[type="checkbox"] {\n margin: 3px 0.5ex;\n padding: initial;\n background-color: initial;\n border: initial;\n}\n\ninput[type="button"], input[type="submit"], input[type="reset"] {\n -webkit-appearance: push-button;\n -webkit-user-select: none;\n white-space: pre\n}\n\ninput[type="button"], input[type="submit"], input[type="reset"], button {\n align-items: flex-start;\n text-align: center;\n cursor: default;\n color: ButtonText;\n padding: 2px 6px 3px 6px;\n border: 2px outset ButtonFace;\n background-color: ButtonFace;\n box-sizing: border-box\n}\n\ninput[type="range"] {\n -webkit-appearance: slider-horizontal;\n padding: initial;\n border: initial;\n margin: 2px;\n color: #909090;\n}\n\ninput[type="button"]:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled,\nbutton:disabled, select:disabled, optgroup:disabled, option:disabled,\nselect[disabled]>option {\n color: GrayText\n}\n\ninput[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, button:active {\n border-style: inset\n}\n\ninput[type="button"]:active:disabled, input[type="submit"]:active:disabled, input[type="reset"]:active:disabled, button:active:disabled {\n border-style: outset\n}\n\ndatalist {\n display: none\n}\n\narea {\n display: inline;\n cursor: pointer;\n}\n\nparam {\n display: none\n}\n\ninput[type="checkbox"] {\n -webkit-appearance: checkbox;\n box-sizing: border-box;\n}\n\ninput[type="radio"] {\n -webkit-appearance: radio;\n box-sizing: border-box;\n}\n\ninput[type="color"] {\n -webkit-appearance: square-button;\n width: 44px;\n height: 23px;\n background-color: ButtonFace;\n /* Same as native_theme_base. */\n border: 1px #a9a9a9 solid;\n padding: 1px 2px;\n}\n\ninput[type="color"][list] {\n -webkit-appearance: menulist;\n width: 88px;\n height: 23px\n}\n\nselect {\n -webkit-appearance: menulist;\n box-sizing: border-box;\n align-items: center;\n border: 1px solid;\n white-space: pre;\n -webkit-rtl-ordering: logical;\n color: black;\n background-color: white;\n cursor: default;\n}\n\noptgroup {\n font-weight: bolder;\n display: block;\n}\n\noption {\n font-weight: normal;\n display: block;\n padding: 0 2px 1px 2px;\n white-space: pre;\n min-height: 1.2em;\n}\n\noutput {\n display: inline;\n}\n\n/* meter */\n\nmeter {\n -webkit-appearance: meter;\n box-sizing: border-box;\n display: inline-block;\n height: 1em;\n width: 5em;\n vertical-align: -0.2em;\n}\n\n/* progress */\n\nprogress {\n -webkit-appearance: progress-bar;\n box-sizing: border-box;\n display: inline-block;\n height: 1em;\n width: 10em;\n vertical-align: -0.2em;\n}\n\n/* inline elements */\n\nu, ins {\n text-decoration: underline\n}\n\nstrong, b {\n font-weight: bold\n}\n\ni, cite, em, var, address, dfn {\n font-style: italic\n}\n\ntt, code, kbd, samp {\n font-family: monospace\n}\n\npre, xmp, plaintext, listing {\n display: block;\n font-family: monospace;\n white-space: pre;\n margin: 1__qem 0\n}\n\nmark {\n background-color: yellow;\n color: black\n}\n\nbig {\n font-size: larger\n}\n\nsmall {\n font-size: smaller\n}\n\ns, strike, del {\n text-decoration: line-through\n}\n\nsub {\n vertical-align: sub;\n font-size: smaller\n}\n\nsup {\n vertical-align: super;\n font-size: smaller\n}\n\nnobr {\n white-space: nowrap\n}\n\n/* states */\n\n:focus {\n outline: auto 5px -webkit-focus-ring-color\n}\n\n/* Read-only text fields do not show a focus ring but do still receive focus */\nhtml:focus, body:focus, input[readonly]:focus {\n outline: none\n}\n\nembed:focus, iframe:focus, object:focus {\n outline: none\n}\n\ninput:focus, textarea:focus, select:focus {\n outline-offset: -2px\n}\n\ninput[type="button"]:focus,\ninput[type="checkbox"]:focus,\ninput[type="file"]:focus,\ninput[type="hidden"]:focus,\ninput[type="image"]:focus,\ninput[type="radio"]:focus,\ninput[type="reset"]:focus,\ninput[type="search"]:focus,\ninput[type="submit"]:focus {\n outline-offset: 0\n}\n\n/* HTML5 ruby elements */\n\nruby, rt {\n text-indent: 0; /* blocks used for ruby rendering should not trigger this */\n}\n\nrt {\n line-height: normal;\n -webkit-text-emphasis: none;\n}\n\nruby > rt {\n display: block;\n font-size: 50%;\n text-align: start;\n}\n\nruby > rp {\n display: none;\n}\n\n/* other elements */\n\nnoframes {\n display: none\n}\n\nframeset, frame {\n display: block\n}\n\nframeset {\n border-color: inherit\n}\n\niframe {\n border: 2px inset\n}\n\ndetails {\n display: block\n}\n\nsummary {\n display: block\n}\n\ntemplate {\n display: none\n}\n\nbdi, output {\n unicode-bidi: -webkit-isolate;\n}\n\nbdo {\n unicode-bidi: bidi-override;\n}\n\ntextarea[dir=auto] {\n unicode-bidi: -webkit-plaintext;\n}\n\ndialog:not([open]) {\n display: none\n}\n\ndialog {\n position: absolute;\n left: 0;\n right: 0;\n width: -webkit-fit-content;\n height: -webkit-fit-content;\n margin: auto;\n border: solid;\n padding: 1em;\n background: white;\n color: black\n}\n\n/* noscript is handled internally, as it depends on settings. */\n\n`},{}],337:[function(require,module,exports){module.exports={Object:{writable:true,enumerable:false,configurable:true},Function:{writable:true,enumerable:false,configurable:true},Array:{writable:true,enumerable:false,configurable:true},Number:{writable:true,enumerable:false,configurable:true},parseFloat:{writable:true,enumerable:false,configurable:true},parseInt:{writable:true,enumerable:false,configurable:true},Infinity:{writable:false,enumerable:false,configurable:false},NaN:{writable:false,enumerable:false,configurable:false},undefined:{writable:false,enumerable:false,configurable:false},Boolean:{writable:true,enumerable:false,configurable:true},String:{writable:true,enumerable:false,configurable:true},Symbol:{writable:true,enumerable:false,configurable:true},Date:{writable:true,enumerable:false,configurable:true},Promise:{writable:true,enumerable:false,configurable:true},RegExp:{writable:true,enumerable:false,configurable:true},Error:{writable:true,enumerable:false,configurable:true},EvalError:{writable:true,enumerable:false,configurable:true},RangeError:{writable:true,enumerable:false,configurable:true},ReferenceError:{writable:true,enumerable:false,configurable:true},SyntaxError:{writable:true,enumerable:false,configurable:true},TypeError:{writable:true,enumerable:false,configurable:true},URIError:{writable:true,enumerable:false,configurable:true},globalThis:{writable:true,enumerable:false,configurable:true},JSON:{writable:true,enumerable:false,configurable:true},Math:{writable:true,enumerable:false,configurable:true},Intl:{writable:true,enumerable:false,configurable:true},ArrayBuffer:{writable:true,enumerable:false,configurable:true},Uint8Array:{writable:true,enumerable:false,configurable:true},Int8Array:{writable:true,enumerable:false,configurable:true},Uint16Array:{writable:true,enumerable:false,configurable:true},Int16Array:{writable:true,enumerable:false,configurable:true},Uint32Array:{writable:true,enumerable:false,configurable:true},Int32Array:{writable:true,enumerable:false,configurable:true},Float32Array:{writable:true,enumerable:false,configurable:true},Float64Array:{writable:true,enumerable:false,configurable:true},Uint8ClampedArray:{writable:true,enumerable:false,configurable:true},BigUint64Array:{writable:true,enumerable:false,configurable:true},BigInt64Array:{writable:true,enumerable:false,configurable:true},DataView:{writable:true,enumerable:false,configurable:true},Map:{writable:true,enumerable:false,configurable:true},BigInt:{writable:true,enumerable:false,configurable:true},Set:{writable:true,enumerable:false,configurable:true},WeakMap:{writable:true,enumerable:false,configurable:true},WeakSet:{writable:true,enumerable:false,configurable:true},Proxy:{writable:true,enumerable:false,configurable:true},Reflect:{writable:true,enumerable:false,configurable:true},decodeURI:{writable:true,enumerable:false,configurable:true},decodeURIComponent:{writable:true,enumerable:false,configurable:true},encodeURI:{writable:true,enumerable:false,configurable:true},encodeURIComponent:{writable:true,enumerable:false,configurable:true},escape:{writable:true,enumerable:false,configurable:true},unescape:{writable:true,enumerable:false,configurable:true},eval:{writable:true,enumerable:false,configurable:true},isFinite:{writable:true,enumerable:false,configurable:true},isNaN:{writable:true,enumerable:false,configurable:true},SharedArrayBuffer:{writable:true,enumerable:false,configurable:true},Atomics:{writable:true,enumerable:false,configurable:true},WebAssembly:{writable:true,enumerable:false,configurable:true}}},{}],338:[function(require,module,exports){"use strict";module.exports=function(nameForErrorMessage,window){if(!window){return}const error=new Error(`Not implemented: ${nameForErrorMessage}`);error.type="not implemented";window._virtualConsole.emit("jsdomError",error)}},{}],339:[function(require,module,exports){"use strict";const parse5=require("parse5");const{createElement:createElement}=require("../../living/helpers/create-element");const DocumentType=require("../../living/generated/DocumentType");const DocumentFragment=require("../../living/generated/DocumentFragment");const Text=require("../../living/generated/Text");const Comment=require("../../living/generated/Comment");const attributes=require("../../living/attributes");const nodeTypes=require("../../living/node-type");const serializationAdapter=require("../../living/domparsing/parse5-adapter-serialization");const{customElementReactionsStack:customElementReactionsStack,invokeCEReactions:invokeCEReactions,lookupCEDefinition:lookupCEDefinition}=require("../../living/helpers/custom-elements");const OpenElementStack=require("parse5/lib/parser/open-element-stack");const openElementStackOriginalPush=OpenElementStack.prototype.push;OpenElementStack.prototype.push=function(...args){openElementStackOriginalPush.apply(this,args);this.treeAdapter._currentElement=this.current;const after=this.items[this.stackTop];if(after._pushedOnStackOfOpenElements){after._pushedOnStackOfOpenElements()}};const openElementStackOriginalPop=OpenElementStack.prototype.pop;OpenElementStack.prototype.pop=function(...args){const before=this.items[this.stackTop];openElementStackOriginalPop.apply(this,args);this.treeAdapter._currentElement=this.current;if(before._poppedOffStackOfOpenElements){before._poppedOffStackOfOpenElements()}};class JSDOMParse5Adapter{constructor(documentImpl,options={}){this._documentImpl=documentImpl;this._globalObject=documentImpl._globalObject;this._fragment=options.fragment||false;this._currentElement=undefined}_ownerDocument(){const{_currentElement:_currentElement}=this;if(_currentElement){return _currentElement.localName==="template"?_currentElement.content._ownerDocument:_currentElement._ownerDocument}return this._documentImpl}createDocument(){return this._documentImpl}createDocumentFragment(){const ownerDocument=this._ownerDocument();return DocumentFragment.createImpl(this._globalObject,[],{ownerDocument:ownerDocument})}createElement(localName,namespace,attrs){const ownerDocument=this._ownerDocument();const isAttribute=attrs.find(attr=>attr.name==="is");const isValue=isAttribute?isAttribute.value:null;const definition=lookupCEDefinition(ownerDocument,namespace,localName);let willExecuteScript=false;if(definition!==null&&!this._fragment){willExecuteScript=true}if(willExecuteScript){ownerDocument._throwOnDynamicMarkupInsertionCounter++;customElementReactionsStack.push([])}const element=createElement(ownerDocument,localName,namespace,null,isValue,willExecuteScript);this.adoptAttributes(element,attrs);if(willExecuteScript){const queue=customElementReactionsStack.pop();invokeCEReactions(queue);ownerDocument._throwOnDynamicMarkupInsertionCounter--}if("_parserInserted"in element){element._parserInserted=true}return element}createCommentNode(data){const ownerDocument=this._ownerDocument();return Comment.createImpl(this._globalObject,[],{data:data,ownerDocument:ownerDocument})}appendChild(parentNode,newNode){parentNode._append(newNode)}insertBefore(parentNode,newNode,referenceNode){parentNode._insert(newNode,referenceNode)}setTemplateContent(templateElement,contentFragment){const{_ownerDocument:_ownerDocument,_host:_host}=templateElement._templateContents;contentFragment._ownerDocument=_ownerDocument;contentFragment._host=_host;templateElement._templateContents=contentFragment}setDocumentType(document,name,publicId,systemId){const ownerDocument=this._ownerDocument();const documentType=DocumentType.createImpl(this._globalObject,[],{name:name,publicId:publicId,systemId:systemId,ownerDocument:ownerDocument});document._append(documentType)}setDocumentMode(document,mode){document._mode=mode}detachNode(node){node.remove()}insertText(parentNode,text){const{lastChild:lastChild}=parentNode;if(lastChild&&lastChild.nodeType===nodeTypes.TEXT_NODE){lastChild.data+=text}else{const ownerDocument=this._ownerDocument();const textNode=Text.createImpl(this._globalObject,[],{data:text,ownerDocument:ownerDocument});parentNode._append(textNode)}}insertTextBefore(parentNode,text,referenceNode){const{previousSibling:previousSibling}=referenceNode;if(previousSibling&&previousSibling.nodeType===nodeTypes.TEXT_NODE){previousSibling.data+=text}else{const ownerDocument=this._ownerDocument();const textNode=Text.createImpl(this._globalObject,[],{data:text,ownerDocument:ownerDocument});parentNode._append(textNode,referenceNode)}}adoptAttributes(element,attrs){for(const attr of attrs){const prefix=attr.prefix===""?null:attr.prefix;attributes.setAttributeValue(element,attr.name,attr.value,prefix,attr.namespace)}}}Object.assign(JSDOMParse5Adapter.prototype,serializationAdapter);function parseFragment(markup,contextElement){const ownerDocument=contextElement.localName==="template"?contextElement.content._ownerDocument:contextElement._ownerDocument;const config=Object.assign({},ownerDocument._parseOptions,{treeAdapter:new JSDOMParse5Adapter(ownerDocument,{fragment:true})});return parse5.parseFragment(contextElement,markup,config)}function parseIntoDocument(markup,ownerDocument){const config=Object.assign({},ownerDocument._parseOptions,{treeAdapter:new JSDOMParse5Adapter(ownerDocument)});return parse5.parse(markup,config)}module.exports={parseFragment:parseFragment,parseIntoDocument:parseIntoDocument}},{"../../living/attributes":352,"../../living/domparsing/parse5-adapter-serialization":362,"../../living/generated/Comment":405,"../../living/generated/DocumentFragment":416,"../../living/generated/DocumentType":417,"../../living/generated/Text":567,"../../living/helpers/create-element":586,"../../living/helpers/custom-elements":588,"../../living/node-type":631,parse5:835,"parse5/lib/parser/open-element-stack":838}],340:[function(require,module,exports){"use strict";const xmlParser=require("./xml");const htmlParser=require("./html");function parseFragment(markup,contextElement){const{_parsingMode:_parsingMode}=contextElement._ownerDocument;let parseAlgorithm;if(_parsingMode==="html"){parseAlgorithm=htmlParser.parseFragment}else if(_parsingMode==="xml"){parseAlgorithm=xmlParser.parseFragment}return parseAlgorithm(markup,contextElement)}function parseIntoDocument(markup,ownerDocument){const{_parsingMode:_parsingMode}=ownerDocument;let parseAlgorithm;if(_parsingMode==="html"){parseAlgorithm=htmlParser.parseIntoDocument}else if(_parsingMode==="xml"){parseAlgorithm=xmlParser.parseIntoDocument}return parseAlgorithm(markup,ownerDocument)}module.exports={parseFragment:parseFragment,parseIntoDocument:parseIntoDocument}},{"./html":339,"./xml":341}],341:[function(require,module,exports){"use strict";const{SaxesParser:SaxesParser}=require("saxes");const DOMException=require("domexception/webidl2js-wrapper");const{createElement:createElement}=require("../../living/helpers/create-element");const DocumentFragment=require("../../living/generated/DocumentFragment");const DocumentType=require("../../living/generated/DocumentType");const CDATASection=require("../../living/generated/CDATASection");const Comment=require("../../living/generated/Comment");const ProcessingInstruction=require("../../living/generated/ProcessingInstruction");const Text=require("../../living/generated/Text");const attributes=require("../../living/attributes");const{HTML_NS:HTML_NS}=require("../../living/helpers/namespaces");const HTML5_DOCTYPE=/<!doctype html>/i;const PUBLIC_DOCTYPE=/<!doctype\s+([^\s]+)\s+public\s+"([^"]+)"\s+"([^"]+)"/i;const SYSTEM_DOCTYPE=/<!doctype\s+([^\s]+)\s+system\s+"([^"]+)"/i;const CUSTOM_NAME_DOCTYPE=/<!doctype\s+([^\s>]+)/i;function parseDocType(globalObject,ownerDocument,html){if(HTML5_DOCTYPE.test(html)){return createDocumentType(globalObject,ownerDocument,"html","","")}const publicPieces=PUBLIC_DOCTYPE.exec(html);if(publicPieces){return createDocumentType(globalObject,ownerDocument,publicPieces[1],publicPieces[2],publicPieces[3])}const systemPieces=SYSTEM_DOCTYPE.exec(html);if(systemPieces){return createDocumentType(globalObject,ownerDocument,systemPieces[1],"",systemPieces[2])}const namePiece=CUSTOM_NAME_DOCTYPE.exec(html)[1]||"html";return createDocumentType(globalObject,ownerDocument,namePiece,"","")}function createDocumentType(globalObject,ownerDocument,name,publicId,systemId){return DocumentType.createImpl(globalObject,[],{ownerDocument:ownerDocument,name:name,publicId:publicId,systemId:systemId})}function isHTMLTemplateElement(element){return element.tagName==="template"&&element.namespaceURI===HTML_NS}function createParser(rootNode,globalObject,saxesOptions){const parser=new SaxesParser({...saxesOptions,xmlns:true,defaultXMLVersion:"1.0",forceXMLVersion:true});const openStack=[rootNode];function getOwnerDocument(){const currentElement=openStack[openStack.length-1];return isHTMLTemplateElement(currentElement)?currentElement._templateContents._ownerDocument:currentElement._ownerDocument}function appendChild(child){const parentElement=openStack[openStack.length-1];if(isHTMLTemplateElement(parentElement)){parentElement._templateContents._insert(child,null)}else{parentElement._insert(child,null)}}parser.on("text",saxesOptions.fragment?data=>{const ownerDocument=getOwnerDocument();appendChild(Text.createImpl(globalObject,[],{data:data,ownerDocument:ownerDocument}))}:data=>{if(openStack.length>1){const ownerDocument=getOwnerDocument();appendChild(Text.createImpl(globalObject,[],{data:data,ownerDocument:ownerDocument}))}});parser.on("cdata",data=>{const ownerDocument=getOwnerDocument();appendChild(CDATASection.createImpl(globalObject,[],{data:data,ownerDocument:ownerDocument}))});parser.on("opentag",tag=>{const{local:tagLocal,attributes:tagAttributes}=tag;const ownerDocument=getOwnerDocument();const tagNamespace=tag.uri===""?null:tag.uri;const tagPrefix=tag.prefix===""?null:tag.prefix;const isValue=tagAttributes.is===undefined?null:tagAttributes.is.value;const elem=createElement(ownerDocument,tagLocal,tagNamespace,tagPrefix,isValue,true);if(tagLocal==="script"&&tagNamespace===HTML_NS){elem._parserInserted=true}for(const key of Object.keys(tagAttributes)){const{prefix:prefix,local:local,uri:uri,value:value}=tagAttributes[key];attributes.setAttributeValue(elem,local,value,prefix===""?null:prefix,uri===""?null:uri)}appendChild(elem);openStack.push(elem)});parser.on("closetag",()=>{const elem=openStack.pop();if(elem.localName==="script"&&elem.namespaceURI===HTML_NS){elem._eval()}});parser.on("comment",data=>{const ownerDocument=getOwnerDocument();appendChild(Comment.createImpl(globalObject,[],{data:data,ownerDocument:ownerDocument}))});parser.on("processinginstruction",({target:target,body:body})=>{const ownerDocument=getOwnerDocument();appendChild(ProcessingInstruction.createImpl(globalObject,[],{target:target,data:body,ownerDocument:ownerDocument}))});parser.on("doctype",dt=>{const ownerDocument=getOwnerDocument();appendChild(parseDocType(globalObject,ownerDocument,`<!doctype ${dt}>`));const entityMatcher=/<!ENTITY ([^ ]+) "([^"]+)">/g;let result;while(result=entityMatcher.exec(dt)){const[,name,value]=result;if(!(name in parser.ENTITIES)){parser.ENTITIES[name]=value}}});parser.on("error",err=>{throw DOMException.create(globalObject,[err.message,"SyntaxError"])});return parser}function parseFragment(markup,contextElement){const{_globalObject:_globalObject,_ownerDocument:_ownerDocument}=contextElement;const fragment=DocumentFragment.createImpl(_globalObject,[],{ownerDocument:_ownerDocument});const parser=createParser(fragment,_globalObject,{fragment:true,resolvePrefix(prefix){return contextElement.lookupNamespaceURI(prefix)||undefined}});parser.write(markup).close();return fragment}function parseIntoDocument(markup,ownerDocument){const{_globalObject:_globalObject}=ownerDocument;const parser=createParser(ownerDocument,_globalObject,{fileName:ownerDocument.location&&ownerDocument.location.href});parser.write(markup).close();return ownerDocument}module.exports={parseFragment:parseFragment,parseIntoDocument:parseIntoDocument}},{"../../living/attributes":352,"../../living/generated/CDATASection":401,"../../living/generated/Comment":405,"../../living/generated/DocumentFragment":416,"../../living/generated/DocumentType":417,"../../living/generated/ProcessingInstruction":543,"../../living/generated/Text":567,"../../living/helpers/create-element":586,"../../living/helpers/namespaces":599,"domexception/webidl2js-wrapper":213,saxes:909}],342:[function(require,module,exports){"use strict";class QueueItem{constructor(onLoad,onError,dependentItem){this.onLoad=onLoad;this.onError=onError;this.data=null;this.error=null;this.dependentItem=dependentItem}}module.exports=class AsyncResourceQueue{constructor(){this.items=new Set;this.dependentItems=new Set}count(){return this.items.size+this.dependentItems.size}_notify(){if(this._listener){this._listener()}}_check(item){let promise;if(item.onError&&item.error){promise=item.onError(item.error)}else if(item.onLoad&&item.data){promise=item.onLoad(item.data)}promise.then(()=>{this.items.delete(item);this.dependentItems.delete(item);if(this.count()===0){this._notify()}})}setListener(listener){this._listener=listener}push(request,onLoad,onError,dependentItem){const q=this;const item=new QueueItem(onLoad,onError,dependentItem);q.items.add(item);return request.then(data=>{item.data=data;if(dependentItem&&!dependentItem.finished){q.dependentItems.add(item);return q.items.delete(item)}if(onLoad){return q._check(item)}q.items.delete(item);if(q.count()===0){q._notify()}return null}).catch(err=>{item.error=err;if(dependentItem&&!dependentItem.finished){q.dependentItems.add(item);return q.items.delete(item)}if(onError){return q._check(item)}q.items.delete(item);if(q.count()===0){q._notify()}return null})}notifyItem(syncItem){for(const item of this.dependentItems){if(item.dependentItem===syncItem){this._check(item)}}}}},{}],343:[function(require,module,exports){"use strict";const ResourceLoader=require("./resource-loader.js");module.exports=class NoOpResourceLoader extends ResourceLoader{fetch(){return null}}},{"./resource-loader.js":346}],344:[function(require,module,exports){"use strict";const idlUtils=require("../../living/generated/utils");const{fireAnEvent:fireAnEvent}=require("../../living/helpers/events");module.exports=class PerDocumentResourceLoader{constructor(document){this._document=document;this._defaultEncoding=document._encoding;this._resourceLoader=document._defaultView?document._defaultView._resourceLoader:null;this._requestManager=document._requestManager;this._queue=document._queue;this._deferQueue=document._deferQueue;this._asyncQueue=document._asyncQueue}fetch(url,{element:element,onLoad:onLoad,onError:onError}){const request=this._resourceLoader.fetch(url,{cookieJar:this._document._cookieJar,element:idlUtils.wrapperForImpl(element),referrer:this._document.URL});if(request===null){return null}this._requestManager.add(request);const onErrorWrapped=error=>{this._requestManager.remove(request);if(onError){onError(error)}fireAnEvent("error",element);const err=new Error(`Could not load ${element.localName}: "${url}"`);err.type="resource loading";err.detail=error;this._document._defaultView._virtualConsole.emit("jsdomError",err);return Promise.resolve()};const onLoadWrapped=data=>{this._requestManager.remove(request);this._addCookies(url,request.response?request.response.headers:{});try{const result=onLoad?onLoad(data):undefined;return Promise.resolve(result).then(()=>{fireAnEvent("load",element);return Promise.resolve()}).catch(err=>onErrorWrapped(err))}catch(err){return onErrorWrapped(err)}};if(element.localName==="script"&&element.hasAttributeNS(null,"async")){this._asyncQueue.push(request,onLoadWrapped,onErrorWrapped,this._queue.getLastScript())}else if(element.localName==="script"&&element.hasAttributeNS(null,"defer")){this._deferQueue.push(request,onLoadWrapped,onErrorWrapped,false,element)}else{this._queue.push(request,onLoadWrapped,onErrorWrapped,false,element)}return request}_addCookies(url,headers){let cookies=headers["set-cookie"];if(!cookies){return}if(!Array.isArray(cookies)){cookies=[cookies]}cookies.forEach(cookie=>{this._document._cookieJar.setCookieSync(cookie,url,{http:true,ignoreError:true})})}}},{"../../living/generated/utils":584,"../../living/helpers/events":592}],345:[function(require,module,exports){"use strict";module.exports=class RequestManager{constructor(){this.openedRequests=[]}add(req){this.openedRequests.push(req)}remove(req){const idx=this.openedRequests.indexOf(req);if(idx!==-1){this.openedRequests.splice(idx,1)}}close(){for(const openedRequest of this.openedRequests){openedRequest.abort()}this.openedRequests=[]}size(){return this.openedRequests.length}}},{}],346:[function(require,module,exports){(function(process,Buffer){"use strict";const fs=require("fs");const{parseURL:parseURL}=require("whatwg-url");const dataURLFromRecord=require("data-urls").fromURLRecord;const request=require("request-promise-native");const wrapCookieJarForRequest=require("../../living/helpers/wrap-cookie-jar-for-request");const packageVersion=require("../../../../package.json").version;const IS_BROWSER=Object.prototype.toString.call(process)!=="[object process]";module.exports=class ResourceLoader{constructor({strictSSL:strictSSL=true,proxy:proxy=undefined,userAgent:userAgent=`Mozilla/5.0 (${process.platform||"unknown OS"}) AppleWebKit/537.36 `+`(KHTML, like Gecko) jsdom/${packageVersion}`}={}){this._strictSSL=strictSSL;this._proxy=proxy;this._userAgent=userAgent}_readDataURL(urlRecord){const dataURL=dataURLFromRecord(urlRecord);let timeoutId;const promise=new Promise(resolve=>{timeoutId=setTimeout(resolve,0,dataURL.body)});promise.abort=()=>{if(timeoutId!==undefined){clearTimeout(timeoutId)}};return promise}_readFile(filePath){let readableStream;let abort;const promise=new Promise((resolve,reject)=>{readableStream=fs.createReadStream(filePath);let data=Buffer.alloc(0);abort=reject;readableStream.on("error",reject);readableStream.on("data",chunk=>{data=Buffer.concat([data,chunk])});readableStream.on("end",()=>{resolve(data)})});promise.abort=()=>{readableStream.destroy();const error=new Error("request canceled by user");error.isAbortError=true;abort(error)};return promise}_getRequestOptions({cookieJar:cookieJar,referrer:referrer,accept:accept="*/*"}){const requestOptions={encoding:null,gzip:true,jar:wrapCookieJarForRequest(cookieJar),strictSSL:this._strictSSL,proxy:this._proxy,forever:true,headers:{"User-Agent":this._userAgent,"Accept-Language":"en",Accept:accept}};if(referrer&&!IS_BROWSER){requestOptions.headers.referer=referrer}return requestOptions}fetch(urlString,options={}){const url=parseURL(urlString);if(!url){return Promise.reject(new Error(`Tried to fetch invalid URL ${urlString}`))}switch(url.scheme){case"data":{return this._readDataURL(url)}case"http":case"https":{const requestOptions=this._getRequestOptions(options);return request(urlString,requestOptions)}case"file":{const filePath=urlString.replace(/^file:\/\//,"").replace(/^\/([a-z]):\//i,"$1:/").replace(/%20/g," ");return this._readFile(filePath)}default:{return Promise.reject(new Error(`Tried to fetch URL ${urlString} with invalid scheme ${url.scheme}`))}}}}}).call(this,require("_process"),require("buffer").Buffer)},{"../../../../package.json":777,"../../living/helpers/wrap-cookie-jar-for-request":613,_process:855,buffer:132,"data-urls":195,fs:129,"request-promise-native":892,"whatwg-url":1024}],347:[function(require,module,exports){"use strict";module.exports=class ResourceQueue{constructor({paused:paused,asyncQueue:asyncQueue}={}){this.paused=Boolean(paused);this._asyncQueue=asyncQueue}getLastScript(){let head=this.tail;while(head){if(head.isScript){return head}head=head.prev}return null}_moreScripts(){let found=false;let head=this.tail;while(head&&!found){found=head.isScript;head=head.prev}return found}_notify(){if(this._listener){this._listener()}}setListener(listener){this._listener=listener}push(request,onLoad,onError,keepLast,element){const isScript=element?element.localName==="script":false;if(!request){if(isScript&&!this._moreScripts()){return onLoad()}request=new Promise(resolve=>resolve())}const q=this;const item={isScript:isScript,err:null,element:element,fired:false,data:null,keepLast:keepLast,prev:q.tail,check(){if(!q.paused&&!this.prev&&this.fired){let promise;if(this.err&&onError){promise=onError(this.err)}if(!this.err&&onLoad){promise=onLoad(this.data)}Promise.resolve(promise).then(()=>{if(this.next){this.next.prev=null;this.next.check()}else{q.tail=null;q._notify()}this.finished=true;if(q._asyncQueue){q._asyncQueue.notifyItem(this)}})}}};if(q.tail){if(q.tail.keepLast){if(q.tail.prev){q.tail.prev.next=item}item.prev=q.tail.prev;q.tail.prev=item;item.next=q.tail}else{q.tail.next=item;q.tail=item}}else{q.tail=item}return request.then(data=>{item.fired=1;item.data=data;item.check()}).catch(err=>{item.fired=true;item.err=err;item.check()})}resume(){if(!this.paused){return}this.paused=false;let head=this.tail;while(head&&head.prev){head=head.prev}if(head){head.check()}}}},{}],348:[function(require,module,exports){"use strict";const cssom=require("cssom");const cssstyle=require("cssstyle");exports.addToCore=core=>{core.StyleSheet=cssom.StyleSheet;core.MediaList=cssom.MediaList;core.CSSStyleSheet=cssom.CSSStyleSheet;core.CSSRule=cssom.CSSRule;core.CSSStyleRule=cssom.CSSStyleRule;core.CSSMediaRule=cssom.CSSMediaRule;core.CSSImportRule=cssom.CSSImportRule;core.CSSStyleDeclaration=cssstyle.CSSStyleDeclaration}},{cssom:162,cssstyle:164}],349:[function(require,module,exports){module.exports=core=>{var xpath={};function getNodeName(nodeOrAttr){return nodeOrAttr.constructor.name==="Attr"?nodeOrAttr.name:nodeOrAttr.nodeName}var Stream=xpath.Stream=function Stream(str){this.original=this.str=str;this.peeked=null;this.prev=null;this.prevprev=null};Stream.prototype={peek:function(){if(this.peeked)return this.peeked;var m=this.re.exec(this.str);if(!m)return null;this.str=this.str.substr(m[0].length);return this.peeked=m[1]},peek2:function(){this.peek();var m=this.re.exec(this.str);if(!m)return null;return m[1]},pop:function(){var r=this.peek();this.peeked=null;this.prevprev=this.prev;this.prev=r;return r},trypop:function(tokens){var tok=this.peek();if(tok===tokens)return this.pop();if(Array.isArray(tokens)){for(var i=0;i<tokens.length;++i){var t=tokens[i];if(t==tok)return this.pop()}}},trypopfuncname:function(){var tok=this.peek();if(!this.isQnameRe.test(tok))return null;switch(tok){case"comment":case"text":case"processing-instruction":case"node":return null}if("("!=this.peek2())return null;return this.pop()},trypopaxisname:function(){var tok=this.peek();switch(tok){case"ancestor":case"ancestor-or-self":case"attribute":case"child":case"descendant":case"descendant-or-self":case"following":case"following-sibling":case"namespace":case"parent":case"preceding":case"preceding-sibling":case"self":if("::"==this.peek2())return this.pop()}return null},trypopnametest:function(){var tok=this.peek();if("*"===tok||this.startsWithNcNameRe.test(tok))return this.pop();return null},trypopliteral:function(){var tok=this.peek();if(null==tok)return null;var first=tok.charAt(0);var last=tok.charAt(tok.length-1);if('"'===first&&'"'===last||"'"===first&&"'"===last){this.pop();return tok.substr(1,tok.length-2)}},trypopnumber:function(){var tok=this.peek();if(this.isNumberRe.test(tok))return parseFloat(this.pop());else return null},trypopvarref:function(){var tok=this.peek();if(null==tok)return null;if("$"===tok.charAt(0))return this.pop().substr(1);else return null},position:function(){return this.original.length-this.str.length}};(function(){var nameStartCharsExceptColon="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-"+"-⁰-Ⰰ-、-豈-﷏"+"ﷰ-<2D>";var nameCharExceptColon=nameStartCharsExceptColon+"\\-\\.0-9·̀-ͯ‿-⁀";var ncNameChars="["+nameStartCharsExceptColon+"]["+nameCharExceptColon+"]*";var qNameChars=ncNameChars+"(?::"+ncNameChars+")?";var otherChars="\\.\\.|[\\(\\)\\[\\].@,]|::";var operatorChars="and|or|mod|div|"+"//|!=|<=|>=|[*/|+\\-=<>]";var literal='"[^"]*"|'+"'[^']*'";var numberChars="[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+";var variableReference="\\$"+qNameChars;var nameTestChars="\\*|"+ncNameChars+":\\*|"+qNameChars;var optionalSpace="[ \t\r\n]*";var nodeType="comment|text|processing-instruction|node";var re=new RegExp("^"+optionalSpace+"("+numberChars+"|"+otherChars+"|"+nameTestChars+"|"+operatorChars+"|"+literal+"|"+variableReference+")");Stream.prototype.re=re;Stream.prototype.startsWithNcNameRe=new RegExp("^"+ncNameChars);Stream.prototype.isQnameRe=new RegExp("^"+qNameChars+"$");Stream.prototype.isNumberRe=new RegExp("^"+numberChars+"$")})();var parse=xpath.parse=function parse(stream,a){var r=orExpr(stream,a);var x,unparsed=[];while(x=stream.pop()){unparsed.push(x)}if(unparsed.length)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Unparsed tokens: "+unparsed.join(" "));return r};function binaryL(subExpr,stream,a,ops){var lhs=subExpr(stream,a);if(lhs==null)return null;var op;while(op=stream.trypop(ops)){var rhs=subExpr(stream,a);if(rhs==null)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected something after "+op);lhs=a.node(op,lhs,rhs)}return lhs}function binaryR(subExpr,stream,a,ops){var lhs=subExpr(stream,a);if(lhs==null)return null;var op=stream.trypop(ops);if(op){var rhs=binaryR(stream,a);if(rhs==null)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected something after "+op);return a.node(op,lhs,rhs)}else{return lhs}}function locationPath(stream,a){return absoluteLocationPath(stream,a)||relativeLocationPath(null,stream,a)}function absoluteLocationPath(stream,a){var op=stream.peek();if("/"===op||"//"===op){var lhs=a.node("Root");return relativeLocationPath(lhs,stream,a,true)}else{return null}}function relativeLocationPath(lhs,stream,a,isOnlyRootOk){if(null==lhs){lhs=step(stream,a);if(null==lhs)return lhs}var op;while(op=stream.trypop(["/","//"])){if("//"===op){lhs=a.node("/",lhs,a.node("Axis","descendant-or-self","node",undefined))}var rhs=step(stream,a);if(null==rhs&&"/"===op&&isOnlyRootOk)return lhs;else isOnlyRootOk=false;if(null==rhs)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected step after "+op);lhs=a.node("/",lhs,rhs)}return lhs}function step(stream,a){var abbrStep=stream.trypop([".",".."]);if("."===abbrStep)return a.node("Axis","self","node");if(".."===abbrStep)return a.node("Axis","parent","node");var axis=axisSpecifier(stream,a);var nodeType=nodeTypeTest(stream,a);var nodeName;if(null==nodeType)nodeName=nodeNameTest(stream,a);if(null==axis&&null==nodeType&&null==nodeName)return null;if(null==nodeType&&null==nodeName)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected nodeTest after axisSpecifier "+axis);if(null==axis)axis="child";if(null==nodeType){if("attribute"===axis)nodeType="attribute";else if("namespace"===axis)nodeType="namespace";else nodeType="element"}var lhs=a.node("Axis",axis,nodeType,nodeName);var pred;while(null!=(pred=predicate(lhs,stream,a))){lhs=pred}return lhs}function axisSpecifier(stream,a){var attr=stream.trypop("@");if(null!=attr)return"attribute";var axisName=stream.trypopaxisname();if(null!=axisName){var coloncolon=stream.trypop("::");if(null==coloncolon)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Should not happen. Should be ::.");return axisName}}function nodeTypeTest(stream,a){if("("!==stream.peek2()){return null}var type=stream.trypop(["comment","text","processing-instruction","node"]);if(null!=type){if(null==stream.trypop("("))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Should not happen.");var param=undefined;if(type=="processing-instruction"){param=stream.trypopliteral()}if(null==stream.trypop(")"))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected close parens.");return type}}function nodeNameTest(stream,a){var name=stream.trypopnametest();if(name!=null)return name;else return null}function predicate(lhs,stream,a){if(null==stream.trypop("["))return null;var expr=orExpr(stream,a);if(null==expr)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected expression after [");if(null==stream.trypop("]"))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected ] after expression.");return a.node("Predicate",lhs,expr)}function primaryExpr(stream,a){var x=stream.trypopliteral();if(null==x)x=stream.trypopnumber();if(null!=x){return x}var varRef=stream.trypopvarref();if(null!=varRef)return a.node("VariableReference",varRef);var funCall=functionCall(stream,a);if(null!=funCall){return funCall}if(stream.trypop("(")){var e=orExpr(stream,a);if(null==e)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected expression after (.");if(null==stream.trypop(")"))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected ) after expression.");return e}return null}function functionCall(stream,a){var name=stream.trypopfuncname(stream,a);if(null==name)return null;if(null==stream.trypop("("))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected ( ) after function name.");var params=[];var first=true;while(null==stream.trypop(")")){if(!first&&null==stream.trypop(","))throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected , between arguments of the function.");first=false;var param=orExpr(stream,a);if(param==null)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected expression as argument of function.");params.push(param)}return a.node("FunctionCall",name,params)}function unionExpr(stream,a){return binaryL(pathExpr,stream,a,"|")}function pathExpr(stream,a){var filter=filterExpr(stream,a);if(null==filter){var loc=locationPath(stream,a);if(null==loc){throw new Error;throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": The expression shouldn't be empty...")}return a.node("PathExpr",loc)}var rel=relativeLocationPath(filter,stream,a,false);if(filter===rel)return rel;else return a.node("PathExpr",rel)}function filterExpr(stream,a){var primary=primaryExpr(stream,a);if(primary==null)return null;var pred,lhs=primary;while(null!=(pred=predicate(lhs,stream,a))){lhs=pred}return lhs}function orExpr(stream,a){var orig=(stream.peeked||"")+stream.str;var r=binaryL(andExpr,stream,a,"or");var now=(stream.peeked||"")+stream.str;return r}function andExpr(stream,a){return binaryL(equalityExpr,stream,a,"and")}function equalityExpr(stream,a){return binaryL(relationalExpr,stream,a,["=","!="])}function relationalExpr(stream,a){return binaryL(additiveExpr,stream,a,["<",">","<=",">="])}function additiveExpr(stream,a){return binaryL(multiplicativeExpr,stream,a,["+","-"])}function multiplicativeExpr(stream,a){return binaryL(unaryExpr,stream,a,["*","div","mod"])}function unaryExpr(stream,a){if(stream.trypop("-")){var e=unaryExpr(stream,a);if(null==e)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Expected unary expression after -");return a.node("UnaryMinus",e)}else return unionExpr(stream,a)}var astFactory={node:function(){return Array.prototype.slice.call(arguments)}};function optimize(ast){}function NodeMultiSet(isReverseAxis){this.nodes=[];this.pos=[];this.lasts=[];this.nextPos=[];this.seriesIndexes=[];this.isReverseAxis=isReverseAxis;this._pushToNodes=isReverseAxis?Array.prototype.unshift:Array.prototype.push}NodeMultiSet.prototype={pushSeries:function pushSeries(){this.nextPos.push(1);this.seriesIndexes.push(this.nodes.length)},popSeries:function popSeries(){console.assert(0<this.nextPos.length,this.nextPos);var last=this.nextPos.pop()-1,indexInPos=this.nextPos.length,seriesBeginIndex=this.seriesIndexes.pop(),seriesEndIndex=this.nodes.length;for(var i=seriesBeginIndex;i<seriesEndIndex;++i){console.assert(indexInPos<this.lasts[i].length);console.assert(undefined===this.lasts[i][indexInPos]);this.lasts[i][indexInPos]=last}},finalize:function(){if(null==this.nextPos)return this;console.assert(0===this.nextPos.length);var lastsJSON=JSON.stringify(this.lasts);for(var i=0;i<this.lasts.length;++i){for(var j=0;j<this.lasts[i].length;++j){console.assert(null!=this.lasts[i][j],i+","+j+":"+lastsJSON)}}this.pushSeries=this.popSeries=this.addNode=function(){throw new Error("Already finalized.")};return this},addNode:function addNode(node){console.assert(node);this._pushToNodes.call(this.nodes,node);this._pushToNodes.call(this.pos,this.nextPos.slice());this._pushToNodes.call(this.lasts,new Array(this.nextPos.length));for(var i=0;i<this.nextPos.length;++i)this.nextPos[i]++},simplify:function(){this.finalize();return{nodes:this.nodes,pos:this.pos,lasts:this.lasts}}};function eachContext(nodeMultiSet){var r=[];for(var i=0;i<nodeMultiSet.nodes.length;i++){var node=nodeMultiSet.nodes[i];if(!nodeMultiSet.pos){r.push({nodes:[node],pos:[[i+1]],lasts:[[nodeMultiSet.nodes.length]]})}else{for(var j=0;j<nodeMultiSet.pos[i].length;++j){r.push({nodes:[node],pos:[[nodeMultiSet.pos[i][j]]],lasts:[[nodeMultiSet.lasts[i][j]]]})}}}return r}function NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase){this.nodeTypeNum=nodeTypeNum;this.nodeName=nodeName;this.shouldLowerCase=shouldLowerCase;this.nodeNameTest=null==nodeName?this._alwaysTrue:shouldLowerCase?this._nodeNameLowerCaseEquals:this._nodeNameEquals}NodeMatcher.prototype={matches:function matches(node){if(0===this.nodeTypeNum||this._nodeTypeMatches(node)){return this.nodeNameTest(getNodeName(node))}return false},_nodeTypeMatches(nodeOrAttr){if(nodeOrAttr.constructor.name==="Attr"&&this.nodeTypeNum===2){return true}return nodeOrAttr.nodeType===this.nodeTypeNum},_alwaysTrue:function(name){return true},_nodeNameEquals:function _nodeNameEquals(name){return this.nodeName===name},_nodeNameLowerCaseEquals:function _nodeNameLowerCaseEquals(name){return this.nodeName===name.toLowerCase()}};function followingSiblingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,shift,peek,followingNode,andSelf,isReverseAxis){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase);var nodeMultiSet=new NodeMultiSet(isReverseAxis);while(0<nodeList.length){var node=shift.call(nodeList);console.assert(node!=null);node=followingNode(node);nodeMultiSet.pushSeries();var numPushed=1;while(null!=node){if(!andSelf&&matcher.matches(node))nodeMultiSet.addNode(node);if(node===peek.call(nodeList)){shift.call(nodeList);nodeMultiSet.pushSeries();numPushed++}if(andSelf&&matcher.matches(node))nodeMultiSet.addNode(node);node=followingNode(node)}while(0<numPushed--)nodeMultiSet.popSeries()}return nodeMultiSet}function followingNonDescendantNode(node){if(node.ownerElement){if(node.ownerElement.firstChild)return node.ownerElement.firstChild;node=node.ownerElement}do{if(node.nextSibling)return node.nextSibling}while(node=node.parentNode);return null}function followingNode(node){if(node.ownerElement)node=node.ownerElement;if(null!=node.firstChild)return node.firstChild;do{if(null!=node.nextSibling){return node.nextSibling}node=node.parentNode}while(node);return null}function precedingNode(node){if(node.ownerElement)return node.ownerElement;if(null!=node.previousSibling){node=node.previousSibling;while(null!=node.lastChild){node=node.lastChild}return node}if(null!=node.parentNode){return node.parentNode}return null}function followingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase);var nodeMultiSet=new NodeMultiSet(false);var cursor=nodeList[0];var unorderedFollowingStarts=[];for(var i=0;i<nodeList.length;i++){var node=nodeList[i];var start=followingNonDescendantNode(node);if(start)unorderedFollowingStarts.push(start)}if(0===unorderedFollowingStarts.length)return{nodes:[]};var pos=[],nextPos=[];var started=0;while(cursor=followingNode(cursor)){for(var i=unorderedFollowingStarts.length-1;i>=0;i--){if(cursor===unorderedFollowingStarts[i]){nodeMultiSet.pushSeries();unorderedFollowingStarts.splice(i,i+1);started++}}if(started&&matcher.matches(cursor)){nodeMultiSet.addNode(cursor)}}console.assert(0===unorderedFollowingStarts.length);for(var i=0;i<started;i++)nodeMultiSet.popSeries();return nodeMultiSet.finalize()}function precedingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase);var cursor=nodeList.pop();if(null==cursor)return{nodes:{}};var r={nodes:[],pos:[],lasts:[]};var nextParents=[cursor.parentNode||cursor.ownerElement],nextPos=[1];while(cursor=precedingNode(cursor)){if(cursor===nodeList[nodeList.length-1]){nextParents.push(nodeList.pop());nextPos.push(1)}var matches=matcher.matches(cursor);var pos,someoneUsed=false;if(matches)pos=nextPos.slice();for(var i=0;i<nextParents.length;++i){if(cursor===nextParents[i]){nextParents[i]=cursor.parentNode||cursor.ownerElement;if(matches){pos[i]=null}}else{if(matches){pos[i]=nextPos[i]++;someoneUsed=true}}}if(someoneUsed){r.nodes.unshift(cursor);r.pos.unshift(pos)}}for(var i=0;i<r.pos.length;++i){var lasts=[];r.lasts.push(lasts);for(var j=r.pos[i].length-1;j>=0;j--){if(null==r.pos[i][j]){r.pos[i].splice(j,j+1)}else{lasts.unshift(nextPos[j]-1)}}}return r}function descendantDfs(nodeMultiSet,node,remaining,matcher,andSelf,attrIndices,attrNodes){while(0<remaining.length&&null!=remaining[0].ownerElement){var attr=remaining.shift();if(andSelf&&matcher.matches(attr)){attrNodes.push(attr);attrIndices.push(nodeMultiSet.nodes.length)}}if(null!=node&&!andSelf){if(matcher.matches(node))nodeMultiSet.addNode(node)}var pushed=false;if(null==node){if(0===remaining.length)return;node=remaining.shift();nodeMultiSet.pushSeries();pushed=true}else if(0<remaining.length&&node===remaining[0]){nodeMultiSet.pushSeries();pushed=true;remaining.shift()}if(andSelf){if(matcher.matches(node))nodeMultiSet.addNode(node)}var nodeList=node.childNodes;for(var j=0;j<nodeList.length;++j){var child=nodeList[j];descendantDfs(nodeMultiSet,child,remaining,matcher,andSelf,attrIndices,attrNodes)}if(pushed){nodeMultiSet.popSeries()}}function descenantHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,andSelf){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase);var nodeMultiSet=new NodeMultiSet(false);var attrIndices=[],attrNodes=[];while(0<nodeList.length){descendantDfs(nodeMultiSet,null,nodeList,matcher,andSelf,attrIndices,attrNodes)}nodeMultiSet.finalize();for(var i=attrNodes.length-1;i>=0;--i){nodeMultiSet.nodes.splice(attrIndices[i],attrIndices[i],attrNodes[i]);nodeMultiSet.pos.splice(attrIndices[i],attrIndices[i],[1]);nodeMultiSet.lasts.splice(attrIndices[i],attrIndices[i],[1])}return nodeMultiSet}function ancestorHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,andSelf){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase);var ancestors=[];for(var i=0;i<nodeList.length;++i){var node=nodeList[i];var isFirst=true;var a=[];while(null!=node){if(!isFirst||andSelf){if(matcher.matches(node))a.push(node)}isFirst=false;node=node.parentNode||node.ownerElement}if(0<a.length)ancestors.push(a)}var lasts=[];for(var i=0;i<ancestors.length;++i)lasts.push(ancestors[i].length);var nodeMultiSet=new NodeMultiSet(true);var newCtx={nodes:[],pos:[],lasts:[]};while(0<ancestors.length){var pos=[ancestors[0].length];var last=[lasts[0]];var node=ancestors[0].pop();for(var i=ancestors.length-1;i>0;--i){if(node===ancestors[i][ancestors[i].length-1]){pos.push(ancestors[i].length);last.push(lasts[i]);ancestors[i].pop();if(0===ancestors[i].length){ancestors.splice(i,i+1);lasts.splice(i,i+1)}}}if(0===ancestors[0].length){ancestors.shift();lasts.shift()}newCtx.nodes.push(node);newCtx.pos.push(pos);newCtx.lasts.push(last)}return newCtx}function addressVector(node){var r=[node];if(null!=node.ownerElement){node=node.ownerElement;r.push(-1)}while(null!=node){var i=0;while(null!=node.previousSibling){node=node.previousSibling;i++}r.push(i);node=node.parentNode}return r}function addressComparator(a,b){var minlen=Math.min(a.length-1,b.length-1),alen=a.length,blen=b.length;if(a[0]===b[0])return 0;var c;for(var i=0;i<minlen;++i){c=a[alen-i-1]-b[blen-i-1];if(0!==c)break}if(null==c||0===c){c=alen-blen}if(0===c)c=getNodeName(a)-getNodeName(b);if(0===c)c=1;return c}var sortUniqDocumentOrder=xpath.sortUniqDocumentOrder=function(nodes){var a=[];for(var i=0;i<nodes.length;i++){var node=nodes[i];var v=addressVector(node);a.push(v)}a.sort(addressComparator);var b=[];for(var i=0;i<a.length;i++){if(0<i&&a[i][0]===a[i-1][0])continue;b.push(a[i][0])}return b};function sortNodeMultiSet(nodeMultiSet){var a=[];for(var i=0;i<nodeMultiSet.nodes.length;i++){var v=addressVector(nodeMultiSet.nodes[i]);a.push({v:v,n:nodeMultiSet.nodes[i],p:nodeMultiSet.pos[i],l:nodeMultiSet.lasts[i]})}a.sort(compare);var r={nodes:[],pos:[],lasts:[]};for(var i=0;i<a.length;++i){r.nodes.push(a[i].n);r.pos.push(a[i].p);r.lasts.push(a[i].l)}function compare(x,y){return addressComparator(x.v,y.v)}return r}function nodeAndAncestors(node){var ancestors=[node];var p=node;while(p=p.parentNode||p.ownerElement){ancestors.unshift(p)}return ancestors}function compareSiblings(a,b){if(a===b)return 0;var c=a;while(c=c.previousSibling){if(c===b)return 1}c=b;while(c=c.previousSibling){if(c===a)return-1}throw new Error("a and b are not siblings: "+xpath.stringifyObject(a)+" vs "+xpath.stringifyObject(b))}function mergeNodeLists(x,y){var a,b,aanc,banc,r=[];if("object"!==typeof x)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Invalid LHS for | operator "+"(expected node-set): "+x);if("object"!==typeof y)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Invalid LHS for | operator "+"(expected node-set): "+y);while(true){if(null==a){a=x.shift();if(null!=a)aanc=addressVector(a)}if(null==b){b=y.shift();if(null!=b)banc=addressVector(b)}if(null==a||null==b)break;var c=addressComparator(aanc,banc);if(c<0){r.push(a);a=null;aanc=null}else if(c>0){r.push(b);b=null;banc=null}else if(getNodeName(a)<getNodeName(b)){r.push(a);a=null;aanc=null}else if(getNodeName(a)>getNodeName(b)){r.push(b);b=null;banc=null}else if(a!==b){r.push(b);b=null;banc=null}else{console.assert(a===b,c);b=null;banc=null}}while(a){r.push(a);a=x.shift()}while(b){r.push(b);b=y.shift()}return r}function comparisonHelper(test,x,y,isNumericComparison){var coersion;if(isNumericComparison)coersion=fn.number;else coersion="boolean"===typeof x||"boolean"===typeof y?fn["boolean"]:"number"===typeof x||"number"===typeof y?fn.number:fn.string;if("object"===typeof x&&"object"===typeof y){var aMap={};for(var i=0;i<x.nodes.length;++i){var xi=coersion({nodes:[x.nodes[i]]});for(var j=0;j<y.nodes.length;++j){var yj=coersion({nodes:[y.nodes[j]]});if(test(xi,yj))return true}}return false}else if("object"===typeof x&&x.nodes&&x.nodes.length){for(var i=0;i<x.nodes.length;++i){var xi=coersion({nodes:[x.nodes[i]]}),yc=coersion(y);if(test(xi,yc))return true}return false}else if("object"===typeof y&&x.nodes&&x.nodes.length){for(var i=0;i<x.nodes.length;++i){var yi=coersion({nodes:[y.nodes[i]]}),xc=coersion(x);if(test(xc,yi))return true}return false}else{var xc=coersion(x),yc=coersion(y);return test(xc,yc)}}var axes=xpath.axes={ancestor:function ancestor(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return ancestorHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,false)},"ancestor-or-self":function ancestorOrSelf(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return ancestorHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,true)},attribute:function attribute(nodeList,nodeTypeNum,nodeName,shouldLowerCase){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase);var nodeMultiSet=new NodeMultiSet(false);if(null!=nodeName){for(var i=0;i<nodeList.length;++i){var node=nodeList[i];if(null==node.getAttributeNode)continue;var attr=node.getAttributeNode(nodeName);if(null!=attr&&matcher.matches(attr)){nodeMultiSet.pushSeries();nodeMultiSet.addNode(attr);nodeMultiSet.popSeries()}}}else{for(var i=0;i<nodeList.length;++i){var node=nodeList[i];if(null!=node.attributes){nodeMultiSet.pushSeries();for(var j=0;j<node.attributes.length;j++){var attr=node.attributes[j];if(matcher.matches(attr))nodeMultiSet.addNode(attr)}nodeMultiSet.popSeries()}}}return nodeMultiSet.finalize()},child:function child(nodeList,nodeTypeNum,nodeName,shouldLowerCase){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase);var nodeMultiSet=new NodeMultiSet(false);for(var i=0;i<nodeList.length;++i){var n=nodeList[i];if(n.ownerElement)continue;if(n.childNodes){nodeMultiSet.pushSeries();var childList=1===nodeTypeNum&&null!=n.children?n.children:n.childNodes;for(var j=0;j<childList.length;++j){var child=childList[j];if(matcher.matches(child)){nodeMultiSet.addNode(child)}}nodeMultiSet.popSeries()}}nodeMultiSet.finalize();return sortNodeMultiSet(nodeMultiSet)},descendant:function descenant(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return descenantHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,false)},"descendant-or-self":function descenantOrSelf(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return descenantHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,true)},following:function following(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return followingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase)},"following-sibling":function followingSibling(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return followingSiblingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,Array.prototype.shift,(function(){return this[0]}),(function(node){return node.nextSibling}))},namespace:function namespace(nodeList,nodeTypeNum,nodeName,shouldLowerCase){},parent:function parent(nodeList,nodeTypeNum,nodeName,shouldLowerCase){var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase);var nodes=[],pos=[];for(var i=0;i<nodeList.length;++i){var parent=nodeList[i].parentNode||nodeList[i].ownerElement;if(null==parent)continue;if(!matcher.matches(parent))continue;if(nodes.length>0&&parent===nodes[nodes.length-1])continue;nodes.push(parent);pos.push([1])}return{nodes:nodes,pos:pos,lasts:pos}},preceding:function preceding(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return precedingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase)},"preceding-sibling":function precedingSibling(nodeList,nodeTypeNum,nodeName,shouldLowerCase){return followingSiblingHelper(nodeList,nodeTypeNum,nodeName,shouldLowerCase,Array.prototype.pop,(function(){return this[this.length-1]}),(function(node){return node.previousSibling}),false,true)},self:function self(nodeList,nodeTypeNum,nodeName,shouldLowerCase){var nodes=[],pos=[];var matcher=new NodeMatcher(nodeTypeNum,nodeName,shouldLowerCase);for(var i=0;i<nodeList.length;++i){if(matcher.matches(nodeList[i])){nodes.push(nodeList[i]);pos.push([1])}}return{nodes:nodes,pos:pos,lasts:pos}}};var fn={number:function number(optObject){if("number"===typeof optObject)return optObject;if("string"===typeof optObject)return parseFloat(optObject);if("boolean"===typeof optObject)return+optObject;return fn.number(fn.string.call(this,optObject))},string:function string(optObject){if(null==optObject)return fn.string(this);if("string"===typeof optObject||"boolean"===typeof optObject||"number"===typeof optObject)return""+optObject;if(0==optObject.nodes.length)return"";if(null!=optObject.nodes[0].textContent)return optObject.nodes[0].textContent;return optObject.nodes[0].nodeValue},boolean:function booleanVal(x){return"object"===typeof x?x.nodes.length>0:!!x},last:function last(){console.assert(Array.isArray(this.pos));console.assert(Array.isArray(this.lasts));console.assert(1===this.pos.length);console.assert(1===this.lasts.length);console.assert(1===this.lasts[0].length);return this.lasts[0][0]},position:function position(){console.assert(Array.isArray(this.pos));console.assert(Array.isArray(this.lasts));console.assert(1===this.pos.length);console.assert(1===this.lasts.length);console.assert(1===this.pos[0].length);return this.pos[0][0]},count:function count(nodeSet){if("object"!==typeof nodeSet)throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Position "+stream.position()+": Function count(node-set) "+"got wrong argument type: "+nodeSet);return nodeSet.nodes.length},id:function id(object){var r={nodes:[]};var doc=this.nodes[0].ownerDocument||this.nodes[0];console.assert(doc);var ids;if("object"===typeof object){ids=[];for(var i=0;i<object.nodes.length;++i){var idNode=object.nodes[i];var idsString=fn.string({nodes:[idNode]});var a=idsString.split(/[ \t\r\n]+/g);Array.prototype.push.apply(ids,a)}}else{var idsString=fn.string(object);var a=idsString.split(/[ \t\r\n]+/g);ids=a}for(var i=0;i<ids.length;++i){var id=ids[i];if(0===id.length)continue;var node=doc.getElementById(id);if(null!=node)r.nodes.push(node)}r.nodes=sortUniqDocumentOrder(r.nodes);return r},"local-name":function(nodeSet){if(null==nodeSet)return fn.name(this);if(null==nodeSet.nodes){throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"argument to name() must be a node-set. got "+nodeSet)}return nodeSet.nodes[0].localName},"namespace-uri":function(nodeSet){throw new Error("not implemented yet")},name:function(nodeSet){if(null==nodeSet)return fn.name(this);if(null==nodeSet.nodes){throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"argument to name() must be a node-set. got "+nodeSet)}return nodeSet.nodes[0].name},concat:function concat(x){var l=[];for(var i=0;i<arguments.length;++i){l.push(fn.string(arguments[i]))}return l.join("")},"starts-with":function startsWith(a,b){var as=fn.string(a),bs=fn.string(b);return as.substr(0,bs.length)===bs},contains:function contains(a,b){var as=fn.string(a),bs=fn.string(b);var i=as.indexOf(bs);if(-1===i)return false;return true},"substring-before":function substringBefore(a,b){var as=fn.string(a),bs=fn.string(b);var i=as.indexOf(bs);if(-1===i)return"";return as.substr(0,i)},"substring-after":function substringBefore(a,b){var as=fn.string(a),bs=fn.string(b);var i=as.indexOf(bs);if(-1===i)return"";return as.substr(i+bs.length)},substring:function substring(string,start,optEnd){if(null==string||null==start){throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Must be at least 2 arguments to string()")}var sString=fn.string(string),iStart=fn.round(start),iEnd=optEnd==null?null:fn.round(optEnd);if(iEnd==null)return sString.substr(iStart-1);else return sString.substr(iStart-1,iEnd)},"string-length":function stringLength(optString){return fn.string.call(this,optString).length},"normalize-space":function normalizeSpace(optString){var s=fn.string.call(this,optString);return s.replace(/[ \t\r\n]+/g," ").replace(/^ | $/g,"")},translate:function translate(string,from,to){var sString=fn.string.call(this,string),sFrom=fn.string(from),sTo=fn.string(to);var eachCharRe=[];var map={};for(var i=0;i<sFrom.length;++i){var c=sFrom.charAt(i);map[c]=sTo.charAt(i);eachCharRe.push(c.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"))}var re=new RegExp(eachCharRe.join("|"),"g");return sString.replace(re,(function(c){return map[c]}))},not:function not(x){var bx=fn["boolean"](x);return!bx},true:function trueVal(){return true},false:function falseVal(){return false},lang:function lang(string){throw new Error("Not implemented")},sum:function sum(optNodeSet){if(null==optNodeSet)return fn.sum(this);var sum=0;for(var i=0;i<optNodeSet.nodes.length;++i){var node=optNodeSet.nodes[i];var x=fn.number({nodes:[node]});sum+=x}return sum},floor:function floor(number){return Math.floor(fn.number(number))},ceiling:function ceiling(number){return Math.ceil(fn.number(number))},round:function round(number){return Math.round(fn.number(number))}};var more={UnaryMinus:function(x){return-fn.number(x)},"+":function(x,y){return fn.number(x)+fn.number(y)},"-":function(x,y){return fn.number(x)-fn.number(y)},"*":function(x,y){return fn.number(x)*fn.number(y)},div:function(x,y){return fn.number(x)/fn.number(y)},mod:function(x,y){return fn.number(x)%fn.number(y)},"<":function(x,y){return comparisonHelper((function(x,y){return fn.number(x)<fn.number(y)}),x,y,true)},"<=":function(x,y){return comparisonHelper((function(x,y){return fn.number(x)<=fn.number(y)}),x,y,true)},">":function(x,y){return comparisonHelper((function(x,y){return fn.number(x)>fn.number(y)}),x,y,true)},">=":function(x,y){return comparisonHelper((function(x,y){return fn.number(x)>=fn.number(y)}),x,y,true)},and:function(x,y){return fn["boolean"](x)&&fn["boolean"](y)},or:function(x,y){return fn["boolean"](x)||fn["boolean"](y)},"|":function(x,y){return{nodes:mergeNodeLists(x.nodes,y.nodes)}},"=":function(x,y){if("object"===typeof x&&"object"===typeof y){var aMap={};for(var i=0;i<x.nodes.length;++i){var s=fn.string({nodes:[x.nodes[i]]});aMap[s]=true}for(var i=0;i<y.nodes.length;++i){var s=fn.string({nodes:[y.nodes[i]]});if(aMap[s])return true}return false}else{return comparisonHelper((function(x,y){return x===y}),x,y)}},"!=":function(x,y){if("object"===typeof x&&"object"===typeof y){if(0===x.nodes.length||0===y.nodes.length)return false;var aMap={};for(var i=0;i<x.nodes.length;++i){var s=fn.string({nodes:[x.nodes[i]]});aMap[s]=true}for(var i=0;i<y.nodes.length;++i){var s=fn.string({nodes:[y.nodes[i]]});if(!aMap[s])return true}return false}else{return comparisonHelper((function(x,y){return x!==y}),x,y)}}};var nodeTypes=xpath.nodeTypes={node:0,attribute:2,comment:8,text:3,"processing-instruction":7,element:1};var stringifyObject=xpath.stringifyObject=function stringifyObject(ctx){var seenKey="seen"+Math.floor(Math.random()*1e9);return JSON.stringify(helper(ctx));function helper(ctx){if(Array.isArray(ctx)){return ctx.map((function(x){return helper(x)}))}if("object"!==typeof ctx)return ctx;if(null==ctx)return ctx;if(null!=ctx.outerHTML)return ctx.outerHTML;if(null!=ctx.nodeValue)return ctx.nodeName+"="+ctx.nodeValue;if(ctx[seenKey])return"[circular]";ctx[seenKey]=true;var nicer={};for(var key in ctx){if(seenKey===key)continue;try{nicer[key]=helper(ctx[key])}catch(e){nicer[key]="[exception: "+e.message+"]"}}delete ctx[seenKey];return nicer}};var Evaluator=xpath.Evaluator=function Evaluator(doc){this.doc=doc};Evaluator.prototype={val:function val(ast,ctx){console.assert(ctx.nodes);if("number"===typeof ast||"string"===typeof ast)return ast;if(more[ast[0]]){var evaluatedParams=[];for(var i=1;i<ast.length;++i){evaluatedParams.push(this.val(ast[i],ctx))}var r=more[ast[0]].apply(ctx,evaluatedParams);return r}switch(ast[0]){case"Root":return{nodes:[this.doc]};case"FunctionCall":var functionName=ast[1],functionParams=ast[2];if(null==fn[functionName])throw new XPathException(XPathException.INVALID_EXPRESSION_ERR,"Unknown function: "+functionName);var evaluatedParams=[];for(var i=0;i<functionParams.length;++i){evaluatedParams.push(this.val(functionParams[i],ctx))}var r=fn[functionName].apply(ctx,evaluatedParams);return r;case"Predicate":var lhs=this.val(ast[1],ctx);var ret={nodes:[]};var contexts=eachContext(lhs);for(var i=0;i<contexts.length;++i){var singleNodeSet=contexts[i];var rhs=this.val(ast[2],singleNodeSet);var success;if("number"===typeof rhs){success=rhs===singleNodeSet.pos[0][0]}else{success=fn["boolean"](rhs)}if(success){var node=singleNodeSet.nodes[0];ret.nodes.push(node);while(i+1<contexts.length&&node===contexts[i+1].nodes[0]){i++}}}return ret;case"PathExpr":var x=this.val(ast[1],ctx);if(x.finalize){return{nodes:x.nodes}}else{return x}case"/":var lhs=this.val(ast[1],ctx);console.assert(null!=lhs);var r=this.val(ast[2],lhs);console.assert(null!=r);return r;case"Axis":var axis=ast[1],nodeType=ast[2],nodeTypeNum=nodeTypes[nodeType],shouldLowerCase=true,nodeName=ast[3]&&shouldLowerCase?ast[3].toLowerCase():ast[3];nodeName=nodeName==="*"?null:nodeName;if("object"!==typeof ctx)return{nodes:[],pos:[]};var nodeList=ctx.nodes.slice();var r=axes[axis](nodeList,nodeTypeNum,nodeName,shouldLowerCase);return r}}};var evaluate=xpath.evaluate=function evaluate(expr,doc,context){var stream=new Stream(expr);var ast=parse(stream,astFactory);var val=new Evaluator(doc).val(ast,{nodes:[context]});return val};var XPathException=xpath.XPathException=function XPathException(code,message){var e=new Error(message);e.name="XPathException";e.code=code;return e};XPathException.INVALID_EXPRESSION_ERR=51;XPathException.TYPE_ERR=52;var XPathEvaluator=xpath.XPathEvaluator=function XPathEvaluator(){};XPathEvaluator.prototype={createExpression:function(expression,resolver){return new XPathExpression(expression,resolver)},createNSResolver:function(nodeResolver){},evaluate:function evaluate(expression,contextNode,resolver,type,result){var expr=new XPathExpression(expression,resolver);return expr.evaluate(contextNode,type,result)}};var XPathExpression=xpath.XPathExpression=function XPathExpression(expression,resolver,optDoc){var stream=new Stream(expression);this._ast=parse(stream,astFactory);this._doc=optDoc};XPathExpression.prototype={evaluate:function evaluate(contextNode,type,result){if(null==contextNode.nodeType)throw new Error("bad argument (expected context node): "+contextNode);var doc=contextNode.ownerDocument||contextNode;if(null!=this._doc&&this._doc!==doc){throw new core.DOMException(core.DOMException.WRONG_DOCUMENT_ERR,"The document must be the same as the context node's document.")}var evaluator=new Evaluator(doc);var value=evaluator.val(this._ast,{nodes:[contextNode]});if(XPathResult.NUMBER_TYPE===type)value=fn.number(value);else if(XPathResult.STRING_TYPE===type)value=fn.string(value);else if(XPathResult.BOOLEAN_TYPE===type)value=fn["boolean"](value);else if(XPathResult.ANY_TYPE!==type&&XPathResult.UNORDERED_NODE_ITERATOR_TYPE!==type&&XPathResult.ORDERED_NODE_ITERATOR_TYPE!==type&&XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE!==type&&XPathResult.ORDERED_NODE_SNAPSHOT_TYPE!==type&&XPathResult.ANY_UNORDERED_NODE_TYPE!==type&&XPathResult.FIRST_ORDERED_NODE_TYPE!==type)throw new core.DOMException(core.DOMException.NOT_SUPPORTED_ERR,"You must provide an XPath result type (0=any).");else if(XPathResult.ANY_TYPE!==type&&"object"!==typeof value)throw new XPathException(XPathException.TYPE_ERR,"Value should be a node-set: "+value);return new XPathResult(doc,value,type)}};var XPathResult=xpath.XPathResult=function XPathResult(doc,value,resultType){this._value=value;this._resultType=resultType;this._i=0};XPathResult.ANY_TYPE=0;XPathResult.NUMBER_TYPE=1;XPathResult.STRING_TYPE=2;XPathResult.BOOLEAN_TYPE=3;XPathResult.UNORDERED_NODE_ITERATOR_TYPE=4;XPathResult.ORDERED_NODE_ITERATOR_TYPE=5;XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE=6;XPathResult.ORDERED_NODE_SNAPSHOT_TYPE=7;XPathResult.ANY_UNORDERED_NODE_TYPE=8;XPathResult.FIRST_ORDERED_NODE_TYPE=9;var proto={get resultType(){if(this._resultType)return this._resultType;switch(typeof this._value){case"number":return XPathResult.NUMBER_TYPE;case"string":return XPathResult.STRING_TYPE;case"boolean":return XPathResult.BOOLEAN_TYPE;default:return XPathResult.UNORDERED_NODE_ITERATOR_TYPE}},get numberValue(){if(XPathResult.NUMBER_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a NUMBER_TYPE.");return this._value},get stringValue(){if(XPathResult.STRING_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a STRING_TYPE.");return this._value},get booleanValue(){if(XPathResult.BOOLEAN_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a BOOLEAN_TYPE.");return this._value},get singleNodeValue(){if(XPathResult.ANY_UNORDERED_NODE_TYPE!==this.resultType&&XPathResult.FIRST_ORDERED_NODE_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a FIRST_ORDERED_NODE_TYPE.");return this._value.nodes[0]||null},get invalidIteratorState(){if(XPathResult.UNORDERED_NODE_ITERATOR_TYPE!==this.resultType&&XPathResult.ORDERED_NODE_ITERATOR_TYPE!==this.resultType)return false;return!!this._invalidated},get snapshotLength(){if(XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE!==this.resultType&&XPathResult.ORDERED_NODE_SNAPSHOT_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a ORDERED_NODE_SNAPSHOT_TYPE.");return this._value.nodes.length},iterateNext:function iterateNext(){if(XPathResult.UNORDERED_NODE_ITERATOR_TYPE!==this.resultType&&XPathResult.ORDERED_NODE_ITERATOR_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a ORDERED_NODE_ITERATOR_TYPE.");if(this.invalidIteratorState)throw new core.DOMException(core.DOMException.INVALID_STATE_ERR,"The document has been mutated since the result was returned");return this._value.nodes[this._i++]||null},snapshotItem:function snapshotItem(index){if(XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE!==this.resultType&&XPathResult.ORDERED_NODE_SNAPSHOT_TYPE!==this.resultType)throw new XPathException(XPathException.TYPE_ERR,"You should have asked for a ORDERED_NODE_SNAPSHOT_TYPE.");return this._value.nodes[index]||null}};XPathResult.prototype=Object.create(XPathResult,Object.keys(proto).reduce((function(descriptors,name){descriptors[name]=Object.getOwnPropertyDescriptor(proto,name);return descriptors}),{constructor:{value:XPathResult,writable:true,configurable:true}}));core.XPathException=XPathException;core.XPathExpression=XPathExpression;core.XPathResult=XPathResult;core.XPathEvaluator=XPathEvaluator;core.Document.prototype.createExpression=XPathEvaluator.prototype.createExpression;core.Document.prototype.createNSResolver=XPathEvaluator.prototype.createNSResolver;core.Document.prototype.evaluate=XPathEvaluator.prototype.evaluate;return xpath}},{}],350:[function(require,module,exports){"use strict";const AbortSignal=require("../generated/AbortSignal");class AbortControllerImpl{constructor(globalObject){this.signal=AbortSignal.createImpl(globalObject,[])}abort(){this.signal._signalAbort()}}module.exports={implementation:AbortControllerImpl}},{"../generated/AbortSignal":392}],351:[function(require,module,exports){"use strict";const{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=require("../helpers/create-event-accessor");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const EventTargetImpl=require("../events/EventTarget-impl").implementation;class AbortSignalImpl extends EventTargetImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._ownerDocument=globalObject.document;this.aborted=false;this.abortAlgorithms=new Set}_signalAbort(){if(this.aborted){return}this.aborted=true;for(const algorithm of this.abortAlgorithms){algorithm()}this.abortAlgorithms.clear();fireAnEvent("abort",this)}_addAlgorithm(algorithm){if(this.aborted){return}this.abortAlgorithms.add(algorithm)}_removeAlgorithm(algorithm){this.abortAlgorithms.delete(algorithm)}}setupForSimpleEventAccessors(AbortSignalImpl.prototype,["abort"]);module.exports={implementation:AbortSignalImpl}},{"../events/EventTarget-impl":370,"../helpers/create-event-accessor":587,"../helpers/events":592}],352:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const{HTML_NS:HTML_NS}=require("./helpers/namespaces");const{asciiLowercase:asciiLowercase}=require("./helpers/strings");const{queueAttributeMutationRecord:queueAttributeMutationRecord}=require("./helpers/mutation-observers");const{enqueueCECallbackReaction:enqueueCECallbackReaction}=require("./helpers/custom-elements");exports.hasAttribute=function(element,A){return element._attributeList.includes(A)};exports.hasAttributeByName=function(element,name){return element._attributesByNameMap.has(name)};exports.hasAttributeByNameNS=function(element,namespace,localName){return element._attributeList.some(attribute=>attribute._localName===localName&&attribute._namespace===namespace)};exports.changeAttribute=(element,attribute,value)=>{const{_localName:_localName,_namespace:_namespace,_value:_value}=attribute;queueAttributeMutationRecord(element,_localName,_namespace,_value);if(element._ceState==="custom"){enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,_value,value,_namespace])}attribute._value=value;element._attrModified(attribute._qualifiedName,value,_value)};exports.appendAttribute=function(element,attribute){const{_localName:_localName,_namespace:_namespace,_value:_value}=attribute;queueAttributeMutationRecord(element,_localName,_namespace,null);if(element._ceState==="custom"){enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,null,_value,_namespace])}const attributeList=element._attributeList;attributeList.push(attribute);attribute._element=element;const name=attribute._qualifiedName;const cache=element._attributesByNameMap;let entry=cache.get(name);if(!entry){entry=[];cache.set(name,entry)}entry.push(attribute);element._attrModified(name,_value,null)};exports.removeAttribute=function(element,attribute){const{_localName:_localName,_namespace:_namespace,_value:_value}=attribute;queueAttributeMutationRecord(element,_localName,_namespace,_value);if(element._ceState==="custom"){enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,_value,null,_namespace])}const attributeList=element._attributeList;for(let i=0;i<attributeList.length;++i){if(attributeList[i]===attribute){attributeList.splice(i,1);attribute._element=null;const name=attribute._qualifiedName;const cache=element._attributesByNameMap;const entry=cache.get(name);entry.splice(entry.indexOf(attribute),1);if(entry.length===0){cache.delete(name)}element._attrModified(name,null,attribute._value);return}}};exports.replaceAttribute=function(element,oldAttr,newAttr){const{_localName:_localName,_namespace:_namespace,_value:_value}=oldAttr;queueAttributeMutationRecord(element,_localName,_namespace,_value);if(element._ceState==="custom"){enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,_value,newAttr._value,_namespace])}const attributeList=element._attributeList;for(let i=0;i<attributeList.length;++i){if(attributeList[i]===oldAttr){attributeList.splice(i,1,newAttr);oldAttr._element=null;newAttr._element=element;const name=newAttr._qualifiedName;const cache=element._attributesByNameMap;let entry=cache.get(name);if(!entry){entry=[];cache.set(name,entry)}entry.splice(entry.indexOf(oldAttr),1,newAttr);element._attrModified(name,newAttr._value,oldAttr._value);return}}};exports.getAttributeByName=function(element,name){if(element._namespaceURI===HTML_NS&&element._ownerDocument._parsingMode==="html"){name=asciiLowercase(name)}const cache=element._attributesByNameMap;const entry=cache.get(name);if(!entry){return null}return entry[0]};exports.getAttributeByNameNS=function(element,namespace,localName){if(namespace===""){namespace=null}const attributeList=element._attributeList;for(let i=0;i<attributeList.length;++i){const attr=attributeList[i];if(attr._namespace===namespace&&attr._localName===localName){return attr}}return null};exports.getAttributeValue=function(element,localName){const attr=exports.getAttributeByNameNS(element,null,localName);if(!attr){return""}return attr._value};exports.getAttributeValueNS=function(element,namespace,localName){const attr=exports.getAttributeByNameNS(element,namespace,localName);if(!attr){return""}return attr._value};exports.setAttribute=function(element,attr){if(attr._element!==null&&attr._element!==element){throw DOMException.create(element._globalObject,["The attribute is in use.","InUseAttributeError"])}const oldAttr=exports.getAttributeByNameNS(element,attr._namespace,attr._localName);if(oldAttr===attr){return attr}if(oldAttr!==null){exports.replaceAttribute(element,oldAttr,attr)}else{exports.appendAttribute(element,attr)}return oldAttr};exports.setAttributeValue=function(element,localName,value,prefix,namespace){if(prefix===undefined){prefix=null}if(namespace===undefined){namespace=null}const attribute=exports.getAttributeByNameNS(element,namespace,localName);if(attribute===null){const newAttribute=element._ownerDocument._createAttribute({namespace:namespace,namespacePrefix:prefix,localName:localName,value:value});exports.appendAttribute(element,newAttribute);return}exports.changeAttribute(element,attribute,value)};exports.setAnExistingAttributeValue=(attribute,value)=>{const element=attribute._element;if(element===null){attribute._value=value}else{exports.changeAttribute(element,attribute,value)}};exports.removeAttributeByName=function(element,name){const attr=exports.getAttributeByName(element,name);if(attr!==null){exports.removeAttribute(element,attr)}return attr};exports.removeAttributeByNameNS=function(element,namespace,localName){const attr=exports.getAttributeByNameNS(element,namespace,localName);if(attr!==null){exports.removeAttribute(element,attr)}return attr};exports.attributeNames=function(element){return element._attributeList.map(a=>a._qualifiedName)};exports.hasAttributes=function(element){return element._attributeList.length>0}},{"./helpers/custom-elements":588,"./helpers/mutation-observers":598,"./helpers/namespaces":599,"./helpers/strings":606,"domexception/webidl2js-wrapper":213}],353:[function(require,module,exports){"use strict";const{setAnExistingAttributeValue:setAnExistingAttributeValue}=require("../attributes.js");const NodeImpl=require("../nodes/Node-impl.js").implementation;const{ATTRIBUTE_NODE:ATTRIBUTE_NODE}=require("../node-type.js");exports.implementation=class AttrImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._namespace=privateData.namespace!==undefined?privateData.namespace:null;this._namespacePrefix=privateData.namespacePrefix!==undefined?privateData.namespacePrefix:null;this._localName=privateData.localName;this._value=privateData.value!==undefined?privateData.value:"";this._element=privateData.element!==undefined?privateData.element:null;this.nodeType=ATTRIBUTE_NODE;this.specified=true}get namespaceURI(){return this._namespace}get prefix(){return this._namespacePrefix}get localName(){return this._localName}get name(){return this._qualifiedName}get nodeName(){return this._qualifiedName}get value(){return this._value}set value(value){setAnExistingAttributeValue(this,value)}get ownerElement(){return this._element}get _qualifiedName(){if(this._namespacePrefix===null){return this._localName}return this._namespacePrefix+":"+this._localName}}},{"../attributes.js":352,"../node-type.js":631,"../nodes/Node-impl.js":722}],354:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const idlUtils=require("../generated/utils.js");const attributes=require("../attributes.js");const{HTML_NS:HTML_NS}=require("../helpers/namespaces");exports.implementation=class NamedNodeMapImpl{constructor(globalObject,args,privateData){this._element=privateData.element;this._globalObject=globalObject}get _attributeList(){return this._element._attributeList}get[idlUtils.supportedPropertyIndices](){return this._attributeList.keys()}get length(){return this._attributeList.length}item(index){if(index>=this._attributeList.length){return null}return this._attributeList[index]}get[idlUtils.supportedPropertyNames](){const names=new Set(this._attributeList.map(a=>a._qualifiedName));const el=this._element;if(el._namespaceURI===HTML_NS&&el._ownerDocument._parsingMode==="html"){for(const name of names){const lowercaseName=name.toLowerCase();if(lowercaseName!==name){names.delete(name)}}}return names}getNamedItem(qualifiedName){return attributes.getAttributeByName(this._element,qualifiedName)}getNamedItemNS(namespace,localName){return attributes.getAttributeByNameNS(this._element,namespace,localName)}setNamedItem(attr){return attributes.setAttribute(this._element,attr)}setNamedItemNS(attr){return attributes.setAttribute(this._element,attr)}removeNamedItem(qualifiedName){const attr=attributes.removeAttributeByName(this._element,qualifiedName);if(attr===null){throw DOMException.create(this._globalObject,["Tried to remove an attribute that was not present","NotFoundError"])}return attr}removeNamedItemNS(namespace,localName){const attr=attributes.removeAttributeByNameNS(this._element,namespace,localName);if(attr===null){throw DOMException.create(this._globalObject,["Tried to remove an attribute that was not present","NotFoundError"])}return attr}}},{"../attributes.js":352,"../generated/utils.js":584,"../helpers/namespaces":599,"domexception/webidl2js-wrapper":213}],355:[function(require,module,exports){"use strict";const ValidityState=require("../generated/ValidityState");const{isDisabled:isDisabled}=require("../helpers/form-controls");const{closest:closest}=require("../helpers/traversal");const{fireAnEvent:fireAnEvent}=require("../helpers/events");exports.implementation=class DefaultConstraintValidationImpl{get willValidate(){return this._isCandidateForConstraintValidation()}get validity(){if(!this._validity){this._validity=ValidityState.createImpl(this._globalObject,[],{element:this})}return this._validity}checkValidity(){if(!this._isCandidateForConstraintValidation()){return true}if(this._satisfiesConstraints()){return true}fireAnEvent("invalid",this,undefined,{cancelable:true});return false}setCustomValidity(message){this._customValidityErrorMessage=message}reportValidity(){return this.checkValidity()}get validationMessage(){const{validity:validity}=this;if(!this._isCandidateForConstraintValidation()||this._satisfiesConstraints()){return""}const isSufferingFromCustomError=validity.customError;if(isSufferingFromCustomError){return this._customValidityErrorMessage}return"Constraints not satisfied"}_isCandidateForConstraintValidation(){return!isDisabled(this)&&closest(this,"datalist")===null&&!this._barredFromConstraintValidationSpecialization()}_isBarredFromConstraintValidation(){return!this._isCandidateForConstraintValidation()}_satisfiesConstraints(){return this.validity.valid}}},{"../generated/ValidityState":574,"../helpers/events":592,"../helpers/form-controls":594,"../helpers/traversal":611}],356:[function(require,module,exports){"use strict";exports.implementation=class ValidityStateImpl{constructor(globalObject,args,privateData){const{element:element,state:state={}}=privateData;this._element=element;this._state=state}get badInput(){return this._failsConstraint("badInput")}get customError(){return this._element._customValidityErrorMessage!==""}get patternMismatch(){return this._failsConstraint("patternMismatch")}get rangeOverflow(){return this._failsConstraint("rangeOverflow")}get rangeUnderflow(){return this._failsConstraint("rangeUnderflow")}get stepMismatch(){return this._failsConstraint("stepMismatch")}get tooLong(){return this._failsConstraint("tooLong")}get tooShort(){return this._failsConstraint("tooShort")}get typeMismatch(){return this._failsConstraint("typeMismatch")}get valueMissing(){return this._failsConstraint("valueMissing")}_failsConstraint(method){const validationMethod=this._state[method];if(validationMethod){return validationMethod()}return false}get valid(){return!(this.badInput||this.valueMissing||this.customError||this.patternMismatch||this.rangeOverflow||this.rangeUnderflow||this.stepMismatch||this.tooLong||this.tooShort||this.typeMismatch)}}},{}],357:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils.js");exports.implementation=class StyleSheetList{constructor(){this._list=[]}get length(){return this._list.length}item(index){const result=this._list[index];return result!==undefined?result:null}get[idlUtils.supportedPropertyIndices](){return this._list.keys()}_add(sheet){const{_list:_list}=this;if(!_list.includes(sheet)){_list.push(sheet)}}_remove(sheet){const{_list:_list}=this;const index=_list.indexOf(sheet);if(index>=0){_list.splice(index,1)}}}},{"../generated/utils.js":584}],358:[function(require,module,exports){"use strict";const webIDLConversions=require("webidl-conversions");const DOMException=require("domexception/webidl2js-wrapper");const NODE_TYPE=require("../node-type");const{HTML_NS:HTML_NS}=require("../helpers/namespaces");const{getHTMLElementInterface:getHTMLElementInterface}=require("../helpers/create-element");const{shadowIncludingInclusiveDescendantsIterator:shadowIncludingInclusiveDescendantsIterator}=require("../helpers/shadow-dom");const{isValidCustomElementName:isValidCustomElementName,tryUpgradeElement:tryUpgradeElement,enqueueCEUpgradeReaction:enqueueCEUpgradeReaction}=require("../helpers/custom-elements");const idlUtils=require("../generated/utils");const HTMLUnknownElement=require("../generated/HTMLUnknownElement");const LIFECYCLE_CALLBACKS=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"];function convertToSequenceDOMString(obj){if(!obj||!obj[Symbol.iterator]){throw new TypeError("Invalid Sequence")}return Array.from(obj).map(webIDLConversions.DOMString)}function isConstructor(value){if(typeof value!=="function"){return false}try{const P=new Proxy(value,{construct(){return{}}});new P;return true}catch{return false}}class CustomElementRegistryImpl{constructor(globalObject){this._customElementDefinitions=[];this._elementDefinitionIsRunning=false;this._whenDefinedPromiseMap=Object.create(null);this._globalObject=globalObject}define(name,ctor,options){const{_globalObject:_globalObject}=this;if(!isConstructor(ctor)){throw new TypeError("Constructor argument is not a constructor.")}if(!isValidCustomElementName(name)){throw DOMException.create(_globalObject,["Name argument is not a valid custom element name.","SyntaxError"])}const nameAlreadyRegistered=this._customElementDefinitions.some(entry=>entry.name===name);if(nameAlreadyRegistered){throw DOMException.create(_globalObject,["This name has already been registered in the registry.","NotSupportedError"])}const ctorAlreadyRegistered=this._customElementDefinitions.some(entry=>entry.ctor===ctor);if(ctorAlreadyRegistered){throw DOMException.create(_globalObject,["This constructor has already been registered in the registry.","NotSupportedError"])}let localName=name;let extendsOption=null;if(options!==undefined&&options.extends){extendsOption=options.extends}if(extendsOption!==null){if(isValidCustomElementName(extendsOption)){throw DOMException.create(_globalObject,["Option extends value can't be a valid custom element name.","NotSupportedError"])}const extendsInterface=getHTMLElementInterface(extendsOption);if(extendsInterface===HTMLUnknownElement){throw DOMException.create(_globalObject,[`${extendsOption} is an HTMLUnknownElement.`,"NotSupportedError"])}localName=extendsOption}if(this._elementDefinitionIsRunning){throw DOMException.create(_globalObject,["Invalid nested custom element definition.","NotSupportedError"])}this._elementDefinitionIsRunning=true;let disableShadow=false;let observedAttributes=[];const lifecycleCallbacks={connectedCallback:null,disconnectedCallback:null,adoptedCallback:null,attributeChangedCallback:null};let caughtError;try{const{prototype:prototype}=ctor;if(typeof prototype!=="object"){throw new TypeError("Invalid constructor prototype.")}for(const callbackName of LIFECYCLE_CALLBACKS){const callbackValue=prototype[callbackName];if(callbackValue!==undefined){lifecycleCallbacks[callbackName]=webIDLConversions.Function(callbackValue)}}if(lifecycleCallbacks.attributeChangedCallback!==null){const observedAttributesIterable=ctor.observedAttributes;if(observedAttributesIterable!==undefined){observedAttributes=convertToSequenceDOMString(observedAttributesIterable)}}let disabledFeatures=[];const disabledFeaturesIterable=ctor.disabledFeatures;if(disabledFeaturesIterable){disabledFeatures=convertToSequenceDOMString(disabledFeaturesIterable)}disableShadow=disabledFeatures.includes("shadow")}catch(err){caughtError=err}finally{this._elementDefinitionIsRunning=false}if(caughtError!==undefined){throw caughtError}const definition={name:name,localName:localName,ctor:ctor,observedAttributes:observedAttributes,lifecycleCallbacks:lifecycleCallbacks,disableShadow:disableShadow,constructionStack:[]};this._customElementDefinitions.push(definition);const document=idlUtils.implForWrapper(this._globalObject._document);const upgradeCandidates=[];for(const candidate of shadowIncludingInclusiveDescendantsIterator(document)){if(candidate._namespaceURI===HTML_NS&&candidate._localName===localName&&(extendsOption===null||candidate._isValue===name)){upgradeCandidates.push(candidate)}}for(const upgradeCandidate of upgradeCandidates){enqueueCEUpgradeReaction(upgradeCandidate,definition)}if(this._whenDefinedPromiseMap[name]!==undefined){this._whenDefinedPromiseMap[name].resolve(undefined);delete this._whenDefinedPromiseMap[name]}}get(name){const definition=this._customElementDefinitions.find(entry=>entry.name===name);return definition&&definition.ctor}whenDefined(name){if(!isValidCustomElementName(name)){return Promise.reject(DOMException.create(this._globalObject,["Name argument is not a valid custom element name.","SyntaxError"]))}const alreadyRegistered=this._customElementDefinitions.some(entry=>entry.name===name);if(alreadyRegistered){return Promise.resolve()}if(this._whenDefinedPromiseMap[name]===undefined){let resolve;const promise=new Promise(r=>{resolve=r});this._whenDefinedPromiseMap[name]={promise:promise,resolve:resolve}}return this._whenDefinedPromiseMap[name].promise}upgrade(root){for(const candidate of shadowIncludingInclusiveDescendantsIterator(root)){if(candidate.nodeType===NODE_TYPE.ELEMENT_NODE){tryUpgradeElement(candidate)}}}}module.exports={implementation:CustomElementRegistryImpl}},{"../generated/HTMLUnknownElement":510,"../generated/utils":584,"../helpers/create-element":586,"../helpers/custom-elements":588,"../helpers/namespaces":599,"../helpers/shadow-dom":605,"../node-type":631,"domexception/webidl2js-wrapper":213,"webidl-conversions":776}],359:[function(require,module,exports){"use strict";const XMLDocument=require("../living/generated/XMLDocument.js");const Document=require("../living/generated/Document.js");const{wrapperForImpl:wrapperForImpl}=require("./generated/utils.js");exports.createImpl=(globalObject,options,{alwaysUseDocumentClass:alwaysUseDocumentClass=false}={})=>{if(options.parsingMode==="xml"&&!alwaysUseDocumentClass){return XMLDocument.createImpl(globalObject,[],{options:options})}return Document.createImpl(globalObject,[],{options:options})};exports.createWrapper=(...args)=>wrapperForImpl(exports.createImpl(...args))},{"../living/generated/Document.js":415,"../living/generated/XMLDocument.js":578,"./generated/utils.js":584}],360:[function(require,module,exports){"use strict";const{parseIntoDocument:parseIntoDocument}=require("../../browser/parser");const Document=require("../generated/Document");exports.implementation=class DOMParserImpl{constructor(globalObject){this._globalObject=globalObject}parseFromString(string,contentType){switch(String(contentType)){case"text/html":{return this.createScriptingDisabledDocument("html",contentType,string)}case"text/xml":case"application/xml":case"application/xhtml+xml":case"image/svg+xml":{try{return this.createScriptingDisabledDocument("xml",contentType,string)}catch(error){const document=this.createScriptingDisabledDocument("xml",contentType);const element=document.createElementNS("http://www.mozilla.org/newlayout/xml/parsererror.xml","parsererror");element.textContent=error.message;document.appendChild(element);return document}}default:throw new TypeError("Invalid contentType")}}createScriptingDisabledDocument(parsingMode,contentType,string){const document=Document.createImpl(this._globalObject,[],{options:{parsingMode:parsingMode,encoding:"UTF-8",contentType:contentType,readyState:"complete",scriptingDisabled:true}});if(string!==undefined){parseIntoDocument(string,document)}return document}}},{"../../browser/parser":340,"../generated/Document":415}],361:[function(require,module,exports){"use strict";const serialize=require("w3c-xmlserializer");const DOMException=require("domexception/webidl2js-wrapper");const utils=require("../generated/utils");exports.implementation=class XMLSerializerImpl{constructor(globalObject){this._globalObject=globalObject}serializeToString(root){try{return serialize(utils.wrapperForImpl(root),{requireWellFormed:false})}catch(e){throw DOMException.create(this._globalObject,[e.message,"InvalidStateError"])}}}},{"../generated/utils":584,"domexception/webidl2js-wrapper":213,"w3c-xmlserializer":1015}],362:[function(require,module,exports){"use strict";const nodeTypes=require("../node-type");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");exports.getFirstChild=node=>node.firstChild;exports.getChildNodes=node=>node.childNodesForSerializing||domSymbolTree.childrenToArray(node);exports.getParentNode=node=>node.parentNode;exports.getAttrList=element=>{const attributeList=[...element._attributeList];if(element._isValue&&attributeList.every(attr=>attr.name!=="is")){attributeList.unshift({name:"is",namespace:null,prefix:null,value:element._isValue})}return attributeList};exports.getTagName=element=>element._qualifiedName;exports.getNamespaceURI=element=>element.namespaceURI;exports.getTextNodeContent=exports.getCommentNodeContent=node=>node.data;exports.getDocumentTypeNodeName=node=>node.name;exports.getDocumentTypeNodePublicId=node=>node.publicId;exports.getDocumentTypeNodeSystemId=node=>node.systemId;exports.getTemplateContent=templateElement=>templateElement._templateContents;exports.getDocumentMode=document=>document._mode;exports.isTextNode=node=>node.nodeType===nodeTypes.TEXT_NODE;exports.isCommentNode=node=>node.nodeType===nodeTypes.COMMENT_NODE;exports.isDocumentTypeNode=node=>node.nodeType===nodeTypes.DOCUMENT_TYPE_NODE;exports.isElementNode=node=>node.nodeType===nodeTypes.ELEMENT_NODE;exports.setNodeSourceCodeLocation=(node,location)=>{node.sourceCodeLocation=location};exports.getNodeSourceCodeLocation=node=>node.sourceCodeLocation},{"../helpers/internal-constants":596,"../node-type":631}],363:[function(require,module,exports){"use strict";const produceXMLSerialization=require("w3c-xmlserializer");const parse5=require("parse5");const DOMException=require("domexception/webidl2js-wrapper");const utils=require("../generated/utils");const treeAdapter=require("./parse5-adapter-serialization");const NODE_TYPE=require("../node-type");const NAMESPACES=require("../helpers/namespaces");function htmlSerialization(node){if(node.nodeType===NODE_TYPE.ELEMENT_NODE&&node.namespaceURI===NAMESPACES.HTML_NS&&node.tagName==="TEMPLATE"){node=node.content}return parse5.serialize(node,{treeAdapter:treeAdapter})}module.exports.fragmentSerialization=(node,{requireWellFormed:requireWellFormed,globalObject:globalObject})=>{const contextDocument=node.nodeType===NODE_TYPE.DOCUMENT_NODE?node:node._ownerDocument;if(contextDocument._parsingMode==="html"){return htmlSerialization(node)}const childNodes=node.childNodesForSerializing||node.childNodes;try{let serialized="";for(let i=0;i<childNodes.length;++i){serialized+=produceXMLSerialization(utils.wrapperForImpl(childNodes[i]||childNodes.item(i)),{requireWellFormed:requireWellFormed})}return serialized}catch(e){throw DOMException.create(globalObject,[e.message,"InvalidStateError"])}}},{"../generated/utils":584,"../helpers/namespaces":599,"../node-type":631,"./parse5-adapter-serialization":362,"domexception/webidl2js-wrapper":213,parse5:835,"w3c-xmlserializer":1015}],364:[function(require,module,exports){"use strict";const EventImpl=require("./Event-impl").implementation;const CloseEventInit=require("../generated/CloseEventInit");class CloseEventImpl extends EventImpl{}CloseEventImpl.defaultInit=CloseEventInit.convert(undefined);exports.implementation=CloseEventImpl},{"../generated/CloseEventInit":404,"./Event-impl":368}],365:[function(require,module,exports){"use strict";const UIEventImpl=require("./UIEvent-impl").implementation;const CompositionEventInit=require("../generated/CompositionEventInit");class CompositionEventImpl extends UIEventImpl{initCompositionEvent(type,bubbles,cancelable,view,data){if(this._dispatchFlag){return}this.initUIEvent(type,bubbles,cancelable,view,0);this.data=data}}CompositionEventImpl.defaultInit=CompositionEventInit.convert(undefined);module.exports={implementation:CompositionEventImpl}},{"../generated/CompositionEventInit":407,"./UIEvent-impl":382}],366:[function(require,module,exports){"use strict";const EventImpl=require("./Event-impl").implementation;const CustomEventInit=require("../generated/CustomEventInit");class CustomEventImpl extends EventImpl{initCustomEvent(type,bubbles,cancelable,detail){if(this._dispatchFlag){return}this.initEvent(type,bubbles,cancelable);this.detail=detail}}CustomEventImpl.defaultInit=CustomEventInit.convert(undefined);module.exports={implementation:CustomEventImpl}},{"../generated/CustomEventInit":410,"./Event-impl":368}],367:[function(require,module,exports){"use strict";const EventImpl=require("./Event-impl").implementation;const ErrorEventInit=require("../generated/ErrorEventInit");class ErrorEventImpl extends EventImpl{}ErrorEventImpl.defaultInit=ErrorEventInit.convert(undefined);module.exports={implementation:ErrorEventImpl}},{"../generated/ErrorEventInit":423,"./Event-impl":368}],368:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils");const EventInit=require("../generated/EventInit");class EventImpl{constructor(globalObject,args,privateData){const[type,eventInitDict=this.constructor.defaultInit]=args;this.type=type;this.bubbles=false;this.cancelable=false;for(const key in eventInitDict){if(key in this.constructor.defaultInit){this[key]=eventInitDict[key]}}for(const key in this.constructor.defaultInit){if(!(key in this)){this[key]=this.constructor.defaultInit[key]}}this.target=null;this.currentTarget=null;this.eventPhase=0;this._globalObject=globalObject;this._initializedFlag=true;this._stopPropagationFlag=false;this._stopImmediatePropagationFlag=false;this._canceledFlag=false;this._inPassiveListenerFlag=false;this._dispatchFlag=false;this._path=[];this.isTrusted=privateData.isTrusted||false;this.timeStamp=Date.now()}_setTheCanceledFlag(){if(this.cancelable&&!this._inPassiveListenerFlag){this._canceledFlag=true}}get srcElement(){return this.target}get returnValue(){return!this._canceledFlag}set returnValue(v){if(v===false){this._setTheCanceledFlag()}}get defaultPrevented(){return this._canceledFlag}stopPropagation(){this._stopPropagationFlag=true}get cancelBubble(){return this._stopPropagationFlag}set cancelBubble(v){if(v){this._stopPropagationFlag=true}}stopImmediatePropagation(){this._stopPropagationFlag=true;this._stopImmediatePropagationFlag=true}preventDefault(){this._setTheCanceledFlag()}composedPath(){const composedPath=[];const{currentTarget:currentTarget,_path:path}=this;if(path.length===0){return composedPath}composedPath.push(currentTarget);let currentTargetIndex=0;let currentTargetHiddenSubtreeLevel=0;for(let index=path.length-1;index>=0;index--){const{item:item,rootOfClosedTree:rootOfClosedTree,slotInClosedTree:slotInClosedTree}=path[index];if(rootOfClosedTree){currentTargetHiddenSubtreeLevel++}if(item===idlUtils.implForWrapper(currentTarget)){currentTargetIndex=index;break}if(slotInClosedTree){currentTargetHiddenSubtreeLevel--}}let currentHiddenLevel=currentTargetHiddenSubtreeLevel;let maxHiddenLevel=currentTargetHiddenSubtreeLevel;for(let i=currentTargetIndex-1;i>=0;i--){const{item:item,rootOfClosedTree:rootOfClosedTree,slotInClosedTree:slotInClosedTree}=path[i];if(rootOfClosedTree){currentHiddenLevel++}if(currentHiddenLevel<=maxHiddenLevel){composedPath.unshift(idlUtils.wrapperForImpl(item))}if(slotInClosedTree){currentHiddenLevel--;if(currentHiddenLevel<maxHiddenLevel){maxHiddenLevel=currentHiddenLevel}}}currentHiddenLevel=currentTargetHiddenSubtreeLevel;maxHiddenLevel=currentTargetHiddenSubtreeLevel;for(let index=currentTargetIndex+1;index<path.length;index++){const{item:item,rootOfClosedTree:rootOfClosedTree,slotInClosedTree:slotInClosedTree}=path[index];if(slotInClosedTree){currentHiddenLevel++}if(currentHiddenLevel<=maxHiddenLevel){composedPath.push(idlUtils.wrapperForImpl(item))}if(rootOfClosedTree){currentHiddenLevel--;if(currentHiddenLevel<maxHiddenLevel){maxHiddenLevel=currentHiddenLevel}}}return composedPath}_initialize(type,bubbles,cancelable){this.type=type;this._initializedFlag=true;this._stopPropagationFlag=false;this._stopImmediatePropagationFlag=false;this._canceledFlag=false;this.isTrusted=false;this.target=null;this.bubbles=bubbles;this.cancelable=cancelable}initEvent(type,bubbles,cancelable){if(this._dispatchFlag){return}this._initialize(type,bubbles,cancelable)}}EventImpl.defaultInit=EventInit.convert(undefined);module.exports={implementation:EventImpl}},{"../generated/EventInit":425,"../generated/utils":584}],369:[function(require,module,exports){"use strict";class EventModifierMixinImpl{getModifierState(keyArg){return Boolean(this[`modifier${keyArg}`])}}exports.implementation=EventModifierMixinImpl},{}],370:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const reportException=require("../helpers/runtime-script-errors");const idlUtils=require("../generated/utils");const{nodeRoot:nodeRoot}=require("../helpers/node");const{isNode:isNode,isShadowRoot:isShadowRoot,isSlotable:isSlotable,getEventTargetParent:getEventTargetParent,isShadowInclusiveAncestor:isShadowInclusiveAncestor,retarget:retarget}=require("../helpers/shadow-dom");const MouseEvent=require("../generated/MouseEvent");const EVENT_PHASE={NONE:0,CAPTURING_PHASE:1,AT_TARGET:2,BUBBLING_PHASE:3};class EventTargetImpl{constructor(globalObject){this._globalObject=globalObject;this._eventListeners=Object.create(null)}addEventListener(type,callback,options){options=normalizeEventHandlerOptions(options,["capture","once","passive"]);if(callback===null){return}if(!this._eventListeners[type]){this._eventListeners[type]=[]}for(let i=0;i<this._eventListeners[type].length;++i){const listener=this._eventListeners[type][i];if(listener.callback.objectReference===callback.objectReference&&listener.options.capture===options.capture){return}}this._eventListeners[type].push({callback:callback,options:options})}removeEventListener(type,callback,options){options=normalizeEventHandlerOptions(options,["capture"]);if(callback===null){return}if(!this._eventListeners[type]){return}for(let i=0;i<this._eventListeners[type].length;++i){const listener=this._eventListeners[type][i];if(listener.callback.objectReference===callback.objectReference&&listener.options.capture===options.capture){this._eventListeners[type].splice(i,1);break}}}dispatchEvent(eventImpl){if(eventImpl._dispatchFlag||!eventImpl._initializedFlag){throw DOMException.create(this._globalObject,["Tried to dispatch an uninitialized event","InvalidStateError"])}if(eventImpl.eventPhase!==EVENT_PHASE.NONE){throw DOMException.create(this._globalObject,["Tried to dispatch a dispatching event","InvalidStateError"])}eventImpl.isTrusted=false;return this._dispatch(eventImpl)}_getTheParent(){return null}_dispatch(eventImpl,targetOverride){let targetImpl=this;let clearTargets=false;let activationTarget=null;eventImpl._dispatchFlag=true;targetOverride=targetOverride||targetImpl;let relatedTarget=retarget(eventImpl.relatedTarget,targetImpl);if(targetImpl!==relatedTarget||targetImpl===eventImpl.relatedTarget){const touchTargets=[];appendToEventPath(eventImpl,targetImpl,targetOverride,relatedTarget,touchTargets,false);const isActivationEvent=MouseEvent.isImpl(eventImpl)&&eventImpl.type==="click";if(isActivationEvent&&targetImpl._hasActivationBehavior){activationTarget=targetImpl}let slotInClosedTree=false;let slotable=isSlotable(targetImpl)&&targetImpl._assignedSlot?targetImpl:null;let parent=getEventTargetParent(targetImpl,eventImpl);while(parent!==null){if(slotable!==null){if(parent.localName!=="slot"){throw new Error(`JSDOM Internal Error: Expected parent to be a Slot`)}slotable=null;const parentRoot=nodeRoot(parent);if(isShadowRoot(parentRoot)&&parentRoot.mode==="closed"){slotInClosedTree=true}}if(isSlotable(parent)&&parent._assignedSlot){slotable=parent}relatedTarget=retarget(eventImpl.relatedTarget,parent);if(isNode(parent)&&isShadowInclusiveAncestor(nodeRoot(targetImpl),parent)||idlUtils.wrapperForImpl(parent).constructor.name==="Window"){if(isActivationEvent&&eventImpl.bubbles&&activationTarget===null&&parent._hasActivationBehavior){activationTarget=parent}appendToEventPath(eventImpl,parent,null,relatedTarget,touchTargets,slotInClosedTree)}else if(parent===relatedTarget){parent=null}else{targetImpl=parent;if(isActivationEvent&&activationTarget===null&&targetImpl._hasActivationBehavior){activationTarget=targetImpl}appendToEventPath(eventImpl,parent,targetImpl,relatedTarget,touchTargets,slotInClosedTree)}if(parent!==null){parent=getEventTargetParent(parent,eventImpl)}slotInClosedTree=false}let clearTargetsStructIndex=-1;for(let i=eventImpl._path.length-1;i>=0&&clearTargetsStructIndex===-1;i--){if(eventImpl._path[i].target!==null){clearTargetsStructIndex=i}}const clearTargetsStruct=eventImpl._path[clearTargetsStructIndex];clearTargets=isNode(clearTargetsStruct.target)&&isShadowRoot(nodeRoot(clearTargetsStruct.target))||isNode(clearTargetsStruct.relatedTarget)&&isShadowRoot(nodeRoot(clearTargetsStruct.relatedTarget));if(activationTarget!==null&&activationTarget._legacyPreActivationBehavior){activationTarget._legacyPreActivationBehavior()}for(let i=eventImpl._path.length-1;i>=0;--i){const struct=eventImpl._path[i];if(struct.target!==null){eventImpl.eventPhase=EVENT_PHASE.AT_TARGET}else{eventImpl.eventPhase=EVENT_PHASE.CAPTURING_PHASE}invokeEventListeners(struct,eventImpl,"capturing")}for(let i=0;i<eventImpl._path.length;i++){const struct=eventImpl._path[i];if(struct.target!==null){eventImpl.eventPhase=EVENT_PHASE.AT_TARGET}else{if(!eventImpl.bubbles){continue}eventImpl.eventPhase=EVENT_PHASE.BUBBLING_PHASE}invokeEventListeners(struct,eventImpl,"bubbling")}}eventImpl.eventPhase=EVENT_PHASE.NONE;eventImpl.currentTarget=null;eventImpl._path=[];eventImpl._dispatchFlag=false;eventImpl._stopPropagationFlag=false;eventImpl._stopImmediatePropagationFlag=false;if(clearTargets){eventImpl.target=null;eventImpl.relatedTarget=null}if(activationTarget!==null){if(!eventImpl._canceledFlag){activationTarget._activationBehavior(eventImpl)}else if(activationTarget._legacyCanceledActivationBehavior){activationTarget._legacyCanceledActivationBehavior()}}return!eventImpl._canceledFlag}}module.exports={implementation:EventTargetImpl};function invokeEventListeners(struct,eventImpl,phase){const structIndex=eventImpl._path.indexOf(struct);for(let i=structIndex;i>=0;i--){const t=eventImpl._path[i];if(t.target){eventImpl.target=t.target;break}}eventImpl.relatedTarget=idlUtils.wrapperForImpl(struct.relatedTarget);if(eventImpl._stopPropagationFlag){return}eventImpl.currentTarget=idlUtils.wrapperForImpl(struct.item);const listeners=struct.item._eventListeners;innerInvokeEventListeners(eventImpl,listeners,phase,struct)}function innerInvokeEventListeners(eventImpl,listeners,phase){let found=false;const{type:type,target:target}=eventImpl;const wrapper=idlUtils.wrapperForImpl(target);if(!listeners||!listeners[type]){return found}const handlers=listeners[type].slice();for(let i=0;i<handlers.length;i++){const listener=handlers[i];const{capture:capture,once:once,passive:passive}=listener.options;if(!listeners[type].includes(listener)){continue}found=true;if(phase==="capturing"&&!capture||phase==="bubbling"&&capture){continue}if(once){listeners[type].splice(listeners[type].indexOf(listener),1)}if(passive){eventImpl._inPassiveListenerFlag=true}try{listener.callback.call(eventImpl.currentTarget,eventImpl)}catch(e){let window=null;if(wrapper&&wrapper._document){window=wrapper}else if(target._ownerDocument){window=target._ownerDocument._defaultView}else if(wrapper._ownerDocument){window=wrapper._ownerDocument._defaultView}if(window){reportException(window,e)}}eventImpl._inPassiveListenerFlag=false;if(eventImpl._stopImmediatePropagationFlag){return found}}return found}function normalizeEventHandlerOptions(options,defaultBoolKeys){const returnValue={};if(typeof options==="boolean"||options===null||typeof options==="undefined"){returnValue.capture=Boolean(options);return returnValue}if(typeof options!=="object"){returnValue.capture=Boolean(options);defaultBoolKeys=defaultBoolKeys.filter(k=>k!=="capture")}for(const key of defaultBoolKeys){returnValue[key]=Boolean(options[key])}return returnValue}function appendToEventPath(eventImpl,target,targetOverride,relatedTarget,touchTargets,slotInClosedTree){const itemInShadowTree=isNode(target)&&isShadowRoot(nodeRoot(target));const rootOfClosedTree=isShadowRoot(target)&&target.mode==="closed";eventImpl._path.push({item:target,itemInShadowTree:itemInShadowTree,target:targetOverride,relatedTarget:relatedTarget,touchTargets:touchTargets,rootOfClosedTree:rootOfClosedTree,slotInClosedTree:slotInClosedTree})}},{"../generated/MouseEvent":525,"../generated/utils":584,"../helpers/node":600,"../helpers/runtime-script-errors":603,"../helpers/shadow-dom":605,"domexception/webidl2js-wrapper":213}],371:[function(require,module,exports){"use strict";const UIEventImpl=require("./UIEvent-impl").implementation;const FocusEventInit=require("../generated/FocusEventInit");class FocusEventImpl extends UIEventImpl{}FocusEventImpl.defaultInit=FocusEventInit.convert(undefined);exports.implementation=FocusEventImpl},{"../generated/FocusEventInit":436,"./UIEvent-impl":382}],372:[function(require,module,exports){"use strict";const EventImpl=require("./Event-impl").implementation;const HashChangeEventInit=require("../generated/HashChangeEventInit");class HashChangeEventImpl extends EventImpl{}HashChangeEventImpl.defaultInit=HashChangeEventInit.convert(undefined);module.exports={implementation:HashChangeEventImpl}},{"../generated/HashChangeEventInit":513,"./Event-impl":368}],373:[function(require,module,exports){"use strict";const UIEventImpl=require("./UIEvent-impl").implementation;const InputEventInit=require("../generated/InputEventInit");class InputEventImpl extends UIEventImpl{initInputEvent(type,bubbles,cancelable,data,isComposing){if(this._dispatchFlag){return}this.initUIEvent(type,bubbles,cancelable);this.data=data;this.isComposing=isComposing}}InputEventImpl.defaultInit=InputEventInit.convert(undefined);module.exports={implementation:InputEventImpl}},{"../generated/InputEventInit":517,"./UIEvent-impl":382}],374:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const EventModifierMixinImpl=require("./EventModifierMixin-impl").implementation;const UIEventImpl=require("./UIEvent-impl").implementation;const KeyboardEventInit=require("../generated/KeyboardEventInit");class KeyboardEventImpl extends UIEventImpl{initKeyboardEvent(type,bubbles,cancelable,view,key,location,ctrlKey,altKey,shiftKey,metaKey){if(this._dispatchFlag){return}this.initUIEvent(type,bubbles,cancelable,view,0);this.key=key;this.location=location;this.ctrlKey=ctrlKey;this.altKey=altKey;this.shiftKey=shiftKey;this.metaKey=metaKey}}mixin(KeyboardEventImpl.prototype,EventModifierMixinImpl.prototype);KeyboardEventImpl.defaultInit=KeyboardEventInit.convert(undefined);module.exports={implementation:KeyboardEventImpl}},{"../../utils":766,"../generated/KeyboardEventInit":519,"./EventModifierMixin-impl":369,"./UIEvent-impl":382}],375:[function(require,module,exports){"use strict";const EventImpl=require("./Event-impl").implementation;const MessageEventInit=require("../generated/MessageEventInit");class MessageEventImpl extends EventImpl{initMessageEvent(type,bubbles,cancelable,data,origin,lastEventId,source,ports){if(this._dispatchFlag){return}this.initEvent(type,bubbles,cancelable);this.data=data;this.origin=origin;this.lastEventId=lastEventId;this.source=source;this.ports=ports}}MessageEventImpl.defaultInit=MessageEventInit.convert(undefined);module.exports={implementation:MessageEventImpl}},{"../generated/MessageEventInit":522,"./Event-impl":368}],376:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const EventModifierMixinImpl=require("./EventModifierMixin-impl").implementation;const UIEventImpl=require("./UIEvent-impl").implementation;const MouseEventInit=require("../generated/MouseEventInit");class MouseEventImpl extends UIEventImpl{initMouseEvent(type,bubbles,cancelable,view,detail,screenX,screenY,clientX,clientY,ctrlKey,altKey,shiftKey,metaKey,button,relatedTarget){if(this._dispatchFlag){return}this.initUIEvent(type,bubbles,cancelable,view,detail);this.screenX=screenX;this.screenY=screenY;this.clientX=clientX;this.clientY=clientY;this.ctrlKey=ctrlKey;this.altKey=altKey;this.shiftKey=shiftKey;this.metaKey=metaKey;this.button=button;this.relatedTarget=relatedTarget}}mixin(MouseEventImpl.prototype,EventModifierMixinImpl.prototype);MouseEventImpl.defaultInit=MouseEventInit.convert(undefined);module.exports={implementation:MouseEventImpl}},{"../../utils":766,"../generated/MouseEventInit":526,"./EventModifierMixin-impl":369,"./UIEvent-impl":382}],377:[function(require,module,exports){"use strict";const EventImpl=require("./Event-impl").implementation;const PageTransitionEventInit=require("../generated/PageTransitionEventInit");class PageTransitionEventImpl extends EventImpl{initPageTransitionEvent(type,bubbles,cancelable,persisted){if(this._dispatchFlag){return}this.initEvent(type,bubbles,cancelable);this.persisted=persisted}}PageTransitionEventImpl.defaultInit=PageTransitionEventInit.convert(undefined);exports.implementation=PageTransitionEventImpl},{"../generated/PageTransitionEventInit":537,"./Event-impl":368}],378:[function(require,module,exports){"use strict";const EventImpl=require("./Event-impl.js").implementation;const PopStateEventInit=require("../generated/PopStateEventInit");class PopStateEventImpl extends EventImpl{}PopStateEventImpl.defaultInit=PopStateEventInit.convert(undefined);exports.implementation=PopStateEventImpl},{"../generated/PopStateEventInit":542,"./Event-impl.js":368}],379:[function(require,module,exports){"use strict";const EventImpl=require("./Event-impl").implementation;const ProgressEventInit=require("../generated/ProgressEventInit");class ProgressEventImpl extends EventImpl{}ProgressEventImpl.defaultInit=ProgressEventInit.convert(undefined);module.exports={implementation:ProgressEventImpl}},{"../generated/ProgressEventInit":545,"./Event-impl":368}],380:[function(require,module,exports){"use strict";const EventImpl=require("./Event-impl").implementation;const StorageEventInit=require("../generated/StorageEventInit");class StorageEventImpl extends EventImpl{initStorageEvent(type,bubbles,cancelable,key,oldValue,newValue,url,storageArea){if(this._dispatchFlag){return}this.initEvent(type,bubbles,cancelable);this.key=key;this.oldValue=oldValue;this.newValue=newValue;this.url=url;this.storageArea=storageArea}}StorageEventImpl.defaultInit=StorageEventInit.convert(undefined);module.exports={implementation:StorageEventImpl}},{"../generated/StorageEventInit":564,"./Event-impl":368}],381:[function(require,module,exports){"use strict";const UIEventImpl=require("./UIEvent-impl").implementation;const TouchEventInit=require("../generated/TouchEventInit");class TouchEventImpl extends UIEventImpl{}TouchEventImpl.defaultInit=TouchEventInit.convert(undefined);module.exports={implementation:TouchEventImpl}},{"../generated/TouchEventInit":570,"./UIEvent-impl":382}],382:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils");const UIEventInit=require("../generated/UIEventInit");const EventImpl=require("./Event-impl").implementation;function isWindow(val){if(typeof val!=="object"){return false}const wrapper=idlUtils.wrapperForImpl(val);if(typeof wrapper==="object"){return wrapper===wrapper._globalProxy}return isWindow(idlUtils.implForWrapper(val))}class UIEventImpl extends EventImpl{constructor(globalObject,args,privateData){const eventInitDict=args[1];if(eventInitDict&&eventInitDict.view!==null&&eventInitDict.view!==undefined){if(!isWindow(eventInitDict.view)){throw new TypeError(`Failed to construct '${new.target.name.replace(/Impl$/,"")}': member view is not of `+"type Window.")}}super(globalObject,args,privateData)}initUIEvent(type,bubbles,cancelable,view,detail){if(view!==null){if(!isWindow(view)){throw new TypeError(`Failed to execute 'initUIEvent' on '${this.constructor.name.replace(/Impl$/,"")}': `+"parameter 4 is not of type 'Window'.")}}if(this._dispatchFlag){return}this.initEvent(type,bubbles,cancelable);this.view=view;this.detail=detail}}UIEventImpl.defaultInit=UIEventInit.convert(undefined);module.exports={implementation:UIEventImpl}},{"../generated/UIEventInit":573,"../generated/utils":584,"./Event-impl":368}],383:[function(require,module,exports){"use strict";const MouseEventImpl=require("./MouseEvent-impl").implementation;const WheelEventInit=require("../generated/WheelEventInit");class WheelEventImpl extends MouseEventImpl{}WheelEventImpl.defaultInit=WheelEventInit.convert(undefined);module.exports={implementation:WheelEventImpl}},{"../generated/WheelEventInit":577,"./MouseEvent-impl":376}],384:[function(require,module,exports){"use strict";const{isForbidden:isForbidden,isForbiddenResponse:isForbiddenResponse,isPrivilegedNoCORSRequest:isPrivilegedNoCORSRequest,isNoCORSSafelistedRequest:isNoCORSSafelistedRequest,isCORSWhitelisted:isCORSWhitelisted}=require("./header-types");const HeaderList=require("./header-list");function assertName(name){if(!name.match(/^[!#$%&'*+\-.^`|~\w]+$/)){throw new TypeError("name is invalid")}}function assertValue(value){if(value.match(/[\0\r\n]/)){throw new TypeError("value is invalid")}}class HeadersImpl{constructor(globalObject,args){this.guard="none";this.headersList=new HeaderList;if(args[0]){this._fill(args[0])}}_fill(init){if(Array.isArray(init)){for(const header of init){if(header.length!==2){throw new TypeError("init is invalid")}this.append(header[0],header[1])}}else{for(const key of Object.keys(init)){this.append(key,init[key])}}}has(name){assertName(name);return this.headersList.contains(name)}get(name){assertName(name);return this.headersList.get(name)}_removePrivilegedNoCORSHeaders(){this.headersList.delete("range")}append(name,value){value=value.trim();assertName(name);assertValue(value);switch(this.guard){case"immutable":throw new TypeError("Headers is immutable");case"request":if(isForbidden(name)){return}break;case"request-no-cors":{let temporaryValue=this.get(name);if(temporaryValue===null){temporaryValue=value}else{temporaryValue+=`, ${value}`}if(!isCORSWhitelisted(name,value)){return}break}case"response":if(isForbiddenResponse(name)){return}break}this.headersList.append(name,value);this._removePrivilegedNoCORSHeaders()}set(name,value){value=value.trim();assertName(name);assertValue(value);switch(this.guard){case"immutable":throw new TypeError("Headers is immutable");case"request":if(isForbidden(name)){return}break;case"request-no-cors":{if(!isCORSWhitelisted(name,value)){return}break}case"response":if(isForbiddenResponse(name)){return}break}this.headersList.set(name,value);this._removePrivilegedNoCORSHeaders()}delete(name){assertName(name);switch(this.guard){case"immutable":throw new TypeError("Headers is immutable");case"request":if(isForbidden(name)){return}break;case"request-no-cors":{if(!isNoCORSSafelistedRequest(name)&&!isPrivilegedNoCORSRequest(name)){return}break}case"response":if(isForbiddenResponse(name)){return}break}this.headersList.delete(name);this._removePrivilegedNoCORSHeaders()}*[Symbol.iterator](){for(const header of this.headersList.sortAndCombine()){yield header}}}exports.implementation=HeadersImpl},{"./header-list":385,"./header-types":386}],385:[function(require,module,exports){"use strict";class HeaderList{constructor(){this.headers=new Map}append(name,value){const existing=this.headers.get(name.toLowerCase());if(existing){name=existing[0].name;existing.push({name:name,value:value})}else{this.headers.set(name.toLowerCase(),[{name:name,value:value}])}}contains(name){return this.headers.has(name.toLowerCase())}get(name){name=name.toLowerCase();const values=this.headers.get(name);if(!values){return null}return values.map(h=>h.value).join(", ")}delete(name){this.headers.delete(name.toLowerCase())}set(name,value){const lowerName=name.toLowerCase();this.headers.delete(lowerName);this.headers.set(lowerName,[{name:name,value:value}])}sortAndCombine(){const names=[...this.headers.keys()].sort();return names.map(n=>[n,this.get(n)])}}module.exports=HeaderList},{}],386:[function(require,module,exports){(function(Buffer){"use strict";const MIMEType=require("whatwg-mimetype");const PRIVILEGED_NO_CORS_REQUEST=new Set(["range"]);function isPrivilegedNoCORSRequest(name){return PRIVILEGED_NO_CORS_REQUEST.has(name.toLowerCase())}const NO_CORS_SAFELISTED_REQUEST=new Set([`accept`,`accept-language`,`content-language`,`content-type`]);function isNoCORSSafelistedRequest(name){return NO_CORS_SAFELISTED_REQUEST.has(name.toLowerCase())}const FORBIDDEN=new Set([`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`,`via`]);function isForbidden(name){name=name.toLowerCase();return FORBIDDEN.has(name)||name.startsWith("proxy-")||name.startsWith("sec-")}const FORBIDDEN_RESPONSE=new Set(["set-cookie","set-cookie2"]);function isForbiddenResponse(name){return FORBIDDEN_RESPONSE.has(name.toLowerCase())}const CORS_UNSAFE_BYTE=/[\x00-\x08\x0A-\x1F"():<>?@[\\\]{}\x7F]/;function isCORSWhitelisted(name,value){name=name.toLowerCase();switch(name){case"accept":if(value.match(CORS_UNSAFE_BYTE)){return false}break;case"accept-language":case"content-language":if(value.match(/[^\x30-\x39\x41-\x5A\x61-\x7A *,\-.;=]/)){return false}break;case"content-type":{if(value.match(CORS_UNSAFE_BYTE)){return false}const mimeType=MIMEType.parse(value);if(mimeType===null){return false}if(!["application/x-www-form-urlencoded","multipart/form-data","text/plain"].includes(mimeType.essence)){return false}break}default:return false}if(Buffer.from(value).length>128){return false}return true}module.exports={isPrivilegedNoCORSRequest:isPrivilegedNoCORSRequest,isNoCORSSafelistedRequest:isNoCORSSafelistedRequest,isForbidden:isForbidden,isForbiddenResponse:isForbiddenResponse,isCORSWhitelisted:isCORSWhitelisted}}).call(this,require("buffer").Buffer)},{buffer:132,"whatwg-mimetype":1020}],387:[function(require,module,exports){(function(Buffer){"use strict";const Blob=require("../generated/Blob");const{isArrayBuffer:isArrayBuffer}=require("../generated/utils");function convertLineEndingsToNative(s){return s.replace(/\r\n|\r|\n/g,"\n")}exports.implementation=class BlobImpl{constructor(globalObject,args){const parts=args[0];const properties=args[1];const buffers=[];if(parts!==undefined){for(const part of parts){let buffer;if(isArrayBuffer(part)){buffer=Buffer.from(part)}else if(ArrayBuffer.isView(part)){buffer=Buffer.from(part.buffer,part.byteOffset,part.byteLength)}else if(Blob.isImpl(part)){buffer=part._buffer}else{let s=part;if(properties.endings==="native"){s=convertLineEndingsToNative(part)}buffer=Buffer.from(s)}buffers.push(buffer)}}this._buffer=Buffer.concat(buffers);this._globalObject=globalObject;this.type=properties.type;if(/[^\u0020-\u007E]/.test(this.type)){this.type=""}else{this.type=this.type.toLowerCase()}}get size(){return this._buffer.length}slice(start,end,contentType){const{size:size}=this;let relativeStart;let relativeEnd;let relativeContentType;if(start===undefined){relativeStart=0}else if(start<0){relativeStart=Math.max(size+start,0)}else{relativeStart=Math.min(start,size)}if(end===undefined){relativeEnd=size}else if(end<0){relativeEnd=Math.max(size+end,0)}else{relativeEnd=Math.min(end,size)}if(contentType===undefined){relativeContentType=""}else{relativeContentType=contentType}const span=Math.max(relativeEnd-relativeStart,0);const buffer=this._buffer;const slicedBuffer=buffer.slice(relativeStart,relativeStart+span);const blob=Blob.createImpl(this._globalObject,[[],{type:relativeContentType}],{});blob._buffer=slicedBuffer;return blob}}}).call(this,require("buffer").Buffer)},{"../generated/Blob":399,"../generated/utils":584,buffer:132}],388:[function(require,module,exports){"use strict";const BlobImpl=require("./Blob-impl").implementation;exports.implementation=class FileImpl extends BlobImpl{constructor(globalObject,args,privateData){const fileBits=args[0];const fileName=args[1];const options=args[2];super(globalObject,[fileBits,options],privateData);this.name=fileName.replace(/\//g,":");this.lastModified="lastModified"in options?options.lastModified:Date.now()}}},{"./Blob-impl":387}],389:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils.js");exports.implementation=class FileListImpl extends Array{constructor(){super(0)}item(index){return this[index]||null}get[idlUtils.supportedPropertyIndices](){return this.keys()}}},{"../generated/utils.js":584}],390:[function(require,module,exports){(function(Buffer,setImmediate){"use strict";const whatwgEncoding=require("whatwg-encoding");const MIMEType=require("whatwg-mimetype");const DOMException=require("domexception/webidl2js-wrapper");const EventTargetImpl=require("../events/EventTarget-impl").implementation;const ProgressEvent=require("../generated/ProgressEvent");const{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=require("../helpers/create-event-accessor");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const{copyToArrayBufferInNewRealm:copyToArrayBufferInNewRealm}=require("../helpers/binary-data");const READY_STATES=Object.freeze({EMPTY:0,LOADING:1,DONE:2});const events=["loadstart","progress","load","abort","error","loadend"];class FileReaderImpl extends EventTargetImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this.error=null;this.readyState=READY_STATES.EMPTY;this.result=null;this._globalObject=globalObject;this._ownerDocument=globalObject.document;this._terminated=false}readAsArrayBuffer(file){this._readFile(file,"buffer")}readAsBinaryString(file){this._readFile(file,"binaryString")}readAsDataURL(file){this._readFile(file,"dataURL")}readAsText(file,encoding){this._readFile(file,"text",whatwgEncoding.labelToName(encoding)||"UTF-8")}abort(){if(this.readyState===READY_STATES.EMPTY||this.readyState===READY_STATES.DONE){this.result=null;return}if(this.readyState===READY_STATES.LOADING){this.readyState=READY_STATES.DONE;this.result=null}this._terminated=true;this._fireProgressEvent("abort");this._fireProgressEvent("loadend")}_fireProgressEvent(name,props){fireAnEvent(name,this,ProgressEvent,props)}_readFile(file,format,encoding){if(this.readyState===READY_STATES.LOADING){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}this.readyState=READY_STATES.LOADING;setImmediate(()=>{if(this._terminated){this._terminated=false;return}this._fireProgressEvent("loadstart");let data=file._buffer;if(!data){data=Buffer.alloc(0)}this._fireProgressEvent("progress",{lengthComputable:!isNaN(file.size),total:file.size,loaded:data.length});setImmediate(()=>{if(this._terminated){this._terminated=false;return}switch(format){default:case"buffer":{this.result=copyToArrayBufferInNewRealm(data,this._globalObject);break}case"binaryString":{this.result=data.toString("binary");break}case"dataURL":{const contentType=MIMEType.parse(file.type)||"application/octet-stream";this.result=`data:${contentType};base64,${data.toString("base64")}`;break}case"text":{this.result=whatwgEncoding.decode(data,encoding);break}}this.readyState=READY_STATES.DONE;this._fireProgressEvent("load");this._fireProgressEvent("loadend")})})}}setupForSimpleEventAccessors(FileReaderImpl.prototype,events);exports.implementation=FileReaderImpl}).call(this,require("buffer").Buffer,require("timers").setImmediate)},{"../events/EventTarget-impl":370,"../generated/ProgressEvent":544,"../helpers/binary-data":585,"../helpers/create-event-accessor":587,"../helpers/events":592,buffer:132,"domexception/webidl2js-wrapper":213,timers:980,"whatwg-encoding":1019,"whatwg-mimetype":1020}],391:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="AbortController";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'AbortController'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["AbortController"];if(ctor===undefined){throw new Error("Internal error: constructor AbortController is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class AbortController{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,undefined)}abort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].abort()}get signal(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"signal",()=>utils.tryWrapperForImpl(esValue[implSymbol]["signal"]))}}Object.defineProperties(AbortController.prototype,{abort:{enumerable:true},signal:{enumerable:true},[Symbol.toStringTag]:{value:"AbortController",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=AbortController;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:AbortController})};const Impl=require("../aborting/AbortController-impl.js")},{"../aborting/AbortController-impl.js":350,"./utils.js":584,"webidl-conversions":776}],392:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const EventTarget=require("./EventTarget.js");const interfaceName="AbortSignal";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'AbortSignal'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["AbortSignal"];if(ctor===undefined){throw new Error("Internal error: constructor AbortSignal is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.EventTarget===undefined){throw new Error("Internal error: attempting to evaluate AbortSignal before EventTarget")}class AbortSignal extends globalObject.EventTarget{constructor(){throw new TypeError("Illegal constructor")}get aborted(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["aborted"]}get onabort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onabort"])}set onabort(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onabort"]=V}}Object.defineProperties(AbortSignal.prototype,{aborted:{enumerable:true},onabort:{enumerable:true},[Symbol.toStringTag]:{value:"AbortSignal",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=AbortSignal;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:AbortSignal})};const Impl=require("../aborting/AbortSignal-impl.js")},{"../aborting/AbortSignal-impl.js":351,"./EventTarget.js":429,"./utils.js":584,"webidl-conversions":776}],393:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="AbstractRange";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'AbstractRange'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["AbstractRange"];if(ctor===undefined){throw new Error("Internal error: constructor AbstractRange is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class AbstractRange{constructor(){throw new TypeError("Illegal constructor")}get startContainer(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["startContainer"])}get startOffset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["startOffset"]}get endContainer(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["endContainer"])}get endOffset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["endOffset"]}get collapsed(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["collapsed"]}}Object.defineProperties(AbstractRange.prototype,{startContainer:{enumerable:true},startOffset:{enumerable:true},endContainer:{enumerable:true},endOffset:{enumerable:true},collapsed:{enumerable:true},[Symbol.toStringTag]:{value:"AbstractRange",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=AbstractRange;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:AbstractRange})};const Impl=require("../range/AbstractRange-impl.js")},{"../range/AbstractRange-impl.js":739,"./utils.js":584,"webidl-conversions":776}],394:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventListenerOptions=require("./EventListenerOptions.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventListenerOptions._convertInherit(obj,ret,{context:context});{const key="once";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'once' that"});ret[key]=value}else{ret[key]=false}}{const key="passive";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'passive' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventListenerOptions.js":427,"./utils.js":584,"webidl-conversions":776}],395:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="flatten";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'flatten' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./utils.js":584,"webidl-conversions":776}],396:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Node=require("./Node.js");const interfaceName="Attr";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Attr'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Attr"];if(ctor===undefined){throw new Error("Internal error: constructor Attr is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Node===undefined){throw new Error("Internal error: attempting to evaluate Attr before Node")}class Attr extends globalObject.Node{constructor(){throw new TypeError("Illegal constructor")}get namespaceURI(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["namespaceURI"]}get prefix(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["prefix"]}get localName(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["localName"]}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["name"]}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["value"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'Attr': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["value"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ownerElement(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ownerElement"])}get specified(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["specified"]}}Object.defineProperties(Attr.prototype,{namespaceURI:{enumerable:true},prefix:{enumerable:true},localName:{enumerable:true},name:{enumerable:true},value:{enumerable:true},ownerElement:{enumerable:true},specified:{enumerable:true},[Symbol.toStringTag]:{value:"Attr",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Attr;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Attr})};const Impl=require("../attributes/Attr-impl.js")},{"../attributes/Attr-impl.js":353,"../helpers/custom-elements.js":588,"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],397:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="BarProp";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'BarProp'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["BarProp"];if(ctor===undefined){throw new Error("Internal error: constructor BarProp is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class BarProp{constructor(){throw new TypeError("Illegal constructor")}get visible(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["visible"]}}Object.defineProperties(BarProp.prototype,{visible:{enumerable:true},[Symbol.toStringTag]:{value:"BarProp",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=BarProp;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:BarProp})};const Impl=require("../window/BarProp-impl.js")},{"../window/BarProp-impl.js":753,"./utils.js":584,"webidl-conversions":776}],398:[function(require,module,exports){"use strict";const enumerationValues=new Set(["blob","arraybuffer"]);exports.enumerationValues=enumerationValues;exports.convert=function convert(value,{context:context="The provided value"}={}){const string=`${value}`;if(!enumerationValues.has(string)){throw new TypeError(`${context} '${string}' is not a valid enumeration value for BinaryType`)}return string}},{}],399:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const BlobPropertyBag=require("./BlobPropertyBag.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Blob";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Blob'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Blob"];if(ctor===undefined){throw new Error("Internal error: constructor Blob is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class Blob{constructor(){const args=[];{let curArg=arguments[0];if(curArg!==undefined){if(!utils.isObject(curArg)){throw new TypeError("Failed to construct 'Blob': parameter 1"+" is not an iterable object.")}else{const V=[];const tmp=curArg;for(let nextItem of tmp){if(exports.is(nextItem)){nextItem=utils.implForWrapper(nextItem)}else if(utils.isArrayBuffer(nextItem)){}else if(ArrayBuffer.isView(nextItem)){}else{nextItem=conversions["USVString"](nextItem,{context:"Failed to construct 'Blob': parameter 1"+"'s element"})}V.push(nextItem)}curArg=V}}args.push(curArg)}{let curArg=arguments[1];curArg=BlobPropertyBag.convert(curArg,{context:"Failed to construct 'Blob': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}slice(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["long long"](curArg,{context:"Failed to execute 'slice' on 'Blob': parameter 1",clamp:true})}args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["long long"](curArg,{context:"Failed to execute 'slice' on 'Blob': parameter 2",clamp:true})}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'slice' on 'Blob': parameter 3"})}args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].slice(...args))}get size(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["size"]}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["type"]}}Object.defineProperties(Blob.prototype,{slice:{enumerable:true},size:{enumerable:true},type:{enumerable:true},[Symbol.toStringTag]:{value:"Blob",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Blob;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Blob})};const Impl=require("../file-api/Blob-impl.js")},{"../file-api/Blob-impl.js":387,"./BlobPropertyBag.js":400,"./utils.js":584,"webidl-conversions":776}],400:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EndingType=require("./EndingType.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="endings";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=EndingType.convert(value,{context:context+" has member 'endings' that"});ret[key]=value}else{ret[key]="transparent"}}{const key="type";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["DOMString"](value,{context:context+" has member 'type' that"});ret[key]=value}else{ret[key]=""}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EndingType.js":421,"./utils.js":584,"webidl-conversions":776}],401:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Text=require("./Text.js");const interfaceName="CDATASection";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'CDATASection'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["CDATASection"];if(ctor===undefined){throw new Error("Internal error: constructor CDATASection is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Text._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Text===undefined){throw new Error("Internal error: attempting to evaluate CDATASection before Text")}class CDATASection extends globalObject.Text{constructor(){throw new TypeError("Illegal constructor")}}Object.defineProperties(CDATASection.prototype,{[Symbol.toStringTag]:{value:"CDATASection",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=CDATASection;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:CDATASection})};const Impl=require("../nodes/CDATASection-impl.js")},{"../nodes/CDATASection-impl.js":633,"./Text.js":567,"./utils.js":584,"webidl-conversions":776}],402:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Node=require("./Node.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="CharacterData";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'CharacterData'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["CharacterData"];if(ctor===undefined){throw new Error("Internal error: constructor CharacterData is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Node===undefined){throw new Error("Internal error: attempting to evaluate CharacterData before Node")}class CharacterData extends globalObject.Node{constructor(){throw new TypeError("Illegal constructor")}substringData(offset,count){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'substringData' on 'CharacterData': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'substringData' on 'CharacterData': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'substringData' on 'CharacterData': parameter 2"});args.push(curArg)}return esValue[implSymbol].substringData(...args)}appendData(data){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'appendData' on 'CharacterData': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'appendData' on 'CharacterData': parameter 1"});args.push(curArg)}return esValue[implSymbol].appendData(...args)}insertData(offset,data){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'insertData' on 'CharacterData': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'insertData' on 'CharacterData': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'insertData' on 'CharacterData': parameter 2"});args.push(curArg)}return esValue[implSymbol].insertData(...args)}deleteData(offset,count){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'deleteData' on 'CharacterData': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'deleteData' on 'CharacterData': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'deleteData' on 'CharacterData': parameter 2"});args.push(curArg)}return esValue[implSymbol].deleteData(...args)}replaceData(offset,count,data){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<3){throw new TypeError("Failed to execute 'replaceData' on 'CharacterData': 3 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'replaceData' on 'CharacterData': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'replaceData' on 'CharacterData': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'replaceData' on 'CharacterData': parameter 3"});args.push(curArg)}return esValue[implSymbol].replaceData(...args)}before(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'before' on 'CharacterData': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].before(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}after(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'after' on 'CharacterData': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].after(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceWith(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'replaceWith' on 'CharacterData': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replaceWith(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get data(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["data"]}set data(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'data' property on 'CharacterData': The provided value",treatNullAsEmptyString:true});esValue[implSymbol]["data"]=V}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}get previousElementSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["previousElementSibling"])}get nextElementSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["nextElementSibling"])}}Object.defineProperties(CharacterData.prototype,{substringData:{enumerable:true},appendData:{enumerable:true},insertData:{enumerable:true},deleteData:{enumerable:true},replaceData:{enumerable:true},before:{enumerable:true},after:{enumerable:true},replaceWith:{enumerable:true},remove:{enumerable:true},data:{enumerable:true},length:{enumerable:true},previousElementSibling:{enumerable:true},nextElementSibling:{enumerable:true},[Symbol.toStringTag]:{value:"CharacterData",configurable:true},[Symbol.unscopables]:{value:{before:true,after:true,replaceWith:true,remove:true,__proto__:null},configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=CharacterData;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:CharacterData})};const Impl=require("../nodes/CharacterData-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/CharacterData-impl.js":634,"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],403:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const CloseEventInit=require("./CloseEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="CloseEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'CloseEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["CloseEvent"];if(ctor===undefined){throw new Error("Internal error: constructor CloseEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate CloseEvent before Event")}class CloseEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'CloseEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'CloseEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=CloseEventInit.convert(curArg,{context:"Failed to construct 'CloseEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get wasClean(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["wasClean"]}get code(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["code"]}get reason(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["reason"]}}Object.defineProperties(CloseEvent.prototype,{wasClean:{enumerable:true},code:{enumerable:true},reason:{enumerable:true},[Symbol.toStringTag]:{value:"CloseEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=CloseEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:CloseEvent})};const Impl=require("../events/CloseEvent-impl.js")},{"../events/CloseEvent-impl.js":364,"./CloseEventInit.js":404,"./Event.js":424,"./utils.js":584,"webidl-conversions":776}],404:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="code";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned short"](value,{context:context+" has member 'code' that"});ret[key]=value}else{ret[key]=0}}{const key="reason";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["USVString"](value,{context:context+" has member 'reason' that"});ret[key]=value}else{ret[key]=""}}{const key="wasClean";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'wasClean' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],405:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const CharacterData=require("./CharacterData.js");const interfaceName="Comment";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Comment'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Comment"];if(ctor===undefined){throw new Error("Internal error: constructor Comment is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{CharacterData._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.CharacterData===undefined){throw new Error("Internal error: attempting to evaluate Comment before CharacterData")}class Comment extends globalObject.CharacterData{constructor(){const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'Comment': parameter 1"})}else{curArg=""}args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}}Object.defineProperties(Comment.prototype,{[Symbol.toStringTag]:{value:"Comment",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Comment;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Comment})};const Impl=require("../nodes/Comment-impl.js")},{"../nodes/Comment-impl.js":636,"./CharacterData.js":402,"./utils.js":584,"webidl-conversions":776}],406:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const CompositionEventInit=require("./CompositionEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const UIEvent=require("./UIEvent.js");const interfaceName="CompositionEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'CompositionEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["CompositionEvent"];if(ctor===undefined){throw new Error("Internal error: constructor CompositionEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.UIEvent===undefined){throw new Error("Internal error: attempting to evaluate CompositionEvent before UIEvent")}class CompositionEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'CompositionEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'CompositionEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=CompositionEventInit.convert(curArg,{context:"Failed to construct 'CompositionEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initCompositionEvent(typeArg){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'initCompositionEvent' on 'CompositionEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initCompositionEvent' on 'CompositionEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initCompositionEvent' on 'CompositionEvent': parameter 2"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initCompositionEvent' on 'CompositionEvent': parameter 3"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=utils.tryImplForWrapper(curArg)}}else{curArg=null}args.push(curArg)}{let curArg=arguments[4];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initCompositionEvent' on 'CompositionEvent': parameter 5"})}else{curArg=""}args.push(curArg)}return esValue[implSymbol].initCompositionEvent(...args)}get data(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["data"]}}Object.defineProperties(CompositionEvent.prototype,{initCompositionEvent:{enumerable:true},data:{enumerable:true},[Symbol.toStringTag]:{value:"CompositionEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=CompositionEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:CompositionEvent})};const Impl=require("../events/CompositionEvent-impl.js")},{"../events/CompositionEvent-impl.js":365,"./CompositionEventInit.js":407,"./UIEvent.js":572,"./utils.js":584,"webidl-conversions":776}],407:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const UIEventInit=require("./UIEventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{UIEventInit._convertInherit(obj,ret,{context:context});{const key="data";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["DOMString"](value,{context:context+" has member 'data' that"});ret[key]=value}else{ret[key]=""}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./UIEventInit.js":573,"./utils.js":584,"webidl-conversions":776}],408:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ElementDefinitionOptions=require("./ElementDefinitionOptions.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const Node=require("./Node.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="CustomElementRegistry";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'CustomElementRegistry'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["CustomElementRegistry"];if(ctor===undefined){throw new Error("Internal error: constructor CustomElementRegistry is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class CustomElementRegistry{constructor(){throw new TypeError("Illegal constructor")}define(name,constructor){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'define' on 'CustomElementRegistry': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'define' on 'CustomElementRegistry': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=utils.tryImplForWrapper(curArg);args.push(curArg)}{let curArg=arguments[2];curArg=ElementDefinitionOptions.convert(curArg,{context:"Failed to execute 'define' on 'CustomElementRegistry': parameter 3"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].define(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'get' on 'CustomElementRegistry': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'get' on 'CustomElementRegistry': parameter 1"});args.push(curArg)}return esValue[implSymbol].get(...args)}whenDefined(name){try{const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'whenDefined' on 'CustomElementRegistry': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'whenDefined' on 'CustomElementRegistry': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].whenDefined(...args))}catch(e){return Promise.reject(e)}}upgrade(root){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'upgrade' on 'CustomElementRegistry': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'upgrade' on 'CustomElementRegistry': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].upgrade(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(CustomElementRegistry.prototype,{define:{enumerable:true},get:{enumerable:true},whenDefined:{enumerable:true},upgrade:{enumerable:true},[Symbol.toStringTag]:{value:"CustomElementRegistry",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=CustomElementRegistry;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:CustomElementRegistry})};const Impl=require("../custom-elements/CustomElementRegistry-impl.js")},{"../custom-elements/CustomElementRegistry-impl.js":358,"../helpers/custom-elements.js":588,"./ElementDefinitionOptions.js":420,"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],409:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const CustomEventInit=require("./CustomEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="CustomEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'CustomEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["CustomEvent"];if(ctor===undefined){throw new Error("Internal error: constructor CustomEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate CustomEvent before Event")}class CustomEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'CustomEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'CustomEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=CustomEventInit.convert(curArg,{context:"Failed to construct 'CustomEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initCustomEvent(type){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'initCustomEvent' on 'CustomEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initCustomEvent' on 'CustomEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initCustomEvent' on 'CustomEvent': parameter 2"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initCustomEvent' on 'CustomEvent': parameter 3"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){curArg=conversions["any"](curArg,{context:"Failed to execute 'initCustomEvent' on 'CustomEvent': parameter 4"})}else{curArg=null}args.push(curArg)}return esValue[implSymbol].initCustomEvent(...args)}get detail(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["detail"]}}Object.defineProperties(CustomEvent.prototype,{initCustomEvent:{enumerable:true},detail:{enumerable:true},[Symbol.toStringTag]:{value:"CustomEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=CustomEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:CustomEvent})};const Impl=require("../events/CustomEvent-impl.js")},{"../events/CustomEvent-impl.js":366,"./CustomEventInit.js":410,"./Event.js":424,"./utils.js":584,"webidl-conversions":776}],410:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="detail";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["any"](value,{context:context+" has member 'detail' that"});ret[key]=value}else{ret[key]=null}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],411:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const DocumentType=require("./DocumentType.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="DOMImplementation";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'DOMImplementation'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["DOMImplementation"];if(ctor===undefined){throw new Error("Internal error: constructor DOMImplementation is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class DOMImplementation{constructor(){throw new TypeError("Illegal constructor")}createDocumentType(qualifiedName,publicId,systemId){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<3){throw new TypeError("Failed to execute 'createDocumentType' on 'DOMImplementation': 3 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createDocumentType' on 'DOMImplementation': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createDocumentType' on 'DOMImplementation': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createDocumentType' on 'DOMImplementation': parameter 3"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createDocumentType(...args))}createDocument(namespace,qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'createDocument' on 'DOMImplementation': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createDocument' on 'DOMImplementation': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createDocument' on 'DOMImplementation': parameter 2",treatNullAsEmptyString:true});args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=DocumentType.convert(curArg,{context:"Failed to execute 'createDocument' on 'DOMImplementation': parameter 3"})}}else{curArg=null}args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createDocument(...args))}createHTMLDocument(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createHTMLDocument' on 'DOMImplementation': parameter 1"})}args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createHTMLDocument(...args))}hasFeature(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].hasFeature()}}Object.defineProperties(DOMImplementation.prototype,{createDocumentType:{enumerable:true},createDocument:{enumerable:true},createHTMLDocument:{enumerable:true},hasFeature:{enumerable:true},[Symbol.toStringTag]:{value:"DOMImplementation",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=DOMImplementation;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:DOMImplementation})};const Impl=require("../nodes/DOMImplementation-impl.js")},{"../nodes/DOMImplementation-impl.js":637,"./DocumentType.js":417,"./utils.js":584,"webidl-conversions":776}],412:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const SupportedType=require("./SupportedType.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="DOMParser";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'DOMParser'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["DOMParser"];if(ctor===undefined){throw new Error("Internal error: constructor DOMParser is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class DOMParser{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,undefined)}parseFromString(str,type){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'parseFromString' on 'DOMParser': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'parseFromString' on 'DOMParser': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=SupportedType.convert(curArg,{context:"Failed to execute 'parseFromString' on 'DOMParser': parameter 2"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].parseFromString(...args))}}Object.defineProperties(DOMParser.prototype,{parseFromString:{enumerable:true},[Symbol.toStringTag]:{value:"DOMParser",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=DOMParser;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:DOMParser})};const Impl=require("../domparsing/DOMParser-impl.js")},{"../domparsing/DOMParser-impl.js":360,"./SupportedType.js":566,"./utils.js":584,"webidl-conversions":776}],413:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="DOMStringMap";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'DOMStringMap'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["DOMStringMap"];if(ctor===undefined){throw new Error("Internal error: constructor DOMStringMap is not installed on the passed global object")}return Object.create(ctor.prototype)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);if(proxyHandler===undefined){proxyHandler=new ProxyHandler(globalObject);proxyHandlerCache.set(globalObject,proxyHandler)}return new Proxy(wrapper,proxyHandler)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=makeProxy(wrapper,globalObject);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=makeProxy(wrapper,globalObject);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class DOMStringMap{constructor(){throw new TypeError("Illegal constructor")}}Object.defineProperties(DOMStringMap.prototype,{[Symbol.toStringTag]:{value:"DOMStringMap",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=DOMStringMap;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:DOMStringMap})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])}has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyNames]){if(!utils.hasOwn(target,key)){keys.add(`${key}`)}}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]}getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;const namedValue=target[implSymbol][utils.namedGet](P);if(namedValue!==undefined&&!utils.hasOwn(target,P)&&!ignoreNamedProps){return{writable:true,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(namedValue)}}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){const globalObject=this._globalObject;if(typeof P==="string"&&!utils.isArrayIndexPropName(P)){let namedValue=V;namedValue=conversions["DOMString"](namedValue,{context:"Failed to set the '"+P+"' property on 'DOMStringMap': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const creating=!(target[implSymbol][utils.namedGet](P)!==undefined);if(creating){target[implSymbol][utils.namedSetNew](P,namedValue)}else{target[implSymbol][utils.namedSetExisting](P,namedValue)}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return true}}let ownDesc;if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}const globalObject=this._globalObject;if(desc.get||desc.set){return false}let namedValue=desc.value;namedValue=conversions["DOMString"](namedValue,{context:"Failed to set the '"+P+"' property on 'DOMStringMap': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const creating=!(target[implSymbol][utils.namedGet](P)!==undefined);if(creating){target[implSymbol][utils.namedSetNew](P,namedValue)}else{target[implSymbol][utils.namedSetExisting](P,namedValue)}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return true}deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}const globalObject=this._globalObject;if(target[implSymbol][utils.namedGet](P)!==undefined&&!utils.hasOwn(target,P)){ceReactionsPreSteps_helpers_custom_elements(globalObject);try{target[implSymbol][utils.namedDelete](P);return true}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}return Reflect.deleteProperty(target,P)}preventExtensions(){return false}}const Impl=require("../nodes/DOMStringMap-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/DOMStringMap-impl.js":638,"./utils.js":584,"webidl-conversions":776}],414:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="DOMTokenList";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'DOMTokenList'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["DOMTokenList"];if(ctor===undefined){throw new Error("Internal error: constructor DOMTokenList is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class DOMTokenList{constructor(){throw new TypeError("Illegal constructor")}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'DOMTokenList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'DOMTokenList': parameter 1"});args.push(curArg)}return esValue[implSymbol].item(...args)}contains(token){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'contains' on 'DOMTokenList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'contains' on 'DOMTokenList': parameter 1"});args.push(curArg)}return esValue[implSymbol].contains(...args)}add(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'add' on 'DOMTokenList': parameter "+(i+1)});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].add(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'remove' on 'DOMTokenList': parameter "+(i+1)});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toggle(token){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'toggle' on 'DOMTokenList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'toggle' on 'DOMTokenList': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'toggle' on 'DOMTokenList': parameter 2"})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].toggle(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replace(token,newToken){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'replace' on 'DOMTokenList': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'replace' on 'DOMTokenList': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'replace' on 'DOMTokenList': parameter 2"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replace(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}supports(token){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'supports' on 'DOMTokenList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'supports' on 'DOMTokenList': parameter 1"});args.push(curArg)}return esValue[implSymbol].supports(...args)}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["value"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'DOMTokenList': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["value"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toString(){const esValue=this;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["value"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(DOMTokenList.prototype,{item:{enumerable:true},contains:{enumerable:true},add:{enumerable:true},remove:{enumerable:true},toggle:{enumerable:true},replace:{enumerable:true},supports:{enumerable:true},length:{enumerable:true},value:{enumerable:true},toString:{enumerable:true},[Symbol.toStringTag]:{value:"DOMTokenList",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true},keys:{value:Array.prototype.keys,configurable:true,enumerable:true,writable:true},values:{value:Array.prototype[Symbol.iterator],configurable:true,enumerable:true,writable:true},entries:{value:Array.prototype.entries,configurable:true,enumerable:true,writable:true},forEach:{value:Array.prototype.forEach,configurable:true,enumerable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=DOMTokenList;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:DOMTokenList})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){return false}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../nodes/DOMTokenList-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/DOMTokenList-impl.js":639,"./utils.js":584,"webidl-conversions":776}],415:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ElementCreationOptions=require("./ElementCreationOptions.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const Node=require("./Node.js");const NodeFilter=require("./NodeFilter.js");const HTMLElement=require("./HTMLElement.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Document";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Document'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Document"];if(ctor===undefined){throw new Error("Internal error: constructor Document is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject);Object.defineProperties(wrapper,Object.getOwnPropertyDescriptors({get location(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["location"])},set location(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const Q=esValue["location"];if(!utils.isObject(Q)){throw new TypeError("Property 'location' is not an object")}Reflect.set(Q,"href",V)}}));Object.defineProperties(wrapper,{location:{configurable:false}})};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Node===undefined){throw new Error("Internal error: attempting to evaluate Document before Node")}class Document extends globalObject.Node{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,undefined)}getElementsByTagName(qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getElementsByTagName' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementsByTagName' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagName(...args))}getElementsByTagNameNS(namespace,localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'getElementsByTagNameNS' on 'Document': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementsByTagNameNS' on 'Document': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementsByTagNameNS' on 'Document': parameter 2"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagNameNS(...args))}getElementsByClassName(classNames){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getElementsByClassName' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementsByClassName' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByClassName(...args))}createElement(localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'createElement' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createElement' on 'Document': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=ElementCreationOptions.convert(curArg,{context:"Failed to execute 'createElement' on 'Document': parameter 2"})}else if(utils.isObject(curArg)){curArg=ElementCreationOptions.convert(curArg,{context:"Failed to execute 'createElement' on 'Document': parameter 2"+" dictionary"})}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createElement' on 'Document': parameter 2"})}}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].createElement(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createElementNS(namespace,qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'createElementNS' on 'Document': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 2"});args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=ElementCreationOptions.convert(curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 3"})}else if(utils.isObject(curArg)){curArg=ElementCreationOptions.convert(curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 3"+" dictionary"})}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createElementNS' on 'Document': parameter 3"})}}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].createElementNS(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createDocumentFragment(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].createDocumentFragment())}createTextNode(data){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'createTextNode' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createTextNode' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createTextNode(...args))}createCDATASection(data){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'createCDATASection' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createCDATASection' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createCDATASection(...args))}createComment(data){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'createComment' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createComment' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createComment(...args))}createProcessingInstruction(target,data){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'createProcessingInstruction' on 'Document': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createProcessingInstruction' on 'Document': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createProcessingInstruction' on 'Document': parameter 2"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createProcessingInstruction(...args))}importNode(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'importNode' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'importNode' on 'Document': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'importNode' on 'Document': parameter 2"})}else{curArg=false}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].importNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}adoptNode(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'adoptNode' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'adoptNode' on 'Document': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].adoptNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createAttribute(localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'createAttribute' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createAttribute' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createAttribute(...args))}createAttributeNS(namespace,qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'createAttributeNS' on 'Document': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createAttributeNS' on 'Document': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createAttributeNS' on 'Document': parameter 2"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createAttributeNS(...args))}createEvent(interface_){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'createEvent' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createEvent' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createEvent(...args))}createRange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].createRange())}createNodeIterator(root){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'createNodeIterator' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'createNodeIterator' on 'Document': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'createNodeIterator' on 'Document': parameter 2"})}else{curArg=4294967295}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=NodeFilter.convert(curArg,{context:"Failed to execute 'createNodeIterator' on 'Document': parameter 3"})}}else{curArg=null}args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createNodeIterator(...args))}createTreeWalker(root){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'createTreeWalker' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'createTreeWalker' on 'Document': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'createTreeWalker' on 'Document': parameter 2"})}else{curArg=4294967295}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=NodeFilter.convert(curArg,{context:"Failed to execute 'createTreeWalker' on 'Document': parameter 3"})}}else{curArg=null}args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].createTreeWalker(...args))}getElementsByName(elementName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getElementsByName' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementsByName' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByName(...args))}open(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'open' on 'Document': parameter 1"})}else{curArg="text/html"}args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'open' on 'Document': parameter 2"})}else{curArg=""}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].open(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}close(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].close()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}write(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'write' on 'Document': parameter "+(i+1)});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].write(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}writeln(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'writeln' on 'Document': parameter "+(i+1)});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].writeln(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}hasFocus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].hasFocus()}clear(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].clear()}captureEvents(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].captureEvents()}releaseEvents(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].releaseEvents()}getSelection(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].getSelection())}getElementById(elementId){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getElementById' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementById' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementById(...args))}prepend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'prepend' on 'Document': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].prepend(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}append(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'append' on 'Document': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].append(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}querySelector(selectors){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'querySelector' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'querySelector' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelector(...args))}querySelectorAll(selectors){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'querySelectorAll' on 'Document': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'querySelectorAll' on 'Document': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelectorAll(...args))}get implementation(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"implementation",()=>utils.tryWrapperForImpl(esValue[implSymbol]["implementation"]))}get URL(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["URL"]}get documentURI(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["documentURI"]}get compatMode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["compatMode"]}get characterSet(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["characterSet"]}get charset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["charset"]}get inputEncoding(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["inputEncoding"]}get contentType(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["contentType"]}get doctype(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["doctype"])}get documentElement(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["documentElement"])}get referrer(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["referrer"]}get cookie(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["cookie"]}set cookie(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'cookie' property on 'Document': The provided value"});esValue[implSymbol]["cookie"]=V}get lastModified(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["lastModified"]}get readyState(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["readyState"])}get title(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["title"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set title(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'title' property on 'Document': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["title"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get dir(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["dir"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dir(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'dir' property on 'Document': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["dir"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get body(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol]["body"])}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set body(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=HTMLElement.convert(V,{context:"Failed to set the 'body' property on 'Document': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["body"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get head(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["head"])}get images(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"images",()=>utils.tryWrapperForImpl(esValue[implSymbol]["images"]))}get embeds(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"embeds",()=>utils.tryWrapperForImpl(esValue[implSymbol]["embeds"]))}get plugins(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"plugins",()=>utils.tryWrapperForImpl(esValue[implSymbol]["plugins"]))}get links(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"links",()=>utils.tryWrapperForImpl(esValue[implSymbol]["links"]))}get forms(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"forms",()=>utils.tryWrapperForImpl(esValue[implSymbol]["forms"]))}get scripts(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"scripts",()=>utils.tryWrapperForImpl(esValue[implSymbol]["scripts"]))}get currentScript(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["currentScript"])}get defaultView(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["defaultView"])}get onreadystatechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}return utils.tryWrapperForImpl(esValue[implSymbol]["onreadystatechange"])}set onreadystatechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onreadystatechange"]=V}get anchors(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"anchors",()=>utils.tryWrapperForImpl(esValue[implSymbol]["anchors"]))}get applets(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"applets",()=>utils.tryWrapperForImpl(esValue[implSymbol]["applets"]))}get styleSheets(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"styleSheets",()=>utils.tryWrapperForImpl(esValue[implSymbol]["styleSheets"]))}get hidden(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["hidden"]}get visibilityState(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["visibilityState"])}get onvisibilitychange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onvisibilitychange"])}set onvisibilitychange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onvisibilitychange"]=V}get onabort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onabort"])}set onabort(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onabort"]=V}get onauxclick(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onauxclick"])}set onauxclick(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onauxclick"]=V}get onblur(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onblur"])}set onblur(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onblur"]=V}get oncancel(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncancel"])}set oncancel(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncancel"]=V}get oncanplay(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncanplay"])}set oncanplay(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncanplay"]=V}get oncanplaythrough(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncanplaythrough"])}set oncanplaythrough(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncanplaythrough"]=V}get onchange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onchange"])}set onchange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onchange"]=V}get onclick(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onclick"])}set onclick(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onclick"]=V}get onclose(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onclose"])}set onclose(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onclose"]=V}get oncontextmenu(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncontextmenu"])}set oncontextmenu(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncontextmenu"]=V}get oncuechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncuechange"])}set oncuechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncuechange"]=V}get ondblclick(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondblclick"])}set ondblclick(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondblclick"]=V}get ondrag(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondrag"])}set ondrag(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondrag"]=V}get ondragend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragend"])}set ondragend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragend"]=V}get ondragenter(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragenter"])}set ondragenter(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragenter"]=V}get ondragexit(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragexit"])}set ondragexit(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragexit"]=V}get ondragleave(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragleave"])}set ondragleave(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragleave"]=V}get ondragover(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragover"])}set ondragover(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragover"]=V}get ondragstart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragstart"])}set ondragstart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragstart"]=V}get ondrop(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondrop"])}set ondrop(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondrop"]=V}get ondurationchange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondurationchange"])}set ondurationchange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondurationchange"]=V}get onemptied(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onemptied"])}set onemptied(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onemptied"]=V}get onended(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onended"])}set onended(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onended"]=V}get onerror(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onerror"])}set onerror(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onerror"]=V}get onfocus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onfocus"])}set onfocus(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onfocus"]=V}get oninput(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oninput"])}set oninput(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oninput"]=V}get oninvalid(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oninvalid"])}set oninvalid(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oninvalid"]=V}get onkeydown(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onkeydown"])}set onkeydown(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onkeydown"]=V}get onkeypress(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onkeypress"])}set onkeypress(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onkeypress"]=V}get onkeyup(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onkeyup"])}set onkeyup(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onkeyup"]=V}get onload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onload"])}set onload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onload"]=V}get onloadeddata(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadeddata"])}set onloadeddata(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadeddata"]=V}get onloadedmetadata(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadedmetadata"])}set onloadedmetadata(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadedmetadata"]=V}get onloadend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadend"])}set onloadend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadend"]=V}get onloadstart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadstart"])}set onloadstart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadstart"]=V}get onmousedown(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmousedown"])}set onmousedown(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmousedown"]=V}get onmouseenter(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseenter"])}set onmouseenter(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseenter"]=V}get onmouseleave(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseleave"])}set onmouseleave(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseleave"]=V}get onmousemove(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmousemove"])}set onmousemove(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmousemove"]=V}get onmouseout(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseout"])}set onmouseout(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseout"]=V}get onmouseover(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseover"])}set onmouseover(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseover"]=V}get onmouseup(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseup"])}set onmouseup(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseup"]=V}get onwheel(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onwheel"])}set onwheel(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onwheel"]=V}get onpause(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpause"])}set onpause(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpause"]=V}get onplay(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onplay"])}set onplay(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onplay"]=V}get onplaying(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onplaying"])}set onplaying(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onplaying"]=V}get onprogress(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onprogress"])}set onprogress(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onprogress"]=V}get onratechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onratechange"])}set onratechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onratechange"]=V}get onreset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onreset"])}set onreset(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onreset"]=V}get onresize(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onresize"])}set onresize(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onresize"]=V}get onscroll(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onscroll"])}set onscroll(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onscroll"]=V}get onsecuritypolicyviolation(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onsecuritypolicyviolation"])}set onsecuritypolicyviolation(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onsecuritypolicyviolation"]=V}get onseeked(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onseeked"])}set onseeked(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onseeked"]=V}get onseeking(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onseeking"])}set onseeking(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onseeking"]=V}get onselect(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onselect"])}set onselect(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onselect"]=V}get onstalled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onstalled"])}set onstalled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onstalled"]=V}get onsubmit(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onsubmit"])}set onsubmit(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onsubmit"]=V}get onsuspend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onsuspend"])}set onsuspend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onsuspend"]=V}get ontimeupdate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ontimeupdate"])}set ontimeupdate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ontimeupdate"]=V}get ontoggle(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ontoggle"])}set ontoggle(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ontoggle"]=V}get onvolumechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onvolumechange"])}set onvolumechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onvolumechange"]=V}get onwaiting(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onwaiting"])}set onwaiting(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onwaiting"]=V}get activeElement(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["activeElement"])}get children(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"children",()=>utils.tryWrapperForImpl(esValue[implSymbol]["children"]))}get firstElementChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["firstElementChild"])}get lastElementChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["lastElementChild"])}get childElementCount(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["childElementCount"]}}Object.defineProperties(Document.prototype,{getElementsByTagName:{enumerable:true},getElementsByTagNameNS:{enumerable:true},getElementsByClassName:{enumerable:true},createElement:{enumerable:true},createElementNS:{enumerable:true},createDocumentFragment:{enumerable:true},createTextNode:{enumerable:true},createCDATASection:{enumerable:true},createComment:{enumerable:true},createProcessingInstruction:{enumerable:true},importNode:{enumerable:true},adoptNode:{enumerable:true},createAttribute:{enumerable:true},createAttributeNS:{enumerable:true},createEvent:{enumerable:true},createRange:{enumerable:true},createNodeIterator:{enumerable:true},createTreeWalker:{enumerable:true},getElementsByName:{enumerable:true},open:{enumerable:true},close:{enumerable:true},write:{enumerable:true},writeln:{enumerable:true},hasFocus:{enumerable:true},clear:{enumerable:true},captureEvents:{enumerable:true},releaseEvents:{enumerable:true},getSelection:{enumerable:true},getElementById:{enumerable:true},prepend:{enumerable:true},append:{enumerable:true},querySelector:{enumerable:true},querySelectorAll:{enumerable:true},implementation:{enumerable:true},URL:{enumerable:true},documentURI:{enumerable:true},compatMode:{enumerable:true},characterSet:{enumerable:true},charset:{enumerable:true},inputEncoding:{enumerable:true},contentType:{enumerable:true},doctype:{enumerable:true},documentElement:{enumerable:true},referrer:{enumerable:true},cookie:{enumerable:true},lastModified:{enumerable:true},readyState:{enumerable:true},title:{enumerable:true},dir:{enumerable:true},body:{enumerable:true},head:{enumerable:true},images:{enumerable:true},embeds:{enumerable:true},plugins:{enumerable:true},links:{enumerable:true},forms:{enumerable:true},scripts:{enumerable:true},currentScript:{enumerable:true},defaultView:{enumerable:true},onreadystatechange:{enumerable:true},anchors:{enumerable:true},applets:{enumerable:true},styleSheets:{enumerable:true},hidden:{enumerable:true},visibilityState:{enumerable:true},onvisibilitychange:{enumerable:true},onabort:{enumerable:true},onauxclick:{enumerable:true},onblur:{enumerable:true},oncancel:{enumerable:true},oncanplay:{enumerable:true},oncanplaythrough:{enumerable:true},onchange:{enumerable:true},onclick:{enumerable:true},onclose:{enumerable:true},oncontextmenu:{enumerable:true},oncuechange:{enumerable:true},ondblclick:{enumerable:true},ondrag:{enumerable:true},ondragend:{enumerable:true},ondragenter:{enumerable:true},ondragexit:{enumerable:true},ondragleave:{enumerable:true},ondragover:{enumerable:true},ondragstart:{enumerable:true},ondrop:{enumerable:true},ondurationchange:{enumerable:true},onemptied:{enumerable:true},onended:{enumerable:true},onerror:{enumerable:true},onfocus:{enumerable:true},oninput:{enumerable:true},oninvalid:{enumerable:true},onkeydown:{enumerable:true},onkeypress:{enumerable:true},onkeyup:{enumerable:true},onload:{enumerable:true},onloadeddata:{enumerable:true},onloadedmetadata:{enumerable:true},onloadend:{enumerable:true},onloadstart:{enumerable:true},onmousedown:{enumerable:true},onmouseenter:{enumerable:true},onmouseleave:{enumerable:true},onmousemove:{enumerable:true},onmouseout:{enumerable:true},onmouseover:{enumerable:true},onmouseup:{enumerable:true},onwheel:{enumerable:true},onpause:{enumerable:true},onplay:{enumerable:true},onplaying:{enumerable:true},onprogress:{enumerable:true},onratechange:{enumerable:true},onreset:{enumerable:true},onresize:{enumerable:true},onscroll:{enumerable:true},onsecuritypolicyviolation:{enumerable:true},onseeked:{enumerable:true},onseeking:{enumerable:true},onselect:{enumerable:true},onstalled:{enumerable:true},onsubmit:{enumerable:true},onsuspend:{enumerable:true},ontimeupdate:{enumerable:true},ontoggle:{enumerable:true},onvolumechange:{enumerable:true},onwaiting:{enumerable:true},activeElement:{enumerable:true},children:{enumerable:true},firstElementChild:{enumerable:true},lastElementChild:{enumerable:true},childElementCount:{enumerable:true},[Symbol.toStringTag]:{value:"Document",configurable:true},[Symbol.unscopables]:{value:{prepend:true,append:true,__proto__:null},configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Document;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Document})};const Impl=require("../nodes/Document-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/Document-impl.js":640,"./ElementCreationOptions.js":419,"./HTMLElement.js":455,"./Node.js":532,"./NodeFilter.js":533,"./utils.js":584,"webidl-conversions":776}],416:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Node=require("./Node.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="DocumentFragment";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'DocumentFragment'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["DocumentFragment"];if(ctor===undefined){throw new Error("Internal error: constructor DocumentFragment is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Node===undefined){throw new Error("Internal error: attempting to evaluate DocumentFragment before Node")}class DocumentFragment extends globalObject.Node{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,undefined)}getElementById(elementId){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getElementById' on 'DocumentFragment': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementById' on 'DocumentFragment': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementById(...args))}prepend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'prepend' on 'DocumentFragment': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].prepend(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}append(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'append' on 'DocumentFragment': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].append(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}querySelector(selectors){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'querySelector' on 'DocumentFragment': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'querySelector' on 'DocumentFragment': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelector(...args))}querySelectorAll(selectors){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'querySelectorAll' on 'DocumentFragment': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'querySelectorAll' on 'DocumentFragment': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelectorAll(...args))}get children(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"children",()=>utils.tryWrapperForImpl(esValue[implSymbol]["children"]))}get firstElementChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["firstElementChild"])}get lastElementChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["lastElementChild"])}get childElementCount(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["childElementCount"]}}Object.defineProperties(DocumentFragment.prototype,{getElementById:{enumerable:true},prepend:{enumerable:true},append:{enumerable:true},querySelector:{enumerable:true},querySelectorAll:{enumerable:true},children:{enumerable:true},firstElementChild:{enumerable:true},lastElementChild:{enumerable:true},childElementCount:{enumerable:true},[Symbol.toStringTag]:{value:"DocumentFragment",configurable:true},[Symbol.unscopables]:{value:{prepend:true,append:true,__proto__:null},configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=DocumentFragment;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:DocumentFragment})};const Impl=require("../nodes/DocumentFragment-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/DocumentFragment-impl.js":641,"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],417:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Node=require("./Node.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="DocumentType";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'DocumentType'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["DocumentType"];if(ctor===undefined){throw new Error("Internal error: constructor DocumentType is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Node===undefined){throw new Error("Internal error: attempting to evaluate DocumentType before Node")}class DocumentType extends globalObject.Node{constructor(){throw new TypeError("Illegal constructor")}before(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'before' on 'DocumentType': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].before(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}after(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'after' on 'DocumentType': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].after(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceWith(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'replaceWith' on 'DocumentType': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replaceWith(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["name"]}get publicId(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["publicId"]}get systemId(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["systemId"]}}Object.defineProperties(DocumentType.prototype,{before:{enumerable:true},after:{enumerable:true},replaceWith:{enumerable:true},remove:{enumerable:true},name:{enumerable:true},publicId:{enumerable:true},systemId:{enumerable:true},[Symbol.toStringTag]:{value:"DocumentType",configurable:true},[Symbol.unscopables]:{value:{before:true,after:true,replaceWith:true,remove:true,__proto__:null},configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=DocumentType;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:DocumentType})};const Impl=require("../nodes/DocumentType-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/DocumentType-impl.js":643,"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],418:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const Attr=require("./Attr.js");const ShadowRootInit=require("./ShadowRootInit.js");const Node=require("./Node.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Element";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Element'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Element"];if(ctor===undefined){throw new Error("Internal error: constructor Element is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Node._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Node===undefined){throw new Error("Internal error: attempting to evaluate Element before Node")}class Element extends globalObject.Node{constructor(){throw new TypeError("Illegal constructor")}hasAttributes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].hasAttributes()}getAttributeNames(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].getAttributeNames())}getAttribute(qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getAttribute' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getAttribute' on 'Element': parameter 1"});args.push(curArg)}return esValue[implSymbol].getAttribute(...args)}getAttributeNS(namespace,localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'getAttributeNS' on 'Element': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getAttributeNS' on 'Element': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getAttributeNS' on 'Element': parameter 2"});args.push(curArg)}return esValue[implSymbol].getAttributeNS(...args)}setAttribute(qualifiedName,value){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'setAttribute' on 'Element': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setAttribute' on 'Element': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setAttribute' on 'Element': parameter 2"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].setAttribute(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}setAttributeNS(namespace,qualifiedName,value){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<3){throw new TypeError("Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setAttributeNS' on 'Element': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setAttributeNS' on 'Element': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setAttributeNS' on 'Element': parameter 3"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].setAttributeNS(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeAttribute(qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'removeAttribute' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'removeAttribute' on 'Element': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].removeAttribute(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeAttributeNS(namespace,localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'removeAttributeNS' on 'Element': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'removeAttributeNS' on 'Element': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'removeAttributeNS' on 'Element': parameter 2"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].removeAttributeNS(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toggleAttribute(qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'toggleAttribute' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'toggleAttribute' on 'Element': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'toggleAttribute' on 'Element': parameter 2"})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].toggleAttribute(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}hasAttribute(qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'hasAttribute' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'hasAttribute' on 'Element': parameter 1"});args.push(curArg)}return esValue[implSymbol].hasAttribute(...args)}hasAttributeNS(namespace,localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'hasAttributeNS' on 'Element': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'hasAttributeNS' on 'Element': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'hasAttributeNS' on 'Element': parameter 2"});args.push(curArg)}return esValue[implSymbol].hasAttributeNS(...args)}getAttributeNode(qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getAttributeNode' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getAttributeNode' on 'Element': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getAttributeNode(...args))}getAttributeNodeNS(namespace,localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'getAttributeNodeNS' on 'Element': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getAttributeNodeNS' on 'Element': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getAttributeNodeNS' on 'Element': parameter 2"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getAttributeNodeNS(...args))}setAttributeNode(attr){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setAttributeNode' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Attr.convert(curArg,{context:"Failed to execute 'setAttributeNode' on 'Element': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].setAttributeNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}setAttributeNodeNS(attr){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setAttributeNodeNS' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Attr.convert(curArg,{context:"Failed to execute 'setAttributeNodeNS' on 'Element': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].setAttributeNodeNS(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeAttributeNode(attr){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'removeAttributeNode' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Attr.convert(curArg,{context:"Failed to execute 'removeAttributeNode' on 'Element': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].removeAttributeNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}attachShadow(init){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'attachShadow' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=ShadowRootInit.convert(curArg,{context:"Failed to execute 'attachShadow' on 'Element': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].attachShadow(...args))}closest(selectors){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'closest' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'closest' on 'Element': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].closest(...args))}matches(selectors){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'matches' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'matches' on 'Element': parameter 1"});args.push(curArg)}return esValue[implSymbol].matches(...args)}webkitMatchesSelector(selectors){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'webkitMatchesSelector' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'webkitMatchesSelector' on 'Element': parameter 1"});args.push(curArg)}return esValue[implSymbol].webkitMatchesSelector(...args)}getElementsByTagName(qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getElementsByTagName' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementsByTagName' on 'Element': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagName(...args))}getElementsByTagNameNS(namespace,localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'getElementsByTagNameNS' on 'Element': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementsByTagNameNS' on 'Element': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementsByTagNameNS' on 'Element': parameter 2"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByTagNameNS(...args))}getElementsByClassName(classNames){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getElementsByClassName' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementsByClassName' on 'Element': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementsByClassName(...args))}insertAdjacentElement(where,element){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'insertAdjacentElement' on 'Element': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'insertAdjacentElement' on 'Element': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=exports.convert(curArg,{context:"Failed to execute 'insertAdjacentElement' on 'Element': parameter 2"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].insertAdjacentElement(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}insertAdjacentText(where,data){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'insertAdjacentText' on 'Element': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'insertAdjacentText' on 'Element': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'insertAdjacentText' on 'Element': parameter 2"});args.push(curArg)}return esValue[implSymbol].insertAdjacentText(...args)}insertAdjacentHTML(position,text){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'insertAdjacentHTML' on 'Element': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'insertAdjacentHTML' on 'Element': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'insertAdjacentHTML' on 'Element': parameter 2"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].insertAdjacentHTML(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}getClientRects(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].getClientRects())}getBoundingClientRect(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].getBoundingClientRect())}before(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'before' on 'Element': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].before(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}after(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'after' on 'Element': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].after(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceWith(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'replaceWith' on 'Element': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].replaceWith(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}prepend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'prepend' on 'Element': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].prepend(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}append(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];for(let i=0;i<arguments.length;i++){let curArg=arguments[i];if(Node.is(curArg)){curArg=utils.implForWrapper(curArg)}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'append' on 'Element': parameter "+(i+1)})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].append(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}querySelector(selectors){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'querySelector' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'querySelector' on 'Element': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelector(...args))}querySelectorAll(selectors){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'querySelectorAll' on 'Element': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'querySelectorAll' on 'Element': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].querySelectorAll(...args))}get namespaceURI(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["namespaceURI"]}get prefix(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["prefix"]}get localName(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["localName"]}get tagName(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["tagName"]}get id(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"id");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set id(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'id' property on 'Element': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"id",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get className(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"class");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set className(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'className' property on 'Element': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"class",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get classList(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"classList",()=>utils.tryWrapperForImpl(esValue[implSymbol]["classList"]))}set classList(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const Q=esValue["classList"];if(!utils.isObject(Q)){throw new TypeError("Property 'classList' is not an object")}Reflect.set(Q,"value",V)}get slot(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"slot");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set slot(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'slot' property on 'Element': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"slot",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get attributes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"attributes",()=>utils.tryWrapperForImpl(esValue[implSymbol]["attributes"]))}get shadowRoot(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["shadowRoot"])}get innerHTML(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["innerHTML"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set innerHTML(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'innerHTML' property on 'Element': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["innerHTML"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get outerHTML(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["outerHTML"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set outerHTML(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'outerHTML' property on 'Element': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["outerHTML"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrollTop(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["scrollTop"]}set scrollTop(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unrestricted double"](V,{context:"Failed to set the 'scrollTop' property on 'Element': The provided value"});esValue[implSymbol]["scrollTop"]=V}get scrollLeft(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["scrollLeft"]}set scrollLeft(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unrestricted double"](V,{context:"Failed to set the 'scrollLeft' property on 'Element': The provided value"});esValue[implSymbol]["scrollLeft"]=V}get scrollWidth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["scrollWidth"]}get scrollHeight(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["scrollHeight"]}get clientTop(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["clientTop"]}get clientLeft(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["clientLeft"]}get clientWidth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["clientWidth"]}get clientHeight(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["clientHeight"]}get previousElementSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["previousElementSibling"])}get nextElementSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["nextElementSibling"])}get children(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"children",()=>utils.tryWrapperForImpl(esValue[implSymbol]["children"]))}get firstElementChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["firstElementChild"])}get lastElementChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["lastElementChild"])}get childElementCount(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["childElementCount"]}get assignedSlot(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["assignedSlot"])}}Object.defineProperties(Element.prototype,{hasAttributes:{enumerable:true},getAttributeNames:{enumerable:true},getAttribute:{enumerable:true},getAttributeNS:{enumerable:true},setAttribute:{enumerable:true},setAttributeNS:{enumerable:true},removeAttribute:{enumerable:true},removeAttributeNS:{enumerable:true},toggleAttribute:{enumerable:true},hasAttribute:{enumerable:true},hasAttributeNS:{enumerable:true},getAttributeNode:{enumerable:true},getAttributeNodeNS:{enumerable:true},setAttributeNode:{enumerable:true},setAttributeNodeNS:{enumerable:true},removeAttributeNode:{enumerable:true},attachShadow:{enumerable:true},closest:{enumerable:true},matches:{enumerable:true},webkitMatchesSelector:{enumerable:true},getElementsByTagName:{enumerable:true},getElementsByTagNameNS:{enumerable:true},getElementsByClassName:{enumerable:true},insertAdjacentElement:{enumerable:true},insertAdjacentText:{enumerable:true},insertAdjacentHTML:{enumerable:true},getClientRects:{enumerable:true},getBoundingClientRect:{enumerable:true},before:{enumerable:true},after:{enumerable:true},replaceWith:{enumerable:true},remove:{enumerable:true},prepend:{enumerable:true},append:{enumerable:true},querySelector:{enumerable:true},querySelectorAll:{enumerable:true},namespaceURI:{enumerable:true},prefix:{enumerable:true},localName:{enumerable:true},tagName:{enumerable:true},id:{enumerable:true},className:{enumerable:true},classList:{enumerable:true},slot:{enumerable:true},attributes:{enumerable:true},shadowRoot:{enumerable:true},innerHTML:{enumerable:true},outerHTML:{enumerable:true},scrollTop:{enumerable:true},scrollLeft:{enumerable:true},scrollWidth:{enumerable:true},scrollHeight:{enumerable:true},clientTop:{enumerable:true},clientLeft:{enumerable:true},clientWidth:{enumerable:true},clientHeight:{enumerable:true},previousElementSibling:{enumerable:true},nextElementSibling:{enumerable:true},children:{enumerable:true},firstElementChild:{enumerable:true},lastElementChild:{enumerable:true},childElementCount:{enumerable:true},assignedSlot:{enumerable:true},[Symbol.toStringTag]:{value:"Element",configurable:true},[Symbol.unscopables]:{value:{slot:true,before:true,after:true,replaceWith:true,remove:true,prepend:true,append:true,__proto__:null},configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Element;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Element})};const Impl=require("../nodes/Element-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/Element-impl.js":644,"./Attr.js":396,"./Node.js":532,"./ShadowRootInit.js":558,"./utils.js":584,"webidl-conversions":776}],419:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="is";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["DOMString"](value,{context:context+" has member 'is' that"});ret[key]=value}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./utils.js":584,"webidl-conversions":776}],420:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="extends";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["DOMString"](value,{context:context+" has member 'extends' that"});ret[key]=value}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./utils.js":584,"webidl-conversions":776}],421:[function(require,module,exports){"use strict";const enumerationValues=new Set(["transparent","native"]);exports.enumerationValues=enumerationValues;exports.convert=function convert(value,{context:context="The provided value"}={}){const string=`${value}`;if(!enumerationValues.has(string)){throw new TypeError(`${context} '${string}' is not a valid enumeration value for EndingType`)}return string}},{}],422:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ErrorEventInit=require("./ErrorEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="ErrorEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'ErrorEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["ErrorEvent"];if(ctor===undefined){throw new Error("Internal error: constructor ErrorEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate ErrorEvent before Event")}class ErrorEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'ErrorEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'ErrorEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=ErrorEventInit.convert(curArg,{context:"Failed to construct 'ErrorEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get message(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["message"]}get filename(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["filename"]}get lineno(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["lineno"]}get colno(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["colno"]}get error(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["error"]}}Object.defineProperties(ErrorEvent.prototype,{message:{enumerable:true},filename:{enumerable:true},lineno:{enumerable:true},colno:{enumerable:true},error:{enumerable:true},[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=ErrorEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:ErrorEvent})};const Impl=require("../events/ErrorEvent-impl.js")},{"../events/ErrorEvent-impl.js":367,"./ErrorEventInit.js":423,"./Event.js":424,"./utils.js":584,"webidl-conversions":776}],423:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="colno";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long"](value,{context:context+" has member 'colno' that"});ret[key]=value}else{ret[key]=0}}{const key="error";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["any"](value,{context:context+" has member 'error' that"});ret[key]=value}else{ret[key]=null}}{const key="filename";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["USVString"](value,{context:context+" has member 'filename' that"});ret[key]=value}else{ret[key]=""}}{const key="lineno";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long"](value,{context:context+" has member 'lineno' that"});ret[key]=value}else{ret[key]=0}}{const key="message";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["DOMString"](value,{context:context+" has member 'message' that"});ret[key]=value}else{ret[key]=""}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],424:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Event";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Event'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Event"];if(ctor===undefined){throw new Error("Internal error: constructor Event is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Object.defineProperties(wrapper,Object.getOwnPropertyDescriptors({get isTrusted(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["isTrusted"]}}));Object.defineProperties(wrapper,{isTrusted:{configurable:false}})};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker","AudioWorklet"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'Event': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'Event': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=EventInit.convert(curArg,{context:"Failed to construct 'Event': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}composedPath(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].composedPath())}stopPropagation(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].stopPropagation()}stopImmediatePropagation(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].stopImmediatePropagation()}preventDefault(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].preventDefault()}initEvent(type){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'initEvent' on 'Event': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initEvent' on 'Event': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initEvent' on 'Event': parameter 2"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initEvent' on 'Event': parameter 3"})}else{curArg=false}args.push(curArg)}return esValue[implSymbol].initEvent(...args)}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["type"]}get target(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["target"])}get srcElement(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["srcElement"])}get currentTarget(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["currentTarget"])}get eventPhase(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["eventPhase"]}get cancelBubble(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["cancelBubble"]}set cancelBubble(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'cancelBubble' property on 'Event': The provided value"});esValue[implSymbol]["cancelBubble"]=V}get bubbles(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["bubbles"]}get cancelable(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["cancelable"]}get returnValue(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["returnValue"]}set returnValue(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'returnValue' property on 'Event': The provided value"});esValue[implSymbol]["returnValue"]=V}get defaultPrevented(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["defaultPrevented"]}get composed(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["composed"]}get timeStamp(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["timeStamp"]}}Object.defineProperties(Event.prototype,{composedPath:{enumerable:true},stopPropagation:{enumerable:true},stopImmediatePropagation:{enumerable:true},preventDefault:{enumerable:true},initEvent:{enumerable:true},type:{enumerable:true},target:{enumerable:true},srcElement:{enumerable:true},currentTarget:{enumerable:true},eventPhase:{enumerable:true},cancelBubble:{enumerable:true},bubbles:{enumerable:true},cancelable:{enumerable:true},returnValue:{enumerable:true},defaultPrevented:{enumerable:true},composed:{enumerable:true},timeStamp:{enumerable:true},[Symbol.toStringTag]:{value:"Event",configurable:true},NONE:{value:0,enumerable:true},CAPTURING_PHASE:{value:1,enumerable:true},AT_TARGET:{value:2,enumerable:true},BUBBLING_PHASE:{value:3,enumerable:true}});Object.defineProperties(Event,{NONE:{value:0,enumerable:true},CAPTURING_PHASE:{value:1,enumerable:true},AT_TARGET:{value:2,enumerable:true},BUBBLING_PHASE:{value:3,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Event;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Event})};const Impl=require("../events/Event-impl.js")},{"../events/Event-impl.js":368,"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],425:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="bubbles";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'bubbles' that"});ret[key]=value}else{ret[key]=false}}{const key="cancelable";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'cancelable' that"});ret[key]=value}else{ret[key]=false}}{const key="composed";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'composed' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./utils.js":584,"webidl-conversions":776}],426:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");exports.convert=function convert(value,{context:context="The provided value"}={}){if(!utils.isObject(value)){throw new TypeError(`${context} is not an object.`)}function callTheUserObjectsOperation(event){let thisArg=utils.tryWrapperForImpl(this);let O=value;let X=O;if(typeof O!=="function"){X=O["handleEvent"];if(typeof X!=="function"){throw new TypeError(`${context} does not correctly implement EventListener.`)}thisArg=O}event=utils.tryWrapperForImpl(event);let callResult=Reflect.apply(X,thisArg,[event])}callTheUserObjectsOperation[utils.wrapperSymbol]=value;callTheUserObjectsOperation.objectReference=value;return callTheUserObjectsOperation};exports.install=(globalObject,globalNames)=>{}},{"./utils.js":584,"webidl-conversions":776}],427:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="capture";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'capture' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./utils.js":584,"webidl-conversions":776}],428:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const UIEventInit=require("./UIEventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{UIEventInit._convertInherit(obj,ret,{context:context});{const key="altKey";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'altKey' that"});ret[key]=value}else{ret[key]=false}}{const key="ctrlKey";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'ctrlKey' that"});ret[key]=value}else{ret[key]=false}}{const key="metaKey";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'metaKey' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierAltGraph";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierAltGraph' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierCapsLock";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierCapsLock' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierFn";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierFn' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierFnLock";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierFnLock' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierHyper";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierHyper' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierNumLock";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierNumLock' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierScrollLock";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierScrollLock' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierSuper";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierSuper' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierSymbol";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierSymbol' that"});ret[key]=value}else{ret[key]=false}}{const key="modifierSymbolLock";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'modifierSymbolLock' that"});ret[key]=value}else{ret[key]=false}}{const key="shiftKey";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'shiftKey' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./UIEventInit.js":573,"./utils.js":584,"webidl-conversions":776}],429:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventListener=require("./EventListener.js");const AddEventListenerOptions=require("./AddEventListenerOptions.js");const EventListenerOptions=require("./EventListenerOptions.js");const Event=require("./Event.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="EventTarget";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'EventTarget'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["EventTarget"];if(ctor===undefined){throw new Error("Internal error: constructor EventTarget is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker","AudioWorklet"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class EventTarget{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,undefined)}addEventListener(type,callback){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'addEventListener' on 'EventTarget': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg===null||curArg===undefined){curArg=null}else{curArg=EventListener.convert(curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 2"})}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=AddEventListenerOptions.convert(curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 3"})}else if(utils.isObject(curArg)){curArg=AddEventListenerOptions.convert(curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 3"+" dictionary"})}else if(typeof curArg==="boolean"){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 3"})}else{curArg=conversions["boolean"](curArg,{context:"Failed to execute 'addEventListener' on 'EventTarget': parameter 3"})}}args.push(curArg)}return esValue[implSymbol].addEventListener(...args)}removeEventListener(type,callback){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'removeEventListener' on 'EventTarget': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg===null||curArg===undefined){curArg=null}else{curArg=EventListener.convert(curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 2"})}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=EventListenerOptions.convert(curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 3"})}else if(utils.isObject(curArg)){curArg=EventListenerOptions.convert(curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 3"+" dictionary"})}else if(typeof curArg==="boolean"){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 3"})}else{curArg=conversions["boolean"](curArg,{context:"Failed to execute 'removeEventListener' on 'EventTarget': parameter 3"})}}args.push(curArg)}return esValue[implSymbol].removeEventListener(...args)}dispatchEvent(event){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'dispatchEvent' on 'EventTarget': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Event.convert(curArg,{context:"Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1"});args.push(curArg)}return esValue[implSymbol].dispatchEvent(...args)}}Object.defineProperties(EventTarget.prototype,{addEventListener:{enumerable:true},removeEventListener:{enumerable:true},dispatchEvent:{enumerable:true},[Symbol.toStringTag]:{value:"EventTarget",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=EventTarget;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:EventTarget})};const Impl=require("../events/EventTarget-impl.js")},{"../events/EventTarget-impl.js":370,"./AddEventListenerOptions.js":394,"./Event.js":424,"./EventListener.js":426,"./EventListenerOptions.js":427,"./utils.js":584,"webidl-conversions":776}],430:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="External";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'External'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["External"];if(ctor===undefined){throw new Error("Internal error: constructor External is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class External{constructor(){throw new TypeError("Illegal constructor")}AddSearchProvider(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].AddSearchProvider()}IsSearchProviderInstalled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].IsSearchProviderInstalled()}}Object.defineProperties(External.prototype,{AddSearchProvider:{enumerable:true},IsSearchProviderInstalled:{enumerable:true},[Symbol.toStringTag]:{value:"External",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=External;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:External})};const Impl=require("../window/External-impl.js")},{"../window/External-impl.js":754,"./utils.js":584,"webidl-conversions":776}],431:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Blob=require("./Blob.js");const FilePropertyBag=require("./FilePropertyBag.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="File";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'File'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["File"];if(ctor===undefined){throw new Error("Internal error: constructor File is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Blob._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Blob===undefined){throw new Error("Internal error: attempting to evaluate File before Blob")}class File extends globalObject.Blob{constructor(fileBits,fileName){if(arguments.length<2){throw new TypeError("Failed to construct 'File': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(!utils.isObject(curArg)){throw new TypeError("Failed to construct 'File': parameter 1"+" is not an iterable object.")}else{const V=[];const tmp=curArg;for(let nextItem of tmp){if(Blob.is(nextItem)){nextItem=utils.implForWrapper(nextItem)}else if(utils.isArrayBuffer(nextItem)){}else if(ArrayBuffer.isView(nextItem)){}else{nextItem=conversions["USVString"](nextItem,{context:"Failed to construct 'File': parameter 1"+"'s element"})}V.push(nextItem)}curArg=V}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["USVString"](curArg,{context:"Failed to construct 'File': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=FilePropertyBag.convert(curArg,{context:"Failed to construct 'File': parameter 3"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["name"]}get lastModified(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["lastModified"]}}Object.defineProperties(File.prototype,{name:{enumerable:true},lastModified:{enumerable:true},[Symbol.toStringTag]:{value:"File",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=File;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:File})};const Impl=require("../file-api/File-impl.js")},{"../file-api/File-impl.js":388,"./Blob.js":399,"./FilePropertyBag.js":433,"./utils.js":584,"webidl-conversions":776}],432:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="FileList";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'FileList'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["FileList"];if(ctor===undefined){throw new Error("Internal error: constructor FileList is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class FileList{constructor(){throw new TypeError("Illegal constructor")}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'FileList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'FileList': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(FileList.prototype,{item:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"FileList",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=FileList;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:FileList})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){return false}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../file-api/FileList-impl.js")},{"../file-api/FileList-impl.js":389,"./utils.js":584,"webidl-conversions":776}],433:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const BlobPropertyBag=require("./BlobPropertyBag.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{BlobPropertyBag._convertInherit(obj,ret,{context:context});{const key="lastModified";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["long long"](value,{context:context+" has member 'lastModified' that"});ret[key]=value}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./BlobPropertyBag.js":400,"./utils.js":584,"webidl-conversions":776}],434:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Blob=require("./Blob.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const EventTarget=require("./EventTarget.js");const interfaceName="FileReader";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'FileReader'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["FileReader"];if(ctor===undefined){throw new Error("Internal error: constructor FileReader is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.EventTarget===undefined){throw new Error("Internal error: attempting to evaluate FileReader before EventTarget")}class FileReader extends globalObject.EventTarget{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,undefined)}readAsArrayBuffer(blob){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'readAsArrayBuffer' on 'FileReader': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Blob.convert(curArg,{context:"Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1"});args.push(curArg)}return esValue[implSymbol].readAsArrayBuffer(...args)}readAsBinaryString(blob){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'readAsBinaryString' on 'FileReader': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Blob.convert(curArg,{context:"Failed to execute 'readAsBinaryString' on 'FileReader': parameter 1"});args.push(curArg)}return esValue[implSymbol].readAsBinaryString(...args)}readAsText(blob){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'readAsText' on 'FileReader': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Blob.convert(curArg,{context:"Failed to execute 'readAsText' on 'FileReader': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'readAsText' on 'FileReader': parameter 2"})}args.push(curArg)}return esValue[implSymbol].readAsText(...args)}readAsDataURL(blob){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'readAsDataURL' on 'FileReader': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Blob.convert(curArg,{context:"Failed to execute 'readAsDataURL' on 'FileReader': parameter 1"});args.push(curArg)}return esValue[implSymbol].readAsDataURL(...args)}abort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].abort()}get readyState(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["readyState"]}get result(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["result"])}get error(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["error"])}get onloadstart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadstart"])}set onloadstart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadstart"]=V}get onprogress(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onprogress"])}set onprogress(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onprogress"]=V}get onload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onload"])}set onload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onload"]=V}get onabort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onabort"])}set onabort(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onabort"]=V}get onerror(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onerror"])}set onerror(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onerror"]=V}get onloadend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadend"])}set onloadend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadend"]=V}}Object.defineProperties(FileReader.prototype,{readAsArrayBuffer:{enumerable:true},readAsBinaryString:{enumerable:true},readAsText:{enumerable:true},readAsDataURL:{enumerable:true},abort:{enumerable:true},readyState:{enumerable:true},result:{enumerable:true},error:{enumerable:true},onloadstart:{enumerable:true},onprogress:{enumerable:true},onload:{enumerable:true},onabort:{enumerable:true},onerror:{enumerable:true},onloadend:{enumerable:true},[Symbol.toStringTag]:{value:"FileReader",configurable:true},EMPTY:{value:0,enumerable:true},LOADING:{value:1,enumerable:true},DONE:{value:2,enumerable:true}});Object.defineProperties(FileReader,{EMPTY:{value:0,enumerable:true},LOADING:{value:1,enumerable:true},DONE:{value:2,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=FileReader;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:FileReader})};const Impl=require("../file-api/FileReader-impl.js")},{"../file-api/FileReader-impl.js":390,"./Blob.js":399,"./EventTarget.js":429,"./utils.js":584,"webidl-conversions":776}],435:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const FocusEventInit=require("./FocusEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const UIEvent=require("./UIEvent.js");const interfaceName="FocusEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'FocusEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["FocusEvent"];if(ctor===undefined){throw new Error("Internal error: constructor FocusEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.UIEvent===undefined){throw new Error("Internal error: attempting to evaluate FocusEvent before UIEvent")}class FocusEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'FocusEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'FocusEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=FocusEventInit.convert(curArg,{context:"Failed to construct 'FocusEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get relatedTarget(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["relatedTarget"])}}Object.defineProperties(FocusEvent.prototype,{relatedTarget:{enumerable:true},[Symbol.toStringTag]:{value:"FocusEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=FocusEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:FocusEvent})};const Impl=require("../events/FocusEvent-impl.js")},{"../events/FocusEvent-impl.js":371,"./FocusEventInit.js":436,"./UIEvent.js":572,"./utils.js":584,"webidl-conversions":776}],436:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventTarget=require("./EventTarget.js");const UIEventInit=require("./UIEventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{UIEventInit._convertInherit(obj,ret,{context:context});{const key="relatedTarget";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(value===null||value===undefined){value=null}else{value=EventTarget.convert(value,{context:context+" has member 'relatedTarget' that"})}ret[key]=value}else{ret[key]=null}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventTarget.js":429,"./UIEventInit.js":573,"./utils.js":584,"webidl-conversions":776}],437:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLFormElement=require("./HTMLFormElement.js");const Blob=require("./Blob.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="FormData";const IteratorPrototype=Object.create(utils.IteratorPrototype,{next:{value:function next(){const internal=this[utils.iterInternalSymbol];const{target:target,kind:kind,index:index}=internal;const values=Array.from(target[implSymbol]);const len=values.length;if(index>=len){return{value:undefined,done:true}}const pair=values[index];internal.index=index+1;const[key,value]=pair.map(utils.tryWrapperForImpl);let result;switch(kind){case"key":result=key;break;case"value":result=value;break;case"key+value":result=[key,value];break}return{value:result,done:false}},writable:true,enumerable:true,configurable:true},[Symbol.toStringTag]:{value:"FormData Iterator",configurable:true}});exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'FormData'.`)};exports.createDefaultIterator=(target,kind)=>{const iterator=Object.create(IteratorPrototype);Object.defineProperty(iterator,utils.iterInternalSymbol,{value:{target:target,kind:kind,index:0},configurable:true});return iterator};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["FormData"];if(ctor===undefined){throw new Error("Internal error: constructor FormData is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class FormData{constructor(){const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=HTMLFormElement.convert(curArg,{context:"Failed to construct 'FormData': parameter 1"})}args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}append(name,value){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'append' on 'FormData': 2 arguments required, but only "+arguments.length+" present.")}const args=[];switch(arguments.length){case 2:{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'append' on 'FormData': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(Blob.is(curArg)){{let curArg=arguments[1];curArg=Blob.convert(curArg,{context:"Failed to execute 'append' on 'FormData': parameter 2"});args.push(curArg)}}else{{let curArg=arguments[1];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'append' on 'FormData': parameter 2"});args.push(curArg)}}}break;default:{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'append' on 'FormData': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=Blob.convert(curArg,{context:"Failed to execute 'append' on 'FormData': parameter 2"});args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["USVString"](curArg,{context:"Failed to execute 'append' on 'FormData': parameter 3"})}args.push(curArg)}}return esValue[implSymbol].append(...args)}delete(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'delete' on 'FormData': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'delete' on 'FormData': parameter 1"});args.push(curArg)}return esValue[implSymbol].delete(...args)}get(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'get' on 'FormData': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'get' on 'FormData': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].get(...args))}getAll(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getAll' on 'FormData': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'getAll' on 'FormData': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getAll(...args))}has(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'has' on 'FormData': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'has' on 'FormData': parameter 1"});args.push(curArg)}return esValue[implSymbol].has(...args)}set(name,value){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'set' on 'FormData': 2 arguments required, but only "+arguments.length+" present.")}const args=[];switch(arguments.length){case 2:{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'set' on 'FormData': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(Blob.is(curArg)){{let curArg=arguments[1];curArg=Blob.convert(curArg,{context:"Failed to execute 'set' on 'FormData': parameter 2"});args.push(curArg)}}else{{let curArg=arguments[1];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'set' on 'FormData': parameter 2"});args.push(curArg)}}}break;default:{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'set' on 'FormData': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=Blob.convert(curArg,{context:"Failed to execute 'set' on 'FormData': parameter 2"});args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["USVString"](curArg,{context:"Failed to execute 'set' on 'FormData': parameter 3"})}args.push(curArg)}}return esValue[implSymbol].set(...args)}keys(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return exports.createDefaultIterator(this,"key")}values(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return exports.createDefaultIterator(this,"value")}entries(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return exports.createDefaultIterator(this,"key+value")}forEach(callback){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, "+"but only 0 present.")}if(typeof callback!=="function"){throw new TypeError("Failed to execute 'forEach' on 'iterable': The callback provided "+"as parameter 1 is not a function.")}const thisArg=arguments[1];let pairs=Array.from(this[implSymbol]);let i=0;while(i<pairs.length){const[key,value]=pairs[i].map(utils.tryWrapperForImpl);callback.call(thisArg,value,key,this);pairs=Array.from(this[implSymbol]);i++}}}Object.defineProperties(FormData.prototype,{append:{enumerable:true},delete:{enumerable:true},get:{enumerable:true},getAll:{enumerable:true},has:{enumerable:true},set:{enumerable:true},keys:{enumerable:true},values:{enumerable:true},entries:{enumerable:true},forEach:{enumerable:true},[Symbol.toStringTag]:{value:"FormData",configurable:true},[Symbol.iterator]:{value:FormData.prototype.entries,configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=FormData;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:FormData})};const Impl=require("../xhr/FormData-impl.js")},{"../xhr/FormData-impl.js":760,"./Blob.js":399,"./HTMLFormElement.js":459,"./utils.js":584,"webidl-conversions":776}],438:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="composed";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'composed' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./utils.js":584,"webidl-conversions":776}],439:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLAnchorElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLAnchorElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLAnchorElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLAnchorElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLAnchorElement before HTMLElement")}class HTMLAnchorElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get target(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'target' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get download(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"download");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set download(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'download' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"download",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rel(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rel");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rel(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'rel' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rel",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get relList(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"relList",()=>utils.tryWrapperForImpl(esValue[implSymbol]["relList"]))}set relList(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const Q=esValue["relList"];if(!utils.isObject(Q)){throw new TypeError("Property 'relList' is not an object")}Reflect.set(Q,"value",V)}get hreflang(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"hreflang");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hreflang(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'hreflang' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"hreflang",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get text(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["text"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'text' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["text"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get coords(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"coords");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set coords(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'coords' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"coords",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get charset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charset");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set charset(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'charset' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rev(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rev");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rev(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'rev' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rev",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get shape(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"shape");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set shape(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'shape' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"shape",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get href(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["href"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set href(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'href' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["href"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toString(){const esValue=this;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["href"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get origin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["origin"]}get protocol(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["protocol"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set protocol(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'protocol' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["protocol"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get username(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["username"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set username(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'username' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["username"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get password(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["password"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set password(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'password' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["password"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get host(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["host"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set host(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'host' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["host"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hostname(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["hostname"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hostname(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'hostname' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["hostname"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get port(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["port"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set port(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'port' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["port"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get pathname(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["pathname"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set pathname(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'pathname' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["pathname"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get search(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["search"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set search(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'search' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["search"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hash(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["hash"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hash(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'hash' property on 'HTMLAnchorElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["hash"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLAnchorElement.prototype,{target:{enumerable:true},download:{enumerable:true},rel:{enumerable:true},relList:{enumerable:true},hreflang:{enumerable:true},type:{enumerable:true},text:{enumerable:true},coords:{enumerable:true},charset:{enumerable:true},name:{enumerable:true},rev:{enumerable:true},shape:{enumerable:true},href:{enumerable:true},toString:{enumerable:true},origin:{enumerable:true},protocol:{enumerable:true},username:{enumerable:true},password:{enumerable:true},host:{enumerable:true},hostname:{enumerable:true},port:{enumerable:true},pathname:{enumerable:true},search:{enumerable:true},hash:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLAnchorElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLAnchorElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLAnchorElement})};const Impl=require("../nodes/HTMLAnchorElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLAnchorElement-impl.js":647,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],440:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLAreaElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLAreaElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLAreaElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLAreaElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLAreaElement before HTMLElement")}class HTMLAreaElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get alt(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"alt");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set alt(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'alt' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"alt",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get coords(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"coords");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set coords(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'coords' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"coords",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get shape(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"shape");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set shape(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'shape' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"shape",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get target(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'target' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rel(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rel");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rel(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'rel' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rel",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get relList(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"relList",()=>utils.tryWrapperForImpl(esValue[implSymbol]["relList"]))}set relList(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const Q=esValue["relList"];if(!utils.isObject(Q)){throw new TypeError("Property 'relList' is not an object")}Reflect.set(Q,"value",V)}get noHref(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"nohref")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noHref(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'noHref' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"nohref","")}else{esValue[implSymbol].removeAttributeNS(null,"nohref")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get href(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["href"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set href(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'href' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["href"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}toString(){const esValue=this;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["href"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get origin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["origin"]}get protocol(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["protocol"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set protocol(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'protocol' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["protocol"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get username(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["username"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set username(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'username' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["username"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get password(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["password"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set password(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'password' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["password"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get host(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["host"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set host(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'host' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["host"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hostname(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["hostname"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hostname(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'hostname' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["hostname"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get port(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["port"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set port(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'port' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["port"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get pathname(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["pathname"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set pathname(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'pathname' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["pathname"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get search(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["search"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set search(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'search' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["search"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hash(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["hash"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hash(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'hash' property on 'HTMLAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["hash"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLAreaElement.prototype,{alt:{enumerable:true},coords:{enumerable:true},shape:{enumerable:true},target:{enumerable:true},rel:{enumerable:true},relList:{enumerable:true},noHref:{enumerable:true},href:{enumerable:true},toString:{enumerable:true},origin:{enumerable:true},protocol:{enumerable:true},username:{enumerable:true},password:{enumerable:true},host:{enumerable:true},hostname:{enumerable:true},port:{enumerable:true},pathname:{enumerable:true},search:{enumerable:true},hash:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLAreaElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLAreaElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLAreaElement})};const Impl=require("../nodes/HTMLAreaElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLAreaElement-impl.js":648,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],441:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLMediaElement=require("./HTMLMediaElement.js");const interfaceName="HTMLAudioElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLAudioElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLAudioElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLAudioElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLMediaElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLMediaElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLAudioElement before HTMLMediaElement")}class HTMLAudioElement extends globalObject.HTMLMediaElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}}Object.defineProperties(HTMLAudioElement.prototype,{[Symbol.toStringTag]:{value:"HTMLAudioElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLAudioElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLAudioElement})};const Impl=require("../nodes/HTMLAudioElement-impl.js")},{"../helpers/html-constructor.js":595,"../nodes/HTMLAudioElement-impl.js":649,"./HTMLMediaElement.js":475,"./utils.js":584,"webidl-conversions":776}],442:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLBRElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLBRElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLBRElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLBRElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLBRElement before HTMLElement")}class HTMLBRElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get clear(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"clear");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set clear(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'clear' property on 'HTMLBRElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"clear",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLBRElement.prototype,{clear:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLBRElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLBRElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLBRElement})};const Impl=require("../nodes/HTMLBRElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLBRElement-impl.js":650,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],443:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLBaseElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLBaseElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLBaseElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLBaseElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLBaseElement before HTMLElement")}class HTMLBaseElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get href(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["href"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set href(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'href' property on 'HTMLBaseElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["href"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get target(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'target' property on 'HTMLBaseElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLBaseElement.prototype,{href:{enumerable:true},target:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLBaseElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLBaseElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLBaseElement})};const Impl=require("../nodes/HTMLBaseElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLBaseElement-impl.js":651,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],444:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLBodyElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLBodyElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLBodyElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLBodyElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLBodyElement before HTMLElement")}class HTMLBodyElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get text(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"text");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'text' property on 'HTMLBodyElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"text",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get link(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"link");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set link(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'link' property on 'HTMLBodyElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"link",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vLink(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"vlink");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vLink(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'vLink' property on 'HTMLBodyElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"vlink",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get aLink(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"alink");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set aLink(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'aLink' property on 'HTMLBodyElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"alink",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'bgColor' property on 'HTMLBodyElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get background(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"background");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set background(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'background' property on 'HTMLBodyElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"background",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get onafterprint(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onafterprint"])}set onafterprint(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onafterprint"]=V}get onbeforeprint(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onbeforeprint"])}set onbeforeprint(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onbeforeprint"]=V}get onbeforeunload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onbeforeunload"])}set onbeforeunload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onbeforeunload"]=V}get onhashchange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onhashchange"])}set onhashchange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onhashchange"]=V}get onlanguagechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onlanguagechange"])}set onlanguagechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onlanguagechange"]=V}get onmessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmessage"])}set onmessage(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmessage"]=V}get onmessageerror(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmessageerror"])}set onmessageerror(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmessageerror"]=V}get onoffline(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onoffline"])}set onoffline(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onoffline"]=V}get ononline(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ononline"])}set ononline(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ononline"]=V}get onpagehide(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpagehide"])}set onpagehide(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpagehide"]=V}get onpageshow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpageshow"])}set onpageshow(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpageshow"]=V}get onpopstate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpopstate"])}set onpopstate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpopstate"]=V}get onrejectionhandled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onrejectionhandled"])}set onrejectionhandled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onrejectionhandled"]=V}get onstorage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onstorage"])}set onstorage(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onstorage"]=V}get onunhandledrejection(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onunhandledrejection"])}set onunhandledrejection(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onunhandledrejection"]=V}get onunload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onunload"])}set onunload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onunload"]=V}}Object.defineProperties(HTMLBodyElement.prototype,{text:{enumerable:true},link:{enumerable:true},vLink:{enumerable:true},aLink:{enumerable:true},bgColor:{enumerable:true},background:{enumerable:true},onafterprint:{enumerable:true},onbeforeprint:{enumerable:true},onbeforeunload:{enumerable:true},onhashchange:{enumerable:true},onlanguagechange:{enumerable:true},onmessage:{enumerable:true},onmessageerror:{enumerable:true},onoffline:{enumerable:true},ononline:{enumerable:true},onpagehide:{enumerable:true},onpageshow:{enumerable:true},onpopstate:{enumerable:true},onrejectionhandled:{enumerable:true},onstorage:{enumerable:true},onunhandledrejection:{enumerable:true},onunload:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLBodyElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLBodyElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLBodyElement})};const Impl=require("../nodes/HTMLBodyElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLBodyElement-impl.js":652,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],445:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLButtonElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLButtonElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLButtonElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLButtonElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLButtonElement before HTMLElement")}class HTMLButtonElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}checkValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setCustomValidity' on 'HTMLButtonElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLButtonElement': parameter 1"});args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get autofocus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autofocus(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'autofocus' property on 'HTMLButtonElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"autofocus","")}else{esValue[implSymbol].removeAttributeNS(null,"autofocus")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get disabled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'disabled' property on 'HTMLButtonElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"disabled","")}else{esValue[implSymbol].removeAttributeNS(null,"disabled")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get formNoValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"formnovalidate")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set formNoValidate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'formNoValidate' property on 'HTMLButtonElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"formnovalidate","")}else{esValue[implSymbol].removeAttributeNS(null,"formnovalidate")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get formTarget(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"formtarget");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set formTarget(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'formTarget' property on 'HTMLButtonElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"formtarget",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLButtonElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["type"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLButtonElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["type"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"value");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'HTMLButtonElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get willValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["willValidate"]}get validity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["validity"])}get validationMessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["validationMessage"]}get labels(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["labels"])}}Object.defineProperties(HTMLButtonElement.prototype,{checkValidity:{enumerable:true},reportValidity:{enumerable:true},setCustomValidity:{enumerable:true},autofocus:{enumerable:true},disabled:{enumerable:true},form:{enumerable:true},formNoValidate:{enumerable:true},formTarget:{enumerable:true},name:{enumerable:true},type:{enumerable:true},value:{enumerable:true},willValidate:{enumerable:true},validity:{enumerable:true},validationMessage:{enumerable:true},labels:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLButtonElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLButtonElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLButtonElement})};const Impl=require("../nodes/HTMLButtonElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLButtonElement-impl.js":653,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],446:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLCanvasElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLCanvasElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLCanvasElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLCanvasElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLCanvasElement before HTMLElement")}class HTMLCanvasElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}getContext(contextId){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getContext' on 'HTMLCanvasElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getContext' on 'HTMLCanvasElement': parameter 1"});args.push(curArg)}for(let i=1;i<arguments.length;i++){let curArg=arguments[i];curArg=conversions["any"](curArg,{context:"Failed to execute 'getContext' on 'HTMLCanvasElement': parameter "+(i+1)});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getContext(...args))}toDataURL(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'toDataURL' on 'HTMLCanvasElement': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["any"](curArg,{context:"Failed to execute 'toDataURL' on 'HTMLCanvasElement': parameter 2"})}args.push(curArg)}return esValue[implSymbol].toDataURL(...args)}toBlob(callback){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'toBlob' on 'HTMLCanvasElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=utils.tryImplForWrapper(curArg);args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'toBlob' on 'HTMLCanvasElement': parameter 2"})}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["any"](curArg,{context:"Failed to execute 'toBlob' on 'HTMLCanvasElement': parameter 3"})}args.push(curArg)}return esValue[implSymbol].toBlob(...args)}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["width"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'width' property on 'HTMLCanvasElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["width"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["height"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'height' property on 'HTMLCanvasElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["height"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLCanvasElement.prototype,{getContext:{enumerable:true},toDataURL:{enumerable:true},toBlob:{enumerable:true},width:{enumerable:true},height:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLCanvasElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLCanvasElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLCanvasElement})};const Impl=require("../nodes/HTMLCanvasElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLCanvasElement-impl.js":654,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],447:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="HTMLCollection";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLCollection'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLCollection"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLCollection is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class HTMLCollection{constructor(){throw new TypeError("Illegal constructor")}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'HTMLCollection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'HTMLCollection': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}namedItem(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'namedItem' on 'HTMLCollection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'namedItem' on 'HTMLCollection': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].namedItem(...args))}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(HTMLCollection.prototype,{item:{enumerable:true},namedItem:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLCollection",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLCollection;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLCollection})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of target[implSymbol][utils.supportedPropertyNames]){if(!(key in target)){keys.add(`${key}`)}}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}const namedValue=target[implSymbol].namedItem(P);if(namedValue!==null&&!(P in target)&&!ignoreNamedProps){return{writable:false,enumerable:false,configurable:true,value:utils.tryWrapperForImpl(namedValue)}}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){utils.isArrayIndexPropName(P);typeof P==="string"&&!utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){return false}if(!utils.hasOwn(target,P)){const creating=!(target[implSymbol].namedItem(P)!==null);if(!creating){return false}}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}if(target[implSymbol].namedItem(P)!==null&&!(P in target)){return false}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../nodes/HTMLCollection-impl.js")},{"../nodes/HTMLCollection-impl.js":655,"./utils.js":584,"webidl-conversions":776}],448:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLDListElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLDListElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLDListElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLDListElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLDListElement before HTMLElement")}class HTMLDListElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get compact(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'compact' property on 'HTMLDListElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"compact","")}else{esValue[implSymbol].removeAttributeNS(null,"compact")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDListElement.prototype,{compact:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLDListElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLDListElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLDListElement})};const Impl=require("../nodes/HTMLDListElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLDListElement-impl.js":656,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],449:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLDataElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLDataElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLDataElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLDataElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLDataElement before HTMLElement")}class HTMLDataElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"value");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'HTMLDataElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDataElement.prototype,{value:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLDataElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLDataElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLDataElement})};const Impl=require("../nodes/HTMLDataElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLDataElement-impl.js":657,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],450:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLDataListElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLDataListElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLDataListElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLDataListElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLDataListElement before HTMLElement")}class HTMLDataListElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get options(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"options",()=>utils.tryWrapperForImpl(esValue[implSymbol]["options"]))}}Object.defineProperties(HTMLDataListElement.prototype,{options:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLDataListElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLDataListElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLDataListElement})};const Impl=require("../nodes/HTMLDataListElement-impl.js")},{"../helpers/html-constructor.js":595,"../nodes/HTMLDataListElement-impl.js":658,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],451:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLDetailsElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLDetailsElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLDetailsElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLDetailsElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLDetailsElement before HTMLElement")}class HTMLDetailsElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get open(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"open")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set open(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'open' property on 'HTMLDetailsElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"open","")}else{esValue[implSymbol].removeAttributeNS(null,"open")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDetailsElement.prototype,{open:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLDetailsElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLDetailsElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLDetailsElement})};const Impl=require("../nodes/HTMLDetailsElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLDetailsElement-impl.js":659,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],452:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLDialogElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLDialogElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLDialogElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLDialogElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLDialogElement before HTMLElement")}class HTMLDialogElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get open(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"open")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set open(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'open' property on 'HTMLDialogElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"open","")}else{esValue[implSymbol].removeAttributeNS(null,"open")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDialogElement.prototype,{open:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLDialogElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLDialogElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLDialogElement})};const Impl=require("../nodes/HTMLDialogElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLDialogElement-impl.js":660,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],453:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLDirectoryElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLDirectoryElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLDirectoryElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLDirectoryElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLDirectoryElement before HTMLElement")}class HTMLDirectoryElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get compact(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'compact' property on 'HTMLDirectoryElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"compact","")}else{esValue[implSymbol].removeAttributeNS(null,"compact")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDirectoryElement.prototype,{compact:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLDirectoryElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLDirectoryElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLDirectoryElement})};const Impl=require("../nodes/HTMLDirectoryElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLDirectoryElement-impl.js":661,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],454:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLDivElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLDivElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLDivElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLDivElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLDivElement before HTMLElement")}class HTMLDivElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLDivElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLDivElement.prototype,{align:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLDivElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLDivElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLDivElement})};const Impl=require("../nodes/HTMLDivElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLDivElement-impl.js":662,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],455:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Element=require("./Element.js");const interfaceName="HTMLElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Element._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Element===undefined){throw new Error("Internal error: attempting to evaluate HTMLElement before Element")}class HTMLElement extends globalObject.Element{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}click(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].click()}focus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].focus()}blur(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].blur()}get title(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"title");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set title(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'title' property on 'HTMLElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"title",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get lang(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"lang");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set lang(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'lang' property on 'HTMLElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"lang",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get translate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["translate"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set translate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'translate' property on 'HTMLElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["translate"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get dir(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["dir"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dir(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'dir' property on 'HTMLElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["dir"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hidden(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"hidden")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hidden(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'hidden' property on 'HTMLElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"hidden","")}else{esValue[implSymbol].removeAttributeNS(null,"hidden")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get accessKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"accesskey");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set accessKey(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'accessKey' property on 'HTMLElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"accesskey",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get draggable(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["draggable"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set draggable(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'draggable' property on 'HTMLElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["draggable"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get offsetParent(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["offsetParent"])}get offsetTop(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["offsetTop"]}get offsetLeft(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["offsetLeft"]}get offsetWidth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["offsetWidth"]}get offsetHeight(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["offsetHeight"]}get style(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"style",()=>utils.tryWrapperForImpl(esValue[implSymbol]["style"]))}set style(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const Q=esValue["style"];if(!utils.isObject(Q)){throw new TypeError("Property 'style' is not an object")}Reflect.set(Q,"cssText",V)}get onabort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onabort"])}set onabort(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onabort"]=V}get onauxclick(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onauxclick"])}set onauxclick(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onauxclick"]=V}get onblur(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onblur"])}set onblur(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onblur"]=V}get oncancel(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncancel"])}set oncancel(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncancel"]=V}get oncanplay(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncanplay"])}set oncanplay(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncanplay"]=V}get oncanplaythrough(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncanplaythrough"])}set oncanplaythrough(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncanplaythrough"]=V}get onchange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onchange"])}set onchange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onchange"]=V}get onclick(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onclick"])}set onclick(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onclick"]=V}get onclose(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onclose"])}set onclose(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onclose"]=V}get oncontextmenu(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncontextmenu"])}set oncontextmenu(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncontextmenu"]=V}get oncuechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncuechange"])}set oncuechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncuechange"]=V}get ondblclick(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondblclick"])}set ondblclick(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondblclick"]=V}get ondrag(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondrag"])}set ondrag(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondrag"]=V}get ondragend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragend"])}set ondragend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragend"]=V}get ondragenter(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragenter"])}set ondragenter(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragenter"]=V}get ondragexit(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragexit"])}set ondragexit(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragexit"]=V}get ondragleave(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragleave"])}set ondragleave(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragleave"]=V}get ondragover(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragover"])}set ondragover(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragover"]=V}get ondragstart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragstart"])}set ondragstart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragstart"]=V}get ondrop(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondrop"])}set ondrop(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondrop"]=V}get ondurationchange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondurationchange"])}set ondurationchange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondurationchange"]=V}get onemptied(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onemptied"])}set onemptied(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onemptied"]=V}get onended(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onended"])}set onended(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onended"]=V}get onerror(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onerror"])}set onerror(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onerror"]=V}get onfocus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onfocus"])}set onfocus(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onfocus"]=V}get oninput(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oninput"])}set oninput(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oninput"]=V}get oninvalid(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oninvalid"])}set oninvalid(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oninvalid"]=V}get onkeydown(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onkeydown"])}set onkeydown(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onkeydown"]=V}get onkeypress(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onkeypress"])}set onkeypress(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onkeypress"]=V}get onkeyup(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onkeyup"])}set onkeyup(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onkeyup"]=V}get onload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onload"])}set onload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onload"]=V}get onloadeddata(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadeddata"])}set onloadeddata(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadeddata"]=V}get onloadedmetadata(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadedmetadata"])}set onloadedmetadata(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadedmetadata"]=V}get onloadend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadend"])}set onloadend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadend"]=V}get onloadstart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadstart"])}set onloadstart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadstart"]=V}get onmousedown(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmousedown"])}set onmousedown(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmousedown"]=V}get onmouseenter(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseenter"])}set onmouseenter(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseenter"]=V}get onmouseleave(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseleave"])}set onmouseleave(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseleave"]=V}get onmousemove(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmousemove"])}set onmousemove(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmousemove"]=V}get onmouseout(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseout"])}set onmouseout(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseout"]=V}get onmouseover(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseover"])}set onmouseover(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseover"]=V}get onmouseup(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseup"])}set onmouseup(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseup"]=V}get onwheel(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onwheel"])}set onwheel(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onwheel"]=V}get onpause(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpause"])}set onpause(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpause"]=V}get onplay(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onplay"])}set onplay(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onplay"]=V}get onplaying(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onplaying"])}set onplaying(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onplaying"]=V}get onprogress(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onprogress"])}set onprogress(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onprogress"]=V}get onratechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onratechange"])}set onratechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onratechange"]=V}get onreset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onreset"])}set onreset(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onreset"]=V}get onresize(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onresize"])}set onresize(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onresize"]=V}get onscroll(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onscroll"])}set onscroll(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onscroll"]=V}get onsecuritypolicyviolation(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onsecuritypolicyviolation"])}set onsecuritypolicyviolation(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onsecuritypolicyviolation"]=V}get onseeked(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onseeked"])}set onseeked(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onseeked"]=V}get onseeking(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onseeking"])}set onseeking(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onseeking"]=V}get onselect(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onselect"])}set onselect(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onselect"]=V}get onstalled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onstalled"])}set onstalled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onstalled"]=V}get onsubmit(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onsubmit"])}set onsubmit(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onsubmit"]=V}get onsuspend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onsuspend"])}set onsuspend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onsuspend"]=V}get ontimeupdate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ontimeupdate"])}set ontimeupdate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ontimeupdate"]=V}get ontoggle(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ontoggle"])}set ontoggle(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ontoggle"]=V}get onvolumechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onvolumechange"])}set onvolumechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onvolumechange"]=V}get onwaiting(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onwaiting"])}set onwaiting(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onwaiting"]=V}get dataset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"dataset",()=>utils.tryWrapperForImpl(esValue[implSymbol]["dataset"]))}get nonce(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const value=esValue[implSymbol].getAttributeNS(null,"nonce");return value===null?"":value}set nonce(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'nonce' property on 'HTMLElement': The provided value"});esValue[implSymbol].setAttributeNS(null,"nonce",V)}get tabIndex(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["tabIndex"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set tabIndex(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'tabIndex' property on 'HTMLElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["tabIndex"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLElement.prototype,{click:{enumerable:true},focus:{enumerable:true},blur:{enumerable:true},title:{enumerable:true},lang:{enumerable:true},translate:{enumerable:true},dir:{enumerable:true},hidden:{enumerable:true},accessKey:{enumerable:true},draggable:{enumerable:true},offsetParent:{enumerable:true},offsetTop:{enumerable:true},offsetLeft:{enumerable:true},offsetWidth:{enumerable:true},offsetHeight:{enumerable:true},style:{enumerable:true},onabort:{enumerable:true},onauxclick:{enumerable:true},onblur:{enumerable:true},oncancel:{enumerable:true},oncanplay:{enumerable:true},oncanplaythrough:{enumerable:true},onchange:{enumerable:true},onclick:{enumerable:true},onclose:{enumerable:true},oncontextmenu:{enumerable:true},oncuechange:{enumerable:true},ondblclick:{enumerable:true},ondrag:{enumerable:true},ondragend:{enumerable:true},ondragenter:{enumerable:true},ondragexit:{enumerable:true},ondragleave:{enumerable:true},ondragover:{enumerable:true},ondragstart:{enumerable:true},ondrop:{enumerable:true},ondurationchange:{enumerable:true},onemptied:{enumerable:true},onended:{enumerable:true},onerror:{enumerable:true},onfocus:{enumerable:true},oninput:{enumerable:true},oninvalid:{enumerable:true},onkeydown:{enumerable:true},onkeypress:{enumerable:true},onkeyup:{enumerable:true},onload:{enumerable:true},onloadeddata:{enumerable:true},onloadedmetadata:{enumerable:true},onloadend:{enumerable:true},onloadstart:{enumerable:true},onmousedown:{enumerable:true},onmouseenter:{enumerable:true},onmouseleave:{enumerable:true},onmousemove:{enumerable:true},onmouseout:{enumerable:true},onmouseover:{enumerable:true},onmouseup:{enumerable:true},onwheel:{enumerable:true},onpause:{enumerable:true},onplay:{enumerable:true},onplaying:{enumerable:true},onprogress:{enumerable:true},onratechange:{enumerable:true},onreset:{enumerable:true},onresize:{enumerable:true},onscroll:{enumerable:true},onsecuritypolicyviolation:{enumerable:true},onseeked:{enumerable:true},onseeking:{enumerable:true},onselect:{enumerable:true},onstalled:{enumerable:true},onsubmit:{enumerable:true},onsuspend:{enumerable:true},ontimeupdate:{enumerable:true},ontoggle:{enumerable:true},onvolumechange:{enumerable:true},onwaiting:{enumerable:true},dataset:{enumerable:true},nonce:{enumerable:true},tabIndex:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLElement})};const Impl=require("../nodes/HTMLElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLElement-impl.js":663,"./Element.js":418,"./utils.js":584,"webidl-conversions":776}],456:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLEmbedElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLEmbedElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLEmbedElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLEmbedElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLEmbedElement before HTMLElement")}class HTMLEmbedElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get src(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'src' property on 'HTMLEmbedElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLEmbedElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'width' property on 'HTMLEmbedElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'height' property on 'HTMLEmbedElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLEmbedElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLEmbedElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLEmbedElement.prototype,{src:{enumerable:true},type:{enumerable:true},width:{enumerable:true},height:{enumerable:true},align:{enumerable:true},name:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLEmbedElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLEmbedElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLEmbedElement})};const Impl=require("../nodes/HTMLEmbedElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLEmbedElement-impl.js":664,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],457:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLFieldSetElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLFieldSetElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLFieldSetElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLFieldSetElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLFieldSetElement before HTMLElement")}class HTMLFieldSetElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}checkValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setCustomValidity' on 'HTMLFieldSetElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLFieldSetElement': parameter 1"});args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get disabled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'disabled' property on 'HTMLFieldSetElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"disabled","")}else{esValue[implSymbol].removeAttributeNS(null,"disabled")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLFieldSetElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["type"]}get elements(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"elements",()=>utils.tryWrapperForImpl(esValue[implSymbol]["elements"]))}get willValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["willValidate"]}get validity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"validity",()=>utils.tryWrapperForImpl(esValue[implSymbol]["validity"]))}get validationMessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["validationMessage"]}}Object.defineProperties(HTMLFieldSetElement.prototype,{checkValidity:{enumerable:true},reportValidity:{enumerable:true},setCustomValidity:{enumerable:true},disabled:{enumerable:true},form:{enumerable:true},name:{enumerable:true},type:{enumerable:true},elements:{enumerable:true},willValidate:{enumerable:true},validity:{enumerable:true},validationMessage:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLFieldSetElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLFieldSetElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLFieldSetElement})};const Impl=require("../nodes/HTMLFieldSetElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLFieldSetElement-impl.js":665,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],458:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLFontElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLFontElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLFontElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLFontElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLFontElement before HTMLElement")}class HTMLFontElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get color(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"color");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set color(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'color' property on 'HTMLFontElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"color",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get face(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"face");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set face(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'face' property on 'HTMLFontElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"face",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get size(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"size");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set size(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'size' property on 'HTMLFontElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"size",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLFontElement.prototype,{color:{enumerable:true},face:{enumerable:true},size:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLFontElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLFontElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLFontElement})};const Impl=require("../nodes/HTMLFontElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLFontElement-impl.js":666,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],459:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const HTMLElement=require("./HTMLElement.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="HTMLFormElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLFormElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLFormElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLFormElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLFormElement before HTMLElement")}class HTMLFormElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}submit(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].submit()}requestSubmit(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=HTMLElement.convert(curArg,{context:"Failed to execute 'requestSubmit' on 'HTMLFormElement': parameter 1"})}args.push(curArg)}return esValue[implSymbol].requestSubmit(...args)}reset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].reset()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}checkValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].reportValidity()}get acceptCharset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"accept-charset");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set acceptCharset(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'acceptCharset' property on 'HTMLFormElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"accept-charset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get action(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["action"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set action(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'action' property on 'HTMLFormElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["action"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get enctype(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["enctype"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set enctype(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'enctype' property on 'HTMLFormElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["enctype"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get method(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["method"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set method(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'method' property on 'HTMLFormElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["method"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLFormElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get noValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"novalidate")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noValidate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'noValidate' property on 'HTMLFormElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"novalidate","")}else{esValue[implSymbol].removeAttributeNS(null,"novalidate")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get target(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'target' property on 'HTMLFormElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get elements(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"elements",()=>utils.tryWrapperForImpl(esValue[implSymbol]["elements"]))}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(HTMLFormElement.prototype,{submit:{enumerable:true},requestSubmit:{enumerable:true},reset:{enumerable:true},checkValidity:{enumerable:true},reportValidity:{enumerable:true},acceptCharset:{enumerable:true},action:{enumerable:true},enctype:{enumerable:true},method:{enumerable:true},name:{enumerable:true},noValidate:{enumerable:true},target:{enumerable:true},elements:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLFormElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLFormElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLFormElement})};const Impl=require("../nodes/HTMLFormElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLFormElement-impl.js":667,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],460:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLFrameElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLFrameElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLFrameElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLFrameElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLFrameElement before HTMLElement")}class HTMLFrameElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrolling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"scrolling");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scrolling(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'scrolling' property on 'HTMLFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"scrolling",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get src(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'src' property on 'HTMLFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get frameBorder(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"frameborder");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set frameBorder(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'frameBorder' property on 'HTMLFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"frameborder",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get longDesc(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"longdesc");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set longDesc(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'longDesc' property on 'HTMLFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"longdesc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get noResize(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"noresize")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noResize(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'noResize' property on 'HTMLFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"noresize","")}else{esValue[implSymbol].removeAttributeNS(null,"noresize")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get contentDocument(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["contentDocument"])}get contentWindow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["contentWindow"])}get marginHeight(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"marginheight");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set marginHeight(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'marginHeight' property on 'HTMLFrameElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"marginheight",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get marginWidth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"marginwidth");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set marginWidth(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'marginWidth' property on 'HTMLFrameElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"marginwidth",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLFrameElement.prototype,{name:{enumerable:true},scrolling:{enumerable:true},src:{enumerable:true},frameBorder:{enumerable:true},longDesc:{enumerable:true},noResize:{enumerable:true},contentDocument:{enumerable:true},contentWindow:{enumerable:true},marginHeight:{enumerable:true},marginWidth:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLFrameElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLFrameElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLFrameElement})};const Impl=require("../nodes/HTMLFrameElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLFrameElement-impl.js":668,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],461:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLFrameSetElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLFrameSetElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLFrameSetElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLFrameSetElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLFrameSetElement before HTMLElement")}class HTMLFrameSetElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get cols(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cols");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cols(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'cols' property on 'HTMLFrameSetElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cols",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rows(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rows");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rows(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'rows' property on 'HTMLFrameSetElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rows",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get onafterprint(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onafterprint"])}set onafterprint(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onafterprint"]=V}get onbeforeprint(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onbeforeprint"])}set onbeforeprint(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onbeforeprint"]=V}get onbeforeunload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onbeforeunload"])}set onbeforeunload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onbeforeunload"]=V}get onhashchange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onhashchange"])}set onhashchange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onhashchange"]=V}get onlanguagechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onlanguagechange"])}set onlanguagechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onlanguagechange"]=V}get onmessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmessage"])}set onmessage(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmessage"]=V}get onmessageerror(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmessageerror"])}set onmessageerror(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmessageerror"]=V}get onoffline(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onoffline"])}set onoffline(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onoffline"]=V}get ononline(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ononline"])}set ononline(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ononline"]=V}get onpagehide(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpagehide"])}set onpagehide(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpagehide"]=V}get onpageshow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpageshow"])}set onpageshow(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpageshow"]=V}get onpopstate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpopstate"])}set onpopstate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpopstate"]=V}get onrejectionhandled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onrejectionhandled"])}set onrejectionhandled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onrejectionhandled"]=V}get onstorage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onstorage"])}set onstorage(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onstorage"]=V}get onunhandledrejection(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onunhandledrejection"])}set onunhandledrejection(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onunhandledrejection"]=V}get onunload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onunload"])}set onunload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onunload"]=V}}Object.defineProperties(HTMLFrameSetElement.prototype,{cols:{enumerable:true},rows:{enumerable:true},onafterprint:{enumerable:true},onbeforeprint:{enumerable:true},onbeforeunload:{enumerable:true},onhashchange:{enumerable:true},onlanguagechange:{enumerable:true},onmessage:{enumerable:true},onmessageerror:{enumerable:true},onoffline:{enumerable:true},ononline:{enumerable:true},onpagehide:{enumerable:true},onpageshow:{enumerable:true},onpopstate:{enumerable:true},onrejectionhandled:{enumerable:true},onstorage:{enumerable:true},onunhandledrejection:{enumerable:true},onunload:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLFrameSetElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLFrameSetElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLFrameSetElement})};const Impl=require("../nodes/HTMLFrameSetElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLFrameSetElement-impl.js":669,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],462:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLHRElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLHRElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLHRElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLHRElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLHRElement before HTMLElement")}class HTMLHRElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLHRElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get color(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"color");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set color(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'color' property on 'HTMLHRElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"color",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get noShade(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"noshade")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noShade(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'noShade' property on 'HTMLHRElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"noshade","")}else{esValue[implSymbol].removeAttributeNS(null,"noshade")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get size(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"size");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set size(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'size' property on 'HTMLHRElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"size",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'width' property on 'HTMLHRElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLHRElement.prototype,{align:{enumerable:true},color:{enumerable:true},noShade:{enumerable:true},size:{enumerable:true},width:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLHRElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLHRElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLHRElement})};const Impl=require("../nodes/HTMLHRElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLHRElement-impl.js":670,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],463:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLHeadElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLHeadElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLHeadElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLHeadElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLHeadElement before HTMLElement")}class HTMLHeadElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}}Object.defineProperties(HTMLHeadElement.prototype,{[Symbol.toStringTag]:{value:"HTMLHeadElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLHeadElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLHeadElement})};const Impl=require("../nodes/HTMLHeadElement-impl.js")},{"../helpers/html-constructor.js":595,"../nodes/HTMLHeadElement-impl.js":671,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],464:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLHeadingElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLHeadingElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLHeadingElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLHeadingElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLHeadingElement before HTMLElement")}class HTMLHeadingElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLHeadingElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLHeadingElement.prototype,{align:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLHeadingElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLHeadingElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLHeadingElement})};const Impl=require("../nodes/HTMLHeadingElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLHeadingElement-impl.js":672,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],465:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLHtmlElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLHtmlElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLHtmlElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLHtmlElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLHtmlElement before HTMLElement")}class HTMLHtmlElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get version(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"version");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set version(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'version' property on 'HTMLHtmlElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"version",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLHtmlElement.prototype,{version:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLHtmlElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLHtmlElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLHtmlElement})};const Impl=require("../nodes/HTMLHtmlElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLHtmlElement-impl.js":673,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],466:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLIFrameElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLIFrameElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLIFrameElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLIFrameElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLIFrameElement before HTMLElement")}class HTMLIFrameElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}getSVGDocument(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].getSVGDocument())}get src(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'src' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get srcdoc(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"srcdoc");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set srcdoc(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'srcdoc' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"srcdoc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get allowFullscreen(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"allowfullscreen")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set allowFullscreen(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'allowFullscreen' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"allowfullscreen","")}else{esValue[implSymbol].removeAttributeNS(null,"allowfullscreen")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'width' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'height' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get contentDocument(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["contentDocument"])}get contentWindow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["contentWindow"])}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrolling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"scrolling");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scrolling(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'scrolling' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"scrolling",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get frameBorder(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"frameborder");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set frameBorder(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'frameBorder' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"frameborder",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get longDesc(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"longdesc");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set longDesc(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'longDesc' property on 'HTMLIFrameElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"longdesc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get marginHeight(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"marginheight");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set marginHeight(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'marginHeight' property on 'HTMLIFrameElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"marginheight",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get marginWidth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"marginwidth");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set marginWidth(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'marginWidth' property on 'HTMLIFrameElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"marginwidth",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLIFrameElement.prototype,{getSVGDocument:{enumerable:true},src:{enumerable:true},srcdoc:{enumerable:true},name:{enumerable:true},allowFullscreen:{enumerable:true},width:{enumerable:true},height:{enumerable:true},contentDocument:{enumerable:true},contentWindow:{enumerable:true},align:{enumerable:true},scrolling:{enumerable:true},frameBorder:{enumerable:true},longDesc:{enumerable:true},marginHeight:{enumerable:true},marginWidth:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLIFrameElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLIFrameElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLIFrameElement})};const Impl=require("../nodes/HTMLIFrameElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLIFrameElement-impl.js":675,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],467:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const parseNonNegativeInteger_helpers_strings=require("../helpers/strings.js").parseNonNegativeInteger;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLImageElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLImageElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLImageElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLImageElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLImageElement before HTMLElement")}class HTMLImageElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get alt(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"alt");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set alt(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'alt' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"alt",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get src(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'src' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get srcset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"srcset");return value===null?"":conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set srcset(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'srcset' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"srcset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get sizes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"sizes");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set sizes(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'sizes' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"sizes",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get crossOrigin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"crossorigin");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set crossOrigin(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["DOMString"](V,{context:"Failed to set the 'crossOrigin' property on 'HTMLImageElement': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"crossorigin",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get useMap(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"usemap");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set useMap(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'useMap' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"usemap",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get isMap(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"ismap")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set isMap(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'isMap' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"ismap","")}else{esValue[implSymbol].removeAttributeNS(null,"ismap")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["width"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'width' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["width"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["height"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'height' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["height"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get naturalWidth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["naturalWidth"]}get naturalHeight(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["naturalHeight"]}get complete(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["complete"]}get currentSrc(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["currentSrc"]}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get lowsrc(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"lowsrc");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set lowsrc(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'lowsrc' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"lowsrc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hspace(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"hspace");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hspace(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'hspace' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"hspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vspace(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"vspace");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vspace(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'vspace' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"vspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get longDesc(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"longdesc");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set longDesc(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'longDesc' property on 'HTMLImageElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"longdesc",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get border(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"border");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set border(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'border' property on 'HTMLImageElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"border",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLImageElement.prototype,{alt:{enumerable:true},src:{enumerable:true},srcset:{enumerable:true},sizes:{enumerable:true},crossOrigin:{enumerable:true},useMap:{enumerable:true},isMap:{enumerable:true},width:{enumerable:true},height:{enumerable:true},naturalWidth:{enumerable:true},naturalHeight:{enumerable:true},complete:{enumerable:true},currentSrc:{enumerable:true},name:{enumerable:true},lowsrc:{enumerable:true},align:{enumerable:true},hspace:{enumerable:true},vspace:{enumerable:true},longDesc:{enumerable:true},border:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLImageElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLImageElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLImageElement})};const Impl=require("../nodes/HTMLImageElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../helpers/strings.js":606,"../nodes/HTMLImageElement-impl.js":676,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],468:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const SelectionMode=require("./SelectionMode.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const FileList=require("./FileList.js");const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLInputElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLInputElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLInputElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLInputElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLInputElement before HTMLElement")}class HTMLInputElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}stepUp(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'stepUp' on 'HTMLInputElement': parameter 1"})}else{curArg=1}args.push(curArg)}return esValue[implSymbol].stepUp(...args)}stepDown(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'stepDown' on 'HTMLInputElement': parameter 1"})}else{curArg=1}args.push(curArg)}return esValue[implSymbol].stepDown(...args)}checkValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setCustomValidity' on 'HTMLInputElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLInputElement': parameter 1"});args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}select(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].select()}setRangeText(replacement){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setRangeText' on 'HTMLInputElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];switch(arguments.length){case 1:{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 1"});args.push(curArg)}break;case 2:throw new TypeError("Failed to execute 'setRangeText' on 'HTMLInputElement': only "+arguments.length+" arguments present.");break;case 3:{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 3"});args.push(curArg)}break;default:{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 3"});args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){curArg=SelectionMode.convert(curArg,{context:"Failed to execute 'setRangeText' on 'HTMLInputElement': parameter 4"})}else{curArg="preserve"}args.push(curArg)}}return esValue[implSymbol].setRangeText(...args)}setSelectionRange(start,end){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'setSelectionRange' on 'HTMLInputElement': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLInputElement': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLInputElement': parameter 2"});args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLInputElement': parameter 3"})}args.push(curArg)}return esValue[implSymbol].setSelectionRange(...args)}get accept(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"accept");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set accept(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'accept' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"accept",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get alt(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"alt");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set alt(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'alt' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"alt",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get autocomplete(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"autocomplete");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autocomplete(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'autocomplete' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"autocomplete",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get autofocus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autofocus(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'autofocus' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"autofocus","")}else{esValue[implSymbol].removeAttributeNS(null,"autofocus")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get defaultChecked(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"checked")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultChecked(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'defaultChecked' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"checked","")}else{esValue[implSymbol].removeAttributeNS(null,"checked")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get checked(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["checked"]}set checked(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'checked' property on 'HTMLInputElement': The provided value"});esValue[implSymbol]["checked"]=V}get dirName(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"dirname");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dirName(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'dirName' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"dirname",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get disabled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'disabled' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"disabled","")}else{esValue[implSymbol].removeAttributeNS(null,"disabled")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get files(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["files"])}set files(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=FileList.convert(V,{context:"Failed to set the 'files' property on 'HTMLInputElement': The provided value"})}esValue[implSymbol]["files"]=V}get formNoValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"formnovalidate")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set formNoValidate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'formNoValidate' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"formnovalidate","")}else{esValue[implSymbol].removeAttributeNS(null,"formnovalidate")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get formTarget(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"formtarget");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set formTarget(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'formTarget' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"formtarget",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get indeterminate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["indeterminate"]}set indeterminate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'indeterminate' property on 'HTMLInputElement': The provided value"});esValue[implSymbol]["indeterminate"]=V}get inputMode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"inputmode");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set inputMode(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'inputMode' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"inputmode",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get list(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["list"])}get max(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"max");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set max(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'max' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"max",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get maxLength(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["maxLength"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set maxLength(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'maxLength' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["maxLength"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get min(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"min");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set min(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'min' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"min",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get minLength(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["minLength"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set minLength(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'minLength' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["minLength"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get multiple(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"multiple")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set multiple(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'multiple' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"multiple","")}else{esValue[implSymbol].removeAttributeNS(null,"multiple")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get pattern(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"pattern");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set pattern(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'pattern' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"pattern",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get placeholder(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"placeholder");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set placeholder(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'placeholder' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"placeholder",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get readOnly(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"readonly")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set readOnly(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'readOnly' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"readonly","")}else{esValue[implSymbol].removeAttributeNS(null,"readonly")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get required(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"required")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set required(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'required' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"required","")}else{esValue[implSymbol].removeAttributeNS(null,"required")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get size(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["size"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set size(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'size' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["size"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get src(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'src' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get step(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"step");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set step(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'step' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"step",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["type"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["type"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get defaultValue(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"value");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultValue(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'defaultValue' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["value"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'HTMLInputElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["value"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get valueAsDate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["valueAsDate"]}set valueAsDate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["object"](V,{context:"Failed to set the 'valueAsDate' property on 'HTMLInputElement': The provided value"})}esValue[implSymbol]["valueAsDate"]=V}get valueAsNumber(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["valueAsNumber"]}set valueAsNumber(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unrestricted double"](V,{context:"Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The provided value"});esValue[implSymbol]["valueAsNumber"]=V}get willValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["willValidate"]}get validity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["validity"])}get validationMessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["validationMessage"]}get labels(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["labels"])}get selectionStart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["selectionStart"]}set selectionStart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["unsigned long"](V,{context:"Failed to set the 'selectionStart' property on 'HTMLInputElement': The provided value"})}esValue[implSymbol]["selectionStart"]=V}get selectionEnd(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["selectionEnd"]}set selectionEnd(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["unsigned long"](V,{context:"Failed to set the 'selectionEnd' property on 'HTMLInputElement': The provided value"})}esValue[implSymbol]["selectionEnd"]=V}get selectionDirection(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["selectionDirection"]}set selectionDirection(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["DOMString"](V,{context:"Failed to set the 'selectionDirection' property on 'HTMLInputElement': The provided value"})}esValue[implSymbol]["selectionDirection"]=V}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get useMap(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"usemap");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set useMap(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'useMap' property on 'HTMLInputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"usemap",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLInputElement.prototype,{stepUp:{enumerable:true},stepDown:{enumerable:true},checkValidity:{enumerable:true},reportValidity:{enumerable:true},setCustomValidity:{enumerable:true},select:{enumerable:true},setRangeText:{enumerable:true},setSelectionRange:{enumerable:true},accept:{enumerable:true},alt:{enumerable:true},autocomplete:{enumerable:true},autofocus:{enumerable:true},defaultChecked:{enumerable:true},checked:{enumerable:true},dirName:{enumerable:true},disabled:{enumerable:true},form:{enumerable:true},files:{enumerable:true},formNoValidate:{enumerable:true},formTarget:{enumerable:true},indeterminate:{enumerable:true},inputMode:{enumerable:true},list:{enumerable:true},max:{enumerable:true},maxLength:{enumerable:true},min:{enumerable:true},minLength:{enumerable:true},multiple:{enumerable:true},name:{enumerable:true},pattern:{enumerable:true},placeholder:{enumerable:true},readOnly:{enumerable:true},required:{enumerable:true},size:{enumerable:true},src:{enumerable:true},step:{enumerable:true},type:{enumerable:true},defaultValue:{enumerable:true},value:{enumerable:true},valueAsDate:{enumerable:true},valueAsNumber:{enumerable:true},willValidate:{enumerable:true},validity:{enumerable:true},validationMessage:{enumerable:true},labels:{enumerable:true},selectionStart:{enumerable:true},selectionEnd:{enumerable:true},selectionDirection:{enumerable:true},align:{enumerable:true},useMap:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLInputElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLInputElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLInputElement})};const Impl=require("../nodes/HTMLInputElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLInputElement-impl.js":677,"./FileList.js":432,"./HTMLElement.js":455,"./SelectionMode.js":556,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],469:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseInteger_helpers_strings=require("../helpers/strings.js").parseInteger;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLLIElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLLIElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLLIElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLLIElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLLIElement before HTMLElement")}class HTMLLIElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"value");if(value===null){return 0}value=parseInteger_helpers_strings(value);return value!==null&&conversions.long(value)===value?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'value' property on 'HTMLLIElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",String(V))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLLIElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLLIElement.prototype,{value:{enumerable:true},type:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLLIElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLLIElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLLIElement})};const Impl=require("../nodes/HTMLLIElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../helpers/strings.js":606,"../nodes/HTMLLIElement-impl.js":678,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],470:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLLabelElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLLabelElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLLabelElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLLabelElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLLabelElement before HTMLElement")}class HTMLLabelElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get htmlFor(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"for");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set htmlFor(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'htmlFor' property on 'HTMLLabelElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"for",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get control(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["control"])}}Object.defineProperties(HTMLLabelElement.prototype,{form:{enumerable:true},htmlFor:{enumerable:true},control:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLLabelElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLLabelElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLLabelElement})};const Impl=require("../nodes/HTMLLabelElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLLabelElement-impl.js":679,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],471:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLLegendElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLLegendElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLLegendElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLLegendElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLLegendElement before HTMLElement")}class HTMLLegendElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLLegendElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLLegendElement.prototype,{form:{enumerable:true},align:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLLegendElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLLegendElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLLegendElement})};const Impl=require("../nodes/HTMLLegendElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLLegendElement-impl.js":680,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],472:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLLinkElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLLinkElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLLinkElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLLinkElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLLinkElement before HTMLElement")}class HTMLLinkElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get href(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"href");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set href(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'href' property on 'HTMLLinkElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"href",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get crossOrigin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"crossorigin");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set crossOrigin(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["DOMString"](V,{context:"Failed to set the 'crossOrigin' property on 'HTMLLinkElement': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"crossorigin",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rel(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rel");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rel(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'rel' property on 'HTMLLinkElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rel",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get relList(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"relList",()=>utils.tryWrapperForImpl(esValue[implSymbol]["relList"]))}set relList(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const Q=esValue["relList"];if(!utils.isObject(Q)){throw new TypeError("Property 'relList' is not an object")}Reflect.set(Q,"value",V)}get media(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"media");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set media(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'media' property on 'HTMLLinkElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"media",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hreflang(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"hreflang");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hreflang(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'hreflang' property on 'HTMLLinkElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"hreflang",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLLinkElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get charset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charset");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set charset(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'charset' property on 'HTMLLinkElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rev(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rev");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rev(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'rev' property on 'HTMLLinkElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rev",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get target(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"target");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set target(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'target' property on 'HTMLLinkElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"target",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get sheet(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["sheet"])}}Object.defineProperties(HTMLLinkElement.prototype,{href:{enumerable:true},crossOrigin:{enumerable:true},rel:{enumerable:true},relList:{enumerable:true},media:{enumerable:true},hreflang:{enumerable:true},type:{enumerable:true},charset:{enumerable:true},rev:{enumerable:true},target:{enumerable:true},sheet:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLLinkElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLLinkElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLLinkElement})};const Impl=require("../nodes/HTMLLinkElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLLinkElement-impl.js":681,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],473:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLMapElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLMapElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLMapElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLMapElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLMapElement before HTMLElement")}class HTMLMapElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLMapElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get areas(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"areas",()=>utils.tryWrapperForImpl(esValue[implSymbol]["areas"]))}}Object.defineProperties(HTMLMapElement.prototype,{name:{enumerable:true},areas:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLMapElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLMapElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLMapElement})};const Impl=require("../nodes/HTMLMapElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLMapElement-impl.js":682,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],474:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const parseNonNegativeInteger_helpers_strings=require("../helpers/strings.js").parseNonNegativeInteger;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLMarqueeElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLMarqueeElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLMarqueeElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLMarqueeElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLMarqueeElement before HTMLElement")}class HTMLMarqueeElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get behavior(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"behavior");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set behavior(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'behavior' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"behavior",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'bgColor' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get direction(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"direction");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set direction(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'direction' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"direction",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'height' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hspace(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"hspace");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hspace(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'hspace' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"hspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrollAmount(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"scrollamount");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scrollAmount(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'scrollAmount' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"scrollamount",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scrollDelay(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"scrolldelay");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scrollDelay(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'scrollDelay' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"scrolldelay",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get trueSpeed(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"truespeed")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set trueSpeed(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'trueSpeed' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"truespeed","")}else{esValue[implSymbol].removeAttributeNS(null,"truespeed")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vspace(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"vspace");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vspace(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'vspace' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"vspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'width' property on 'HTMLMarqueeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLMarqueeElement.prototype,{behavior:{enumerable:true},bgColor:{enumerable:true},direction:{enumerable:true},height:{enumerable:true},hspace:{enumerable:true},scrollAmount:{enumerable:true},scrollDelay:{enumerable:true},trueSpeed:{enumerable:true},vspace:{enumerable:true},width:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLMarqueeElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLMarqueeElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLMarqueeElement})};const Impl=require("../nodes/HTMLMarqueeElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../helpers/strings.js":606,"../nodes/HTMLMarqueeElement-impl.js":683,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],475:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const TextTrackKind=require("./TextTrackKind.js");const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLMediaElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLMediaElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLMediaElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLMediaElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLMediaElement before HTMLElement")}class HTMLMediaElement extends globalObject.HTMLElement{constructor(){throw new TypeError("Illegal constructor")}load(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].load()}canPlayType(type){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'canPlayType' on 'HTMLMediaElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'canPlayType' on 'HTMLMediaElement': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].canPlayType(...args))}play(){try{const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].play())}catch(e){return Promise.reject(e)}}pause(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].pause()}addTextTrack(kind){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'addTextTrack' on 'HTMLMediaElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=TextTrackKind.convert(curArg,{context:"Failed to execute 'addTextTrack' on 'HTMLMediaElement': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'addTextTrack' on 'HTMLMediaElement': parameter 2"})}else{curArg=""}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'addTextTrack' on 'HTMLMediaElement': parameter 3"})}else{curArg=""}args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].addTextTrack(...args))}get src(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'src' property on 'HTMLMediaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get currentSrc(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["currentSrc"]}get crossOrigin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"crossorigin");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set crossOrigin(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["DOMString"](V,{context:"Failed to set the 'crossOrigin' property on 'HTMLMediaElement': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"crossorigin",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get networkState(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["networkState"]}get preload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"preload");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set preload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'preload' property on 'HTMLMediaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"preload",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get buffered(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["buffered"])}get readyState(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["readyState"]}get seeking(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["seeking"]}get currentTime(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["currentTime"]}set currentTime(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided value"});esValue[implSymbol]["currentTime"]=V}get duration(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["duration"]}get paused(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["paused"]}get defaultPlaybackRate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["defaultPlaybackRate"]}set defaultPlaybackRate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'defaultPlaybackRate' property on 'HTMLMediaElement': The provided value"});esValue[implSymbol]["defaultPlaybackRate"]=V}get playbackRate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["playbackRate"]}set playbackRate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'playbackRate' property on 'HTMLMediaElement': The provided value"});esValue[implSymbol]["playbackRate"]=V}get played(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["played"])}get seekable(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["seekable"])}get ended(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["ended"]}get autoplay(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autoplay")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autoplay(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'autoplay' property on 'HTMLMediaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"autoplay","")}else{esValue[implSymbol].removeAttributeNS(null,"autoplay")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get loop(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"loop")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set loop(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'loop' property on 'HTMLMediaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"loop","")}else{esValue[implSymbol].removeAttributeNS(null,"loop")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get controls(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"controls")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set controls(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'controls' property on 'HTMLMediaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"controls","")}else{esValue[implSymbol].removeAttributeNS(null,"controls")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get volume(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["volume"]}set volume(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'volume' property on 'HTMLMediaElement': The provided value"});esValue[implSymbol]["volume"]=V}get muted(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["muted"]}set muted(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'muted' property on 'HTMLMediaElement': The provided value"});esValue[implSymbol]["muted"]=V}get defaultMuted(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"muted")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultMuted(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'defaultMuted' property on 'HTMLMediaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"muted","")}else{esValue[implSymbol].removeAttributeNS(null,"muted")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get audioTracks(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"audioTracks",()=>utils.tryWrapperForImpl(esValue[implSymbol]["audioTracks"]))}get videoTracks(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"videoTracks",()=>utils.tryWrapperForImpl(esValue[implSymbol]["videoTracks"]))}get textTracks(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"textTracks",()=>utils.tryWrapperForImpl(esValue[implSymbol]["textTracks"]))}}Object.defineProperties(HTMLMediaElement.prototype,{load:{enumerable:true},canPlayType:{enumerable:true},play:{enumerable:true},pause:{enumerable:true},addTextTrack:{enumerable:true},src:{enumerable:true},currentSrc:{enumerable:true},crossOrigin:{enumerable:true},networkState:{enumerable:true},preload:{enumerable:true},buffered:{enumerable:true},readyState:{enumerable:true},seeking:{enumerable:true},currentTime:{enumerable:true},duration:{enumerable:true},paused:{enumerable:true},defaultPlaybackRate:{enumerable:true},playbackRate:{enumerable:true},played:{enumerable:true},seekable:{enumerable:true},ended:{enumerable:true},autoplay:{enumerable:true},loop:{enumerable:true},controls:{enumerable:true},volume:{enumerable:true},muted:{enumerable:true},defaultMuted:{enumerable:true},audioTracks:{enumerable:true},videoTracks:{enumerable:true},textTracks:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLMediaElement",configurable:true},NETWORK_EMPTY:{value:0,enumerable:true},NETWORK_IDLE:{value:1,enumerable:true},NETWORK_LOADING:{value:2,enumerable:true},NETWORK_NO_SOURCE:{value:3,enumerable:true},HAVE_NOTHING:{value:0,enumerable:true},HAVE_METADATA:{value:1,enumerable:true},HAVE_CURRENT_DATA:{value:2,enumerable:true},HAVE_FUTURE_DATA:{value:3,enumerable:true},HAVE_ENOUGH_DATA:{value:4,enumerable:true}});Object.defineProperties(HTMLMediaElement,{NETWORK_EMPTY:{value:0,enumerable:true},NETWORK_IDLE:{value:1,enumerable:true},NETWORK_LOADING:{value:2,enumerable:true},NETWORK_NO_SOURCE:{value:3,enumerable:true},HAVE_NOTHING:{value:0,enumerable:true},HAVE_METADATA:{value:1,enumerable:true},HAVE_CURRENT_DATA:{value:2,enumerable:true},HAVE_FUTURE_DATA:{value:3,enumerable:true},HAVE_ENOUGH_DATA:{value:4,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLMediaElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLMediaElement})};const Impl=require("../nodes/HTMLMediaElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../nodes/HTMLMediaElement-impl.js":684,"./HTMLElement.js":455,"./TextTrackKind.js":568,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],476:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLMenuElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLMenuElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLMenuElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLMenuElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLMenuElement before HTMLElement")}class HTMLMenuElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get compact(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'compact' property on 'HTMLMenuElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"compact","")}else{esValue[implSymbol].removeAttributeNS(null,"compact")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLMenuElement.prototype,{compact:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLMenuElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLMenuElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLMenuElement})};const Impl=require("../nodes/HTMLMenuElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLMenuElement-impl.js":685,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],477:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLMetaElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLMetaElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLMetaElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLMetaElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLMetaElement before HTMLElement")}class HTMLMetaElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLMetaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get httpEquiv(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"http-equiv");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set httpEquiv(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'httpEquiv' property on 'HTMLMetaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"http-equiv",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get content(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"content");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set content(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'content' property on 'HTMLMetaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"content",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get scheme(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"scheme");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scheme(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'scheme' property on 'HTMLMetaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"scheme",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLMetaElement.prototype,{name:{enumerable:true},httpEquiv:{enumerable:true},content:{enumerable:true},scheme:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLMetaElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLMetaElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLMetaElement})};const Impl=require("../nodes/HTMLMetaElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLMetaElement-impl.js":686,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],478:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLMeterElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLMeterElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLMeterElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLMeterElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLMeterElement before HTMLElement")}class HTMLMeterElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["value"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'value' property on 'HTMLMeterElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["value"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get min(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["min"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set min(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'min' property on 'HTMLMeterElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["min"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get max(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["max"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set max(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'max' property on 'HTMLMeterElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["max"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get low(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["low"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set low(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'low' property on 'HTMLMeterElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["low"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get high(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["high"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set high(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'high' property on 'HTMLMeterElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["high"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get optimum(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["optimum"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set optimum(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'optimum' property on 'HTMLMeterElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["optimum"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get labels(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["labels"])}}Object.defineProperties(HTMLMeterElement.prototype,{value:{enumerable:true},min:{enumerable:true},max:{enumerable:true},low:{enumerable:true},high:{enumerable:true},optimum:{enumerable:true},labels:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLMeterElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLMeterElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLMeterElement})};const Impl=require("../nodes/HTMLMeterElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLMeterElement-impl.js":687,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],479:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLModElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLModElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLModElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLModElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLModElement before HTMLElement")}class HTMLModElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get cite(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cite");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cite(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'cite' property on 'HTMLModElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cite",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get dateTime(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"datetime");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dateTime(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'dateTime' property on 'HTMLModElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"datetime",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLModElement.prototype,{cite:{enumerable:true},dateTime:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLModElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLModElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLModElement})};const Impl=require("../nodes/HTMLModElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLModElement-impl.js":688,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],480:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLOListElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLOListElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLOListElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLOListElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLOListElement before HTMLElement")}class HTMLOListElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get reversed(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"reversed")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set reversed(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'reversed' property on 'HTMLOListElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"reversed","")}else{esValue[implSymbol].removeAttributeNS(null,"reversed")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get start(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["start"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set start(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'start' property on 'HTMLOListElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["start"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLOListElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get compact(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'compact' property on 'HTMLOListElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"compact","")}else{esValue[implSymbol].removeAttributeNS(null,"compact")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLOListElement.prototype,{reversed:{enumerable:true},start:{enumerable:true},type:{enumerable:true},compact:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLOListElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLOListElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLOListElement})};const Impl=require("../nodes/HTMLOListElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLOListElement-impl.js":689,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],481:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const parseNonNegativeInteger_helpers_strings=require("../helpers/strings.js").parseNonNegativeInteger;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLObjectElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLObjectElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLObjectElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLObjectElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLObjectElement before HTMLElement")}class HTMLObjectElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}checkValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setCustomValidity' on 'HTMLObjectElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLObjectElement': parameter 1"});args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get data(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"data");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set data(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'data' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"data",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get useMap(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"usemap");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set useMap(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'useMap' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"usemap",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'width' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'height' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get contentDocument(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["contentDocument"])}get willValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["willValidate"]}get validity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["validity"])}get validationMessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["validationMessage"]}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get archive(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"archive");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set archive(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'archive' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"archive",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get code(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"code");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set code(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'code' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"code",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get declare(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"declare")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set declare(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'declare' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"declare","")}else{esValue[implSymbol].removeAttributeNS(null,"declare")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get hspace(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"hspace");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set hspace(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'hspace' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"hspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get standby(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"standby");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set standby(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'standby' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"standby",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vspace(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"vspace");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vspace(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'vspace' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"vspace",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get codeBase(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"codebase");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set codeBase(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'codeBase' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"codebase",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get codeType(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"codetype");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set codeType(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'codeType' property on 'HTMLObjectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"codetype",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get border(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"border");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set border(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'border' property on 'HTMLObjectElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"border",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLObjectElement.prototype,{checkValidity:{enumerable:true},reportValidity:{enumerable:true},setCustomValidity:{enumerable:true},data:{enumerable:true},type:{enumerable:true},name:{enumerable:true},useMap:{enumerable:true},form:{enumerable:true},width:{enumerable:true},height:{enumerable:true},contentDocument:{enumerable:true},willValidate:{enumerable:true},validity:{enumerable:true},validationMessage:{enumerable:true},align:{enumerable:true},archive:{enumerable:true},code:{enumerable:true},declare:{enumerable:true},hspace:{enumerable:true},standby:{enumerable:true},vspace:{enumerable:true},codeBase:{enumerable:true},codeType:{enumerable:true},border:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLObjectElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLObjectElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLObjectElement})};const Impl=require("../nodes/HTMLObjectElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../helpers/strings.js":606,"../nodes/HTMLObjectElement-impl.js":690,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],482:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLOptGroupElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLOptGroupElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLOptGroupElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLOptGroupElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLOptGroupElement before HTMLElement")}class HTMLOptGroupElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get disabled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'disabled' property on 'HTMLOptGroupElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"disabled","")}else{esValue[implSymbol].removeAttributeNS(null,"disabled")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get label(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"label");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set label(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'label' property on 'HTMLOptGroupElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"label",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLOptGroupElement.prototype,{disabled:{enumerable:true},label:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLOptGroupElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLOptGroupElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLOptGroupElement})};const Impl=require("../nodes/HTMLOptGroupElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLOptGroupElement-impl.js":691,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],483:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLOptionElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLOptionElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLOptionElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLOptionElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLOptionElement before HTMLElement")}class HTMLOptionElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get disabled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'disabled' property on 'HTMLOptionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"disabled","")}else{esValue[implSymbol].removeAttributeNS(null,"disabled")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get label(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["label"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set label(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'label' property on 'HTMLOptionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["label"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get defaultSelected(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"selected")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultSelected(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'defaultSelected' property on 'HTMLOptionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"selected","")}else{esValue[implSymbol].removeAttributeNS(null,"selected")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get selected(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["selected"]}set selected(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'selected' property on 'HTMLOptionElement': The provided value"});esValue[implSymbol]["selected"]=V}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["value"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'HTMLOptionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["value"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get text(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["text"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'text' property on 'HTMLOptionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["text"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get index(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["index"]}}Object.defineProperties(HTMLOptionElement.prototype,{disabled:{enumerable:true},form:{enumerable:true},label:{enumerable:true},defaultSelected:{enumerable:true},selected:{enumerable:true},value:{enumerable:true},text:{enumerable:true},index:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLOptionElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLOptionElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLOptionElement})};const Impl=require("../nodes/HTMLOptionElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLOptionElement-impl.js":692,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],484:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLOptionElement=require("./HTMLOptionElement.js");const HTMLOptGroupElement=require("./HTMLOptGroupElement.js");const HTMLElement=require("./HTMLElement.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLCollection=require("./HTMLCollection.js");const interfaceName="HTMLOptionsCollection";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLOptionsCollection'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLOptionsCollection"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLOptionsCollection is not installed on the passed global object")}return Object.create(ctor.prototype)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);if(proxyHandler===undefined){proxyHandler=new ProxyHandler(globalObject);proxyHandlerCache.set(globalObject,proxyHandler)}return new Proxy(wrapper,proxyHandler)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLCollection._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=makeProxy(wrapper,globalObject);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=makeProxy(wrapper,globalObject);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLCollection===undefined){throw new Error("Internal error: attempting to evaluate HTMLOptionsCollection before HTMLCollection")}class HTMLOptionsCollection extends globalObject.HTMLCollection{constructor(){throw new TypeError("Illegal constructor")}add(element){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'add' on 'HTMLOptionsCollection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(HTMLOptionElement.is(curArg)||HTMLOptGroupElement.is(curArg)){curArg=utils.implForWrapper(curArg)}else{throw new TypeError("Failed to execute 'add' on 'HTMLOptionsCollection': parameter 1"+" is not of any supported type.")}args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{if(HTMLElement.is(curArg)){curArg=utils.implForWrapper(curArg)}else if(typeof curArg==="number"){curArg=conversions["long"](curArg,{context:"Failed to execute 'add' on 'HTMLOptionsCollection': parameter 2"})}else{curArg=conversions["long"](curArg,{context:"Failed to execute 'add' on 'HTMLOptionsCollection': parameter 2"})}}}else{curArg=null}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].add(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'remove' on 'HTMLOptionsCollection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["long"](curArg,{context:"Failed to execute 'remove' on 'HTMLOptionsCollection': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["length"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set length(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'length' property on 'HTMLOptionsCollection': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["length"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get selectedIndex(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["selectedIndex"]}set selectedIndex(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'selectedIndex' property on 'HTMLOptionsCollection': The provided value"});esValue[implSymbol]["selectedIndex"]=V}}Object.defineProperties(HTMLOptionsCollection.prototype,{add:{enumerable:true},remove:{enumerable:true},length:{enumerable:true},selectedIndex:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLOptionsCollection",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLOptionsCollection;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLOptionsCollection})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])}has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of target[implSymbol][utils.supportedPropertyNames]){if(!(key in target)){keys.add(`${key}`)}}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]}getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:true,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}const namedValue=target[implSymbol].namedItem(P);if(namedValue!==null&&!(P in target)&&!ignoreNamedProps){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(namedValue)}}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;let indexedValue=V;if(indexedValue===null||indexedValue===undefined){indexedValue=null}else{indexedValue=HTMLOptionElement.convert(indexedValue,{context:"Failed to set the "+index+" property on 'HTMLOptionsCollection': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const creating=!(target[implSymbol].item(index)!==null);if(creating){target[implSymbol][utils.indexedSetNew](index,indexedValue)}else{target[implSymbol][utils.indexedSetExisting](index,indexedValue)}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return true}typeof P==="string"&&!utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:true,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){if(desc.get||desc.set){return false}const index=P>>>0;let indexedValue=desc.value;if(indexedValue===null||indexedValue===undefined){indexedValue=null}else{indexedValue=HTMLOptionElement.convert(indexedValue,{context:"Failed to set the "+index+" property on 'HTMLOptionsCollection': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const creating=!(target[implSymbol].item(index)!==null);if(creating){target[implSymbol][utils.indexedSetNew](index,indexedValue)}else{target[implSymbol][utils.indexedSetExisting](index,indexedValue)}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return true}if(!utils.hasOwn(target,P)){const creating=!(target[implSymbol].namedItem(P)!==null);if(!creating){return false}}return Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}if(target[implSymbol].namedItem(P)!==null&&!(P in target)){return false}return Reflect.deleteProperty(target,P)}preventExtensions(){return false}}const Impl=require("../nodes/HTMLOptionsCollection-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/HTMLOptionsCollection-impl.js":693,"./HTMLCollection.js":447,"./HTMLElement.js":455,"./HTMLOptGroupElement.js":482,"./HTMLOptionElement.js":483,"./utils.js":584,"webidl-conversions":776}],485:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLOutputElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLOutputElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLOutputElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLOutputElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLOutputElement before HTMLElement")}class HTMLOutputElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}checkValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setCustomValidity' on 'HTMLOutputElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLOutputElement': parameter 1"});args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get htmlFor(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"htmlFor",()=>utils.tryWrapperForImpl(esValue[implSymbol]["htmlFor"]))}set htmlFor(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const Q=esValue["htmlFor"];if(!utils.isObject(Q)){throw new TypeError("Property 'htmlFor' is not an object")}Reflect.set(Q,"value",V)}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLOutputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["type"]}get defaultValue(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["defaultValue"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultValue(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'defaultValue' property on 'HTMLOutputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["defaultValue"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["value"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'HTMLOutputElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["value"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get willValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["willValidate"]}get validity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["validity"])}get validationMessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["validationMessage"]}get labels(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["labels"])}}Object.defineProperties(HTMLOutputElement.prototype,{checkValidity:{enumerable:true},reportValidity:{enumerable:true},setCustomValidity:{enumerable:true},htmlFor:{enumerable:true},form:{enumerable:true},name:{enumerable:true},type:{enumerable:true},defaultValue:{enumerable:true},value:{enumerable:true},willValidate:{enumerable:true},validity:{enumerable:true},validationMessage:{enumerable:true},labels:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLOutputElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLOutputElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLOutputElement})};const Impl=require("../nodes/HTMLOutputElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLOutputElement-impl.js":695,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],486:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLParagraphElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLParagraphElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLParagraphElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLParagraphElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLParagraphElement before HTMLElement")}class HTMLParagraphElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLParagraphElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLParagraphElement.prototype,{align:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLParagraphElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLParagraphElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLParagraphElement})};const Impl=require("../nodes/HTMLParagraphElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLParagraphElement-impl.js":696,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],487:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLParamElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLParamElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLParamElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLParamElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLParamElement before HTMLElement")}class HTMLParamElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLParamElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"value");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'HTMLParamElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"value",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLParamElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get valueType(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valuetype");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set valueType(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'valueType' property on 'HTMLParamElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valuetype",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLParamElement.prototype,{name:{enumerable:true},value:{enumerable:true},type:{enumerable:true},valueType:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLParamElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLParamElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLParamElement})};const Impl=require("../nodes/HTMLParamElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLParamElement-impl.js":697,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],488:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLPictureElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLPictureElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLPictureElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLPictureElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLPictureElement before HTMLElement")}class HTMLPictureElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}}Object.defineProperties(HTMLPictureElement.prototype,{[Symbol.toStringTag]:{value:"HTMLPictureElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLPictureElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLPictureElement})};const Impl=require("../nodes/HTMLPictureElement-impl.js")},{"../helpers/html-constructor.js":595,"../nodes/HTMLPictureElement-impl.js":698,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],489:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseInteger_helpers_strings=require("../helpers/strings.js").parseInteger;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLPreElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLPreElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLPreElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLPreElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLPreElement before HTMLElement")}class HTMLPreElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"width");if(value===null){return 0}value=parseInteger_helpers_strings(value);return value!==null&&conversions.long(value)===value?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'width' property on 'HTMLPreElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",String(V))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLPreElement.prototype,{width:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLPreElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLPreElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLPreElement})};const Impl=require("../nodes/HTMLPreElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../helpers/strings.js":606,"../nodes/HTMLPreElement-impl.js":699,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],490:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLProgressElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLProgressElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLProgressElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLProgressElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLProgressElement before HTMLElement")}class HTMLProgressElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["value"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'value' property on 'HTMLProgressElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["value"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get max(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["max"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set max(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["double"](V,{context:"Failed to set the 'max' property on 'HTMLProgressElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["max"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get position(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["position"]}get labels(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["labels"])}}Object.defineProperties(HTMLProgressElement.prototype,{value:{enumerable:true},max:{enumerable:true},position:{enumerable:true},labels:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLProgressElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLProgressElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLProgressElement})};const Impl=require("../nodes/HTMLProgressElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLProgressElement-impl.js":700,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],491:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLQuoteElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLQuoteElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLQuoteElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLQuoteElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLQuoteElement before HTMLElement")}class HTMLQuoteElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get cite(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cite");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cite(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'cite' property on 'HTMLQuoteElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cite",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLQuoteElement.prototype,{cite:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLQuoteElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLQuoteElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLQuoteElement})};const Impl=require("../nodes/HTMLQuoteElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLQuoteElement-impl.js":701,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],492:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLScriptElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLScriptElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLScriptElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLScriptElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLScriptElement before HTMLElement")}class HTMLScriptElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get src(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'src' property on 'HTMLScriptElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLScriptElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get defer(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"defer")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defer(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'defer' property on 'HTMLScriptElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"defer","")}else{esValue[implSymbol].removeAttributeNS(null,"defer")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get crossOrigin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"crossorigin");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set crossOrigin(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["DOMString"](V,{context:"Failed to set the 'crossOrigin' property on 'HTMLScriptElement': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"crossorigin",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get text(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["text"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'text' property on 'HTMLScriptElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["text"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get charset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charset");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set charset(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'charset' property on 'HTMLScriptElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get event(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"event");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set event(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'event' property on 'HTMLScriptElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"event",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get htmlFor(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"for");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set htmlFor(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'htmlFor' property on 'HTMLScriptElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"for",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLScriptElement.prototype,{src:{enumerable:true},type:{enumerable:true},defer:{enumerable:true},crossOrigin:{enumerable:true},text:{enumerable:true},charset:{enumerable:true},event:{enumerable:true},htmlFor:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLScriptElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLScriptElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLScriptElement})};const Impl=require("../nodes/HTMLScriptElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLScriptElement-impl.js":702,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],493:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const HTMLOptionElement=require("./HTMLOptionElement.js");const HTMLOptGroupElement=require("./HTMLOptGroupElement.js");const HTMLElement=require("./HTMLElement.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const parseNonNegativeInteger_helpers_strings=require("../helpers/strings.js").parseNonNegativeInteger;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="HTMLSelectElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLSelectElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLSelectElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLSelectElement is not installed on the passed global object")}return Object.create(ctor.prototype)}function makeProxy(wrapper,globalObject){let proxyHandler=proxyHandlerCache.get(globalObject);if(proxyHandler===undefined){proxyHandler=new ProxyHandler(globalObject);proxyHandlerCache.set(globalObject,proxyHandler)}return new Proxy(wrapper,proxyHandler)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=makeProxy(wrapper,globalObject);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=makeProxy(wrapper,globalObject);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLSelectElement before HTMLElement")}class HTMLSelectElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'HTMLSelectElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'HTMLSelectElement': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}namedItem(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'namedItem' on 'HTMLSelectElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'namedItem' on 'HTMLSelectElement': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].namedItem(...args))}add(element){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'add' on 'HTMLSelectElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(HTMLOptionElement.is(curArg)||HTMLOptGroupElement.is(curArg)){curArg=utils.implForWrapper(curArg)}else{throw new TypeError("Failed to execute 'add' on 'HTMLSelectElement': parameter 1"+" is not of any supported type.")}args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{if(HTMLElement.is(curArg)){curArg=utils.implForWrapper(curArg)}else if(typeof curArg==="number"){curArg=conversions["long"](curArg,{context:"Failed to execute 'add' on 'HTMLSelectElement': parameter 2"})}else{curArg=conversions["long"](curArg,{context:"Failed to execute 'add' on 'HTMLSelectElement': parameter 2"})}}}else{curArg=null}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].add(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}remove(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];switch(arguments.length){case 0:break;default:{let curArg=arguments[0];curArg=conversions["long"](curArg,{context:"Failed to execute 'remove' on 'HTMLSelectElement': parameter 1"});args.push(curArg)}}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].remove(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}checkValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setCustomValidity' on 'HTMLSelectElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLSelectElement': parameter 1"});args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}get autofocus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autofocus(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'autofocus' property on 'HTMLSelectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"autofocus","")}else{esValue[implSymbol].removeAttributeNS(null,"autofocus")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get disabled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'disabled' property on 'HTMLSelectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"disabled","")}else{esValue[implSymbol].removeAttributeNS(null,"disabled")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get multiple(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"multiple")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set multiple(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'multiple' property on 'HTMLSelectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"multiple","")}else{esValue[implSymbol].removeAttributeNS(null,"multiple")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLSelectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get required(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"required")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set required(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'required' property on 'HTMLSelectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"required","")}else{esValue[implSymbol].removeAttributeNS(null,"required")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get size(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"size");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set size(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'size' property on 'HTMLSelectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"size",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["type"]}get options(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"options",()=>utils.tryWrapperForImpl(esValue[implSymbol]["options"]))}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["length"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set length(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'length' property on 'HTMLSelectElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["length"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get selectedOptions(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"selectedOptions",()=>utils.tryWrapperForImpl(esValue[implSymbol]["selectedOptions"]))}get selectedIndex(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["selectedIndex"]}set selectedIndex(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'selectedIndex' property on 'HTMLSelectElement': The provided value"});esValue[implSymbol]["selectedIndex"]=V}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["value"]}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'HTMLSelectElement': The provided value"});esValue[implSymbol]["value"]=V}get willValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["willValidate"]}get validity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["validity"])}get validationMessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["validationMessage"]}get labels(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["labels"])}}Object.defineProperties(HTMLSelectElement.prototype,{item:{enumerable:true},namedItem:{enumerable:true},add:{enumerable:true},remove:{enumerable:true},checkValidity:{enumerable:true},reportValidity:{enumerable:true},setCustomValidity:{enumerable:true},autofocus:{enumerable:true},disabled:{enumerable:true},form:{enumerable:true},multiple:{enumerable:true},name:{enumerable:true},required:{enumerable:true},size:{enumerable:true},type:{enumerable:true},options:{enumerable:true},length:{enumerable:true},selectedOptions:{enumerable:true},selectedIndex:{enumerable:true},value:{enumerable:true},willValidate:{enumerable:true},validity:{enumerable:true},validationMessage:{enumerable:true},labels:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLSelectElement",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLSelectElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLSelectElement})};const proxyHandlerCache=new WeakMap;class ProxyHandler{constructor(globalObject){this._globalObject=globalObject}get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])}has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false}ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]}getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:true,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}return Reflect.getOwnPropertyDescriptor(target,P)}set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;let indexedValue=V;if(indexedValue===null||indexedValue===undefined){indexedValue=null}else{indexedValue=HTMLOptionElement.convert(indexedValue,{context:"Failed to set the "+index+" property on 'HTMLSelectElement': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const creating=!(target[implSymbol].item(index)!==null);if(creating){target[implSymbol][utils.indexedSetNew](index,indexedValue)}else{target[implSymbol][utils.indexedSetExisting](index,indexedValue)}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return true}}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:true,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)}defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){if(desc.get||desc.set){return false}const index=P>>>0;let indexedValue=desc.value;if(indexedValue===null||indexedValue===undefined){indexedValue=null}else{indexedValue=HTMLOptionElement.convert(indexedValue,{context:"Failed to set the "+index+" property on 'HTMLSelectElement': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const creating=!(target[implSymbol].item(index)!==null);if(creating){target[implSymbol][utils.indexedSetNew](index,indexedValue)}else{target[implSymbol][utils.indexedSetExisting](index,indexedValue)}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}return true}return Reflect.defineProperty(target,P,desc)}deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}const globalObject=this._globalObject;if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}return Reflect.deleteProperty(target,P)}preventExtensions(){return false}}const Impl=require("../nodes/HTMLSelectElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../helpers/strings.js":606,"../nodes/HTMLSelectElement-impl.js":703,"./HTMLElement.js":455,"./HTMLOptGroupElement.js":482,"./HTMLOptionElement.js":483,"./utils.js":584,"webidl-conversions":776}],494:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const AssignedNodesOptions=require("./AssignedNodesOptions.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLSlotElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLSlotElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLSlotElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLSlotElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLSlotElement before HTMLElement")}class HTMLSlotElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}assignedNodes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];curArg=AssignedNodesOptions.convert(curArg,{context:"Failed to execute 'assignedNodes' on 'HTMLSlotElement': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].assignedNodes(...args))}assignedElements(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];curArg=AssignedNodesOptions.convert(curArg,{context:"Failed to execute 'assignedElements' on 'HTMLSlotElement': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].assignedElements(...args))}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLSlotElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLSlotElement.prototype,{assignedNodes:{enumerable:true},assignedElements:{enumerable:true},name:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLSlotElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLSlotElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLSlotElement})};const Impl=require("../nodes/HTMLSlotElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLSlotElement-impl.js":704,"./AssignedNodesOptions.js":395,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],495:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLSourceElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLSourceElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLSourceElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLSourceElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLSourceElement before HTMLElement")}class HTMLSourceElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get src(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'src' property on 'HTMLSourceElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLSourceElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get srcset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"srcset");return value===null?"":conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set srcset(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'srcset' property on 'HTMLSourceElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"srcset",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get sizes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"sizes");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set sizes(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'sizes' property on 'HTMLSourceElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"sizes",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get media(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"media");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set media(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'media' property on 'HTMLSourceElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"media",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLSourceElement.prototype,{src:{enumerable:true},type:{enumerable:true},srcset:{enumerable:true},sizes:{enumerable:true},media:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLSourceElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLSourceElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLSourceElement})};const Impl=require("../nodes/HTMLSourceElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLSourceElement-impl.js":705,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],496:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLSpanElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLSpanElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLSpanElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLSpanElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLSpanElement before HTMLElement")}class HTMLSpanElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}}Object.defineProperties(HTMLSpanElement.prototype,{[Symbol.toStringTag]:{value:"HTMLSpanElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLSpanElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLSpanElement})};const Impl=require("../nodes/HTMLSpanElement-impl.js")},{"../helpers/html-constructor.js":595,"../nodes/HTMLSpanElement-impl.js":706,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],497:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLStyleElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLStyleElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLStyleElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLStyleElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLStyleElement before HTMLElement")}class HTMLStyleElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get media(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"media");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set media(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'media' property on 'HTMLStyleElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"media",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLStyleElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get sheet(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["sheet"])}}Object.defineProperties(HTMLStyleElement.prototype,{media:{enumerable:true},type:{enumerable:true},sheet:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLStyleElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLStyleElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLStyleElement})};const Impl=require("../nodes/HTMLStyleElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLStyleElement-impl.js":707,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],498:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTableCaptionElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTableCaptionElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTableCaptionElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTableCaptionElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTableCaptionElement before HTMLElement")}class HTMLTableCaptionElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLTableCaptionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableCaptionElement.prototype,{align:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTableCaptionElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTableCaptionElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTableCaptionElement})};const Impl=require("../nodes/HTMLTableCaptionElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLTableCaptionElement-impl.js":708,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],499:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTableCellElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTableCellElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTableCellElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTableCellElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTableCellElement before HTMLElement")}class HTMLTableCellElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get colSpan(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["colSpan"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set colSpan(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'colSpan' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["colSpan"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rowSpan(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["rowSpan"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rowSpan(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'rowSpan' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["rowSpan"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get headers(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"headers");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set headers(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'headers' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"headers",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get cellIndex(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["cellIndex"]}get scope(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["scope"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set scope(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'scope' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["scope"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get abbr(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"abbr");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set abbr(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'abbr' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"abbr",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get axis(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"axis");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set axis(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'axis' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"axis",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"height");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'height' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"height",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'width' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ch(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"char");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set ch(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'ch' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"char",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get chOff(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charoff");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set chOff(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'chOff' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charoff",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get noWrap(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"nowrap")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set noWrap(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'noWrap' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"nowrap","")}else{esValue[implSymbol].removeAttributeNS(null,"nowrap")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vAlign(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valign");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vAlign(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'vAlign' property on 'HTMLTableCellElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valign",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'bgColor' property on 'HTMLTableCellElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableCellElement.prototype,{colSpan:{enumerable:true},rowSpan:{enumerable:true},headers:{enumerable:true},cellIndex:{enumerable:true},scope:{enumerable:true},abbr:{enumerable:true},align:{enumerable:true},axis:{enumerable:true},height:{enumerable:true},width:{enumerable:true},ch:{enumerable:true},chOff:{enumerable:true},noWrap:{enumerable:true},vAlign:{enumerable:true},bgColor:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTableCellElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTableCellElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTableCellElement})};const Impl=require("../nodes/HTMLTableCellElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLTableCellElement-impl.js":709,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],500:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseNonNegativeInteger_helpers_strings=require("../helpers/strings.js").parseNonNegativeInteger;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTableColElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTableColElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTableColElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTableColElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTableColElement before HTMLElement")}class HTMLTableColElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get span(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"span");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set span(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'span' property on 'HTMLTableColElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"span",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLTableColElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ch(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"char");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set ch(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'ch' property on 'HTMLTableColElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"char",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get chOff(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charoff");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set chOff(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'chOff' property on 'HTMLTableColElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charoff",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vAlign(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valign");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vAlign(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'vAlign' property on 'HTMLTableColElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valign",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'width' property on 'HTMLTableColElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableColElement.prototype,{span:{enumerable:true},align:{enumerable:true},ch:{enumerable:true},chOff:{enumerable:true},vAlign:{enumerable:true},width:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTableColElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTableColElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTableColElement})};const Impl=require("../nodes/HTMLTableColElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../helpers/strings.js":606,"../nodes/HTMLTableColElement-impl.js":710,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],501:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const HTMLTableCaptionElement=require("./HTMLTableCaptionElement.js");const HTMLTableSectionElement=require("./HTMLTableSectionElement.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTableElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTableElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTableElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTableElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTableElement before HTMLElement")}class HTMLTableElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}createCaption(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].createCaption())}deleteCaption(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteCaption()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createTHead(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].createTHead())}deleteTHead(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteTHead()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createTFoot(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].createTFoot())}deleteTFoot(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteTFoot()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}createTBody(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].createTBody())}insertRow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'insertRow' on 'HTMLTableElement': parameter 1"})}else{curArg=-1}args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].insertRow(...args))}deleteRow(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'deleteRow' on 'HTMLTableElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["long"](curArg,{context:"Failed to execute 'deleteRow' on 'HTMLTableElement': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteRow(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get caption(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol]["caption"])}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set caption(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=HTMLTableCaptionElement.convert(V,{context:"Failed to set the 'caption' property on 'HTMLTableElement': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["caption"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get tHead(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol]["tHead"])}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set tHead(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=HTMLTableSectionElement.convert(V,{context:"Failed to set the 'tHead' property on 'HTMLTableElement': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["tHead"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get tFoot(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol]["tFoot"])}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set tFoot(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=HTMLTableSectionElement.convert(V,{context:"Failed to set the 'tFoot' property on 'HTMLTableElement': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["tFoot"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get tBodies(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"tBodies",()=>utils.tryWrapperForImpl(esValue[implSymbol]["tBodies"]))}get rows(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"rows",()=>utils.tryWrapperForImpl(esValue[implSymbol]["rows"]))}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLTableElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get border(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"border");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set border(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'border' property on 'HTMLTableElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"border",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get frame(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"frame");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set frame(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'frame' property on 'HTMLTableElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"frame",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rules(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"rules");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rules(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'rules' property on 'HTMLTableElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"rules",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get summary(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"summary");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set summary(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'summary' property on 'HTMLTableElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"summary",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"width");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'width' property on 'HTMLTableElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"width",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'bgColor' property on 'HTMLTableElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get cellPadding(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cellpadding");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cellPadding(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'cellPadding' property on 'HTMLTableElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cellpadding",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get cellSpacing(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"cellspacing");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cellSpacing(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'cellSpacing' property on 'HTMLTableElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"cellspacing",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableElement.prototype,{createCaption:{enumerable:true},deleteCaption:{enumerable:true},createTHead:{enumerable:true},deleteTHead:{enumerable:true},createTFoot:{enumerable:true},deleteTFoot:{enumerable:true},createTBody:{enumerable:true},insertRow:{enumerable:true},deleteRow:{enumerable:true},caption:{enumerable:true},tHead:{enumerable:true},tFoot:{enumerable:true},tBodies:{enumerable:true},rows:{enumerable:true},align:{enumerable:true},border:{enumerable:true},frame:{enumerable:true},rules:{enumerable:true},summary:{enumerable:true},width:{enumerable:true},bgColor:{enumerable:true},cellPadding:{enumerable:true},cellSpacing:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTableElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTableElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTableElement})};const Impl=require("../nodes/HTMLTableElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLTableElement-impl.js":711,"./HTMLElement.js":455,"./HTMLTableCaptionElement.js":498,"./HTMLTableSectionElement.js":503,"./utils.js":584,"webidl-conversions":776}],502:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTableRowElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTableRowElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTableRowElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTableRowElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTableRowElement before HTMLElement")}class HTMLTableRowElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}insertCell(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'insertCell' on 'HTMLTableRowElement': parameter 1"})}else{curArg=-1}args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].insertCell(...args))}deleteCell(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'deleteCell' on 'HTMLTableRowElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["long"](curArg,{context:"Failed to execute 'deleteCell' on 'HTMLTableRowElement': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteCell(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rowIndex(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["rowIndex"]}get sectionRowIndex(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["sectionRowIndex"]}get cells(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"cells",()=>utils.tryWrapperForImpl(esValue[implSymbol]["cells"]))}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLTableRowElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ch(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"char");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set ch(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'ch' property on 'HTMLTableRowElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"char",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get chOff(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charoff");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set chOff(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'chOff' property on 'HTMLTableRowElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charoff",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vAlign(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valign");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vAlign(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'vAlign' property on 'HTMLTableRowElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valign",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get bgColor(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"bgcolor");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set bgColor(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'bgColor' property on 'HTMLTableRowElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"bgcolor",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableRowElement.prototype,{insertCell:{enumerable:true},deleteCell:{enumerable:true},rowIndex:{enumerable:true},sectionRowIndex:{enumerable:true},cells:{enumerable:true},align:{enumerable:true},ch:{enumerable:true},chOff:{enumerable:true},vAlign:{enumerable:true},bgColor:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTableRowElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTableRowElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTableRowElement})};const Impl=require("../nodes/HTMLTableRowElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLTableRowElement-impl.js":712,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],503:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTableSectionElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTableSectionElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTableSectionElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTableSectionElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTableSectionElement before HTMLElement")}class HTMLTableSectionElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}insertRow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'insertRow' on 'HTMLTableSectionElement': parameter 1"})}else{curArg=-1}args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].insertRow(...args))}deleteRow(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'deleteRow' on 'HTMLTableSectionElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["long"](curArg,{context:"Failed to execute 'deleteRow' on 'HTMLTableSectionElement': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteRow(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rows(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"rows",()=>utils.tryWrapperForImpl(esValue[implSymbol]["rows"]))}get align(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"align");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set align(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'align' property on 'HTMLTableSectionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"align",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get ch(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"char");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set ch(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'ch' property on 'HTMLTableSectionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"char",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get chOff(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"charoff");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set chOff(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'chOff' property on 'HTMLTableSectionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"charoff",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get vAlign(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"valign");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set vAlign(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'vAlign' property on 'HTMLTableSectionElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"valign",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTableSectionElement.prototype,{insertRow:{enumerable:true},deleteRow:{enumerable:true},rows:{enumerable:true},align:{enumerable:true},ch:{enumerable:true},chOff:{enumerable:true},vAlign:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTableSectionElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTableSectionElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTableSectionElement})};const Impl=require("../nodes/HTMLTableSectionElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLTableSectionElement-impl.js":713,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],504:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTemplateElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTemplateElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTemplateElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTemplateElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTemplateElement before HTMLElement")}class HTMLTemplateElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get content(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["content"])}}Object.defineProperties(HTMLTemplateElement.prototype,{content:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTemplateElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTemplateElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTemplateElement})};const Impl=require("../nodes/HTMLTemplateElement-impl.js")},{"../helpers/html-constructor.js":595,"../nodes/HTMLTemplateElement-impl.js":714,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],505:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const SelectionMode=require("./SelectionMode.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const parseInteger_helpers_strings=require("../helpers/strings.js").parseInteger;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTextAreaElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTextAreaElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTextAreaElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTextAreaElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTextAreaElement before HTMLElement")}class HTMLTextAreaElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}checkValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].checkValidity()}reportValidity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].reportValidity()}setCustomValidity(error){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setCustomValidity' on 'HTMLTextAreaElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setCustomValidity' on 'HTMLTextAreaElement': parameter 1"});args.push(curArg)}return esValue[implSymbol].setCustomValidity(...args)}select(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].select()}setRangeText(replacement){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setRangeText' on 'HTMLTextAreaElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];switch(arguments.length){case 1:{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 1"});args.push(curArg)}break;case 2:throw new TypeError("Failed to execute 'setRangeText' on 'HTMLTextAreaElement': only "+arguments.length+" arguments present.");break;case 3:{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 3"});args.push(curArg)}break;default:{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 3"});args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){curArg=SelectionMode.convert(curArg,{context:"Failed to execute 'setRangeText' on 'HTMLTextAreaElement': parameter 4"})}else{curArg="preserve"}args.push(curArg)}}return esValue[implSymbol].setRangeText(...args)}setSelectionRange(start,end){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': parameter 2"});args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setSelectionRange' on 'HTMLTextAreaElement': parameter 3"})}args.push(curArg)}return esValue[implSymbol].setSelectionRange(...args)}get autocomplete(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"autocomplete");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autocomplete(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'autocomplete' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"autocomplete",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get autofocus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"autofocus")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set autofocus(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'autofocus' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"autofocus","")}else{esValue[implSymbol].removeAttributeNS(null,"autofocus")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get cols(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["cols"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set cols(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'cols' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["cols"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get dirName(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"dirname");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dirName(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'dirName' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"dirname",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get disabled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"disabled")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set disabled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'disabled' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"disabled","")}else{esValue[implSymbol].removeAttributeNS(null,"disabled")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get form(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["form"])}get inputMode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"inputmode");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set inputMode(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'inputMode' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"inputmode",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get maxLength(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"maxlength");if(value===null){return 0}value=parseInteger_helpers_strings(value);return value!==null&&conversions.long(value)===value?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set maxLength(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'maxLength' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"maxlength",String(V))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get minLength(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"minlength");if(value===null){return 0}value=parseInteger_helpers_strings(value);return value!==null&&conversions.long(value)===value?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set minLength(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'minLength' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"minlength",String(V))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"name");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set name(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'name' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"name",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get placeholder(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"placeholder");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set placeholder(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'placeholder' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"placeholder",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get readOnly(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"readonly")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set readOnly(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'readOnly' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"readonly","")}else{esValue[implSymbol].removeAttributeNS(null,"readonly")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get required(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"required")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set required(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'required' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"required","")}else{esValue[implSymbol].removeAttributeNS(null,"required")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get rows(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["rows"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set rows(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'rows' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["rows"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get wrap(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"wrap");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set wrap(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'wrap' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"wrap",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["type"]}get defaultValue(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["defaultValue"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set defaultValue(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'defaultValue' property on 'HTMLTextAreaElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["defaultValue"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["value"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'value' property on 'HTMLTextAreaElement': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["value"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get textLength(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["textLength"]}get willValidate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["willValidate"]}get validity(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["validity"])}get validationMessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["validationMessage"]}get labels(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["labels"])}get selectionStart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["selectionStart"]}set selectionStart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'selectionStart' property on 'HTMLTextAreaElement': The provided value"});esValue[implSymbol]["selectionStart"]=V}get selectionEnd(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["selectionEnd"]}set selectionEnd(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'selectionEnd' property on 'HTMLTextAreaElement': The provided value"});esValue[implSymbol]["selectionEnd"]=V}get selectionDirection(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["selectionDirection"]}set selectionDirection(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'selectionDirection' property on 'HTMLTextAreaElement': The provided value"});esValue[implSymbol]["selectionDirection"]=V}}Object.defineProperties(HTMLTextAreaElement.prototype,{checkValidity:{enumerable:true},reportValidity:{enumerable:true},setCustomValidity:{enumerable:true},select:{enumerable:true},setRangeText:{enumerable:true},setSelectionRange:{enumerable:true},autocomplete:{enumerable:true},autofocus:{enumerable:true},cols:{enumerable:true},dirName:{enumerable:true},disabled:{enumerable:true},form:{enumerable:true},inputMode:{enumerable:true},maxLength:{enumerable:true},minLength:{enumerable:true},name:{enumerable:true},placeholder:{enumerable:true},readOnly:{enumerable:true},required:{enumerable:true},rows:{enumerable:true},wrap:{enumerable:true},type:{enumerable:true},defaultValue:{enumerable:true},value:{enumerable:true},textLength:{enumerable:true},willValidate:{enumerable:true},validity:{enumerable:true},validationMessage:{enumerable:true},labels:{enumerable:true},selectionStart:{enumerable:true},selectionEnd:{enumerable:true},selectionDirection:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTextAreaElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTextAreaElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTextAreaElement})};const Impl=require("../nodes/HTMLTextAreaElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../helpers/strings.js":606,"../nodes/HTMLTextAreaElement-impl.js":715,"./HTMLElement.js":455,"./SelectionMode.js":556,"./utils.js":584,"webidl-conversions":776}],506:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTimeElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTimeElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTimeElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTimeElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTimeElement before HTMLElement")}class HTMLTimeElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get dateTime(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"datetime");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set dateTime(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'dateTime' property on 'HTMLTimeElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"datetime",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTimeElement.prototype,{dateTime:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTimeElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTimeElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTimeElement})};const Impl=require("../nodes/HTMLTimeElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLTimeElement-impl.js":716,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],507:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTitleElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTitleElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTitleElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTitleElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTitleElement before HTMLElement")}class HTMLTitleElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get text(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["text"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set text(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'text' property on 'HTMLTitleElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["text"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLTitleElement.prototype,{text:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTitleElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTitleElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTitleElement})};const Impl=require("../nodes/HTMLTitleElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLTitleElement-impl.js":717,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],508:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLTrackElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLTrackElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLTrackElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLTrackElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLTrackElement before HTMLElement")}class HTMLTrackElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get kind(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"kind");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set kind(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'kind' property on 'HTMLTrackElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"kind",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get src(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"src");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set src(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'src' property on 'HTMLTrackElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"src",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get srclang(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"srclang");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set srclang(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'srclang' property on 'HTMLTrackElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"srclang",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get label(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"label");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set label(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'label' property on 'HTMLTrackElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"label",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get default(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"default")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set default(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'default' property on 'HTMLTrackElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"default","")}else{esValue[implSymbol].removeAttributeNS(null,"default")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get readyState(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["readyState"]}}Object.defineProperties(HTMLTrackElement.prototype,{kind:{enumerable:true},src:{enumerable:true},srclang:{enumerable:true},label:{enumerable:true},default:{enumerable:true},readyState:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLTrackElement",configurable:true},NONE:{value:0,enumerable:true},LOADING:{value:1,enumerable:true},LOADED:{value:2,enumerable:true},ERROR:{value:3,enumerable:true}});Object.defineProperties(HTMLTrackElement,{NONE:{value:0,enumerable:true},LOADING:{value:1,enumerable:true},LOADED:{value:2,enumerable:true},ERROR:{value:3,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLTrackElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLTrackElement})};const Impl=require("../nodes/HTMLTrackElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../nodes/HTMLTrackElement-impl.js":718,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],509:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLUListElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLUListElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLUListElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLUListElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLUListElement before HTMLElement")}class HTMLUListElement extends globalObject.HTMLElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get compact(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"compact")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set compact(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'compact' property on 'HTMLUListElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"compact","")}else{esValue[implSymbol].removeAttributeNS(null,"compact")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"type");return value===null?"":value}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set type(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'type' property on 'HTMLUListElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"type",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLUListElement.prototype,{compact:{enumerable:true},type:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLUListElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLUListElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLUListElement})};const Impl=require("../nodes/HTMLUListElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/html-constructor.js":595,"../nodes/HTMLUListElement-impl.js":719,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],510:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLElement=require("./HTMLElement.js");const interfaceName="HTMLUnknownElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLUnknownElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLUnknownElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLUnknownElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLUnknownElement before HTMLElement")}class HTMLUnknownElement extends globalObject.HTMLElement{constructor(){throw new TypeError("Illegal constructor")}}Object.defineProperties(HTMLUnknownElement.prototype,{[Symbol.toStringTag]:{value:"HTMLUnknownElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLUnknownElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLUnknownElement})};const Impl=require("../nodes/HTMLUnknownElement-impl.js")},{"../nodes/HTMLUnknownElement-impl.js":720,"./HTMLElement.js":455,"./utils.js":584,"webidl-conversions":776}],511:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HTMLConstructor_helpers_html_constructor=require("../helpers/html-constructor.js").HTMLConstructor;const parseNonNegativeInteger_helpers_strings=require("../helpers/strings.js").parseNonNegativeInteger;const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const parseURLToResultingURLRecord_helpers_document_base_url=require("../helpers/document-base-url.js").parseURLToResultingURLRecord;const serializeURLwhatwg_url=require("whatwg-url").serializeURL;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const HTMLMediaElement=require("./HTMLMediaElement.js");const interfaceName="HTMLVideoElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HTMLVideoElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HTMLVideoElement"];if(ctor===undefined){throw new Error("Internal error: constructor HTMLVideoElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{HTMLMediaElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.HTMLMediaElement===undefined){throw new Error("Internal error: attempting to evaluate HTMLVideoElement before HTMLMediaElement")}class HTMLVideoElement extends globalObject.HTMLMediaElement{constructor(){return HTMLConstructor_helpers_html_constructor(globalObject,interfaceName,new.target)}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"width");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set width(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'width' property on 'HTMLVideoElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"width",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get height(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{let value=esValue[implSymbol].getAttributeNS(null,"height");if(value===null){return 0}value=parseNonNegativeInteger_helpers_strings(value);return value!==null&&value>=0&&value<=2147483647?value:0}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set height(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'height' property on 'HTMLVideoElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const n=V<=2147483647?V:0;esValue[implSymbol].setAttributeNS(null,"height",String(n))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get videoWidth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["videoWidth"]}get videoHeight(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["videoHeight"]}get poster(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{const value=esValue[implSymbol].getAttributeNS(null,"poster");if(value===null){return""}const urlRecord=parseURLToResultingURLRecord_helpers_document_base_url(value,esValue[implSymbol]._ownerDocument);if(urlRecord!==null){return serializeURLwhatwg_url(urlRecord)}return conversions.USVString(value)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set poster(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'poster' property on 'HTMLVideoElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol].setAttributeNS(null,"poster",V)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get playsInline(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].hasAttributeNS(null,"playsinline")}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set playsInline(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'playsInline' property on 'HTMLVideoElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{if(V){esValue[implSymbol].setAttributeNS(null,"playsinline","")}else{esValue[implSymbol].removeAttributeNS(null,"playsinline")}}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(HTMLVideoElement.prototype,{width:{enumerable:true},height:{enumerable:true},videoWidth:{enumerable:true},videoHeight:{enumerable:true},poster:{enumerable:true},playsInline:{enumerable:true},[Symbol.toStringTag]:{value:"HTMLVideoElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HTMLVideoElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HTMLVideoElement})};const Impl=require("../nodes/HTMLVideoElement-impl.js")},{"../helpers/custom-elements.js":588,"../helpers/document-base-url.js":591,"../helpers/html-constructor.js":595,"../helpers/strings.js":606,"../nodes/HTMLVideoElement-impl.js":721,"./HTMLMediaElement.js":475,"./utils.js":584,"webidl-conversions":776,"whatwg-url":1024}],512:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const HashChangeEventInit=require("./HashChangeEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="HashChangeEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'HashChangeEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["HashChangeEvent"];if(ctor===undefined){throw new Error("Internal error: constructor HashChangeEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate HashChangeEvent before Event")}class HashChangeEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'HashChangeEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'HashChangeEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=HashChangeEventInit.convert(curArg,{context:"Failed to construct 'HashChangeEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get oldURL(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["oldURL"]}get newURL(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["newURL"]}}Object.defineProperties(HashChangeEvent.prototype,{oldURL:{enumerable:true},newURL:{enumerable:true},[Symbol.toStringTag]:{value:"HashChangeEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=HashChangeEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:HashChangeEvent})};const Impl=require("../events/HashChangeEvent-impl.js")},{"../events/HashChangeEvent-impl.js":372,"./Event.js":424,"./HashChangeEventInit.js":513,"./utils.js":584,"webidl-conversions":776}],513:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="newURL";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["USVString"](value,{context:context+" has member 'newURL' that"});ret[key]=value}else{ret[key]=""}}{const key="oldURL";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["USVString"](value,{context:context+" has member 'oldURL' that"});ret[key]=value}else{ret[key]=""}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],514:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Headers";const IteratorPrototype=Object.create(utils.IteratorPrototype,{next:{value:function next(){const internal=this[utils.iterInternalSymbol];const{target:target,kind:kind,index:index}=internal;const values=Array.from(target[implSymbol]);const len=values.length;if(index>=len){return{value:undefined,done:true}}const pair=values[index];internal.index=index+1;const[key,value]=pair.map(utils.tryWrapperForImpl);let result;switch(kind){case"key":result=key;break;case"value":result=value;break;case"key+value":result=[key,value];break}return{value:result,done:false}},writable:true,enumerable:true,configurable:true},[Symbol.toStringTag]:{value:"Headers Iterator",configurable:true}});exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Headers'.`)};exports.createDefaultIterator=(target,kind)=>{const iterator=Object.create(IteratorPrototype);Object.defineProperty(iterator,utils.iterInternalSymbol,{value:{target:target,kind:kind,index:0},configurable:true});return iterator};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Headers"];if(ctor===undefined){throw new Error("Internal error: constructor Headers is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class Headers{constructor(){const args=[];{let curArg=arguments[0];if(curArg!==undefined){if(utils.isObject(curArg)){if(curArg[Symbol.iterator]!==undefined){if(!utils.isObject(curArg)){throw new TypeError("Failed to construct 'Headers': parameter 1"+" sequence"+" is not an iterable object.")}else{const V=[];const tmp=curArg;for(let nextItem of tmp){if(!utils.isObject(nextItem)){throw new TypeError("Failed to construct 'Headers': parameter 1"+" sequence"+"'s element"+" is not an iterable object.")}else{const V=[];const tmp=nextItem;for(let nextItem of tmp){nextItem=conversions["ByteString"](nextItem,{context:"Failed to construct 'Headers': parameter 1"+" sequence"+"'s element"+"'s element"});V.push(nextItem)}nextItem=V}V.push(nextItem)}curArg=V}}else{if(!utils.isObject(curArg)){throw new TypeError("Failed to construct 'Headers': parameter 1"+" record"+" is not an object.")}else{const result=Object.create(null);for(const key of Reflect.ownKeys(curArg)){const desc=Object.getOwnPropertyDescriptor(curArg,key);if(desc&&desc.enumerable){let typedKey=key;typedKey=conversions["ByteString"](typedKey,{context:"Failed to construct 'Headers': parameter 1"+" record"+"'s key"});let typedValue=curArg[key];typedValue=conversions["ByteString"](typedValue,{context:"Failed to construct 'Headers': parameter 1"+" record"+"'s value"});result[typedKey]=typedValue}}curArg=result}}}else{throw new TypeError("Failed to construct 'Headers': parameter 1"+" is not of any supported type.")}}args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}append(name,value){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'append' on 'Headers': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'append' on 'Headers': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'append' on 'Headers': parameter 2"});args.push(curArg)}return esValue[implSymbol].append(...args)}delete(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'delete' on 'Headers': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'delete' on 'Headers': parameter 1"});args.push(curArg)}return esValue[implSymbol].delete(...args)}get(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'get' on 'Headers': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'get' on 'Headers': parameter 1"});args.push(curArg)}return esValue[implSymbol].get(...args)}has(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'has' on 'Headers': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'has' on 'Headers': parameter 1"});args.push(curArg)}return esValue[implSymbol].has(...args)}set(name,value){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'set' on 'Headers': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'set' on 'Headers': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'set' on 'Headers': parameter 2"});args.push(curArg)}return esValue[implSymbol].set(...args)}keys(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return exports.createDefaultIterator(this,"key")}values(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return exports.createDefaultIterator(this,"value")}entries(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return exports.createDefaultIterator(this,"key+value")}forEach(callback){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, "+"but only 0 present.")}if(typeof callback!=="function"){throw new TypeError("Failed to execute 'forEach' on 'iterable': The callback provided "+"as parameter 1 is not a function.")}const thisArg=arguments[1];let pairs=Array.from(this[implSymbol]);let i=0;while(i<pairs.length){const[key,value]=pairs[i].map(utils.tryWrapperForImpl);callback.call(thisArg,value,key,this);pairs=Array.from(this[implSymbol]);i++}}}Object.defineProperties(Headers.prototype,{append:{enumerable:true},delete:{enumerable:true},get:{enumerable:true},has:{enumerable:true},set:{enumerable:true},keys:{enumerable:true},values:{enumerable:true},entries:{enumerable:true},forEach:{enumerable:true},[Symbol.toStringTag]:{value:"Headers",configurable:true},[Symbol.iterator]:{value:Headers.prototype.entries,configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Headers;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Headers})};const Impl=require("../fetch/Headers-impl.js")},{"../fetch/Headers-impl.js":384,"./utils.js":584,"webidl-conversions":776}],515:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="History";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'History'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["History"];if(ctor===undefined){throw new Error("Internal error: constructor History is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class History{constructor(){throw new TypeError("Illegal constructor")}go(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'go' on 'History': parameter 1"})}else{curArg=0}args.push(curArg)}return esValue[implSymbol].go(...args)}back(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].back()}forward(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].forward()}pushState(data,title){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'pushState' on 'History': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["any"](curArg,{context:"Failed to execute 'pushState' on 'History': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'pushState' on 'History': parameter 2"});args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["USVString"](curArg,{context:"Failed to execute 'pushState' on 'History': parameter 3"})}}else{curArg=null}args.push(curArg)}return esValue[implSymbol].pushState(...args)}replaceState(data,title){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'replaceState' on 'History': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["any"](curArg,{context:"Failed to execute 'replaceState' on 'History': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'replaceState' on 'History': parameter 2"});args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["USVString"](curArg,{context:"Failed to execute 'replaceState' on 'History': parameter 3"})}}else{curArg=null}args.push(curArg)}return esValue[implSymbol].replaceState(...args)}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}get state(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["state"]}}Object.defineProperties(History.prototype,{go:{enumerable:true},back:{enumerable:true},forward:{enumerable:true},pushState:{enumerable:true},replaceState:{enumerable:true},length:{enumerable:true},state:{enumerable:true},[Symbol.toStringTag]:{value:"History",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=History;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:History})};const Impl=require("../window/History-impl.js")},{"../window/History-impl.js":755,"./utils.js":584,"webidl-conversions":776}],516:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const InputEventInit=require("./InputEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const UIEvent=require("./UIEvent.js");const interfaceName="InputEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'InputEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["InputEvent"];if(ctor===undefined){throw new Error("Internal error: constructor InputEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.UIEvent===undefined){throw new Error("Internal error: attempting to evaluate InputEvent before UIEvent")}class InputEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'InputEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'InputEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=InputEventInit.convert(curArg,{context:"Failed to construct 'InputEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get data(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["data"]}get isComposing(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["isComposing"]}}Object.defineProperties(InputEvent.prototype,{data:{enumerable:true},isComposing:{enumerable:true},[Symbol.toStringTag]:{value:"InputEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=InputEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:InputEvent})};const Impl=require("../events/InputEvent-impl.js")},{"../events/InputEvent-impl.js":373,"./InputEventInit.js":517,"./UIEvent.js":572,"./utils.js":584,"webidl-conversions":776}],517:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const UIEventInit=require("./UIEventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{UIEventInit._convertInherit(obj,ret,{context:context});{const key="data";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(value===null||value===undefined){value=null}else{value=conversions["DOMString"](value,{context:context+" has member 'data' that"})}ret[key]=value}else{ret[key]=null}}{const key="isComposing";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'isComposing' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./UIEventInit.js":573,"./utils.js":584,"webidl-conversions":776}],518:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const KeyboardEventInit=require("./KeyboardEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const UIEvent=require("./UIEvent.js");const interfaceName="KeyboardEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'KeyboardEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["KeyboardEvent"];if(ctor===undefined){throw new Error("Internal error: constructor KeyboardEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.UIEvent===undefined){throw new Error("Internal error: attempting to evaluate KeyboardEvent before UIEvent")}class KeyboardEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'KeyboardEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'KeyboardEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=KeyboardEventInit.convert(curArg,{context:"Failed to construct 'KeyboardEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}getModifierState(keyArg){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getModifierState' on 'KeyboardEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getModifierState' on 'KeyboardEvent': parameter 1"});args.push(curArg)}return esValue[implSymbol].getModifierState(...args)}initKeyboardEvent(typeArg){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 2"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 3"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=utils.tryImplForWrapper(curArg)}}else{curArg=null}args.push(curArg)}{let curArg=arguments[4];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 5"})}else{curArg=""}args.push(curArg)}{let curArg=arguments[5];if(curArg!==undefined){curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 6"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[6];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 7"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[7];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 8"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[8];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 9"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[9];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initKeyboardEvent' on 'KeyboardEvent': parameter 10"})}else{curArg=false}args.push(curArg)}return esValue[implSymbol].initKeyboardEvent(...args)}get key(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["key"]}get code(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["code"]}get location(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["location"]}get ctrlKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["ctrlKey"]}get shiftKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["shiftKey"]}get altKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["altKey"]}get metaKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["metaKey"]}get repeat(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["repeat"]}get isComposing(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["isComposing"]}get charCode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["charCode"]}get keyCode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["keyCode"]}}Object.defineProperties(KeyboardEvent.prototype,{getModifierState:{enumerable:true},initKeyboardEvent:{enumerable:true},key:{enumerable:true},code:{enumerable:true},location:{enumerable:true},ctrlKey:{enumerable:true},shiftKey:{enumerable:true},altKey:{enumerable:true},metaKey:{enumerable:true},repeat:{enumerable:true},isComposing:{enumerable:true},charCode:{enumerable:true},keyCode:{enumerable:true},[Symbol.toStringTag]:{value:"KeyboardEvent",configurable:true},DOM_KEY_LOCATION_STANDARD:{value:0,enumerable:true},DOM_KEY_LOCATION_LEFT:{value:1,enumerable:true},DOM_KEY_LOCATION_RIGHT:{value:2,enumerable:true},DOM_KEY_LOCATION_NUMPAD:{value:3,enumerable:true}});Object.defineProperties(KeyboardEvent,{DOM_KEY_LOCATION_STANDARD:{value:0,enumerable:true},DOM_KEY_LOCATION_LEFT:{value:1,enumerable:true},DOM_KEY_LOCATION_RIGHT:{value:2,enumerable:true},DOM_KEY_LOCATION_NUMPAD:{value:3,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=KeyboardEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:KeyboardEvent})};const Impl=require("../events/KeyboardEvent-impl.js")},{"../events/KeyboardEvent-impl.js":374,"./KeyboardEventInit.js":519,"./UIEvent.js":572,"./utils.js":584,"webidl-conversions":776}],519:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventModifierInit=require("./EventModifierInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventModifierInit._convertInherit(obj,ret,{context:context});{const key="charCode";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long"](value,{context:context+" has member 'charCode' that"});ret[key]=value}else{ret[key]=0}}{const key="code";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["DOMString"](value,{context:context+" has member 'code' that"});ret[key]=value}else{ret[key]=""}}{const key="isComposing";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'isComposing' that"});ret[key]=value}else{ret[key]=false}}{const key="key";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["DOMString"](value,{context:context+" has member 'key' that"});ret[key]=value}else{ret[key]=""}}{const key="keyCode";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long"](value,{context:context+" has member 'keyCode' that"});ret[key]=value}else{ret[key]=0}}{const key="location";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long"](value,{context:context+" has member 'location' that"});ret[key]=value}else{ret[key]=0}}{const key="repeat";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'repeat' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventModifierInit.js":428,"./utils.js":584,"webidl-conversions":776}],520:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Location";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Location'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Location"];if(ctor===undefined){throw new Error("Internal error: constructor Location is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Object.defineProperties(wrapper,Object.getOwnPropertyDescriptors({assign(url){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'assign' on 'Location': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'assign' on 'Location': parameter 1"});args.push(curArg)}return esValue[implSymbol].assign(...args)},replace(url){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'replace' on 'Location': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'replace' on 'Location': parameter 1"});args.push(curArg)}return esValue[implSymbol].replace(...args)},reload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].reload()},get href(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["href"]},set href(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'href' property on 'Location': The provided value"});esValue[implSymbol]["href"]=V},toString(){const esValue=this;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["href"]},get origin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["origin"]},get protocol(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["protocol"]},set protocol(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'protocol' property on 'Location': The provided value"});esValue[implSymbol]["protocol"]=V},get host(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["host"]},set host(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'host' property on 'Location': The provided value"});esValue[implSymbol]["host"]=V},get hostname(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["hostname"]},set hostname(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'hostname' property on 'Location': The provided value"});esValue[implSymbol]["hostname"]=V},get port(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["port"]},set port(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'port' property on 'Location': The provided value"});esValue[implSymbol]["port"]=V},get pathname(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["pathname"]},set pathname(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'pathname' property on 'Location': The provided value"});esValue[implSymbol]["pathname"]=V},get search(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["search"]},set search(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'search' property on 'Location': The provided value"});esValue[implSymbol]["search"]=V},get hash(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["hash"]},set hash(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'hash' property on 'Location': The provided value"});esValue[implSymbol]["hash"]=V}}));Object.defineProperties(wrapper,{assign:{configurable:false,writable:false},replace:{configurable:false,writable:false},reload:{configurable:false,writable:false},href:{configurable:false},toString:{configurable:false,writable:false},origin:{configurable:false},protocol:{configurable:false},host:{configurable:false},hostname:{configurable:false},port:{configurable:false},pathname:{configurable:false},search:{configurable:false},hash:{configurable:false}})};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class Location{constructor(){throw new TypeError("Illegal constructor")}}Object.defineProperties(Location.prototype,{[Symbol.toStringTag]:{value:"Location",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Location;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Location})};const Impl=require("../window/Location-impl.js")},{"../window/Location-impl.js":756,"./utils.js":584,"webidl-conversions":776}],521:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const MessageEventInit=require("./MessageEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="MessageEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'MessageEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["MessageEvent"];if(ctor===undefined){throw new Error("Internal error: constructor MessageEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker","AudioWorklet"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate MessageEvent before Event")}class MessageEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'MessageEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'MessageEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=MessageEventInit.convert(curArg,{context:"Failed to construct 'MessageEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initMessageEvent(type){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'initMessageEvent' on 'MessageEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 2"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 3"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){curArg=conversions["any"](curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 4"})}else{curArg=null}args.push(curArg)}{let curArg=arguments[4];if(curArg!==undefined){curArg=conversions["USVString"](curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 5"})}else{curArg=""}args.push(curArg)}{let curArg=arguments[5];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 6"})}else{curArg=""}args.push(curArg)}{let curArg=arguments[6];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=utils.tryImplForWrapper(curArg)}}else{curArg=null}args.push(curArg)}{let curArg=arguments[7];if(curArg!==undefined){if(!utils.isObject(curArg)){throw new TypeError("Failed to execute 'initMessageEvent' on 'MessageEvent': parameter 8"+" is not an iterable object.")}else{const V=[];const tmp=curArg;for(let nextItem of tmp){nextItem=utils.tryImplForWrapper(nextItem);V.push(nextItem)}curArg=V}}else{curArg=[]}args.push(curArg)}return esValue[implSymbol].initMessageEvent(...args)}get data(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["data"]}get origin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["origin"]}get lastEventId(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["lastEventId"]}get source(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["source"])}get ports(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ports"])}}Object.defineProperties(MessageEvent.prototype,{initMessageEvent:{enumerable:true},data:{enumerable:true},origin:{enumerable:true},lastEventId:{enumerable:true},source:{enumerable:true},ports:{enumerable:true},[Symbol.toStringTag]:{value:"MessageEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=MessageEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:MessageEvent})};const Impl=require("../events/MessageEvent-impl.js")},{"../events/MessageEvent-impl.js":375,"./Event.js":424,"./MessageEventInit.js":522,"./utils.js":584,"webidl-conversions":776}],522:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="data";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["any"](value,{context:context+" has member 'data' that"});ret[key]=value}else{ret[key]=null}}{const key="lastEventId";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["DOMString"](value,{context:context+" has member 'lastEventId' that"});ret[key]=value}else{ret[key]=""}}{const key="origin";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["USVString"](value,{context:context+" has member 'origin' that"});ret[key]=value}else{ret[key]=""}}{const key="ports";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(!utils.isObject(value)){throw new TypeError(context+" has member 'ports' that"+" is not an iterable object.")}else{const V=[];const tmp=value;for(let nextItem of tmp){nextItem=utils.tryImplForWrapper(nextItem);V.push(nextItem)}value=V}ret[key]=value}else{ret[key]=[]}}{const key="source";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(value===null||value===undefined){value=null}else{value=utils.tryImplForWrapper(value)}ret[key]=value}else{ret[key]=null}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],523:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="MimeType";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'MimeType'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["MimeType"];if(ctor===undefined){throw new Error("Internal error: constructor MimeType is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class MimeType{constructor(){throw new TypeError("Illegal constructor")}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["type"]}get description(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["description"]}get suffixes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["suffixes"]}get enabledPlugin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["enabledPlugin"])}}Object.defineProperties(MimeType.prototype,{type:{enumerable:true},description:{enumerable:true},suffixes:{enumerable:true},enabledPlugin:{enumerable:true},[Symbol.toStringTag]:{value:"MimeType",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=MimeType;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:MimeType})};const Impl=require("../navigator/MimeType-impl.js")},{"../navigator/MimeType-impl.js":619,"./utils.js":584,"webidl-conversions":776}],524:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="MimeTypeArray";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'MimeTypeArray'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["MimeTypeArray"];if(ctor===undefined){throw new Error("Internal error: constructor MimeTypeArray is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class MimeTypeArray{constructor(){throw new TypeError("Illegal constructor")}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'MimeTypeArray': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'MimeTypeArray': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}namedItem(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'namedItem' on 'MimeTypeArray': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'namedItem' on 'MimeTypeArray': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].namedItem(...args))}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(MimeTypeArray.prototype,{item:{enumerable:true},namedItem:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"MimeTypeArray",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=MimeTypeArray;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:MimeTypeArray})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of target[implSymbol][utils.supportedPropertyNames]){if(!(key in target)){keys.add(`${key}`)}}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}const namedValue=target[implSymbol].namedItem(P);if(namedValue!==null&&!(P in target)&&!ignoreNamedProps){return{writable:false,enumerable:false,configurable:true,value:utils.tryWrapperForImpl(namedValue)}}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){utils.isArrayIndexPropName(P);typeof P==="string"&&!utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){return false}if(!utils.hasOwn(target,P)){const creating=!(target[implSymbol].namedItem(P)!==null);if(!creating){return false}}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}if(target[implSymbol].namedItem(P)!==null&&!(P in target)){return false}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../navigator/MimeTypeArray-impl.js")},{"../navigator/MimeTypeArray-impl.js":620,"./utils.js":584,"webidl-conversions":776}],525:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const MouseEventInit=require("./MouseEventInit.js");const EventTarget=require("./EventTarget.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const UIEvent=require("./UIEvent.js");const interfaceName="MouseEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'MouseEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["MouseEvent"];if(ctor===undefined){throw new Error("Internal error: constructor MouseEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.UIEvent===undefined){throw new Error("Internal error: attempting to evaluate MouseEvent before UIEvent")}class MouseEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'MouseEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'MouseEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=MouseEventInit.convert(curArg,{context:"Failed to construct 'MouseEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}getModifierState(keyArg){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getModifierState' on 'MouseEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getModifierState' on 'MouseEvent': parameter 1"});args.push(curArg)}return esValue[implSymbol].getModifierState(...args)}initMouseEvent(typeArg){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'initMouseEvent' on 'MouseEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 2"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 3"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=utils.tryImplForWrapper(curArg)}}else{curArg=null}args.push(curArg)}{let curArg=arguments[4];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 5"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[5];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 6"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[6];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 7"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[7];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 8"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[8];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 9"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[9];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 10"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[10];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 11"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[11];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 12"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[12];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 13"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[13];if(curArg!==undefined){curArg=conversions["short"](curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 14"})}else{curArg=0}args.push(curArg)}{let curArg=arguments[14];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=EventTarget.convert(curArg,{context:"Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 15"})}}else{curArg=null}args.push(curArg)}return esValue[implSymbol].initMouseEvent(...args)}get screenX(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["screenX"]}get screenY(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["screenY"]}get clientX(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["clientX"]}get clientY(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["clientY"]}get ctrlKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["ctrlKey"]}get shiftKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["shiftKey"]}get altKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["altKey"]}get metaKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["metaKey"]}get button(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["button"]}get buttons(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["buttons"]}get relatedTarget(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["relatedTarget"])}}Object.defineProperties(MouseEvent.prototype,{getModifierState:{enumerable:true},initMouseEvent:{enumerable:true},screenX:{enumerable:true},screenY:{enumerable:true},clientX:{enumerable:true},clientY:{enumerable:true},ctrlKey:{enumerable:true},shiftKey:{enumerable:true},altKey:{enumerable:true},metaKey:{enumerable:true},button:{enumerable:true},buttons:{enumerable:true},relatedTarget:{enumerable:true},[Symbol.toStringTag]:{value:"MouseEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=MouseEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:MouseEvent})};const Impl=require("../events/MouseEvent-impl.js")},{"../events/MouseEvent-impl.js":376,"./EventTarget.js":429,"./MouseEventInit.js":526,"./UIEvent.js":572,"./utils.js":584,"webidl-conversions":776}],526:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventTarget=require("./EventTarget.js");const EventModifierInit=require("./EventModifierInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventModifierInit._convertInherit(obj,ret,{context:context});{const key="button";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["short"](value,{context:context+" has member 'button' that"});ret[key]=value}else{ret[key]=0}}{const key="buttons";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned short"](value,{context:context+" has member 'buttons' that"});ret[key]=value}else{ret[key]=0}}{const key="clientX";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["long"](value,{context:context+" has member 'clientX' that"});ret[key]=value}else{ret[key]=0}}{const key="clientY";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["long"](value,{context:context+" has member 'clientY' that"});ret[key]=value}else{ret[key]=0}}{const key="relatedTarget";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(value===null||value===undefined){value=null}else{value=EventTarget.convert(value,{context:context+" has member 'relatedTarget' that"})}ret[key]=value}else{ret[key]=null}}{const key="screenX";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["long"](value,{context:context+" has member 'screenX' that"});ret[key]=value}else{ret[key]=0}}{const key="screenY";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["long"](value,{context:context+" has member 'screenY' that"});ret[key]=value}else{ret[key]=0}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventModifierInit.js":428,"./EventTarget.js":429,"./utils.js":584,"webidl-conversions":776}],527:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Node=require("./Node.js");const MutationObserverInit=require("./MutationObserverInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="MutationObserver";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'MutationObserver'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["MutationObserver"];if(ctor===undefined){throw new Error("Internal error: constructor MutationObserver is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class MutationObserver{constructor(callback){if(arguments.length<1){throw new TypeError("Failed to construct 'MutationObserver': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=utils.tryImplForWrapper(curArg);args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}observe(target){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'observe' on 'MutationObserver': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'observe' on 'MutationObserver': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=MutationObserverInit.convert(curArg,{context:"Failed to execute 'observe' on 'MutationObserver': parameter 2"});args.push(curArg)}return esValue[implSymbol].observe(...args)}disconnect(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].disconnect()}takeRecords(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].takeRecords())}}Object.defineProperties(MutationObserver.prototype,{observe:{enumerable:true},disconnect:{enumerable:true},takeRecords:{enumerable:true},[Symbol.toStringTag]:{value:"MutationObserver",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=MutationObserver;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:MutationObserver})};const Impl=require("../mutation-observer/MutationObserver-impl.js")},{"../mutation-observer/MutationObserver-impl.js":616,"./MutationObserverInit.js":528,"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],528:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="attributeFilter";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(!utils.isObject(value)){throw new TypeError(context+" has member 'attributeFilter' that"+" is not an iterable object.")}else{const V=[];const tmp=value;for(let nextItem of tmp){nextItem=conversions["DOMString"](nextItem,{context:context+" has member 'attributeFilter' that"+"'s element"});V.push(nextItem)}value=V}ret[key]=value}}{const key="attributeOldValue";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'attributeOldValue' that"});ret[key]=value}}{const key="attributes";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'attributes' that"});ret[key]=value}}{const key="characterData";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'characterData' that"});ret[key]=value}}{const key="characterDataOldValue";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'characterDataOldValue' that"});ret[key]=value}}{const key="childList";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'childList' that"});ret[key]=value}else{ret[key]=false}}{const key="subtree";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'subtree' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./utils.js":584,"webidl-conversions":776}],529:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="MutationRecord";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'MutationRecord'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["MutationRecord"];if(ctor===undefined){throw new Error("Internal error: constructor MutationRecord is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class MutationRecord{constructor(){throw new TypeError("Illegal constructor")}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["type"]}get target(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"target",()=>utils.tryWrapperForImpl(esValue[implSymbol]["target"]))}get addedNodes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"addedNodes",()=>utils.tryWrapperForImpl(esValue[implSymbol]["addedNodes"]))}get removedNodes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"removedNodes",()=>utils.tryWrapperForImpl(esValue[implSymbol]["removedNodes"]))}get previousSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["previousSibling"])}get nextSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["nextSibling"])}get attributeName(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["attributeName"]}get attributeNamespace(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["attributeNamespace"]}get oldValue(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["oldValue"]}}Object.defineProperties(MutationRecord.prototype,{type:{enumerable:true},target:{enumerable:true},addedNodes:{enumerable:true},removedNodes:{enumerable:true},previousSibling:{enumerable:true},nextSibling:{enumerable:true},attributeName:{enumerable:true},attributeNamespace:{enumerable:true},oldValue:{enumerable:true},[Symbol.toStringTag]:{value:"MutationRecord",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=MutationRecord;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:MutationRecord})};const Impl=require("../mutation-observer/MutationRecord-impl.js")},{"../mutation-observer/MutationRecord-impl.js":617,"./utils.js":584,"webidl-conversions":776}],530:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Attr=require("./Attr.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="NamedNodeMap";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'NamedNodeMap'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["NamedNodeMap"];if(ctor===undefined){throw new Error("Internal error: constructor NamedNodeMap is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class NamedNodeMap{constructor(){throw new TypeError("Illegal constructor")}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'NamedNodeMap': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'NamedNodeMap': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}getNamedItem(qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getNamedItem' on 'NamedNodeMap': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getNamedItem' on 'NamedNodeMap': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getNamedItem(...args))}getNamedItemNS(namespace,localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'getNamedItemNS' on 'NamedNodeMap': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getNamedItemNS' on 'NamedNodeMap': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getNamedItemNS' on 'NamedNodeMap': parameter 2"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getNamedItemNS(...args))}setNamedItem(attr){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setNamedItem' on 'NamedNodeMap': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Attr.convert(curArg,{context:"Failed to execute 'setNamedItem' on 'NamedNodeMap': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].setNamedItem(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}setNamedItemNS(attr){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setNamedItemNS' on 'NamedNodeMap': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Attr.convert(curArg,{context:"Failed to execute 'setNamedItemNS' on 'NamedNodeMap': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].setNamedItemNS(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeNamedItem(qualifiedName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'removeNamedItem' on 'NamedNodeMap': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'removeNamedItem' on 'NamedNodeMap': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].removeNamedItem(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeNamedItemNS(namespace,localName){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'removeNamedItemNS' on 'NamedNodeMap': parameter 2"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].removeNamedItemNS(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(NamedNodeMap.prototype,{item:{enumerable:true},getNamedItem:{enumerable:true},getNamedItemNS:{enumerable:true},setNamedItem:{enumerable:true},setNamedItemNS:{enumerable:true},removeNamedItem:{enumerable:true},removeNamedItemNS:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"NamedNodeMap",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=NamedNodeMap;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:NamedNodeMap})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of target[implSymbol][utils.supportedPropertyNames]){if(!(key in target)){keys.add(`${key}`)}}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}const namedValue=target[implSymbol].getNamedItem(P);if(namedValue!==null&&!(P in target)&&!ignoreNamedProps){return{writable:false,enumerable:false,configurable:true,value:utils.tryWrapperForImpl(namedValue)}}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){utils.isArrayIndexPropName(P);typeof P==="string"&&!utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){return false}if(!utils.hasOwn(target,P)){const creating=!(target[implSymbol].getNamedItem(P)!==null);if(!creating){return false}}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}if(target[implSymbol].getNamedItem(P)!==null&&!(P in target)){return false}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../attributes/NamedNodeMap-impl.js")},{"../attributes/NamedNodeMap-impl.js":354,"../helpers/custom-elements.js":588,"./Attr.js":396,"./utils.js":584,"webidl-conversions":776}],531:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Navigator";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Navigator'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Navigator"];if(ctor===undefined){throw new Error("Internal error: constructor Navigator is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class Navigator{constructor(){throw new TypeError("Illegal constructor")}javaEnabled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].javaEnabled()}get appCodeName(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["appCodeName"]}get appName(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["appName"]}get appVersion(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["appVersion"]}get platform(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["platform"]}get product(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["product"]}get productSub(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["productSub"]}get userAgent(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["userAgent"]}get vendor(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["vendor"]}get vendorSub(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["vendorSub"]}get language(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["language"]}get languages(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["languages"])}get onLine(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["onLine"]}get cookieEnabled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["cookieEnabled"]}get plugins(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"plugins",()=>utils.tryWrapperForImpl(esValue[implSymbol]["plugins"]))}get mimeTypes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"mimeTypes",()=>utils.tryWrapperForImpl(esValue[implSymbol]["mimeTypes"]))}get hardwareConcurrency(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["hardwareConcurrency"]}}Object.defineProperties(Navigator.prototype,{javaEnabled:{enumerable:true},appCodeName:{enumerable:true},appName:{enumerable:true},appVersion:{enumerable:true},platform:{enumerable:true},product:{enumerable:true},productSub:{enumerable:true},userAgent:{enumerable:true},vendor:{enumerable:true},vendorSub:{enumerable:true},language:{enumerable:true},languages:{enumerable:true},onLine:{enumerable:true},cookieEnabled:{enumerable:true},plugins:{enumerable:true},mimeTypes:{enumerable:true},hardwareConcurrency:{enumerable:true},[Symbol.toStringTag]:{value:"Navigator",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Navigator;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Navigator})};const Impl=require("../navigator/Navigator-impl.js")},{"../navigator/Navigator-impl.js":621,"./utils.js":584,"webidl-conversions":776}],532:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const GetRootNodeOptions=require("./GetRootNodeOptions.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const EventTarget=require("./EventTarget.js");const interfaceName="Node";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Node'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Node"];if(ctor===undefined){throw new Error("Internal error: constructor Node is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.EventTarget===undefined){throw new Error("Internal error: attempting to evaluate Node before EventTarget")}class Node extends globalObject.EventTarget{constructor(){throw new TypeError("Illegal constructor")}getRootNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];curArg=GetRootNodeOptions.convert(curArg,{context:"Failed to execute 'getRootNode' on 'Node': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getRootNode(...args))}hasChildNodes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].hasChildNodes()}normalize(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].normalize()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}cloneNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'cloneNode' on 'Node': parameter 1"})}else{curArg=false}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].cloneNode(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}isEqualNode(otherNode){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'isEqualNode' on 'Node': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=exports.convert(curArg,{context:"Failed to execute 'isEqualNode' on 'Node': parameter 1"})}args.push(curArg)}return esValue[implSymbol].isEqualNode(...args)}isSameNode(otherNode){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'isSameNode' on 'Node': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=exports.convert(curArg,{context:"Failed to execute 'isSameNode' on 'Node': parameter 1"})}args.push(curArg)}return esValue[implSymbol].isSameNode(...args)}compareDocumentPosition(other){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'compareDocumentPosition' on 'Node': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=exports.convert(curArg,{context:"Failed to execute 'compareDocumentPosition' on 'Node': parameter 1"});args.push(curArg)}return esValue[implSymbol].compareDocumentPosition(...args)}contains(other){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'contains' on 'Node': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=exports.convert(curArg,{context:"Failed to execute 'contains' on 'Node': parameter 1"})}args.push(curArg)}return esValue[implSymbol].contains(...args)}lookupPrefix(namespace){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'lookupPrefix' on 'Node': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'lookupPrefix' on 'Node': parameter 1"})}args.push(curArg)}return esValue[implSymbol].lookupPrefix(...args)}lookupNamespaceURI(prefix){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'lookupNamespaceURI' on 'Node': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'lookupNamespaceURI' on 'Node': parameter 1"})}args.push(curArg)}return esValue[implSymbol].lookupNamespaceURI(...args)}isDefaultNamespace(namespace){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'isDefaultNamespace' on 'Node': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'isDefaultNamespace' on 'Node': parameter 1"})}args.push(curArg)}return esValue[implSymbol].isDefaultNamespace(...args)}insertBefore(node,child){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'insertBefore' on 'Node': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=exports.convert(curArg,{context:"Failed to execute 'insertBefore' on 'Node': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg===null||curArg===undefined){curArg=null}else{curArg=exports.convert(curArg,{context:"Failed to execute 'insertBefore' on 'Node': parameter 2"})}args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].insertBefore(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}appendChild(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'appendChild' on 'Node': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=exports.convert(curArg,{context:"Failed to execute 'appendChild' on 'Node': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].appendChild(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}replaceChild(node,child){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'replaceChild' on 'Node': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=exports.convert(curArg,{context:"Failed to execute 'replaceChild' on 'Node': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=exports.convert(curArg,{context:"Failed to execute 'replaceChild' on 'Node': parameter 2"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].replaceChild(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}removeChild(child){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'removeChild' on 'Node': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=exports.convert(curArg,{context:"Failed to execute 'removeChild' on 'Node': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].removeChild(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get nodeType(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["nodeType"]}get nodeName(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["nodeName"]}get baseURI(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["baseURI"]}get isConnected(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["isConnected"]}get ownerDocument(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ownerDocument"])}get parentNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["parentNode"])}get parentElement(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["parentElement"])}get childNodes(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"childNodes",()=>utils.tryWrapperForImpl(esValue[implSymbol]["childNodes"]))}get firstChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["firstChild"])}get lastChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["lastChild"])}get previousSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["previousSibling"])}get nextSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["nextSibling"])}get nodeValue(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["nodeValue"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set nodeValue(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["DOMString"](V,{context:"Failed to set the 'nodeValue' property on 'Node': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["nodeValue"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get textContent(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["textContent"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set textContent(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(V===null||V===undefined){V=null}else{V=conversions["DOMString"](V,{context:"Failed to set the 'textContent' property on 'Node': The provided value"})}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["textContent"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(Node.prototype,{getRootNode:{enumerable:true},hasChildNodes:{enumerable:true},normalize:{enumerable:true},cloneNode:{enumerable:true},isEqualNode:{enumerable:true},isSameNode:{enumerable:true},compareDocumentPosition:{enumerable:true},contains:{enumerable:true},lookupPrefix:{enumerable:true},lookupNamespaceURI:{enumerable:true},isDefaultNamespace:{enumerable:true},insertBefore:{enumerable:true},appendChild:{enumerable:true},replaceChild:{enumerable:true},removeChild:{enumerable:true},nodeType:{enumerable:true},nodeName:{enumerable:true},baseURI:{enumerable:true},isConnected:{enumerable:true},ownerDocument:{enumerable:true},parentNode:{enumerable:true},parentElement:{enumerable:true},childNodes:{enumerable:true},firstChild:{enumerable:true},lastChild:{enumerable:true},previousSibling:{enumerable:true},nextSibling:{enumerable:true},nodeValue:{enumerable:true},textContent:{enumerable:true},[Symbol.toStringTag]:{value:"Node",configurable:true},ELEMENT_NODE:{value:1,enumerable:true},ATTRIBUTE_NODE:{value:2,enumerable:true},TEXT_NODE:{value:3,enumerable:true},CDATA_SECTION_NODE:{value:4,enumerable:true},ENTITY_REFERENCE_NODE:{value:5,enumerable:true},ENTITY_NODE:{value:6,enumerable:true},PROCESSING_INSTRUCTION_NODE:{value:7,enumerable:true},COMMENT_NODE:{value:8,enumerable:true},DOCUMENT_NODE:{value:9,enumerable:true},DOCUMENT_TYPE_NODE:{value:10,enumerable:true},DOCUMENT_FRAGMENT_NODE:{value:11,enumerable:true},NOTATION_NODE:{value:12,enumerable:true},DOCUMENT_POSITION_DISCONNECTED:{value:1,enumerable:true},DOCUMENT_POSITION_PRECEDING:{value:2,enumerable:true},DOCUMENT_POSITION_FOLLOWING:{value:4,enumerable:true},DOCUMENT_POSITION_CONTAINS:{value:8,enumerable:true},DOCUMENT_POSITION_CONTAINED_BY:{value:16,enumerable:true},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:32,enumerable:true}});Object.defineProperties(Node,{ELEMENT_NODE:{value:1,enumerable:true},ATTRIBUTE_NODE:{value:2,enumerable:true},TEXT_NODE:{value:3,enumerable:true},CDATA_SECTION_NODE:{value:4,enumerable:true},ENTITY_REFERENCE_NODE:{value:5,enumerable:true},ENTITY_NODE:{value:6,enumerable:true},PROCESSING_INSTRUCTION_NODE:{value:7,enumerable:true},COMMENT_NODE:{value:8,enumerable:true},DOCUMENT_NODE:{value:9,enumerable:true},DOCUMENT_TYPE_NODE:{value:10,enumerable:true},DOCUMENT_FRAGMENT_NODE:{value:11,enumerable:true},NOTATION_NODE:{value:12,enumerable:true},DOCUMENT_POSITION_DISCONNECTED:{value:1,enumerable:true},DOCUMENT_POSITION_PRECEDING:{value:2,enumerable:true},DOCUMENT_POSITION_FOLLOWING:{value:4,enumerable:true},DOCUMENT_POSITION_CONTAINS:{value:8,enumerable:true},DOCUMENT_POSITION_CONTAINED_BY:{value:16,enumerable:true},DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:{value:32,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Node;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Node})};const Impl=require("../nodes/Node-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/Node-impl.js":722,"./EventTarget.js":429,"./GetRootNodeOptions.js":438,"./utils.js":584,"webidl-conversions":776}],533:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");exports.convert=function convert(value,{context:context="The provided value"}={}){if(!utils.isObject(value)){throw new TypeError(`${context} is not an object.`)}function callTheUserObjectsOperation(node){let thisArg=utils.tryWrapperForImpl(this);let O=value;let X=O;if(typeof O!=="function"){X=O["acceptNode"];if(typeof X!=="function"){throw new TypeError(`${context} does not correctly implement NodeFilter.`)}thisArg=O}node=utils.tryWrapperForImpl(node);let callResult=Reflect.apply(X,thisArg,[node]);callResult=conversions["unsigned short"](callResult,{context:context});return callResult}callTheUserObjectsOperation[utils.wrapperSymbol]=value;callTheUserObjectsOperation.objectReference=value;return callTheUserObjectsOperation};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}const NodeFilter=()=>{throw new TypeError("Illegal invocation")};Object.defineProperties(NodeFilter,{FILTER_ACCEPT:{value:1,enumerable:true},FILTER_REJECT:{value:2,enumerable:true},FILTER_SKIP:{value:3,enumerable:true},SHOW_ALL:{value:4294967295,enumerable:true},SHOW_ELEMENT:{value:1,enumerable:true},SHOW_ATTRIBUTE:{value:2,enumerable:true},SHOW_TEXT:{value:4,enumerable:true},SHOW_CDATA_SECTION:{value:8,enumerable:true},SHOW_ENTITY_REFERENCE:{value:16,enumerable:true},SHOW_ENTITY:{value:32,enumerable:true},SHOW_PROCESSING_INSTRUCTION:{value:64,enumerable:true},SHOW_COMMENT:{value:128,enumerable:true},SHOW_DOCUMENT:{value:256,enumerable:true},SHOW_DOCUMENT_TYPE:{value:512,enumerable:true},SHOW_DOCUMENT_FRAGMENT:{value:1024,enumerable:true},SHOW_NOTATION:{value:2048,enumerable:true}});Object.defineProperty(globalObject,"NodeFilter",{configurable:true,writable:true,value:NodeFilter})}},{"./utils.js":584,"webidl-conversions":776}],534:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="NodeIterator";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'NodeIterator'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["NodeIterator"];if(ctor===undefined){throw new Error("Internal error: constructor NodeIterator is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class NodeIterator{constructor(){throw new TypeError("Illegal constructor")}nextNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].nextNode())}previousNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].previousNode())}detach(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].detach()}get root(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"root",()=>utils.tryWrapperForImpl(esValue[implSymbol]["root"]))}get referenceNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["referenceNode"])}get pointerBeforeReferenceNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["pointerBeforeReferenceNode"]}get whatToShow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["whatToShow"]}get filter(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["filter"])}}Object.defineProperties(NodeIterator.prototype,{nextNode:{enumerable:true},previousNode:{enumerable:true},detach:{enumerable:true},root:{enumerable:true},referenceNode:{enumerable:true},pointerBeforeReferenceNode:{enumerable:true},whatToShow:{enumerable:true},filter:{enumerable:true},[Symbol.toStringTag]:{value:"NodeIterator",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=NodeIterator;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:NodeIterator})};const Impl=require("../traversal/NodeIterator-impl.js")},{"../traversal/NodeIterator-impl.js":748,"./utils.js":584,"webidl-conversions":776}],535:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="NodeList";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'NodeList'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["NodeList"];if(ctor===undefined){throw new Error("Internal error: constructor NodeList is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class NodeList{constructor(){throw new TypeError("Illegal constructor")}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'NodeList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'NodeList': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(NodeList.prototype,{item:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"NodeList",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true},keys:{value:Array.prototype.keys,configurable:true,enumerable:true,writable:true},values:{value:Array.prototype[Symbol.iterator],configurable:true,enumerable:true,writable:true},entries:{value:Array.prototype.entries,configurable:true,enumerable:true,writable:true},forEach:{value:Array.prototype.forEach,configurable:true,enumerable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=NodeList;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:NodeList})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){return false}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../nodes/NodeList-impl.js")},{"../nodes/NodeList-impl.js":723,"./utils.js":584,"webidl-conversions":776}],536:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const PageTransitionEventInit=require("./PageTransitionEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="PageTransitionEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'PageTransitionEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["PageTransitionEvent"];if(ctor===undefined){throw new Error("Internal error: constructor PageTransitionEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate PageTransitionEvent before Event")}class PageTransitionEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'PageTransitionEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'PageTransitionEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=PageTransitionEventInit.convert(curArg,{context:"Failed to construct 'PageTransitionEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get persisted(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["persisted"]}}Object.defineProperties(PageTransitionEvent.prototype,{persisted:{enumerable:true},[Symbol.toStringTag]:{value:"PageTransitionEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=PageTransitionEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:PageTransitionEvent})};const Impl=require("../events/PageTransitionEvent-impl.js")},{"../events/PageTransitionEvent-impl.js":377,"./Event.js":424,"./PageTransitionEventInit.js":537,"./utils.js":584,"webidl-conversions":776}],537:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="persisted";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'persisted' that"});ret[key]=value}else{ret[key]=false}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],538:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const EventTarget=require("./EventTarget.js");const interfaceName="Performance";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Performance'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Performance"];if(ctor===undefined){throw new Error("Internal error: constructor Performance is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.EventTarget===undefined){throw new Error("Internal error: attempting to evaluate Performance before EventTarget")}class Performance extends globalObject.EventTarget{constructor(){throw new TypeError("Illegal constructor")}now(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].now())}toJSON(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].toJSON()}get timeOrigin(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["timeOrigin"])}}Object.defineProperties(Performance.prototype,{now:{enumerable:true},toJSON:{enumerable:true},timeOrigin:{enumerable:true},[Symbol.toStringTag]:{value:"Performance",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Performance;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Performance})};const Impl=require("../hr-time/Performance-impl.js")},{"../hr-time/Performance-impl.js":614,"./EventTarget.js":429,"./utils.js":584,"webidl-conversions":776}],539:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Plugin";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Plugin'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Plugin"];if(ctor===undefined){throw new Error("Internal error: constructor Plugin is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class Plugin{constructor(){throw new TypeError("Illegal constructor")}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'Plugin': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'Plugin': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}namedItem(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'namedItem' on 'Plugin': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'namedItem' on 'Plugin': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].namedItem(...args))}get name(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["name"]}get description(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["description"]}get filename(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["filename"]}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(Plugin.prototype,{item:{enumerable:true},namedItem:{enumerable:true},name:{enumerable:true},description:{enumerable:true},filename:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"Plugin",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Plugin;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Plugin})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of target[implSymbol][utils.supportedPropertyNames]){if(!(key in target)){keys.add(`${key}`)}}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}const namedValue=target[implSymbol].namedItem(P);if(namedValue!==null&&!(P in target)&&!ignoreNamedProps){return{writable:false,enumerable:false,configurable:true,value:utils.tryWrapperForImpl(namedValue)}}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){utils.isArrayIndexPropName(P);typeof P==="string"&&!utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){return false}if(!utils.hasOwn(target,P)){const creating=!(target[implSymbol].namedItem(P)!==null);if(!creating){return false}}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}if(target[implSymbol].namedItem(P)!==null&&!(P in target)){return false}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../navigator/Plugin-impl.js")},{"../navigator/Plugin-impl.js":628,"./utils.js":584,"webidl-conversions":776}],540:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="PluginArray";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'PluginArray'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["PluginArray"];if(ctor===undefined){throw new Error("Internal error: constructor PluginArray is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class PluginArray{constructor(){throw new TypeError("Illegal constructor")}refresh(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'refresh' on 'PluginArray': parameter 1"})}else{curArg=false}args.push(curArg)}return esValue[implSymbol].refresh(...args)}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'PluginArray': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'PluginArray': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}namedItem(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'namedItem' on 'PluginArray': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'namedItem' on 'PluginArray': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].namedItem(...args))}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(PluginArray.prototype,{refresh:{enumerable:true},item:{enumerable:true},namedItem:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"PluginArray",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=PluginArray;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:PluginArray})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of target[implSymbol][utils.supportedPropertyNames]){if(!(key in target)){keys.add(`${key}`)}}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}const namedValue=target[implSymbol].namedItem(P);if(namedValue!==null&&!(P in target)&&!ignoreNamedProps){return{writable:false,enumerable:false,configurable:true,value:utils.tryWrapperForImpl(namedValue)}}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){utils.isArrayIndexPropName(P);typeof P==="string"&&!utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){return false}if(!utils.hasOwn(target,P)){const creating=!(target[implSymbol].namedItem(P)!==null);if(!creating){return false}}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}if(target[implSymbol].namedItem(P)!==null&&!(P in target)){return false}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../navigator/PluginArray-impl.js")},{"../navigator/PluginArray-impl.js":629,"./utils.js":584,"webidl-conversions":776}],541:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const PopStateEventInit=require("./PopStateEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="PopStateEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'PopStateEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["PopStateEvent"];if(ctor===undefined){throw new Error("Internal error: constructor PopStateEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate PopStateEvent before Event")}class PopStateEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'PopStateEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'PopStateEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=PopStateEventInit.convert(curArg,{context:"Failed to construct 'PopStateEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get state(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["state"]}}Object.defineProperties(PopStateEvent.prototype,{state:{enumerable:true},[Symbol.toStringTag]:{value:"PopStateEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=PopStateEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:PopStateEvent})};const Impl=require("../events/PopStateEvent-impl.js")},{"../events/PopStateEvent-impl.js":378,"./Event.js":424,"./PopStateEventInit.js":542,"./utils.js":584,"webidl-conversions":776}],542:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="state";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["any"](value,{context:context+" has member 'state' that"});ret[key]=value}else{ret[key]=null}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],543:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const CharacterData=require("./CharacterData.js");const interfaceName="ProcessingInstruction";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'ProcessingInstruction'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["ProcessingInstruction"];if(ctor===undefined){throw new Error("Internal error: constructor ProcessingInstruction is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{CharacterData._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.CharacterData===undefined){throw new Error("Internal error: attempting to evaluate ProcessingInstruction before CharacterData")}class ProcessingInstruction extends globalObject.CharacterData{constructor(){throw new TypeError("Illegal constructor")}get target(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["target"]}}Object.defineProperties(ProcessingInstruction.prototype,{target:{enumerable:true},[Symbol.toStringTag]:{value:"ProcessingInstruction",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=ProcessingInstruction;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:ProcessingInstruction})};const Impl=require("../nodes/ProcessingInstruction-impl.js")},{"../nodes/ProcessingInstruction-impl.js":727,"./CharacterData.js":402,"./utils.js":584,"webidl-conversions":776}],544:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ProgressEventInit=require("./ProgressEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="ProgressEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'ProgressEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["ProgressEvent"];if(ctor===undefined){throw new Error("Internal error: constructor ProgressEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","DedicatedWorker","SharedWorker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate ProgressEvent before Event")}class ProgressEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'ProgressEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'ProgressEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=ProgressEventInit.convert(curArg,{context:"Failed to construct 'ProgressEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get lengthComputable(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["lengthComputable"]}get loaded(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["loaded"]}get total(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["total"]}}Object.defineProperties(ProgressEvent.prototype,{lengthComputable:{enumerable:true},loaded:{enumerable:true},total:{enumerable:true},[Symbol.toStringTag]:{value:"ProgressEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=ProgressEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:ProgressEvent})};const Impl=require("../events/ProgressEvent-impl.js")},{"../events/ProgressEvent-impl.js":379,"./Event.js":424,"./ProgressEventInit.js":545,"./utils.js":584,"webidl-conversions":776}],545:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="lengthComputable";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["boolean"](value,{context:context+" has member 'lengthComputable' that"});ret[key]=value}else{ret[key]=false}}{const key="loaded";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long long"](value,{context:context+" has member 'loaded' that"});ret[key]=value}else{ret[key]=0}}{const key="total";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long long"](value,{context:context+" has member 'total' that"});ret[key]=value}else{ret[key]=0}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],546:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Node=require("./Node.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const AbstractRange=require("./AbstractRange.js");const interfaceName="Range";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Range'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Range"];if(ctor===undefined){throw new Error("Internal error: constructor Range is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{AbstractRange._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.AbstractRange===undefined){throw new Error("Internal error: attempting to evaluate Range before AbstractRange")}class Range extends globalObject.AbstractRange{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,undefined)}setStart(node,offset){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'setStart' on 'Range': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'setStart' on 'Range': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setStart' on 'Range': parameter 2"});args.push(curArg)}return esValue[implSymbol].setStart(...args)}setEnd(node,offset){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'setEnd' on 'Range': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'setEnd' on 'Range': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setEnd' on 'Range': parameter 2"});args.push(curArg)}return esValue[implSymbol].setEnd(...args)}setStartBefore(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setStartBefore' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'setStartBefore' on 'Range': parameter 1"});args.push(curArg)}return esValue[implSymbol].setStartBefore(...args)}setStartAfter(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setStartAfter' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'setStartAfter' on 'Range': parameter 1"});args.push(curArg)}return esValue[implSymbol].setStartAfter(...args)}setEndBefore(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setEndBefore' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'setEndBefore' on 'Range': parameter 1"});args.push(curArg)}return esValue[implSymbol].setEndBefore(...args)}setEndAfter(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setEndAfter' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'setEndAfter' on 'Range': parameter 1"});args.push(curArg)}return esValue[implSymbol].setEndAfter(...args)}collapse(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'collapse' on 'Range': parameter 1"})}else{curArg=false}args.push(curArg)}return esValue[implSymbol].collapse(...args)}selectNode(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'selectNode' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'selectNode' on 'Range': parameter 1"});args.push(curArg)}return esValue[implSymbol].selectNode(...args)}selectNodeContents(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'selectNodeContents' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'selectNodeContents' on 'Range': parameter 1"});args.push(curArg)}return esValue[implSymbol].selectNodeContents(...args)}compareBoundaryPoints(how,sourceRange){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'compareBoundaryPoints' on 'Range': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned short"](curArg,{context:"Failed to execute 'compareBoundaryPoints' on 'Range': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=exports.convert(curArg,{context:"Failed to execute 'compareBoundaryPoints' on 'Range': parameter 2"});args.push(curArg)}return esValue[implSymbol].compareBoundaryPoints(...args)}deleteContents(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteContents()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}extractContents(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].extractContents())}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}cloneContents(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].cloneContents())}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}insertNode(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'insertNode' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'insertNode' on 'Range': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].insertNode(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}surroundContents(newParent){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'surroundContents' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'surroundContents' on 'Range': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].surroundContents(...args)}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}cloneRange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].cloneRange())}detach(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].detach()}isPointInRange(node,offset){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'isPointInRange' on 'Range': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'isPointInRange' on 'Range': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'isPointInRange' on 'Range': parameter 2"});args.push(curArg)}return esValue[implSymbol].isPointInRange(...args)}comparePoint(node,offset){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'comparePoint' on 'Range': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'comparePoint' on 'Range': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'comparePoint' on 'Range': parameter 2"});args.push(curArg)}return esValue[implSymbol].comparePoint(...args)}intersectsNode(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'intersectsNode' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'intersectsNode' on 'Range': parameter 1"});args.push(curArg)}return esValue[implSymbol].intersectsNode(...args)}toString(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].toString()}createContextualFragment(fragment){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'createContextualFragment' on 'Range': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'createContextualFragment' on 'Range': parameter 1"});args.push(curArg)}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return utils.tryWrapperForImpl(esValue[implSymbol].createContextualFragment(...args))}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get commonAncestorContainer(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["commonAncestorContainer"])}}Object.defineProperties(Range.prototype,{setStart:{enumerable:true},setEnd:{enumerable:true},setStartBefore:{enumerable:true},setStartAfter:{enumerable:true},setEndBefore:{enumerable:true},setEndAfter:{enumerable:true},collapse:{enumerable:true},selectNode:{enumerable:true},selectNodeContents:{enumerable:true},compareBoundaryPoints:{enumerable:true},deleteContents:{enumerable:true},extractContents:{enumerable:true},cloneContents:{enumerable:true},insertNode:{enumerable:true},surroundContents:{enumerable:true},cloneRange:{enumerable:true},detach:{enumerable:true},isPointInRange:{enumerable:true},comparePoint:{enumerable:true},intersectsNode:{enumerable:true},toString:{enumerable:true},createContextualFragment:{enumerable:true},commonAncestorContainer:{enumerable:true},[Symbol.toStringTag]:{value:"Range",configurable:true},START_TO_START:{value:0,enumerable:true},START_TO_END:{value:1,enumerable:true},END_TO_END:{value:2,enumerable:true},END_TO_START:{value:3,enumerable:true}});Object.defineProperties(Range,{START_TO_START:{value:0,enumerable:true},START_TO_END:{value:1,enumerable:true},END_TO_END:{value:2,enumerable:true},END_TO_START:{value:3,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Range;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Range})};const Impl=require("../range/Range-impl.js")},{"../helpers/custom-elements.js":588,"../range/Range-impl.js":740,"./AbstractRange.js":393,"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],547:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="SVGAnimatedString";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'SVGAnimatedString'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["SVGAnimatedString"];if(ctor===undefined){throw new Error("Internal error: constructor SVGAnimatedString is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class SVGAnimatedString{constructor(){throw new TypeError("Illegal constructor")}get baseVal(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["baseVal"]}set baseVal(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'baseVal' property on 'SVGAnimatedString': The provided value"});esValue[implSymbol]["baseVal"]=V}get animVal(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["animVal"]}}Object.defineProperties(SVGAnimatedString.prototype,{baseVal:{enumerable:true},animVal:{enumerable:true},[Symbol.toStringTag]:{value:"SVGAnimatedString",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=SVGAnimatedString;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:SVGAnimatedString})};const Impl=require("../svg/SVGAnimatedString-impl.js")},{"../svg/SVGAnimatedString-impl.js":744,"./utils.js":584,"webidl-conversions":776}],548:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Element=require("./Element.js");const interfaceName="SVGElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'SVGElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["SVGElement"];if(ctor===undefined){throw new Error("Internal error: constructor SVGElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Element._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Element===undefined){throw new Error("Internal error: attempting to evaluate SVGElement before Element")}class SVGElement extends globalObject.Element{constructor(){throw new TypeError("Illegal constructor")}focus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].focus()}blur(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].blur()}get className(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"className",()=>utils.tryWrapperForImpl(esValue[implSymbol]["className"]))}get ownerSVGElement(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ownerSVGElement"])}get viewportElement(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["viewportElement"])}get style(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"style",()=>utils.tryWrapperForImpl(esValue[implSymbol]["style"]))}set style(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const Q=esValue["style"];if(!utils.isObject(Q)){throw new TypeError("Property 'style' is not an object")}Reflect.set(Q,"cssText",V)}get onabort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onabort"])}set onabort(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onabort"]=V}get onauxclick(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onauxclick"])}set onauxclick(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onauxclick"]=V}get onblur(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onblur"])}set onblur(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onblur"]=V}get oncancel(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncancel"])}set oncancel(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncancel"]=V}get oncanplay(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncanplay"])}set oncanplay(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncanplay"]=V}get oncanplaythrough(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncanplaythrough"])}set oncanplaythrough(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncanplaythrough"]=V}get onchange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onchange"])}set onchange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onchange"]=V}get onclick(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onclick"])}set onclick(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onclick"]=V}get onclose(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onclose"])}set onclose(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onclose"]=V}get oncontextmenu(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncontextmenu"])}set oncontextmenu(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncontextmenu"]=V}get oncuechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oncuechange"])}set oncuechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oncuechange"]=V}get ondblclick(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondblclick"])}set ondblclick(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondblclick"]=V}get ondrag(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondrag"])}set ondrag(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondrag"]=V}get ondragend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragend"])}set ondragend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragend"]=V}get ondragenter(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragenter"])}set ondragenter(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragenter"]=V}get ondragexit(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragexit"])}set ondragexit(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragexit"]=V}get ondragleave(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragleave"])}set ondragleave(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragleave"]=V}get ondragover(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragover"])}set ondragover(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragover"]=V}get ondragstart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondragstart"])}set ondragstart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondragstart"]=V}get ondrop(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondrop"])}set ondrop(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondrop"]=V}get ondurationchange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ondurationchange"])}set ondurationchange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ondurationchange"]=V}get onemptied(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onemptied"])}set onemptied(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onemptied"]=V}get onended(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onended"])}set onended(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onended"]=V}get onerror(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onerror"])}set onerror(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onerror"]=V}get onfocus(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onfocus"])}set onfocus(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onfocus"]=V}get oninput(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oninput"])}set oninput(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oninput"]=V}get oninvalid(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["oninvalid"])}set oninvalid(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["oninvalid"]=V}get onkeydown(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onkeydown"])}set onkeydown(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onkeydown"]=V}get onkeypress(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onkeypress"])}set onkeypress(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onkeypress"]=V}get onkeyup(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onkeyup"])}set onkeyup(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onkeyup"]=V}get onload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onload"])}set onload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onload"]=V}get onloadeddata(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadeddata"])}set onloadeddata(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadeddata"]=V}get onloadedmetadata(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadedmetadata"])}set onloadedmetadata(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadedmetadata"]=V}get onloadend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadend"])}set onloadend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadend"]=V}get onloadstart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadstart"])}set onloadstart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadstart"]=V}get onmousedown(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmousedown"])}set onmousedown(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmousedown"]=V}get onmouseenter(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseenter"])}set onmouseenter(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseenter"]=V}get onmouseleave(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseleave"])}set onmouseleave(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){return}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseleave"]=V}get onmousemove(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmousemove"])}set onmousemove(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmousemove"]=V}get onmouseout(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseout"])}set onmouseout(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseout"]=V}get onmouseover(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseover"])}set onmouseover(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseover"]=V}get onmouseup(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmouseup"])}set onmouseup(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmouseup"]=V}get onwheel(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onwheel"])}set onwheel(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onwheel"]=V}get onpause(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpause"])}set onpause(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpause"]=V}get onplay(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onplay"])}set onplay(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onplay"]=V}get onplaying(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onplaying"])}set onplaying(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onplaying"]=V}get onprogress(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onprogress"])}set onprogress(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onprogress"]=V}get onratechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onratechange"])}set onratechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onratechange"]=V}get onreset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onreset"])}set onreset(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onreset"]=V}get onresize(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onresize"])}set onresize(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onresize"]=V}get onscroll(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onscroll"])}set onscroll(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onscroll"]=V}get onsecuritypolicyviolation(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onsecuritypolicyviolation"])}set onsecuritypolicyviolation(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onsecuritypolicyviolation"]=V}get onseeked(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onseeked"])}set onseeked(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onseeked"]=V}get onseeking(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onseeking"])}set onseeking(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onseeking"]=V}get onselect(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onselect"])}set onselect(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onselect"]=V}get onstalled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onstalled"])}set onstalled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onstalled"]=V}get onsubmit(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onsubmit"])}set onsubmit(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onsubmit"]=V}get onsuspend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onsuspend"])}set onsuspend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onsuspend"]=V}get ontimeupdate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ontimeupdate"])}set ontimeupdate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ontimeupdate"]=V}get ontoggle(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ontoggle"])}set ontoggle(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ontoggle"]=V}get onvolumechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onvolumechange"])}set onvolumechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onvolumechange"]=V}get onwaiting(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onwaiting"])}set onwaiting(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onwaiting"]=V}get dataset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"dataset",()=>utils.tryWrapperForImpl(esValue[implSymbol]["dataset"]))}get nonce(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const value=esValue[implSymbol].getAttributeNS(null,"nonce");return value===null?"":value}set nonce(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'nonce' property on 'SVGElement': The provided value"});esValue[implSymbol].setAttributeNS(null,"nonce",V)}get tabIndex(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["tabIndex"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set tabIndex(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["long"](V,{context:"Failed to set the 'tabIndex' property on 'SVGElement': The provided value"});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["tabIndex"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}}Object.defineProperties(SVGElement.prototype,{focus:{enumerable:true},blur:{enumerable:true},className:{enumerable:true},ownerSVGElement:{enumerable:true},viewportElement:{enumerable:true},style:{enumerable:true},onabort:{enumerable:true},onauxclick:{enumerable:true},onblur:{enumerable:true},oncancel:{enumerable:true},oncanplay:{enumerable:true},oncanplaythrough:{enumerable:true},onchange:{enumerable:true},onclick:{enumerable:true},onclose:{enumerable:true},oncontextmenu:{enumerable:true},oncuechange:{enumerable:true},ondblclick:{enumerable:true},ondrag:{enumerable:true},ondragend:{enumerable:true},ondragenter:{enumerable:true},ondragexit:{enumerable:true},ondragleave:{enumerable:true},ondragover:{enumerable:true},ondragstart:{enumerable:true},ondrop:{enumerable:true},ondurationchange:{enumerable:true},onemptied:{enumerable:true},onended:{enumerable:true},onerror:{enumerable:true},onfocus:{enumerable:true},oninput:{enumerable:true},oninvalid:{enumerable:true},onkeydown:{enumerable:true},onkeypress:{enumerable:true},onkeyup:{enumerable:true},onload:{enumerable:true},onloadeddata:{enumerable:true},onloadedmetadata:{enumerable:true},onloadend:{enumerable:true},onloadstart:{enumerable:true},onmousedown:{enumerable:true},onmouseenter:{enumerable:true},onmouseleave:{enumerable:true},onmousemove:{enumerable:true},onmouseout:{enumerable:true},onmouseover:{enumerable:true},onmouseup:{enumerable:true},onwheel:{enumerable:true},onpause:{enumerable:true},onplay:{enumerable:true},onplaying:{enumerable:true},onprogress:{enumerable:true},onratechange:{enumerable:true},onreset:{enumerable:true},onresize:{enumerable:true},onscroll:{enumerable:true},onsecuritypolicyviolation:{enumerable:true},onseeked:{enumerable:true},onseeking:{enumerable:true},onselect:{enumerable:true},onstalled:{enumerable:true},onsubmit:{enumerable:true},onsuspend:{enumerable:true},ontimeupdate:{enumerable:true},ontoggle:{enumerable:true},onvolumechange:{enumerable:true},onwaiting:{enumerable:true},dataset:{enumerable:true},nonce:{enumerable:true},tabIndex:{enumerable:true},[Symbol.toStringTag]:{value:"SVGElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=SVGElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:SVGElement})};const Impl=require("../nodes/SVGElement-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/SVGElement-impl.js":728,"./Element.js":418,"./utils.js":584,"webidl-conversions":776}],549:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const SVGElement=require("./SVGElement.js");const interfaceName="SVGGraphicsElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'SVGGraphicsElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["SVGGraphicsElement"];if(ctor===undefined){throw new Error("Internal error: constructor SVGGraphicsElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{SVGElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.SVGElement===undefined){throw new Error("Internal error: attempting to evaluate SVGGraphicsElement before SVGElement")}class SVGGraphicsElement extends globalObject.SVGElement{constructor(){throw new TypeError("Illegal constructor")}get requiredExtensions(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"requiredExtensions",()=>utils.tryWrapperForImpl(esValue[implSymbol]["requiredExtensions"]))}get systemLanguage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"systemLanguage",()=>utils.tryWrapperForImpl(esValue[implSymbol]["systemLanguage"]))}}Object.defineProperties(SVGGraphicsElement.prototype,{requiredExtensions:{enumerable:true},systemLanguage:{enumerable:true},[Symbol.toStringTag]:{value:"SVGGraphicsElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=SVGGraphicsElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:SVGGraphicsElement})};const Impl=require("../nodes/SVGGraphicsElement-impl.js")},{"../nodes/SVGGraphicsElement-impl.js":729,"./SVGElement.js":548,"./utils.js":584,"webidl-conversions":776}],550:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="SVGNumber";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'SVGNumber'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["SVGNumber"];if(ctor===undefined){throw new Error("Internal error: constructor SVGNumber is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class SVGNumber{constructor(){throw new TypeError("Illegal constructor")}get value(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["value"]}set value(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["float"](V,{context:"Failed to set the 'value' property on 'SVGNumber': The provided value"});esValue[implSymbol]["value"]=V}}Object.defineProperties(SVGNumber.prototype,{value:{enumerable:true},[Symbol.toStringTag]:{value:"SVGNumber",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=SVGNumber;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:SVGNumber})};const Impl=require("../svg/SVGNumber-impl.js")},{"../svg/SVGNumber-impl.js":746,"./utils.js":584,"webidl-conversions":776}],551:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const SVGGraphicsElement=require("./SVGGraphicsElement.js");const interfaceName="SVGSVGElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'SVGSVGElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["SVGSVGElement"];if(ctor===undefined){throw new Error("Internal error: constructor SVGSVGElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{SVGGraphicsElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.SVGGraphicsElement===undefined){throw new Error("Internal error: attempting to evaluate SVGSVGElement before SVGGraphicsElement")}class SVGSVGElement extends globalObject.SVGGraphicsElement{constructor(){throw new TypeError("Illegal constructor")}createSVGNumber(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].createSVGNumber())}getElementById(elementId){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getElementById' on 'SVGSVGElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getElementById' on 'SVGSVGElement': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getElementById(...args))}suspendRedraw(maxWaitMilliseconds){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'suspendRedraw' on 'SVGSVGElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'suspendRedraw' on 'SVGSVGElement': parameter 1"});args.push(curArg)}return esValue[implSymbol].suspendRedraw(...args)}unsuspendRedraw(suspendHandleID){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'unsuspendRedraw' on 'SVGSVGElement': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'unsuspendRedraw' on 'SVGSVGElement': parameter 1"});args.push(curArg)}return esValue[implSymbol].unsuspendRedraw(...args)}unsuspendRedrawAll(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].unsuspendRedrawAll()}forceRedraw(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].forceRedraw()}get onafterprint(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onafterprint"])}set onafterprint(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onafterprint"]=V}get onbeforeprint(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onbeforeprint"])}set onbeforeprint(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onbeforeprint"]=V}get onbeforeunload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onbeforeunload"])}set onbeforeunload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onbeforeunload"]=V}get onhashchange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onhashchange"])}set onhashchange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onhashchange"]=V}get onlanguagechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onlanguagechange"])}set onlanguagechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onlanguagechange"]=V}get onmessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmessage"])}set onmessage(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmessage"]=V}get onmessageerror(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmessageerror"])}set onmessageerror(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmessageerror"]=V}get onoffline(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onoffline"])}set onoffline(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onoffline"]=V}get ononline(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ononline"])}set ononline(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ononline"]=V}get onpagehide(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpagehide"])}set onpagehide(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpagehide"]=V}get onpageshow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpageshow"])}set onpageshow(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpageshow"]=V}get onpopstate(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onpopstate"])}set onpopstate(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onpopstate"]=V}get onrejectionhandled(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onrejectionhandled"])}set onrejectionhandled(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onrejectionhandled"]=V}get onstorage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onstorage"])}set onstorage(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onstorage"]=V}get onunhandledrejection(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onunhandledrejection"])}set onunhandledrejection(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onunhandledrejection"]=V}get onunload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onunload"])}set onunload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onunload"]=V}}Object.defineProperties(SVGSVGElement.prototype,{createSVGNumber:{enumerable:true},getElementById:{enumerable:true},suspendRedraw:{enumerable:true},unsuspendRedraw:{enumerable:true},unsuspendRedrawAll:{enumerable:true},forceRedraw:{enumerable:true},onafterprint:{enumerable:true},onbeforeprint:{enumerable:true},onbeforeunload:{enumerable:true},onhashchange:{enumerable:true},onlanguagechange:{enumerable:true},onmessage:{enumerable:true},onmessageerror:{enumerable:true},onoffline:{enumerable:true},ononline:{enumerable:true},onpagehide:{enumerable:true},onpageshow:{enumerable:true},onpopstate:{enumerable:true},onrejectionhandled:{enumerable:true},onstorage:{enumerable:true},onunhandledrejection:{enumerable:true},onunload:{enumerable:true},[Symbol.toStringTag]:{value:"SVGSVGElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=SVGSVGElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:SVGSVGElement})};const Impl=require("../nodes/SVGSVGElement-impl.js")},{"../nodes/SVGSVGElement-impl.js":730,"./SVGGraphicsElement.js":549,"./utils.js":584,"webidl-conversions":776}],552:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="SVGStringList";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'SVGStringList'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["SVGStringList"];if(ctor===undefined){throw new Error("Internal error: constructor SVGStringList is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class SVGStringList{constructor(){throw new TypeError("Illegal constructor")}clear(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].clear()}initialize(newItem){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'initialize' on 'SVGStringList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initialize' on 'SVGStringList': parameter 1"});args.push(curArg)}return esValue[implSymbol].initialize(...args)}getItem(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getItem' on 'SVGStringList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'getItem' on 'SVGStringList': parameter 1"});args.push(curArg)}return esValue[implSymbol].getItem(...args)}insertItemBefore(newItem,index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'insertItemBefore' on 'SVGStringList': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'insertItemBefore' on 'SVGStringList': parameter 2"});args.push(curArg)}return esValue[implSymbol].insertItemBefore(...args)}replaceItem(newItem,index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'replaceItem' on 'SVGStringList': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'replaceItem' on 'SVGStringList': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'replaceItem' on 'SVGStringList': parameter 2"});args.push(curArg)}return esValue[implSymbol].replaceItem(...args)}removeItem(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'removeItem' on 'SVGStringList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'removeItem' on 'SVGStringList': parameter 1"});args.push(curArg)}return esValue[implSymbol].removeItem(...args)}appendItem(newItem){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'appendItem' on 'SVGStringList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'appendItem' on 'SVGStringList': parameter 1"});args.push(curArg)}return esValue[implSymbol].appendItem(...args)}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}get numberOfItems(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["numberOfItems"]}}Object.defineProperties(SVGStringList.prototype,{clear:{enumerable:true},initialize:{enumerable:true},getItem:{enumerable:true},insertItemBefore:{enumerable:true},replaceItem:{enumerable:true},removeItem:{enumerable:true},appendItem:{enumerable:true},length:{enumerable:true},numberOfItems:{enumerable:true},[Symbol.toStringTag]:{value:"SVGStringList",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=SVGStringList;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:SVGStringList})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;if(target[implSymbol][utils.supportsPropertyIndex](index)){const indexedValue=target[implSymbol].getItem(index);return{writable:true,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){if(utils.isArrayIndexPropName(P)){const index=P>>>0;let indexedValue=V;indexedValue=conversions["DOMString"](indexedValue,{context:"Failed to set the "+index+" property on 'SVGStringList': The provided value"});const creating=!target[implSymbol][utils.supportsPropertyIndex](index);if(creating){target[implSymbol][utils.indexedSetNew](index,indexedValue)}else{target[implSymbol][utils.indexedSetExisting](index,indexedValue)}return true}}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;if(target[implSymbol][utils.supportsPropertyIndex](index)){const indexedValue=target[implSymbol].getItem(index);ownDesc={writable:true,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){if(desc.get||desc.set){return false}const index=P>>>0;let indexedValue=desc.value;indexedValue=conversions["DOMString"](indexedValue,{context:"Failed to set the "+index+" property on 'SVGStringList': The provided value"});const creating=!target[implSymbol][utils.supportsPropertyIndex](index);if(creating){target[implSymbol][utils.indexedSetNew](index,indexedValue)}else{target[implSymbol][utils.indexedSetExisting](index,indexedValue)}return true}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!target[implSymbol][utils.supportsPropertyIndex](index)}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../svg/SVGStringList-impl.js")},{"../svg/SVGStringList-impl.js":747,"./utils.js":584,"webidl-conversions":776}],553:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const SVGElement=require("./SVGElement.js");const interfaceName="SVGTitleElement";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'SVGTitleElement'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["SVGTitleElement"];if(ctor===undefined){throw new Error("Internal error: constructor SVGTitleElement is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{SVGElement._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.SVGElement===undefined){throw new Error("Internal error: attempting to evaluate SVGTitleElement before SVGElement")}class SVGTitleElement extends globalObject.SVGElement{constructor(){throw new TypeError("Illegal constructor")}}Object.defineProperties(SVGTitleElement.prototype,{[Symbol.toStringTag]:{value:"SVGTitleElement",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=SVGTitleElement;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:SVGTitleElement})};const Impl=require("../nodes/SVGTitleElement-impl.js")},{"../nodes/SVGTitleElement-impl.js":732,"./SVGElement.js":548,"./utils.js":584,"webidl-conversions":776}],554:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Screen";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Screen'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Screen"];if(ctor===undefined){throw new Error("Internal error: constructor Screen is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class Screen{constructor(){throw new TypeError("Illegal constructor")}get availWidth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["availWidth"]}get availHeight(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["availHeight"]}get width(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["width"]}get height(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["height"]}get colorDepth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["colorDepth"]}get pixelDepth(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["pixelDepth"]}}Object.defineProperties(Screen.prototype,{availWidth:{enumerable:true},availHeight:{enumerable:true},width:{enumerable:true},height:{enumerable:true},colorDepth:{enumerable:true},pixelDepth:{enumerable:true},[Symbol.toStringTag]:{value:"Screen",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Screen;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Screen})};const Impl=require("../window/Screen-impl.js")},{"../window/Screen-impl.js":757,"./utils.js":584,"webidl-conversions":776}],555:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Range=require("./Range.js");const Node=require("./Node.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Selection";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Selection'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Selection"];if(ctor===undefined){throw new Error("Internal error: constructor Selection is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class Selection{constructor(){throw new TypeError("Illegal constructor")}getRangeAt(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getRangeAt' on 'Selection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'getRangeAt' on 'Selection': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].getRangeAt(...args))}addRange(range){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'addRange' on 'Selection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Range.convert(curArg,{context:"Failed to execute 'addRange' on 'Selection': parameter 1"});args.push(curArg)}return esValue[implSymbol].addRange(...args)}removeRange(range){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'removeRange' on 'Selection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Range.convert(curArg,{context:"Failed to execute 'removeRange' on 'Selection': parameter 1"});args.push(curArg)}return esValue[implSymbol].removeRange(...args)}removeAllRanges(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].removeAllRanges()}empty(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].empty()}collapse(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'collapse' on 'Selection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=Node.convert(curArg,{context:"Failed to execute 'collapse' on 'Selection': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'collapse' on 'Selection': parameter 2"})}else{curArg=0}args.push(curArg)}return esValue[implSymbol].collapse(...args)}setPosition(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'setPosition' on 'Selection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(curArg===null||curArg===undefined){curArg=null}else{curArg=Node.convert(curArg,{context:"Failed to execute 'setPosition' on 'Selection': parameter 1"})}args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setPosition' on 'Selection': parameter 2"})}else{curArg=0}args.push(curArg)}return esValue[implSymbol].setPosition(...args)}collapseToStart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].collapseToStart()}collapseToEnd(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].collapseToEnd()}extend(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'extend' on 'Selection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'extend' on 'Selection': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'extend' on 'Selection': parameter 2"})}else{curArg=0}args.push(curArg)}return esValue[implSymbol].extend(...args)}setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<4){throw new TypeError("Failed to execute 'setBaseAndExtent' on 'Selection': 4 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'setBaseAndExtent' on 'Selection': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setBaseAndExtent' on 'Selection': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=Node.convert(curArg,{context:"Failed to execute 'setBaseAndExtent' on 'Selection': parameter 3"});args.push(curArg)}{let curArg=arguments[3];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'setBaseAndExtent' on 'Selection': parameter 4"});args.push(curArg)}return esValue[implSymbol].setBaseAndExtent(...args)}selectAllChildren(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'selectAllChildren' on 'Selection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'selectAllChildren' on 'Selection': parameter 1"});args.push(curArg)}return esValue[implSymbol].selectAllChildren(...args)}deleteFromDocument(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol].deleteFromDocument()}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}containsNode(node){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'containsNode' on 'Selection': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'containsNode' on 'Selection': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'containsNode' on 'Selection': parameter 2"})}else{curArg=false}args.push(curArg)}return esValue[implSymbol].containsNode(...args)}toString(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].toString()}get anchorNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["anchorNode"])}get anchorOffset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["anchorOffset"]}get focusNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["focusNode"])}get focusOffset(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["focusOffset"]}get isCollapsed(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["isCollapsed"]}get rangeCount(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["rangeCount"]}get type(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["type"]}}Object.defineProperties(Selection.prototype,{getRangeAt:{enumerable:true},addRange:{enumerable:true},removeRange:{enumerable:true},removeAllRanges:{enumerable:true},empty:{enumerable:true},collapse:{enumerable:true},setPosition:{enumerable:true},collapseToStart:{enumerable:true},collapseToEnd:{enumerable:true},extend:{enumerable:true},setBaseAndExtent:{enumerable:true},selectAllChildren:{enumerable:true},deleteFromDocument:{enumerable:true},containsNode:{enumerable:true},toString:{enumerable:true},anchorNode:{enumerable:true},anchorOffset:{enumerable:true},focusNode:{enumerable:true},focusOffset:{enumerable:true},isCollapsed:{enumerable:true},rangeCount:{enumerable:true},type:{enumerable:true},[Symbol.toStringTag]:{value:"Selection",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Selection;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Selection})};const Impl=require("../selection/Selection-impl.js")},{"../helpers/custom-elements.js":588,"../selection/Selection-impl.js":743,"./Node.js":532,"./Range.js":546,"./utils.js":584,"webidl-conversions":776}],556:[function(require,module,exports){"use strict";const enumerationValues=new Set(["select","start","end","preserve"]);exports.enumerationValues=enumerationValues;exports.convert=function convert(value,{context:context="The provided value"}={}){const string=`${value}`;if(!enumerationValues.has(string)){throw new TypeError(`${context} '${string}' is not a valid enumeration value for SelectionMode`)}return string}},{}],557:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ceReactionsPreSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPreSteps;const ceReactionsPostSteps_helpers_custom_elements=require("../helpers/custom-elements.js").ceReactionsPostSteps;const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const DocumentFragment=require("./DocumentFragment.js");const interfaceName="ShadowRoot";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'ShadowRoot'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["ShadowRoot"];if(ctor===undefined){throw new Error("Internal error: constructor ShadowRoot is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{DocumentFragment._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.DocumentFragment===undefined){throw new Error("Internal error: attempting to evaluate ShadowRoot before DocumentFragment")}class ShadowRoot extends globalObject.DocumentFragment{constructor(){throw new TypeError("Illegal constructor")}get mode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["mode"])}get host(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["host"])}get innerHTML(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}ceReactionsPreSteps_helpers_custom_elements(globalObject);try{return esValue[implSymbol]["innerHTML"]}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}set innerHTML(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["DOMString"](V,{context:"Failed to set the 'innerHTML' property on 'ShadowRoot': The provided value",treatNullAsEmptyString:true});ceReactionsPreSteps_helpers_custom_elements(globalObject);try{esValue[implSymbol]["innerHTML"]=V}finally{ceReactionsPostSteps_helpers_custom_elements(globalObject)}}get activeElement(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["activeElement"])}}Object.defineProperties(ShadowRoot.prototype,{mode:{enumerable:true},host:{enumerable:true},innerHTML:{enumerable:true},activeElement:{enumerable:true},[Symbol.toStringTag]:{value:"ShadowRoot",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=ShadowRoot;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:ShadowRoot})};const Impl=require("../nodes/ShadowRoot-impl.js")},{"../helpers/custom-elements.js":588,"../nodes/ShadowRoot-impl.js":733,"./DocumentFragment.js":416,"./utils.js":584,"webidl-conversions":776}],558:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const ShadowRootMode=require("./ShadowRootMode.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="mode";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=ShadowRootMode.convert(value,{context:context+" has member 'mode' that"});ret[key]=value}else{throw new TypeError("mode is required in 'ShadowRootInit'")}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./ShadowRootMode.js":559,"./utils.js":584,"webidl-conversions":776}],559:[function(require,module,exports){"use strict";const enumerationValues=new Set(["open","closed"]);exports.enumerationValues=enumerationValues;exports.convert=function convert(value,{context:context="The provided value"}={}){const string=`${value}`;if(!enumerationValues.has(string)){throw new TypeError(`${context} '${string}' is not a valid enumeration value for ShadowRootMode`)}return string}},{}],560:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const StaticRangeInit=require("./StaticRangeInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const AbstractRange=require("./AbstractRange.js");const interfaceName="StaticRange";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'StaticRange'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["StaticRange"];if(ctor===undefined){throw new Error("Internal error: constructor StaticRange is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{AbstractRange._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.AbstractRange===undefined){throw new Error("Internal error: attempting to evaluate StaticRange before AbstractRange")}class StaticRange extends globalObject.AbstractRange{constructor(init){if(arguments.length<1){throw new TypeError("Failed to construct 'StaticRange': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=StaticRangeInit.convert(curArg,{context:"Failed to construct 'StaticRange': parameter 1"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}}Object.defineProperties(StaticRange.prototype,{[Symbol.toStringTag]:{value:"StaticRange",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=StaticRange;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:StaticRange})};const Impl=require("../range/StaticRange-impl.js")},{"../range/StaticRange-impl.js":741,"./AbstractRange.js":393,"./StaticRangeInit.js":561,"./utils.js":584,"webidl-conversions":776}],561:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Node=require("./Node.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{{const key="endContainer";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=Node.convert(value,{context:context+" has member 'endContainer' that"});ret[key]=value}else{throw new TypeError("endContainer is required in 'StaticRangeInit'")}}{const key="endOffset";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long"](value,{context:context+" has member 'endOffset' that"});ret[key]=value}else{throw new TypeError("endOffset is required in 'StaticRangeInit'")}}{const key="startContainer";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=Node.convert(value,{context:context+" has member 'startContainer' that"});ret[key]=value}else{throw new TypeError("startContainer is required in 'StaticRangeInit'")}}{const key="startOffset";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long"](value,{context:context+" has member 'startOffset' that"});ret[key]=value}else{throw new TypeError("startOffset is required in 'StaticRangeInit'")}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],562:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="Storage";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Storage'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Storage"];if(ctor===undefined){throw new Error("Internal error: constructor Storage is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class Storage{constructor(){throw new TypeError("Illegal constructor")}key(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'key' on 'Storage': parameter 1"});args.push(curArg)}return esValue[implSymbol].key(...args)}getItem(key){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getItem' on 'Storage': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'getItem' on 'Storage': parameter 1"});args.push(curArg)}return esValue[implSymbol].getItem(...args)}setItem(key,value){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'setItem' on 'Storage': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setItem' on 'Storage': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'setItem' on 'Storage': parameter 2"});args.push(curArg)}return esValue[implSymbol].setItem(...args)}removeItem(key){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'removeItem' on 'Storage': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'removeItem' on 'Storage': parameter 1"});args.push(curArg)}return esValue[implSymbol].removeItem(...args)}clear(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].clear()}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(Storage.prototype,{key:{enumerable:true},getItem:{enumerable:true},setItem:{enumerable:true},removeItem:{enumerable:true},clear:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"Storage",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Storage;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Storage})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyNames]){if(!(key in target)){keys.add(`${key}`)}}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;const namedValue=target[implSymbol].getItem(P);if(namedValue!==null&&!(P in target)&&!ignoreNamedProps){return{writable:true,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(namedValue)}}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){if(typeof P==="string"&&!utils.isArrayIndexPropName(P)){let namedValue=V;namedValue=conversions["DOMString"](namedValue,{context:"Failed to set the '"+P+"' property on 'Storage': The provided value"});target[implSymbol].setItem(P,namedValue);return true}}let ownDesc;if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(!utils.hasOwn(target,P)){if(desc.get||desc.set){return false}let namedValue=desc.value;namedValue=conversions["DOMString"](namedValue,{context:"Failed to set the '"+P+"' property on 'Storage': The provided value"});target[implSymbol].setItem(P,namedValue);return true}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(target[implSymbol].getItem(P)!==null&&!(P in target)){target[implSymbol].removeItem(P);return true}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../webstorage/Storage-impl.js")},{"../webstorage/Storage-impl.js":752,"./utils.js":584,"webidl-conversions":776}],563:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const StorageEventInit=require("./StorageEventInit.js");const Storage=require("./Storage.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="StorageEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'StorageEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["StorageEvent"];if(ctor===undefined){throw new Error("Internal error: constructor StorageEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate StorageEvent before Event")}class StorageEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'StorageEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'StorageEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=StorageEventInit.convert(curArg,{context:"Failed to construct 'StorageEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initStorageEvent(type){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'initStorageEvent' on 'StorageEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 2"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 3"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 4"})}}else{curArg=null}args.push(curArg)}{let curArg=arguments[4];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 5"})}}else{curArg=null}args.push(curArg)}{let curArg=arguments[5];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 6"})}}else{curArg=null}args.push(curArg)}{let curArg=arguments[6];if(curArg!==undefined){curArg=conversions["USVString"](curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 7"})}else{curArg=""}args.push(curArg)}{let curArg=arguments[7];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=Storage.convert(curArg,{context:"Failed to execute 'initStorageEvent' on 'StorageEvent': parameter 8"})}}else{curArg=null}args.push(curArg)}return esValue[implSymbol].initStorageEvent(...args)}get key(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["key"]}get oldValue(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["oldValue"]}get newValue(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["newValue"]}get url(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["url"]}get storageArea(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["storageArea"])}}Object.defineProperties(StorageEvent.prototype,{initStorageEvent:{enumerable:true},key:{enumerable:true},oldValue:{enumerable:true},newValue:{enumerable:true},url:{enumerable:true},storageArea:{enumerable:true},[Symbol.toStringTag]:{value:"StorageEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=StorageEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:StorageEvent})};const Impl=require("../events/StorageEvent-impl.js")},{"../events/StorageEvent-impl.js":380,"./Event.js":424,"./Storage.js":562,"./StorageEventInit.js":564,"./utils.js":584,"webidl-conversions":776}],564:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Storage=require("./Storage.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="key";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(value===null||value===undefined){value=null}else{value=conversions["DOMString"](value,{context:context+" has member 'key' that"})}ret[key]=value}else{ret[key]=null}}{const key="newValue";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(value===null||value===undefined){value=null}else{value=conversions["DOMString"](value,{context:context+" has member 'newValue' that"})}ret[key]=value}else{ret[key]=null}}{const key="oldValue";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(value===null||value===undefined){value=null}else{value=conversions["DOMString"](value,{context:context+" has member 'oldValue' that"})}ret[key]=value}else{ret[key]=null}}{const key="storageArea";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(value===null||value===undefined){value=null}else{value=Storage.convert(value,{context:context+" has member 'storageArea' that"})}ret[key]=value}else{ret[key]=null}}{const key="url";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["USVString"](value,{context:context+" has member 'url' that"});ret[key]=value}else{ret[key]=""}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./Storage.js":562,"./utils.js":584,"webidl-conversions":776}],565:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="StyleSheetList";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'StyleSheetList'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["StyleSheetList"];if(ctor===undefined){throw new Error("Internal error: constructor StyleSheetList is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{let wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper=new Proxy(wrapper,proxyHandler);wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class StyleSheetList{constructor(){throw new TypeError("Illegal constructor")}item(index){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'item' on 'StyleSheetList': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'item' on 'StyleSheetList': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].item(...args))}get length(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["length"]}}Object.defineProperties(StyleSheetList.prototype,{item:{enumerable:true},length:{enumerable:true},[Symbol.toStringTag]:{value:"StyleSheetList",configurable:true},[Symbol.iterator]:{value:Array.prototype[Symbol.iterator],configurable:true,writable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=StyleSheetList;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:StyleSheetList})};const proxyHandler={get(target,P,receiver){if(typeof P==="symbol"){return Reflect.get(target,P,receiver)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc===undefined){const parent=Object.getPrototypeOf(target);if(parent===null){return undefined}return Reflect.get(target,P,receiver)}if(!desc.get&&!desc.set){return desc.value}const getter=desc.get;if(getter===undefined){return undefined}return Reflect.apply(getter,receiver,[])},has(target,P){if(typeof P==="symbol"){return Reflect.has(target,P)}const desc=this.getOwnPropertyDescriptor(target,P);if(desc!==undefined){return true}const parent=Object.getPrototypeOf(target);if(parent!==null){return Reflect.has(parent,P)}return false},ownKeys(target){const keys=new Set;for(const key of target[implSymbol][utils.supportedPropertyIndices]){keys.add(`${key}`)}for(const key of Reflect.ownKeys(target)){keys.add(key)}return[...keys]},getOwnPropertyDescriptor(target,P){if(typeof P==="symbol"){return Reflect.getOwnPropertyDescriptor(target,P)}let ignoreNamedProps=false;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){return{writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}ignoreNamedProps=true}return Reflect.getOwnPropertyDescriptor(target,P)},set(target,P,V,receiver){if(typeof P==="symbol"){return Reflect.set(target,P,V,receiver)}if(target===receiver){utils.isArrayIndexPropName(P)}let ownDesc;if(utils.isArrayIndexPropName(P)){const index=P>>>0;const indexedValue=target[implSymbol].item(index);if(indexedValue!==null){ownDesc={writable:false,enumerable:true,configurable:true,value:utils.tryWrapperForImpl(indexedValue)}}}if(ownDesc===undefined){ownDesc=Reflect.getOwnPropertyDescriptor(target,P)}if(ownDesc===undefined){const parent=Reflect.getPrototypeOf(target);if(parent!==null){return Reflect.set(parent,P,V,receiver)}ownDesc={writable:true,enumerable:true,configurable:true,value:undefined}}if(!ownDesc.writable){return false}if(!utils.isObject(receiver)){return false}const existingDesc=Reflect.getOwnPropertyDescriptor(receiver,P);let valueDesc;if(existingDesc!==undefined){if(existingDesc.get||existingDesc.set){return false}if(!existingDesc.writable){return false}valueDesc={value:V}}else{valueDesc={writable:true,enumerable:true,configurable:true,value:V}}return Reflect.defineProperty(receiver,P,valueDesc)},defineProperty(target,P,desc){if(typeof P==="symbol"){return Reflect.defineProperty(target,P,desc)}if(utils.isArrayIndexPropName(P)){return false}return Reflect.defineProperty(target,P,desc)},deleteProperty(target,P){if(typeof P==="symbol"){return Reflect.deleteProperty(target,P)}if(utils.isArrayIndexPropName(P)){const index=P>>>0;return!(target[implSymbol].item(index)!==null)}return Reflect.deleteProperty(target,P)},preventExtensions(){return false}};const Impl=require("../cssom/StyleSheetList-impl.js")},{"../cssom/StyleSheetList-impl.js":357,"./utils.js":584,"webidl-conversions":776}],566:[function(require,module,exports){"use strict";const enumerationValues=new Set(["text/html","text/xml","application/xml","application/xhtml+xml","image/svg+xml"]);exports.enumerationValues=enumerationValues;exports.convert=function convert(value,{context:context="The provided value"}={}){const string=`${value}`;if(!enumerationValues.has(string)){throw new TypeError(`${context} '${string}' is not a valid enumeration value for SupportedType`)}return string}},{}],567:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const CharacterData=require("./CharacterData.js");const interfaceName="Text";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'Text'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["Text"];if(ctor===undefined){throw new Error("Internal error: constructor Text is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{CharacterData._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.CharacterData===undefined){throw new Error("Internal error: attempting to evaluate Text before CharacterData")}class Text extends globalObject.CharacterData{constructor(){const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'Text': parameter 1"})}else{curArg=""}args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}splitText(offset){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'splitText' on 'Text': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["unsigned long"](curArg,{context:"Failed to execute 'splitText' on 'Text': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(esValue[implSymbol].splitText(...args))}get wholeText(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["wholeText"]}get assignedSlot(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["assignedSlot"])}}Object.defineProperties(Text.prototype,{splitText:{enumerable:true},wholeText:{enumerable:true},assignedSlot:{enumerable:true},[Symbol.toStringTag]:{value:"Text",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=Text;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:Text})};const Impl=require("../nodes/Text-impl.js")},{"../nodes/Text-impl.js":735,"./CharacterData.js":402,"./utils.js":584,"webidl-conversions":776}],568:[function(require,module,exports){"use strict";const enumerationValues=new Set(["subtitles","captions","descriptions","chapters","metadata"]);exports.enumerationValues=enumerationValues;exports.convert=function convert(value,{context:context="The provided value"}={}){const string=`${value}`;if(!enumerationValues.has(string)){throw new TypeError(`${context} '${string}' is not a valid enumeration value for TextTrackKind`)}return string}},{}],569:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const TouchEventInit=require("./TouchEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const UIEvent=require("./UIEvent.js");const interfaceName="TouchEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'TouchEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["TouchEvent"];if(ctor===undefined){throw new Error("Internal error: constructor TouchEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{UIEvent._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.UIEvent===undefined){throw new Error("Internal error: attempting to evaluate TouchEvent before UIEvent")}class TouchEvent extends globalObject.UIEvent{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'TouchEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'TouchEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=TouchEventInit.convert(curArg,{context:"Failed to construct 'TouchEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get touches(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["touches"])}get targetTouches(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["targetTouches"])}get changedTouches(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["changedTouches"])}get altKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["altKey"]}get metaKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["metaKey"]}get ctrlKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["ctrlKey"]}get shiftKey(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["shiftKey"]}}Object.defineProperties(TouchEvent.prototype,{touches:{enumerable:true},targetTouches:{enumerable:true},changedTouches:{enumerable:true},altKey:{enumerable:true},metaKey:{enumerable:true},ctrlKey:{enumerable:true},shiftKey:{enumerable:true},[Symbol.toStringTag]:{value:"TouchEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=TouchEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:TouchEvent})};const Impl=require("../events/TouchEvent-impl.js")},{"../events/TouchEvent-impl.js":381,"./TouchEventInit.js":570,"./UIEvent.js":572,"./utils.js":584,"webidl-conversions":776}],570:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventModifierInit=require("./EventModifierInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventModifierInit._convertInherit(obj,ret,{context:context});{const key="changedTouches";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(!utils.isObject(value)){throw new TypeError(context+" has member 'changedTouches' that"+" is not an iterable object.")}else{const V=[];const tmp=value;for(let nextItem of tmp){nextItem=utils.tryImplForWrapper(nextItem);V.push(nextItem)}value=V}ret[key]=value}else{ret[key]=[]}}{const key="targetTouches";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(!utils.isObject(value)){throw new TypeError(context+" has member 'targetTouches' that"+" is not an iterable object.")}else{const V=[];const tmp=value;for(let nextItem of tmp){nextItem=utils.tryImplForWrapper(nextItem);V.push(nextItem)}value=V}ret[key]=value}else{ret[key]=[]}}{const key="touches";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(!utils.isObject(value)){throw new TypeError(context+" has member 'touches' that"+" is not an iterable object.")}else{const V=[];const tmp=value;for(let nextItem of tmp){nextItem=utils.tryImplForWrapper(nextItem);V.push(nextItem)}value=V}ret[key]=value}else{ret[key]=[]}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventModifierInit.js":428,"./utils.js":584,"webidl-conversions":776}],571:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Node=require("./Node.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="TreeWalker";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'TreeWalker'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["TreeWalker"];if(ctor===undefined){throw new Error("Internal error: constructor TreeWalker is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class TreeWalker{constructor(){throw new TypeError("Illegal constructor")}parentNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].parentNode())}firstChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].firstChild())}lastChild(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].lastChild())}previousSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].previousSibling())}nextSibling(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].nextSibling())}previousNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].previousNode())}nextNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol].nextNode())}get root(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"root",()=>utils.tryWrapperForImpl(esValue[implSymbol]["root"]))}get whatToShow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["whatToShow"]}get filter(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["filter"])}get currentNode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["currentNode"])}set currentNode(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=Node.convert(V,{context:"Failed to set the 'currentNode' property on 'TreeWalker': The provided value"});esValue[implSymbol]["currentNode"]=V}}Object.defineProperties(TreeWalker.prototype,{parentNode:{enumerable:true},firstChild:{enumerable:true},lastChild:{enumerable:true},previousSibling:{enumerable:true},nextSibling:{enumerable:true},previousNode:{enumerable:true},nextNode:{enumerable:true},root:{enumerable:true},whatToShow:{enumerable:true},filter:{enumerable:true},currentNode:{enumerable:true},[Symbol.toStringTag]:{value:"TreeWalker",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=TreeWalker;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:TreeWalker})};const Impl=require("../traversal/TreeWalker-impl.js")},{"../traversal/TreeWalker-impl.js":749,"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],572:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const UIEventInit=require("./UIEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Event=require("./Event.js");const interfaceName="UIEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'UIEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["UIEvent"];if(ctor===undefined){throw new Error("Internal error: constructor UIEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Event._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Event===undefined){throw new Error("Internal error: attempting to evaluate UIEvent before Event")}class UIEvent extends globalObject.Event{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'UIEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'UIEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=UIEventInit.convert(curArg,{context:"Failed to construct 'UIEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}initUIEvent(typeArg){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'initUIEvent' on 'UIEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'initUIEvent' on 'UIEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initUIEvent' on 'UIEvent': parameter 2"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[2];if(curArg!==undefined){curArg=conversions["boolean"](curArg,{context:"Failed to execute 'initUIEvent' on 'UIEvent': parameter 3"})}else{curArg=false}args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=utils.tryImplForWrapper(curArg)}}else{curArg=null}args.push(curArg)}{let curArg=arguments[4];if(curArg!==undefined){curArg=conversions["long"](curArg,{context:"Failed to execute 'initUIEvent' on 'UIEvent': parameter 5"})}else{curArg=0}args.push(curArg)}return esValue[implSymbol].initUIEvent(...args)}get view(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["view"])}get detail(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["detail"]}get which(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["which"]}}Object.defineProperties(UIEvent.prototype,{initUIEvent:{enumerable:true},view:{enumerable:true},detail:{enumerable:true},which:{enumerable:true},[Symbol.toStringTag]:{value:"UIEvent",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=UIEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:UIEvent})};const Impl=require("../events/UIEvent-impl.js")},{"../events/UIEvent-impl.js":382,"./Event.js":424,"./UIEventInit.js":573,"./utils.js":584,"webidl-conversions":776}],573:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const EventInit=require("./EventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{EventInit._convertInherit(obj,ret,{context:context});{const key="detail";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["long"](value,{context:context+" has member 'detail' that"});ret[key]=value}else{ret[key]=0}}{const key="view";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){if(value===null||value===undefined){value=null}else{value=utils.tryImplForWrapper(value)}ret[key]=value}else{ret[key]=null}}{const key="which";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long"](value,{context:context+" has member 'which' that"});ret[key]=value}else{ret[key]=0}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./EventInit.js":425,"./utils.js":584,"webidl-conversions":776}],574:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="ValidityState";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'ValidityState'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["ValidityState"];if(ctor===undefined){throw new Error("Internal error: constructor ValidityState is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class ValidityState{constructor(){throw new TypeError("Illegal constructor")}get valueMissing(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["valueMissing"]}get typeMismatch(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["typeMismatch"]}get patternMismatch(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["patternMismatch"]}get tooLong(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["tooLong"]}get tooShort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["tooShort"]}get rangeUnderflow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["rangeUnderflow"]}get rangeOverflow(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["rangeOverflow"]}get stepMismatch(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["stepMismatch"]}get badInput(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["badInput"]}get customError(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["customError"]}get valid(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["valid"]}}Object.defineProperties(ValidityState.prototype,{valueMissing:{enumerable:true},typeMismatch:{enumerable:true},patternMismatch:{enumerable:true},tooLong:{enumerable:true},tooShort:{enumerable:true},rangeUnderflow:{enumerable:true},rangeOverflow:{enumerable:true},stepMismatch:{enumerable:true},badInput:{enumerable:true},customError:{enumerable:true},valid:{enumerable:true},[Symbol.toStringTag]:{value:"ValidityState",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=ValidityState;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:ValidityState})};const Impl=require("../constraint-validation/ValidityState-impl.js")},{"../constraint-validation/ValidityState-impl.js":356,"./utils.js":584,"webidl-conversions":776}],575:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Blob=require("./Blob.js");const BinaryType=require("./BinaryType.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const EventTarget=require("./EventTarget.js");const interfaceName="WebSocket";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'WebSocket'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["WebSocket"];if(ctor===undefined){throw new Error("Internal error: constructor WebSocket is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","Worker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.EventTarget===undefined){throw new Error("Internal error: attempting to evaluate WebSocket before EventTarget")}class WebSocket extends globalObject.EventTarget{constructor(url){if(arguments.length<1){throw new TypeError("Failed to construct 'WebSocket': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to construct 'WebSocket': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){if(utils.isObject(curArg)){if(curArg[Symbol.iterator]!==undefined){if(!utils.isObject(curArg)){throw new TypeError("Failed to construct 'WebSocket': parameter 2"+" sequence"+" is not an iterable object.")}else{const V=[];const tmp=curArg;for(let nextItem of tmp){nextItem=conversions["DOMString"](nextItem,{context:"Failed to construct 'WebSocket': parameter 2"+" sequence"+"'s element"});V.push(nextItem)}curArg=V}}else{}}else{curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'WebSocket': parameter 2"})}}else{curArg=[]}args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}close(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){curArg=conversions["unsigned short"](curArg,{context:"Failed to execute 'close' on 'WebSocket': parameter 1",clamp:true})}args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["USVString"](curArg,{context:"Failed to execute 'close' on 'WebSocket': parameter 2"})}args.push(curArg)}return esValue[implSymbol].close(...args)}send(data){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'send' on 'WebSocket': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];if(Blob.is(curArg)){{let curArg=arguments[0];curArg=Blob.convert(curArg,{context:"Failed to execute 'send' on 'WebSocket': parameter 1"});args.push(curArg)}}else if(utils.isArrayBuffer(curArg)){{let curArg=arguments[0];curArg=conversions["ArrayBuffer"](curArg,{context:"Failed to execute 'send' on 'WebSocket': parameter 1"});args.push(curArg)}}else if(ArrayBuffer.isView(curArg)){{let curArg=arguments[0];if(ArrayBuffer.isView(curArg)){}else{throw new TypeError("Failed to execute 'send' on 'WebSocket': parameter 1"+" is not of any supported type.")}args.push(curArg)}}else{{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'send' on 'WebSocket': parameter 1"});args.push(curArg)}}}return esValue[implSymbol].send(...args)}get url(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["url"]}get readyState(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["readyState"]}get bufferedAmount(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["bufferedAmount"]}get onopen(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onopen"])}set onopen(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onopen"]=V}get onerror(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onerror"])}set onerror(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onerror"]=V}get onclose(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onclose"])}set onclose(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onclose"]=V}get extensions(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["extensions"]}get protocol(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["protocol"]}get onmessage(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onmessage"])}set onmessage(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onmessage"]=V}get binaryType(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["binaryType"])}set binaryType(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=`${V}`;if(!BinaryType.enumerationValues.has(V)){return}esValue[implSymbol]["binaryType"]=V}}Object.defineProperties(WebSocket.prototype,{close:{enumerable:true},send:{enumerable:true},url:{enumerable:true},readyState:{enumerable:true},bufferedAmount:{enumerable:true},onopen:{enumerable:true},onerror:{enumerable:true},onclose:{enumerable:true},extensions:{enumerable:true},protocol:{enumerable:true},onmessage:{enumerable:true},binaryType:{enumerable:true},[Symbol.toStringTag]:{value:"WebSocket",configurable:true},CONNECTING:{value:0,enumerable:true},OPEN:{value:1,enumerable:true},CLOSING:{value:2,enumerable:true},CLOSED:{value:3,enumerable:true}});Object.defineProperties(WebSocket,{CONNECTING:{value:0,enumerable:true},OPEN:{value:1,enumerable:true},CLOSING:{value:2,enumerable:true},CLOSED:{value:3,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=WebSocket;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:WebSocket})};const Impl=require("../websockets/WebSocket-impl.js")},{"../websockets/WebSocket-impl.js":751,"./BinaryType.js":398,"./Blob.js":399,"./EventTarget.js":429,"./utils.js":584,"webidl-conversions":776}],576:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const WheelEventInit=require("./WheelEventInit.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const MouseEvent=require("./MouseEvent.js");const interfaceName="WheelEvent";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'WheelEvent'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["WheelEvent"];if(ctor===undefined){throw new Error("Internal error: constructor WheelEvent is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{MouseEvent._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.MouseEvent===undefined){throw new Error("Internal error: attempting to evaluate WheelEvent before MouseEvent")}class WheelEvent extends globalObject.MouseEvent{constructor(type){if(arguments.length<1){throw new TypeError("Failed to construct 'WheelEvent': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to construct 'WheelEvent': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=WheelEventInit.convert(curArg,{context:"Failed to construct 'WheelEvent': parameter 2"});args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}get deltaX(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["deltaX"]}get deltaY(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["deltaY"]}get deltaZ(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["deltaZ"]}get deltaMode(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["deltaMode"]}}Object.defineProperties(WheelEvent.prototype,{deltaX:{enumerable:true},deltaY:{enumerable:true},deltaZ:{enumerable:true},deltaMode:{enumerable:true},[Symbol.toStringTag]:{value:"WheelEvent",configurable:true},DOM_DELTA_PIXEL:{value:0,enumerable:true},DOM_DELTA_LINE:{value:1,enumerable:true},DOM_DELTA_PAGE:{value:2,enumerable:true}});Object.defineProperties(WheelEvent,{DOM_DELTA_PIXEL:{value:0,enumerable:true},DOM_DELTA_LINE:{value:1,enumerable:true},DOM_DELTA_PAGE:{value:2,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=WheelEvent;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:WheelEvent})};const Impl=require("../events/WheelEvent-impl.js")},{"../events/WheelEvent-impl.js":383,"./MouseEvent.js":525,"./WheelEventInit.js":577,"./utils.js":584,"webidl-conversions":776}],577:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const MouseEventInit=require("./MouseEventInit.js");exports._convertInherit=(obj,ret,{context:context="The provided value"}={})=>{MouseEventInit._convertInherit(obj,ret,{context:context});{const key="deltaMode";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["unsigned long"](value,{context:context+" has member 'deltaMode' that"});ret[key]=value}else{ret[key]=0}}{const key="deltaX";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["double"](value,{context:context+" has member 'deltaX' that"});ret[key]=value}else{ret[key]=0}}{const key="deltaY";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["double"](value,{context:context+" has member 'deltaY' that"});ret[key]=value}else{ret[key]=0}}{const key="deltaZ";let value=obj===undefined||obj===null?undefined:obj[key];if(value!==undefined){value=conversions["double"](value,{context:context+" has member 'deltaZ' that"});ret[key]=value}else{ret[key]=0}}};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(obj!==undefined&&typeof obj!=="object"&&typeof obj!=="function"){throw new TypeError(`${context} is not an object.`)}const ret=Object.create(null);exports._convertInherit(obj,ret,{context:context});return ret}},{"./MouseEventInit.js":526,"./utils.js":584,"webidl-conversions":776}],578:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const Document=require("./Document.js");const interfaceName="XMLDocument";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'XMLDocument'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["XMLDocument"];if(ctor===undefined){throw new Error("Internal error: constructor XMLDocument is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{Document._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.Document===undefined){throw new Error("Internal error: attempting to evaluate XMLDocument before Document")}class XMLDocument extends globalObject.Document{constructor(){throw new TypeError("Illegal constructor")}}Object.defineProperties(XMLDocument.prototype,{[Symbol.toStringTag]:{value:"XMLDocument",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=XMLDocument;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:XMLDocument})};const Impl=require("../nodes/XMLDocument-impl.js")},{"../nodes/XMLDocument-impl.js":737,"./Document.js":415,"./utils.js":584,"webidl-conversions":776}],579:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Document=require("./Document.js");const Blob=require("./Blob.js");const FormData=require("./FormData.js");const XMLHttpRequestResponseType=require("./XMLHttpRequestResponseType.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const XMLHttpRequestEventTarget=require("./XMLHttpRequestEventTarget.js");const interfaceName="XMLHttpRequest";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'XMLHttpRequest'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["XMLHttpRequest"];if(ctor===undefined){throw new Error("Internal error: constructor XMLHttpRequest is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{XMLHttpRequestEventTarget._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","DedicatedWorker","SharedWorker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.XMLHttpRequestEventTarget===undefined){throw new Error("Internal error: attempting to evaluate XMLHttpRequest before XMLHttpRequestEventTarget")}class XMLHttpRequest extends globalObject.XMLHttpRequestEventTarget{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,undefined)}open(method,url){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'open' on 'XMLHttpRequest': 2 arguments required, but only "+arguments.length+" present.")}const args=[];switch(arguments.length){case 2:{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 2"});args.push(curArg)}break;case 3:{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["boolean"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 3"});args.push(curArg)}break;case 4:{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["boolean"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 3"});args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["USVString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 4"})}}else{curArg=null}args.push(curArg)}break;default:{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 2"});args.push(curArg)}{let curArg=arguments[2];curArg=conversions["boolean"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 3"});args.push(curArg)}{let curArg=arguments[3];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["USVString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 4"})}}else{curArg=null}args.push(curArg)}{let curArg=arguments[4];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{curArg=conversions["USVString"](curArg,{context:"Failed to execute 'open' on 'XMLHttpRequest': parameter 5"})}}else{curArg=null}args.push(curArg)}}return esValue[implSymbol].open(...args)}setRequestHeader(name,value){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'setRequestHeader' on 'XMLHttpRequest': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'setRequestHeader' on 'XMLHttpRequest': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'setRequestHeader' on 'XMLHttpRequest': parameter 2"});args.push(curArg)}return esValue[implSymbol].setRequestHeader(...args)}send(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}const args=[];{let curArg=arguments[0];if(curArg!==undefined){if(curArg===null||curArg===undefined){curArg=null}else{if(Document.is(curArg)||Blob.is(curArg)||FormData.is(curArg)){curArg=utils.implForWrapper(curArg)}else if(utils.isArrayBuffer(curArg)){}else if(ArrayBuffer.isView(curArg)){}else{curArg=conversions["USVString"](curArg,{context:"Failed to execute 'send' on 'XMLHttpRequest': parameter 1"})}}}else{curArg=null}args.push(curArg)}return esValue[implSymbol].send(...args)}abort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].abort()}getResponseHeader(name){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getResponseHeader' on 'XMLHttpRequest': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["ByteString"](curArg,{context:"Failed to execute 'getResponseHeader' on 'XMLHttpRequest': parameter 1"});args.push(curArg)}return esValue[implSymbol].getResponseHeader(...args)}getAllResponseHeaders(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol].getAllResponseHeaders()}overrideMimeType(mime){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'overrideMimeType' on 'XMLHttpRequest': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["DOMString"](curArg,{context:"Failed to execute 'overrideMimeType' on 'XMLHttpRequest': parameter 1"});args.push(curArg)}return esValue[implSymbol].overrideMimeType(...args)}get onreadystatechange(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onreadystatechange"])}set onreadystatechange(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onreadystatechange"]=V}get readyState(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["readyState"]}get timeout(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["timeout"]}set timeout(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["unsigned long"](V,{context:"Failed to set the 'timeout' property on 'XMLHttpRequest': The provided value"});esValue[implSymbol]["timeout"]=V}get withCredentials(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["withCredentials"]}set withCredentials(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=conversions["boolean"](V,{context:"Failed to set the 'withCredentials' property on 'XMLHttpRequest': The provided value"});esValue[implSymbol]["withCredentials"]=V}get upload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"upload",()=>utils.tryWrapperForImpl(esValue[implSymbol]["upload"]))}get responseURL(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["responseURL"]}get status(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["status"]}get statusText(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["statusText"]}get responseType(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["responseType"])}set responseType(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=`${V}`;if(!XMLHttpRequestResponseType.enumerationValues.has(V)){return}esValue[implSymbol]["responseType"]=V}get response(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["response"]}get responseText(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return esValue[implSymbol]["responseText"]}get responseXML(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["responseXML"])}}Object.defineProperties(XMLHttpRequest.prototype,{open:{enumerable:true},setRequestHeader:{enumerable:true},send:{enumerable:true},abort:{enumerable:true},getResponseHeader:{enumerable:true},getAllResponseHeaders:{enumerable:true},overrideMimeType:{enumerable:true},onreadystatechange:{enumerable:true},readyState:{enumerable:true},timeout:{enumerable:true},withCredentials:{enumerable:true},upload:{enumerable:true},responseURL:{enumerable:true},status:{enumerable:true},statusText:{enumerable:true},responseType:{enumerable:true},response:{enumerable:true},responseText:{enumerable:true},responseXML:{enumerable:true},[Symbol.toStringTag]:{value:"XMLHttpRequest",configurable:true},UNSENT:{value:0,enumerable:true},OPENED:{value:1,enumerable:true},HEADERS_RECEIVED:{value:2,enumerable:true},LOADING:{value:3,enumerable:true},DONE:{value:4,enumerable:true}});Object.defineProperties(XMLHttpRequest,{UNSENT:{value:0,enumerable:true},OPENED:{value:1,enumerable:true},HEADERS_RECEIVED:{value:2,enumerable:true},LOADING:{value:3,enumerable:true},DONE:{value:4,enumerable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=XMLHttpRequest;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:XMLHttpRequest})};const Impl=require("../xhr/XMLHttpRequest-impl.js")},{"../xhr/XMLHttpRequest-impl.js":761,"./Blob.js":399,"./Document.js":415,"./FormData.js":437,"./XMLHttpRequestEventTarget.js":580,"./XMLHttpRequestResponseType.js":581,"./utils.js":584,"webidl-conversions":776}],580:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const EventTarget=require("./EventTarget.js");const interfaceName="XMLHttpRequestEventTarget";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'XMLHttpRequestEventTarget'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["XMLHttpRequestEventTarget"];if(ctor===undefined){throw new Error("Internal error: constructor XMLHttpRequestEventTarget is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{EventTarget._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","DedicatedWorker","SharedWorker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.EventTarget===undefined){throw new Error("Internal error: attempting to evaluate XMLHttpRequestEventTarget before EventTarget")}class XMLHttpRequestEventTarget extends globalObject.EventTarget{constructor(){throw new TypeError("Illegal constructor")}get onloadstart(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadstart"])}set onloadstart(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadstart"]=V}get onprogress(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onprogress"])}set onprogress(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onprogress"]=V}get onabort(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onabort"])}set onabort(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onabort"]=V}get onerror(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onerror"])}set onerror(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onerror"]=V}get onload(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onload"])}set onload(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onload"]=V}get ontimeout(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["ontimeout"])}set ontimeout(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["ontimeout"]=V}get onloadend(){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}return utils.tryWrapperForImpl(esValue[implSymbol]["onloadend"])}set onloadend(V){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}V=utils.tryImplForWrapper(V);esValue[implSymbol]["onloadend"]=V}}Object.defineProperties(XMLHttpRequestEventTarget.prototype,{onloadstart:{enumerable:true},onprogress:{enumerable:true},onabort:{enumerable:true},onerror:{enumerable:true},onload:{enumerable:true},ontimeout:{enumerable:true},onloadend:{enumerable:true},[Symbol.toStringTag]:{value:"XMLHttpRequestEventTarget",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=XMLHttpRequestEventTarget;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:XMLHttpRequestEventTarget})};const Impl=require("../xhr/XMLHttpRequestEventTarget-impl.js")},{"../xhr/XMLHttpRequestEventTarget-impl.js":762,"./EventTarget.js":429,"./utils.js":584,"webidl-conversions":776}],581:[function(require,module,exports){"use strict";const enumerationValues=new Set(["","arraybuffer","blob","document","json","text"]);exports.enumerationValues=enumerationValues;exports.convert=function convert(value,{context:context="The provided value"}={}){const string=`${value}`;if(!enumerationValues.has(string)){throw new TypeError(`${context} '${string}' is not a valid enumeration value for XMLHttpRequestResponseType`)}return string}},{}],582:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const XMLHttpRequestEventTarget=require("./XMLHttpRequestEventTarget.js");const interfaceName="XMLHttpRequestUpload";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'XMLHttpRequestUpload'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["XMLHttpRequestUpload"];if(ctor===undefined){throw new Error("Internal error: constructor XMLHttpRequestUpload is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{XMLHttpRequestEventTarget._internalSetup(wrapper,globalObject)};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window","DedicatedWorker","SharedWorker"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}if(globalObject.XMLHttpRequestEventTarget===undefined){throw new Error("Internal error: attempting to evaluate XMLHttpRequestUpload before XMLHttpRequestEventTarget")}class XMLHttpRequestUpload extends globalObject.XMLHttpRequestEventTarget{constructor(){throw new TypeError("Illegal constructor")}}Object.defineProperties(XMLHttpRequestUpload.prototype,{[Symbol.toStringTag]:{value:"XMLHttpRequestUpload",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=XMLHttpRequestUpload;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:XMLHttpRequestUpload})};const Impl=require("../xhr/XMLHttpRequestUpload-impl.js")},{"../xhr/XMLHttpRequestUpload-impl.js":763,"./XMLHttpRequestEventTarget.js":580,"./utils.js":584,"webidl-conversions":776}],583:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const Node=require("./Node.js");const implSymbol=utils.implSymbol;const ctorRegistrySymbol=utils.ctorRegistrySymbol;const interfaceName="XMLSerializer";exports.is=value=>utils.isObject(value)&&utils.hasOwn(value,implSymbol)&&value[implSymbol]instanceof Impl.implementation;exports.isImpl=value=>utils.isObject(value)&&value instanceof Impl.implementation;exports.convert=(value,{context:context="The provided value"}={})=>{if(exports.is(value)){return utils.implForWrapper(value)}throw new TypeError(`${context} is not of type 'XMLSerializer'.`)};function makeWrapper(globalObject){if(globalObject[ctorRegistrySymbol]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistrySymbol]["XMLSerializer"];if(ctor===undefined){throw new Error("Internal error: constructor XMLSerializer is not installed on the passed global object")}return Object.create(ctor.prototype)}exports.create=(globalObject,constructorArgs,privateData)=>{const wrapper=makeWrapper(globalObject);return exports.setup(wrapper,globalObject,constructorArgs,privateData)};exports.createImpl=(globalObject,constructorArgs,privateData)=>{const wrapper=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(wrapper)};exports._internalSetup=(wrapper,globalObject)=>{};exports.setup=(wrapper,globalObject,constructorArgs=[],privateData={})=>{privateData.wrapper=wrapper;exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper};exports.new=globalObject=>{const wrapper=makeWrapper(globalObject);exports._internalSetup(wrapper,globalObject);Object.defineProperty(wrapper,implSymbol,{value:Object.create(Impl.implementation.prototype),configurable:true});wrapper[implSymbol][utils.wrapperSymbol]=wrapper;if(Impl.init){Impl.init(wrapper[implSymbol])}return wrapper[implSymbol]};const exposed=new Set(["Window"]);exports.install=(globalObject,globalNames)=>{if(!globalNames.some(globalName=>exposed.has(globalName))){return}class XMLSerializer{constructor(){return exports.setup(Object.create(new.target.prototype),globalObject,undefined)}serializeToString(root){const esValue=this!==null&&this!==undefined?this:globalObject;if(!exports.is(esValue)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'serializeToString' on 'XMLSerializer': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=Node.convert(curArg,{context:"Failed to execute 'serializeToString' on 'XMLSerializer': parameter 1"});args.push(curArg)}return esValue[implSymbol].serializeToString(...args)}}Object.defineProperties(XMLSerializer.prototype,{serializeToString:{enumerable:true},[Symbol.toStringTag]:{value:"XMLSerializer",configurable:true}});if(globalObject[ctorRegistrySymbol]===undefined){globalObject[ctorRegistrySymbol]=Object.create(null)}globalObject[ctorRegistrySymbol][interfaceName]=XMLSerializer;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:XMLSerializer})};const Impl=require("../domparsing/XMLSerializer-impl.js")},{"../domparsing/XMLSerializer-impl.js":361,"./Node.js":532,"./utils.js":584,"webidl-conversions":776}],584:[function(require,module,exports){"use strict";function isObject(value){return typeof value==="object"&&value!==null||typeof value==="function"}const hasOwn=Function.prototype.call.bind(Object.prototype.hasOwnProperty);const wrapperSymbol=Symbol("wrapper");const implSymbol=Symbol("impl");const sameObjectCaches=Symbol("SameObject caches");const ctorRegistrySymbol=Symbol.for("[webidl2js] constructor registry");function getSameObject(wrapper,prop,creator){if(!wrapper[sameObjectCaches]){wrapper[sameObjectCaches]=Object.create(null)}if(prop in wrapper[sameObjectCaches]){return wrapper[sameObjectCaches][prop]}wrapper[sameObjectCaches][prop]=creator();return wrapper[sameObjectCaches][prop]}function wrapperForImpl(impl){return impl?impl[wrapperSymbol]:null}function implForWrapper(wrapper){return wrapper?wrapper[implSymbol]:null}function tryWrapperForImpl(impl){const wrapper=wrapperForImpl(impl);return wrapper?wrapper:impl}function tryImplForWrapper(wrapper){const impl=implForWrapper(wrapper);return impl?impl:wrapper}const iterInternalSymbol=Symbol("internal");const IteratorPrototype=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function isArrayIndexPropName(P){if(typeof P!=="string"){return false}const i=P>>>0;if(i===Math.pow(2,32)-1){return false}const s=`${i}`;if(P!==s){return false}return true}const byteLengthGetter=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;function isArrayBuffer(value){try{byteLengthGetter.call(value);return true}catch(e){return false}}const supportsPropertyIndex=Symbol("supports property index");const supportedPropertyIndices=Symbol("supported property indices");const supportsPropertyName=Symbol("supports property name");const supportedPropertyNames=Symbol("supported property names");const indexedGet=Symbol("indexed property get");const indexedSetNew=Symbol("indexed property set new");const indexedSetExisting=Symbol("indexed property set existing");const namedGet=Symbol("named property get");const namedSetNew=Symbol("named property set new");const namedSetExisting=Symbol("named property set existing");const namedDelete=Symbol("named property delete");module.exports=exports={isObject:isObject,hasOwn:hasOwn,wrapperSymbol:wrapperSymbol,implSymbol:implSymbol,getSameObject:getSameObject,ctorRegistrySymbol:ctorRegistrySymbol,wrapperForImpl:wrapperForImpl,implForWrapper:implForWrapper,tryWrapperForImpl:tryWrapperForImpl,tryImplForWrapper:tryImplForWrapper,iterInternalSymbol:iterInternalSymbol,IteratorPrototype:IteratorPrototype,isArrayBuffer:isArrayBuffer,isArrayIndexPropName:isArrayIndexPropName,supportsPropertyIndex:supportsPropertyIndex,supportedPropertyIndices:supportedPropertyIndices,supportsPropertyName:supportsPropertyName,supportedPropertyNames:supportedPropertyNames,indexedGet:indexedGet,indexedSetNew:indexedSetNew,indexedSetExisting:indexedSetExisting,namedGet:namedGet,namedSetNew:namedSetNew,namedSetExisting:namedSetExisting,namedDelete:namedDelete}},{}],585:[function(require,module,exports){"use strict";exports.copyToArrayBufferInNewRealm=(nodejsBuffer,newRealm)=>{const newAB=new newRealm.ArrayBuffer(nodejsBuffer.byteLength);const view=new Uint8Array(newAB);view.set(nodejsBuffer);return newAB}},{}],586:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const interfaces=require("../interfaces");const{implForWrapper:implForWrapper}=require("../generated/utils");const{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=require("./namespaces");const{domSymbolTree:domSymbolTree}=require("./internal-constants");const{validateAndExtract:validateAndExtract}=require("./validate-names");const reportException=require("./runtime-script-errors");const{isValidCustomElementName:isValidCustomElementName,upgradeElement:upgradeElement,lookupCEDefinition:lookupCEDefinition,enqueueCEUpgradeReaction:enqueueCEUpgradeReaction}=require("./custom-elements");const INTERFACE_TAG_MAPPING={[HTML_NS]:{HTMLElement:["abbr","address","article","aside","b","bdi","bdo","cite","code","dd","dfn","dt","em","figcaption","figure","footer","header","hgroup","i","kbd","main","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLAnchorElement:["a"],HTMLAreaElement:["area"],HTMLAudioElement:["audio"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLBRElement:["br"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDListElement:["dl"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHeadElement:["head"],HTMLHRElement:["hr"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLIElement:["li"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:[],HTMLMenuElement:["menu"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLObjectElement:["object"],HTMLOListElement:["ol"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["listing","pre","xmp"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["th","td"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:[],HTMLVideoElement:["video"]},[SVG_NS]:{SVGElement:[],SVGGraphicsElement:[],SVGSVGElement:["svg"],SVGTitleElement:["title"]}};const TAG_INTERFACE_LOOKUP={};for(const namespace of[HTML_NS,SVG_NS]){TAG_INTERFACE_LOOKUP[namespace]={};const interfaceNames=Object.keys(INTERFACE_TAG_MAPPING[namespace]);for(const interfaceName of interfaceNames){const tagNames=INTERFACE_TAG_MAPPING[namespace][interfaceName];for(const tagName of tagNames){TAG_INTERFACE_LOOKUP[namespace][tagName]=interfaceName}}}const UNKNOWN_HTML_ELEMENTS_NAMES=["applet","bgsound","blink","isindex","keygen","multicol","nextid","spacer"];const HTML_ELEMENTS_NAMES=["acronym","basefont","big","center","nobr","noembed","noframes","plaintext","rb","rtc","strike","tt"];function getHTMLElementInterface(name){if(UNKNOWN_HTML_ELEMENTS_NAMES.includes(name)){return interfaces.getInterfaceWrapper("HTMLUnknownElement")}if(HTML_ELEMENTS_NAMES.includes(name)){return interfaces.getInterfaceWrapper("HTMLElement")}const specDefinedInterface=TAG_INTERFACE_LOOKUP[HTML_NS][name];if(specDefinedInterface!==undefined){return interfaces.getInterfaceWrapper(specDefinedInterface)}if(isValidCustomElementName(name)){return interfaces.getInterfaceWrapper("HTMLElement")}return interfaces.getInterfaceWrapper("HTMLUnknownElement")}function getSVGInterface(name){const specDefinedInterface=TAG_INTERFACE_LOOKUP[SVG_NS][name];if(specDefinedInterface!==undefined){return interfaces.getInterfaceWrapper(specDefinedInterface)}return interfaces.getInterfaceWrapper("SVGElement")}function getValidTagNames(namespace,name){if(INTERFACE_TAG_MAPPING[namespace]&&INTERFACE_TAG_MAPPING[namespace][name]){return INTERFACE_TAG_MAPPING[namespace][name]}return[]}function createElement(document,localName,namespace,prefix=null,isValue=null,synchronousCE=false){let result=null;const{_globalObject:_globalObject}=document;const definition=lookupCEDefinition(document,namespace,localName,isValue);if(definition!==null&&definition.name!==localName){const elementInterface=getHTMLElementInterface(localName);result=elementInterface.createImpl(_globalObject,[],{ownerDocument:document,localName:localName,namespace:HTML_NS,prefix:prefix,ceState:"undefined",ceDefinition:null,isValue:isValue});if(synchronousCE){upgradeElement(definition,result)}else{enqueueCEUpgradeReaction(result,definition)}}else if(definition!==null){if(synchronousCE){try{const C=definition.ctor;const resultWrapper=new C;result=implForWrapper(resultWrapper);if(!result._ceState||!result._ceDefinition||result._namespaceURI!==HTML_NS){throw new TypeError("Internal error: Invalid custom element.")}if(result._attributeList.length!==0){throw DOMException.create(_globalObject,["Unexpected attributes.","NotSupportedError"])}if(domSymbolTree.hasChildren(result)){throw DOMException.create(_globalObject,["Unexpected child nodes.","NotSupportedError"])}if(domSymbolTree.parent(result)){throw DOMException.create(_globalObject,["Unexpected element parent.","NotSupportedError"])}if(result._ownerDocument!==document){throw DOMException.create(_globalObject,["Unexpected element owner document.","NotSupportedError"])}if(result._namespaceURI!==namespace){throw DOMException.create(_globalObject,["Unexpected element namespace URI.","NotSupportedError"])}if(result._localName!==localName){throw DOMException.create(_globalObject,["Unexpected element local name.","NotSupportedError"])}result._prefix=prefix;result._isValue=isValue}catch(error){reportException(document._defaultView,error);const interfaceWrapper=interfaces.getInterfaceWrapper("HTMLUnknownElement");result=interfaceWrapper.createImpl(_globalObject,[],{ownerDocument:document,localName:localName,namespace:HTML_NS,prefix:prefix,ceState:"failed",ceDefinition:null,isValue:null})}}else{const interfaceWrapper=interfaces.getInterfaceWrapper("HTMLElement");result=interfaceWrapper.createImpl(_globalObject,[],{ownerDocument:document,localName:localName,namespace:HTML_NS,prefix:prefix,ceState:"undefined",ceDefinition:null,isValue:null});enqueueCEUpgradeReaction(result,definition)}}else{let elementInterface;switch(namespace){case HTML_NS:elementInterface=getHTMLElementInterface(localName);break;case SVG_NS:elementInterface=getSVGInterface(localName);break;default:elementInterface=interfaces.getInterfaceWrapper("Element");break}result=elementInterface.createImpl(_globalObject,[],{ownerDocument:document,localName:localName,namespace:namespace,prefix:prefix,ceState:"uncustomized",ceDefinition:null,isValue:isValue});if(namespace===HTML_NS&&(isValidCustomElementName(localName)||isValue!==null)){result._ceState="undefined"}}return result}function internalCreateElementNSSteps(document,namespace,qualifiedName,options){const extracted=validateAndExtract(document._globalObject,namespace,qualifiedName);let isValue=null;if(options&&options.is!==undefined){isValue=options.is}return createElement(document,extracted.localName,extracted.namespace,extracted.prefix,isValue,true)}module.exports={createElement:createElement,internalCreateElementNSSteps:internalCreateElementNSSteps,getValidTagNames:getValidTagNames,getHTMLElementInterface:getHTMLElementInterface}},{"../generated/utils":584,"../interfaces":615,"./custom-elements":588,"./internal-constants":596,"./namespaces":599,"./runtime-script-errors":603,"./validate-names":612,"domexception/webidl2js-wrapper":213}],587:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const idlUtils=require("../generated/utils");const ErrorEvent=require("../generated/ErrorEvent");const reportException=require("./runtime-script-errors");exports.appendHandler=function appendHandler(el,eventName){idlUtils.tryImplForWrapper(el).addEventListener(eventName,event=>{const callback=el["on"+eventName];if(callback===null){return}const specialError=ErrorEvent.isImpl(event)&&event.type==="error"&&event.currentTarget.constructor.name==="Window";let returnValue=null;const thisValue=idlUtils.tryWrapperForImpl(event.currentTarget);if(typeof callback==="function"){if(specialError){returnValue=callback.call(thisValue,event.message,event.filename,event.lineno,event.colno,event.error)}else{const eventWrapper=idlUtils.wrapperForImpl(event);returnValue=callback.call(thisValue,eventWrapper)}}if(event.type==="beforeunload"){returnValue=returnValue===undefined||returnValue===null?null:conversions.DOMString(returnValue);if(returnValue!==null){event._canceledFlag=true;if(event.returnValue===""){event.returnValue=returnValue}}}else if(specialError){if(returnValue===true){event._canceledFlag=true}}else if(returnValue===false){event._canceledFlag=true}})};exports.setupForSimpleEventAccessors=(prototype,events)=>{prototype._getEventHandlerFor=function(event){return this._eventHandlers?this._eventHandlers[event]:undefined};prototype._setEventHandlerFor=function(event,handler){if(!this._registeredHandlers){this._registeredHandlers=new Set;this._eventHandlers=Object.create(null)}if(!this._registeredHandlers.has(event)&&handler!==null){this._registeredHandlers.add(event);exports.appendHandler(this,event)}this._eventHandlers[event]=handler};for(const event of events){exports.createEventAccessor(prototype,event)}};exports.createEventAccessor=function createEventAccessor(obj,event){Object.defineProperty(obj,"on"+event,{configurable:true,enumerable:true,get(){const value=this._getEventHandlerFor(event);if(!value){return null}if(value.body!==undefined){let element;let document;if(this.constructor.name==="Window"){element=null;document=idlUtils.implForWrapper(this.document)}else{element=this;document=element.ownerDocument}const{body:body}=value;const formOwner=element!==null&&element.form?element.form:null;const window=this.constructor.name==="Window"&&this._document?this:document.defaultView;try{Function(body)}catch(e){if(window){reportException(window,e)}this._setEventHandlerFor(event,null);return null}let fn;const createFunction=document.defaultView.Function;if(event==="error"&&element===null){const wrapperBody=document?body+`\n//# sourceURL=${document.URL}`:body;fn=createFunction("window",`with (window) { return function onerror(event, source, lineno, colno, error) {\n ${wrapperBody}\n}; }`)(window)}else{const argNames=[];const args=[];argNames.push("window");args.push(window);if(element!==null){argNames.push("document");args.push(idlUtils.wrapperForImpl(document))}if(formOwner!==null){argNames.push("formOwner");args.push(idlUtils.wrapperForImpl(formOwner))}if(element!==null){argNames.push("element");args.push(idlUtils.wrapperForImpl(element))}let wrapperBody=`\nreturn function on${event}(event) {\n ${body}\n};`;for(let i=argNames.length-1;i>=0;--i){wrapperBody=`with (${argNames[i]}) { ${wrapperBody} }`}if(document){wrapperBody+=`\n//# sourceURL=${document.URL}`}argNames.push(wrapperBody);fn=createFunction(...argNames)(...args)}this._setEventHandlerFor(event,fn)}return this._getEventHandlerFor(event)},set(val){val=eventHandlerArgCoercion(val);this._setEventHandlerFor(event,val)}})};function typeIsObject(v){return typeof v==="object"&&v!==null||typeof v==="function"}function eventHandlerArgCoercion(val){if(!typeIsObject(val)){return null}return val}},{"../generated/ErrorEvent":422,"../generated/utils":584,"./runtime-script-errors":603,"webidl-conversions":776}],588:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const isPotentialCustomElementName=require("is-potential-custom-element-name");const NODE_TYPE=require("../node-type");const{HTML_NS:HTML_NS}=require("./namespaces");const{shadowIncludingRoot:shadowIncludingRoot}=require("./shadow-dom");const reportException=require("./runtime-script-errors");const{implForWrapper:implForWrapper,wrapperForImpl:wrapperForImpl}=require("../generated/utils");class CEReactionsStack{constructor(){this._stack=[];this.backupElementQueue=[];this.processingBackupElementQueue=false}push(elementQueue){this._stack.push(elementQueue)}pop(){return this._stack.pop()}get currentElementQueue(){const{_stack:_stack}=this;return _stack[_stack.length-1]}isEmpty(){return this._stack.length===0}}const customElementReactionsStack=new CEReactionsStack;function ceReactionsPreSteps(){customElementReactionsStack.push([])}function ceReactionsPostSteps(){const queue=customElementReactionsStack.pop();invokeCEReactions(queue)}const RESTRICTED_CUSTOM_ELEMENT_NAME=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function isValidCustomElementName(name){if(RESTRICTED_CUSTOM_ELEMENT_NAME.has(name)){return false}return isPotentialCustomElementName(name)}function upgradeElement(definition,element){if(element._ceState!=="undefined"||element._ceState==="uncustomized"){return}element._ceDefinition=definition;element._ceState="failed";for(const attribute of element._attributeList){const{_localName:_localName,_namespace:_namespace,_value:_value}=attribute;enqueueCECallbackReaction(element,"attributeChangedCallback",[_localName,null,_value,_namespace])}if(shadowIncludingRoot(element).nodeType===NODE_TYPE.DOCUMENT_NODE){enqueueCECallbackReaction(element,"connectedCallback",[])}definition.constructionStack.push(element);const{constructionStack:constructionStack,ctor:C}=definition;let constructionError;try{if(definition.disableShadow===true&&element._shadowRoot!==null){throw DOMException.create(element._globalObject,["Can't upgrade a custom element with a shadow root if shadow is disabled","NotSupportedError"])}const constructionResult=new C;const constructionResultImpl=implForWrapper(constructionResult);if(constructionResultImpl!==element){throw new TypeError("Invalid custom element constructor return value")}}catch(error){constructionError=error}constructionStack.pop();if(constructionError!==undefined){element._ceDefinition=null;element._ceReactionQueue=[];throw constructionError}element._ceState="custom"}function tryUpgradeElement(element){const{_ownerDocument:_ownerDocument,_namespaceURI:_namespaceURI,_localName:_localName,_isValue:_isValue}=element;const definition=lookupCEDefinition(_ownerDocument,_namespaceURI,_localName,_isValue);if(definition!==null){enqueueCEUpgradeReaction(element,definition)}}function lookupCEDefinition(document,namespace,localName,isValue){const definition=null;if(namespace!==HTML_NS){return definition}if(!document._defaultView){return definition}const registry=implForWrapper(document._globalObject.customElements);const definitionByName=registry._customElementDefinitions.find(def=>def.name===def.localName&&def.localName===localName);if(definitionByName!==undefined){return definitionByName}const definitionByIs=registry._customElementDefinitions.find(def=>def.name===isValue&&def.localName===localName);if(definitionByIs!==undefined){return definitionByIs}return definition}function invokeCEReactions(elementQueue){for(const element of elementQueue){const reactions=element._ceReactionQueue;try{while(reactions.length>0){const reaction=reactions.shift();switch(reaction.type){case"upgrade":upgradeElement(reaction.definition,element);break;case"callback":reaction.callback.apply(wrapperForImpl(element),reaction.args);break}}}catch(error){reportException(element._globalObject,error)}}}function enqueueElementOnAppropriateElementQueue(element){if(customElementReactionsStack.isEmpty()){customElementReactionsStack.backupElementQueue.push(element);if(customElementReactionsStack.processingBackupElementQueue){return}customElementReactionsStack.processingBackupElementQueue=true;Promise.resolve().then(()=>{const elementQueue=customElementReactionsStack.backupElementQueue;invokeCEReactions(elementQueue);customElementReactionsStack.processingBackupElementQueue=false})}else{customElementReactionsStack.currentElementQueue.push(element)}}function enqueueCECallbackReaction(element,callbackName,args){const{_ceDefinition:{lifecycleCallbacks:lifecycleCallbacks,observedAttributes:observedAttributes}}=element;const callback=lifecycleCallbacks[callbackName];if(callback===null){return}if(callbackName==="attributeChangedCallback"){const attributeName=args[0];if(!observedAttributes.includes(attributeName)){return}}element._ceReactionQueue.push({type:"callback",callback:callback,args:args});enqueueElementOnAppropriateElementQueue(element)}function enqueueCEUpgradeReaction(element,definition){element._ceReactionQueue.push({type:"upgrade",definition:definition});enqueueElementOnAppropriateElementQueue(element)}module.exports={customElementReactionsStack:customElementReactionsStack,ceReactionsPreSteps:ceReactionsPreSteps,ceReactionsPostSteps:ceReactionsPostSteps,isValidCustomElementName:isValidCustomElementName,upgradeElement:upgradeElement,tryUpgradeElement:tryUpgradeElement,lookupCEDefinition:lookupCEDefinition,enqueueCEUpgradeReaction:enqueueCEUpgradeReaction,enqueueCECallbackReaction:enqueueCECallbackReaction,invokeCEReactions:invokeCEReactions}},{"../generated/utils":584,"../node-type":631,"./namespaces":599,"./runtime-script-errors":603,"./shadow-dom":605,"domexception/webidl2js-wrapper":213,"is-potential-custom-element-name":329}],589:[function(require,module,exports){"use strict";function isLeapYear(year){return year%400===0||year%4===0&&year%100!==0}const daysInMonth=[31,28,31,30,31,30,31,31,30,31,30,31];function numberOfDaysInMonthOfYear(month,year){if(month===2&&isLeapYear(year)){return 29}return daysInMonth[month-1]}const monthRe=/^([0-9]{4,})-([0-9]{2})$/;function parseMonthString(str){const matches=monthRe.exec(str);if(!matches){return null}const year=Number(matches[1]);if(year<=0){return null}const month=Number(matches[2]);if(month<1||month>12){return null}return{year:year,month:month}}function isValidMonthString(str){return parseMonthString(str)!==null}function serializeMonth({year:year,month:month}){const yearStr=`${year}`.padStart(4,"0");const monthStr=`${month}`.padStart(2,"0");return`${yearStr}-${monthStr}`}const dateRe=/^([0-9]{4,})-([0-9]{2})-([0-9]{2})$/;function parseDateString(str){const matches=dateRe.exec(str);if(!matches){return null}const year=Number(matches[1]);if(year<=0){return null}const month=Number(matches[2]);if(month<1||month>12){return null}const day=Number(matches[3]);if(day<1||day>numberOfDaysInMonthOfYear(month,year)){return null}return{year:year,month:month,day:day}}function isValidDateString(str){return parseDateString(str)!==null}function serializeDate(date){const dayStr=`${date.day}`.padStart(2,"0");return`${serializeMonth(date)}-${dayStr}`}const yearlessDateRe=/^(?:--)?([0-9]{2})-([0-9]{2})$/;function parseYearlessDateString(str){const matches=yearlessDateRe.exec(str);if(!matches){return null}const month=Number(matches[1]);if(month<1||month>12){return null}const day=Number(matches[2]);if(day<1||day>numberOfDaysInMonthOfYear(month,4)){return null}return{month:month,day:day}}function isValidYearlessDateString(str){return parseYearlessDateString(str)!==null}function serializeYearlessDate({month:month,day:day}){const monthStr=`${month}`.padStart(2,"0");const dayStr=`${day}`.padStart(2,"0");return`${monthStr}-${dayStr}`}const timeRe=/^([0-9]{2}):([0-9]{2})(?::([0-9]{2}(?:\.([0-9]{1,3}))?))?$/;function parseTimeString(str){const matches=timeRe.exec(str);if(!matches){return null}const hour=Number(matches[1]);if(hour<0||hour>23){return null}const minute=Number(matches[2]);if(minute<0||minute>59){return null}const second=matches[3]!==undefined?Math.trunc(Number(matches[3])):0;if(second<0||second>=60){return null}const millisecond=matches[4]!==undefined?Number(matches[4]):0;return{hour:hour,minute:minute,second:second,millisecond:millisecond}}function isValidTimeString(str){return parseTimeString(str)!==null}function serializeTime({hour:hour,minute:minute,second:second,millisecond:millisecond}){const hourStr=`${hour}`.padStart(2,"0");const minuteStr=`${minute}`.padStart(2,"0");if(second===0&&millisecond===0){return`${hourStr}:${minuteStr}`}const secondStr=`${second}`.padStart(2,"0");const millisecondStr=`${millisecond}`.padStart(3,"0");return`${hourStr}:${minuteStr}:${secondStr}.${millisecondStr}`}function parseLocalDateAndTimeString(str,normalized=false){let separatorIdx=str.indexOf("T");if(separatorIdx<0&&!normalized){separatorIdx=str.indexOf(" ")}if(separatorIdx<0){return null}const date=parseDateString(str.slice(0,separatorIdx));if(date===null){return null}const time=parseTimeString(str.slice(separatorIdx+1));if(time===null){return null}return{date:date,time:time}}function isValidLocalDateAndTimeString(str){return parseLocalDateAndTimeString(str)!==null}function isValidNormalizedLocalDateAndTimeString(str){return parseLocalDateAndTimeString(str,true)!==null}function serializeNormalizedDateAndTime({date:date,time:time}){return`${serializeDate(date)}T${serializeTime(time)}`}function weekNumberOfLastDay(year){const jan1=new Date(year,0);return jan1.getDay()===4||isLeapYear(year)&&jan1.getDay()===3?53:52}const weekRe=/^([0-9]{4,5})-W([0-9]{2})$/;function parseWeekString(str){const matches=weekRe.exec(str);if(!matches){return null}const year=Number(matches[1]);if(year<=0){return null}const week=Number(matches[2]);if(week<1||week>weekNumberOfLastDay(year)){return null}return{year:year,week:week}}function isValidWeekString(str){return parseWeekString(str)!==null}function serializeWeek({year:year,week:week}){const yearStr=`${year}`.padStart(4,"0");const weekStr=`${week}`.padStart(2,"0");return`${yearStr}-W${weekStr}`}function parseDateAsWeek(originalDate){const dayInSeconds=864e5;const date=new Date(Date.UTC(originalDate.getUTCFullYear(),originalDate.getUTCMonth(),originalDate.getUTCDate()));date.setUTCDate(date.getUTCDate()+4-(date.getUTCDay()||7));const yearStart=new Date(Date.UTC(date.getUTCFullYear(),0,1));const week=Math.ceil(((date-yearStart)/dayInSeconds+1)/7);return{year:date.getUTCFullYear(),week:week}}function isDate(obj){try{Date.prototype.valueOf.call(obj);return true}catch{return false}}module.exports={isDate:isDate,numberOfDaysInMonthOfYear:numberOfDaysInMonthOfYear,parseMonthString:parseMonthString,isValidMonthString:isValidMonthString,serializeMonth:serializeMonth,parseDateString:parseDateString,isValidDateString:isValidDateString,serializeDate:serializeDate,parseYearlessDateString:parseYearlessDateString,isValidYearlessDateString:isValidYearlessDateString,serializeYearlessDate:serializeYearlessDate,parseTimeString:parseTimeString,isValidTimeString:isValidTimeString,serializeTime:serializeTime,parseLocalDateAndTimeString:parseLocalDateAndTimeString,isValidLocalDateAndTimeString:isValidLocalDateAndTimeString,isValidNormalizedLocalDateAndTimeString:isValidNormalizedLocalDateAndTimeString,serializeNormalizedDateAndTime:serializeNormalizedDateAndTime,parseDateAsWeek:parseDateAsWeek,weekNumberOfLastDay:weekNumberOfLastDay,parseWeekString:parseWeekString,isValidWeekString:isValidWeekString,serializeWeek:serializeWeek}},{}],590:[function(require,module,exports){"use strict";const{firstChildWithLocalName:firstChildWithLocalName}=require("./traversal");const{HTML_NS:HTML_NS}=require("./namespaces");exports.isSummaryForParentDetails=summaryElement=>{const parent=summaryElement.parentNode;if(parent===null){return false}if(parent._localName!=="details"||parent._namespaceURI!==HTML_NS){return false}return firstChildWithLocalName(parent,"summary")===summaryElement}},{"./namespaces":599,"./traversal":611}],591:[function(require,module,exports){"use strict";const whatwgURL=require("whatwg-url");exports.documentBaseURL=document=>{const firstBase=document.querySelector("base[href]");const fallbackBaseURL=exports.fallbackBaseURL(document);if(firstBase===null){return fallbackBaseURL}return frozenBaseURL(firstBase,fallbackBaseURL)};exports.documentBaseURLSerialized=document=>whatwgURL.serializeURL(exports.documentBaseURL(document));exports.fallbackBaseURL=document=>{if(document.URL==="about:blank"&&document._defaultView&&document._defaultView._parent!==document._defaultView){return exports.documentBaseURL(document._defaultView._parent._document)}return document._URL};exports.parseURLToResultingURLRecord=(url,document)=>{const baseURL=exports.documentBaseURL(document);return whatwgURL.parseURL(url,{baseURL:baseURL})};function frozenBaseURL(baseElement,fallbackBaseURL){const baseHrefAttribute=baseElement.getAttributeNS(null,"href");const result=whatwgURL.parseURL(baseHrefAttribute,{baseURL:fallbackBaseURL});return result===null?fallbackBaseURL:result}},{"whatwg-url":1024}],592:[function(require,module,exports){"use strict";const Event=require("../generated/Event");const{tryImplForWrapper:tryImplForWrapper}=require("../generated/utils");function createAnEvent(e,globalObject,eventInterface=Event,attributes={}){return eventInterface.createImpl(globalObject,[e,attributes],{isTrusted:attributes.isTrusted!==false})}function fireAnEvent(e,target,eventInterface,attributes,legacyTargetOverrideFlag){const event=createAnEvent(e,target._globalObject,eventInterface,attributes);return tryImplForWrapper(target)._dispatch(event,legacyTargetOverrideFlag)}module.exports={createAnEvent:createAnEvent,fireAnEvent:fireAnEvent}},{"../generated/Event":424,"../generated/utils":584}],593:[function(require,module,exports){"use strict";const nodeType=require("../node-type.js");const FocusEvent=require("../generated/FocusEvent.js");const idlUtils=require("../generated/utils.js");const{isDisabled:isDisabled}=require("./form-controls.js");const{firstChildWithLocalName:firstChildWithLocalName}=require("./traversal");const{createAnEvent:createAnEvent}=require("./events");const{HTML_NS:HTML_NS}=require("./namespaces");const focusableFormElements=new Set(["input","select","textarea","button"]);exports.isFocusableAreaElement=elImpl=>{if(!elImpl._ownerDocument._defaultView&&!elImpl._defaultView){return false}if(elImpl._nodeType===nodeType.DOCUMENT_NODE){return true}if(!Number.isNaN(parseInt(elImpl.getAttributeNS(null,"tabindex")))){return true}if(elImpl._namespaceURI===HTML_NS){if(elImpl._localName==="iframe"){return true}if(elImpl._localName==="a"&&elImpl.hasAttributeNS(null,"href")){return true}if(elImpl._localName==="summary"&&elImpl.parentNode&&elImpl.parentNode._localName==="details"&&elImpl===firstChildWithLocalName(elImpl.parentNode,"summary")){return true}if(focusableFormElements.has(elImpl._localName)&&!isDisabled(elImpl)){if(elImpl._localName==="input"&&elImpl.type==="hidden"){return false}return true}if(elImpl.hasAttributeNS(null,"contenteditable")){return true}}return false};exports.fireFocusEventWithTargetAdjustment=(name,target,relatedTarget,{bubbles:bubbles=false}={})=>{if(target===null){return}const event=createAnEvent(name,target._globalObject,FocusEvent,{bubbles:bubbles,composed:true,relatedTarget:relatedTarget,view:target._ownerDocument._defaultView,detail:0});if(target._defaultView){target=idlUtils.implForWrapper(target._defaultView)}target._dispatch(event)}},{"../generated/FocusEvent.js":435,"../generated/utils.js":584,"../node-type.js":631,"./events":592,"./form-controls.js":594,"./namespaces":599,"./traversal":611}],594:[function(require,module,exports){"use strict";const{isValidFloatingPointNumber:isValidFloatingPointNumber,isValidSimpleColor:isValidSimpleColor,parseFloatingPointNumber:parseFloatingPointNumber,stripLeadingAndTrailingASCIIWhitespace:stripLeadingAndTrailingASCIIWhitespace,stripNewlines:stripNewlines,splitOnCommas:splitOnCommas}=require("./strings");const{isValidDateString:isValidDateString,isValidMonthString:isValidMonthString,isValidTimeString:isValidTimeString,isValidWeekString:isValidWeekString,parseLocalDateAndTimeString:parseLocalDateAndTimeString,serializeNormalizedDateAndTime:serializeNormalizedDateAndTime}=require("./dates-and-times");const whatwgURL=require("whatwg-url");const NodeList=require("../generated/NodeList");const{domSymbolTree:domSymbolTree}=require("./internal-constants");const{closest:closest,firstChildWithLocalName:firstChildWithLocalName}=require("./traversal");const NODE_TYPE=require("../node-type");const{HTML_NS:HTML_NS}=require("./namespaces");exports.isDisabled=formControl=>{if(formControl.localName==="button"||formControl.localName==="input"||formControl.localName==="select"||formControl.localName==="textarea"){if(formControl.hasAttributeNS(null,"disabled")){return true}}let e=formControl.parentNode;while(e){if(e.localName==="fieldset"&&e.hasAttributeNS(null,"disabled")){const firstLegendElementChild=firstChildWithLocalName(e,"legend");if(!firstLegendElementChild||!firstLegendElementChild.contains(formControl)){return true}}e=e.parentNode}return false};const listedElements=new Set(["button","fieldset","input","object","output","select","textarea"]);exports.isListed=formControl=>listedElements.has(formControl._localName)&&formControl.namespaceURI===HTML_NS;const submittableElements=new Set(["button","input","object","select","textarea"]);exports.isSubmittable=formControl=>submittableElements.has(formControl._localName)&&formControl.namespaceURI===HTML_NS;const submitButtonInputTypes=new Set(["submit","image"]);exports.isSubmitButton=formControl=>(formControl._localName==="input"&&submitButtonInputTypes.has(formControl.type)||formControl._localName==="button"&&formControl.type==="submit")&&formControl.namespaceURI===HTML_NS;const buttonInputTypes=new Set([...submitButtonInputTypes,"reset","button"]);exports.isButton=formControl=>(formControl._localName==="input"&&buttonInputTypes.has(formControl.type)||formControl._localName==="button")&&formControl.namespaceURI===HTML_NS;exports.normalizeToCRLF=string=>string.replace(/\r([^\n])/g,"\r\n$1").replace(/\r$/,"\r\n").replace(/([^\r])\n/g,"$1\r\n").replace(/^\n/,"\r\n");exports.isInteractiveContent=node=>{if(node.nodeType!==NODE_TYPE.ELEMENT_NODE){return false}if(node.namespaceURI!==HTML_NS){return false}if(node.hasAttributeNS(null,"tabindex")){return true}switch(node.localName){case"a":return node.hasAttributeNS(null,"href");case"audio":case"video":return node.hasAttributeNS(null,"controls");case"img":case"object":return node.hasAttributeNS(null,"usemap");case"input":return node.type!=="hidden";case"button":case"details":case"embed":case"iframe":case"label":case"select":case"textarea":return true}return false};exports.isLabelable=node=>{if(node.nodeType!==NODE_TYPE.ELEMENT_NODE){return false}if(node.namespaceURI!==HTML_NS){return false}switch(node.localName){case"button":case"meter":case"output":case"progress":case"select":case"textarea":return true;case"input":return node.type!=="hidden"}return false};exports.getLabelsForLabelable=labelable=>{if(!exports.isLabelable(labelable)){return null}if(!labelable._labels){const root=labelable.getRootNode({});labelable._labels=NodeList.create(root._globalObject,[],{element:root,query:()=>{const nodes=[];for(const descendant of domSymbolTree.treeIterator(root)){if(descendant.control===labelable){nodes.push(descendant)}}return nodes}})}return labelable._labels};exports.isValidEmailAddress=(emailAddress,multiple=false)=>{const emailAddressRegExp=new RegExp("^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9]"+"(?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}"+"[a-zA-Z0-9])?)*$");if(multiple){return splitOnCommas(emailAddress).every(value=>emailAddressRegExp.test(value))}return emailAddressRegExp.test(emailAddress)};exports.isValidAbsoluteURL=url=>whatwgURL.parseURL(url)!==null;exports.sanitizeValueByType=(input,val)=>{switch(input.type.toLowerCase()){case"password":case"search":case"tel":case"text":val=stripNewlines(val);break;case"color":val=isValidSimpleColor(val)?val.toLowerCase():"#000000";break;case"date":if(!isValidDateString(val)){val=""}break;case"datetime-local":{const dateAndTime=parseLocalDateAndTimeString(val);val=dateAndTime!==null?serializeNormalizedDateAndTime(dateAndTime):"";break}case"email":if(input.hasAttributeNS(null,"multiple")){val=val.split(",").map(token=>stripLeadingAndTrailingASCIIWhitespace(token)).join(",")}else{val=stripNewlines(val);val=stripLeadingAndTrailingASCIIWhitespace(val)}break;case"month":if(!isValidMonthString(val)){val=""}break;case"number":if(!isValidFloatingPointNumber(val)||parseFloatingPointNumber(val)===null){val=""}break;case"range":if(!isValidFloatingPointNumber(val)||parseFloatingPointNumber(val)===null){const minimum=input._minimum;const maximum=input._maximum;const defaultValue=maximum<minimum?minimum:(minimum+maximum)/2;val=`${defaultValue}`}else if(val<input._minimum){val=`${input._minimum}`}else if(val>input._maximum){val=`${input._maximum}`}break;case"time":if(!isValidTimeString(val)){val=""}break;case"url":val=stripNewlines(val);val=stripLeadingAndTrailingASCIIWhitespace(val);break;case"week":if(!isValidWeekString(val)){val=""}}return val};exports.formOwner=formControl=>{const formAttr=formControl.getAttributeNS(null,"form");if(formAttr===""){return null}if(formAttr===null){return closest(formControl,"form")}const root=formControl.getRootNode({});let firstElementWithId;for(const descendant of domSymbolTree.treeIterator(root)){if(descendant.nodeType===NODE_TYPE.ELEMENT_NODE&&descendant.getAttributeNS(null,"id")===formAttr){firstElementWithId=descendant;break}}if(firstElementWithId&&firstElementWithId.namespaceURI===HTML_NS&&firstElementWithId.localName==="form"){return firstElementWithId}return null}},{"../generated/NodeList":535,"../node-type":631,"./dates-and-times":589,"./internal-constants":596,"./namespaces":599,"./strings":606,"./traversal":611,"whatwg-url":1024}],595:[function(require,module,exports){"use strict";const{HTML_NS:HTML_NS}=require("./namespaces");const{createElement:createElement,getValidTagNames:getValidTagNames}=require("./create-element");const{implForWrapper:implForWrapper,wrapperForImpl:wrapperForImpl}=require("../generated/utils");const ALREADY_CONSTRUCTED_MARKER=Symbol("already-constructed-marker");function HTMLConstructor(globalObject,constructorName,newTarget){const registry=implForWrapper(globalObject.customElements);if(newTarget===HTMLConstructor){throw new TypeError("Invalid constructor")}const definition=registry._customElementDefinitions.find(entry=>entry.ctor===newTarget);if(definition===undefined){throw new TypeError("Invalid constructor, the constructor is not part of the custom element registry")}let isValue=null;if(definition.localName===definition.name){if(constructorName!=="HTMLElement"){throw new TypeError("Invalid constructor, autonomous custom element should extend from HTMLElement")}}else{const validLocalNames=getValidTagNames(HTML_NS,constructorName);if(!validLocalNames.includes(definition.localName)){throw new TypeError(`${definition.localName} is not valid local name for ${constructorName}`)}isValue=definition.name}let{prototype:prototype}=newTarget;if(prototype===null||typeof prototype!=="object"){prototype=globalObject.HTMLElement.prototype}if(definition.constructionStack.length===0){const documentImpl=implForWrapper(globalObject.document);const elementImpl=createElement(documentImpl,definition.localName,HTML_NS);const element=wrapperForImpl(elementImpl);Object.setPrototypeOf(element,prototype);elementImpl._ceState="custom";elementImpl._ceDefinition=definition;elementImpl._isValue=isValue;return element}const elementImpl=definition.constructionStack[definition.constructionStack.length-1];const element=wrapperForImpl(elementImpl);if(elementImpl===ALREADY_CONSTRUCTED_MARKER){throw new TypeError("This instance is already constructed")}Object.setPrototypeOf(element,prototype);definition.constructionStack[definition.constructionStack.length-1]=ALREADY_CONSTRUCTED_MARKER;return element}module.exports={HTMLConstructor:HTMLConstructor}},{"../generated/utils":584,"./create-element":586,"./namespaces":599}],596:[function(require,module,exports){"use strict";const SymbolTree=require("symbol-tree");exports.cloningSteps=Symbol("cloning steps");exports.domSymbolTree=new SymbolTree("DOM SymbolTree")},{"symbol-tree":976}],597:[function(require,module,exports){"use strict";exports.parseJSONFromBytes=bytes=>{const jsonText=bytes.toString("utf-8");return JSON.parse(jsonText)}},{}],598:[function(require,module,exports){"use strict";const{domSymbolTree:domSymbolTree}=require("./internal-constants");const reportException=require("./runtime-script-errors");const Event=require("../generated/Event");const idlUtils=require("../generated/utils");const MutationRecord=require("../generated/MutationRecord");const MUTATION_TYPE={ATTRIBUTES:"attributes",CHARACTER_DATA:"characterData",CHILD_LIST:"childList"};let mutationObserverMicrotaskQueueFlag=false;const activeMutationObservers=new Set;const signalSlotList=[];function queueMutationRecord(type,target,name,namespace,oldValue,addedNodes,removedNodes,previousSibling,nextSibling){const interestedObservers=new Map;const nodes=domSymbolTree.ancestorsToArray(target);for(const node of nodes){for(const registered of node._registeredObserverList){const{options:options,observer:mo}=registered;if(!(node!==target&&options.subtree===false)&&!(type===MUTATION_TYPE.ATTRIBUTES&&options.attributes!==true)&&!(type===MUTATION_TYPE.ATTRIBUTES&&options.attributeFilter&&!options.attributeFilter.some(value=>value===name||value===namespace))&&!(type===MUTATION_TYPE.CHARACTER_DATA&&options.characterData!==true)&&!(type===MUTATION_TYPE.CHILD_LIST&&options.childList===false)){if(!interestedObservers.has(mo)){interestedObservers.set(mo,null)}if(type===MUTATION_TYPE.ATTRIBUTES&&options.attributeOldValue===true||type===MUTATION_TYPE.CHARACTER_DATA&&options.characterDataOldValue===true){interestedObservers.set(mo,oldValue)}}}}for(const[observer,mappedOldValue]of interestedObservers.entries()){const record=MutationRecord.createImpl(target._globalObject,[],{type:type,target:target,attributeName:name,attributeNamespace:namespace,oldValue:mappedOldValue,addedNodes:addedNodes,removedNodes:removedNodes,previousSibling:previousSibling,nextSibling:nextSibling});observer._recordQueue.push(record);activeMutationObservers.add(observer)}queueMutationObserverMicrotask()}function queueTreeMutationRecord(target,addedNodes,removedNodes,previousSibling,nextSibling){queueMutationRecord(MUTATION_TYPE.CHILD_LIST,target,null,null,null,addedNodes,removedNodes,previousSibling,nextSibling)}function queueAttributeMutationRecord(target,name,namespace,oldValue){queueMutationRecord(MUTATION_TYPE.ATTRIBUTES,target,name,namespace,oldValue,[],[],null,null)}function queueMutationObserverMicrotask(){if(mutationObserverMicrotaskQueueFlag){return}mutationObserverMicrotaskQueueFlag=true;Promise.resolve().then(()=>{notifyMutationObservers()})}function notifyMutationObservers(){mutationObserverMicrotaskQueueFlag=false;const notifyList=[...activeMutationObservers].sort((a,b)=>a._id-b._id);activeMutationObservers.clear();const signalList=[...signalSlotList];signalSlotList.splice(0,signalSlotList.length);for(const mo of notifyList){const records=[...mo._recordQueue];mo._recordQueue=[];for(const node of mo._nodeList){node._registeredObserverList=node._registeredObserverList.filter(registeredObserver=>registeredObserver.source!==mo);if(records.length){try{mo._callback(records.map(idlUtils.wrapperForImpl),idlUtils.wrapperForImpl(mo))}catch(e){const{target:target}=records[0];const window=target._ownerDocument._defaultView;reportException(window,e)}}}}for(const slot of signalList){const slotChangeEvent=Event.createImpl(slot._globalObject,["slotchange",{bubbles:true}],{isTrusted:true});slot._dispatch(slotChangeEvent)}}module.exports={MUTATION_TYPE:MUTATION_TYPE,queueMutationRecord:queueMutationRecord,queueTreeMutationRecord:queueTreeMutationRecord,queueAttributeMutationRecord:queueAttributeMutationRecord,queueMutationObserverMicrotask:queueMutationObserverMicrotask,signalSlotList:signalSlotList}},{"../generated/Event":424,"../generated/MutationRecord":529,"../generated/utils":584,"./internal-constants":596,"./runtime-script-errors":603}],599:[function(require,module,exports){"use strict";exports.HTML_NS="http://www.w3.org/1999/xhtml";exports.MATHML_NS="http://www.w3.org/1998/Math/MathML";exports.SVG_NS="http://www.w3.org/2000/svg";exports.XLINK_NS="http://www.w3.org/1999/xlink";exports.XML_NS="http://www.w3.org/XML/1998/namespace";exports.XMLNS_NS="http://www.w3.org/2000/xmlns/"},{}],600:[function(require,module,exports){"use strict";const NODE_TYPE=require("../node-type");const{domSymbolTree:domSymbolTree}=require("./internal-constants");function nodeLength(node){switch(node.nodeType){case NODE_TYPE.DOCUMENT_TYPE_NODE:return 0;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:return node.data.length;default:return domSymbolTree.childrenCount(node)}}function nodeRoot(node){while(domSymbolTree.parent(node)){node=domSymbolTree.parent(node)}return node}function isInclusiveAncestor(ancestorNode,node){while(node){if(ancestorNode===node){return true}node=domSymbolTree.parent(node)}return false}function isFollowing(nodeA,nodeB){if(nodeA===nodeB){return false}let current=nodeB;while(current){if(current===nodeA){return true}current=domSymbolTree.following(current)}return false}module.exports={nodeLength:nodeLength,nodeRoot:nodeRoot,isInclusiveAncestor:isInclusiveAncestor,isFollowing:isFollowing}},{"../node-type":631,"./internal-constants":596}],601:[function(require,module,exports){"use strict";const{parseFloatingPointNumber:parseFloatingPointNumber}=require("./strings");const{parseDateString:parseDateString,parseLocalDateAndTimeString:parseLocalDateAndTimeString,parseMonthString:parseMonthString,parseTimeString:parseTimeString,parseWeekString:parseWeekString,serializeDate:serializeDate,serializeMonth:serializeMonth,serializeNormalizedDateAndTime:serializeNormalizedDateAndTime,serializeTime:serializeTime,serializeWeek:serializeWeek,parseDateAsWeek:parseDateAsWeek}=require("./dates-and-times");function getUTCMs(year,month=1,day=1,hour=0,minute=0,second=0,millisecond=0){if(year>99||year<0){return Date.UTC(year,month-1,day,hour,minute,second,millisecond)}const d=new Date(0);d.setUTCFullYear(year);d.setUTCMonth(month-1);d.setUTCDate(day);d.setUTCHours(hour);d.setUTCMinutes(minute);d.setUTCSeconds(second,millisecond);return d.valueOf()}const dayOfWeekRelMondayLUT=[-1,0,1,2,3,-3,-2];exports.convertStringToNumberByType={date(input){const date=parseDateString(input);if(date===null){return null}return getUTCMs(date.year,date.month,date.day)},month(input){const date=parseMonthString(input);if(date===null){return null}return(date.year-1970)*12+(date.month-1)},week(input){const date=parseWeekString(input);if(date===null){return null}const dateObj=new Date(getUTCMs(date.year));const dayOfWeekRelMonday=dayOfWeekRelMondayLUT[dateObj.getUTCDay()];return dateObj.setUTCDate(1+7*(date.week-1)-dayOfWeekRelMonday)},time(input){const time=parseTimeString(input);if(time===null){return null}return((time.hour*60+time.minute)*60+time.second)*1e3+time.millisecond},"datetime-local"(input){const dateAndTime=parseLocalDateAndTimeString(input);if(dateAndTime===null){return null}const{date:{year:year,month:month,day:day},time:{hour:hour,minute:minute,second:second,millisecond:millisecond}}=dateAndTime;return getUTCMs(year,month,day,hour,minute,second,millisecond)},number:parseFloatingPointNumber,range:parseFloatingPointNumber};exports.convertStringToDateByType={date(input){const parsedInput=exports.convertStringToNumberByType.date(input);return parsedInput===null?null:new Date(parsedInput)},month(input){const parsedMonthString=parseMonthString(input);if(parsedMonthString===null){return null}const date=new Date(0);date.setUTCFullYear(parsedMonthString.year);date.setUTCMonth(parsedMonthString.month-1);return date},week(input){const parsedInput=exports.convertStringToNumberByType.week(input);return parsedInput===null?null:new Date(parsedInput)},time(input){const parsedInput=exports.convertStringToNumberByType.time(input);return parsedInput===null?null:new Date(parsedInput)},"datetime-local"(input){const parsedInput=exports.convertStringToNumberByType["datetime-local"](input);return parsedInput===null?null:new Date(parsedInput)}};exports.serializeDateByType={date(input){return serializeDate({year:input.getUTCFullYear(),month:input.getUTCMonth()+1,day:input.getUTCDate()})},month(input){return serializeMonth({year:input.getUTCFullYear(),month:input.getUTCMonth()+1})},week(input){return serializeWeek(parseDateAsWeek(input))},time(input){return serializeTime({hour:input.getUTCHours(),minute:input.getUTCMinutes(),second:input.getUTCSeconds(),millisecond:input.getUTCMilliseconds()})},"datetime-local"(input){return serializeNormalizedDateAndTime({date:{year:input.getUTCFullYear(),month:input.getUTCMonth()+1,day:input.getUTCDate()},time:{hour:input.getUTCHours(),minute:input.getUTCMinutes(),second:input.getUTCSeconds(),millisecond:input.getUTCMilliseconds()}})}};exports.convertNumberToStringByType={date(input){return exports.serializeDateByType.date(new Date(input))},month(input){const year=1970+Math.floor(input/12);const month=input%12;const date=new Date(0);date.setUTCFullYear(year);date.setUTCMonth(month);return exports.serializeDateByType.month(date)},week(input){return exports.serializeDateByType.week(new Date(input))},time(input){return exports.serializeDateByType.time(new Date(input))},"datetime-local"(input){return exports.serializeDateByType["datetime-local"](new Date(input))},number(input){return input.toString()},range(input){return input.toString()}}},{"./dates-and-times":589,"./strings":606}],602:[function(require,module,exports){"use strict";module.exports=class OrderedSet{constructor(){this._items=[]}append(item){if(!this.contains(item)){this._items.push(item)}}prepend(item){if(!this.contains(item)){this._items.unshift(item)}}replace(item,replacement){let seen=false;for(let i=0;i<this._items.length;){const isInstance=this._items[i]===item||this._items[i]===replacement;if(seen&&isInstance){this._items.splice(i,1)}else{if(isInstance){this._items[i]=replacement;seen=true}i++}}}remove(...items){this.removePredicate(item=>items.includes(item))}removePredicate(predicate){for(let i=0;i<this._items.length;){if(predicate(this._items[i])){this._items.splice(i,1)}else{i++}}}empty(){this._items.length=0}contains(item){return this._items.includes(item)}get size(){return this._items.length}isEmpty(){return this._items.length===0}[Symbol.iterator](){return this._items[Symbol.iterator]()}keys(){return this._items.keys()}get(index){return this._items[index]}some(func){return this._items.some(func)}static parse(input){const tokens=new OrderedSet;for(const token of input.split(/[\t\n\f\r ]+/)){if(token){tokens.append(token)}}return tokens}serialize(){return this._items.join(" ")}}},{}],603:[function(require,module,exports){"use strict";const util=require("util");const idlUtils=require("../generated/utils");const ErrorEvent=require("../generated/ErrorEvent");const{createAnEvent:createAnEvent}=require("../helpers/events");const errorReportingMode=Symbol("error reporting mode");function reportAnError(line,col,target,errorObject,message,location){if(target[errorReportingMode]){return false}target[errorReportingMode]=true;const event=createAnEvent("error",target._globalObject,ErrorEvent,{cancelable:true,message:message,filename:location,lineno:line,colno:col,error:errorObject});try{target._dispatch(event)}finally{target[errorReportingMode]=false;return event.defaultPrevented}}module.exports=function reportException(window,error,filenameHint){const stack=error&&error.stack;const lines=stack&&stack.split("\n");let pieces;if(lines){for(let i=1;i<lines.length&&!pieces;++i){pieces=lines[i].match(/at (?:(.+)\s+)?\(?(?:(.+?):(\d+):(\d+)|([^)]+))\)?/)}}const fileName=pieces&&pieces[2]||filenameHint||window._document.URL;const lineNumber=pieces&&parseInt(pieces[3])||0;const columnNumber=pieces&&parseInt(pieces[4])||0;const windowImpl=idlUtils.implForWrapper(window);const handled=reportAnError(lineNumber,columnNumber,windowImpl,error,error.message,fileName);if(!handled){const errorString=shouldBeDisplayedAsError(error)?`[${error.name}: ${error.message}]`:util.inspect(error);const jsdomError=new Error(`Uncaught ${errorString}`);jsdomError.detail=error;jsdomError.type="unhandled exception";window._virtualConsole.emit("jsdomError",jsdomError)}};function shouldBeDisplayedAsError(x){return x.name&&x.message!==undefined&&x.stack}},{"../generated/ErrorEvent":422,"../generated/utils":584,"../helpers/events":592,util:1e3}],604:[function(require,module,exports){"use strict";const nwsapi=require("nwsapi");const idlUtils=require("../generated/utils");function initNwsapi(node){const{_globalObject:_globalObject,_ownerDocument:_ownerDocument}=node;return nwsapi({document:_ownerDocument,DOMException:_globalObject.DOMException})}exports.matchesDontThrow=(elImpl,selector)=>{const document=elImpl._ownerDocument;if(!document._nwsapiDontThrow){document._nwsapiDontThrow=initNwsapi(elImpl);document._nwsapiDontThrow.configure({LOGERRORS:false,VERBOSITY:false,IDS_DUPES:true,MIXEDCASE:true})}return document._nwsapiDontThrow.match(selector,idlUtils.wrapperForImpl(elImpl))};exports.addNwsapi=parentNode=>{const document=parentNode._ownerDocument;if(!document._nwsapi){document._nwsapi=initNwsapi(parentNode);document._nwsapi.configure({LOGERRORS:false,IDS_DUPES:true,MIXEDCASE:true})}return document._nwsapi}},{"../generated/utils":584,nwsapi:802}],605:[function(require,module,exports){"use strict";const NODE_TYPE=require("../node-type");const{nodeRoot:nodeRoot}=require("./node");const{HTML_NS:HTML_NS}=require("./namespaces");const{domSymbolTree:domSymbolTree}=require("./internal-constants");const{signalSlotList:signalSlotList,queueMutationObserverMicrotask:queueMutationObserverMicrotask}=require("./mutation-observers");const VALID_HOST_ELEMENT_NAME=new Set(["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"]);function isValidHostElementName(name){return VALID_HOST_ELEMENT_NAME.has(name)}function isNode(nodeImpl){return Boolean(nodeImpl&&"nodeType"in nodeImpl)}function isShadowRoot(nodeImpl){return Boolean(nodeImpl&&nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&"host"in nodeImpl)}function isSlotable(nodeImpl){return nodeImpl&&(nodeImpl.nodeType===NODE_TYPE.ELEMENT_NODE||nodeImpl.nodeType===NODE_TYPE.TEXT_NODE)}function isSlot(nodeImpl){return nodeImpl&&nodeImpl.localName==="slot"&&nodeImpl._namespaceURI===HTML_NS}function isShadowInclusiveAncestor(ancestor,node){while(isNode(node)){if(node===ancestor){return true}if(isShadowRoot(node)){node=node.host}else{node=domSymbolTree.parent(node)}}return false}function retarget(a,b){while(true){if(!isNode(a)){return a}const aRoot=nodeRoot(a);if(!isShadowRoot(aRoot)||isNode(b)&&isShadowInclusiveAncestor(aRoot,b)){return a}a=nodeRoot(a).host}}function getEventTargetParent(eventTarget,event){return eventTarget._getTheParent?eventTarget._getTheParent(event):null}function shadowIncludingRoot(node){const root=nodeRoot(node);return isShadowRoot(root)?shadowIncludingRoot(root.host):root}function assignSlot(slotable){const slot=findSlot(slotable);if(slot){assignSlotable(slot)}}function assignSlotable(slot){const slotables=findSlotable(slot);let shouldFireSlotChange=false;if(slotables.length!==slot._assignedNodes.length){shouldFireSlotChange=true}else{for(let i=0;i<slotables.length;i++){if(slotables[i]!==slot._assignedNodes[i]){shouldFireSlotChange=true;break}}}if(shouldFireSlotChange){signalSlotChange(slot)}slot._assignedNodes=slotables;for(const slotable of slotables){slotable._assignedSlot=slot}}function assignSlotableForTree(root){for(const slot of domSymbolTree.treeIterator(root)){if(isSlot(slot)){assignSlotable(slot)}}}function findSlotable(slot){const result=[];const root=nodeRoot(slot);if(!isShadowRoot(root)){return result}for(const slotable of domSymbolTree.treeIterator(root.host)){const foundSlot=findSlot(slotable);if(foundSlot===slot){result.push(slotable)}}return result}function findFlattenedSlotables(slot){const result=[];const root=nodeRoot(slot);if(!isShadowRoot(root)){return result}const slotables=findSlotable(slot);if(slotables.length===0){for(const child of domSymbolTree.childrenIterator(slot)){if(isSlotable(child)){slotables.push(child)}}}for(const node of slotables){if(isSlot(node)&&isShadowRoot(nodeRoot(node))){const temporaryResult=findFlattenedSlotables(node);result.push(...temporaryResult)}else{result.push(node)}}return result}function findSlot(slotable,openFlag){const{parentNode:parent}=slotable;if(!parent){return null}const shadow=parent._shadowRoot;if(!shadow||openFlag&&shadow.mode!=="open"){return null}for(const child of domSymbolTree.treeIterator(shadow)){if(isSlot(child)&&child.name===slotable._slotableName){return child}}return null}function signalSlotChange(slot){if(!signalSlotList.some(entry=>entry===slot)){signalSlotList.push(slot)}queueMutationObserverMicrotask()}function*shadowIncludingInclusiveDescendantsIterator(node){yield node;if(node._shadowRoot){yield*shadowIncludingInclusiveDescendantsIterator(node._shadowRoot)}for(const child of domSymbolTree.childrenIterator(node)){yield*shadowIncludingInclusiveDescendantsIterator(child)}}function*shadowIncludingDescendantsIterator(node){if(node._shadowRoot){yield*shadowIncludingInclusiveDescendantsIterator(node._shadowRoot)}for(const child of domSymbolTree.childrenIterator(node)){yield*shadowIncludingInclusiveDescendantsIterator(child)}}module.exports={isValidHostElementName:isValidHostElementName,isNode:isNode,isSlotable:isSlotable,isSlot:isSlot,isShadowRoot:isShadowRoot,isShadowInclusiveAncestor:isShadowInclusiveAncestor,retarget:retarget,getEventTargetParent:getEventTargetParent,shadowIncludingRoot:shadowIncludingRoot,assignSlot:assignSlot,assignSlotable:assignSlotable,assignSlotableForTree:assignSlotableForTree,findSlot:findSlot,findFlattenedSlotables:findFlattenedSlotables,signalSlotChange:signalSlotChange,shadowIncludingInclusiveDescendantsIterator:shadowIncludingInclusiveDescendantsIterator,shadowIncludingDescendantsIterator:shadowIncludingDescendantsIterator}},{"../node-type":631,"./internal-constants":596,"./mutation-observers":598,"./namespaces":599,"./node":600}],606:[function(require,module,exports){"use strict";const asciiWhitespaceRe=/^[\t\n\f\r ]$/;exports.asciiWhitespaceRe=asciiWhitespaceRe;exports.asciiLowercase=s=>s.replace(/[A-Z]/g,l=>l.toLowerCase());exports.asciiUppercase=s=>s.replace(/[a-z]/g,l=>l.toUpperCase());exports.stripNewlines=s=>s.replace(/[\n\r]+/g,"");exports.stripLeadingAndTrailingASCIIWhitespace=s=>s.replace(/^[ \t\n\f\r]+/,"").replace(/[ \t\n\f\r]+$/,"");exports.stripAndCollapseASCIIWhitespace=s=>s.replace(/[ \t\n\f\r]+/g," ").replace(/^[ \t\n\f\r]+/,"").replace(/[ \t\n\f\r]+$/,"");exports.isValidSimpleColor=s=>/^#[a-fA-F\d]{6}$/.test(s);exports.asciiCaseInsensitiveMatch=(a,b)=>{if(a.length!==b.length){return false}for(let i=0;i<a.length;++i){if((a.charCodeAt(i)|32)!==(b.charCodeAt(i)|32)){return false}}return true};const parseInteger=exports.parseInteger=input=>{const numWhitespace=input.length-input.trimStart().length;if(/[^\t\n\f\r ]/.test(input.slice(0,numWhitespace))){return null}const value=parseInt(input,10);if(Number.isNaN(value)){return null}return value===0?0:value};exports.parseNonNegativeInteger=input=>{const value=parseInteger(input);if(value===null){return null}if(value<0){return null}return value};const floatingPointNumRe=/^-?(?:\d+|\d*\.\d+)(?:[eE][-+]?\d+)?$/;exports.isValidFloatingPointNumber=str=>floatingPointNumRe.test(str);exports.parseFloatingPointNumber=str=>{const numWhitespace=str.length-str.trimStart().length;if(/[^\t\n\f\r ]/.test(str.slice(0,numWhitespace))){return null}const parsed=parseFloat(str);return isFinite(parsed)?parsed:null};exports.splitOnASCIIWhitespace=str=>{let position=0;const tokens=[];while(position<str.length&&asciiWhitespaceRe.test(str[position])){position++}if(position===str.length){return tokens}while(position<str.length){const start=position;while(position<str.length&&!asciiWhitespaceRe.test(str[position])){position++}tokens.push(str.slice(start,position));while(position<str.length&&asciiWhitespaceRe.test(str[position])){position++}}return tokens};exports.splitOnCommas=str=>{let position=0;const tokens=[];while(position<str.length){let start=position;while(position<str.length&&str[position]!==","){position++}let end=position;while(start<str.length&&asciiWhitespaceRe.test(str[start])){start++}while(end>start&&asciiWhitespaceRe.test(str[end-1])){end--}tokens.push(str.slice(start,end));if(position<str.length){position++}}return tokens}},{}],607:[function(require,module,exports){"use strict";const cssom=require("cssom");const defaultStyleSheet=require("../../browser/default-stylesheet");const{matchesDontThrow:matchesDontThrow}=require("./selectors");const{forEach:forEach,indexOf:indexOf}=Array.prototype;let parsedDefaultStyleSheet;exports.propertiesWithResolvedValueImplemented={__proto__:null,visibility:{inherited:true,initial:"visible",computedValue:"as-specified"}};exports.forEachMatchingSheetRuleOfElement=(elementImpl,handleRule)=>{function handleSheet(sheet){forEach.call(sheet.cssRules,rule=>{if(rule.media){if(indexOf.call(rule.media,"screen")!==-1){forEach.call(rule.cssRules,innerRule=>{if(matches(innerRule,elementImpl)){handleRule(innerRule)}})}}else if(matches(rule,elementImpl)){handleRule(rule)}})}if(!parsedDefaultStyleSheet){parsedDefaultStyleSheet=cssom.parse(defaultStyleSheet)}handleSheet(parsedDefaultStyleSheet);forEach.call(elementImpl._ownerDocument.styleSheets._list,handleSheet)};function matches(rule,element){return matchesDontThrow(element,rule.selectorText)}function getCascadedPropertyValue(element,property){let value="";exports.forEachMatchingSheetRuleOfElement(element,rule=>{value=rule.style.getPropertyValue(property)});const inlineValue=element.style.getPropertyValue(property);if(inlineValue!==""&&inlineValue!==null){value=inlineValue}return value}function getSpecifiedValue(element,property){const cascade=getCascadedPropertyValue(element,property);if(cascade!==""){return cascade}const{initial:initial,inherited:inherited}=exports.propertiesWithResolvedValueImplemented[property];if(inherited&&element.parentElement!==null){return getComputedValue(element.parentElement,property)}return initial}function getComputedValue(element,property){const{computedValue:computedValue}=exports.propertiesWithResolvedValueImplemented[property];if(computedValue==="as-specified"){return getSpecifiedValue(element,property)}throw new TypeError(`Internal error: unrecognized computed value instruction '${computedValue}'`)}exports.getResolvedValue=(element,property)=>getComputedValue(element,property)},{"../../browser/default-stylesheet":336,"./selectors":604,cssom:162}],608:[function(require,module,exports){"use strict";const cssom=require("cssom");const whatwgEncoding=require("whatwg-encoding");const whatwgURL=require("whatwg-url");exports.fetchStylesheet=(elementImpl,urlString)=>{const parsedURL=whatwgURL.parseURL(urlString);return fetchStylesheetInternal(elementImpl,urlString,parsedURL)};exports.removeStylesheet=(sheet,elementImpl)=>{const{styleSheets:styleSheets}=elementImpl._ownerDocument;styleSheets._remove(sheet);elementImpl.sheet=null};exports.createStylesheet=(sheetText,elementImpl,baseURL)=>{let sheet;try{sheet=cssom.parse(sheetText)}catch(e){if(elementImpl._ownerDocument._defaultView){const error=new Error("Could not parse CSS stylesheet");error.detail=sheetText;error.type="css parsing";elementImpl._ownerDocument._defaultView._virtualConsole.emit("jsdomError",error)}return}scanForImportRules(elementImpl,sheet.cssRules,baseURL);addStylesheet(sheet,elementImpl)};function addStylesheet(sheet,elementImpl){elementImpl._ownerDocument.styleSheets._add(sheet);elementImpl.sheet=sheet}function fetchStylesheetInternal(elementImpl,urlString,parsedURL){const document=elementImpl._ownerDocument;let defaultEncoding=document._encoding;const resourceLoader=document._resourceLoader;if(elementImpl.localName==="link"&&elementImpl.hasAttributeNS(null,"charset")){defaultEncoding=whatwgEncoding.labelToName(elementImpl.getAttributeNS(null,"charset"))}function onStylesheetLoad(data){const css=whatwgEncoding.decode(data,defaultEncoding);if(elementImpl.sheet){exports.removeStylesheet(elementImpl.sheet,elementImpl)}exports.createStylesheet(css,elementImpl,parsedURL)}resourceLoader.fetch(urlString,{element:elementImpl,onLoad:onStylesheetLoad})}function scanForImportRules(elementImpl,cssRules,baseURL){if(!cssRules){return}for(let i=0;i<cssRules.length;++i){if(cssRules[i].cssRules){scanForImportRules(elementImpl,cssRules[i].cssRules,baseURL)}else if(cssRules[i].href){const parsed=whatwgURL.parseURL(cssRules[i].href,{baseURL:baseURL});if(parsed===null){const window=elementImpl._ownerDocument._defaultView;if(window){const error=new Error(`Could not parse CSS @import URL ${cssRules[i].href} relative to base URL `+`"${whatwgURL.serializeURL(baseURL)}"`);error.type="css @import URL parsing";window._virtualConsole.emit("jsdomError",error)}}else{fetchStylesheetInternal(elementImpl,whatwgURL.serializeURL(parsed),parsed)}}}}},{cssom:162,"whatwg-encoding":1019,"whatwg-url":1024}],609:[function(require,module,exports){"use strict";function detach(value){if(typeof value==="string"){return}throw new TypeError(`jsdom internal error: detaching object of wrong type ${value}`)}exports.detach=detach;function attach(value,listObject){if(typeof value==="string"){return}throw new TypeError(`jsdom internal error: attaching object of wrong type ${value}`)}exports.attach=attach;function reserializeSpaceSeparatedTokens(elements){return elements.join(" ")}exports.reserializeSpaceSeparatedTokens=reserializeSpaceSeparatedTokens;function reserializeCommaSeparatedTokens(elements){return elements.join(", ")}exports.reserializeCommaSeparatedTokens=reserializeCommaSeparatedTokens},{}],610:[function(require,module,exports){"use strict";const{domSymbolTree:domSymbolTree}=require("./internal-constants");const{CDATA_SECTION_NODE:CDATA_SECTION_NODE,TEXT_NODE:TEXT_NODE}=require("../node-type");exports.childTextContent=node=>{let result="";const iterator=domSymbolTree.childrenIterator(node);for(const child of iterator){if(child.nodeType===TEXT_NODE||child.nodeType===CDATA_SECTION_NODE){result+=child.data}}return result}},{"../node-type":631,"./internal-constants":596}],611:[function(require,module,exports){"use strict";const{domSymbolTree:domSymbolTree}=require("./internal-constants");const{HTML_NS:HTML_NS}=require("./namespaces");exports.closest=(e,localName,namespace=HTML_NS)=>{while(e){if(e.localName===localName&&e.namespaceURI===namespace){return e}e=domSymbolTree.parent(e)}return null};exports.childrenByLocalName=(parent,localName,namespace=HTML_NS)=>domSymbolTree.childrenToArray(parent,{filter(node){return node._localName===localName&&node._namespaceURI===namespace}});exports.descendantsByLocalName=(parent,localName,namespace=HTML_NS)=>domSymbolTree.treeToArray(parent,{filter(node){return node._localName===localName&&node._namespaceURI===namespace&&node!==parent}});exports.childrenByLocalNames=(parent,localNamesSet,namespace=HTML_NS)=>domSymbolTree.childrenToArray(parent,{filter(node){return localNamesSet.has(node._localName)&&node._namespaceURI===namespace}});exports.descendantsByLocalNames=(parent,localNamesSet,namespace=HTML_NS)=>domSymbolTree.treeToArray(parent,{filter(node){return localNamesSet.has(node._localName)&&node._namespaceURI===namespace&&node!==parent}});exports.firstChildWithLocalName=(parent,localName,namespace=HTML_NS)=>{const iterator=domSymbolTree.childrenIterator(parent);for(const child of iterator){if(child._localName===localName&&child._namespaceURI===namespace){return child}}return null};exports.firstChildWithLocalNames=(parent,localNamesSet,namespace=HTML_NS)=>{const iterator=domSymbolTree.childrenIterator(parent);for(const child of iterator){if(localNamesSet.has(child._localName)&&child._namespaceURI===namespace){return child}}return null};exports.firstDescendantWithLocalName=(parent,localName,namespace=HTML_NS)=>{const iterator=domSymbolTree.treeIterator(parent);for(const descendant of iterator){if(descendant._localName===localName&&descendant._namespaceURI===namespace){return descendant}}return null}},{"./internal-constants":596,"./namespaces":599}],612:[function(require,module,exports){"use strict";const xnv=require("xml-name-validator");const DOMException=require("domexception/webidl2js-wrapper");const{XML_NS:XML_NS,XMLNS_NS:XMLNS_NS}=require("../helpers/namespaces");exports.name=function(globalObject,name){const result=xnv.name(name);if(!result.success){throw DOMException.create(globalObject,['"'+name+'" did not match the Name production: '+result.error,"InvalidCharacterError"])}};exports.qname=function(globalObject,qname){exports.name(globalObject,qname);const result=xnv.qname(qname);if(!result.success){throw DOMException.create(globalObject,['"'+qname+'" did not match the QName production: '+result.error,"InvalidCharacterError"])}};exports.validateAndExtract=function(globalObject,namespace,qualifiedName){if(namespace===""){namespace=null}exports.qname(globalObject,qualifiedName);let prefix=null;let localName=qualifiedName;const colonIndex=qualifiedName.indexOf(":");if(colonIndex!==-1){prefix=qualifiedName.substring(0,colonIndex);localName=qualifiedName.substring(colonIndex+1)}if(prefix!==null&&namespace===null){throw DOMException.create(globalObject,["A namespace was given but a prefix was also extracted from the qualifiedName","NamespaceError"])}if(prefix==="xml"&&namespace!==XML_NS){throw DOMException.create(globalObject,['A prefix of "xml" was given but the namespace was not the XML namespace',"NamespaceError"])}if((qualifiedName==="xmlns"||prefix==="xmlns")&&namespace!==XMLNS_NS){throw DOMException.create(globalObject,['A prefix or qualifiedName of "xmlns" was given but the namespace was not the XMLNS namespace',"NamespaceError"])}if(namespace===XMLNS_NS&&qualifiedName!=="xmlns"&&prefix!=="xmlns"){throw DOMException.create(globalObject,['The XMLNS namespace was given but neither the prefix nor qualifiedName was "xmlns"',"NamespaceError"])}return{namespace:namespace,prefix:prefix,localName:localName}}},{"../helpers/namespaces":599,"domexception/webidl2js-wrapper":213,"xml-name-validator":1035}],613:[function(require,module,exports){"use strict";const request=require("request");module.exports=cookieJar=>{const jarWrapper=request.jar();jarWrapper._jar=cookieJar;return jarWrapper}},{request:893}],614:[function(require,module,exports){"use strict";const EventTargetImpl=require("../events/EventTarget-impl").implementation;class PerformanceImpl extends EventTargetImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._rawPerformance=privateData.rawPerformance}now(){return this._rawPerformance.now()}get timeOrigin(){return this._rawPerformance.timeOrigin}toJSON(){return this._rawPerformance.toJSON()}}exports.implementation=PerformanceImpl},{"../events/EventTarget-impl":370}],615:[function(require,module,exports){"use strict";const style=require("../level2/style");const xpath=require("../level3/xpath");const generatedInterfaces={DOMException:require("domexception/webidl2js-wrapper"),URL:require("whatwg-url/webidl2js-wrapper").URL,URLSearchParams:require("whatwg-url/webidl2js-wrapper").URLSearchParams,EventTarget:require("./generated/EventTarget"),NamedNodeMap:require("./generated/NamedNodeMap"),Node:require("./generated/Node"),Attr:require("./generated/Attr"),Element:require("./generated/Element"),DocumentFragment:require("./generated/DocumentFragment"),DOMImplementation:require("./generated/DOMImplementation"),Document:require("./generated/Document"),XMLDocument:require("./generated/XMLDocument"),CharacterData:require("./generated/CharacterData"),Text:require("./generated/Text"),CDATASection:require("./generated/CDATASection"),ProcessingInstruction:require("./generated/ProcessingInstruction"),Comment:require("./generated/Comment"),DocumentType:require("./generated/DocumentType"),NodeList:require("./generated/NodeList"),HTMLCollection:require("./generated/HTMLCollection"),HTMLOptionsCollection:require("./generated/HTMLOptionsCollection"),DOMStringMap:require("./generated/DOMStringMap"),DOMTokenList:require("./generated/DOMTokenList"),StyleSheetList:require("./generated/StyleSheetList.js"),HTMLElement:require("./generated/HTMLElement.js"),HTMLHeadElement:require("./generated/HTMLHeadElement.js"),HTMLTitleElement:require("./generated/HTMLTitleElement.js"),HTMLBaseElement:require("./generated/HTMLBaseElement.js"),HTMLLinkElement:require("./generated/HTMLLinkElement.js"),HTMLMetaElement:require("./generated/HTMLMetaElement.js"),HTMLStyleElement:require("./generated/HTMLStyleElement.js"),HTMLBodyElement:require("./generated/HTMLBodyElement.js"),HTMLHeadingElement:require("./generated/HTMLHeadingElement.js"),HTMLParagraphElement:require("./generated/HTMLParagraphElement.js"),HTMLHRElement:require("./generated/HTMLHRElement.js"),HTMLPreElement:require("./generated/HTMLPreElement.js"),HTMLUListElement:require("./generated/HTMLUListElement.js"),HTMLOListElement:require("./generated/HTMLOListElement.js"),HTMLLIElement:require("./generated/HTMLLIElement.js"),HTMLMenuElement:require("./generated/HTMLMenuElement.js"),HTMLDListElement:require("./generated/HTMLDListElement.js"),HTMLDivElement:require("./generated/HTMLDivElement.js"),HTMLAnchorElement:require("./generated/HTMLAnchorElement.js"),HTMLAreaElement:require("./generated/HTMLAreaElement.js"),HTMLBRElement:require("./generated/HTMLBRElement.js"),HTMLButtonElement:require("./generated/HTMLButtonElement.js"),HTMLCanvasElement:require("./generated/HTMLCanvasElement.js"),HTMLDataElement:require("./generated/HTMLDataElement.js"),HTMLDataListElement:require("./generated/HTMLDataListElement.js"),HTMLDetailsElement:require("./generated/HTMLDetailsElement.js"),HTMLDialogElement:require("./generated/HTMLDialogElement.js"),HTMLDirectoryElement:require("./generated/HTMLDirectoryElement.js"),HTMLFieldSetElement:require("./generated/HTMLFieldSetElement.js"),HTMLFontElement:require("./generated/HTMLFontElement.js"),HTMLFormElement:require("./generated/HTMLFormElement.js"),HTMLHtmlElement:require("./generated/HTMLHtmlElement.js"),HTMLImageElement:require("./generated/HTMLImageElement.js"),HTMLInputElement:require("./generated/HTMLInputElement.js"),HTMLLabelElement:require("./generated/HTMLLabelElement.js"),HTMLLegendElement:require("./generated/HTMLLegendElement.js"),HTMLMapElement:require("./generated/HTMLMapElement.js"),HTMLMarqueeElement:require("./generated/HTMLMarqueeElement.js"),HTMLMediaElement:require("./generated/HTMLMediaElement.js"),HTMLMeterElement:require("./generated/HTMLMeterElement.js"),HTMLModElement:require("./generated/HTMLModElement.js"),HTMLOptGroupElement:require("./generated/HTMLOptGroupElement.js"),HTMLOptionElement:require("./generated/HTMLOptionElement.js"),HTMLOutputElement:require("./generated/HTMLOutputElement.js"),HTMLPictureElement:require("./generated/HTMLPictureElement.js"),HTMLProgressElement:require("./generated/HTMLProgressElement.js"),HTMLQuoteElement:require("./generated/HTMLQuoteElement.js"),HTMLScriptElement:require("./generated/HTMLScriptElement.js"),HTMLSelectElement:require("./generated/HTMLSelectElement.js"),HTMLSlotElement:require("./generated/HTMLSlotElement.js"),HTMLSourceElement:require("./generated/HTMLSourceElement.js"),HTMLSpanElement:require("./generated/HTMLSpanElement.js"),HTMLTableCaptionElement:require("./generated/HTMLTableCaptionElement.js"),HTMLTableCellElement:require("./generated/HTMLTableCellElement.js"),HTMLTableColElement:require("./generated/HTMLTableColElement.js"),HTMLTableElement:require("./generated/HTMLTableElement.js"),HTMLTimeElement:require("./generated/HTMLTimeElement.js"),HTMLTableRowElement:require("./generated/HTMLTableRowElement.js"),HTMLTableSectionElement:require("./generated/HTMLTableSectionElement.js"),HTMLTemplateElement:require("./generated/HTMLTemplateElement.js"),HTMLTextAreaElement:require("./generated/HTMLTextAreaElement.js"),HTMLUnknownElement:require("./generated/HTMLUnknownElement.js"),HTMLFrameElement:require("./generated/HTMLFrameElement.js"),HTMLFrameSetElement:require("./generated/HTMLFrameSetElement.js"),HTMLIFrameElement:require("./generated/HTMLIFrameElement.js"),HTMLEmbedElement:require("./generated/HTMLEmbedElement.js"),HTMLObjectElement:require("./generated/HTMLObjectElement.js"),HTMLParamElement:require("./generated/HTMLParamElement.js"),HTMLVideoElement:require("./generated/HTMLVideoElement.js"),HTMLAudioElement:require("./generated/HTMLAudioElement.js"),HTMLTrackElement:require("./generated/HTMLTrackElement.js"),SVGElement:require("./generated/SVGElement.js"),SVGGraphicsElement:require("./generated/SVGGraphicsElement.js"),SVGSVGElement:require("./generated/SVGSVGElement.js"),SVGTitleElement:require("./generated/SVGTitleElement.js"),SVGAnimatedString:require("./generated/SVGAnimatedString"),SVGNumber:require("./generated/SVGNumber"),SVGStringList:require("./generated/SVGStringList"),Event:require("./generated/Event"),CloseEvent:require("./generated/CloseEvent"),CustomEvent:require("./generated/CustomEvent"),MessageEvent:require("./generated/MessageEvent"),ErrorEvent:require("./generated/ErrorEvent"),HashChangeEvent:require("./generated/HashChangeEvent"),PopStateEvent:require("./generated/PopStateEvent"),StorageEvent:require("./generated/StorageEvent"),ProgressEvent:require("./generated/ProgressEvent"),PageTransitionEvent:require("./generated/PageTransitionEvent"),UIEvent:require("./generated/UIEvent"),FocusEvent:require("./generated/FocusEvent"),InputEvent:require("./generated/InputEvent"),MouseEvent:require("./generated/MouseEvent"),KeyboardEvent:require("./generated/KeyboardEvent"),TouchEvent:require("./generated/TouchEvent"),CompositionEvent:require("./generated/CompositionEvent"),WheelEvent:require("./generated/WheelEvent"),BarProp:require("./generated/BarProp"),External:require("./generated/External"),Location:require("./generated/Location"),History:require("./generated/History"),Screen:require("./generated/Screen"),Performance:require("./generated/Performance"),Navigator:require("./generated/Navigator"),PluginArray:require("./generated/PluginArray"),MimeTypeArray:require("./generated/MimeTypeArray"),Plugin:require("./generated/Plugin"),MimeType:require("./generated/MimeType"),FileReader:require("./generated/FileReader"),Blob:require("./generated/Blob"),File:require("./generated/File"),FileList:require("./generated/FileList"),ValidityState:require("./generated/ValidityState"),DOMParser:require("./generated/DOMParser"),XMLSerializer:require("./generated/XMLSerializer"),FormData:require("./generated/FormData"),XMLHttpRequestEventTarget:require("./generated/XMLHttpRequestEventTarget"),XMLHttpRequestUpload:require("./generated/XMLHttpRequestUpload"),XMLHttpRequest:require("./generated/XMLHttpRequest"),WebSocket:require("./generated/WebSocket"),NodeFilter:require("./generated/NodeFilter"),NodeIterator:require("./generated/NodeIterator"),TreeWalker:require("./generated/TreeWalker"),AbstractRange:require("./generated/AbstractRange"),Range:require("./generated/Range"),StaticRange:require("./generated/StaticRange"),Selection:require("./generated/Selection"),Storage:require("./generated/Storage"),CustomElementRegistry:require("./generated/CustomElementRegistry"),ShadowRoot:require("./generated/ShadowRoot"),MutationObserver:require("./generated/MutationObserver"),MutationRecord:require("./generated/MutationRecord"),Headers:require("./generated/Headers"),AbortController:require("./generated/AbortController"),AbortSignal:require("./generated/AbortSignal")};function install(window,name,interfaceConstructor){Object.defineProperty(window,name,{configurable:true,writable:true,value:interfaceConstructor})}exports.installInterfaces=(window,globalNames)=>{for(const generatedInterface of Object.values(generatedInterfaces)){generatedInterface.install(window,globalNames)}install(window,"HTMLDocument",window.Document);style.addToCore(window);xpath(window)};exports.getInterfaceWrapper=name=>generatedInterfaces[name]},{"../level2/style":348,"../level3/xpath":349,"./generated/AbortController":391,"./generated/AbortSignal":392,"./generated/AbstractRange":393,"./generated/Attr":396,"./generated/BarProp":397,"./generated/Blob":399,"./generated/CDATASection":401,"./generated/CharacterData":402,"./generated/CloseEvent":403,"./generated/Comment":405,"./generated/CompositionEvent":406,"./generated/CustomElementRegistry":408,"./generated/CustomEvent":409,"./generated/DOMImplementation":411,"./generated/DOMParser":412,"./generated/DOMStringMap":413,"./generated/DOMTokenList":414,"./generated/Document":415,"./generated/DocumentFragment":416,"./generated/DocumentType":417,"./generated/Element":418,"./generated/ErrorEvent":422,"./generated/Event":424,"./generated/EventTarget":429,"./generated/External":430,"./generated/File":431,"./generated/FileList":432,"./generated/FileReader":434,"./generated/FocusEvent":435,"./generated/FormData":437,"./generated/HTMLAnchorElement.js":439,"./generated/HTMLAreaElement.js":440,"./generated/HTMLAudioElement.js":441,"./generated/HTMLBRElement.js":442,"./generated/HTMLBaseElement.js":443,"./generated/HTMLBodyElement.js":444,"./generated/HTMLButtonElement.js":445,"./generated/HTMLCanvasElement.js":446,"./generated/HTMLCollection":447,"./generated/HTMLDListElement.js":448,"./generated/HTMLDataElement.js":449,"./generated/HTMLDataListElement.js":450,"./generated/HTMLDetailsElement.js":451,"./generated/HTMLDialogElement.js":452,"./generated/HTMLDirectoryElement.js":453,"./generated/HTMLDivElement.js":454,"./generated/HTMLElement.js":455,"./generated/HTMLEmbedElement.js":456,"./generated/HTMLFieldSetElement.js":457,"./generated/HTMLFontElement.js":458,"./generated/HTMLFormElement.js":459,"./generated/HTMLFrameElement.js":460,"./generated/HTMLFrameSetElement.js":461,"./generated/HTMLHRElement.js":462,"./generated/HTMLHeadElement.js":463,"./generated/HTMLHeadingElement.js":464,"./generated/HTMLHtmlElement.js":465,"./generated/HTMLIFrameElement.js":466,"./generated/HTMLImageElement.js":467,"./generated/HTMLInputElement.js":468,"./generated/HTMLLIElement.js":469,"./generated/HTMLLabelElement.js":470,"./generated/HTMLLegendElement.js":471,"./generated/HTMLLinkElement.js":472,"./generated/HTMLMapElement.js":473,"./generated/HTMLMarqueeElement.js":474,"./generated/HTMLMediaElement.js":475,"./generated/HTMLMenuElement.js":476,"./generated/HTMLMetaElement.js":477,"./generated/HTMLMeterElement.js":478,"./generated/HTMLModElement.js":479,"./generated/HTMLOListElement.js":480,"./generated/HTMLObjectElement.js":481,"./generated/HTMLOptGroupElement.js":482,"./generated/HTMLOptionElement.js":483,"./generated/HTMLOptionsCollection":484,"./generated/HTMLOutputElement.js":485,"./generated/HTMLParagraphElement.js":486,"./generated/HTMLParamElement.js":487,"./generated/HTMLPictureElement.js":488,"./generated/HTMLPreElement.js":489,"./generated/HTMLProgressElement.js":490,"./generated/HTMLQuoteElement.js":491,"./generated/HTMLScriptElement.js":492,"./generated/HTMLSelectElement.js":493,"./generated/HTMLSlotElement.js":494,"./generated/HTMLSourceElement.js":495,"./generated/HTMLSpanElement.js":496,"./generated/HTMLStyleElement.js":497,"./generated/HTMLTableCaptionElement.js":498,"./generated/HTMLTableCellElement.js":499,"./generated/HTMLTableColElement.js":500,"./generated/HTMLTableElement.js":501,"./generated/HTMLTableRowElement.js":502,"./generated/HTMLTableSectionElement.js":503,"./generated/HTMLTemplateElement.js":504,"./generated/HTMLTextAreaElement.js":505,"./generated/HTMLTimeElement.js":506,"./generated/HTMLTitleElement.js":507,"./generated/HTMLTrackElement.js":508,"./generated/HTMLUListElement.js":509,"./generated/HTMLUnknownElement.js":510,"./generated/HTMLVideoElement.js":511,"./generated/HashChangeEvent":512,"./generated/Headers":514,"./generated/History":515,"./generated/InputEvent":516,"./generated/KeyboardEvent":518,"./generated/Location":520,"./generated/MessageEvent":521,"./generated/MimeType":523,"./generated/MimeTypeArray":524,"./generated/MouseEvent":525,"./generated/MutationObserver":527,"./generated/MutationRecord":529,"./generated/NamedNodeMap":530,"./generated/Navigator":531,"./generated/Node":532,"./generated/NodeFilter":533,"./generated/NodeIterator":534,"./generated/NodeList":535,"./generated/PageTransitionEvent":536,"./generated/Performance":538,"./generated/Plugin":539,"./generated/PluginArray":540,"./generated/PopStateEvent":541,"./generated/ProcessingInstruction":543,"./generated/ProgressEvent":544,"./generated/Range":546,"./generated/SVGAnimatedString":547,"./generated/SVGElement.js":548,"./generated/SVGGraphicsElement.js":549,"./generated/SVGNumber":550,"./generated/SVGSVGElement.js":551,"./generated/SVGStringList":552,"./generated/SVGTitleElement.js":553,"./generated/Screen":554,"./generated/Selection":555,"./generated/ShadowRoot":557,"./generated/StaticRange":560,"./generated/Storage":562,"./generated/StorageEvent":563,"./generated/StyleSheetList.js":565,"./generated/Text":567,"./generated/TouchEvent":569,"./generated/TreeWalker":571,"./generated/UIEvent":572,"./generated/ValidityState":574,"./generated/WebSocket":575,"./generated/WheelEvent":576,"./generated/XMLDocument":578,"./generated/XMLHttpRequest":579,"./generated/XMLHttpRequestEventTarget":580,"./generated/XMLHttpRequestUpload":582,"./generated/XMLSerializer":583,"domexception/webidl2js-wrapper":213,"whatwg-url/webidl2js-wrapper":1033}],616:[function(require,module,exports){"use strict";const{wrapperForImpl:wrapperForImpl}=require("../generated/utils");let mutationObserverId=0;class MutationObserverImpl{constructor(globalObject,args){const[callback]=args;this._callback=callback;this._nodeList=[];this._recordQueue=[];this._id=++mutationObserverId}observe(target,options){if(("attributeOldValue"in options||"attributeFilter"in options)&&!("attributes"in options)){options.attributes=true}if("characterDataOldValue"in options&!("characterData"in options)){options.characterData=true}if(!options.childList&&!options.attributes&&!options.characterData){throw new TypeError("The options object must set at least one of 'attributes', 'characterData', or 'childList' "+"to true.")}else if(options.attributeOldValue&&!options.attributes){throw new TypeError("The options object may only set 'attributeOldValue' to true when 'attributes' is true or "+"not present.")}else if("attributeFilter"in options&&!options.attributes){throw new TypeError("The options object may only set 'attributeFilter' when 'attributes' is true or not "+"present.")}else if(options.characterDataOldValue&&!options.characterData){throw new TypeError("The options object may only set 'characterDataOldValue' to true when 'characterData' is "+"true or not present.")}const existingRegisteredObserver=target._registeredObserverList.find(registeredObserver=>registeredObserver.observer===this);if(existingRegisteredObserver){for(const node of this._nodeList){node._registeredObserverList=node._registeredObserverList.filter(registeredObserver=>registeredObserver.source!==existingRegisteredObserver)}existingRegisteredObserver.options=options}else{target._registeredObserverList.push({observer:this,options:options});this._nodeList.push(target)}}disconnect(){for(const node of this._nodeList){node._registeredObserverList=node._registeredObserverList.filter(registeredObserver=>registeredObserver.observer!==this)}this._recordQueue=[]}takeRecords(){const records=this._recordQueue.map(wrapperForImpl);this._recordQueue=[];return records}}module.exports={implementation:MutationObserverImpl}},{"../generated/utils":584}],617:[function(require,module,exports){"use strict";const NodeList=require("../generated/NodeList");class MutationRecordImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject;this.type=privateData.type;this.target=privateData.target;this.previousSibling=privateData.previousSibling;this.nextSibling=privateData.nextSibling;this.attributeName=privateData.attributeName;this.attributeNamespace=privateData.attributeNamespace;this.oldValue=privateData.oldValue;this._addedNodes=privateData.addedNodes;this._removedNodes=privateData.removedNodes}get addedNodes(){return NodeList.createImpl(this._globalObject,[],{nodes:this._addedNodes})}get removedNodes(){return NodeList.createImpl(this._globalObject,[],{nodes:this._removedNodes})}}module.exports={implementation:MutationRecordImpl}},{"../generated/NodeList":535}],618:[function(require,module,exports){"use strict";const hasOwnProp=Object.prototype.hasOwnProperty;const namedPropertiesTracker=require("../named-properties-tracker");const NODE_TYPE=require("./node-type");const HTMLCollection=require("./generated/HTMLCollection");const{treeOrderSorter:treeOrderSorter}=require("../utils");const idlUtils=require("./generated/utils");function isNamedPropertyElement(element){if("contentWindow"in element&&!hasOwnProp.call(element,"contentWindow")){return true}switch(element.nodeName){case"A":case"AREA":case"EMBED":case"FORM":case"FRAMESET":case"IMG":case"OBJECT":return true;default:return false}}function namedPropertyResolver(window,name,values){function getResult(){const results=[];for(const node of values().keys()){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE){continue}if(node.getAttributeNS(null,"id")===name){results.push(node)}else if(node.getAttributeNS(null,"name")===name&&isNamedPropertyElement(node)){results.push(node)}}results.sort(treeOrderSorter);return results}const document=window._document;const objects=HTMLCollection.create(window,[],{element:idlUtils.implForWrapper(document.documentElement),query:getResult});const{length:length}=objects;for(let i=0;i<length;++i){const node=objects[i];if("contentWindow"in node&&!hasOwnProp.call(node,"contentWindow")&&node.getAttributeNS(null,"name")===name){return node.contentWindow}}if(length===0){return undefined}if(length===1){return objects[0]}return objects}exports.initializeWindow=function(window,windowProxy){namedPropertiesTracker.create(window,windowProxy,namedPropertyResolver.bind(null))};exports.elementAttributeModified=function(element,name,value,oldValue){if(!element._attached){return}const useName=isNamedPropertyElement(element);if(name==="id"||name==="name"&&useName){const tracker=namedPropertiesTracker.get(element._ownerDocument._global);if(tracker){if(name==="id"&&(!useName||element.getAttributeNS(null,"name")!==oldValue)){tracker.untrack(oldValue,element)}if(name==="name"&&element.getAttributeNS(null,"id")!==oldValue){tracker.untrack(oldValue,element)}tracker.track(value,element)}}};exports.nodeAttachedToDocument=function(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE){return}const tracker=namedPropertiesTracker.get(node._ownerDocument._global);if(!tracker){return}tracker.track(node.getAttributeNS(null,"id"),node);if(isNamedPropertyElement(node)){tracker.track(node.getAttributeNS(null,"name"),node)}};exports.nodeDetachedFromDocument=function(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE){return}const tracker=namedPropertiesTracker.get(node._ownerDocument._global);if(!tracker){return}tracker.untrack(node.getAttributeNS(null,"id"),node);if(isNamedPropertyElement(node)){tracker.untrack(node.getAttributeNS(null,"name"),node)}}},{"../named-properties-tracker":765,"../utils":766,"./generated/HTMLCollection":447,"./generated/utils":584,"./node-type":631}],619:[function(require,module,exports){"use strict";exports.implementation=class MimeType{}},{}],620:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils");exports.implementation=class MimeTypeArray{get length(){return 0}item(){return null}namedItem(){return null}get[idlUtils.supportedPropertyIndices](){return[]}get[idlUtils.supportedPropertyNames](){return[]}}},{"../generated/utils":584}],621:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const NavigatorIDImpl=require("./NavigatorID-impl").implementation;const NavigatorLanguageImpl=require("./NavigatorLanguage-impl").implementation;const NavigatorOnLineImpl=require("./NavigatorOnLine-impl").implementation;const NavigatorCookiesImpl=require("./NavigatorCookies-impl").implementation;const NavigatorPluginsImpl=require("./NavigatorPlugins-impl").implementation;const NavigatorConcurrentHardwareImpl=require("./NavigatorConcurrentHardware-impl").implementation;class NavigatorImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject;this.userAgent=privateData.userAgent;this.languages=Object.freeze(["en-US","en"])}}mixin(NavigatorImpl.prototype,NavigatorIDImpl.prototype);mixin(NavigatorImpl.prototype,NavigatorLanguageImpl.prototype);mixin(NavigatorImpl.prototype,NavigatorOnLineImpl.prototype);mixin(NavigatorImpl.prototype,NavigatorCookiesImpl.prototype);mixin(NavigatorImpl.prototype,NavigatorPluginsImpl.prototype);mixin(NavigatorImpl.prototype,NavigatorConcurrentHardwareImpl.prototype);exports.implementation=NavigatorImpl},{"../../utils":766,"./NavigatorConcurrentHardware-impl":622,"./NavigatorCookies-impl":623,"./NavigatorID-impl":624,"./NavigatorLanguage-impl":625,"./NavigatorOnLine-impl":626,"./NavigatorPlugins-impl":627}],622:[function(require,module,exports){"use strict";const os=require("os");exports.implementation=class NavigatorConcurrentHardwareImpl{get hardwareConcurrency(){return os.cpus().length}}},{os:805}],623:[function(require,module,exports){"use strict";exports.implementation=class NavigatorCookiesImpl{get cookieEnabled(){return true}}},{}],624:[function(require,module,exports){"use strict";exports.implementation=class NavigatorIDImpl{get appCodeName(){return"Mozilla"}get appName(){return"Netscape"}get appVersion(){return"4.0"}get platform(){return""}get product(){return"Gecko"}get productSub(){return"20030107"}get vendor(){return"Apple Computer, Inc."}get vendorSub(){return""}}},{}],625:[function(require,module,exports){"use strict";exports.implementation=class NavigatorLanguageImpl{get language(){return"en-US"}}},{}],626:[function(require,module,exports){"use strict";exports.implementation=class NavigatorOnLineImpl{get onLine(){return true}}},{}],627:[function(require,module,exports){"use strict";const PluginArray=require("../generated/PluginArray");const MimeTypeArray=require("../generated/MimeTypeArray");exports.implementation=class NavigatorPluginsImpl{get plugins(){return PluginArray.create(this._globalObject)}get mimeTypes(){return MimeTypeArray.create(this._globalObject)}javaEnabled(){return false}}},{"../generated/MimeTypeArray":524,"../generated/PluginArray":540}],628:[function(require,module,exports){"use strict";exports.implementation=class Plugin{}},{}],629:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils");exports.implementation=class PluginArray{refresh(){}get length(){return 0}item(){return null}namedItem(){return null}get[idlUtils.supportedPropertyIndices](){return[]}get[idlUtils.supportedPropertyNames](){return[]}}},{"../generated/utils":584}],630:[function(require,module,exports){"use strict";module.exports=Object.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32})},{}],631:[function(require,module,exports){"use strict";module.exports=Object.freeze({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})},{}],632:[function(require,module,exports){"use strict";const{appendAttribute:appendAttribute}=require("./attributes");const NODE_TYPE=require("./node-type");const orderedSetParse=require("./helpers/ordered-set").parse;const{createElement:createElement}=require("./helpers/create-element");const{HTML_NS:HTML_NS,XMLNS_NS:XMLNS_NS}=require("./helpers/namespaces");const{cloningSteps:cloningSteps,domSymbolTree:domSymbolTree}=require("./helpers/internal-constants");const{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch,asciiLowercase:asciiLowercase}=require("./helpers/strings");const HTMLCollection=require("./generated/HTMLCollection");exports.clone=(node,document,cloneChildren)=>{if(document===undefined){document=node._ownerDocument}let copy;switch(node.nodeType){case NODE_TYPE.DOCUMENT_NODE:copy=node._cloneDocument();break;case NODE_TYPE.DOCUMENT_TYPE_NODE:copy=document.implementation.createDocumentType(node.name,node.publicId,node.systemId);break;case NODE_TYPE.ELEMENT_NODE:copy=createElement(document,node._localName,node._namespaceURI,node._prefix,node._isValue,false);for(const attribute of node._attributeList){appendAttribute(copy,exports.clone(attribute,document))}break;case NODE_TYPE.ATTRIBUTE_NODE:copy=document._createAttribute({namespace:node._namespace,namespacePrefix:node._namespacePrefix,localName:node._localName,value:node._value});break;case NODE_TYPE.TEXT_NODE:copy=document.createTextNode(node._data);break;case NODE_TYPE.CDATA_SECTION_NODE:copy=document.createCDATASection(node._data);break;case NODE_TYPE.COMMENT_NODE:copy=document.createComment(node._data);break;case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:copy=document.createProcessingInstruction(node.target,node._data);break;case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:copy=document.createDocumentFragment();break}if(node[cloningSteps]){node[cloningSteps](copy,node,document,cloneChildren)}if(cloneChildren){for(const child of domSymbolTree.childrenIterator(node)){const childCopy=exports.clone(child,document,true);copy._append(childCopy)}}return copy};exports.listOfElementsWithClassNames=(classNames,root)=>{const classes=orderedSetParse(classNames);if(classes.size===0){return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>[]})}return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>{const isQuirksMode=root._ownerDocument.compatMode==="BackCompat";return domSymbolTree.treeToArray(root,{filter(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE||node===root){return false}const{classList:classList}=node;if(isQuirksMode){for(const className of classes){if(!classList.tokenSet.some(cur=>asciiCaseInsensitiveMatch(cur,className))){return false}}}else{for(const className of classes){if(!classList.tokenSet.contains(className)){return false}}}return true}})}})};exports.listOfElementsWithQualifiedName=(qualifiedName,root)=>{if(qualifiedName==="*"){return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE&&node!==root})})}if(root._ownerDocument._parsingMode==="html"){const lowerQualifiedName=asciiLowercase(qualifiedName);return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE||node===root){return false}if(node._namespaceURI===HTML_NS){return node._qualifiedName===lowerQualifiedName}return node._qualifiedName===qualifiedName}})})}return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE||node===root){return false}return node._qualifiedName===qualifiedName}})})};exports.listOfElementsWithNamespaceAndLocalName=(namespace,localName,root)=>{if(namespace===""){namespace=null}if(namespace==="*"&&localName==="*"){return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE&&node!==root})})}if(namespace==="*"){return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE||node===root){return false}return node._localName===localName}})})}if(localName==="*"){return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE||node===root){return false}return node._namespaceURI===namespace}})})}return HTMLCollection.createImpl(root._globalObject,[],{element:root,query:()=>domSymbolTree.treeToArray(root,{filter(node){if(node.nodeType!==NODE_TYPE.ELEMENT_NODE||node===root){return false}return node._localName===localName&&node._namespaceURI===namespace}})})};exports.convertNodesIntoNode=(document,nodes)=>{if(nodes.length===1){return typeof nodes[0]==="string"?document.createTextNode(nodes[0]):nodes[0]}const fragment=document.createDocumentFragment();for(let i=0;i<nodes.length;i++){fragment._append(typeof nodes[i]==="string"?document.createTextNode(nodes[i]):nodes[i])}return fragment};exports.locateNamespacePrefix=(element,namespace)=>{if(element._namespaceURI===namespace&&element._prefix!==null){return element._prefix}for(const attribute of element._attributeList){if(attribute._namespacePrefix==="xmlns"&&attribute._value===namespace){return attribute._localName}}if(element.parentElement!==null){return exports.locateNamespacePrefix(element.parentElement,namespace)}return null};exports.locateNamespace=(node,prefix)=>{switch(node.nodeType){case NODE_TYPE.ELEMENT_NODE:{if(node._namespaceURI!==null&&node._prefix===prefix){return node._namespaceURI}if(prefix===null){for(const attribute of node._attributeList){if(attribute._namespace===XMLNS_NS&&attribute._namespacePrefix===null&&attribute._localName==="xmlns"){return attribute._value!==""?attribute._value:null}}}else{for(const attribute of node._attributeList){if(attribute._namespace===XMLNS_NS&&attribute._namespacePrefix==="xmlns"&&attribute._localName===prefix){return attribute._value!==""?attribute._value:null}}}if(node.parentElement===null){return null}return exports.locateNamespace(node.parentElement,prefix)}case NODE_TYPE.DOCUMENT_NODE:{if(node.documentElement===null){return null}return exports.locateNamespace(node.documentElement,prefix)}case NODE_TYPE.DOCUMENT_TYPE_NODE:case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:{return null}case NODE_TYPE.ATTRIBUTE_NODE:{if(node._element===null){return null}return exports.locateNamespace(node._element,prefix)}default:{if(node.parentElement===null){return null}return exports.locateNamespace(node.parentElement,prefix)}}}},{"./attributes":352,"./generated/HTMLCollection":447,"./helpers/create-element":586,"./helpers/internal-constants":596,"./helpers/namespaces":599,"./helpers/ordered-set":602,"./helpers/strings":606,"./node-type":631}],633:[function(require,module,exports){"use strict";const TextImpl=require("./Text-impl").implementation;const NODE_TYPE=require("../node-type");class CDATASectionImpl extends TextImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this.nodeType=NODE_TYPE.CDATA_SECTION_NODE}}module.exports={implementation:CDATASectionImpl}},{"../node-type":631,"./Text-impl":735}],634:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const{mixin:mixin}=require("../../utils");const NodeImpl=require("./Node-impl").implementation;const ChildNodeImpl=require("./ChildNode-impl").implementation;const NonDocumentTypeChildNodeImpl=require("./NonDocumentTypeChildNode-impl").implementation;const{TEXT_NODE:TEXT_NODE}=require("../node-type");const{MUTATION_TYPE:MUTATION_TYPE,queueMutationRecord:queueMutationRecord}=require("../helpers/mutation-observers");class CharacterDataImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._data=privateData.data}get data(){return this._data}set data(data){this.replaceData(0,this.length,data)}get length(){return this._data.length}substringData(offset,count){const{length:length}=this;if(offset>length){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}if(offset+count>length){return this._data.slice(offset)}return this._data.slice(offset,offset+count)}appendData(data){this.replaceData(this.length,0,data)}insertData(offset,data){this.replaceData(offset,0,data)}deleteData(offset,count){this.replaceData(offset,count,"")}replaceData(offset,count,data){const{length:length}=this;if(offset>length){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}if(offset+count>length){count=length-offset}queueMutationRecord(MUTATION_TYPE.CHARACTER_DATA,this,null,null,this._data,[],[],null,null);const start=this._data.slice(0,offset);const end=this._data.slice(offset+count);this._data=start+data+end;for(const range of this._referencedRanges){const{_start:_start,_end:_end}=range;if(_start.offset>offset&&_start.offset<=offset+count){range._setLiveRangeStart(this,offset)}if(_end.offset>offset&&_end.offset<=offset+count){range._setLiveRangeEnd(this,offset)}if(_start.offset>offset+count){range._setLiveRangeStart(this,_start.offset+data.length-count)}if(_end.offset>offset+count){range._setLiveRangeEnd(this,_end.offset+data.length-count)}}if(this.nodeType===TEXT_NODE&&this.parentNode){this.parentNode._childTextContentChangeSteps()}}}mixin(CharacterDataImpl.prototype,NonDocumentTypeChildNodeImpl.prototype);mixin(CharacterDataImpl.prototype,ChildNodeImpl.prototype);module.exports={implementation:CharacterDataImpl}},{"../../utils":766,"../helpers/mutation-observers":598,"../node-type":631,"./ChildNode-impl":635,"./Node-impl":722,"./NonDocumentTypeChildNode-impl":724,"domexception/webidl2js-wrapper":213}],635:[function(require,module,exports){"use strict";const{convertNodesIntoNode:convertNodesIntoNode}=require("../node");class ChildNodeImpl{remove(){if(!this.parentNode){return}this.parentNode._remove(this)}after(...nodes){const parent=this.parentNode;if(parent){let viableNextSibling=this.nextSibling;let idx=viableNextSibling?nodes.indexOf(viableNextSibling):-1;while(idx!==-1){viableNextSibling=viableNextSibling.nextSibling;if(!viableNextSibling){break}idx=nodes.indexOf(viableNextSibling)}parent._preInsert(convertNodesIntoNode(this._ownerDocument,nodes),viableNextSibling)}}before(...nodes){const parent=this.parentNode;if(parent){let viablePreviousSibling=this.previousSibling;let idx=viablePreviousSibling?nodes.indexOf(viablePreviousSibling):-1;while(idx!==-1){viablePreviousSibling=viablePreviousSibling.previousSibling;if(!viablePreviousSibling){break}idx=nodes.indexOf(viablePreviousSibling)}parent._preInsert(convertNodesIntoNode(this._ownerDocument,nodes),viablePreviousSibling?viablePreviousSibling.nextSibling:parent.firstChild)}}replaceWith(...nodes){const parent=this.parentNode;if(parent){let viableNextSibling=this.nextSibling;let idx=viableNextSibling?nodes.indexOf(viableNextSibling):-1;while(idx!==-1){viableNextSibling=viableNextSibling.nextSibling;if(!viableNextSibling){break}idx=nodes.indexOf(viableNextSibling)}const node=convertNodesIntoNode(this._ownerDocument,nodes);if(this.parentNode===parent){parent._replace(node,this)}else{parent._preInsert(node,viableNextSibling)}}}}module.exports={implementation:ChildNodeImpl}},{"../node":632}],636:[function(require,module,exports){"use strict";const CharacterDataImpl=require("./CharacterData-impl").implementation;const NODE_TYPE=require("../node-type");class CommentImpl extends CharacterDataImpl{constructor(globalObject,args,privateData){super(globalObject,args,{data:args[0],...privateData});this.nodeType=NODE_TYPE.COMMENT_NODE}}module.exports={implementation:CommentImpl}},{"../node-type":631,"./CharacterData-impl":634}],637:[function(require,module,exports){"use strict";const validateNames=require("../helpers/validate-names");const{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=require("../helpers/namespaces");const{createElement:createElement,internalCreateElementNSSteps:internalCreateElementNSSteps}=require("../helpers/create-element");const DocumentType=require("../generated/DocumentType");const documents=require("../documents.js");class DOMImplementationImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject;this._ownerDocument=privateData.ownerDocument}hasFeature(){return true}createDocumentType(qualifiedName,publicId,systemId){validateNames.qname(this._globalObject,qualifiedName);return DocumentType.createImpl(this._globalObject,[],{ownerDocument:this._ownerDocument,name:qualifiedName,publicId:publicId,systemId:systemId})}createDocument(namespace,qualifiedName,doctype){let contentType="application/xml";if(namespace===HTML_NS){contentType="application/xhtml+xml"}else if(namespace===SVG_NS){contentType="image/svg+xml"}const document=documents.createImpl(this._globalObject,{contentType:contentType,parsingMode:"xml",encoding:"UTF-8"});let element=null;if(qualifiedName!==""){element=internalCreateElementNSSteps(document,namespace,qualifiedName,{})}if(doctype!==null){document.appendChild(doctype)}if(element!==null){document.appendChild(element)}document._origin=this._ownerDocument._origin;return document}createHTMLDocument(title){const document=documents.createImpl(this._globalObject,{parsingMode:"html",encoding:"UTF-8"});const doctype=DocumentType.createImpl(this._globalObject,[],{ownerDocument:document,name:"html",publicId:"",systemId:""});document.appendChild(doctype);const htmlElement=createElement(document,"html",HTML_NS);document.appendChild(htmlElement);const headElement=createElement(document,"head",HTML_NS);htmlElement.appendChild(headElement);if(title!==undefined){const titleElement=createElement(document,"title",HTML_NS);headElement.appendChild(titleElement);titleElement.appendChild(document.createTextNode(title))}const bodyElement=createElement(document,"body",HTML_NS);htmlElement.appendChild(bodyElement);return document}}module.exports={implementation:DOMImplementationImpl}},{"../documents.js":359,"../generated/DocumentType":417,"../helpers/create-element":586,"../helpers/namespaces":599,"../helpers/validate-names":612}],638:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils.js");const{setAttributeValue:setAttributeValue,removeAttributeByName:removeAttributeByName}=require("../attributes");const validateName=require("../helpers/validate-names").name;const DOMException=require("domexception/webidl2js-wrapper");const dataAttrRe=/^data-([^A-Z]*)$/;function attrCamelCase(name){return name.replace(/-([a-z])/g,(match,alpha)=>alpha.toUpperCase())}function attrSnakeCase(name){return name.replace(/[A-Z]/g,match=>`-${match.toLowerCase()}`)}exports.implementation=class DOMStringMapImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject;this._element=privateData.element}get[idlUtils.supportedPropertyNames](){const result=new Set;const{attributes:attributes}=this._element;for(let i=0;i<attributes.length;i++){const attr=attributes.item(i);const matches=dataAttrRe.exec(attr.localName);if(matches){result.add(attrCamelCase(matches[1]))}}return result}[idlUtils.namedGet](name){const{attributes:attributes}=this._element;for(let i=0;i<attributes.length;i++){const attr=attributes.item(i);const matches=dataAttrRe.exec(attr.localName);if(matches&&attrCamelCase(matches[1])===name){return attr.value}}return undefined}[idlUtils.namedSetNew](name,value){if(/-[a-z]/.test(name)){throw DOMException.create(this._globalObject,[`'${name}' is not a valid property name`,"SyntaxError"])}name=`data-${attrSnakeCase(name)}`;validateName(this._globalObject,name);setAttributeValue(this._element,name,value)}[idlUtils.namedSetExisting](name,value){this[idlUtils.namedSetNew](name,value)}[idlUtils.namedDelete](name){name=`data-${attrSnakeCase(name)}`;removeAttributeByName(this._element,name)}}},{"../attributes":352,"../generated/utils.js":584,"../helpers/validate-names":612,"domexception/webidl2js-wrapper":213}],639:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const OrderedSet=require("../helpers/ordered-set.js");const{asciiLowercase:asciiLowercase}=require("../helpers/strings.js");const idlUtils=require("../generated/utils.js");const{getAttributeValue:getAttributeValue,setAttributeValue:setAttributeValue,hasAttributeByName:hasAttributeByName}=require("../attributes.js");function validateTokens(globalObject,...tokens){for(const token of tokens){if(token===""){throw DOMException.create(globalObject,["The token provided must not be empty.","SyntaxError"])}}for(const token of tokens){if(/[\t\n\f\r ]/.test(token)){throw DOMException.create(globalObject,["The token provided contains HTML space characters, which are not valid in tokens.","InvalidCharacterError"])}}}class DOMTokenListImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject;this._tokenSet=new OrderedSet;this._element=privateData.element;this._attributeLocalName=privateData.attributeLocalName;this._supportedTokens=privateData.supportedTokens;this._dirty=true}attrModified(){this._dirty=true}_syncWithElement(){if(!this._dirty){return}const val=getAttributeValue(this._element,this._attributeLocalName);if(val===null){this._tokenSet.empty()}else{this._tokenSet=OrderedSet.parse(val)}this._dirty=false}_validationSteps(token){if(!this._supportedTokens){throw new TypeError(`${this._attributeLocalName} attribute has no supported tokens`)}const lowerToken=asciiLowercase(token);return this._supportedTokens.has(lowerToken)}_updateSteps(){if(!hasAttributeByName(this._element,this._attributeLocalName)&&this._tokenSet.isEmpty()){return}setAttributeValue(this._element,this._attributeLocalName,this._tokenSet.serialize())}_serializeSteps(){return getAttributeValue(this._element,this._attributeLocalName)}get tokenSet(){this._syncWithElement();return this._tokenSet}get length(){this._syncWithElement();return this._tokenSet.size}get[idlUtils.supportedPropertyIndices](){this._syncWithElement();return this._tokenSet.keys()}item(index){this._syncWithElement();if(index>=this._tokenSet.size){return null}return this._tokenSet.get(index)}contains(token){this._syncWithElement();return this._tokenSet.contains(token)}add(...tokens){for(const token of tokens){validateTokens(this._globalObject,token)}this._syncWithElement();for(const token of tokens){this._tokenSet.append(token)}this._updateSteps()}remove(...tokens){for(const token of tokens){validateTokens(this._globalObject,token)}this._syncWithElement();this._tokenSet.remove(...tokens);this._updateSteps()}toggle(token,force=undefined){validateTokens(this._globalObject,token);this._syncWithElement();if(this._tokenSet.contains(token)){if(force===undefined||force===false){this._tokenSet.remove(token);this._updateSteps();return false}return true}if(force===undefined||force===true){this._tokenSet.append(token);this._updateSteps();return true}return false}replace(token,newToken){validateTokens(this._globalObject,token,newToken);this._syncWithElement();if(!this._tokenSet.contains(token)){return false}this._tokenSet.replace(token,newToken);this._updateSteps();return true}supports(token){return this._validationSteps(token)}get value(){return this._serializeSteps()}set value(V){setAttributeValue(this._element,this._attributeLocalName,V)}}exports.implementation=DOMTokenListImpl},{"../attributes.js":352,"../generated/utils.js":584,"../helpers/ordered-set.js":602,"../helpers/strings.js":606,"domexception/webidl2js-wrapper":213}],640:[function(require,module,exports){"use strict";const{CookieJar:CookieJar}=require("tough-cookie");const NodeImpl=require("./Node-impl").implementation;const idlUtils=require("../generated/utils");const NODE_TYPE=require("../node-type");const{mixin:mixin,memoizeQuery:memoizeQuery}=require("../../utils");const{firstChildWithLocalName:firstChildWithLocalName,firstChildWithLocalNames:firstChildWithLocalNames,firstDescendantWithLocalName:firstDescendantWithLocalName}=require("../helpers/traversal");const whatwgURL=require("whatwg-url");const StyleSheetList=require("../generated/StyleSheetList.js");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const eventAccessors=require("../helpers/create-event-accessor");const{asciiLowercase:asciiLowercase,stripAndCollapseASCIIWhitespace:stripAndCollapseASCIIWhitespace}=require("../helpers/strings");const{childTextContent:childTextContent}=require("../helpers/text");const{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=require("../helpers/namespaces");const DOMException=require("domexception/webidl2js-wrapper");const{parseIntoDocument:parseIntoDocument}=require("../../browser/parser");const History=require("../generated/History");const Location=require("../generated/Location");const HTMLCollection=require("../generated/HTMLCollection");const NodeList=require("../generated/NodeList");const validateName=require("../helpers/validate-names").name;const{validateAndExtract:validateAndExtract}=require("../helpers/validate-names");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const{shadowIncludingInclusiveDescendantsIterator:shadowIncludingInclusiveDescendantsIterator}=require("../helpers/shadow-dom");const{enqueueCECallbackReaction:enqueueCECallbackReaction}=require("../helpers/custom-elements");const{createElement:createElement,internalCreateElementNSSteps:internalCreateElementNSSteps}=require("../helpers/create-element");const DocumentOrShadowRootImpl=require("./DocumentOrShadowRoot-impl").implementation;const GlobalEventHandlersImpl=require("./GlobalEventHandlers-impl").implementation;const NonElementParentNodeImpl=require("./NonElementParentNode-impl").implementation;const ParentNodeImpl=require("./ParentNode-impl").implementation;const{clone:clone,listOfElementsWithQualifiedName:listOfElementsWithQualifiedName,listOfElementsWithNamespaceAndLocalName:listOfElementsWithNamespaceAndLocalName,listOfElementsWithClassNames:listOfElementsWithClassNames}=require("../node");const generatedAttr=require("../generated/Attr");const Comment=require("../generated/Comment");const ProcessingInstruction=require("../generated/ProcessingInstruction");const CDATASection=require("../generated/CDATASection");const Text=require("../generated/Text");const DocumentFragment=require("../generated/DocumentFragment");const DOMImplementation=require("../generated/DOMImplementation");const TreeWalker=require("../generated/TreeWalker");const NodeIterator=require("../generated/NodeIterator");const ShadowRoot=require("../generated/ShadowRoot");const Range=require("../generated/Range");const documents=require("../documents.js");const CustomEvent=require("../generated/CustomEvent");const ErrorEvent=require("../generated/ErrorEvent");const Event=require("../generated/Event");const FocusEvent=require("../generated/FocusEvent");const HashChangeEvent=require("../generated/HashChangeEvent");const KeyboardEvent=require("../generated/KeyboardEvent");const MessageEvent=require("../generated/MessageEvent");const MouseEvent=require("../generated/MouseEvent");const PopStateEvent=require("../generated/PopStateEvent");const ProgressEvent=require("../generated/ProgressEvent");const TouchEvent=require("../generated/TouchEvent");const UIEvent=require("../generated/UIEvent");const RequestManager=require("../../browser/resources/request-manager");const AsyncResourceQueue=require("../../browser/resources/async-resource-queue");const ResourceQueue=require("../../browser/resources/resource-queue");const PerDocumentResourceLoader=require("../../browser/resources/per-document-resource-loader");function clearChildNodes(node){for(let child=domSymbolTree.firstChild(node);child;child=domSymbolTree.firstChild(node)){node.removeChild(child)}}function pad(number){if(number<10){return"0"+number}return number}function toLastModifiedString(date){return pad(date.getMonth()+1)+"/"+pad(date.getDate())+"/"+date.getFullYear()+" "+pad(date.getHours())+":"+pad(date.getMinutes())+":"+pad(date.getSeconds())}const eventInterfaceTable={customevent:CustomEvent,errorevent:ErrorEvent,event:Event,events:Event,focusevent:FocusEvent,hashchangeevent:HashChangeEvent,htmlevents:Event,keyboardevent:KeyboardEvent,messageevent:MessageEvent,mouseevent:MouseEvent,mouseevents:MouseEvent,popstateevent:PopStateEvent,progressevent:ProgressEvent,svgevents:Event,touchevent:TouchEvent,uievent:UIEvent,uievents:UIEvent};class DocumentImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._initGlobalEvents();this._ownerDocument=this;this.nodeType=NODE_TYPE.DOCUMENT_NODE;if(!privateData.options){privateData.options={}}if(!privateData.options.parsingMode){privateData.options.parsingMode="xml"}if(!privateData.options.encoding){privateData.options.encoding="UTF-8"}if(!privateData.options.contentType){privateData.options.contentType=privateData.options.parsingMode==="xml"?"application/xml":"text/html"}this._parsingMode=privateData.options.parsingMode;this._implementation=DOMImplementation.createImpl(this._globalObject,[],{ownerDocument:this});this._defaultView=privateData.options.defaultView||null;this._global=privateData.options.global;this._ids=Object.create(null);this._attached=true;this._currentScript=null;this._pageShowingFlag=false;this._cookieJar=privateData.options.cookieJar;this._parseOptions=privateData.options.parseOptions;this._scriptingDisabled=privateData.options.scriptingDisabled;if(this._cookieJar===undefined){this._cookieJar=new CookieJar(null,{looseMode:true})}this.contentType=privateData.options.contentType;this._encoding=privateData.options.encoding;const urlOption=privateData.options.url===undefined?"about:blank":privateData.options.url;const parsed=whatwgURL.parseURL(urlOption);if(parsed===null){throw new TypeError(`Could not parse "${urlOption}" as a URL`)}this._URL=parsed;this._origin=whatwgURL.serializeURLOrigin(parsed);this._location=Location.createImpl(this._globalObject,[],{relevantDocument:this});this._history=History.createImpl(this._globalObject,[],{window:this._defaultView,document:this,actAsIfLocationReloadCalled:()=>this._location.reload()});this._workingNodeIterators=[];this._workingNodeIteratorsMax=privateData.options.concurrentNodeIterators===undefined?10:Number(privateData.options.concurrentNodeIterators);if(isNaN(this._workingNodeIteratorsMax)){throw new TypeError("The 'concurrentNodeIterators' option must be a Number")}if(this._workingNodeIteratorsMax<0){throw new RangeError("The 'concurrentNodeIterators' option must be a non negative Number")}this._referrer=privateData.options.referrer||"";this._lastModified=toLastModifiedString(privateData.options.lastModified||new Date);this._asyncQueue=new AsyncResourceQueue;this._queue=new ResourceQueue({asyncQueue:this._asyncQueue,paused:false});this._deferQueue=new ResourceQueue({paused:true});this._requestManager=new RequestManager;this._currentDocumentReadiness=privateData.options.readyState||"loading";this._lastFocusedElement=null;this._resourceLoader=new PerDocumentResourceLoader(this);this._latestEntry=null;this._throwOnDynamicMarkupInsertionCounter=0}_getTheParent(event){if(event.type==="load"||!this._defaultView){return null}return idlUtils.implForWrapper(this._defaultView)}get compatMode(){return this._parsingMode==="xml"||this.doctype?"CSS1Compat":"BackCompat"}get charset(){return this._encoding}get characterSet(){return this._encoding}get inputEncoding(){return this._encoding}get doctype(){for(const childNode of domSymbolTree.childrenIterator(this)){if(childNode.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE){return childNode}}return null}get URL(){return whatwgURL.serializeURL(this._URL)}get documentURI(){return whatwgURL.serializeURL(this._URL)}get location(){return this._defaultView?this._location:null}get documentElement(){for(const childNode of domSymbolTree.childrenIterator(this)){if(childNode.nodeType===NODE_TYPE.ELEMENT_NODE){return childNode}}return null}get implementation(){return this._implementation}set implementation(implementation){this._implementation=implementation}get defaultView(){return this._defaultView}get currentScript(){return this._currentScript}get readyState(){return this._currentDocumentReadiness}set readyState(state){this._currentDocumentReadiness=state;fireAnEvent("readystatechange",this)}hasFocus(){return Boolean(this._lastFocusedElement)}_descendantRemoved(parent,child){if(child.tagName==="STYLE"){this.styleSheets._remove(child.sheet)}super._descendantRemoved.apply(this,arguments)}write(){let text="";for(let i=0;i<arguments.length;++i){text+=String(arguments[i])}if(this._parsingMode==="xml"){throw DOMException.create(this._globalObject,["Cannot use document.write on XML documents","InvalidStateError"])}if(this._throwOnDynamicMarkupInsertionCounter>0){throw DOMException.create(this._globalObject,["Cannot use document.write while a custom element upgrades","InvalidStateError"])}if(this._writeAfterElement){const tempDiv=this.createElement("div");tempDiv.innerHTML=text;let child=tempDiv.firstChild;let previous=this._writeAfterElement;const parent=this._writeAfterElement.parentNode;while(child){const node=child;child=child.nextSibling;node._isMovingDueToDocumentWrite=true;parent.insertBefore(node,previous.nextSibling);node._isMovingDueToDocumentWrite=false;previous=node}}else if(this.readyState==="loading"){if(this.lastChild){let node=this;while(node.lastChild&&node.lastChild.nodeType===NODE_TYPE.ELEMENT_NODE){node=node.lastChild}node.innerHTML=text}else{clearChildNodes(this);parseIntoDocument(text,this)}}else if(text){clearChildNodes(this);parseIntoDocument(text,this)}}writeln(){this.write(...arguments,"\n")}getElementById(id){if(!this._ids[id]){return null}const matchElement=this._ids[id].find(candidate=>{let root=candidate;while(domSymbolTree.parent(root)){root=domSymbolTree.parent(root)}return root===this});return matchElement||null}get referrer(){return this._referrer||""}get lastModified(){return this._lastModified}get images(){return this.getElementsByTagName("IMG")}get embeds(){return this.getElementsByTagName("EMBED")}get plugins(){return this.embeds}get links(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.treeToArray(this,{filter:node=>(node._localName==="a"||node._localName==="area")&&node.hasAttributeNS(null,"href")&&node._namespaceURI===HTML_NS})})}get forms(){return this.getElementsByTagName("FORM")}get scripts(){return this.getElementsByTagName("SCRIPT")}get anchors(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.treeToArray(this,{filter:node=>node._localName==="a"&&node.hasAttributeNS(null,"name")&&node._namespaceURI===HTML_NS})})}get applets(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>[]})}open(){let child=domSymbolTree.firstChild(this);while(child){this.removeChild(child);child=domSymbolTree.firstChild(this)}this._modified();return this}close(noQueue){if(noQueue){this.readyState="complete";fireAnEvent("DOMContentLoaded",this,undefined,{bubbles:true});fireAnEvent("load",this);return}this._queue.resume();const dummyPromise=Promise.resolve();const onDOMContentLoad=()=>{const doc=this;function dispatchEvent(){doc.readyState="interactive";fireAnEvent("DOMContentLoaded",doc,undefined,{bubbles:true})}return new Promise(resolve=>{if(!this._deferQueue.tail){dispatchEvent();return resolve()}this._deferQueue.setListener(()=>{dispatchEvent();resolve()});return this._deferQueue.resume()})};const onLoad=()=>{const doc=this;function dispatchEvent(){doc.readyState="complete";fireAnEvent("load",doc)}return new Promise(resolve=>{if(this._asyncQueue.count()===0){dispatchEvent();return resolve()}return this._asyncQueue.setListener(()=>{dispatchEvent();resolve()})})};this._queue.push(dummyPromise,onDOMContentLoad,null);this._queue.push(dummyPromise,onLoad,null,true)}getElementsByName(elementName){return NodeList.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.treeToArray(this,{filter:node=>node.getAttributeNS&&node.getAttributeNS(null,"name")===elementName})})}get title(){const{documentElement:documentElement}=this;let value="";if(documentElement&&documentElement._localName==="svg"){const svgTitleElement=firstChildWithLocalName(documentElement,"title",SVG_NS);if(svgTitleElement){value=childTextContent(svgTitleElement)}}else{const titleElement=firstDescendantWithLocalName(this,"title");if(titleElement){value=childTextContent(titleElement)}}value=stripAndCollapseASCIIWhitespace(value);return value}set title(value){const{documentElement:documentElement}=this;let element;if(documentElement&&documentElement._localName==="svg"){element=firstChildWithLocalName(documentElement,"title",SVG_NS);if(!element){element=this.createElementNS(SVG_NS,"title");this._insert(element,documentElement.firstChild)}element.textContent=value}else if(documentElement&&documentElement._namespaceURI===HTML_NS){const titleElement=firstDescendantWithLocalName(this,"title");const headElement=this.head;if(titleElement===null&&headElement===null){return}if(titleElement!==null){element=titleElement}else{element=this.createElement("title");headElement._append(element)}element.textContent=value}}get dir(){return this.documentElement?this.documentElement.dir:""}set dir(value){if(this.documentElement){this.documentElement.dir=value}}get head(){return this.documentElement?firstChildWithLocalName(this.documentElement,"head"):null}get body(){const{documentElement:documentElement}=this;if(!documentElement||documentElement._localName!=="html"||documentElement._namespaceURI!==HTML_NS){return null}return firstChildWithLocalNames(this.documentElement,new Set(["body","frameset"]))}set body(value){if(value===null||value._namespaceURI!==HTML_NS||value._localName!=="body"&&value._localName!=="frameset"){throw DOMException.create(this._globalObject,["Cannot set the body to null or a non-body/frameset element","HierarchyRequestError"])}const bodyElement=this.body;if(value===bodyElement){return}if(bodyElement!==null){bodyElement.parentNode._replace(value,bodyElement);return}const{documentElement:documentElement}=this;if(documentElement===null){throw DOMException.create(this._globalObject,["Cannot set the body when there is no document element","HierarchyRequestError"])}documentElement._append(value)}_runPreRemovingSteps(oldNode){for(const activeNodeIterator of this._workingNodeIterators){activeNodeIterator._preRemovingSteps(oldNode)}}createEvent(type){const typeLower=type.toLowerCase();const eventWrapper=eventInterfaceTable[typeLower]||null;if(!eventWrapper){throw DOMException.create(this._globalObject,['The provided event type ("'+type+'") is invalid',"NotSupportedError"])}const impl=eventWrapper.createImpl(this._globalObject,[""]);impl._initializedFlag=false;return impl}createRange(){return Range.createImpl(this._globalObject,[],{start:{node:this,offset:0},end:{node:this,offset:0}})}createProcessingInstruction(target,data){validateName(this._globalObject,target);if(data.includes("?>")){throw DOMException.create(this._globalObject,['Processing instruction data cannot contain the string "?>"',"InvalidCharacterError"])}return ProcessingInstruction.createImpl(this._globalObject,[],{ownerDocument:this,target:target,data:data})}createCDATASection(data){if(this._parsingMode==="html"){throw DOMException.create(this._globalObject,["Cannot create CDATA sections in HTML documents","NotSupportedError"])}if(data.includes("]]>")){throw DOMException.create(this._globalObject,['CDATA section data cannot contain the string "]]>"',"InvalidCharacterError"])}return CDATASection.createImpl(this._globalObject,[],{ownerDocument:this,data:data})}createTextNode(data){return Text.createImpl(this._globalObject,[],{ownerDocument:this,data:data})}createComment(data){return Comment.createImpl(this._globalObject,[],{ownerDocument:this,data:data})}createElement(localName,options){validateName(this._globalObject,localName);if(this._parsingMode==="html"){localName=asciiLowercase(localName)}let isValue=null;if(options&&options.is!==undefined){isValue=options.is}const namespace=this._parsingMode==="html"||this.contentType==="application/xhtml+xml"?HTML_NS:null;return createElement(this,localName,namespace,null,isValue,true)}createElementNS(namespace,qualifiedName,options){return internalCreateElementNSSteps(this,namespace,qualifiedName,options)}createDocumentFragment(){return DocumentFragment.createImpl(this._globalObject,[],{ownerDocument:this})}createAttribute(localName){validateName(this._globalObject,localName);if(this._parsingMode==="html"){localName=asciiLowercase(localName)}return this._createAttribute({localName:localName})}createAttributeNS(namespace,name){if(namespace===undefined){namespace=null}namespace=namespace!==null?String(namespace):namespace;const extracted=validateAndExtract(this._globalObject,namespace,name);return this._createAttribute({namespace:extracted.namespace,namespacePrefix:extracted.prefix,localName:extracted.localName})}_createAttribute({localName:localName,value:value,namespace:namespace,namespacePrefix:namespacePrefix}){return generatedAttr.createImpl(this._globalObject,[],{localName:localName,value:value,namespace:namespace,namespacePrefix:namespacePrefix,ownerDocument:this})}createTreeWalker(root,whatToShow,filter){return TreeWalker.createImpl(this._globalObject,[],{root:root,whatToShow:whatToShow,filter:filter})}createNodeIterator(root,whatToShow,filter){const nodeIterator=NodeIterator.createImpl(this._globalObject,[],{root:root,whatToShow:whatToShow,filter:filter});this._workingNodeIterators.push(nodeIterator);while(this._workingNodeIterators.length>this._workingNodeIteratorsMax){const toInactivate=this._workingNodeIterators.shift();toInactivate._working=false}return nodeIterator}importNode(node,deep){if(node.nodeType===NODE_TYPE.DOCUMENT_NODE){throw DOMException.create(this._globalObject,["Cannot import a document node","NotSupportedError"])}else if(ShadowRoot.isImpl(node)){throw DOMException.create(this._globalObject,["Cannot adopt a shadow root","NotSupportedError"])}return clone(node,this,deep)}adoptNode(node){if(node.nodeType===NODE_TYPE.DOCUMENT_NODE){throw DOMException.create(this._globalObject,["Cannot adopt a document node","NotSupportedError"])}else if(ShadowRoot.isImpl(node)){throw DOMException.create(this._globalObject,["Cannot adopt a shadow root","HierarchyRequestError"])}this._adoptNode(node);return node}_adoptNode(node){const newDocument=this;const oldDocument=node._ownerDocument;const parent=domSymbolTree.parent(node);if(parent){parent._remove(node)}if(oldDocument!==newDocument){for(const inclusiveDescendant of shadowIncludingInclusiveDescendantsIterator(node)){inclusiveDescendant._ownerDocument=newDocument}for(const inclusiveDescendant of shadowIncludingInclusiveDescendantsIterator(node)){if(inclusiveDescendant._ceState==="custom"){enqueueCECallbackReaction(inclusiveDescendant,"adoptedCallback",[idlUtils.wrapperForImpl(oldDocument),idlUtils.wrapperForImpl(newDocument)])}}for(const inclusiveDescendant of shadowIncludingInclusiveDescendantsIterator(node)){if(inclusiveDescendant._adoptingSteps){inclusiveDescendant._adoptingSteps(oldDocument)}}}}get cookie(){return this._cookieJar.getCookieStringSync(this.URL,{http:false})}set cookie(cookieStr){cookieStr=String(cookieStr);this._cookieJar.setCookieSync(cookieStr,this.URL,{http:false,ignoreError:true})}clear(){}captureEvents(){}releaseEvents(){}get styleSheets(){if(!this._styleSheets){this._styleSheets=StyleSheetList.createImpl(this._globalObject)}return this._styleSheets}get hidden(){if(this._defaultView&&this._defaultView._pretendToBeVisual){return false}return true}get visibilityState(){if(this._defaultView&&this._defaultView._pretendToBeVisual){return"visible"}return"prerender"}getSelection(){return this._defaultView?this._defaultView._selection:null}_cloneDocument(){const copy=documents.createImpl(this._globalObject,{contentType:this.contentType,encoding:this._encoding,parsingMode:this._parsingMode});copy._URL=this._URL;copy._origin=this._origin;return copy}}eventAccessors.createEventAccessor(DocumentImpl.prototype,"readystatechange");mixin(DocumentImpl.prototype,DocumentOrShadowRootImpl.prototype);mixin(DocumentImpl.prototype,GlobalEventHandlersImpl.prototype);mixin(DocumentImpl.prototype,NonElementParentNodeImpl.prototype);mixin(DocumentImpl.prototype,ParentNodeImpl.prototype);DocumentImpl.prototype.getElementsByTagName=memoizeQuery((function(qualifiedName){return listOfElementsWithQualifiedName(qualifiedName,this)}));DocumentImpl.prototype.getElementsByTagNameNS=memoizeQuery((function(namespace,localName){return listOfElementsWithNamespaceAndLocalName(namespace,localName,this)}));DocumentImpl.prototype.getElementsByClassName=memoizeQuery((function getElementsByClassName(classNames){return listOfElementsWithClassNames(classNames,this)}));module.exports={implementation:DocumentImpl}},{"../../browser/parser":340,"../../browser/resources/async-resource-queue":342,"../../browser/resources/per-document-resource-loader":344,"../../browser/resources/request-manager":345,"../../browser/resources/resource-queue":347,"../../utils":766,"../documents.js":359,"../generated/Attr":396,"../generated/CDATASection":401,"../generated/Comment":405,"../generated/CustomEvent":409,"../generated/DOMImplementation":411,"../generated/DocumentFragment":416,"../generated/ErrorEvent":422,"../generated/Event":424,"../generated/FocusEvent":435,"../generated/HTMLCollection":447,"../generated/HashChangeEvent":512,"../generated/History":515,"../generated/KeyboardEvent":518,"../generated/Location":520,"../generated/MessageEvent":521,"../generated/MouseEvent":525,"../generated/NodeIterator":534,"../generated/NodeList":535,"../generated/PopStateEvent":541,"../generated/ProcessingInstruction":543,"../generated/ProgressEvent":544,"../generated/Range":546,"../generated/ShadowRoot":557,"../generated/StyleSheetList.js":565,"../generated/Text":567,"../generated/TouchEvent":569,"../generated/TreeWalker":571,"../generated/UIEvent":572,"../generated/utils":584,"../helpers/create-element":586,"../helpers/create-event-accessor":587,"../helpers/custom-elements":588,"../helpers/events":592,"../helpers/internal-constants":596,"../helpers/namespaces":599,"../helpers/shadow-dom":605,"../helpers/strings":606,"../helpers/text":610,"../helpers/traversal":611,"../helpers/validate-names":612,"../node":632,"../node-type":631,"./DocumentOrShadowRoot-impl":642,"./GlobalEventHandlers-impl":646,"./Node-impl":722,"./NonElementParentNode-impl":725,"./ParentNode-impl":726,"domexception/webidl2js-wrapper":213,"tough-cookie":769,"whatwg-url":1024}],641:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const NODE_TYPE=require("../node-type");const NodeImpl=require("./Node-impl").implementation;const NonElementParentNodeImpl=require("./NonElementParentNode-impl").implementation;const ParentNodeImpl=require("./ParentNode-impl").implementation;const idlUtils=require("../generated/utils");class DocumentFragmentImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,{ownerDocument:idlUtils.implForWrapper(globalObject._document),...privateData});const{host:host}=privateData;this._host=host;this.nodeType=NODE_TYPE.DOCUMENT_FRAGMENT_NODE}getElementById(id){if(id===""){return null}for(const descendant of domSymbolTree.treeIterator(this)){if(descendant.nodeType===NODE_TYPE.ELEMENT_NODE&&descendant.getAttributeNS(null,"id")===id){return descendant}}return null}}mixin(DocumentFragmentImpl.prototype,NonElementParentNodeImpl.prototype);mixin(DocumentFragmentImpl.prototype,ParentNodeImpl.prototype);module.exports={implementation:DocumentFragmentImpl}},{"../../utils":766,"../generated/utils":584,"../helpers/internal-constants":596,"../node-type":631,"./Node-impl":722,"./NonElementParentNode-impl":725,"./ParentNode-impl":726}],642:[function(require,module,exports){"use strict";const NODE_TYPE=require("../node-type");const{nodeRoot:nodeRoot}=require("../helpers/node");const{retarget:retarget}=require("../helpers/shadow-dom");class DocumentOrShadowRootImpl{get activeElement(){let candidate=this._ownerDocument._lastFocusedElement||this._ownerDocument.body;if(!candidate){return null}candidate=retarget(candidate,this);if(nodeRoot(candidate)!==this){return null}if(candidate.nodeType!==NODE_TYPE.DOCUMENT_NODE){return candidate}if(candidate.body!==null){return candidate.body}return candidate.documentElement}}module.exports={implementation:DocumentOrShadowRootImpl}},{"../helpers/node":600,"../helpers/shadow-dom":605,"../node-type":631}],643:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const NodeImpl=require("./Node-impl").implementation;const ChildNodeImpl=require("./ChildNode-impl").implementation;const NODE_TYPE=require("../node-type");class DocumentTypeImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this.nodeType=NODE_TYPE.DOCUMENT_TYPE_NODE;this.name=privateData.name;this.publicId=privateData.publicId;this.systemId=privateData.systemId}}mixin(DocumentTypeImpl.prototype,ChildNodeImpl.prototype);module.exports={implementation:DocumentTypeImpl}},{"../../utils":766,"../node-type":631,"./ChildNode-impl":635,"./Node-impl":722}],644:[function(require,module,exports){"use strict";const{addNwsapi:addNwsapi}=require("../helpers/selectors");const{HTML_NS:HTML_NS}=require("../helpers/namespaces");const{mixin:mixin,memoizeQuery:memoizeQuery}=require("../../utils");const idlUtils=require("../generated/utils");const NodeImpl=require("./Node-impl").implementation;const ParentNodeImpl=require("./ParentNode-impl").implementation;const ChildNodeImpl=require("./ChildNode-impl").implementation;const attributes=require("../attributes");const namedPropertiesWindow=require("../named-properties-window");const NODE_TYPE=require("../node-type");const{parseFragment:parseFragment}=require("../../browser/parser");const{fragmentSerialization:fragmentSerialization}=require("../domparsing/serialization");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const DOMException=require("domexception/webidl2js-wrapper");const DOMTokenList=require("../generated/DOMTokenList");const NamedNodeMap=require("../generated/NamedNodeMap");const validateNames=require("../helpers/validate-names");const{asciiLowercase:asciiLowercase,asciiUppercase:asciiUppercase}=require("../helpers/strings");const{listOfElementsWithQualifiedName:listOfElementsWithQualifiedName,listOfElementsWithNamespaceAndLocalName:listOfElementsWithNamespaceAndLocalName,listOfElementsWithClassNames:listOfElementsWithClassNames}=require("../node");const SlotableMixinImpl=require("./Slotable-impl").implementation;const NonDocumentTypeChildNode=require("./NonDocumentTypeChildNode-impl").implementation;const ShadowRoot=require("../generated/ShadowRoot");const Text=require("../generated/Text");const{isValidHostElementName:isValidHostElementName}=require("../helpers/shadow-dom");const{isValidCustomElementName:isValidCustomElementName,lookupCEDefinition:lookupCEDefinition}=require("../helpers/custom-elements");function attachId(id,elm,doc){if(id&&elm&&doc){if(!doc._ids[id]){doc._ids[id]=[]}doc._ids[id].push(elm)}}function detachId(id,elm,doc){if(id&&elm&&doc){if(doc._ids&&doc._ids[id]){const elms=doc._ids[id];for(let i=0;i<elms.length;i++){if(elms[i]===elm){elms.splice(i,1);--i}}if(elms.length===0){delete doc._ids[id]}}}}class ElementImpl extends NodeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._initSlotableMixin();this._namespaceURI=privateData.namespace;this._prefix=privateData.prefix;this._localName=privateData.localName;this._ceState=privateData.ceState;this._ceDefinition=privateData.ceDefinition;this._isValue=privateData.isValue;this._shadowRoot=null;this._ceReactionQueue=[];this.nodeType=NODE_TYPE.ELEMENT_NODE;this.scrollTop=0;this.scrollLeft=0;this._attributeList=[];this._attributesByNameMap=new Map;this._attributes=NamedNodeMap.createImpl(this._globalObject,[],{element:this})}_attach(){namedPropertiesWindow.nodeAttachedToDocument(this);const id=this.getAttributeNS(null,"id");if(id){attachId(id,this,this._ownerDocument)}super._attach()}_detach(){super._detach();namedPropertiesWindow.nodeDetachedFromDocument(this);const id=this.getAttributeNS(null,"id");if(id){detachId(id,this,this._ownerDocument)}}_attrModified(name,value,oldValue){this._modified();namedPropertiesWindow.elementAttributeModified(this,name,value,oldValue);if(name==="id"&&this._attached){const doc=this._ownerDocument;detachId(oldValue,this,doc);attachId(value,this,doc)}if(name==="class"&&this._classList!==undefined){this._classList.attrModified()}this._attrModifiedSlotableMixin(name,value,oldValue)}get namespaceURI(){return this._namespaceURI}get prefix(){return this._prefix}get localName(){return this._localName}get _qualifiedName(){return this._prefix!==null?this._prefix+":"+this._localName:this._localName}get tagName(){let qualifiedName=this._qualifiedName;if(this.namespaceURI===HTML_NS&&this._ownerDocument._parsingMode==="html"){qualifiedName=asciiUppercase(qualifiedName)}return qualifiedName}get attributes(){return this._attributes}get outerHTML(){return fragmentSerialization({childNodesForSerializing:[this],_ownerDocument:this._ownerDocument},{requireWellFormed:true,globalObject:this._globalObject})}set outerHTML(markup){let parent=domSymbolTree.parent(this);const document=this._ownerDocument;if(!parent){return}if(parent.nodeType===NODE_TYPE.DOCUMENT_NODE){throw DOMException.create(this._globalObject,["Modifications are not allowed for this document","NoModificationAllowedError"])}if(parent.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE){parent=document.createElementNS(HTML_NS,"body")}const fragment=parseFragment(markup,parent);const contextObjectParent=domSymbolTree.parent(this);contextObjectParent._replace(fragment,this)}get innerHTML(){return fragmentSerialization(this,{requireWellFormed:true,globalObject:this._globalObject})}set innerHTML(markup){const fragment=parseFragment(markup,this);let contextObject=this;if(this.localName==="template"&&this.namespaceURI===HTML_NS){contextObject=contextObject._templateContents}contextObject._replaceAll(fragment)}get classList(){if(this._classList===undefined){this._classList=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"class"})}return this._classList}hasAttributes(){return attributes.hasAttributes(this)}getAttributeNames(){return attributes.attributeNames(this)}getAttribute(name){const attr=attributes.getAttributeByName(this,name);if(!attr){return null}return attr._value}getAttributeNS(namespace,localName){const attr=attributes.getAttributeByNameNS(this,namespace,localName);if(!attr){return null}return attr._value}setAttribute(name,value){validateNames.name(this._globalObject,name);if(this._namespaceURI===HTML_NS&&this._ownerDocument._parsingMode==="html"){name=asciiLowercase(name)}const attribute=attributes.getAttributeByName(this,name);if(attribute===null){const newAttr=this._ownerDocument._createAttribute({localName:name,value:value});attributes.appendAttribute(this,newAttr);return}attributes.changeAttribute(this,attribute,value)}setAttributeNS(namespace,name,value){const extracted=validateNames.validateAndExtract(this._globalObject,namespace,name);value=`${value}`;attributes.setAttributeValue(this,extracted.localName,value,extracted.prefix,extracted.namespace)}removeAttribute(name){attributes.removeAttributeByName(this,name)}removeAttributeNS(namespace,localName){attributes.removeAttributeByNameNS(this,namespace,localName)}toggleAttribute(qualifiedName,force){validateNames.name(this._globalObject,qualifiedName);if(this._namespaceURI===HTML_NS&&this._ownerDocument._parsingMode==="html"){qualifiedName=asciiLowercase(qualifiedName)}const attribute=attributes.getAttributeByName(this,qualifiedName);if(attribute===null){if(force===undefined||force===true){const newAttr=this._ownerDocument._createAttribute({localName:qualifiedName,value:""});attributes.appendAttribute(this,newAttr);return true}return false}if(force===undefined||force===false){attributes.removeAttributeByName(this,qualifiedName);return false}return true}hasAttribute(name){if(this._namespaceURI===HTML_NS&&this._ownerDocument._parsingMode==="html"){name=asciiLowercase(name)}return attributes.hasAttributeByName(this,name)}hasAttributeNS(namespace,localName){if(namespace===""){namespace=null}return attributes.hasAttributeByNameNS(this,namespace,localName)}getAttributeNode(name){return attributes.getAttributeByName(this,name)}getAttributeNodeNS(namespace,localName){return attributes.getAttributeByNameNS(this,namespace,localName)}setAttributeNode(attr){return attributes.setAttribute(this,attr)}setAttributeNodeNS(attr){return attributes.setAttribute(this,attr)}removeAttributeNode(attr){if(!attributes.hasAttribute(this,attr)){throw DOMException.create(this._globalObject,["Tried to remove an attribute that was not present","NotFoundError"])}attributes.removeAttribute(this,attr);return attr}getBoundingClientRect(){return{bottom:0,height:0,left:0,right:0,top:0,width:0}}getClientRects(){return[]}get scrollWidth(){return 0}get scrollHeight(){return 0}get clientTop(){return 0}get clientLeft(){return 0}get clientWidth(){return 0}get clientHeight(){return 0}attachShadow(init){const{_ownerDocument:_ownerDocument,_namespaceURI:_namespaceURI,_localName:_localName,_isValue:_isValue}=this;if(this.namespaceURI!==HTML_NS){throw DOMException.create(this._globalObject,["This element does not support attachShadow. This element is not part of the HTML namespace.","NotSupportedError"])}if(!isValidHostElementName(_localName)&&!isValidCustomElementName(_localName)){const message="This element does not support attachShadow. This element is not a custom element nor "+"a standard element supporting a shadow root.";throw DOMException.create(this._globalObject,[message,"NotSupportedError"])}if(isValidCustomElementName(_localName)||_isValue){const definition=lookupCEDefinition(_ownerDocument,_namespaceURI,_localName,_isValue);if(definition&&definition.disableShadow){throw DOMException.create(this._globalObject,["Shadow root cannot be create on a custom element with disabled shadow","NotSupportedError"])}}if(this._shadowRoot!==null){throw DOMException.create(this._globalObject,["Shadow root cannot be created on a host which already hosts a shadow tree.","NotSupportedError"])}const shadow=ShadowRoot.createImpl(this._globalObject,[],{ownerDocument:this.ownerDocument,mode:init.mode,host:this});this._shadowRoot=shadow;return shadow}get shadowRoot(){const shadow=this._shadowRoot;if(shadow===null||shadow.mode==="closed"){return null}return shadow}_insertAdjacent(element,where,node){where=asciiLowercase(where);if(where==="beforebegin"){if(element.parentNode===null){return null}return element.parentNode._preInsert(node,element)}if(where==="afterbegin"){return element._preInsert(node,element.firstChild)}if(where==="beforeend"){return element._preInsert(node,null)}if(where==="afterend"){if(element.parentNode===null){return null}return element.parentNode._preInsert(node,element.nextSibling)}throw DOMException.create(this._globalObject,['Must provide one of "beforebegin", "afterbegin", "beforeend", or "afterend".',"SyntaxError"])}insertAdjacentElement(where,element){return this._insertAdjacent(this,where,element)}insertAdjacentText(where,data){const text=Text.createImpl(this._globalObject,[],{data:data,ownerDocument:this._ownerDocument});this._insertAdjacent(this,where,text)}insertAdjacentHTML(position,text){position=asciiLowercase(position);let context;switch(position){case"beforebegin":case"afterend":{context=this.parentNode;if(context===null||context.nodeType===NODE_TYPE.DOCUMENT_NODE){throw DOMException.create(this._globalObject,["Cannot insert HTML adjacent to parent-less nodes or children of document nodes.","NoModificationAllowedError"])}break}case"afterbegin":case"beforeend":{context=this;break}default:{throw DOMException.create(this._globalObject,['Must provide one of "beforebegin", "afterbegin", "beforeend", or "afterend".',"SyntaxError"])}}if(context.nodeType!==NODE_TYPE.ELEMENT_NODE||context._ownerDocument._parsingMode==="html"&&context._localName==="html"&&context._namespaceURI===HTML_NS){context=context._ownerDocument.createElement("body")}const fragment=parseFragment(text,context);switch(position){case"beforebegin":{this.parentNode._insert(fragment,this);break}case"afterbegin":{this._insert(fragment,this.firstChild);break}case"beforeend":{this._append(fragment);break}case"afterend":{this.parentNode._insert(fragment,this.nextSibling);break}}}closest(selectors){const matcher=addNwsapi(this);return matcher.closest(selectors,idlUtils.wrapperForImpl(this))}}mixin(ElementImpl.prototype,NonDocumentTypeChildNode.prototype);mixin(ElementImpl.prototype,ParentNodeImpl.prototype);mixin(ElementImpl.prototype,ChildNodeImpl.prototype);mixin(ElementImpl.prototype,SlotableMixinImpl.prototype);ElementImpl.prototype.getElementsByTagName=memoizeQuery((function(qualifiedName){return listOfElementsWithQualifiedName(qualifiedName,this)}));ElementImpl.prototype.getElementsByTagNameNS=memoizeQuery((function(namespace,localName){return listOfElementsWithNamespaceAndLocalName(namespace,localName,this)}));ElementImpl.prototype.getElementsByClassName=memoizeQuery((function(classNames){return listOfElementsWithClassNames(classNames,this)}));ElementImpl.prototype.matches=function(selectors){const matcher=addNwsapi(this);return matcher.match(selectors,idlUtils.wrapperForImpl(this))};ElementImpl.prototype.webkitMatchesSelector=ElementImpl.prototype.matches;module.exports={implementation:ElementImpl}},{"../../browser/parser":340,"../../utils":766,"../attributes":352,"../domparsing/serialization":363,"../generated/DOMTokenList":414,"../generated/NamedNodeMap":530,"../generated/ShadowRoot":557,"../generated/Text":567,"../generated/utils":584,"../helpers/custom-elements":588,"../helpers/internal-constants":596,"../helpers/namespaces":599,"../helpers/selectors":604,"../helpers/shadow-dom":605,"../helpers/strings":606,"../helpers/validate-names":612,"../named-properties-window":618,"../node":632,"../node-type":631,"./ChildNode-impl":635,"./Node-impl":722,"./NonDocumentTypeChildNode-impl":724,"./ParentNode-impl":726,"./Slotable-impl":734,"domexception/webidl2js-wrapper":213}],645:[function(require,module,exports){"use strict";const cssstyle=require("cssstyle");class ElementCSSInlineStyle{_initElementCSSInlineStyle(){this._settingCssText=false;this._style=new cssstyle.CSSStyleDeclaration(newCssText=>{if(!this._settingCssText){this._settingCssText=true;this.setAttributeNS(null,"style",newCssText);this._settingCssText=false}})}get style(){return this._style}set style(value){this._style.cssText=value}}module.exports={implementation:ElementCSSInlineStyle}},{cssstyle:164}],646:[function(require,module,exports){"use strict";const{appendHandler:appendHandler,createEventAccessor:createEventAccessor}=require("../helpers/create-event-accessor");const events=new Set(["abort","autocomplete","autocompleteerror","blur","cancel","canplay","canplaythrough","change","click","close","contextmenu","cuechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","dragstart","drop","durationchange","emptied","ended","error","focus","input","invalid","keydown","keypress","keyup","load","loadeddata","loadedmetadata","loadstart","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","wheel","pause","play","playing","progress","ratechange","reset","resize","scroll","securitypolicyviolation","seeked","seeking","select","sort","stalled","submit","suspend","timeupdate","toggle","volumechange","waiting"]);class GlobalEventHandlersImpl{_initGlobalEvents(){this._registeredHandlers=new Set;this._eventHandlers=Object.create(null)}_getEventHandlerTarget(){return this}_getEventHandlerFor(event){const target=this._getEventHandlerTarget(event);if(!target){return null}return target._eventHandlers[event]}_setEventHandlerFor(event,handler){const target=this._getEventHandlerTarget(event);if(!target){return}if(!target._registeredHandlers.has(event)&&handler!==null){target._registeredHandlers.add(event);appendHandler(target,event)}target._eventHandlers[event]=handler}_globalEventChanged(event){const propName="on"+event;if(!(propName in this)){return}const runScripts="_runScripts"in this?this._runScripts:(this._ownerDocument._defaultView||{})._runScripts;if(runScripts!=="dangerously"){return}const val=this.getAttributeNS(null,propName);const handler=val===null?null:{body:val};this._setEventHandlerFor(event,handler)}}for(const event of events){createEventAccessor(GlobalEventHandlersImpl.prototype,event)}module.exports={implementation:GlobalEventHandlersImpl}},{"../helpers/create-event-accessor":587}],647:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const DOMTokenList=require("../generated/DOMTokenList");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const HTMLHyperlinkElementUtilsImpl=require("./HTMLHyperlinkElementUtils-impl").implementation;class HTMLAnchorElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._htmlHyperlinkElementUtilsSetup();this._hasActivationBehavior=true}_activationBehavior(){this._followAHyperlink()}get relList(){if(this._relList===undefined){this._relList=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"rel"})}return this._relList}get text(){return this.textContent}set text(v){this.textContent=v}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue);if(name==="rel"&&this._relList!==undefined){this._relList.attrModified()}}}mixin(HTMLAnchorElementImpl.prototype,HTMLHyperlinkElementUtilsImpl.prototype);module.exports={implementation:HTMLAnchorElementImpl}},{"../../utils":766,"../generated/DOMTokenList":414,"./HTMLElement-impl":663,"./HTMLHyperlinkElementUtils-impl":674}],648:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const DOMTokenList=require("../generated/DOMTokenList");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const HTMLHyperlinkElementUtilsImpl=require("./HTMLHyperlinkElementUtils-impl").implementation;class HTMLAreaElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._htmlHyperlinkElementUtilsSetup();this._hasActivationBehavior=true}_activationBehavior(){this._followAHyperlink()}get relList(){if(this._relList===undefined){this._relList=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"rel"})}return this._relList}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue);if(name==="rel"&&this._relList!==undefined){this._relList.attrModified()}}}mixin(HTMLAreaElementImpl.prototype,HTMLHyperlinkElementUtilsImpl.prototype);module.exports={implementation:HTMLAreaElementImpl}},{"../../utils":766,"../generated/DOMTokenList":414,"./HTMLElement-impl":663,"./HTMLHyperlinkElementUtils-impl":674}],649:[function(require,module,exports){"use strict";const HTMLMediaElementImpl=require("./HTMLMediaElement-impl").implementation;class HTMLAudioElementImpl extends HTMLMediaElementImpl{}module.exports={implementation:HTMLAudioElementImpl}},{"./HTMLMediaElement-impl":684}],650:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLBRElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLBRElementImpl}},{"./HTMLElement-impl":663}],651:[function(require,module,exports){"use strict";const whatwgURL=require("whatwg-url");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{fallbackBaseURL:fallbackBaseURL}=require("../helpers/document-base-url");class HTMLBaseElementImpl extends HTMLElementImpl{get href(){const document=this._ownerDocument;const url=this.hasAttributeNS(null,"href")?this.getAttributeNS(null,"href"):"";const parsed=whatwgURL.parseURL(url,{baseURL:fallbackBaseURL(document)});if(parsed===null){return url}return whatwgURL.serializeURL(parsed)}set href(value){this.setAttributeNS(null,"href",value)}}module.exports={implementation:HTMLBaseElementImpl}},{"../helpers/document-base-url":591,"./HTMLElement-impl":663,"whatwg-url":1024}],652:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const WindowEventHandlersImpl=require("./WindowEventHandlers-impl").implementation;class HTMLBodyElementImpl extends HTMLElementImpl{constructor(...args){super(...args);this._proxyWindowEventsToWindow()}}mixin(HTMLBodyElementImpl.prototype,WindowEventHandlersImpl.prototype);module.exports={implementation:HTMLBodyElementImpl}},{"../../utils":766,"./HTMLElement-impl":663,"./WindowEventHandlers-impl":736}],653:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{isDisabled:isDisabled,formOwner:formOwner}=require("../helpers/form-controls");const DefaultConstraintValidationImpl=require("../constraint-validation/DefaultConstraintValidation-impl").implementation;const{mixin:mixin}=require("../../utils");const{getLabelsForLabelable:getLabelsForLabelable}=require("../helpers/form-controls");class HTMLButtonElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._customValidityErrorMessage="";this._labels=null;this._hasActivationBehavior=true}_activationBehavior(){const{form:form}=this;if(form&&!isDisabled(this)){if(this.type==="submit"){form._doSubmit()}if(this.type==="reset"){form._doReset()}}}_getValue(){const valueAttr=this.getAttributeNS(null,"value");return valueAttr===null?"":valueAttr}get labels(){return getLabelsForLabelable(this)}get form(){return formOwner(this)}get type(){const typeAttr=(this.getAttributeNS(null,"type")||"").toLowerCase();switch(typeAttr){case"submit":case"reset":case"button":return typeAttr;default:return"submit"}}set type(v){v=String(v).toLowerCase();switch(v){case"submit":case"reset":case"button":this.setAttributeNS(null,"type",v);break;default:this.setAttributeNS(null,"type","submit");break}}_barredFromConstraintValidationSpecialization(){return this.type==="reset"||this.type==="button"}}mixin(HTMLButtonElementImpl.prototype,DefaultConstraintValidationImpl.prototype);module.exports={implementation:HTMLButtonElementImpl}},{"../../utils":766,"../constraint-validation/DefaultConstraintValidation-impl":355,"../helpers/form-controls":594,"./HTMLElement-impl":663}],654:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const notImplemented=require("../../browser/not-implemented");const idlUtils=require("../generated/utils");const{Canvas:Canvas}=require("../../utils");class HTMLCanvasElementImpl extends HTMLElementImpl{_attrModified(name,value){if(this._canvas&&(name==="width"||name==="height")){this._canvas[name]=parseInt(value)}super._attrModified.apply(this,arguments)}_getCanvas(){if(Canvas&&!this._canvas){this._canvas=Canvas.createCanvas(this.width,this.height)}return this._canvas}getContext(contextId){const canvas=this._getCanvas();if(canvas){if(!this._context){this._context=canvas.getContext(contextId)||null;if(this._context){this._context.canvas=idlUtils.wrapperForImpl(this);wrapNodeCanvasMethod(this._context,"createPattern");wrapNodeCanvasMethod(this._context,"drawImage")}}return this._context}notImplemented("HTMLCanvasElement.prototype.getContext (without installing the canvas npm package)",this._ownerDocument._defaultView);return null}toDataURL(){const canvas=this._getCanvas();if(canvas){return canvas.toDataURL.apply(this._canvas,arguments)}notImplemented("HTMLCanvasElement.prototype.toDataURL (without installing the canvas npm package)",this._ownerDocument._defaultView);return null}toBlob(callback,type,qualityArgument){const window=this._ownerDocument._defaultView;const canvas=this._getCanvas();if(canvas){const options={};switch(type){case"image/jpg":case"image/jpeg":type="image/jpeg";options.quality=qualityArgument;break;default:type="image/png"}canvas.toBuffer((err,buff)=>{if(err){throw err}callback(new window.Blob([buff],{type:type}))},type,options)}else{notImplemented("HTMLCanvasElement.prototype.toBlob (without installing the canvas npm package)",window)}}get width(){const parsed=parseInt(this.getAttributeNS(null,"width"));return isNaN(parsed)||parsed<0||parsed>2147483647?300:parsed}set width(v){v=v>2147483647?300:v;this.setAttributeNS(null,"width",String(v))}get height(){const parsed=parseInt(this.getAttributeNS(null,"height"));return isNaN(parsed)||parsed<0||parsed>2147483647?150:parsed}set height(v){v=v>2147483647?150:v;this.setAttributeNS(null,"height",String(v))}}function wrapNodeCanvasMethod(ctx,name){const prev=ctx[name];ctx[name]=function(image){const impl=idlUtils.implForWrapper(image);if(impl){if(impl instanceof HTMLCanvasElementImpl&&!impl._canvas){impl._getCanvas()}arguments[0]=impl._image||impl._canvas}return prev.apply(ctx,arguments)}}module.exports={implementation:HTMLCanvasElementImpl}},{"../../browser/not-implemented":338,"../../utils":766,"../generated/utils":584,"./HTMLElement-impl":663}],655:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils.js");const{HTML_NS:HTML_NS}=require("../helpers/namespaces");exports.implementation=class HTMLCollectionImpl{constructor(globalObject,args,privateData){this._list=[];this._version=-1;this._element=privateData.element;this._query=privateData.query;this._globalObject=globalObject;this._update()}get length(){this._update();return this._list.length}item(index){this._update();return this._list[index]||null}namedItem(key){if(key===""){return null}this._update();for(const element of this._list){if(element.getAttributeNS(null,"id")===key){return element}if(element._namespaceURI===HTML_NS){const name=element.getAttributeNS(null,"name");if(name===key){return element}}}return null}_update(){if(this._version<this._element._version){const snapshot=this._query();for(let i=0;i<snapshot.length;i++){this._list[i]=snapshot[i]}this._list.length=snapshot.length;this._version=this._element._version}}get[idlUtils.supportedPropertyIndices](){this._update();return this._list.keys()}get[idlUtils.supportedPropertyNames](){this._update();const result=new Set;for(const element of this._list){const id=element.getAttributeNS(null,"id");if(id){result.add(id)}if(element._namespaceURI===HTML_NS){const name=element.getAttributeNS(null,"name");if(name){result.add(name)}}}return result}[Symbol.iterator](){this._update();return this._list[Symbol.iterator]()}entries(){this._update();return this._list.entries()}filter(...args){this._update();return this._list.filter(...args)}map(...args){this._update();return this._list.map(...args)}indexOf(...args){this._update();return this._list.indexOf(...args)}}},{"../generated/utils.js":584,"../helpers/namespaces":599}],656:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLDListElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLDListElementImpl}},{"./HTMLElement-impl":663}],657:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLDataElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLDataElementImpl}},{"./HTMLElement-impl":663}],658:[function(require,module,exports){"use strict";const HTMLCollection=require("../generated/HTMLCollection");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{descendantsByLocalName:descendantsByLocalName}=require("../helpers/traversal");class HTMLDataListElementImpl extends HTMLElementImpl{get options(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>descendantsByLocalName(this,"option")})}}module.exports={implementation:HTMLDataListElementImpl}},{"../generated/HTMLCollection":447,"../helpers/traversal":611,"./HTMLElement-impl":663}],659:[function(require,module,exports){"use strict";const{fireAnEvent:fireAnEvent}=require("../helpers/events");const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLDetailsElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._taskQueue=null}_dispatchToggleEvent(){this._taskQueue=null;fireAnEvent("toggle",this)}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue);if(name==="open"&&this._taskQueue===null){if(value!==oldValue&&value!==null&&oldValue===null||value===null&&oldValue!==null){this._taskQueue=setTimeout(this._dispatchToggleEvent.bind(this),0)}}}}module.exports={implementation:HTMLDetailsElementImpl}},{"../helpers/events":592,"./HTMLElement-impl":663}],660:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLDialogElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLDialogElementImpl}},{"./HTMLElement-impl":663}],661:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLDirectoryElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLDirectoryElementImpl}},{"./HTMLElement-impl":663}],662:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLDivElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLDivElementImpl}},{"./HTMLElement-impl":663}],663:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const ElementImpl=require("./Element-impl").implementation;const MouseEvent=require("../generated/MouseEvent");const ElementCSSInlineStyleImpl=require("./ElementCSSInlineStyle-impl").implementation;const GlobalEventHandlersImpl=require("./GlobalEventHandlers-impl").implementation;const HTMLOrSVGElementImpl=require("./HTMLOrSVGElement-impl").implementation;const{firstChildWithLocalName:firstChildWithLocalName}=require("../helpers/traversal");const{isDisabled:isDisabled}=require("../helpers/form-controls");const{fireAnEvent:fireAnEvent}=require("../helpers/events");class HTMLElementImpl extends ElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._initHTMLOrSVGElement();this._initElementCSSInlineStyle();this._initGlobalEvents();this._clickInProgress=false;this._hasActivationBehavior=this._localName==="summary"}_activationBehavior(){const parent=this.parentNode;if(parent&&parent._localName==="details"&&this===firstChildWithLocalName(parent,"summary")){if(parent.hasAttributeNS(null,"open")){parent.removeAttributeNS(null,"open")}else{parent.setAttributeNS(null,"open","")}}}get translate(){const translateAttr=this.getAttributeNS(null,"translate");if(translateAttr==="yes"||translateAttr===""){return true}else if(translateAttr==="no"){return false}if(this===this.ownerDocument.documentElement){return true}return this.parentElement&&this.parentElement.translate}set translate(value){if(value===true){this.setAttributeNS(null,"translate","yes")}else{this.setAttributeNS(null,"translate","no")}}click(){if(isDisabled(this)){return}if(this._clickInProgress){return}this._clickInProgress=true;fireAnEvent("click",this,MouseEvent,{bubbles:true,cancelable:true,composed:true,isTrusted:false,view:this.ownerDocument.defaultView});this._clickInProgress=false}get draggable(){const attributeValue=this.getAttributeNS(null,"draggable");if(attributeValue==="true"){return true}else if(attributeValue==="false"){return false}return this._localName==="img"||this._localName==="a"&&this.hasAttributeNS(null,"href")}set draggable(value){this.setAttributeNS(null,"draggable",String(value))}get dir(){let dirValue=this.getAttributeNS(null,"dir");if(dirValue!==null){dirValue=dirValue.toLowerCase();if(["ltr","rtl","auto"].includes(dirValue)){return dirValue}}return""}set dir(value){this.setAttributeNS(null,"dir",value)}_attrModified(name,value,oldValue){if(name==="style"&&value!==oldValue&&!this._settingCssText){this._settingCssText=true;this._style.cssText=value;this._settingCssText=false}else if(name.startsWith("on")){this._globalEventChanged(name.substring(2))}super._attrModified.apply(this,arguments)}get offsetParent(){return null}get offsetTop(){return 0}get offsetLeft(){return 0}get offsetWidth(){return 0}get offsetHeight(){return 0}}mixin(HTMLElementImpl.prototype,ElementCSSInlineStyleImpl.prototype);mixin(HTMLElementImpl.prototype,GlobalEventHandlersImpl.prototype);mixin(HTMLElementImpl.prototype,HTMLOrSVGElementImpl.prototype);module.exports={implementation:HTMLElementImpl}},{"../../utils":766,"../generated/MouseEvent":525,"../helpers/events":592,"../helpers/form-controls":594,"../helpers/traversal":611,"./Element-impl":644,"./ElementCSSInlineStyle-impl":645,"./GlobalEventHandlers-impl":646,"./HTMLOrSVGElement-impl":694}],664:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLEmbedElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLEmbedElementImpl}},{"./HTMLElement-impl":663}],665:[function(require,module,exports){"use strict";const HTMLCollection=require("../generated/HTMLCollection");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const DefaultConstraintValidationImpl=require("../constraint-validation/DefaultConstraintValidation-impl").implementation;const{formOwner:formOwner}=require("../helpers/form-controls");const{mixin:mixin}=require("../../utils");const{descendantsByLocalNames:descendantsByLocalNames}=require("../helpers/traversal");const listedElements=new Set(["button","fieldset","input","object","output","select","textarea"]);class HTMLFieldSetElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._customValidityErrorMessage=""}get elements(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>descendantsByLocalNames(this,listedElements)})}get form(){return formOwner(this)}get type(){return"fieldset"}_barredFromConstraintValidationSpecialization(){return true}}mixin(HTMLFieldSetElementImpl.prototype,DefaultConstraintValidationImpl.prototype);module.exports={implementation:HTMLFieldSetElementImpl}},{"../../utils":766,"../constraint-validation/DefaultConstraintValidation-impl":355,"../generated/HTMLCollection":447,"../helpers/form-controls":594,"../helpers/traversal":611,"./HTMLElement-impl":663}],666:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLFontElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLFontElementImpl}},{"./HTMLElement-impl":663}],667:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const{serializeURL:serializeURL}=require("whatwg-url");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const{isListed:isListed,isSubmittable:isSubmittable,isSubmitButton:isSubmitButton}=require("../helpers/form-controls");const HTMLCollection=require("../generated/HTMLCollection");const notImplemented=require("../../browser/not-implemented");const{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=require("../helpers/document-base-url");const encTypes=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const methods=new Set(["get","post","dialog"]);const constraintValidationPositiveResult=Symbol("positive");const constraintValidationNegativeResult=Symbol("negative");class HTMLFormElementImpl extends HTMLElementImpl{_descendantAdded(parent,child){const form=this;for(const el of domSymbolTree.treeIterator(child)){if(typeof el._changedFormOwner==="function"){el._changedFormOwner(form)}}super._descendantAdded.apply(this,arguments)}_descendantRemoved(parent,child){for(const el of domSymbolTree.treeIterator(child)){if(typeof el._changedFormOwner==="function"){el._changedFormOwner(null)}}super._descendantRemoved.apply(this,arguments)}get elements(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.treeToArray(this,{filter:node=>isListed(node)&&(node._localName!=="input"||node.type!=="image")})})}get length(){return this.elements.length}_doSubmit(){if(!this.isConnected){return}this.submit()}submit(){if(!fireAnEvent("submit",this,undefined,{bubbles:true,cancelable:true})){return}notImplemented("HTMLFormElement.prototype.submit",this._ownerDocument._defaultView)}requestSubmit(submitter=undefined){if(submitter!==undefined){if(!isSubmitButton(submitter)){throw new TypeError("The specified element is not a submit button")}if(submitter.form!==this){throw DOMException.create(this._globalObject,["The specified element is not owned by this form element","NotFoundError"])}}if(!fireAnEvent("submit",this,undefined,{bubbles:true,cancelable:true})){return}notImplemented("HTMLFormElement.prototype.requestSubmit",this._ownerDocument._defaultView)}_doReset(){if(!this.isConnected){return}this.reset()}reset(){if(!fireAnEvent("reset",this,undefined,{bubbles:true,cancelable:true})){return}for(const el of this.elements){if(typeof el._formReset==="function"){el._formReset()}}}get method(){let method=this.getAttributeNS(null,"method");if(method){method=method.toLowerCase()}if(methods.has(method)){return method}return"get"}set method(V){this.setAttributeNS(null,"method",V)}get enctype(){let type=this.getAttributeNS(null,"enctype");if(type){type=type.toLowerCase()}if(encTypes.has(type)){return type}return"application/x-www-form-urlencoded"}set enctype(V){this.setAttributeNS(null,"enctype",V)}get action(){const attributeValue=this.getAttributeNS(null,"action");if(attributeValue===null||attributeValue===""){return this._ownerDocument.URL}const urlRecord=parseURLToResultingURLRecord(attributeValue,this._ownerDocument);if(urlRecord===null){return attributeValue}return serializeURL(urlRecord)}set action(V){this.setAttributeNS(null,"action",V)}checkValidity(){return this._staticallyValidateConstraints().result===constraintValidationPositiveResult}reportValidity(){return this.checkValidity()}_staticallyValidateConstraints(){const controls=[];for(const el of domSymbolTree.treeIterator(this)){if(el.form===this&&isSubmittable(el)){controls.push(el)}}const invalidControls=[];for(const control of controls){if(control._isCandidateForConstraintValidation()&&!control._satisfiesConstraints()){invalidControls.push(control)}}if(invalidControls.length===0){return{result:constraintValidationPositiveResult}}const unhandledInvalidControls=[];for(const invalidControl of invalidControls){const notCancelled=fireAnEvent("invalid",invalidControl,undefined,{cancelable:true});if(notCancelled){unhandledInvalidControls.push(invalidControl)}}return{result:constraintValidationNegativeResult,unhandledInvalidControls:unhandledInvalidControls}}}module.exports={implementation:HTMLFormElementImpl}},{"../../browser/not-implemented":338,"../generated/HTMLCollection":447,"../helpers/document-base-url":591,"../helpers/events":592,"../helpers/form-controls":594,"../helpers/internal-constants":596,"./HTMLElement-impl":663,"domexception/webidl2js-wrapper":213,"whatwg-url":1024}],668:[function(require,module,exports){"use strict";const MIMEType=require("whatwg-mimetype");const whatwgEncoding=require("whatwg-encoding");const{parseURL:parseURL,serializeURL:serializeURL}=require("whatwg-url");const sniffHTMLEncoding=require("html-encoding-sniffer");const window=require("../../browser/Window");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{evaluateJavaScriptURL:evaluateJavaScriptURL}=require("../window/navigation");const{parseIntoDocument:parseIntoDocument}=require("../../browser/parser");const{documentBaseURL:documentBaseURL}=require("../helpers/document-base-url");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const{getAttributeValue:getAttributeValue}=require("../attributes");const idlUtils=require("../generated/utils");function fireLoadEvent(document,frame,attaching){if(attaching){fireAnEvent("load",frame);return}const dummyPromise=Promise.resolve();function onLoad(){fireAnEvent("load",frame)}document._queue.push(dummyPromise,onLoad)}function fetchFrame(serializedURL,frame,document,contentDoc){const resourceLoader=document._resourceLoader;let request;function onFrameLoaded(data){const sniffOptions={defaultEncoding:document._encoding};if(request.response){const contentType=MIMEType.parse(request.response.headers["content-type"])||new MIMEType("text/plain");sniffOptions.transportLayerEncodingLabel=contentType.parameters.get("charset");if(contentType){if(contentType.isXML()){contentDoc._parsingMode="xml"}contentDoc.contentType=contentType.essence}}const encoding=sniffHTMLEncoding(data,sniffOptions);contentDoc._encoding=encoding;const html=whatwgEncoding.decode(data,contentDoc._encoding);try{parseIntoDocument(html,contentDoc)}catch(error){const{DOMException:DOMException}=contentDoc._globalObject;if(error.constructor.name==="DOMException"&&error.code===DOMException.SYNTAX_ERR&&contentDoc._parsingMode==="xml"){const element=contentDoc.createElementNS("http://www.mozilla.org/newlayout/xml/parsererror.xml","parsererror");element.textContent=error.message;while(contentDoc.childNodes.length>0){contentDoc.removeChild(contentDoc.lastChild)}contentDoc.appendChild(element)}else{throw error}}contentDoc.close();return new Promise((resolve,reject)=>{contentDoc.addEventListener("load",resolve);contentDoc.addEventListener("error",reject)})}request=resourceLoader.fetch(serializedURL,{element:frame,onLoad:onFrameLoaded})}function canDispatchEvents(frame,attaching){if(!attaching){return false}return Object.keys(frame._eventListeners).length===0}function loadFrame(frame,attaching){if(frame._contentDocument){if(frame._contentDocument._defaultView){frame._contentDocument._defaultView.close()}else{delete frame._contentDocument}}const parentDoc=frame._ownerDocument;let url;const srcAttribute=getAttributeValue(frame,"src");if(srcAttribute===""){url=parseURL("about:blank")}else{url=parseURL(srcAttribute,{baseURL:documentBaseURL(parentDoc)||undefined})||parseURL("about:blank")}const serializedURL=serializeURL(url);const wnd=window.createWindow({parsingMode:"html",url:url.scheme==="javascript"||serializedURL==="about:blank"?parentDoc.URL:serializedURL,resourceLoader:parentDoc._defaultView._resourceLoader,referrer:parentDoc.URL,cookieJar:parentDoc._cookieJar,pool:parentDoc._pool,encoding:parentDoc._encoding,runScripts:parentDoc._defaultView._runScripts,commonForOrigin:parentDoc._defaultView._commonForOrigin,pretendToBeVisual:parentDoc._defaultView._pretendToBeVisual});const contentDoc=frame._contentDocument=idlUtils.implForWrapper(wnd._document);const parent=parentDoc._defaultView;const contentWindow=contentDoc._defaultView;contentWindow._parent=parent;contentWindow._top=parent.top;contentWindow._frameElement=frame;contentWindow._virtualConsole=parent._virtualConsole;if(parentDoc._origin===contentDoc._origin){contentWindow._currentOriginData.windowsInSameOrigin.push(contentWindow)}const noQueue=canDispatchEvents(frame,attaching);if(serializedURL==="about:blank"){parseIntoDocument("<html><head></head><body></body></html>",contentDoc);contentDoc.close(noQueue);if(noQueue){fireLoadEvent(parentDoc,frame,noQueue)}else{contentDoc.addEventListener("load",()=>{fireLoadEvent(parentDoc,frame)})}}else if(url.scheme==="javascript"){parseIntoDocument("<html><head></head><body></body></html>",contentDoc);contentDoc.close(noQueue);const result=evaluateJavaScriptURL(contentWindow,url);if(typeof result==="string"){contentDoc.body.textContent=result}if(noQueue){fireLoadEvent(parentDoc,frame,noQueue)}else{contentDoc.addEventListener("load",()=>{fireLoadEvent(parentDoc,frame)})}}else{fetchFrame(serializedURL,frame,parentDoc,contentDoc)}}function refreshAccessors(document){const{_defaultView:_defaultView}=document;if(!_defaultView){return}const frames=document.querySelectorAll("iframe,frame");for(let i=0;i<_defaultView._length;++i){delete _defaultView[i]}_defaultView._length=frames.length;Array.prototype.forEach.call(frames,(frame,i)=>{Object.defineProperty(_defaultView,i,{configurable:true,enumerable:true,get(){return frame.contentWindow}})})}class HTMLFrameElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._contentDocument=null}_attrModified(name,value,oldVal){super._attrModified(name,value,oldVal);if(name==="src"){if(this._attached&&this._ownerDocument._defaultView){loadFrame(this)}}}_detach(){super._detach();if(this.contentWindow){this.contentWindow.close()}refreshAccessors(this._ownerDocument)}_attach(){super._attach();if(this._ownerDocument._defaultView){loadFrame(this,true)}refreshAccessors(this._ownerDocument)}get contentDocument(){return this._contentDocument}get contentWindow(){return this.contentDocument?this.contentDocument._defaultView:null}}module.exports={implementation:HTMLFrameElementImpl}},{"../../browser/Window":335,"../../browser/parser":340,"../attributes":352,"../generated/utils":584,"../helpers/document-base-url":591,"../helpers/events":592,"../window/navigation":759,"./HTMLElement-impl":663,"html-encoding-sniffer":299,"whatwg-encoding":1019,"whatwg-mimetype":1020,"whatwg-url":1024}],669:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const WindowEventHandlersImpl=require("./WindowEventHandlers-impl").implementation;class HTMLFrameSetElementImpl extends HTMLElementImpl{constructor(...args){super(...args);this._proxyWindowEventsToWindow()}}mixin(HTMLFrameSetElementImpl.prototype,WindowEventHandlersImpl.prototype);module.exports={implementation:HTMLFrameSetElementImpl}},{"../../utils":766,"./HTMLElement-impl":663,"./WindowEventHandlers-impl":736}],670:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLHRElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLHRElementImpl}},{"./HTMLElement-impl":663}],671:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLHeadElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLHeadElementImpl}},{"./HTMLElement-impl":663}],672:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLHeadingElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLHeadingElementImpl}},{"./HTMLElement-impl":663}],673:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLHtmlElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLHtmlElementImpl}},{"./HTMLElement-impl":663}],674:[function(require,module,exports){"use strict";const whatwgURL=require("whatwg-url");const{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=require("../helpers/document-base-url");const{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch}=require("../helpers/strings");const{navigate:navigate}=require("../window/navigation");exports.implementation=class HTMLHyperlinkElementUtilsImpl{_htmlHyperlinkElementUtilsSetup(){this.url=null}_cannotNavigate(){return this._localName!=="a"&&!this.isConnected}_getAnElementsTarget(){if(this.hasAttributeNS(null,"target")){return this.getAttributeNS(null,"target")}const baseEl=this._ownerDocument.querySelector("base[target]");if(baseEl){return baseEl.getAttributeNS(null,"target")}return""}_chooseABrowsingContext(name,current){let chosen=null;if(name===""||asciiCaseInsensitiveMatch(name,"_self")){chosen=current}else if(asciiCaseInsensitiveMatch(name,"_parent")){chosen=current.parent}else if(asciiCaseInsensitiveMatch(name,"_top")){chosen=current.top}else if(!asciiCaseInsensitiveMatch(name,"_blank")){}return chosen}_followAHyperlink(){if(this._cannotNavigate()){return}const source=this._ownerDocument._defaultView;let targetAttributeValue="";if(this._localName==="a"||this._localName==="area"){targetAttributeValue=this._getAnElementsTarget()}const noopener=this.relList.contains("noreferrer")||this.relList.contains("noopener");const target=this._chooseABrowsingContext(targetAttributeValue,source,noopener);if(target===null){return}const url=parseURLToResultingURLRecord(this.href,this._ownerDocument);if(url===null){return}setTimeout(()=>{navigate(target,url,{})},0)}toString(){return this.href}get href(){reinitializeURL(this);const{url:url}=this;if(url===null){const href=this.getAttributeNS(null,"href");return href===null?"":href}return whatwgURL.serializeURL(url)}set href(v){this.setAttributeNS(null,"href",v)}get origin(){reinitializeURL(this);if(this.url===null){return""}return whatwgURL.serializeURLOrigin(this.url)}get protocol(){reinitializeURL(this);if(this.url===null){return":"}return this.url.scheme+":"}set protocol(v){reinitializeURL(this);if(this.url===null){return}whatwgURL.basicURLParse(v+":",{url:this.url,stateOverride:"scheme start"});updateHref(this)}get username(){reinitializeURL(this);if(this.url===null){return""}return this.url.username}set username(v){reinitializeURL(this);const{url:url}=this;if(url===null||url.host===null||url.host===""||url.cannotBeABaseURL||url.scheme==="file"){return}whatwgURL.setTheUsername(url,v);updateHref(this)}get password(){reinitializeURL(this);const{url:url}=this;if(url===null){return""}return url.password}set password(v){reinitializeURL(this);const{url:url}=this;if(url===null||url.host===null||url.host===""||url.cannotBeABaseURL||url.scheme==="file"){return}whatwgURL.setThePassword(url,v);updateHref(this)}get host(){reinitializeURL(this);const{url:url}=this;if(url===null||url.host===null){return""}if(url.port===null){return whatwgURL.serializeHost(url.host)}return whatwgURL.serializeHost(url.host)+":"+whatwgURL.serializeInteger(url.port)}set host(v){reinitializeURL(this);const{url:url}=this;if(url===null||url.cannotBeABaseURL){return}whatwgURL.basicURLParse(v,{url:url,stateOverride:"host"});updateHref(this)}get hostname(){reinitializeURL(this);const{url:url}=this;if(url===null||url.host===null){return""}return whatwgURL.serializeHost(url.host)}set hostname(v){reinitializeURL(this);const{url:url}=this;if(url===null||url.cannotBeABaseURL){return}whatwgURL.basicURLParse(v,{url:url,stateOverride:"hostname"});updateHref(this)}get port(){reinitializeURL(this);const{url:url}=this;if(url===null||url.port===null){return""}return whatwgURL.serializeInteger(url.port)}set port(v){reinitializeURL(this);const{url:url}=this;if(url===null||url.host===null||url.host===""||url.cannotBeABaseURL||url.scheme==="file"){return}if(v===""){url.port=null}else{whatwgURL.basicURLParse(v,{url:url,stateOverride:"port"})}updateHref(this)}get pathname(){reinitializeURL(this);const{url:url}=this;if(url===null){return""}if(url.cannotBeABaseURL){return url.path[0]}return"/"+url.path.join("/")}set pathname(v){reinitializeURL(this);const{url:url}=this;if(url===null||url.cannotBeABaseURL){return}url.path=[];whatwgURL.basicURLParse(v,{url:url,stateOverride:"path start"});updateHref(this)}get search(){reinitializeURL(this);const{url:url}=this;if(url===null||url.query===null||url.query===""){return""}return"?"+url.query}set search(v){reinitializeURL(this);const{url:url}=this;if(url===null){return}if(v===""){url.query=null}else{const input=v[0]==="?"?v.substring(1):v;url.query="";whatwgURL.basicURLParse(input,{url:url,stateOverride:"query",encodingOverride:this._ownerDocument.charset})}updateHref(this)}get hash(){reinitializeURL(this);const{url:url}=this;if(url===null||url.fragment===null||url.fragment===""){return""}return"#"+url.fragment}set hash(v){reinitializeURL(this);const{url:url}=this;if(url===null){return}if(v===""){url.fragment=null}else{const input=v[0]==="#"?v.substring(1):v;url.fragment="";whatwgURL.basicURLParse(input,{url:url,stateOverride:"fragment"})}updateHref(this)}};function reinitializeURL(hheu){if(hheu.url!==null&&hheu.url.scheme==="blob"&&hheu.url.cannotBeABaseURL){return}setTheURL(hheu)}function setTheURL(hheu){const href=hheu.getAttributeNS(null,"href");if(href===null){hheu.url=null;return}const parsed=parseURLToResultingURLRecord(href,hheu._ownerDocument);hheu.url=parsed===null?null:parsed}function updateHref(hheu){hheu.setAttributeNS(null,"href",whatwgURL.serializeURL(hheu.url))}},{"../helpers/document-base-url":591,"../helpers/strings":606,"../window/navigation":759,"whatwg-url":1024}],675:[function(require,module,exports){"use strict";const HTMLFrameElementImpl=require("./HTMLFrameElement-impl").implementation;class HTMLIFrameElementImpl extends HTMLFrameElementImpl{}module.exports={implementation:HTMLIFrameElementImpl}},{"./HTMLFrameElement-impl":668}],676:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const{serializeURL:serializeURL}=require("whatwg-url");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{Canvas:Canvas}=require("../../utils");const{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=require("../helpers/document-base-url");class HTMLImageElementImpl extends HTMLElementImpl{_attrModified(name,value,oldVal){if(name==="src"||(name==="srcset"||name==="width"||name==="sizes")&&value!==oldVal){this._updateTheImageData()}super._attrModified(name,value,oldVal)}get _accept(){return"image/png,image/*;q=0.8,*/*;q=0.5"}get height(){return this.hasAttributeNS(null,"height")?conversions["unsigned long"](this.getAttributeNS(null,"height")):this.naturalHeight}set height(V){this.setAttributeNS(null,"height",String(V))}get width(){return this.hasAttributeNS(null,"width")?conversions["unsigned long"](this.getAttributeNS(null,"width")):this.naturalWidth}set width(V){this.setAttributeNS(null,"width",String(V))}get naturalHeight(){return this._image?this._image.naturalHeight:0}get naturalWidth(){return this._image?this._image.naturalWidth:0}get complete(){return Boolean(this._image&&this._image.complete)}get currentSrc(){return this._currentSrc||""}_updateTheImageData(){const document=this._ownerDocument;if(!document._defaultView){return}if(!Canvas){return}if(!this._image){this._image=new Canvas.Image}this._currentSrc=null;const srcAttributeValue=this.getAttributeNS(null,"src");let urlString=null;if(srcAttributeValue!==null&&srcAttributeValue!==""){const urlRecord=parseURLToResultingURLRecord(srcAttributeValue,this._ownerDocument);if(urlRecord===null){return}urlString=serializeURL(urlRecord)}if(urlString!==null){const resourceLoader=document._resourceLoader;let request;const onLoadImage=data=>{const{response:response}=request;if(response&&response.statusCode!==undefined&&response.statusCode!==200){throw new Error("Status code: "+response.statusCode)}let error=null;this._image.onerror=function(err){error=err};this._image.src=data;if(error){throw new Error(error)}this._currentSrc=srcAttributeValue};request=resourceLoader.fetch(urlString,{element:this,onLoad:onLoadImage})}else{this._image.src=""}}}module.exports={implementation:HTMLImageElementImpl}},{"../../utils":766,"../helpers/document-base-url":591,"./HTMLElement-impl":663,"webidl-conversions":776,"whatwg-url":1024}],677:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const FileList=require("../generated/FileList");const Decimal=require("decimal.js");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const idlUtils=require("../generated/utils");const DefaultConstraintValidationImpl=require("../constraint-validation/DefaultConstraintValidation-impl").implementation;const ValidityState=require("../generated/ValidityState");const{mixin:mixin}=require("../../utils");const{domSymbolTree:domSymbolTree,cloningSteps:cloningSteps}=require("../helpers/internal-constants");const{getLabelsForLabelable:getLabelsForLabelable,formOwner:formOwner}=require("../helpers/form-controls");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const{isDisabled:isDisabled,isValidEmailAddress:isValidEmailAddress,isValidAbsoluteURL:isValidAbsoluteURL,sanitizeValueByType:sanitizeValueByType}=require("../helpers/form-controls");const{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch,asciiLowercase:asciiLowercase,parseFloatingPointNumber:parseFloatingPointNumber,splitOnCommas:splitOnCommas}=require("../helpers/strings");const{isDate:isDate}=require("../helpers/dates-and-times");const{convertStringToNumberByType:convertStringToNumberByType,convertStringToDateByType:convertStringToDateByType,serializeDateByType:serializeDateByType,convertNumberToStringByType:convertNumberToStringByType}=require("../helpers/number-and-date-inputs");const filesSymbol=Symbol("files");const inputAllowedTypes=new Set(["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]);const variableLengthSelectionAllowedTypes=new Set(["text","search","url","tel","password"]);const numericTypes=new Set(["date","month","week","time","datetime-local","number","range"]);const applicableTypesForIDLMember={valueAsDate:new Set(["date","month","week","time"]),valueAsNumber:numericTypes,select:new Set(["text","search","url","tel","email","password","date","month","week","time","datetime-local","number","color","file"]),selectionStart:variableLengthSelectionAllowedTypes,selectionEnd:variableLengthSelectionAllowedTypes,selectionDirection:variableLengthSelectionAllowedTypes,setRangeText:variableLengthSelectionAllowedTypes,setSelectionRange:variableLengthSelectionAllowedTypes,stepDown:numericTypes,stepUp:numericTypes};const lengthPatternSizeTypes=new Set(["text","search","url","tel","email","password"]);const readonlyTypes=new Set([...lengthPatternSizeTypes,"date","month","week","time","datetime-local","number"]);const applicableTypesForContentAttribute={list:new Set(["text","search","url","tel","email",...numericTypes,"color"]),max:numericTypes,maxlength:lengthPatternSizeTypes,min:numericTypes,minlength:lengthPatternSizeTypes,multiple:new Set(["email","file"]),pattern:lengthPatternSizeTypes,readonly:readonlyTypes,required:new Set([...readonlyTypes,"checkbox","radio","file"]),step:numericTypes};const valueAttributeDefaultMode=new Set(["hidden","submit","image","reset","button"]);const valueAttributeDefaultOnMode=new Set(["checkbox","radio"]);function valueAttributeMode(type){if(valueAttributeDefaultMode.has(type)){return"default"}if(valueAttributeDefaultOnMode.has(type)){return"default/on"}if(type==="file"){return"filename"}return"value"}function getTypeFromAttribute(typeAttribute){if(typeof typeAttribute!=="string"){return"text"}const type=asciiLowercase(typeAttribute);return inputAllowedTypes.has(type)?type:"text"}class HTMLInputElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._selectionStart=this._selectionEnd=0;this._selectionDirection="none";this._value="";this._dirtyValue=false;this._checkedness=false;this._dirtyCheckedness=false;this._preCheckedRadioState=null;this.indeterminate=false;this._customValidityErrorMessage="";this._labels=null;this._hasActivationBehavior=true}get _convertStringToNumber(){return convertStringToNumberByType[this.type]}get _convertNumberToString(){return convertNumberToStringByType[this.type]}get _convertDateToString(){return serializeDateByType[this.type]}get _convertStringToDate(){return convertStringToDateByType[this.type]}_isStepAligned(v){return new Decimal(v).minus(this._stepBase).modulo(this._allowedValueStep).isZero()}_stepAlign(v,roundUp){const allowedValueStep=this._allowedValueStep;const stepBase=this._stepBase;return new Decimal(v).minus(stepBase).toNearest(allowedValueStep,roundUp?Decimal.ROUND_UP:Decimal.ROUND_DOWN).add(stepBase)}_getValue(){return this._value}_legacyPreActivationBehavior(){if(this.type==="checkbox"){this.checked=!this.checked}else if(this.type==="radio"){this._preCheckedRadioState=this.checked;this.checked=true}}_legacyCanceledActivationBehavior(){if(this.type==="checkbox"){this.checked=!this.checked}else if(this.type==="radio"){if(this._preCheckedRadioState!==null){this.checked=this._preCheckedRadioState;this._preCheckedRadioState=null}}}_activationBehavior(){if(!this._mutable){return}const{form:form}=this;if(this.type==="checkbox"||this.type==="radio"&&!this._preCheckedRadioState){fireAnEvent("input",this,undefined,{bubbles:true});fireAnEvent("change",this,undefined,{bubbles:true})}else if(form&&this.type==="submit"){form._doSubmit()}else if(form&&this.type==="reset"){form._doReset()}}_attrModified(name,value,oldVal){const wrapper=idlUtils.wrapperForImpl(this);if(!this._dirtyValue&&name==="value"){this._value=sanitizeValueByType(this,wrapper.defaultValue)}if(!this._dirtyCheckedness&&name==="checked"){this._checkedness=wrapper.defaultChecked;if(this._checkedness){this._removeOtherRadioCheckedness()}}if(name==="name"||name==="type"){if(this._checkedness){this._removeOtherRadioCheckedness()}}if(name==="type"){const prevType=getTypeFromAttribute(oldVal);const curType=getTypeFromAttribute(value);if(prevType!==curType){const prevValueMode=valueAttributeMode(prevType);const curValueMode=valueAttributeMode(curType);if(prevValueMode==="value"&&this._value!==""&&(curValueMode==="default"||curValueMode==="default/on")){this.setAttributeNS(null,"value",this._value)}else if(prevValueMode!=="value"&&curValueMode==="value"){this._value=this.getAttributeNS(null,"value")||"";this._dirtyValue=false}else if(prevValueMode!=="filename"&&curValueMode==="filename"){this._value=""}this._signalATypeChange();this._value=sanitizeValueByType(this,this._value);const previouslySelectable=this._idlMemberApplies("setRangeText",prevType);const nowSelectable=this._idlMemberApplies("setRangeText",curType);if(!previouslySelectable&&nowSelectable){this._selectionStart=0;this._selectionEnd=0;this._selectionDirection="none"}}}super._attrModified.apply(this,arguments)}_signalATypeChange(){if(this._checkedness){this._removeOtherRadioCheckedness()}}_formReset(){const wrapper=idlUtils.wrapperForImpl(this);this._value=sanitizeValueByType(this,wrapper.defaultValue);this._dirtyValue=false;this._checkedness=wrapper.defaultChecked;this._dirtyCheckedness=false;if(this._checkedness){this._removeOtherRadioCheckedness()}}_changedFormOwner(){if(this._checkedness){this._removeOtherRadioCheckedness()}}get _otherRadioGroupElements(){const wrapper=idlUtils.wrapperForImpl(this);const root=this._radioButtonGroupRoot;if(!root){return[]}const result=[];const descendants=domSymbolTree.treeIterator(root);for(const candidate of descendants){if(candidate._radioButtonGroupRoot!==root){continue}const candidateWrapper=idlUtils.wrapperForImpl(candidate);if(!candidateWrapper.name||candidateWrapper.name!==wrapper.name){continue}if(candidate!==this){result.push(candidate)}}return result}_removeOtherRadioCheckedness(){for(const radioGroupElement of this._otherRadioGroupElements){radioGroupElement._checkedness=false}}get _radioButtonGroupRoot(){const wrapper=idlUtils.wrapperForImpl(this);if(this.type!=="radio"||!wrapper.name){return null}let e=domSymbolTree.parent(this);while(e){if(!domSymbolTree.parent(e)||e.nodeName.toUpperCase()==="FORM"){return e}e=domSymbolTree.parent(e)}return null}_isRadioGroupChecked(){if(this.checked){return true}return this._otherRadioGroupElements.some(radioGroupElement=>radioGroupElement.checked)}get _mutable(){return!isDisabled(this)&&!this._hasAttributeAndApplies("readonly")}get labels(){return getLabelsForLabelable(this)}get form(){return formOwner(this)}get checked(){return this._checkedness}set checked(checked){this._checkedness=Boolean(checked);this._dirtyCheckedness=true;if(this._checkedness){this._removeOtherRadioCheckedness()}}get value(){switch(valueAttributeMode(this.type)){case"value":return this._getValue();case"default":{const attr=this.getAttributeNS(null,"value");return attr!==null?attr:""}case"default/on":{const attr=this.getAttributeNS(null,"value");return attr!==null?attr:"on"}case"filename":return this.files.length?"C:\\fakepath\\"+this.files[0].name:"";default:throw new Error("jsdom internal error: unknown value attribute mode")}}set value(val){switch(valueAttributeMode(this.type)){case"value":{const oldValue=this._value;this._value=sanitizeValueByType(this,val);this._dirtyValue=true;if(oldValue!==this._value){this._selectionStart=this._selectionEnd=this._getValueLength();this._selectionDirection="none"}break}case"default":case"default/on":this.setAttributeNS(null,"value",val);break;case"filename":if(val===""){this.files.length=0}else{throw DOMException.create(this._globalObject,["This input element accepts a filename, which may only be programmatically set to the empty string.","InvalidStateError"])}break;default:throw new Error("jsdom internal error: unknown value attribute mode")}}get valueAsDate(){if(!this._idlMemberApplies("valueAsDate")){return null}const window=this._ownerDocument._defaultView;const convertedValue=this._convertStringToDate(this._value);if(convertedValue instanceof Date){return new window.Date(convertedValue.getTime())}return null}set valueAsDate(v){if(!this._idlMemberApplies("valueAsDate")){throw DOMException.create(this._globalObject,["Failed to set the 'valueAsDate' property on 'HTMLInputElement': This input element does not support Date "+"values.","InvalidStateError"])}if(v!==null&&!isDate(v)){throw new TypeError("Failed to set the 'valueAsDate' property on 'HTMLInputElement': The provided value is "+"not a Date.")}if(v===null||isNaN(v)){this._value=""}this._value=this._convertDateToString(v)}get valueAsNumber(){if(!this._idlMemberApplies("valueAsNumber")){return NaN}const parsedValue=this._convertStringToNumber(this._value);return parsedValue!==null?parsedValue:NaN}set valueAsNumber(v){if(!isFinite(v)){throw new TypeError("Failed to set infinite value as Number")}if(!this._idlMemberApplies("valueAsNumber")){throw DOMException.create(this._globalObject,["Failed to set the 'valueAsNumber' property on 'HTMLInputElement': This input element does not support "+"Number values.","InvalidStateError"])}this._value=this._convertNumberToString(v)}_stepUpdate(n,isUp){const methodName=isUp?"stepUp":"stepDown";if(!this._idlMemberApplies(methodName)){throw DOMException.create(this._globalObject,[`Failed to invoke '${methodName}' method on 'HTMLInputElement': `+"This input element does not support Number values.","InvalidStateError"])}const allowedValueStep=this._allowedValueStep;if(allowedValueStep===null){throw DOMException.create(this._globalObject,[`Failed to invoke '${methodName}' method on 'HTMLInputElement': `+"This input element does not support value step.","InvalidStateError"])}const min=this._minimum;const max=this._maximum;if(min!==null&&max!==null){if(min>max){return}const candidateStepValue=this._stepAlign(Decimal.add(min,allowedValueStep),false);if(candidateStepValue.lt(min)||candidateStepValue.gt(max)){return}}let value=0;try{value=this.valueAsNumber;if(isNaN(value)){value=0}}catch(error){}value=new Decimal(value);const valueBeforeStepping=value;if(!this._isStepAligned(value)){value=this._stepAlign(value,isUp)}else{let delta=Decimal.mul(n,allowedValueStep);if(!isUp){delta=delta.neg()}value=value.add(delta)}if(min!==null&&value.lt(min)){value=this._stepAlign(min,true)}if(max!==null&&value.gt(max)){value=this._stepAlign(max,false)}if(isUp?value.lt(valueBeforeStepping):value.gt(valueBeforeStepping)){return}this._value=this._convertNumberToString(value.toNumber())}stepDown(n=1){return this._stepUpdate(n,false)}stepUp(n=1){return this._stepUpdate(n,true)}get files(){if(this.type==="file"){this[filesSymbol]=this[filesSymbol]||FileList.createImpl(this._globalObject)}else{this[filesSymbol]=null}return this[filesSymbol]}set files(value){if(this.type==="file"&&value!==null){this[filesSymbol]=value}}get type(){const typeAttribute=this.getAttributeNS(null,"type");return getTypeFromAttribute(typeAttribute)}set type(type){this.setAttributeNS(null,"type",type)}_dispatchSelectEvent(){fireAnEvent("select",this,undefined,{bubbles:true,cancelable:true})}_getValueLength(){return typeof this.value==="string"?this.value.length:0}select(){if(!this._idlMemberApplies("select")){return}this._selectionStart=0;this._selectionEnd=this._getValueLength();this._selectionDirection="none";this._dispatchSelectEvent()}get selectionStart(){if(!this._idlMemberApplies("selectionStart")){return null}return this._selectionStart}set selectionStart(start){if(!this._idlMemberApplies("selectionStart")){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}this.setSelectionRange(start,Math.max(start,this._selectionEnd),this._selectionDirection)}get selectionEnd(){if(!this._idlMemberApplies("selectionEnd")){return null}return this._selectionEnd}set selectionEnd(end){if(!this._idlMemberApplies("selectionEnd")){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}this.setSelectionRange(this._selectionStart,end,this._selectionDirection)}get selectionDirection(){if(!this._idlMemberApplies("selectionDirection")){return null}return this._selectionDirection}set selectionDirection(dir){if(!this._idlMemberApplies("selectionDirection")){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}this.setSelectionRange(this._selectionStart,this._selectionEnd,dir)}setSelectionRange(start,end,dir){if(!this._idlMemberApplies("setSelectionRange")){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}this._selectionEnd=Math.min(end,this._getValueLength());this._selectionStart=Math.min(start,this._selectionEnd);this._selectionDirection=dir==="forward"||dir==="backward"?dir:"none";this._dispatchSelectEvent()}setRangeText(repl,start,end,selectionMode="preserve"){if(!this._idlMemberApplies("setRangeText")){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}if(arguments.length<2){start=this._selectionStart;end=this._selectionEnd}else if(start>end){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}start=Math.min(start,this._getValueLength());end=Math.min(end,this._getValueLength());const val=this.value;let selStart=this._selectionStart;let selEnd=this._selectionEnd;this.value=val.slice(0,start)+repl+val.slice(end);const newEnd=start+this.value.length;if(selectionMode==="select"){this.setSelectionRange(start,newEnd)}else if(selectionMode==="start"){this.setSelectionRange(start,start)}else if(selectionMode==="end"){this.setSelectionRange(newEnd,newEnd)}else{const delta=repl.length-(end-start);if(selStart>end){selStart+=delta}else if(selStart>start){selStart=start}if(selEnd>end){selEnd+=delta}else if(selEnd>start){selEnd=newEnd}this.setSelectionRange(selStart,selEnd)}}get list(){const id=this._getAttributeIfApplies("list");if(!id){return null}const el=this.getRootNode({}).getElementById(id);if(el&&el.localName==="datalist"){return el}return null}set maxLength(value){if(value<0){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}this.setAttributeNS(null,"maxlength",String(value))}get maxLength(){if(!this.hasAttributeNS(null,"maxlength")){return 524288}return parseInt(this.getAttributeNS(null,"maxlength"))}set minLength(value){if(value<0){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}this.setAttributeNS(null,"minlength",String(value))}get minLength(){if(!this.hasAttributeNS(null,"minlength")){return 0}return parseInt(this.getAttributeNS(null,"minlength"))}get size(){if(!this.hasAttributeNS(null,"size")){return 20}return parseInt(this.getAttributeNS(null,"size"))}set size(value){if(value<=0){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}this.setAttributeNS(null,"size",String(value))}get _minimum(){let min=this._defaultMinimum;const attr=this._getAttributeIfApplies("min");if(attr!==null&&this._convertStringToNumber!==undefined){const parsed=this._convertStringToNumber(attr);if(parsed!==null){min=parsed}}return min}get _maximum(){let max=this._defaultMaximum;const attr=this._getAttributeIfApplies("max");if(attr!==null&&this._convertStringToNumber!==undefined){const parsed=this._convertStringToNumber(attr);if(parsed!==null){max=parsed}}return max}get _defaultMinimum(){if(this.type==="range"){return 0}return null}get _defaultMaximum(){if(this.type==="range"){return 100}return null}get _allowedValueStep(){if(!this._contentAttributeApplies("step")){return null}const attr=this.getAttributeNS(null,"step");if(attr===null){return this._defaultStep*this._stepScaleFactor}if(asciiCaseInsensitiveMatch(attr,"any")){return null}const parsedStep=parseFloatingPointNumber(attr);if(parsedStep===null||parsedStep<=0){return this._defaultStep*this._stepScaleFactor}return parsedStep*this._stepScaleFactor}get _stepScaleFactor(){const dayInMilliseconds=24*60*60*1e3;switch(this.type){case"week":return 7*dayInMilliseconds;case"date":return dayInMilliseconds;case"datetime-local":case"datetime":case"time":return 1e3}return 1}get _defaultStep(){if(this.type==="datetime-local"||this.type==="datetime"||this.type==="time"){return 60}return 1}get _stepBase(){if(this._hasAttributeAndApplies("min")){const min=this._convertStringToNumber(this.getAttributeNS(null,"min"));if(min!==null){return min}}if(this.hasAttributeNS(null,"value")){const value=this._convertStringToNumber(this.getAttributeNS(null,"value"));if(value!==null){return value}}if(this._defaultStepBase!==null){return this._defaultStepBase}return 0}get _defaultStepBase(){if(this.type==="week"){return-2592e5}return null}_contentAttributeApplies(attribute){return applicableTypesForContentAttribute[attribute].has(this.type)}_hasAttributeAndApplies(attribute){return this._contentAttributeApplies(attribute)&&this.hasAttributeNS(null,attribute)}_getAttributeIfApplies(attribute){if(this._contentAttributeApplies(attribute)){return this.getAttributeNS(null,attribute)}return null}_idlMemberApplies(member,type=this.type){return applicableTypesForIDLMember[member].has(type)}_barredFromConstraintValidationSpecialization(){const willNotValidateTypes=new Set(["hidden","reset","button"]);const readOnly=this._hasAttributeAndApplies("readonly");return willNotValidateTypes.has(this.type)||readOnly}get _required(){return this._hasAttributeAndApplies("required")}get _hasAPeriodicDomain(){return this.type==="time"}get _hasAReversedRange(){return this._hasAPeriodicDomain&&this._maximum<this._minimum}get validity(){if(!this._validity){const reversedRangeSufferingOverUnderflow=()=>{const parsedValue=this._convertStringToNumber(this._value);return parsedValue!==null&&parsedValue>this._maximum&&parsedValue<this._minimum};const state={valueMissing:()=>{if(this._required&&valueAttributeMode(this.type)==="value"&&this._mutable&&this._value===""){return true}switch(this.type){case"checkbox":if(this._required&&!this._checkedness){return true}break;case"radio":if(this._required&&!this._isRadioGroupChecked()){return true}break;case"file":if(this._required&&this.files.length===0){return true}break}return false},tooLong:()=>false,tooShort:()=>false,rangeOverflow:()=>{if(this._hasAReversedRange){return reversedRangeSufferingOverUnderflow()}if(this._maximum!==null){const parsedValue=this._convertStringToNumber(this._value);if(parsedValue!==null&&parsedValue>this._maximum){return true}}return false},rangeUnderflow:()=>{if(this._hasAReversedRange){return reversedRangeSufferingOverUnderflow()}if(this._minimum!==null){const parsedValue=this._convertStringToNumber(this._value);if(parsedValue!==null&&parsedValue<this._minimum){return true}}return false},patternMismatch:()=>{if(this._value===""||!this._hasAttributeAndApplies("pattern")){return false}let regExp;try{const pattern=this.getAttributeNS(null,"pattern");new RegExp(pattern,"u");regExp=new RegExp("^(?:"+pattern+")$","u")}catch(e){return false}if(this._hasAttributeAndApplies("multiple")){return!splitOnCommas(this._value).every(value=>regExp.test(value))}return!regExp.test(this._value)},stepMismatch:()=>{const allowedValueStep=this._allowedValueStep;if(allowedValueStep===null){return false}const number=this._convertStringToNumber(this._value);return number!==null&&!this._isStepAligned(number)},typeMismatch:()=>{switch(this.type){case"url":if(this._value!==""&&!isValidAbsoluteURL(this._value)){return true}break;case"email":if(this._value!==""&&!isValidEmailAddress(this._getValue(),this.hasAttributeNS(null,"multiple"))){return true}break}return false}};this._validity=ValidityState.createImpl(this._globalObject,[],{element:this,state:state})}return this._validity}[cloningSteps](copy,node){copy._value=node._value;copy._checkedness=node._checkedness;copy._dirtyValue=node._dirtyValue;copy._dirtyCheckedness=node._dirtyCheckedness}}mixin(HTMLInputElementImpl.prototype,DefaultConstraintValidationImpl.prototype);module.exports={implementation:HTMLInputElementImpl}},{"../../utils":766,"../constraint-validation/DefaultConstraintValidation-impl":355,"../generated/FileList":432,"../generated/ValidityState":574,"../generated/utils":584,"../helpers/dates-and-times":589,"../helpers/events":592,"../helpers/form-controls":594,"../helpers/internal-constants":596,"../helpers/number-and-date-inputs":601,"../helpers/strings":606,"./HTMLElement-impl":663,"decimal.js":197,"domexception/webidl2js-wrapper":213}],678:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLLIElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLLIElementImpl}},{"./HTMLElement-impl":663}],679:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const MouseEvent=require("../generated/MouseEvent");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const NODE_TYPE=require("../node-type");const{isLabelable:isLabelable,isDisabled:isDisabled,isInteractiveContent:isInteractiveContent}=require("../helpers/form-controls");const{isInclusiveAncestor:isInclusiveAncestor}=require("../helpers/node");const{fireAnEvent:fireAnEvent}=require("../helpers/events");function sendClickToAssociatedNode(node){fireAnEvent("click",node,MouseEvent,{bubbles:true,cancelable:true,view:node.ownerDocument?node.ownerDocument.defaultView:null,screenX:0,screenY:0,clientX:0,clientY:0,button:0,detail:1,relatedTarget:null})}class HTMLLabelElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._hasActivationBehavior=true}get control(){if(this.hasAttributeNS(null,"for")){const forValue=this.getAttributeNS(null,"for");if(forValue===""){return null}const root=this.getRootNode({});for(const descendant of domSymbolTree.treeIterator(root)){if(descendant.nodeType===NODE_TYPE.ELEMENT_NODE&&descendant.getAttributeNS(null,"id")===forValue){return isLabelable(descendant)?descendant:null}}return null}for(const descendant of domSymbolTree.treeIterator(this)){if(isLabelable(descendant)){return descendant}}return null}get form(){const node=this.control;if(node){return node.form}return null}_activationBehavior(event){if(event.target&&event.target!==this&&isInclusiveAncestor(this,event.target)){for(const ancestor of domSymbolTree.ancestorsIterator(event.target)){if(ancestor===this){break}if(isInteractiveContent(ancestor)){return}}}const node=this.control;if(node&&!isDisabled(node)){if(event.target&&isInclusiveAncestor(node,event.target)){return}sendClickToAssociatedNode(node)}}}module.exports={implementation:HTMLLabelElementImpl}},{"../generated/MouseEvent":525,"../helpers/events":592,"../helpers/form-controls":594,"../helpers/internal-constants":596,"../helpers/node":600,"../node-type":631,"./HTMLElement-impl":663}],680:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{formOwner:formOwner}=require("../helpers/form-controls");class HTMLLegendElementImpl extends HTMLElementImpl{get form(){return formOwner(this)}}module.exports={implementation:HTMLLegendElementImpl}},{"../helpers/form-controls":594,"./HTMLElement-impl":663}],681:[function(require,module,exports){"use strict";const DOMTokenList=require("../generated/DOMTokenList");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const idlUtils=require("../generated/utils");const{fetchStylesheet:fetchStylesheet}=require("../helpers/stylesheets");const{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=require("../helpers/document-base-url");const whatwgURL=require("whatwg-url");class HTMLLinkElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this.sheet=null}get relList(){if(this._relList===undefined){this._relList=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"rel",supportedTokens:new Set(["stylesheet"])})}return this._relList}_attach(){super._attach();maybeFetchAndProcess(this)}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue);if(name==="href"){maybeFetchAndProcess(this)}if(name==="rel"&&this._relList!==undefined){this._relList.attrModified()}}get _accept(){return"text/css,*/*;q=0.1"}}module.exports={implementation:HTMLLinkElementImpl};function maybeFetchAndProcess(el){if(!isExternalResourceLink(el)){return}if(!el.isConnected||!el._ownerDocument._defaultView){return}fetchAndProcess(el)}function fetchAndProcess(el){const href=el.getAttributeNS(null,"href");if(href===null||href===""){return}const url=parseURLToResultingURLRecord(href,el._ownerDocument);if(url===null){return}const serialized=whatwgURL.serializeURL(url);fetchStylesheet(el,serialized)}function isExternalResourceLink(el){const wrapper=idlUtils.wrapperForImpl(el);if(!/(?:[ \t\n\r\f]|^)stylesheet(?:[ \t\n\r\f]|$)/i.test(wrapper.rel)){return false}return el.hasAttributeNS(null,"href")}},{"../generated/DOMTokenList":414,"../generated/utils":584,"../helpers/document-base-url":591,"../helpers/stylesheets":608,"./HTMLElement-impl":663,"whatwg-url":1024}],682:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLMapElementImpl extends HTMLElementImpl{get areas(){return this.getElementsByTagName("AREA")}}module.exports={implementation:HTMLMapElementImpl}},{"./HTMLElement-impl":663}],683:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLMarqueeElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLMarqueeElementImpl}},{"./HTMLElement-impl":663}],684:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const notImplemented=require("../../browser/not-implemented");const{fireAnEvent:fireAnEvent}=require("../helpers/events");function getTimeRangeDummy(){return{length:0,start(){return 0},end(){return 0}}}class HTMLMediaElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._muted=false;this._volume=1;this.readyState=0;this.networkState=0;this.currentTime=0;this.currentSrc="";this.buffered=getTimeRangeDummy();this.seeking=false;this.duration=NaN;this.paused=true;this.played=getTimeRangeDummy();this.seekable=getTimeRangeDummy();this.ended=false;this.audioTracks=[];this.videoTracks=[];this.textTracks=[]}set defaultPlaybackRate(v){if(v===0){throw DOMException.create(this._globalObject,["The operation is not supported.","NotSupportedError"])}if(this._defaultPlaybackRate!==v){this._defaultPlaybackRate=v;this._dispatchRateChange()}}_dispatchRateChange(){fireAnEvent("ratechange",this)}get defaultPlaybackRate(){if(this._defaultPlaybackRate===undefined){return 1}return this._defaultPlaybackRate}get playbackRate(){if(this._playbackRate===undefined){return 1}return this._playbackRate}set playbackRate(v){if(v!==this._playbackRate){this._playbackRate=v;this._dispatchRateChange()}}get muted(){return this._muted}_dispatchVolumeChange(){fireAnEvent("volumechange",this)}set muted(v){if(v!==this._muted){this._muted=v;this._dispatchVolumeChange()}}get defaultMuted(){return this.getAttributeNS(null,"muted")!==null}set defaultMuted(v){if(v){this.setAttributeNS(null,"muted",v)}else{this.removeAttributeNS(null,"muted")}}get volume(){return this._volume}set volume(v){if(v<0||v>1){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}if(this._volume!==v){this._volume=v;this._dispatchVolumeChange()}}load(){notImplemented("HTMLMediaElement.prototype.load",this._ownerDocument._defaultView)}canPlayType(){return""}play(){notImplemented("HTMLMediaElement.prototype.play",this._ownerDocument._defaultView)}pause(){notImplemented("HTMLMediaElement.prototype.pause",this._ownerDocument._defaultView)}addTextTrack(){notImplemented("HTMLMediaElement.prototype.addTextTrack",this._ownerDocument._defaultView)}}module.exports={implementation:HTMLMediaElementImpl}},{"../../browser/not-implemented":338,"../helpers/events":592,"./HTMLElement-impl":663,"domexception/webidl2js-wrapper":213}],685:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLMenuElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLMenuElementImpl}},{"./HTMLElement-impl":663}],686:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLMetaElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLMetaElementImpl}},{"./HTMLElement-impl":663}],687:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{parseFloatingPointNumber:parseFloatingPointNumber}=require("../helpers/strings");const{getLabelsForLabelable:getLabelsForLabelable}=require("../helpers/form-controls");class HTMLMeterElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._labels=null}get _minimumValue(){const min=this.getAttributeNS(null,"min");if(min!==null){const parsed=parseFloatingPointNumber(min);if(parsed!==null){return parsed}}return 0}get _maximumValue(){let candidate=1;const max=this.getAttributeNS(null,"max");if(max!==null){const parsed=parseFloatingPointNumber(max);if(parsed!==null){candidate=parsed}}const minimumValue=this._minimumValue;return candidate>=minimumValue?candidate:minimumValue}get _actualValue(){let candidate=0;const value=this.getAttributeNS(null,"value");if(value!==null){const parsed=parseFloatingPointNumber(value);if(parsed!==null){candidate=parsed}}const minimumValue=this._minimumValue;if(candidate<minimumValue){return minimumValue}const maximumValue=this._maximumValue;return candidate>maximumValue?maximumValue:candidate}get _lowBoundary(){const minimumValue=this._minimumValue;let candidate=minimumValue;const low=this.getAttributeNS(null,"low");if(low!==null){const parsed=parseFloatingPointNumber(low);if(parsed!==null){candidate=parsed}}if(candidate<minimumValue){return minimumValue}const maximumValue=this._maximumValue;return candidate>maximumValue?maximumValue:candidate}get _highBoundary(){const maximumValue=this._maximumValue;let candidate=maximumValue;const high=this.getAttributeNS(null,"high");if(high!==null){const parsed=parseFloatingPointNumber(high);if(parsed!==null){candidate=parsed}}const lowBoundary=this._lowBoundary;if(candidate<lowBoundary){return lowBoundary}return candidate>maximumValue?maximumValue:candidate}get _optimumPoint(){const minimumValue=this._minimumValue;const maximumValue=this._maximumValue;let candidate=(minimumValue+maximumValue)/2;const optimum=this.getAttributeNS(null,"optimum");if(optimum!==null){const parsed=parseFloatingPointNumber(optimum);if(parsed!==null){candidate=parsed}}if(candidate<minimumValue){return minimumValue}return candidate>maximumValue?maximumValue:candidate}get labels(){return getLabelsForLabelable(this)}get value(){return this._actualValue}set value(val){this.setAttributeNS(null,"value",String(val))}get min(){return this._minimumValue}set min(val){this.setAttributeNS(null,"min",String(val))}get max(){return this._maximumValue}set max(val){this.setAttributeNS(null,"max",String(val))}get low(){return this._lowBoundary}set low(val){this.setAttributeNS(null,"low",String(val))}get high(){return this._highBoundary}set high(val){this.setAttributeNS(null,"high",String(val))}get optimum(){return this._optimumPoint}set optimum(val){this.setAttributeNS(null,"optimum",String(val))}}module.exports={implementation:HTMLMeterElementImpl}},{"../helpers/form-controls":594,"../helpers/strings":606,"./HTMLElement-impl":663}],688:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLModElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLModElementImpl}},{"./HTMLElement-impl":663}],689:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLOListElementImpl extends HTMLElementImpl{get start(){const value=parseInt(this.getAttributeNS(null,"start"));if(!isNaN(value)){return value}return 1}set start(value){this.setAttributeNS(null,"start",value)}}module.exports={implementation:HTMLOListElementImpl}},{"./HTMLElement-impl":663}],690:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const DefaultConstraintValidationImpl=require("../constraint-validation/DefaultConstraintValidation-impl").implementation;const{mixin:mixin}=require("../../utils");const{formOwner:formOwner}=require("../helpers/form-controls");class HTMLObjectElementImpl extends HTMLElementImpl{get form(){return formOwner(this)}get contentDocument(){return null}_barredFromConstraintValidationSpecialization(){return true}}mixin(HTMLObjectElementImpl.prototype,DefaultConstraintValidationImpl.prototype);module.exports={implementation:HTMLObjectElementImpl}},{"../../utils":766,"../constraint-validation/DefaultConstraintValidation-impl":355,"../helpers/form-controls":594,"./HTMLElement-impl":663}],691:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLOptGroupElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLOptGroupElementImpl}},{"./HTMLElement-impl":663}],692:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{stripAndCollapseASCIIWhitespace:stripAndCollapseASCIIWhitespace}=require("../helpers/strings");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{closest:closest}=require("../helpers/traversal");const{formOwner:formOwner}=require("../helpers/form-controls");class HTMLOptionElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._selectedness=false;this._dirtyness=false}_removeOtherSelectedness(){const select=this._selectNode;if(select&&!select.hasAttributeNS(null,"multiple")){for(const option of select.options){if(option!==this){option._selectedness=false}}}}_askForAReset(){const select=this._selectNode;if(select){select._askedForAReset()}}_attrModified(name){if(!this._dirtyness&&name==="selected"){this._selectedness=this.hasAttributeNS(null,"selected");if(this._selectedness){this._removeOtherSelectedness()}this._askForAReset()}super._attrModified.apply(this,arguments)}get _selectNode(){let select=domSymbolTree.parent(this);if(!select){return null}if(select.nodeName.toUpperCase()!=="SELECT"){select=domSymbolTree.parent(select);if(!select||select.nodeName.toUpperCase()!=="SELECT"){return null}}return select}get form(){return formOwner(this)}get text(){return stripAndCollapseASCIIWhitespace(this.textContent)}set text(value){this.textContent=value}_getValue(){if(this.hasAttributeNS(null,"value")){return this.getAttributeNS(null,"value")}return this.text}get value(){return this._getValue()}set value(value){this.setAttributeNS(null,"value",value)}get index(){const select=closest(this,"select");if(select===null){return 0}return select.options.indexOf(this)}get selected(){return this._selectedness}set selected(s){this._dirtyness=true;this._selectedness=Boolean(s);if(this._selectedness){this._removeOtherSelectedness()}this._askForAReset();this._modified()}get label(){if(this.hasAttributeNS(null,"label")){return this.getAttributeNS(null,"label")}return this.text}set label(value){this.setAttributeNS(null,"label",value)}}module.exports={implementation:HTMLOptionElementImpl}},{"../helpers/form-controls":594,"../helpers/internal-constants":596,"../helpers/strings":606,"../helpers/traversal":611,"./HTMLElement-impl":663}],693:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils.js");const DOMException=require("domexception/webidl2js-wrapper");const{DOCUMENT_POSITION_CONTAINS:DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_CONTAINED_BY:DOCUMENT_POSITION_CONTAINED_BY}=require("../node-document-position");const Element=require("../generated/Element");const Node=require("../generated/Node");const HTMLCollectionImpl=require("./HTMLCollection-impl").implementation;exports.implementation=class HTMLOptionsCollectionImpl extends HTMLCollectionImpl{get length(){this._update();return this._list.length}set length(value){this._update();if(value>this._list.length){const doc=this._element._ownerDocument;for(let i=this._list.length;i<value;i++){const el=doc.createElement("option");this._element.appendChild(el)}}else if(value<this._list.length){for(let i=this._list.length-1;i>=value;i--){const el=this._list[i];this._element.removeChild(el)}}}get[idlUtils.supportedPropertyNames](){this._update();const result=new Set;for(const element of this._list){result.add(element.getAttributeNS(null,"id"));result.add(element.getAttributeNS(null,"name"))}return result}[idlUtils.indexedSetNew](index,value){if(value===null){this.remove(index);return}this._update();const{length:length}=this._list;const n=index-length;if(n>0){const doc=this._element._ownerDocument;const frag=doc.createDocumentFragment();for(let i=0;i<n;i++){const el=doc.createElement("option");frag.appendChild(el)}this._element._append(frag)}if(n>=0){this._element._append(value)}else{this._element._replace(value,this._list[index])}}[idlUtils.indexedSetExisting](index,value){return this[idlUtils.indexedSetNew](index,value)}add(element,before){if(this._element.compareDocumentPosition(element)&DOCUMENT_POSITION_CONTAINS){throw DOMException.create(this._globalObject,["The operation would yield an incorrect node tree.","HierarchyRequestError"])}if(Element.isImpl(before)&&!(this._element.compareDocumentPosition(before)&DOCUMENT_POSITION_CONTAINED_BY)){throw DOMException.create(this._globalObject,["The object can not be found here.","NotFoundError"])}if(element===before){return}let reference=null;if(Node.isImpl(before)){reference=before}else if(typeof before==="number"){this._update();reference=this._list[before]||null}const parent=reference!==null?reference.parentNode:this._element;parent._preInsert(element,reference)}remove(index){this._update();if(this._list.length===0){return}if(index<0||index>=this._list.length){return}const element=this._list[index];element.parentNode._remove(element)}get selectedIndex(){return this._element.selectedIndex}set selectedIndex(value){this._element.selectedIndex=value}}},{"../generated/Element":418,"../generated/Node":532,"../generated/utils.js":584,"../node-document-position":630,"./HTMLCollection-impl":655,"domexception/webidl2js-wrapper":213}],694:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const{isSummaryForParentDetails:isSummaryForParentDetails}=require("../helpers/details");const focusing=require("../helpers/focusing");const{HTML_NS:HTML_NS,SVG_NS:SVG_NS}=require("../helpers/namespaces");const DOMStringMap=require("../generated/DOMStringMap");const tabIndexReflectAllowedHTMLElements=new Set(["a","area","button","frame","iframe","input","object","select","textarea"]);class HTMLOrSVGElementImpl{_initHTMLOrSVGElement(){this._tabIndex=0;this._dataset=DOMStringMap.createImpl(this._globalObject,[],{element:this})}get dataset(){return this._dataset}get tabIndex(){if(!this.hasAttributeNS(null,"tabindex")){if(this.namespaceURI===HTML_NS&&(tabIndexReflectAllowedHTMLElements.has(this._localName)||this._localName==="summary"&&isSummaryForParentDetails(this))||this.namespaceURI===SVG_NS&&this._localName==="a"){return 0}return-1}return conversions.long(this.getAttributeNS(null,"tabindex"))}set tabIndex(value){this.setAttributeNS(null,"tabindex",String(value))}focus(){if(!focusing.isFocusableAreaElement(this)){return}const ownerDocument=this._ownerDocument;const previous=ownerDocument._lastFocusedElement;if(previous===this){return}ownerDocument._lastFocusedElement=null;if(previous){focusing.fireFocusEventWithTargetAdjustment("blur",previous,this);focusing.fireFocusEventWithTargetAdjustment("focusout",previous,this,{bubbles:true})}else{const frameElement=ownerDocument._defaultView._frameElement;if(frameElement){const frameLastFocusedElement=frameElement.ownerDocument._lastFocusedElement;frameElement.ownerDocument._lastFocusedElement=null;focusing.fireFocusEventWithTargetAdjustment("blur",frameLastFocusedElement,null);focusing.fireFocusEventWithTargetAdjustment("focusout",frameLastFocusedElement,null,{bubbles:true});frameElement.ownerDocument._lastFocusedElement=frameElement}}ownerDocument._lastFocusedElement=this;focusing.fireFocusEventWithTargetAdjustment("focus",this,previous);focusing.fireFocusEventWithTargetAdjustment("focusin",this,previous,{bubbles:true})}blur(){if(this._ownerDocument._lastFocusedElement!==this||!focusing.isFocusableAreaElement(this)){return}this._ownerDocument._lastFocusedElement=null;focusing.fireFocusEventWithTargetAdjustment("blur",this,this._ownerDocument);focusing.fireFocusEventWithTargetAdjustment("focusout",this,this._ownerDocument,{bubbles:true});focusing.fireFocusEventWithTargetAdjustment("focus",this._ownerDocument,this);focusing.fireFocusEventWithTargetAdjustment("focusin",this._ownerDocument,this,{bubbles:true})}}exports.implementation=HTMLOrSVGElementImpl},{"../generated/DOMStringMap":413,"../helpers/details":590,"../helpers/focusing":593,"../helpers/namespaces":599,"webidl-conversions":776}],695:[function(require,module,exports){"use strict";const DOMTokenList=require("../generated/DOMTokenList");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const DefaultConstraintValidationImpl=require("../constraint-validation/DefaultConstraintValidation-impl").implementation;const{mixin:mixin}=require("../../utils");const{getLabelsForLabelable:getLabelsForLabelable,formOwner:formOwner}=require("../helpers/form-controls");class HTMLOutputElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._labels=null;this._defaultValue="";this._valueMode="default";this._customValidityErrorMessage=""}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue);if(name==="for"&&this._htmlFor!==undefined){this._htmlFor.attrModified()}}_barredFromConstraintValidationSpecialization(){return true}_formReset(){if(this._valueMode==="value"){this.textContent=this._defaultValue}this._defaultValue="";this._valueMode="default"}get htmlFor(){if(this._htmlFor===undefined){this._htmlFor=DOMTokenList.createImpl(this._globalObject,[],{element:this,attributeLocalName:"for"})}return this._htmlFor}get type(){return"output"}get labels(){return getLabelsForLabelable(this)}get form(){return formOwner(this)}get value(){return this.textContent}set value(val){this._valueMode="value";this._defaultValue=this.textContent;this.textContent=val}get defaultValue(){return this._valueMode==="default"?this.textContent:this._defaultValue}set defaultValue(val){this._defaultValue=val;if(this._valueMode==="default"){this.textContent=val}}}mixin(HTMLOutputElementImpl.prototype,DefaultConstraintValidationImpl.prototype);module.exports={implementation:HTMLOutputElementImpl}},{"../../utils":766,"../constraint-validation/DefaultConstraintValidation-impl":355,"../generated/DOMTokenList":414,"../helpers/form-controls":594,"./HTMLElement-impl":663}],696:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLParagraphElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLParagraphElementImpl}},{"./HTMLElement-impl":663}],697:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLParamElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLParamElementImpl}},{"./HTMLElement-impl":663}],698:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLPictureElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLPictureElementImpl}},{"./HTMLElement-impl":663}],699:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLPreElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLPreElementImpl}},{"./HTMLElement-impl":663}],700:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{getLabelsForLabelable:getLabelsForLabelable}=require("../helpers/form-controls");const{parseFloatingPointNumber:parseFloatingPointNumber}=require("../helpers/strings");class HTMLProgressElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._labels=null}get _isDeterminate(){return this.hasAttributeNS(null,"value")}get _value(){const valueAttr=this.getAttributeNS(null,"value");const parsedValue=parseFloatingPointNumber(valueAttr);if(parsedValue!==null&&parsedValue>0){return parsedValue}return 0}get _currentValue(){const value=this._value;return value>this.max?this.max:value}get value(){if(this._isDeterminate){return this._currentValue}return 0}set value(value){this.setAttributeNS(null,"value",value)}get max(){const max=this.getAttributeNS(null,"max");if(max!==null){const parsedMax=parseFloatingPointNumber(max);if(parsedMax!==null&&parsedMax>0){return parsedMax}}return 1}set max(value){if(value>0){this.setAttributeNS(null,"max",value)}}get position(){if(!this._isDeterminate){return-1}return this._currentValue/this.max}get labels(){return getLabelsForLabelable(this)}}module.exports={implementation:HTMLProgressElementImpl}},{"../helpers/form-controls":594,"../helpers/strings":606,"./HTMLElement-impl":663}],701:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLQuoteElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLQuoteElementImpl}},{"./HTMLElement-impl":663}],702:[function(require,module,exports){"use strict";const vm=require("vm");const whatwgEncoding=require("whatwg-encoding");const MIMEType=require("whatwg-mimetype");const{serializeURL:serializeURL}=require("whatwg-url");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const reportException=require("../helpers/runtime-script-errors");const{domSymbolTree:domSymbolTree,cloningSteps:cloningSteps}=require("../helpers/internal-constants");const{asciiLowercase:asciiLowercase}=require("../helpers/strings");const{childTextContent:childTextContent}=require("../helpers/text");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const{parseURLToResultingURLRecord:parseURLToResultingURLRecord}=require("../helpers/document-base-url");const nodeTypes=require("../node-type");const jsMIMETypes=new Set(["application/ecmascript","application/javascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript"]);class HTMLScriptElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._alreadyStarted=false;this._parserInserted=false}_attach(){super._attach();if(!this._parserInserted||this._isMovingDueToDocumentWrite){this._eval()}}_canRunScript(){const document=this._ownerDocument;if(!document._defaultView||document._defaultView._runScripts!=="dangerously"||document._scriptingDisabled){return false}return true}_fetchExternalScript(){const document=this._ownerDocument;const resourceLoader=document._resourceLoader;const defaultEncoding=whatwgEncoding.labelToName(this.getAttributeNS(null,"charset"))||document._encoding;let request;if(!this._canRunScript()){return}const src=this.getAttributeNS(null,"src");const url=parseURLToResultingURLRecord(src,this._ownerDocument);if(url===null){return}const urlString=serializeURL(url);const onLoadExternalScript=data=>{const{response:response}=request;let contentType;if(response&&response.statusCode!==undefined&&response.statusCode>=400){throw new Error("Status code: "+response.statusCode)}if(response){contentType=MIMEType.parse(response.headers["content-type"])||new MIMEType("text/plain")}const encoding=whatwgEncoding.getBOMEncoding(data)||contentType&&whatwgEncoding.labelToName(contentType.parameters.get("charset"))||defaultEncoding;const script=whatwgEncoding.decode(data,encoding);this._innerEval(script,urlString)};request=resourceLoader.fetch(urlString,{element:this,onLoad:onLoadExternalScript})}_fetchInternalScript(){const document=this._ownerDocument;if(!this._canRunScript()){return}document._queue.push(null,()=>{this._innerEval(this.text,document.URL);fireAnEvent("load",this)},null,false,this)}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue);if(this._attached&&!this._startedEval&&name==="src"&&oldValue===null&&value!==null){this._fetchExternalScript()}}_poppedOffStackOfOpenElements(){this._eval()}_eval(){if(this._alreadyStarted){return}if(!this.hasAttributeNS(null,"src")&&this.text.length===0){return}if(!this._attached){return}const scriptBlocksTypeString=this._getTypeString();const type=getType(scriptBlocksTypeString);if(type!=="classic"){return}this._alreadyStarted=true;if(this.hasAttributeNS(null,"src")){this._fetchExternalScript()}else{this._fetchInternalScript()}}_innerEval(text,filename){this._ownerDocument._writeAfterElement=this;processJavaScript(this,text,filename);delete this._ownerDocument._writeAfterElement}_getTypeString(){const typeAttr=this.getAttributeNS(null,"type");const langAttr=this.getAttributeNS(null,"language");if(typeAttr===""){return"text/javascript"}if(typeAttr===null&&langAttr===""){return"text/javascript"}if(typeAttr===null&&langAttr===null){return"text/javascript"}if(typeAttr!==null){return typeAttr.trim()}if(langAttr!==null){return"text/"+langAttr}return null}get text(){return childTextContent(this)}set text(text){this.textContent=text}[cloningSteps](copy,node){copy._alreadyStarted=node._alreadyStarted}}function processJavaScript(element,code,filename){const document=element.ownerDocument;const window=document&&document._global;if(window){document._currentScript=element;let lineOffset=0;if(!element.hasAttributeNS(null,"src")){for(const child of domSymbolTree.childrenIterator(element)){if(child.nodeType===nodeTypes.TEXT_NODE){if(child.sourceCodeLocation){lineOffset=child.sourceCodeLocation.startLine-1}break}}}try{vm.runInContext(code,window,{filename:filename,lineOffset:lineOffset,displayErrors:false})}catch(e){reportException(window,e,filename)}finally{document._currentScript=null}}}function getType(typeString){const lowercased=asciiLowercase(typeString);if(jsMIMETypes.has(lowercased)){return"classic"}if(lowercased==="module"){return"module"}return null}module.exports={implementation:HTMLScriptElementImpl}},{"../helpers/document-base-url":591,"../helpers/events":592,"../helpers/internal-constants":596,"../helpers/runtime-script-errors":603,"../helpers/strings":606,"../helpers/text":610,"../node-type":631,"./HTMLElement-impl":663,vm:768,"whatwg-encoding":1019,"whatwg-mimetype":1020,"whatwg-url":1024}],703:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const idlUtils=require("../generated/utils.js");const ValidityState=require("../generated/ValidityState");const DefaultConstraintValidationImpl=require("../constraint-validation/DefaultConstraintValidation-impl").implementation;const{mixin:mixin}=require("../../utils");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const NODE_TYPE=require("../node-type");const HTMLCollection=require("../generated/HTMLCollection");const HTMLOptionsCollection=require("../generated/HTMLOptionsCollection");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{getLabelsForLabelable:getLabelsForLabelable,formOwner:formOwner,isDisabled:isDisabled}=require("../helpers/form-controls");const{parseNonNegativeInteger:parseNonNegativeInteger}=require("../helpers/strings");class HTMLSelectElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._options=HTMLOptionsCollection.createImpl(this._globalObject,[],{element:this,query:()=>{const array=[];for(const child of domSymbolTree.childrenIterator(this)){if(child._localName==="option"){array.push(child)}else if(child._localName==="optgroup"){for(const childOfGroup of domSymbolTree.childrenIterator(child)){if(childOfGroup._localName==="option"){array.push(childOfGroup)}}}}return array}});this._selectedOptions=null;this._customValidityErrorMessage="";this._labels=null}_formReset(){for(const option of this.options){option._selectedness=option.hasAttributeNS(null,"selected");option._dirtyness=false}this._askedForAReset()}_askedForAReset(){if(this.hasAttributeNS(null,"multiple")){return}const selected=this.options.filter(opt=>opt._selectedness);const size=this._displaySize;if(size===1&&!selected.length){for(const option of this.options){let disabled=option.hasAttributeNS(null,"disabled");const parentNode=domSymbolTree.parent(option);if(parentNode&&parentNode.nodeName.toUpperCase()==="OPTGROUP"&&parentNode.hasAttributeNS(null,"disabled")){disabled=true}if(!disabled){option._selectedness=true;break}}}else if(selected.length>=2){selected.forEach((option,index)=>{option._selectedness=index===selected.length-1})}}_descendantAdded(parent,child){if(child.nodeType===NODE_TYPE.ELEMENT_NODE){this._askedForAReset()}super._descendantAdded.apply(this,arguments)}_descendantRemoved(parent,child){if(child.nodeType===NODE_TYPE.ELEMENT_NODE){this._askedForAReset()}super._descendantRemoved.apply(this,arguments)}_attrModified(name){if(name==="multiple"||name==="size"){this._askedForAReset()}super._attrModified.apply(this,arguments)}get _displaySize(){if(this.hasAttributeNS(null,"size")){const size=parseNonNegativeInteger(this.getAttributeNS(null,"size"));if(size!==null){return size}}return this.hasAttributeNS(null,"multiple")?4:1}get _mutable(){return!isDisabled(this)}get options(){return this._options}get selectedOptions(){return HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.treeToArray(this,{filter:node=>node._localName==="option"&&node._selectedness===true})})}get selectedIndex(){for(let i=0;i<this.options.length;i++){if(this.options.item(i)._selectedness){return i}}return-1}set selectedIndex(index){for(let i=0;i<this.options.length;i++){this.options.item(i)._selectedness=false}const selectedOption=this.options.item(index);if(selectedOption){selectedOption._selectedness=true;selectedOption._dirtyness=true}}get labels(){return getLabelsForLabelable(this)}get value(){for(const option of this.options){if(option._selectedness){return option.value}}return""}set value(val){for(const option of this.options){if(option.value===val){option._selectedness=true;option._dirtyness=true}else{option._selectedness=false}option._modified()}}get form(){return formOwner(this)}get type(){return this.hasAttributeNS(null,"multiple")?"select-multiple":"select-one"}get[idlUtils.supportedPropertyIndices](){return this.options[idlUtils.supportedPropertyIndices]}get length(){return this.options.length}set length(value){this.options.length=value}item(index){return this.options.item(index)}namedItem(name){return this.options.namedItem(name)}[idlUtils.indexedSetNew](index,value){return this.options[idlUtils.indexedSetNew](index,value)}[idlUtils.indexedSetExisting](index,value){return this.options[idlUtils.indexedSetExisting](index,value)}add(opt,before){this.options.add(opt,before)}remove(index){if(arguments.length>0){index=conversions.long(index,{context:"Failed to execute 'remove' on 'HTMLSelectElement': parameter 1"});this.options.remove(index)}else{super.remove()}}_barredFromConstraintValidationSpecialization(){return this.hasAttributeNS(null,"readonly")}get validity(){if(!this._validity){const state={valueMissing:()=>{if(!this.hasAttributeNS(null,"required")){return false}const selectedOptionIndex=this.selectedIndex;return selectedOptionIndex<0||selectedOptionIndex===0&&this._hasPlaceholderOption}};this._validity=ValidityState.createImpl(this._globalObject,[],{element:this,state:state})}return this._validity}get _hasPlaceholderOption(){return this.hasAttributeNS(null,"required")&&!this.hasAttributeNS(null,"multiple")&&this._displaySize===1&&this.options.length>0&&this.options.item(0).value===""&&this.options.item(0).parentNode._localName!=="optgroup"}}mixin(HTMLSelectElementImpl.prototype,DefaultConstraintValidationImpl.prototype);module.exports={implementation:HTMLSelectElementImpl}},{"../../utils":766,"../constraint-validation/DefaultConstraintValidation-impl":355,"../generated/HTMLCollection":447,"../generated/HTMLOptionsCollection":484,"../generated/ValidityState":574,"../generated/utils.js":584,"../helpers/form-controls":594,"../helpers/internal-constants":596,"../helpers/strings":606,"../node-type":631,"./HTMLElement-impl":663,"webidl-conversions":776}],704:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils");const HTMLElement=require("../generated/HTMLElement");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{nodeRoot:nodeRoot}=require("../helpers/node");const{assignSlotableForTree:assignSlotableForTree,findFlattenedSlotables:findFlattenedSlotables}=require("../helpers/shadow-dom");class HTMLSlotElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._assignedNodes=[]}get name(){return this.getAttributeNS(null,"name")||""}_attrModified(name,value,oldValue){super._attrModified(name,value,oldValue);if(name==="name"){if(value===oldValue){return}if(value===null&&oldValue===""){return}if(value===""&&oldValue===null){return}assignSlotableForTree(nodeRoot(this))}}assignedNodes(options){if(!options||!options.flatten){return this._assignedNodes.map(idlUtils.wrapperForImpl)}return findFlattenedSlotables(this).map(idlUtils.wrapperForImpl)}assignedElements(options){return this.assignedNodes(options).filter(HTMLElement.is)}}module.exports={implementation:HTMLSlotElementImpl}},{"../generated/HTMLElement":455,"../generated/utils":584,"../helpers/node":600,"../helpers/shadow-dom":605,"./HTMLElement-impl":663}],705:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLSourceElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLSourceElementImpl}},{"./HTMLElement-impl":663}],706:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLSpanElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLSpanElementImpl}},{"./HTMLElement-impl":663}],707:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{removeStylesheet:removeStylesheet,createStylesheet:createStylesheet}=require("../helpers/stylesheets");const{documentBaseURL:documentBaseURL}=require("../helpers/document-base-url");const{childTextContent:childTextContent}=require("../helpers/text");const{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch}=require("../helpers/strings");class HTMLStyleElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this.sheet=null;this._isOnStackOfOpenElements=false}_attach(){super._attach();if(!this._isOnStackOfOpenElements){this._updateAStyleBlock()}}_detach(){super._detach();if(!this._isOnStackOfOpenElements){this._updateAStyleBlock()}}_childTextContentChangeSteps(){super._childTextContentChangeSteps();if(!this._isOnStackOfOpenElements){this._updateAStyleBlock()}}_poppedOffStackOfOpenElements(){this._isOnStackOfOpenElements=false;this._updateAStyleBlock()}_pushedOnStackOfOpenElements(){this._isOnStackOfOpenElements=true}_updateAStyleBlock(){if(this.sheet){removeStylesheet(this.sheet,this)}if(!this.isConnected||!this._ownerDocument._defaultView){return}const type=this.getAttributeNS(null,"type");if(type!==null&&type!==""&&!asciiCaseInsensitiveMatch(type,"text/css")){return}const content=childTextContent(this);createStylesheet(content,this,documentBaseURL(this._ownerDocument))}}module.exports={implementation:HTMLStyleElementImpl}},{"../helpers/document-base-url":591,"../helpers/strings":606,"../helpers/stylesheets":608,"../helpers/text":610,"./HTMLElement-impl":663}],708:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLTableCaptionElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLTableCaptionElementImpl}},{"./HTMLElement-impl":663}],709:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{asciiLowercase:asciiLowercase,parseNonNegativeInteger:parseNonNegativeInteger}=require("../helpers/strings");const{closest:closest}=require("../helpers/traversal");function reflectedAttributeClampedToRange(attrValue,min,max,defaultValue=0){if(attrValue===null){return defaultValue}const parsed=parseNonNegativeInteger(attrValue);if(parsed===null){return defaultValue}if(parsed<min){return min}if(parsed>max){return max}return parsed}class HTMLTableCellElementImpl extends HTMLElementImpl{get colSpan(){return reflectedAttributeClampedToRange(this.getAttributeNS(null,"colspan"),1,1e3,1)}set colSpan(V){this.setAttributeNS(null,"colspan",String(V))}get rowSpan(){return reflectedAttributeClampedToRange(this.getAttributeNS(null,"rowspan"),0,65534,1)}set rowSpan(V){this.setAttributeNS(null,"rowspan",String(V))}get cellIndex(){const tr=closest(this,"tr");if(tr===null){return-1}return tr.cells.indexOf(this)}get scope(){let value=this.getAttributeNS(null,"scope");if(value===null){return""}value=asciiLowercase(value);if(value==="row"||value==="col"||value==="rowgroup"||value==="colgroup"){return value}return""}set scope(V){this.setAttributeNS(null,"scope",V)}}module.exports={implementation:HTMLTableCellElementImpl}},{"../helpers/strings":606,"../helpers/traversal":611,"./HTMLElement-impl":663}],710:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLTableColElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLTableColElementImpl}},{"./HTMLElement-impl":663}],711:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{HTML_NS:HTML_NS}=require("../helpers/namespaces");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{firstChildWithLocalName:firstChildWithLocalName,childrenByLocalName:childrenByLocalName}=require("../helpers/traversal");const HTMLCollection=require("../generated/HTMLCollection");const NODE_TYPE=require("../node-type");function tHeadInsertionPoint(table){const iterator=domSymbolTree.childrenIterator(table);for(const child of iterator){if(child.nodeType!==NODE_TYPE.ELEMENT_NODE){continue}if(child._namespaceURI!==HTML_NS||child._localName!=="caption"&&child._localName!=="colgroup"){return child}}return null}class HTMLTableElementImpl extends HTMLElementImpl{get caption(){return firstChildWithLocalName(this,"caption")}set caption(value){const currentCaption=this.caption;if(currentCaption!==null){this.removeChild(currentCaption)}if(value!==null){const insertionPoint=this.firstChild;this.insertBefore(value,insertionPoint)}return value}get tHead(){return firstChildWithLocalName(this,"thead")}set tHead(value){if(value!==null&&value._localName!=="thead"){throw DOMException.create(this._globalObject,["Cannot set a non-thead element as a table header","HierarchyRequestError"])}const currentHead=this.tHead;if(currentHead!==null){this.removeChild(currentHead)}if(value!==null){const insertionPoint=tHeadInsertionPoint(this);this.insertBefore(value,insertionPoint)}}get tFoot(){return firstChildWithLocalName(this,"tfoot")}set tFoot(value){if(value!==null&&value._localName!=="tfoot"){throw DOMException.create(this._globalObject,["Cannot set a non-tfoot element as a table footer","HierarchyRequestError"])}const currentFoot=this.tFoot;if(currentFoot!==null){this.removeChild(currentFoot)}if(value!==null){this.appendChild(value)}}get rows(){if(!this._rows){this._rows=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>{const headerRows=[];const bodyRows=[];const footerRows=[];const iterator=domSymbolTree.childrenIterator(this);for(const child of iterator){if(child.nodeType!==NODE_TYPE.ELEMENT_NODE||child._namespaceURI!==HTML_NS){continue}if(child._localName==="thead"){headerRows.push(...childrenByLocalName(child,"tr"))}else if(child._localName==="tbody"){bodyRows.push(...childrenByLocalName(child,"tr"))}else if(child._localName==="tfoot"){footerRows.push(...childrenByLocalName(child,"tr"))}else if(child._localName==="tr"){bodyRows.push(child)}}return[...headerRows,...bodyRows,...footerRows]}})}return this._rows}get tBodies(){if(!this._tBodies){this._tBodies=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>childrenByLocalName(this,"tbody")})}return this._tBodies}createTBody(){const el=this._ownerDocument.createElement("TBODY");const tbodies=childrenByLocalName(this,"tbody");const insertionPoint=tbodies[tbodies.length-1];if(insertionPoint){this.insertBefore(el,insertionPoint.nextSibling)}else{this.appendChild(el)}return el}createTHead(){let el=this.tHead;if(!el){el=this.tHead=this._ownerDocument.createElement("THEAD")}return el}deleteTHead(){this.tHead=null}createTFoot(){let el=this.tFoot;if(!el){el=this.tFoot=this._ownerDocument.createElement("TFOOT")}return el}deleteTFoot(){this.tFoot=null}createCaption(){let el=this.caption;if(!el){el=this.caption=this._ownerDocument.createElement("CAPTION")}return el}deleteCaption(){const c=this.caption;if(c){c.parentNode.removeChild(c)}}insertRow(index){if(index<-1||index>this.rows.length){throw DOMException.create(this._globalObject,["Cannot insert a row at an index that is less than -1 or greater than the number of existing rows","IndexSizeError"])}const tr=this._ownerDocument.createElement("tr");if(this.rows.length===0&&this.tBodies.length===0){const tBody=this._ownerDocument.createElement("tbody");tBody.appendChild(tr);this.appendChild(tBody)}else if(this.rows.length===0){const tBody=this.tBodies.item(this.tBodies.length-1);tBody.appendChild(tr)}else if(index===-1||index===this.rows.length){const tSection=this.rows.item(this.rows.length-1).parentNode;tSection.appendChild(tr)}else{const beforeTR=this.rows.item(index);const tSection=beforeTR.parentNode;tSection.insertBefore(tr,beforeTR)}return tr}deleteRow(index){const rowLength=this.rows.length;if(index<-1||index>=rowLength){throw DOMException.create(this._globalObject,[`Cannot delete a row at index ${index}, where no row exists`,"IndexSizeError"])}if(index===-1){if(rowLength===0){return}index=rowLength-1}const tr=this.rows.item(index);tr.parentNode.removeChild(tr)}}module.exports={implementation:HTMLTableElementImpl}},{"../generated/HTMLCollection":447,"../helpers/internal-constants":596,"../helpers/namespaces":599,"../helpers/traversal":611,"../node-type":631,"./HTMLElement-impl":663,"domexception/webidl2js-wrapper":213}],712:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const HTMLElementImpl=require("./HTMLElement-impl").implementation;const HTMLCollection=require("../generated/HTMLCollection");const{HTML_NS:HTML_NS}=require("../helpers/namespaces");const{childrenByLocalNames:childrenByLocalNames}=require("../helpers/traversal");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const cellLocalNames=new Set(["td","th"]);class HTMLTableRowElementImpl extends HTMLElementImpl{get cells(){if(!this._cells){this._cells=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>childrenByLocalNames(this,cellLocalNames)})}return this._cells}get rowIndex(){const parent=this.parentElement;if(parent===null||parent.namespaceURI!==HTML_NS){return-1}let tableElement=parent;if(parent.localName==="thead"||parent.localName==="tbody"||parent.localName==="tfoot"){tableElement=parent.parentElement}if(tableElement===null||tableElement.namespaceURI!==HTML_NS||tableElement.localName!=="table"){return-1}return tableElement.rows.indexOf(this)}get sectionRowIndex(){const parent=domSymbolTree.parent(this);if(parent===null){return-1}const{rows:rows}=parent;if(!rows){return-1}return rows.indexOf(this)}insertCell(index){const td=this._ownerDocument.createElement("TD");const{cells:cells}=this;if(index<-1||index>cells.length){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}if(index===-1||index===cells.length){this._append(td)}else{const ref=cells.item(index);this._insert(td,ref)}return td}deleteCell(index){const{cells:cells}=this;if(index<-1||index>=cells.length){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}if(index===-1){if(cells.length===0){return}index=cells.length-1}const td=cells.item(index);this._remove(td)}}module.exports={implementation:HTMLTableRowElementImpl}},{"../generated/HTMLCollection":447,"../helpers/internal-constants":596,"../helpers/namespaces":599,"../helpers/traversal":611,"./HTMLElement-impl":663,"domexception/webidl2js-wrapper":213}],713:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{childrenByLocalName:childrenByLocalName}=require("../helpers/traversal");const HTMLCollection=require("../generated/HTMLCollection");const DOMException=require("domexception/webidl2js-wrapper");class HTMLTableSectionElementImpl extends HTMLElementImpl{get rows(){if(!this._rows){this._rows=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>childrenByLocalName(this,"tr")})}return this._rows}insertRow(index){if(index<-1||index>this.rows.length){throw DOMException.create(this._globalObject,["Cannot insert a row at an index that is less than -1 or greater than the number of existing rows","IndexSizeError"])}const tr=this._ownerDocument.createElement("tr");if(index===-1||index===this.rows.length){this._append(tr)}else{const beforeTR=this.rows.item(index);this._insert(tr,beforeTR)}return tr}deleteRow(index){if(index<-1||index>=this.rows.length){throw DOMException.create(this._globalObject,[`Cannot delete a row at index ${index}, where no row exists`,"IndexSizeError"])}if(index===-1){if(this.rows.length>0){const tr=this.rows.item(this.rows.length-1);this._remove(tr)}}else{const tr=this.rows.item(index);this._remove(tr)}}}module.exports={implementation:HTMLTableSectionElementImpl}},{"../generated/HTMLCollection":447,"../helpers/traversal":611,"./HTMLElement-impl":663,"domexception/webidl2js-wrapper":213}],714:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const Document=require("../generated/Document");const DocumentFragment=require("../generated/DocumentFragment");const{cloningSteps:cloningSteps,domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{clone:clone}=require("../node");class HTMLTemplateElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);const doc=this._appropriateTemplateContentsOwnerDocument(this._ownerDocument);this._templateContents=DocumentFragment.createImpl(this._globalObject,[],{ownerDocument:doc,host:this})}_appropriateTemplateContentsOwnerDocument(doc){if(!doc._isInertTemplateDocument){if(doc._associatedInertTemplateDocument===undefined){const newDoc=Document.createImpl(this._globalObject,[],{options:{parsingMode:doc._parsingMode,encoding:doc._encoding}});newDoc._isInertTemplateDocument=true;doc._associatedInertTemplateDocument=newDoc}doc=doc._associatedInertTemplateDocument}return doc}_adoptingSteps(){const doc=this._appropriateTemplateContentsOwnerDocument(this._ownerDocument);doc._adoptNode(this._templateContents)}get content(){return this._templateContents}[cloningSteps](copy,node,document,cloneChildren){if(!cloneChildren){return}for(const child of domSymbolTree.childrenIterator(node._templateContents)){const childCopy=clone(child,copy._templateContents._ownerDocument,true);copy._templateContents.appendChild(childCopy)}}}module.exports={implementation:HTMLTemplateElementImpl}},{"../generated/Document":415,"../generated/DocumentFragment":416,"../helpers/internal-constants":596,"../node":632,"./HTMLElement-impl":663}],715:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const DefaultConstraintValidationImpl=require("../constraint-validation/DefaultConstraintValidation-impl").implementation;const ValidityState=require("../generated/ValidityState");const{mixin:mixin}=require("../../utils");const DOMException=require("domexception/webidl2js-wrapper");const{cloningSteps:cloningSteps}=require("../helpers/internal-constants");const{isDisabled:isDisabled,normalizeToCRLF:normalizeToCRLF,getLabelsForLabelable:getLabelsForLabelable,formOwner:formOwner}=require("../helpers/form-controls");const{childTextContent:childTextContent}=require("../helpers/text");const{fireAnEvent:fireAnEvent}=require("../helpers/events");class HTMLTextAreaElementImpl extends HTMLElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._selectionStart=this._selectionEnd=0;this._selectionDirection="none";this._rawValue="";this._dirtyValue=false;this._customValidityErrorMessage="";this._labels=null}_formReset(){this._rawValue=childTextContent(this);this._dirtyValue=false}_getAPIValue(){return this._rawValue.replace(/\r\n/g,"\n").replace(/\r/g,"\n")}_getValue(){return normalizeToCRLF(this._rawValue)}_childTextContentChangeSteps(){super._childTextContentChangeSteps();if(this._dirtyValue===false){this._rawValue=childTextContent(this)}}get labels(){return getLabelsForLabelable(this)}get form(){return formOwner(this)}get defaultValue(){return childTextContent(this)}set defaultValue(val){this.textContent=val}get value(){return this._getAPIValue()}set value(val){const oldAPIValue=this._getAPIValue();this._rawValue=val;this._dirtyValue=true;if(oldAPIValue!==this._getAPIValue()){this._selectionStart=this._selectionEnd=this._getValueLength();this._selectionDirection="none"}}get textLength(){return this.value.length}get type(){return"textarea"}_dispatchSelectEvent(){fireAnEvent("select",this,undefined,{bubbles:true,cancelable:true})}_getValueLength(){return typeof this.value==="string"?this.value.length:0}select(){this._selectionStart=0;this._selectionEnd=this._getValueLength();this._selectionDirection="none";this._dispatchSelectEvent()}get selectionStart(){return this._selectionStart}set selectionStart(start){this.setSelectionRange(start,Math.max(start,this._selectionEnd),this._selectionDirection)}get selectionEnd(){return this._selectionEnd}set selectionEnd(end){this.setSelectionRange(this._selectionStart,end,this._selectionDirection)}get selectionDirection(){return this._selectionDirection}set selectionDirection(dir){this.setSelectionRange(this._selectionStart,this._selectionEnd,dir)}setSelectionRange(start,end,dir){this._selectionEnd=Math.min(end,this._getValueLength());this._selectionStart=Math.min(start,this._selectionEnd);this._selectionDirection=dir==="forward"||dir==="backward"?dir:"none";this._dispatchSelectEvent()}setRangeText(repl,start,end,selectionMode="preserve"){if(arguments.length<2){start=this._selectionStart;end=this._selectionEnd}else if(start>end){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}start=Math.min(start,this._getValueLength());end=Math.min(end,this._getValueLength());const val=this.value;let selStart=this._selectionStart;let selEnd=this._selectionEnd;this.value=val.slice(0,start)+repl+val.slice(end);const newEnd=start+this.value.length;if(selectionMode==="select"){this.setSelectionRange(start,newEnd)}else if(selectionMode==="start"){this.setSelectionRange(start,start)}else if(selectionMode==="end"){this.setSelectionRange(newEnd,newEnd)}else{const delta=repl.length-(end-start);if(selStart>end){selStart+=delta}else if(selStart>start){selStart=start}if(selEnd>end){selEnd+=delta}else if(selEnd>start){selEnd=newEnd}this.setSelectionRange(selStart,selEnd)}}get cols(){if(!this.hasAttributeNS(null,"cols")){return 20}return parseInt(this.getAttributeNS(null,"cols"))}set cols(value){if(value<=0){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}this.setAttributeNS(null,"cols",String(value))}get rows(){if(!this.hasAttributeNS(null,"rows")){return 2}return parseInt(this.getAttributeNS(null,"rows"))}set rows(value){if(value<=0){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}this.setAttributeNS(null,"rows",String(value))}_barredFromConstraintValidationSpecialization(){return this.hasAttributeNS(null,"readonly")}get _mutable(){return!isDisabled(this)&&!this.hasAttributeNS(null,"readonly")}get validity(){if(!this._validity){const state={valueMissing:()=>this.hasAttributeNS(null,"required")&&this._mutable&&this.value===""};this._validity=ValidityState.createImpl(this._globalObject,[],{element:this,state:state})}return this._validity}[cloningSteps](copy,node){copy._dirtyValue=node._dirtyValue;copy._rawValue=node._rawValue}}mixin(HTMLTextAreaElementImpl.prototype,DefaultConstraintValidationImpl.prototype);module.exports={implementation:HTMLTextAreaElementImpl}},{"../../utils":766,"../constraint-validation/DefaultConstraintValidation-impl":355,"../generated/ValidityState":574,"../helpers/events":592,"../helpers/form-controls":594,"../helpers/internal-constants":596,"../helpers/text":610,"./HTMLElement-impl":663,"domexception/webidl2js-wrapper":213}],716:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLTimeElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLTimeElementImpl}},{"./HTMLElement-impl":663}],717:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;const{childTextContent:childTextContent}=require("../helpers/text");class HTMLTitleElementImpl extends HTMLElementImpl{get text(){return childTextContent(this)}set text(value){this.textContent=value}}module.exports={implementation:HTMLTitleElementImpl}},{"../helpers/text":610,"./HTMLElement-impl":663}],718:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLTrackElementImpl extends HTMLElementImpl{get readyState(){return 0}}module.exports={implementation:HTMLTrackElementImpl}},{"./HTMLElement-impl":663}],719:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLUListElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLUListElementImpl}},{"./HTMLElement-impl":663}],720:[function(require,module,exports){"use strict";const HTMLElementImpl=require("./HTMLElement-impl").implementation;class HTMLUnknownElementImpl extends HTMLElementImpl{}module.exports={implementation:HTMLUnknownElementImpl}},{"./HTMLElement-impl":663}],721:[function(require,module,exports){"use strict";const HTMLMediaElementImpl=require("./HTMLMediaElement-impl").implementation;class HTMLVideoElementImpl extends HTMLMediaElementImpl{get videoWidth(){return 0}get videoHeight(){return 0}}module.exports={implementation:HTMLVideoElementImpl}},{"./HTMLMediaElement-impl":684}],722:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const EventTargetImpl=require("../events/EventTarget-impl").implementation;const{simultaneousIterators:simultaneousIterators}=require("../../utils");const NODE_TYPE=require("../node-type");const NODE_DOCUMENT_POSITION=require("../node-document-position");const{clone:clone,locateNamespacePrefix:locateNamespacePrefix,locateNamespace:locateNamespace}=require("../node");const{setAnExistingAttributeValue:setAnExistingAttributeValue}=require("../attributes");const NodeList=require("../generated/NodeList");const{nodeRoot:nodeRoot,nodeLength:nodeLength}=require("../helpers/node");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{documentBaseURLSerialized:documentBaseURLSerialized}=require("../helpers/document-base-url");const{queueTreeMutationRecord:queueTreeMutationRecord}=require("../helpers/mutation-observers");const{enqueueCECallbackReaction:enqueueCECallbackReaction,tryUpgradeElement:tryUpgradeElement}=require("../helpers/custom-elements");const{isShadowRoot:isShadowRoot,shadowIncludingRoot:shadowIncludingRoot,assignSlot:assignSlot,assignSlotableForTree:assignSlotableForTree,assignSlotable:assignSlotable,signalSlotChange:signalSlotChange,isSlot:isSlot,shadowIncludingInclusiveDescendantsIterator:shadowIncludingInclusiveDescendantsIterator,shadowIncludingDescendantsIterator:shadowIncludingDescendantsIterator}=require("../helpers/shadow-dom");function isObsoleteNodeType(node){return node.nodeType===NODE_TYPE.ENTITY_NODE||node.nodeType===NODE_TYPE.ENTITY_REFERENCE_NODE||node.nodeType===NODE_TYPE.NOTATION_NODE||node.nodeType===NODE_TYPE.CDATA_SECTION_NODE}function nodeEquals(a,b){if(a.nodeType!==b.nodeType){return false}switch(a.nodeType){case NODE_TYPE.DOCUMENT_TYPE_NODE:if(a.name!==b.name||a.publicId!==b.publicId||a.systemId!==b.systemId){return false}break;case NODE_TYPE.ELEMENT_NODE:if(a._namespaceURI!==b._namespaceURI||a._prefix!==b._prefix||a._localName!==b._localName||a._attributes.length!==b._attributes.length){return false}break;case NODE_TYPE.ATTRIBUTE_NODE:if(a._namespace!==b._namespace||a._localName!==b._localName||a._value!==b._value){return false}break;case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:if(a._target!==b._target||a._data!==b._data){return false}break;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.COMMENT_NODE:if(a._data!==b._data){return false}break}if(a.nodeType===NODE_TYPE.ELEMENT_NODE&&!attributeListsEqual(a,b)){return false}for(const nodes of simultaneousIterators(domSymbolTree.childrenIterator(a),domSymbolTree.childrenIterator(b))){if(!nodes[0]||!nodes[1]){return false}if(!nodeEquals(nodes[0],nodes[1])){return false}}return true}function attributeListsEqual(elementA,elementB){const listA=elementA._attributeList;const listB=elementB._attributeList;const lengthA=listA.length;const lengthB=listB.length;if(lengthA!==lengthB){return false}for(let i=0;i<lengthA;++i){const attrA=listA[i];if(!listB.some(attrB=>nodeEquals(attrA,attrB))){return false}}return true}function isHostInclusiveAncestor(nodeImplA,nodeImplB){for(const ancestor of domSymbolTree.ancestorsIterator(nodeImplB)){if(ancestor===nodeImplA){return true}}const rootImplB=nodeRoot(nodeImplB);if(rootImplB._host){return isHostInclusiveAncestor(nodeImplA,rootImplB._host)}return false}class NodeImpl extends EventTargetImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);domSymbolTree.initialize(this);this._ownerDocument=privateData.ownerDocument;this._childNodesList=null;this._childrenList=null;this._version=0;this._memoizedQueries={};this._registeredObserverList=[];this._referencedRanges=new Set}_getTheParent(){if(this._assignedSlot){return this._assignedSlot}return domSymbolTree.parent(this)}get parentNode(){return domSymbolTree.parent(this)}getRootNode(options){return options.composed?shadowIncludingRoot(this):nodeRoot(this)}get nodeName(){switch(this.nodeType){case NODE_TYPE.ELEMENT_NODE:return this.tagName;case NODE_TYPE.ATTRIBUTE_NODE:return this._qualifiedName;case NODE_TYPE.TEXT_NODE:return"#text";case NODE_TYPE.CDATA_SECTION_NODE:return"#cdata-section";case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:return this.target;case NODE_TYPE.COMMENT_NODE:return"#comment";case NODE_TYPE.DOCUMENT_NODE:return"#document";case NODE_TYPE.DOCUMENT_TYPE_NODE:return this.name;case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:return"#document-fragment"}return null}get firstChild(){return domSymbolTree.firstChild(this)}get isConnected(){const root=shadowIncludingRoot(this);return root&&root.nodeType===NODE_TYPE.DOCUMENT_NODE}get ownerDocument(){return this.nodeType===NODE_TYPE.DOCUMENT_NODE?null:this._ownerDocument}get lastChild(){return domSymbolTree.lastChild(this)}get childNodes(){if(!this._childNodesList){this._childNodesList=NodeList.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.childrenToArray(this)})}else{this._childNodesList._update()}return this._childNodesList}get nextSibling(){return domSymbolTree.nextSibling(this)}get previousSibling(){return domSymbolTree.previousSibling(this)}_modified(){this._version++;for(const ancestor of domSymbolTree.ancestorsIterator(this)){ancestor._version++}if(this._childrenList){this._childrenList._update()}if(this._childNodesList){this._childNodesList._update()}this._clearMemoizedQueries()}_childTextContentChangeSteps(){}_clearMemoizedQueries(){this._memoizedQueries={};const myParent=domSymbolTree.parent(this);if(myParent){myParent._clearMemoizedQueries()}}_descendantRemoved(parent,child){const myParent=domSymbolTree.parent(this);if(myParent){myParent._descendantRemoved(parent,child)}}_descendantAdded(parent,child){const myParent=domSymbolTree.parent(this);if(myParent){myParent._descendantAdded(parent,child)}}_attach(){this._attached=true;for(const child of domSymbolTree.childrenIterator(this)){if(child._attach){child._attach()}}}_detach(){this._attached=false;if(this._ownerDocument&&this._ownerDocument._lastFocusedElement===this){this._ownerDocument._lastFocusedElement=null}for(const child of domSymbolTree.childrenIterator(this)){if(child._detach){child._detach()}}}hasChildNodes(){return domSymbolTree.hasChildren(this)}normalize(){for(const node of domSymbolTree.treeToArray(this)){const parentNode=domSymbolTree.parent(node);if(parentNode===null||node.nodeType!==NODE_TYPE.TEXT_NODE){continue}let length=nodeLength(node);if(length===0){parentNode._remove(node);continue}const continuousExclusiveTextNodes=[];for(const currentNode of domSymbolTree.previousSiblingsIterator(node)){if(currentNode.nodeType!==NODE_TYPE.TEXT_NODE){break}continuousExclusiveTextNodes.unshift(currentNode)}for(const currentNode of domSymbolTree.nextSiblingsIterator(node)){if(currentNode.nodeType!==NODE_TYPE.TEXT_NODE){break}continuousExclusiveTextNodes.push(currentNode)}const data=continuousExclusiveTextNodes.reduce((d,n)=>d+n._data,"");node.replaceData(length,0,data);let currentNode=domSymbolTree.nextSibling(node);while(currentNode&¤tNode.nodeType!==NODE_TYPE.TEXT_NODE){const currentNodeParent=domSymbolTree.parent(currentNode);const currentNodeIndex=domSymbolTree.index(currentNode);for(const range of node._referencedRanges){const{_start:_start,_end:_end}=range;if(_start.node===currentNode){range._setLiveRangeStart(node,_start.offset+length)}if(_end.node===currentNode){range._setLiveRangeEnd(node,_end.offset+length)}if(_start.node===currentNodeParent&&_start.offset===currentNodeIndex){range._setLiveRangeStart(node,length)}if(_end.node===currentNodeParent&&_end.offset===currentNodeIndex){range._setLiveRangeStart(node,length)}}length+=nodeLength(currentNode);currentNode=domSymbolTree.nextSibling(currentNode)}for(const continuousExclusiveTextNode of continuousExclusiveTextNodes){parentNode._remove(continuousExclusiveTextNode)}}}get parentElement(){const parentNode=domSymbolTree.parent(this);return parentNode!==null&&parentNode.nodeType===NODE_TYPE.ELEMENT_NODE?parentNode:null}get baseURI(){return documentBaseURLSerialized(this._ownerDocument)}compareDocumentPosition(other){let node1=other;let node2=this;if(isObsoleteNodeType(node2)||isObsoleteNodeType(node1)){throw new Error("Obsolete node type")}let attr1=null;let attr2=null;if(node1.nodeType===NODE_TYPE.ATTRIBUTE_NODE){attr1=node1;node1=attr1._element}if(node2.nodeType===NODE_TYPE.ATTRIBUTE_NODE){attr2=node2;node2=attr2._element;if(attr1!==null&&node1!==null&&node2===node1){for(const attr of node2._attributeList){if(nodeEquals(attr,attr1)){return NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_PRECEDING}if(nodeEquals(attr,attr2)){return NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_FOLLOWING}}}}const result=domSymbolTree.compareTreePosition(node2,node1);if(result===NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_DISCONNECTED){return NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_DISCONNECTED|NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_FOLLOWING}return result}lookupPrefix(namespace){if(namespace===null||namespace===""){return null}switch(this.nodeType){case NODE_TYPE.ELEMENT_NODE:{return locateNamespacePrefix(this,namespace)}case NODE_TYPE.DOCUMENT_NODE:{return this.documentElement!==null?locateNamespacePrefix(this.documentElement,namespace):null}case NODE_TYPE.DOCUMENT_TYPE_NODE:case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:{return null}case NODE_TYPE.ATTRIBUTE_NODE:{return this._element!==null?locateNamespacePrefix(this._element,namespace):null}default:{return this.parentElement!==null?locateNamespacePrefix(this.parentElement,namespace):null}}}lookupNamespaceURI(prefix){if(prefix===""){prefix=null}return locateNamespace(this,prefix)}isDefaultNamespace(namespace){if(namespace===""){namespace=null}const defaultNamespace=locateNamespace(this,null);return defaultNamespace===namespace}contains(other){if(other===null){return false}else if(this===other){return true}return Boolean(this.compareDocumentPosition(other)&NODE_DOCUMENT_POSITION.DOCUMENT_POSITION_CONTAINED_BY)}isEqualNode(node){if(node===null){return false}if(this===node){return true}return nodeEquals(this,node)}isSameNode(node){if(this===node){return true}return false}cloneNode(deep){if(isShadowRoot(this)){throw DOMException.create(this._globalObject,["ShadowRoot nodes are not clonable.","NotSupportedError"])}deep=Boolean(deep);return clone(this,undefined,deep)}get nodeValue(){switch(this.nodeType){case NODE_TYPE.ATTRIBUTE_NODE:{return this._value}case NODE_TYPE.TEXT_NODE:case NODE_TYPE.CDATA_SECTION_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:{return this._data}default:{return null}}}set nodeValue(value){if(value===null){value=""}switch(this.nodeType){case NODE_TYPE.ATTRIBUTE_NODE:{setAnExistingAttributeValue(this,value);break}case NODE_TYPE.TEXT_NODE:case NODE_TYPE.CDATA_SECTION_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:{this.replaceData(0,this.length,value);break}}}get textContent(){switch(this.nodeType){case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:case NODE_TYPE.ELEMENT_NODE:{let text="";for(const child of domSymbolTree.treeIterator(this)){if(child.nodeType===NODE_TYPE.TEXT_NODE||child.nodeType===NODE_TYPE.CDATA_SECTION_NODE){text+=child.nodeValue}}return text}case NODE_TYPE.ATTRIBUTE_NODE:{return this._value}case NODE_TYPE.TEXT_NODE:case NODE_TYPE.CDATA_SECTION_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:{return this._data}default:{return null}}}set textContent(value){if(value===null){value=""}switch(this.nodeType){case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:case NODE_TYPE.ELEMENT_NODE:{let nodeImpl=null;if(value!==""){nodeImpl=this._ownerDocument.createTextNode(value)}this._replaceAll(nodeImpl);break}case NODE_TYPE.ATTRIBUTE_NODE:{setAnExistingAttributeValue(this,value);break}case NODE_TYPE.TEXT_NODE:case NODE_TYPE.CDATA_SECTION_NODE:case NODE_TYPE.PROCESSING_INSTRUCTION_NODE:case NODE_TYPE.COMMENT_NODE:{this.replaceData(0,this.length,value);break}}}insertBefore(nodeImpl,childImpl){return this._preInsert(nodeImpl,childImpl)}appendChild(nodeImpl){return this._append(nodeImpl)}replaceChild(nodeImpl,childImpl){return this._replace(nodeImpl,childImpl)}removeChild(oldChildImpl){return this._preRemove(oldChildImpl)}_preInsertValidity(nodeImpl,childImpl){const{nodeType:nodeType,nodeName:nodeName}=nodeImpl;const{nodeType:parentType,nodeName:parentName}=this;if(parentType!==NODE_TYPE.DOCUMENT_NODE&&parentType!==NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&parentType!==NODE_TYPE.ELEMENT_NODE){throw DOMException.create(this._globalObject,[`Node can't be inserted in a ${parentName} parent.`,"HierarchyRequestError"])}if(isHostInclusiveAncestor(nodeImpl,this)){throw DOMException.create(this._globalObject,["The operation would yield an incorrect node tree.","HierarchyRequestError"])}if(childImpl&&domSymbolTree.parent(childImpl)!==this){throw DOMException.create(this._globalObject,["The child can not be found in the parent.","NotFoundError"])}if(nodeType!==NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&nodeType!==NODE_TYPE.DOCUMENT_TYPE_NODE&&nodeType!==NODE_TYPE.ELEMENT_NODE&&nodeType!==NODE_TYPE.TEXT_NODE&&nodeType!==NODE_TYPE.CDATA_SECTION_NODE&&nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&nodeType!==NODE_TYPE.COMMENT_NODE){throw DOMException.create(this._globalObject,[`${nodeName} node can't be inserted in parent node.`,"HierarchyRequestError"])}if(nodeType===NODE_TYPE.TEXT_NODE&&parentType===NODE_TYPE.DOCUMENT_NODE||nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE&&parentType!==NODE_TYPE.DOCUMENT_NODE){throw DOMException.create(this._globalObject,[`${nodeName} node can't be inserted in ${parentName} parent.`,"HierarchyRequestError"])}if(parentType===NODE_TYPE.DOCUMENT_NODE){const nodeChildren=domSymbolTree.childrenToArray(nodeImpl);const parentChildren=domSymbolTree.childrenToArray(this);switch(nodeType){case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:{const nodeChildrenElements=nodeChildren.filter(child=>child.nodeType===NODE_TYPE.ELEMENT_NODE);if(nodeChildrenElements.length>1){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}const hasNodeTextChildren=nodeChildren.some(child=>child.nodeType===NODE_TYPE.TEXT_NODE);if(hasNodeTextChildren){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}if(nodeChildrenElements.length===1&&(parentChildren.some(child=>child.nodeType===NODE_TYPE.ELEMENT_NODE)||childImpl&&childImpl.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||childImpl&&domSymbolTree.nextSibling(childImpl)&&domSymbolTree.nextSibling(childImpl).nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}break}case NODE_TYPE.ELEMENT_NODE:if(parentChildren.some(child=>child.nodeType===NODE_TYPE.ELEMENT_NODE)||childImpl&&childImpl.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||childImpl&&domSymbolTree.nextSibling(childImpl)&&domSymbolTree.nextSibling(childImpl).nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}break;case NODE_TYPE.DOCUMENT_TYPE_NODE:if(parentChildren.some(child=>child.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)||childImpl&&domSymbolTree.previousSibling(childImpl)&&domSymbolTree.previousSibling(childImpl).nodeType===NODE_TYPE.ELEMENT_NODE||!childImpl&&parentChildren.some(child=>child.nodeType===NODE_TYPE.ELEMENT_NODE)){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}break}}}_preInsert(nodeImpl,childImpl){this._preInsertValidity(nodeImpl,childImpl);let referenceChildImpl=childImpl;if(referenceChildImpl===nodeImpl){referenceChildImpl=domSymbolTree.nextSibling(nodeImpl)}this._ownerDocument._adoptNode(nodeImpl);this._insert(nodeImpl,referenceChildImpl);return nodeImpl}_insert(nodeImpl,childImpl,suppressObservers){const count=nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE?domSymbolTree.childrenCount(nodeImpl):1;if(childImpl){const childIndex=domSymbolTree.index(childImpl);for(const range of this._referencedRanges){const{_start:_start,_end:_end}=range;if(_start.offset>childIndex){range._setLiveRangeStart(this,_start.offset+count)}if(_end.offset>childIndex){range._setLiveRangeEnd(this,_end.offset+count)}}}const nodesImpl=nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE?domSymbolTree.childrenToArray(nodeImpl):[nodeImpl];if(nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE){let grandChildImpl;while(grandChildImpl=domSymbolTree.firstChild(nodeImpl)){nodeImpl._remove(grandChildImpl,true)}}if(nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE){queueTreeMutationRecord(nodeImpl,[],nodesImpl,null,null)}const previousChildImpl=childImpl?domSymbolTree.previousSibling(childImpl):domSymbolTree.lastChild(this);for(const node of nodesImpl){if(!childImpl){domSymbolTree.appendChild(this,node)}else{domSymbolTree.insertBefore(childImpl,node)}if(this.nodeType===NODE_TYPE.ELEMENT_NODE&&this._shadowRoot!==null&&(node.nodeType===NODE_TYPE.ELEMENT_NODE||node.nodeType===NODE_TYPE.TEXT_NODE)){assignSlot(node)}this._modified();if(node.nodeType===NODE_TYPE.TEXT_NODE||node.nodeType===NODE_TYPE.CDATA_SECTION_NODE){this._childTextContentChangeSteps()}if(isSlot(this)&&this._assignedNodes.length===0&&isShadowRoot(nodeRoot(this))){signalSlotChange(this)}const root=nodeRoot(node);if(isShadowRoot(root)){assignSlotableForTree(root)}if(this._attached&&nodeImpl._attach){node._attach()}this._descendantAdded(this,node);for(const inclusiveDescendant of shadowIncludingInclusiveDescendantsIterator(node)){if(inclusiveDescendant.isConnected){if(inclusiveDescendant._ceState==="custom"){enqueueCECallbackReaction(inclusiveDescendant,"connectedCallback",[])}else{tryUpgradeElement(inclusiveDescendant)}}}}if(!suppressObservers){queueTreeMutationRecord(this,nodesImpl,[],previousChildImpl,childImpl)}}_append(nodeImpl){return this._preInsert(nodeImpl,null)}_replace(nodeImpl,childImpl){const{nodeType:nodeType,nodeName:nodeName}=nodeImpl;const{nodeType:parentType,nodeName:parentName}=this;if(parentType!==NODE_TYPE.DOCUMENT_NODE&&parentType!==NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&parentType!==NODE_TYPE.ELEMENT_NODE){throw DOMException.create(this._globalObject,[`Node can't be inserted in a ${parentName} parent.`,"HierarchyRequestError"])}if(isHostInclusiveAncestor(nodeImpl,this)){throw DOMException.create(this._globalObject,["The operation would yield an incorrect node tree.","HierarchyRequestError"])}if(childImpl&&domSymbolTree.parent(childImpl)!==this){throw DOMException.create(this._globalObject,["The child can not be found in the parent.","NotFoundError"])}if(nodeType!==NODE_TYPE.DOCUMENT_FRAGMENT_NODE&&nodeType!==NODE_TYPE.DOCUMENT_TYPE_NODE&&nodeType!==NODE_TYPE.ELEMENT_NODE&&nodeType!==NODE_TYPE.TEXT_NODE&&nodeType!==NODE_TYPE.CDATA_SECTION_NODE&&nodeType!==NODE_TYPE.PROCESSING_INSTRUCTION_NODE&&nodeType!==NODE_TYPE.COMMENT_NODE){throw DOMException.create(this._globalObject,[`${nodeName} node can't be inserted in parent node.`,"HierarchyRequestError"])}if(nodeType===NODE_TYPE.TEXT_NODE&&parentType===NODE_TYPE.DOCUMENT_NODE||nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE&&parentType!==NODE_TYPE.DOCUMENT_NODE){throw DOMException.create(this._globalObject,[`${nodeName} node can't be inserted in ${parentName} parent.`,"HierarchyRequestError"])}if(parentType===NODE_TYPE.DOCUMENT_NODE){const nodeChildren=domSymbolTree.childrenToArray(nodeImpl);const parentChildren=domSymbolTree.childrenToArray(this);switch(nodeType){case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:{const nodeChildrenElements=nodeChildren.filter(child=>child.nodeType===NODE_TYPE.ELEMENT_NODE);if(nodeChildrenElements.length>1){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}const hasNodeTextChildren=nodeChildren.some(child=>child.nodeType===NODE_TYPE.TEXT_NODE);if(hasNodeTextChildren){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}const parentChildElements=parentChildren.filter(child=>child.nodeType===NODE_TYPE.ELEMENT_NODE);if(nodeChildrenElements.length===1&&(parentChildElements.length===1&&parentChildElements[0]!==childImpl||childImpl&&domSymbolTree.nextSibling(childImpl)&&domSymbolTree.nextSibling(childImpl).nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE)){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}break}case NODE_TYPE.ELEMENT_NODE:if(parentChildren.some(child=>child.nodeType===NODE_TYPE.ELEMENT_NODE&&child!==childImpl)||childImpl&&domSymbolTree.nextSibling(childImpl)&&domSymbolTree.nextSibling(childImpl).nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}break;case NODE_TYPE.DOCUMENT_TYPE_NODE:if(parentChildren.some(child=>child.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE&&child!==childImpl)||childImpl&&domSymbolTree.previousSibling(childImpl)&&domSymbolTree.previousSibling(childImpl).nodeType===NODE_TYPE.ELEMENT_NODE){throw DOMException.create(this._globalObject,[`Invalid insertion of ${nodeName} node in ${parentName} node.`,"HierarchyRequestError"])}break}}let referenceChildImpl=domSymbolTree.nextSibling(childImpl);if(referenceChildImpl===nodeImpl){referenceChildImpl=domSymbolTree.nextSibling(nodeImpl)}const previousSiblingImpl=domSymbolTree.previousSibling(childImpl);this._ownerDocument._adoptNode(nodeImpl);let removedNodesImpl=[];if(domSymbolTree.parent(childImpl)){removedNodesImpl=[childImpl];this._remove(childImpl,true)}const nodesImpl=nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE?domSymbolTree.childrenToArray(nodeImpl):[nodeImpl];this._insert(nodeImpl,referenceChildImpl,true);queueTreeMutationRecord(this,nodesImpl,removedNodesImpl,previousSiblingImpl,referenceChildImpl);return childImpl}_replaceAll(nodeImpl){if(nodeImpl!==null){this._ownerDocument._adoptNode(nodeImpl)}const removedNodesImpl=domSymbolTree.childrenToArray(this);let addedNodesImpl;if(nodeImpl===null){addedNodesImpl=[]}else if(nodeImpl.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE){addedNodesImpl=domSymbolTree.childrenToArray(nodeImpl)}else{addedNodesImpl=[nodeImpl]}for(const childImpl of domSymbolTree.childrenIterator(this)){this._remove(childImpl,true)}if(nodeImpl!==null){this._insert(nodeImpl,null,true)}if(addedNodesImpl.length>0||removedNodesImpl.length>0){queueTreeMutationRecord(this,addedNodesImpl,removedNodesImpl,null,null)}}_preRemove(childImpl){if(domSymbolTree.parent(childImpl)!==this){throw DOMException.create(this._globalObject,["The node to be removed is not a child of this node.","NotFoundError"])}this._remove(childImpl);return childImpl}_remove(nodeImpl,suppressObservers){const index=domSymbolTree.index(nodeImpl);for(const descendant of domSymbolTree.treeIterator(nodeImpl)){for(const range of descendant._referencedRanges){const{_start:_start,_end:_end}=range;if(_start.node===descendant){range._setLiveRangeStart(this,index)}if(_end.node===descendant){range._setLiveRangeEnd(this,index)}}}for(const range of this._referencedRanges){const{_start:_start,_end:_end}=range;if(_start.node===this&&_start.offset>index){range._setLiveRangeStart(this,_start.offset-1)}if(_end.node===this&&_end.offset>index){range._setLiveRangeEnd(this,_end.offset-1)}}if(this._ownerDocument){this._ownerDocument._runPreRemovingSteps(nodeImpl)}const oldPreviousSiblingImpl=domSymbolTree.previousSibling(nodeImpl);const oldNextSiblingImpl=domSymbolTree.nextSibling(nodeImpl);domSymbolTree.remove(nodeImpl);if(nodeImpl._assignedSlot){assignSlotable(nodeImpl._assignedSlot)}if(isSlot(this)&&this._assignedNodes.length===0&&isShadowRoot(nodeRoot(this))){signalSlotChange(this)}let hasSlotDescendant=isSlot(nodeImpl);if(!hasSlotDescendant){for(const child of domSymbolTree.treeIterator(nodeImpl)){if(isSlot(child)){hasSlotDescendant=true;break}}}if(hasSlotDescendant){assignSlotableForTree(nodeRoot(this));assignSlotableForTree(nodeImpl)}this._modified();nodeImpl._detach();this._descendantRemoved(this,nodeImpl);if(this.isConnected){if(nodeImpl._ceState==="custom"){enqueueCECallbackReaction(nodeImpl,"disconnectedCallback",[])}for(const descendantImpl of shadowIncludingDescendantsIterator(nodeImpl)){if(descendantImpl._ceState==="custom"){enqueueCECallbackReaction(descendantImpl,"disconnectedCallback",[])}}}if(!suppressObservers){queueTreeMutationRecord(this,[],[nodeImpl],oldPreviousSiblingImpl,oldNextSiblingImpl)}if(nodeImpl.nodeType===NODE_TYPE.TEXT_NODE){this._childTextContentChangeSteps()}}}module.exports={implementation:NodeImpl}},{"../../utils":766,"../attributes":352,"../events/EventTarget-impl":370,"../generated/NodeList":535,"../helpers/custom-elements":588,"../helpers/document-base-url":591,"../helpers/internal-constants":596,"../helpers/mutation-observers":598,"../helpers/node":600,"../helpers/shadow-dom":605,"../node":632,"../node-document-position":630,"../node-type":631,"domexception/webidl2js-wrapper":213}],723:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils.js");exports.implementation=class NodeListImpl{constructor(globalObject,args,privateData){if(privateData.nodes){this._list=[...privateData.nodes];this._isLive=false}else{this._list=[];this._isLive=true;this._version=-1;this._element=privateData.element;this._query=privateData.query;this._update()}}get length(){this._update();return this._list.length}item(index){this._update();return this._list[index]||null}_update(){if(this._isLive){if(this._version<this._element._version){const snapshot=this._query();for(let i=0;i<snapshot.length;i++){this._list[i]=snapshot[i]}this._list.length=snapshot.length;this._version=this._element._version}}}get[idlUtils.supportedPropertyIndices](){this._update();return this._list.keys()}}},{"../generated/utils.js":584}],724:[function(require,module,exports){"use strict";const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const NODE_TYPE=require("../node-type");class NonDocumentTypeChildNodeImpl{get nextElementSibling(){for(const sibling of domSymbolTree.nextSiblingsIterator(this)){if(sibling.nodeType===NODE_TYPE.ELEMENT_NODE){return sibling}}return null}get previousElementSibling(){for(const sibling of domSymbolTree.previousSiblingsIterator(this)){if(sibling.nodeType===NODE_TYPE.ELEMENT_NODE){return sibling}}return null}}module.exports={implementation:NonDocumentTypeChildNodeImpl}},{"../helpers/internal-constants":596,"../node-type":631}],725:[function(require,module,exports){"use strict";class NonElementParentNodeImpl{}module.exports={implementation:NonElementParentNodeImpl}},{}],726:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils");const NodeList=require("../generated/NodeList");const HTMLCollection=require("../generated/HTMLCollection");const{addNwsapi:addNwsapi}=require("../helpers/selectors");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const NODE_TYPE=require("../node-type");const{convertNodesIntoNode:convertNodesIntoNode}=require("../node");class ParentNodeImpl{get children(){if(!this._childrenList){this._childrenList=HTMLCollection.createImpl(this._globalObject,[],{element:this,query:()=>domSymbolTree.childrenToArray(this,{filter:node=>node.nodeType===NODE_TYPE.ELEMENT_NODE})})}else{this._childrenList._update()}return this._childrenList}get firstElementChild(){for(const child of domSymbolTree.childrenIterator(this)){if(child.nodeType===NODE_TYPE.ELEMENT_NODE){return child}}return null}get lastElementChild(){for(const child of domSymbolTree.childrenIterator(this,{reverse:true})){if(child.nodeType===NODE_TYPE.ELEMENT_NODE){return child}}return null}get childElementCount(){return this.children.length}prepend(...nodes){this._preInsert(convertNodesIntoNode(this._ownerDocument,nodes),this.firstChild)}append(...nodes){this._append(convertNodesIntoNode(this._ownerDocument,nodes))}querySelector(selectors){if(shouldAlwaysSelectNothing(this)){return null}const matcher=addNwsapi(this);return idlUtils.implForWrapper(matcher.first(selectors,idlUtils.wrapperForImpl(this)))}querySelectorAll(selectors){if(shouldAlwaysSelectNothing(this)){return NodeList.create(this._globalObject,[],{nodes:[]})}const matcher=addNwsapi(this);const list=matcher.select(selectors,idlUtils.wrapperForImpl(this));return NodeList.create(this._globalObject,[],{nodes:list.map(n=>idlUtils.tryImplForWrapper(n))})}}function shouldAlwaysSelectNothing(elImpl){return elImpl===elImpl._ownerDocument&&!elImpl.documentElement}module.exports={implementation:ParentNodeImpl}},{"../generated/HTMLCollection":447,"../generated/NodeList":535,"../generated/utils":584,"../helpers/internal-constants":596,"../helpers/selectors":604,"../node":632,"../node-type":631}],727:[function(require,module,exports){"use strict";const CharacterDataImpl=require("./CharacterData-impl").implementation;const NODE_TYPE=require("../node-type");class ProcessingInstructionImpl extends CharacterDataImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this.nodeType=NODE_TYPE.PROCESSING_INSTRUCTION_NODE;this._target=privateData.target}get target(){return this._target}}module.exports={implementation:ProcessingInstructionImpl}},{"../node-type":631,"./CharacterData-impl":634}],728:[function(require,module,exports){"use strict";const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{SVG_NS:SVG_NS}=require("../helpers/namespaces");const{mixin:mixin}=require("../../utils");const SVGAnimatedString=require("../generated/SVGAnimatedString");const ElementImpl=require("./Element-impl").implementation;const ElementCSSInlineStyleImpl=require("./ElementCSSInlineStyle-impl").implementation;const GlobalEventHandlersImpl=require("./GlobalEventHandlers-impl").implementation;const HTMLOrSVGElementImpl=require("./HTMLOrSVGElement-impl").implementation;class SVGElementImpl extends ElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._initHTMLOrSVGElement();this._initElementCSSInlineStyle();this._initGlobalEvents()}_attrModified(name,value,oldValue){if(name==="style"&&value!==oldValue&&!this._settingCssText){this._settingCssText=true;this._style.cssText=value;this._settingCssText=false}else if(name.startsWith("on")){this._globalEventChanged(name.substring(2))}super._attrModified.apply(this,arguments)}get className(){return SVGAnimatedString.createImpl(this._globalObject,[],{element:this,attribute:"class"})}get ownerSVGElement(){let e=domSymbolTree.parent(this);while(e&&e.namespaceURI===SVG_NS){if(e.localName==="svg"){return e}e=domSymbolTree.parent(e)}return null}get viewportElement(){return this.ownerSVGElement}}SVGElementImpl.attributeRegistry=new Map;mixin(SVGElementImpl.prototype,ElementCSSInlineStyleImpl.prototype);mixin(SVGElementImpl.prototype,GlobalEventHandlersImpl.prototype);mixin(SVGElementImpl.prototype,HTMLOrSVGElementImpl.prototype);exports.implementation=SVGElementImpl},{"../../utils":766,"../generated/SVGAnimatedString":547,"../helpers/internal-constants":596,"../helpers/namespaces":599,"./Element-impl":644,"./ElementCSSInlineStyle-impl":645,"./GlobalEventHandlers-impl":646,"./HTMLOrSVGElement-impl":694}],729:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const SVGElementImpl=require("./SVGElement-impl").implementation;const SVGTestsImpl=require("./SVGTests-impl").implementation;class SVGGraphicsElementImpl extends SVGElementImpl{}SVGGraphicsElementImpl.attributeRegistry=new Map([...SVGElementImpl.attributeRegistry,...SVGTestsImpl.attributeRegistry]);mixin(SVGGraphicsElementImpl.prototype,SVGTestsImpl.prototype);exports.implementation=SVGGraphicsElementImpl},{"../../utils":766,"./SVGElement-impl":728,"./SVGTests-impl":731}],730:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const SVGNumber=require("../generated/SVGNumber");const SVGGraphicsElementImpl=require("./SVGGraphicsElement-impl").implementation;const WindowEventHandlersImpl=require("./WindowEventHandlers-impl").implementation;const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{ELEMENT_NODE:ELEMENT_NODE}=require("../node-type");class SVGSVGElementImpl extends SVGGraphicsElementImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);this._proxyWindowEventsToWindow()}createSVGNumber(){return SVGNumber.createImpl(this._globalObject,[],{})}getElementById(elementId){for(const node of domSymbolTree.treeIterator(this)){if(node.nodeType===ELEMENT_NODE&&node.getAttributeNS(null,"id")===elementId){return node}}return null}suspendRedraw(){return 1}unsuspendRedraw(){}unsuspendRedrawAll(){}forceRedraw(){}}mixin(SVGSVGElementImpl.prototype,WindowEventHandlersImpl.prototype);module.exports={implementation:SVGSVGElementImpl}},{"../../utils":766,"../generated/SVGNumber":550,"../helpers/internal-constants":596,"../node-type":631,"./SVGGraphicsElement-impl":729,"./WindowEventHandlers-impl":736}],731:[function(require,module,exports){"use strict";const{splitOnASCIIWhitespace:splitOnASCIIWhitespace,splitOnCommas:splitOnCommas}=require("../helpers/strings");const{reserializeCommaSeparatedTokens:reserializeCommaSeparatedTokens,reserializeSpaceSeparatedTokens:reserializeSpaceSeparatedTokens}=require("../helpers/svg/basic-types");const SVGStringList=require("../generated/SVGStringList");class SVGTestsImpl{get requiredExtensions(){return SVGStringList.createImpl(this._globalObject,[],{element:this,attribute:"requiredExtensions"})}get systemLanguage(){return SVGStringList.createImpl(this._globalObject,[],{element:this,attribute:"systemLanguage"})}}SVGTestsImpl.attributeRegistry=new Map([["requiredExtensions",{getValue:splitOnASCIIWhitespace,serialize:reserializeSpaceSeparatedTokens,initialValue:undefined}],["systemLanguage",{getValue:splitOnCommas,serialize:reserializeCommaSeparatedTokens,initialValue:undefined}]]);exports.implementation=SVGTestsImpl},{"../generated/SVGStringList":552,"../helpers/strings":606,"../helpers/svg/basic-types":609}],732:[function(require,module,exports){"use strict";const SVGElementImpl=require("./SVGElement-impl").implementation;class SVGTitleElementImpl extends SVGElementImpl{}module.exports={implementation:SVGTitleElementImpl}},{"./SVGElement-impl":728}],733:[function(require,module,exports){"use strict";const{parseFragment:parseFragment}=require("../../browser/parser");const{fragmentSerialization:fragmentSerialization}=require("../domparsing/serialization.js");const{nodeRoot:nodeRoot}=require("../helpers/node");const{mixin:mixin}=require("../../utils");const DocumentFragment=require("./DocumentFragment-impl").implementation;const DocumentOrShadowRootImpl=require("./DocumentOrShadowRoot-impl").implementation;class ShadowRootImpl extends DocumentFragment{constructor(globalObject,args,privateData){super(globalObject,args,privateData);const{mode:mode}=privateData;this._mode=mode}_getTheParent(event){if(!event.composed&&this===nodeRoot(event._path[0].item)){return null}return this._host}get mode(){return this._mode}get host(){return this._host}get innerHTML(){return fragmentSerialization(this,{requireWellFormed:true,globalObject:this._globalObject})}set innerHTML(markup){const fragment=parseFragment(markup,this._host);this._replaceAll(fragment)}}mixin(ShadowRootImpl.prototype,DocumentOrShadowRootImpl.prototype);module.exports={implementation:ShadowRootImpl}},{"../../browser/parser":340,"../../utils":766,"../domparsing/serialization.js":363,"../helpers/node":600,"./DocumentFragment-impl":641,"./DocumentOrShadowRoot-impl":642}],734:[function(require,module,exports){"use strict";const{findSlot:findSlot,assignSlot:assignSlot,assignSlotable:assignSlotable}=require("../helpers/shadow-dom");class SlotableMixinImpl{_initSlotableMixin(){this._slotableName=""}_attrModifiedSlotableMixin(name,value,oldValue){if(name==="slot"){if(value===oldValue){return}if(value===null&&oldValue===""){return}if(value===""&&oldValue===null){return}if(value===null||value===""){this._slotableName=""}else{this._slotableName=value}if(this._assignedSlot){assignSlotable(this._assignedSlot)}assignSlot(this)}}get assignedSlot(){return findSlot(this,"open")}}module.exports={implementation:SlotableMixinImpl}},{"../helpers/shadow-dom":605}],735:[function(require,module,exports){"use strict";const SlotableMixinImpl=require("./Slotable-impl").implementation;const CharacterDataImpl=require("./CharacterData-impl").implementation;const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const DOMException=require("domexception/webidl2js-wrapper");const NODE_TYPE=require("../node-type");const{mixin:mixin}=require("../../utils");class TextImpl extends CharacterDataImpl{constructor(globalObject,args,privateData){super(globalObject,args,{data:args[0],...privateData});this._initSlotableMixin();this.nodeType=NODE_TYPE.TEXT_NODE}splitText(offset){const{length:length}=this;if(offset>length){throw DOMException.create(this._globalObject,["The index is not in the allowed range.","IndexSizeError"])}const count=length-offset;const newData=this.substringData(offset,count);const newNode=this._ownerDocument.createTextNode(newData);const parent=domSymbolTree.parent(this);if(parent!==null){parent._insert(newNode,this.nextSibling);for(const range of this._referencedRanges){const{_start:_start,_end:_end}=range;if(_start.node===this&&_start.offset>offset){range._setLiveRangeStart(newNode,_start.offset-offset)}if(_end.node===this&&_end.offset>offset){range._setLiveRangeEnd(newNode,_end.offset-offset)}}const nodeIndex=domSymbolTree.index(this);for(const range of parent._referencedRanges){const{_start:_start,_end:_end}=range;if(_start.node===parent&&_start.offset===nodeIndex+1){range._setLiveRangeStart(parent,_start.offset+1)}if(_end.node===parent&&_end.offset===nodeIndex+1){range._setLiveRangeEnd(parent,_end.offset+1)}}}this.replaceData(offset,count,"");return newNode}get wholeText(){let wholeText=this.textContent;let next;let current=this;while((next=domSymbolTree.previousSibling(current))&&next.nodeType===NODE_TYPE.TEXT_NODE){wholeText=next.textContent+wholeText;current=next}current=this;while((next=domSymbolTree.nextSibling(current))&&next.nodeType===NODE_TYPE.TEXT_NODE){wholeText+=next.textContent;current=next}return wholeText}}mixin(TextImpl.prototype,SlotableMixinImpl.prototype);module.exports={implementation:TextImpl}},{"../../utils":766,"../helpers/internal-constants":596,"../node-type":631,"./CharacterData-impl":634,"./Slotable-impl":734,"domexception/webidl2js-wrapper":213}],736:[function(require,module,exports){"use strict";const{createEventAccessor:createEventAccessor}=require("../helpers/create-event-accessor");const events=new Set(["afterprint","beforeprint","beforeunload","hashchange","languagechange","message","messageerror","offline","online","pagehide","pageshow","popstate","rejectionhandled","storage","unhandledrejection","unload","blur","error","focus","load","resize","scroll"]);class WindowEventHandlersImpl{_proxyWindowEventsToWindow(){this._getEventHandlerTarget=event=>{if(events.has(event)){return this.ownerDocument.defaultView||null}return this}}}for(const event of events){createEventAccessor(WindowEventHandlersImpl.prototype,event)}module.exports={implementation:WindowEventHandlersImpl}},{"../helpers/create-event-accessor":587}],737:[function(require,module,exports){"use strict";const DocumentImpl=require("./Document-impl").implementation;exports.implementation=class XMLDocumentImpl extends DocumentImpl{}},{"./Document-impl":640}],738:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const MessageEvent=require("./generated/MessageEvent");const idlUtils=require("./generated/utils");const{isValidTargetOrigin:isValidTargetOrigin}=require("../utils");const{fireAnEvent:fireAnEvent}=require("./helpers/events");module.exports=function(globalObject){return function(message,targetOrigin){if(arguments.length<2){throw new TypeError("'postMessage' requires 2 arguments: 'message' and 'targetOrigin'")}targetOrigin=String(targetOrigin);if(!isValidTargetOrigin(targetOrigin)){throw DOMException.create(globalObject,["Failed to execute 'postMessage' on 'Window': "+"Invalid target origin '"+targetOrigin+"' in a call to 'postMessage'.","SyntaxError"])}if(targetOrigin!=="*"&&targetOrigin!==idlUtils.implForWrapper(globalObject._document)._origin){return}setTimeout(()=>{fireAnEvent("message",this,MessageEvent,{data:message})},0)}}},{"../utils":766,"./generated/MessageEvent":521,"./generated/utils":584,"./helpers/events":592,"domexception/webidl2js-wrapper":213}],739:[function(require,module,exports){"use strict";class AbstractRangeImpl{constructor(globalObject,args,privateData){const{start:start,end:end}=privateData;this._start=start;this._end=end;this._globalObject=globalObject}get startContainer(){return this._start.node}get startOffset(){return this._start.offset}get endContainer(){return this._end.node}get endOffset(){return this._end.offset}get collapsed(){const{_start:_start,_end:_end}=this;return _start.node===_end.node&&_start.offset===_end.offset}}module.exports={implementation:AbstractRangeImpl}},{}],740:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const{clone:clone}=require("../node");const NODE_TYPE=require("../node-type");const{parseFragment:parseFragment}=require("../../browser/parser/index");const{HTML_NS:HTML_NS}=require("../helpers/namespaces");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{compareBoundaryPointsPosition:compareBoundaryPointsPosition}=require("./boundary-point");const{nodeRoot:nodeRoot,nodeLength:nodeLength,isInclusiveAncestor:isInclusiveAncestor}=require("../helpers/node");const{createElement:createElement}=require("../helpers/create-element");const AbstractRangeImpl=require("./AbstractRange-impl").implementation;const Range=require("../generated/Range");const DocumentFragment=require("../generated/DocumentFragment");const{implForWrapper:implForWrapper}=require("../generated/utils");const RANGE_COMPARISON_TYPE={START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3};class RangeImpl extends AbstractRangeImpl{constructor(globalObject,args,privateData){super(globalObject,args,privateData);const defaultBoundaryPoint={node:implForWrapper(globalObject._document),offset:0};const{start:start=defaultBoundaryPoint,end:end=defaultBoundaryPoint}=privateData;this._setLiveRangeStart(start.node,start.offset);this._setLiveRangeEnd(end.node,end.offset)}get commonAncestorContainer(){const{_start:_start,_end:_end}=this;for(const container of domSymbolTree.ancestorsIterator(_start.node)){if(isInclusiveAncestor(container,_end.node)){return container}}return null}setStart(node,offset){setBoundaryPointStart(this,node,offset)}setEnd(node,offset){setBoundaryPointEnd(this,node,offset)}setStartBefore(node){const parent=domSymbolTree.parent(node);if(!parent){throw DOMException.create(this._globalObject,["The given Node has no parent.","InvalidNodeTypeError"])}setBoundaryPointStart(this,parent,domSymbolTree.index(node))}setStartAfter(node){const parent=domSymbolTree.parent(node);if(!parent){throw DOMException.create(this._globalObject,["The given Node has no parent.","InvalidNodeTypeError"])}setBoundaryPointStart(this,parent,domSymbolTree.index(node)+1)}setEndBefore(node){const parent=domSymbolTree.parent(node);if(!parent){throw DOMException.create(this._globalObject,["The given Node has no parent.","InvalidNodeTypeError"])}setBoundaryPointEnd(this,parent,domSymbolTree.index(node))}setEndAfter(node){const parent=domSymbolTree.parent(node);if(!parent){throw DOMException.create(this._globalObject,["The given Node has no parent.","InvalidNodeTypeError"])}setBoundaryPointEnd(this,parent,domSymbolTree.index(node)+1)}collapse(toStart){if(toStart){this._setLiveRangeEnd(this._start.node,this._start.offset)}else{this._setLiveRangeStart(this._end.node,this._end.offset)}}selectNode(node){selectNodeWithinRange(node,this)}selectNodeContents(node){if(node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE){throw DOMException.create(this._globalObject,["DocumentType Node can't be used as boundary point.","InvalidNodeTypeError"])}const length=nodeLength(node);this._setLiveRangeStart(node,0);this._setLiveRangeEnd(node,length)}compareBoundaryPoints(how,sourceRange){if(how!==RANGE_COMPARISON_TYPE.START_TO_START&&how!==RANGE_COMPARISON_TYPE.START_TO_END&&how!==RANGE_COMPARISON_TYPE.END_TO_END&&how!==RANGE_COMPARISON_TYPE.END_TO_START){const message="The comparison method provided must be one of 'START_TO_START', 'START_TO_END', 'END_TO_END', "+"or 'END_TO_START'.";throw DOMException.create(this._globalObject,[message,"NotSupportedError"])}if(this._root!==sourceRange._root){throw DOMException.create(this._globalObject,["The two Ranges are not in the same tree.","WrongDocumentError"])}let thisPoint;let otherPoint;if(how===RANGE_COMPARISON_TYPE.START_TO_START){thisPoint=this._start;otherPoint=sourceRange._start}else if(how===RANGE_COMPARISON_TYPE.START_TO_END){thisPoint=this._end;otherPoint=sourceRange._start}else if(how===RANGE_COMPARISON_TYPE.END_TO_END){thisPoint=this._end;otherPoint=sourceRange._end}else{thisPoint=this._start;otherPoint=sourceRange._end}return compareBoundaryPointsPosition(thisPoint,otherPoint)}deleteContents(){if(this.collapsed){return}const{_start:originalStart,_end:originalEnd}=this;if(originalStart.node===originalEnd.node&&(originalStart.node.nodeType===NODE_TYPE.TEXT_NODE||originalStart.node.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||originalStart.node.nodeType===NODE_TYPE.COMMENT_NODE)){originalStart.node.replaceData(originalStart.offset,originalEnd.offset-originalStart.offset,"");return}const nodesToRemove=[];let currentNode=this._start.node;const endNode=nextNodeDescendant(this._end.node);while(currentNode&¤tNode!==endNode){if(isContained(currentNode,this)&&!isContained(domSymbolTree.parent(currentNode),this)){nodesToRemove.push(currentNode)}currentNode=domSymbolTree.following(currentNode)}let newNode;let newOffset;if(isInclusiveAncestor(originalStart.node,originalEnd.node)){newNode=originalStart.node;newOffset=originalStart.offset}else{let referenceNode=originalStart.node;while(referenceNode&&!isInclusiveAncestor(domSymbolTree.parent(referenceNode),originalEnd.node)){referenceNode=domSymbolTree.parent(referenceNode)}newNode=domSymbolTree.parent(referenceNode);newOffset=domSymbolTree.index(referenceNode)+1}if(originalStart.node.nodeType===NODE_TYPE.TEXT_NODE||originalStart.node.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||originalStart.node.nodeType===NODE_TYPE.COMMENT_NODE){originalStart.node.replaceData(originalStart.offset,nodeLength(originalStart.node)-originalStart.offset,"")}for(const node of nodesToRemove){const parent=domSymbolTree.parent(node);parent.removeChild(node)}if(originalEnd.node.nodeType===NODE_TYPE.TEXT_NODE||originalEnd.node.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||originalEnd.node.nodeType===NODE_TYPE.COMMENT_NODE){originalEnd.node.replaceData(0,originalEnd.offset,"")}this._setLiveRangeStart(newNode,newOffset);this._setLiveRangeEnd(newNode,newOffset)}extractContents(){return extractRange(this)}cloneContents(){return cloneRange(this)}insertNode(node){insertNodeInRange(node,this)}surroundContents(newParent){let node=this.commonAncestorContainer;const endNode=nextNodeDescendant(node);while(node!==endNode){if(node.nodeType!==NODE_TYPE.TEXT_NODE&&isPartiallyContained(node,this)){throw DOMException.create(this._globalObject,["The Range has partially contains a non-Text node.","InvalidStateError"])}node=domSymbolTree.following(node)}if(newParent.nodeType===NODE_TYPE.DOCUMENT_NODE||newParent.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||newParent.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE){throw DOMException.create(this._globalObject,["Invalid element type.","InvalidNodeTypeError"])}const fragment=extractRange(this);while(domSymbolTree.firstChild(newParent)){newParent.removeChild(domSymbolTree.firstChild(newParent))}insertNodeInRange(newParent,this);newParent.appendChild(fragment);selectNodeWithinRange(newParent,this)}cloneRange(){const{_start:_start,_end:_end,_globalObject:_globalObject}=this;return Range.createImpl(_globalObject,[],{start:{node:_start.node,offset:_start.offset},end:{node:_end.node,offset:_end.offset}})}detach(){}isPointInRange(node,offset){if(nodeRoot(node)!==this._root){return false}validateSetBoundaryPoint(node,offset);const bp={node:node,offset:offset};if(compareBoundaryPointsPosition(bp,this._start)===-1||compareBoundaryPointsPosition(bp,this._end)===1){return false}return true}comparePoint(node,offset){if(nodeRoot(node)!==this._root){throw DOMException.create(this._globalObject,["The given Node and the Range are not in the same tree.","WrongDocumentError"])}validateSetBoundaryPoint(node,offset);const bp={node:node,offset:offset};if(compareBoundaryPointsPosition(bp,this._start)===-1){return-1}else if(compareBoundaryPointsPosition(bp,this._end)===1){return 1}return 0}intersectsNode(node){if(nodeRoot(node)!==this._root){return false}const parent=domSymbolTree.parent(node);if(!parent){return true}const offset=domSymbolTree.index(node);return compareBoundaryPointsPosition({node:parent,offset:offset},this._end)===-1&&compareBoundaryPointsPosition({node:parent,offset:offset+1},this._start)===1}toString(){let s="";const{_start:_start,_end:_end}=this;if(_start.node===_end.node&&_start.node.nodeType===NODE_TYPE.TEXT_NODE){return _start.node.data.slice(_start.offset,_end.offset)}if(_start.node.nodeType===NODE_TYPE.TEXT_NODE){s+=_start.node.data.slice(_start.offset)}let currentNode=_start.node;const endNode=nextNodeDescendant(_end.node);while(currentNode&¤tNode!==endNode){if(currentNode.nodeType===NODE_TYPE.TEXT_NODE&&isContained(currentNode,this)){s+=currentNode.data}currentNode=domSymbolTree.following(currentNode)}if(_end.node.nodeType===NODE_TYPE.TEXT_NODE){s+=_end.node.data.slice(0,_end.offset)}return s}createContextualFragment(fragment){const{node:node}=this._start;let element;switch(node.nodeType){case NODE_TYPE.DOCUMENT_NODE:case NODE_TYPE.DOCUMENT_FRAGMENT_NODE:element=null;break;case NODE_TYPE.ELEMENT_NODE:element=node;break;case NODE_TYPE.TEXT_NODE:case NODE_TYPE.COMMENT_NODE:element=node.parentElement;break;default:throw new Error("Internal error: Invalid range start node")}if(element===null||element._ownerDocument._parsingMode==="html"&&element._localName==="html"&&element._namespaceURI===HTML_NS){element=createElement(node._ownerDocument,"body",HTML_NS)}return parseFragment(fragment,element)}get _root(){return nodeRoot(this._start.node)}_setLiveRangeStart(node,offset){if(this._start&&this._start.node!==node){this._start.node._referencedRanges.delete(this)}if(!node._referencedRanges.has(this)){node._referencedRanges.add(this)}this._start={node:node,offset:offset}}_setLiveRangeEnd(node,offset){if(this._end&&this._end.node!==node){this._end.node._referencedRanges.delete(this)}if(!node._referencedRanges.has(this)){node._referencedRanges.add(this)}this._end={node:node,offset:offset}}}function nextNodeDescendant(node){while(node&&!domSymbolTree.nextSibling(node)){node=domSymbolTree.parent(node)}if(!node){return null}return domSymbolTree.nextSibling(node)}function validateSetBoundaryPoint(node,offset){if(node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE){throw DOMException.create(node._globalObject,["DocumentType Node can't be used as boundary point.","InvalidNodeTypeError"])}if(offset>nodeLength(node)){throw DOMException.create(node._globalObject,["Offset out of bound.","IndexSizeError"])}}function setBoundaryPointStart(range,node,offset){validateSetBoundaryPoint(node,offset);const bp={node:node,offset:offset};if(nodeRoot(node)!==range._root||compareBoundaryPointsPosition(bp,range._end)===1){range._setLiveRangeEnd(node,offset)}range._setLiveRangeStart(node,offset)}function setBoundaryPointEnd(range,node,offset){validateSetBoundaryPoint(node,offset);const bp={node:node,offset:offset};if(nodeRoot(node)!==range._root||compareBoundaryPointsPosition(bp,range._start)===-1){range._setLiveRangeStart(node,offset)}range._setLiveRangeEnd(node,offset)}function selectNodeWithinRange(node,range){const parent=domSymbolTree.parent(node);if(!parent){throw DOMException.create(node._globalObject,["The given Node has no parent.","InvalidNodeTypeError"])}const index=domSymbolTree.index(node);range._setLiveRangeStart(parent,index);range._setLiveRangeEnd(parent,index+1)}function isContained(node,range){const{_start:_start,_end:_end}=range;return compareBoundaryPointsPosition({node:node,offset:0},_start)===1&&compareBoundaryPointsPosition({node:node,offset:nodeLength(node)},_end)===-1}function isPartiallyContained(node,range){const{_start:_start,_end:_end}=range;return isInclusiveAncestor(node,_start.node)&&!isInclusiveAncestor(node,_end.node)||!isInclusiveAncestor(node,_start.node)&&isInclusiveAncestor(node,_end.node)}function insertNodeInRange(node,range){const{node:startNode,offset:startOffset}=range._start;if(startNode.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||startNode.nodeType===NODE_TYPE.COMMENT_NODE||startNode.nodeType===NODE_TYPE.TEXT_NODE&&!domSymbolTree.parent(startNode)||node===startNode){throw DOMException.create(node._globalObject,["Invalid start node.","HierarchyRequestError"])}let referenceNode=startNode.nodeType===NODE_TYPE.TEXT_NODE?startNode:domSymbolTree.childrenToArray(startNode)[startOffset]||null;const parent=!referenceNode?startNode:domSymbolTree.parent(referenceNode);parent._preInsertValidity(node,referenceNode);if(startNode.nodeType===NODE_TYPE.TEXT_NODE){referenceNode=startNode.splitText(startOffset)}if(node===referenceNode){referenceNode=domSymbolTree.nextSibling(referenceNode)}const nodeParent=domSymbolTree.parent(node);if(nodeParent){nodeParent.removeChild(node)}let newOffset=!referenceNode?nodeLength(parent):domSymbolTree.index(referenceNode);newOffset+=node.nodeType===NODE_TYPE.DOCUMENT_FRAGMENT_NODE?nodeLength(node):1;parent.insertBefore(node,referenceNode);if(range.collapsed){range._setLiveRangeEnd(parent,newOffset)}}function cloneRange(range){const{_start:originalStart,_end:originalEnd,_globalObject:_globalObject}=range;const fragment=DocumentFragment.createImpl(_globalObject,[],{ownerDocument:originalStart.node._ownerDocument});if(range.collapsed){return fragment}if(originalStart.node===originalEnd.node&&(originalStart.node.nodeType===NODE_TYPE.TEXT_NODE||originalStart.node.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||originalStart.node.nodeType===NODE_TYPE.COMMENT_NODE)){const cloned=clone(originalStart.node);cloned._data=cloned.substringData(originalStart.offset,originalEnd.offset-originalStart.offset);fragment.appendChild(cloned);return fragment}let commonAncestor=originalStart.node;while(!isInclusiveAncestor(commonAncestor,originalEnd.node)){commonAncestor=domSymbolTree.parent(commonAncestor)}let firstPartialContainedChild=null;if(!isInclusiveAncestor(originalStart.node,originalEnd.node)){let candidate=domSymbolTree.firstChild(commonAncestor);while(!firstPartialContainedChild){if(isPartiallyContained(candidate,range)){firstPartialContainedChild=candidate}candidate=domSymbolTree.nextSibling(candidate)}}let lastPartiallyContainedChild=null;if(!isInclusiveAncestor(originalEnd.node,originalStart.node)){let candidate=domSymbolTree.lastChild(commonAncestor);while(!lastPartiallyContainedChild){if(isPartiallyContained(candidate,range)){lastPartiallyContainedChild=candidate}candidate=domSymbolTree.previousSibling(candidate)}}const containedChildren=domSymbolTree.childrenToArray(commonAncestor).filter(node=>isContained(node,range));const hasDoctypeChildren=containedChildren.some(node=>node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE);if(hasDoctypeChildren){throw DOMException.create(range._globalObject,["Invalid document type element.","HierarchyRequestError"])}if(firstPartialContainedChild!==null&&(firstPartialContainedChild.nodeType===NODE_TYPE.TEXT_NODE||firstPartialContainedChild.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||firstPartialContainedChild.nodeType===NODE_TYPE.COMMENT_NODE)){const cloned=clone(originalStart.node);cloned._data=cloned.substringData(originalStart.offset,nodeLength(originalStart.node)-originalStart.offset);fragment.appendChild(cloned)}else if(firstPartialContainedChild!==null){const cloned=clone(firstPartialContainedChild);fragment.appendChild(cloned);const subrange=Range.createImpl(_globalObject,[],{start:{node:originalStart.node,offset:originalStart.offset},end:{node:firstPartialContainedChild,offset:nodeLength(firstPartialContainedChild)}});const subfragment=cloneRange(subrange);cloned.appendChild(subfragment)}for(const containedChild of containedChildren){const cloned=clone(containedChild,undefined,true);fragment.appendChild(cloned)}if(lastPartiallyContainedChild!==null&&(lastPartiallyContainedChild.nodeType===NODE_TYPE.TEXT_NODE||lastPartiallyContainedChild.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||lastPartiallyContainedChild.nodeType===NODE_TYPE.COMMENT_NODE)){const cloned=clone(originalEnd.node);cloned._data=cloned.substringData(0,originalEnd.offset);fragment.appendChild(cloned)}else if(lastPartiallyContainedChild!==null){const cloned=clone(lastPartiallyContainedChild);fragment.appendChild(cloned);const subrange=Range.createImpl(_globalObject,[],{start:{node:lastPartiallyContainedChild,offset:0},end:{node:originalEnd.node,offset:originalEnd.offset}});const subfragment=cloneRange(subrange);cloned.appendChild(subfragment)}return fragment}function extractRange(range){const{_start:originalStart,_end:originalEnd,_globalObject:_globalObject}=range;const fragment=DocumentFragment.createImpl(_globalObject,[],{ownerDocument:originalStart.node._ownerDocument});if(range.collapsed){return fragment}if(originalStart.node===originalEnd.node&&(originalStart.node.nodeType===NODE_TYPE.TEXT_NODE||originalStart.node.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||originalStart.node.nodeType===NODE_TYPE.COMMENT_NODE)){const cloned=clone(originalStart.node);cloned._data=cloned.substringData(originalStart.offset,originalEnd.offset-originalStart.offset);fragment.appendChild(cloned);originalStart.node.replaceData(originalStart.offset,originalEnd.offset-originalStart.offset,"");return fragment}let commonAncestor=originalStart.node;while(!isInclusiveAncestor(commonAncestor,originalEnd.node)){commonAncestor=domSymbolTree.parent(commonAncestor)}let firstPartialContainedChild=null;if(!isInclusiveAncestor(originalStart.node,originalEnd.node)){let candidate=domSymbolTree.firstChild(commonAncestor);while(!firstPartialContainedChild){if(isPartiallyContained(candidate,range)){firstPartialContainedChild=candidate}candidate=domSymbolTree.nextSibling(candidate)}}let lastPartiallyContainedChild=null;if(!isInclusiveAncestor(originalEnd.node,originalStart.node)){let candidate=domSymbolTree.lastChild(commonAncestor);while(!lastPartiallyContainedChild){if(isPartiallyContained(candidate,range)){lastPartiallyContainedChild=candidate}candidate=domSymbolTree.previousSibling(candidate)}}const containedChildren=domSymbolTree.childrenToArray(commonAncestor).filter(node=>isContained(node,range));const hasDoctypeChildren=containedChildren.some(node=>node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE);if(hasDoctypeChildren){throw DOMException.create(range._globalObject,["Invalid document type element.","HierarchyRequestError"])}let newNode;let newOffset;if(isInclusiveAncestor(originalStart.node,originalEnd.node)){newNode=originalStart.node;newOffset=originalStart.offset}else{let referenceNode=originalStart.node;while(referenceNode&&!isInclusiveAncestor(domSymbolTree.parent(referenceNode),originalEnd.node)){referenceNode=domSymbolTree.parent(referenceNode)}newNode=domSymbolTree.parent(referenceNode);newOffset=domSymbolTree.index(referenceNode)+1}if(firstPartialContainedChild!==null&&(firstPartialContainedChild.nodeType===NODE_TYPE.TEXT_NODE||firstPartialContainedChild.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||firstPartialContainedChild.nodeType===NODE_TYPE.COMMENT_NODE)){const cloned=clone(originalStart.node);cloned._data=cloned.substringData(originalStart.offset,nodeLength(originalStart.node)-originalStart.offset);fragment.appendChild(cloned);originalStart.node.replaceData(originalStart.offset,nodeLength(originalStart.node)-originalStart.offset,"")}else if(firstPartialContainedChild!==null){const cloned=clone(firstPartialContainedChild);fragment.appendChild(cloned);const subrange=Range.createImpl(_globalObject,[],{start:{node:originalStart.node,offset:originalStart.offset},end:{node:firstPartialContainedChild,offset:nodeLength(firstPartialContainedChild)}});const subfragment=extractRange(subrange);cloned.appendChild(subfragment)}for(const containedChild of containedChildren){fragment.appendChild(containedChild)}if(lastPartiallyContainedChild!==null&&(lastPartiallyContainedChild.nodeType===NODE_TYPE.TEXT_NODE||lastPartiallyContainedChild.nodeType===NODE_TYPE.PROCESSING_INSTRUCTION_NODE||lastPartiallyContainedChild.nodeType===NODE_TYPE.COMMENT_NODE)){const cloned=clone(originalEnd.node);cloned._data=cloned.substringData(0,originalEnd.offset);fragment.appendChild(cloned);originalEnd.node.replaceData(0,originalEnd.offset,"")}else if(lastPartiallyContainedChild!==null){const cloned=clone(lastPartiallyContainedChild);fragment.appendChild(cloned);const subrange=Range.createImpl(_globalObject,[],{start:{node:lastPartiallyContainedChild,offset:0},end:{node:originalEnd.node,offset:originalEnd.offset}});const subfragment=extractRange(subrange);cloned.appendChild(subfragment)}range._setLiveRangeStart(newNode,newOffset);range._setLiveRangeEnd(newNode,newOffset);return fragment}module.exports={implementation:RangeImpl,setBoundaryPointStart:setBoundaryPointStart,setBoundaryPointEnd:setBoundaryPointEnd}},{"../../browser/parser/index":340,"../generated/DocumentFragment":416,"../generated/Range":546,"../generated/utils":584,"../helpers/create-element":586,"../helpers/internal-constants":596,"../helpers/namespaces":599,"../helpers/node":600,"../node":632,"../node-type":631,"./AbstractRange-impl":739,"./boundary-point":742,"domexception/webidl2js-wrapper":213}],741:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const NODE_TYPE=require("../node-type");const AbstractRangeImpl=require("./AbstractRange-impl").implementation;class StaticRangeImpl extends AbstractRangeImpl{constructor(globalObject,args){const{startContainer:startContainer,startOffset:startOffset,endContainer:endContainer,endOffset:endOffset}=args[0];if(startContainer.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||startContainer.nodeType===NODE_TYPE.ATTRIBUTE_NODE||endContainer.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE||endContainer.nodeType===NODE_TYPE.ATTRIBUTE_NODE){throw DOMException.create(globalObject,["The supplied node is incorrect.","InvalidNodeTypeError"])}super(globalObject,[],{start:{node:startContainer,offset:startOffset},end:{node:endContainer,offset:endOffset}})}}module.exports={implementation:StaticRangeImpl}},{"../node-type":631,"./AbstractRange-impl":739,"domexception/webidl2js-wrapper":213}],742:[function(require,module,exports){"use strict";const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{nodeRoot:nodeRoot,isFollowing:isFollowing,isInclusiveAncestor:isInclusiveAncestor}=require("../helpers/node");function compareBoundaryPointsPosition(bpA,bpB){const{node:nodeA,offset:offsetA}=bpA;const{node:nodeB,offset:offsetB}=bpB;if(nodeRoot(nodeA)!==nodeRoot(nodeB)){throw new Error(`Internal Error: Boundary points should have the same root!`)}if(nodeA===nodeB){if(offsetA===offsetB){return 0}else if(offsetA<offsetB){return-1}return 1}if(isFollowing(nodeA,nodeB)){return compareBoundaryPointsPosition(bpB,bpA)===-1?1:-1}if(isInclusiveAncestor(nodeA,nodeB)){let child=nodeB;while(domSymbolTree.parent(child)!==nodeA){child=domSymbolTree.parent(child)}if(domSymbolTree.index(child)<offsetA){return 1}}return-1}module.exports={compareBoundaryPointsPosition:compareBoundaryPointsPosition}},{"../helpers/internal-constants":596,"../helpers/node":600}],743:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const NODE_TYPE=require("../node-type");const{nodeLength:nodeLength,nodeRoot:nodeRoot}=require("../helpers/node");const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{compareBoundaryPointsPosition:compareBoundaryPointsPosition}=require("../range/boundary-point");const{setBoundaryPointStart:setBoundaryPointStart,setBoundaryPointEnd:setBoundaryPointEnd}=require("../range/Range-impl");const Range=require("../generated/Range");const{implForWrapper:implForWrapper}=require("../generated/utils");const SELECTION_DIRECTION={FORWARDS:1,BACKWARDS:-1,DIRECTIONLESS:0};class SelectionImpl{constructor(globalObject){this._range=null;this._direction=SELECTION_DIRECTION.DIRECTIONLESS;this._globalObject=globalObject}get anchorNode(){const anchor=this._anchor;return anchor?anchor.node:null}get anchorOffset(){const anchor=this._anchor;return anchor?anchor.offset:0}get focusNode(){const focus=this._focus;return focus?focus.node:null}get focusOffset(){const focus=this._focus;return focus?focus.offset:0}get isCollapsed(){return this._range===null||this._range.collapsed}get rangeCount(){return this._isEmpty()?0:1}get type(){if(this._isEmpty()){return"None"}else if(this._range.collapsed){return"Caret"}return"Range"}getRangeAt(index){if(index!==0||this._isEmpty()){throw DOMException.create(this._globalObject,["Invalid range index.","IndexSizeError"])}return this._range}addRange(range){if(range._root===implForWrapper(this._globalObject._document)&&this.rangeCount===0){this._associateRange(range)}}removeRange(range){if(range!==this._range){throw DOMException.create(this._globalObject,["Invalid range.","NotFoundError"])}this._associateRange(null)}removeAllRanges(){this._associateRange(null)}empty(){this.removeAllRanges()}collapse(node,offset){if(node===null){this.removeAllRanges();return}if(node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE){throw DOMException.create(this._globalObject,["DocumentType Node can't be used as boundary point.","InvalidNodeTypeError"])}if(offset>nodeLength(node)){throw DOMException.create(this._globalObject,["Invalid range index.","IndexSizeError"])}if(nodeRoot(node)!==implForWrapper(this._globalObject._document)){return}const newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:0},end:{node:node,offset:0}});setBoundaryPointStart(newRange,node,offset);setBoundaryPointEnd(newRange,node,offset);this._associateRange(newRange)}setPosition(node,offset){this.collapse(node,offset)}collapseToStart(){if(this._isEmpty()){throw DOMException.create(this._globalObject,["There is no selection to collapse.","InvalidStateError"])}const{node:node,offset:offset}=this._range._start;const newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:offset},end:{node:node,offset:offset}});this._associateRange(newRange)}collapseToEnd(){if(this._isEmpty()){throw DOMException.create(this._globalObject,["There is no selection to collapse.","InvalidStateError"])}const{node:node,offset:offset}=this._range._end;const newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:offset},end:{node:node,offset:offset}});this._associateRange(newRange)}extend(node,offset){if(nodeRoot(node)!==implForWrapper(this._globalObject._document)){return}if(this._isEmpty()){throw DOMException.create(this._globalObject,["There is no selection to extend.","InvalidStateError"])}const{_anchor:oldAnchor}=this;const newFocus={node:node,offset:offset};const newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:0},end:{node:node,offset:0}});if(nodeRoot(node)!==this._range._root){setBoundaryPointStart(newRange,newFocus.node,newFocus.offset);setBoundaryPointEnd(newRange,newFocus.node,newFocus.offset)}else if(compareBoundaryPointsPosition(oldAnchor,newFocus)<=0){setBoundaryPointStart(newRange,oldAnchor.node,oldAnchor.offset);setBoundaryPointEnd(newRange,newFocus.node,newFocus.offset)}else{setBoundaryPointStart(newRange,newFocus.node,newFocus.offset);setBoundaryPointEnd(newRange,oldAnchor.node,oldAnchor.offset)}this._associateRange(newRange);this._direction=compareBoundaryPointsPosition(newFocus,oldAnchor)===-1?SELECTION_DIRECTION.BACKWARDS:SELECTION_DIRECTION.FORWARDS}setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset){if(anchorOffset>nodeLength(anchorNode)||focusOffset>nodeLength(focusNode)){throw DOMException.create(this._globalObject,["Invalid anchor or focus offset.","IndexSizeError"])}const document=implForWrapper(this._globalObject._document);if(document!==nodeRoot(anchorNode)||document!==nodeRoot(focusNode)){return}const anchor={node:anchorNode,offset:anchorOffset};const focus={node:focusNode,offset:focusOffset};let newRange;if(compareBoundaryPointsPosition(anchor,focus)===-1){newRange=Range.createImpl(this._globalObject,[],{start:{node:anchor.node,offset:anchor.offset},end:{node:focus.node,offset:focus.offset}})}else{newRange=Range.createImpl(this._globalObject,[],{start:{node:focus.node,offset:focus.offset},end:{node:anchor.node,offset:anchor.offset}})}this._associateRange(newRange);this._direction=compareBoundaryPointsPosition(focus,anchor)===-1?SELECTION_DIRECTION.BACKWARDS:SELECTION_DIRECTION.FORWARDS}selectAllChildren(node){if(node.nodeType===NODE_TYPE.DOCUMENT_TYPE_NODE){throw DOMException.create(this._globalObject,["DocumentType Node can't be used as boundary point.","InvalidNodeTypeError"])}const document=implForWrapper(this._globalObject._document);if(document!==nodeRoot(node)){return}const length=domSymbolTree.childrenCount(node);const newRange=Range.createImpl(this._globalObject,[],{start:{node:node,offset:0},end:{node:node,offset:0}});setBoundaryPointStart(newRange,node,0);setBoundaryPointEnd(newRange,node,length);this._associateRange(newRange)}deleteFromDocument(){if(!this._isEmpty()){this._range.deleteContents()}}containsNode(node,allowPartialContainment){if(this._isEmpty()||nodeRoot(node)!==implForWrapper(this._globalObject._document)){return false}const{_start:_start,_end:_end}=this._range;const startIsBeforeNode=compareBoundaryPointsPosition(_start,{node:node,offset:0})===-1;const endIsAfterNode=compareBoundaryPointsPosition(_end,{node:node,offset:nodeLength(node)})===1;return allowPartialContainment?startIsBeforeNode||endIsAfterNode:startIsBeforeNode&&endIsAfterNode}toString(){return this._range?this._range.toString():""}_isEmpty(){return this._range===null}get _anchor(){if(!this._range){return null}return this._direction===SELECTION_DIRECTION.FORWARDS?this._range._start:this._range._end}get _focus(){if(!this._range){return null}return this._direction===SELECTION_DIRECTION.FORWARDS?this._range._end:this._range._start}_associateRange(newRange){this._range=newRange;this._direction=newRange===null?SELECTION_DIRECTION.DIRECTIONLESS:SELECTION_DIRECTION.FORWARDS}}module.exports={implementation:SelectionImpl}},{"../generated/Range":546,"../generated/utils":584,"../helpers/internal-constants":596,"../helpers/node":600,"../node-type":631,"../range/Range-impl":740,"../range/boundary-point":742,"domexception/webidl2js-wrapper":213}],744:[function(require,module,exports){"use strict";class SVGAnimatedStringImpl{constructor(globalObject,args,privateData){this._element=privateData.element;this._attribute=privateData.attribute;this._attributeDeprecated=privateData.attributeDeprecated;this._initialValue=privateData.initialValue}get baseVal(){if(!this._element.hasAttributeNS(null,this._attribute)){if(this._attributeDeprecated!==undefined&&this._element.hasAttributeNS(null,this._attributeDeprecated)){return this._element.getAttributeNS(null,this._attributeDeprecated)}else if(this._initialValue!==undefined){return this._initialValue}return""}return this._element.getAttributeNS(null,this._attribute)}get animVal(){return this.baseVal}set baseVal(base){if(!this._element.hasAttributeNS(null,this._attribute)&&this._attributeDeprecated!==undefined&&this._element.hasAttributeNS(null,this._attributeDeprecated)){this._element.setAttributeNS(null,this._attributeDeprecated,base)}else{this._element.setAttributeNS(null,this._attribute,base)}}}exports.implementation=SVGAnimatedStringImpl},{}],745:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const idlUtils=require("../generated/utils");const{attach:attach,detach:detach}=require("../helpers/svg/basic-types");class List{_initList({element:element,attribute:attribute,readOnly:readOnly=false}){this._element=element;this._attribute=attribute;this._attributeRegistryEntry=element.constructor.attributeRegistry.get(attribute);this._readOnly=readOnly;this._list=[];this._version=-1}get _needsResync(){return this._version<this._element._version}_synchronize(){if(!this._needsResync){return}let value=[];if(this._element.hasAttributeNS(null,this._attribute)){value=this._attributeRegistryEntry.getValue(this._element.getAttributeNS(null,this._attribute))}if(value.length===0&&this._attributeRegistryEntry.initialValue!==undefined){value=this._attributeRegistryEntry.getValue(this._attributeRegistryEntry.initialValue)}this._list=value;this._version=this._element._version}_reserialize(){const elements=this._list;this._element.setAttributeNS(null,this._attribute,this._attributeRegistryEntry.serialize(elements));this._version=this._element._version}[idlUtils.supportsPropertyIndex](index){this._synchronize();return index>=0&&index<this.length}get[idlUtils.supportedPropertyIndices](){this._synchronize();return this._list.keys()}get length(){this._synchronize();return this._list.length}get numberOfItems(){this._synchronize();return this._list.length}clear(){this._synchronize();if(this._readOnly){throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"])}for(const item of this._list){detach(item)}this._list.length=0;this._reserialize()}initialize(newItem){this._synchronize();if(this._readOnly){throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"])}for(const item of this._list){detach(item)}this._list.length=0;attach(newItem,this);this._list.push(newItem);this._reserialize()}getItem(index){this._synchronize();if(index>=this._list.length){throw DOMException.create(this._globalObject,[`The index provided (${index}) is greater than or equal to the maximum bound (${this._list.length}).`,"IndexSizeError"])}return this._list[index]}insertItemBefore(newItem,index){this._synchronize();if(this._readOnly){throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"])}if(index>this._list.length){index=this._list.length}this._list.splice(index,0,newItem);attach(newItem,this);this._reserialize();return newItem}replaceItem(newItem,index){this._synchronize();if(this._readOnly){throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"])}if(index>=this._list.length){throw DOMException.create(this._globalObject,[`The index provided (${index}) is greater than or equal to the maximum bound (${this._list.length}).`,"IndexSizeError"])}detach(this._list[index]);this._list[index]=newItem;attach(newItem,this);this._reserialize();return newItem}removeItem(index){this._synchronize();if(this._readOnly){throw DOMException.create(this._globalObject,["Attempting to modify a read-only list","NoModificationAllowedError"])}if(index>=this._list.length){throw DOMException.create(this._globalObject,[`The index provided (${index}) is greater than or equal to the maximum bound (${this._list.length}).`,"IndexSizeError"])}const item=this._list[index];detach(item);this._list.splice(index,1);this._reserialize();return item}appendItem(newItem){this._synchronize();this._list.push(newItem);attach(newItem,this);this._reserialize();return newItem}[idlUtils.indexedSetNew](index,value){this.replaceItem(value,index)}[idlUtils.indexedSetExisting](index,value){this.replaceItem(value,index)}}module.exports=List},{"../generated/utils":584,"../helpers/svg/basic-types":609,"domexception/webidl2js-wrapper":213}],746:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");class SVGNumberImpl{constructor(globalObject,args,privateData){this._parentList=privateData.parentList;this._value=0}get _readOnly(){if(this._parentList!==undefined){return this._parentList._readOnly}return false}_synchronize(){if(this._parentList!==undefined){this._parentList._synchronize()}}_reserialize(){if(this._parentList!==undefined){this._parentList._reserialize()}}get value(){this._synchronize();return this._value}set value(value){if(this._readOnly){throw DOMException.create(this._globalObject,["Attempting to modify a read-only SVGNumber","NoModificationAllowedError"])}this._value=value;this._reserialize()}}exports.implementation=SVGNumberImpl},{"domexception/webidl2js-wrapper":213}],747:[function(require,module,exports){"use strict";const{mixin:mixin}=require("../../utils");const SVGListBase=require("./SVGListBase");class SVGStringListImpl{constructor(globalObject,args,privateData){this._globalObject=globalObject;this._initList(privateData)}}mixin(SVGStringListImpl.prototype,SVGListBase.prototype);exports.implementation=SVGStringListImpl},{"../../utils":766,"./SVGListBase":745}],748:[function(require,module,exports){"use strict";const{domSymbolTree:domSymbolTree}=require("../helpers/internal-constants");const{filter:filter,FILTER_ACCEPT:FILTER_ACCEPT}=require("./helpers");exports.implementation=class NodeIteratorImpl{constructor(globalObject,args,privateData){this._active=false;this.root=privateData.root;this.whatToShow=privateData.whatToShow;this.filter=privateData.filter;this._referenceNode=this.root;this._pointerBeforeReferenceNode=true;this._working=true;this._workingNodeIteratorsMax=privateData.workingNodeIteratorsMax;this._globalObject=globalObject}get referenceNode(){this._throwIfNotWorking();return this._referenceNode}get pointerBeforeReferenceNode(){this._throwIfNotWorking();return this._pointerBeforeReferenceNode}nextNode(){this._throwIfNotWorking();return this._traverse("next")}previousNode(){this._throwIfNotWorking();return this._traverse("previous")}detach(){}_preRemovingSteps(toBeRemovedNode){if(!toBeRemovedNode.contains(this._referenceNode)||toBeRemovedNode===this.root){return}if(this._pointerBeforeReferenceNode){let next=null;let candidateForNext=domSymbolTree.following(toBeRemovedNode,{skipChildren:true});while(candidateForNext!==null){if(this.root.contains(candidateForNext)){next=candidateForNext;break}candidateForNext=domSymbolTree.following(candidateForNext,{skipChildren:true})}if(next!==null){this._referenceNode=next;return}this._pointerBeforeReferenceNode=false}const{previousSibling:previousSibling}=toBeRemovedNode;this._referenceNode=previousSibling===null?toBeRemovedNode.parentNode:domSymbolTree.lastInclusiveDescendant(toBeRemovedNode.previousSibling)}_throwIfNotWorking(){if(!this._working){throw Error(`This NodeIterator is no longer working. More than ${this._workingNodeIteratorsMax} iterators are `+`being used concurrently. You can increase the 'concurrentNodeIterators' option to make this error go away.`)}}_traverse(direction){let node=this._referenceNode;let beforeNode=this._pointerBeforeReferenceNode;while(true){if(direction==="next"){if(!beforeNode){node=domSymbolTree.following(node,{root:this.root});if(!node){return null}}beforeNode=false}else if(direction==="previous"){if(beforeNode){node=domSymbolTree.preceding(node,{root:this.root});if(!node){return null}}beforeNode=true}const result=filter(this,node);if(result===FILTER_ACCEPT){break}}this._referenceNode=node;this._pointerBeforeReferenceNode=beforeNode;return node}}},{"../helpers/internal-constants":596,"./helpers":750}],749:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const{filter:filter,FILTER_ACCEPT:FILTER_ACCEPT,FILTER_REJECT:FILTER_REJECT,FILTER_SKIP:FILTER_SKIP}=require("./helpers");const FIRST=false;const LAST=true;const NEXT=false;const PREVIOUS=true;exports.implementation=class TreeWalkerImpl{constructor(globalObject,args,privateData){this._active=false;this.root=privateData.root;this.currentNode=this.root;this.whatToShow=privateData.whatToShow;this.filter=privateData.filter;this._globalObject=globalObject}get currentNode(){return this._currentNode}set currentNode(node){if(node===null){throw DOMException.create(this._globalObject,["Cannot set currentNode to null","NotSupportedError"])}this._currentNode=node}parentNode(){let node=this._currentNode;while(node!==null&&node!==this.root){node=node.parentNode;if(node!==null&&filter(this,node)===FILTER_ACCEPT){return this._currentNode=node}}return null}firstChild(){return this._traverseChildren(FIRST)}lastChild(){return this._traverseChildren(LAST)}previousSibling(){return this._traverseSiblings(PREVIOUS)}nextSibling(){return this._traverseSiblings(NEXT)}previousNode(){let node=this._currentNode;while(node!==this.root){let sibling=node.previousSibling;while(sibling!==null){node=sibling;let result=filter(this,node);while(result!==FILTER_REJECT&&node.hasChildNodes()){node=node.lastChild;result=filter(this,node)}if(result===FILTER_ACCEPT){return this._currentNode=node}sibling=node.previousSibling}if(node===this.root||node.parentNode===null){return null}node=node.parentNode;if(filter(this,node)===FILTER_ACCEPT){return this._currentNode=node}}return null}nextNode(){let node=this._currentNode;let result=FILTER_ACCEPT;for(;;){while(result!==FILTER_REJECT&&node.hasChildNodes()){node=node.firstChild;result=filter(this,node);if(result===FILTER_ACCEPT){return this._currentNode=node}}do{if(node===this.root){return null}const sibling=node.nextSibling;if(sibling!==null){node=sibling;break}node=node.parentNode}while(node!==null);if(node===null){return null}result=filter(this,node);if(result===FILTER_ACCEPT){return this._currentNode=node}}}_traverseChildren(type){let node=this._currentNode;node=type===FIRST?node.firstChild:node.lastChild;if(node===null){return null}main:for(;;){const result=filter(this,node);if(result===FILTER_ACCEPT){return this._currentNode=node}if(result===FILTER_SKIP){const child=type===FIRST?node.firstChild:node.lastChild;if(child!==null){node=child;continue}}for(;;){const sibling=type===FIRST?node.nextSibling:node.previousSibling;if(sibling!==null){node=sibling;continue main}const parent=node.parentNode;if(parent===null||parent===this.root||parent===this._currentNode){return null}node=parent}}}_traverseSiblings(type){let node=this._currentNode;if(node===this.root){return null}for(;;){let sibling=type===NEXT?node.nextSibling:node.previousSibling;while(sibling!==null){node=sibling;const result=filter(this,node);if(result===FILTER_ACCEPT){return this._currentNode=node}sibling=type===NEXT?node.firstChild:node.lastChild;if(result===FILTER_REJECT||sibling===null){sibling=type===NEXT?node.nextSibling:node.previousSibling}}node=node.parentNode;if(node===null||node===this.root){return null}if(filter(this,node)===FILTER_ACCEPT){return null}}}}},{"./helpers":750,"domexception/webidl2js-wrapper":213}],750:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const conversions=require("webidl-conversions");exports.FILTER_ACCEPT=1;exports.FILTER_REJECT=2;exports.FILTER_SKIP=3;exports.filter=(nodeIteratorOrTreeWalkerImpl,nodeImpl)=>{if(nodeIteratorOrTreeWalkerImpl._active){throw DOMException.create(nodeIteratorOrTreeWalkerImpl._globalObject,["Recursive node filtering","InvalidStateError"])}const n=nodeImpl.nodeType-1;if(!(1<<n&nodeIteratorOrTreeWalkerImpl.whatToShow)){return exports.FILTER_SKIP}const{filter:filter}=nodeIteratorOrTreeWalkerImpl;if(filter===null){return exports.FILTER_ACCEPT}nodeIteratorOrTreeWalkerImpl._active=true;let result;try{result=filter(nodeImpl)}finally{nodeIteratorOrTreeWalkerImpl._active=false}result=conversions["unsigned short"](result);return result}},{"domexception/webidl2js-wrapper":213,"webidl-conversions":776}],751:[function(require,module,exports){(function(Buffer){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const{parseURL:parseURL,serializeURL:serializeURL,serializeURLOrigin:serializeURLOrigin}=require("whatwg-url");const{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=require("../helpers/create-event-accessor");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const EventTargetImpl=require("../events/EventTarget-impl").implementation;const idlUtils=require("../generated/utils");const Blob=require("../generated/Blob");const CloseEvent=require("../generated/CloseEvent");const MessageEvent=require("../generated/MessageEvent");const productions={token:/^[!#$%&'*+\-.^_`|~\dA-Za-z]+$/};function verifySecWebSocketProtocol(str){return productions.token.test(str)}const openSockets=new WeakMap;class WebSocketImpl extends EventTargetImpl{constructor(constructorArgs,privateData){super([],privateData);const{window:window}=privateData;this._ownerDocument=idlUtils.implForWrapper(window._document);const url=constructorArgs[0];let protocols=constructorArgs[1]!==undefined?constructorArgs[1]:[];const urlRecord=parseURL(url);if(urlRecord===null){throw DOMException.create(this._globalObject,[`The URL '${url}' is invalid.`,"SyntaxError"])}if(urlRecord.scheme!=="ws"&&urlRecord.scheme!=="wss"){throw DOMException.create(this._globalObject,[`The URL's scheme must be either 'ws' or 'wss'. '${urlRecord.scheme}' is not allowed.`,"SyntaxError"])}if(urlRecord.fragment!==null){throw DOMException.create(this._globalObject,[`The URL contains a fragment identifier ('${urlRecord.fragment}'). Fragment identifiers `+"are not allowed in WebSocket URLs.","SyntaxError"])}if(typeof protocols==="string"){protocols=[protocols]}const protocolSet=new Set;for(const protocol of protocols){if(!verifySecWebSocketProtocol(protocol)){throw DOMException.create(this._globalObject,[`The subprotocol '${protocol}' is invalid.`,"SyntaxError"])}const lowered=protocol.toLowerCase();if(protocolSet.has(lowered)){throw DOMException.create(this._globalObject,[`The subprotocol '${protocol}' is duplicated.`,"SyntaxError"])}protocolSet.add(lowered)}this._urlRecord=urlRecord;this.url=serializeURL(urlRecord);this._ws=new WebSocket(this.url,protocols);this._ws.onopen=()=>{fireAnEvent("open",this)};this._ws.onerror=()=>{fireAnEvent("error",this)};this._ws.onclose=event=>{fireAnEvent("close",this,CloseEvent,{wasClean:event.wasClean,code:event.code,reason:event.reason})};this._ws.onmessage=event=>{fireAnEvent("message",this,MessageEvent,{data:event.data,origin:serializeURLOrigin(this._urlRecord)})};let openSocketsForWindow=openSockets.get(window._globalProxy);if(openSocketsForWindow===undefined){openSocketsForWindow=new Set;openSockets.set(window._globalProxy,openSocketsForWindow)}openSocketsForWindow.add(this)}_makeDisappear(){this._eventListeners=Object.create(null);this._ws.close(1001)}static cleanUpWindow(window){const openSocketsForWindow=openSockets.get(window._globalProxy);if(openSocketsForWindow!==undefined){for(const ws of openSocketsForWindow){ws._makeDisappear()}}}get readyState(){return this._ws.readyState}get bufferedAmount(){return this._ws.bufferedAmount}get extensions(){return this._ws.extensions}get protocol(){return this._ws.protocol}close(code=undefined,reason=undefined){if(code!==undefined&&code!==1e3&&!(code>=3e3&&code<=4999)){throw DOMException.create(this._globalObject,[`The code must be either 1000, or between 3000 and 4999. ${code} is neither.`,"InvalidAccessError"])}if(reason!==undefined&&Buffer.byteLength(reason,"utf8")>123){throw DOMException.create(this._globalObject,["The message must not be greater than 123 bytes.","SyntaxError"])}return this._ws.close(code,reason)}get binaryType(){return this._ws.binaryType}set binaryType(val){this._ws.binaryType=val}send(data){if(Blob.isImpl(data)){data=data._buffer}this._ws.send(data)}}setupForSimpleEventAccessors(WebSocketImpl.prototype,["open","message","error","close"]);exports.implementation=WebSocketImpl}).call(this,require("buffer").Buffer)},{"../events/EventTarget-impl":370,"../generated/Blob":399,"../generated/CloseEvent":403,"../generated/MessageEvent":521,"../generated/utils":584,"../helpers/create-event-accessor":587,"../helpers/events":592,buffer:132,"domexception/webidl2js-wrapper":213,"whatwg-url":1024}],752:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const StorageEvent=require("../generated/StorageEvent");const idlUtils=require("../generated/utils");const{fireAnEvent:fireAnEvent}=require("../helpers/events");class StorageImpl{constructor(globalObject,args,privateData){const{associatedWindow:associatedWindow,storageArea:storageArea,url:url,type:type,storageQuota:storageQuota}=privateData;this._associatedWindow=associatedWindow;this._items=storageArea;this._url=url;this._type=type;this._quota=storageQuota;this._globalObject=globalObject}_dispatchStorageEvent(key,oldValue,newValue){return this._associatedWindow._currentOriginData.windowsInSameOrigin.filter(target=>target!==this._associatedWindow).forEach(target=>fireAnEvent("storage",target,StorageEvent,{key:key,oldValue:oldValue,newValue:newValue,url:this._url,storageArea:target["_"+this._type]}))}get length(){return this._items.size}key(n){if(n>=this._items.size){return null}return[...this._items.keys()][n]}getItem(key){if(this._items.has(key)){return this._items.get(key)}return null}setItem(key,value){const oldValue=this._items.get(key)||null;if(oldValue===value){return}let itemsTotalLength=key.length+value.length;for(const[curKey,curValue]of this._items){if(key!==curKey){itemsTotalLength+=curKey.length+curValue.length}}if(itemsTotalLength>this._quota){throw DOMException.create(this._globalObject,[`The ${this._quota}-code unit storage quota has been exceeded.`,"QuotaExceededError"])}setTimeout(this._dispatchStorageEvent.bind(this),0,key,oldValue,value);this._items.set(key,value)}removeItem(key){if(this._items.has(key)){setTimeout(this._dispatchStorageEvent.bind(this),0,key,this._items.get(key),null);this._items.delete(key)}}clear(){if(this._items.size>0){setTimeout(this._dispatchStorageEvent.bind(this),0,null,null,null);this._items.clear()}}get[idlUtils.supportedPropertyNames](){return this._items.keys()}}module.exports={implementation:StorageImpl}},{"../generated/StorageEvent":563,"../generated/utils":584,"../helpers/events":592,"domexception/webidl2js-wrapper":213}],753:[function(require,module,exports){"use strict";class BarPropImpl{}BarPropImpl.prototype.visible=true;exports.implementation=BarPropImpl},{}],754:[function(require,module,exports){"use strict";exports.implementation=class ExternalImpl{AddSearchProvider(){}IsSearchProviderInstalled(){}}},{}],755:[function(require,module,exports){"use strict";const DOMException=require("domexception/webidl2js-wrapper");const{documentBaseURLSerialized:documentBaseURLSerialized,parseURLToResultingURLRecord:parseURLToResultingURLRecord}=require("../helpers/document-base-url.js");exports.implementation=class HistoryImpl{constructor(globalObject,args,privateData){this._window=privateData.window;this._document=privateData.document;this._actAsIfLocationReloadCalled=privateData.actAsIfLocationReloadCalled;this._state=null;this._globalObject=globalObject}_guardAgainstInactiveDocuments(){if(!this._window){throw DOMException.create(this._globalObject,["History object is associated with a document that is not fully active.","SecurityError"])}}get length(){this._guardAgainstInactiveDocuments();return this._window._sessionHistory.length}get state(){this._guardAgainstInactiveDocuments();return this._state}go(delta){this._guardAgainstInactiveDocuments();if(delta===0){this._actAsIfLocationReloadCalled()}else{this._window._sessionHistory.traverseByDelta(delta)}}back(){this.go(-1)}forward(){this.go(+1)}pushState(data,title,url){this._sharedPushAndReplaceState(data,title,url,"pushState")}replaceState(data,title,url){this._sharedPushAndReplaceState(data,title,url,"replaceState")}_sharedPushAndReplaceState(data,title,url,methodName){this._guardAgainstInactiveDocuments();let newURL;if(url!==null){newURL=parseURLToResultingURLRecord(url,this._document);if(newURL===null){throw DOMException.create(this._globalObject,[`Could not parse url argument "${url}" to ${methodName} against base URL `+`"${documentBaseURLSerialized(this._document)}".`,"SecurityError"])}if(newURL.scheme!==this._document._URL.scheme||newURL.username!==this._document._URL.username||newURL.password!==this._document._URL.password||newURL.host!==this._document._URL.host||newURL.port!==this._document._URL.port||newURL.cannotBeABaseURL!==this._document._URL.cannotBeABaseURL){throw DOMException.create(this._globalObject,[`${methodName} cannot update history to a URL which differs in components other than in `+`path, query, or fragment.`,"SecurityError"])}}else{newURL=this._window._sessionHistory.currentEntry.url}if(methodName==="pushState"){this._window._sessionHistory.removeAllEntriesAfterCurrentEntry();this._window._sessionHistory.clearHistoryTraversalTasks();const newEntry={document:this._document,stateObject:data,title:title,url:newURL};this._window._sessionHistory.addEntryAfterCurrentEntry(newEntry);this._window._sessionHistory.updateCurrentEntry(newEntry)}else{const{currentEntry:currentEntry}=this._window._sessionHistory;currentEntry.stateObject=data;currentEntry.title=title;currentEntry.url=newURL}this._document._URL=newURL;this._state=data;this._document._latestEntry=this._window._sessionHistory.currentEntry}}},{"../helpers/document-base-url.js":591,"domexception/webidl2js-wrapper":213}],756:[function(require,module,exports){"use strict";const whatwgURL=require("whatwg-url");const DOMException=require("domexception/webidl2js-wrapper");const{documentBaseURL:documentBaseURL,parseURLToResultingURLRecord:parseURLToResultingURLRecord}=require("../helpers/document-base-url");const{navigate:navigate}=require("./navigation");exports.implementation=class LocationImpl{constructor(globalObject,args,privateData){this._relevantDocument=privateData.relevantDocument;this.url=null;this._globalObject=globalObject}get _url(){return this._relevantDocument._URL}_locationObjectSetterNavigate(url){return this._locationObjectNavigate(url)}_locationObjectNavigate(url,{replacement:replacement=false}={}){navigate(this._relevantDocument._defaultView,url,{replacement:replacement,exceptionsEnabled:true})}toString(){return this.href}get href(){return whatwgURL.serializeURL(this._url)}set href(v){const newURL=whatwgURL.parseURL(v,{baseURL:documentBaseURL(this._relevantDocument)});if(newURL===null){throw new TypeError(`Could not parse "${v}" as a URL`)}this._locationObjectSetterNavigate(newURL)}get origin(){return whatwgURL.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(v){const copyURL=Object.assign({},this._url);const possibleFailure=whatwgURL.basicURLParse(v+":",{url:copyURL,stateOverride:"scheme start"});if(possibleFailure===null){throw new TypeError(`Could not parse the URL after setting the procol to "${v}"`)}if(copyURL.scheme!=="http"&©URL.scheme!=="https"){return}this._locationObjectSetterNavigate(copyURL)}get host(){const url=this._url;if(url.host===null){return""}if(url.port===null){return whatwgURL.serializeHost(url.host)}return whatwgURL.serializeHost(url.host)+":"+whatwgURL.serializeInteger(url.port)}set host(v){const copyURL=Object.assign({},this._url);if(copyURL.cannotBeABaseURL){return}whatwgURL.basicURLParse(v,{url:copyURL,stateOverride:"host"});this._locationObjectSetterNavigate(copyURL)}get hostname(){if(this._url.host===null){return""}return whatwgURL.serializeHost(this._url.host)}set hostname(v){const copyURL=Object.assign({},this._url);if(copyURL.cannotBeABaseURL){return}whatwgURL.basicURLParse(v,{url:copyURL,stateOverride:"hostname"});this._locationObjectSetterNavigate(copyURL)}get port(){if(this._url.port===null){return""}return whatwgURL.serializeInteger(this._url.port)}set port(v){const copyURL=Object.assign({},this._url);if(copyURL.host===null||copyURL.cannotBeABaseURL||copyURL.scheme==="file"){return}whatwgURL.basicURLParse(v,{url:copyURL,stateOverride:"port"});this._locationObjectSetterNavigate(copyURL)}get pathname(){const url=this._url;if(url.cannotBeABaseURL){return url.path[0]}return"/"+url.path.join("/")}set pathname(v){const copyURL=Object.assign({},this._url);if(copyURL.cannotBeABaseURL){return}copyURL.path=[];whatwgURL.basicURLParse(v,{url:copyURL,stateOverride:"path start"});this._locationObjectSetterNavigate(copyURL)}get search(){if(this._url.query===null||this._url.query===""){return""}return"?"+this._url.query}set search(v){const copyURL=Object.assign({},this._url);if(v===""){copyURL.query=null}else{const input=v[0]==="?"?v.substring(1):v;copyURL.query="";whatwgURL.basicURLParse(input,{url:copyURL,stateOverride:"query",encodingOverride:this._relevantDocument.charset})}this._locationObjectSetterNavigate(copyURL)}get hash(){if(this._url.fragment===null||this._url.fragment===""){return""}return"#"+this._url.fragment}set hash(v){const copyURL=Object.assign({},this._url);if(copyURL.scheme==="javascript"){return}if(v===""){copyURL.fragment=null}else{const input=v[0]==="#"?v.substring(1):v;copyURL.fragment="";whatwgURL.basicURLParse(input,{url:copyURL,stateOverride:"fragment"})}this._locationObjectSetterNavigate(copyURL)}assign(url){const parsedURL=parseURLToResultingURLRecord(url,this._relevantDocument);if(parsedURL===null){throw DOMException.create(this._globalObject,[`Could not resolve the given string "${url}" relative to the base URL "${this._relevantDocument.URL}"`,"SyntaxError"])}this._locationObjectNavigate(parsedURL)}replace(url){const parsedURL=parseURLToResultingURLRecord(url,this._relevantDocument);if(parsedURL===null){throw DOMException.create(this._globalObject,[`Could not resolve the given string "${url}" relative to the base URL "${this._relevantDocument.URL}"`,"SyntaxError"])}this._locationObjectNavigate(parsedURL,{replacement:true})}reload(){const flags={replace:true,reloadTriggered:true,exceptionsEnabled:true};navigate(this._relevantDocument._defaultView,this._url,flags)}}},{"../helpers/document-base-url":591,"./navigation":759,"domexception/webidl2js-wrapper":213,"whatwg-url":1024}],757:[function(require,module,exports){"use strict";class ScreenImpl{}ScreenImpl.prototype.availWidth=0;ScreenImpl.prototype.availHeight=0;ScreenImpl.prototype.width=0;ScreenImpl.prototype.height=0;ScreenImpl.prototype.colorDepth=24;ScreenImpl.prototype.pixelDepth=24;exports.implementation=ScreenImpl},{}],758:[function(require,module,exports){"use strict";const whatwgURL=require("whatwg-url");const HashChangeEvent=require("../generated/HashChangeEvent.js");const PopStateEvent=require("../generated/PopStateEvent.js");const notImplemented=require("../../browser/not-implemented.js");const idlUtils=require("../generated/utils.js");const{fireAnEvent:fireAnEvent}=require("../helpers/events");class SessionHistory{constructor(initialEntry,window){this._window=window;this._windowImpl=idlUtils.implForWrapper(window);this._historyTraversalQueue=new Set;this._entries=[initialEntry];this._currentIndex=0}_queueHistoryTraversalTask(fn){const timeoutId=this._window.setTimeout(()=>{this._historyTraversalQueue.delete(timeoutId);fn()},0);this._historyTraversalQueue.add(timeoutId)}clearHistoryTraversalTasks(){for(const timeoutId of this._historyTraversalQueue){this._window.clearTimeout(timeoutId)}this._historyTraversalQueue.clear()}get length(){return this._entries.length}get currentEntry(){return this._entries[this._currentIndex]}removeAllEntriesAfterCurrentEntry(){this._entries.splice(this._currentIndex+1,Infinity)}traverseByDelta(delta){this._queueHistoryTraversalTask(()=>{const newIndex=this._currentIndex+delta;if(newIndex<0||newIndex>=this.length){return}const specifiedEntry=this._entries[newIndex];this._queueHistoryTraversalTask(()=>{if(specifiedEntry.document!==this.currentEntry.document){notImplemented("Traversing history in a way that would change the window",this._window)}this.traverseHistory(specifiedEntry)})})}traverseHistory(specifiedEntry,flags={}){if(!specifiedEntry.document){notImplemented("Traversing the history to an entry that no longer holds a Document object",this._window)}const nonBlockingEvents=Boolean(flags.nonBlockingEvents);const document=idlUtils.implForWrapper(this._window._document);const{currentEntry:currentEntry}=this;if(currentEntry.title===undefined){currentEntry.title=document.title}if(specifiedEntry.document!==currentEntry.document){notImplemented("Traversing the history to an entry with a different Document",this._window)}document._URL=specifiedEntry.url;const hashChanged=specifiedEntry.url.fragment!==currentEntry.url.fragment&&specifiedEntry.document===currentEntry.document;let oldURL;let newURL;if(hashChanged){oldURL=currentEntry.url;newURL=specifiedEntry.url}if(flags.replacement){this._entries.splice(this._entries.indexOf(specifiedEntry)-1,1)}this.updateCurrentEntry(specifiedEntry);const state=specifiedEntry.stateObject;document._history._state=state;const stateChanged=specifiedEntry.document._latestEntry!==specifiedEntry;specifiedEntry.document._latestEntry=specifiedEntry;const fireEvents=()=>this._fireEvents(stateChanged,hashChanged,state,oldURL,newURL);if(nonBlockingEvents){this._window.setTimeout(fireEvents,0)}else{fireEvents()}}_fireEvents(stateChanged,hashChanged,state,oldURL,newURL){if(stateChanged){fireAnEvent("popstate",this._windowImpl,PopStateEvent,{state:state})}if(hashChanged){fireAnEvent("hashchange",this._windowImpl,HashChangeEvent,{oldURL:whatwgURL.serializeURL(oldURL),newURL:whatwgURL.serializeURL(newURL)})}}addEntryAfterCurrentEntry(entry){this._entries.splice(this._currentIndex+1,0,entry)}updateCurrentEntry(entry){this._currentIndex=this._entries.indexOf(entry)}}module.exports=SessionHistory},{"../../browser/not-implemented.js":338,"../generated/HashChangeEvent.js":512,"../generated/PopStateEvent.js":541,"../generated/utils.js":584,"../helpers/events":592,"whatwg-url":1024}],759:[function(require,module,exports){(function(Buffer){"use strict";const whatwgURL=require("whatwg-url");const notImplemented=require("../../browser/not-implemented.js");const reportException=require("../helpers/runtime-script-errors.js");const idlUtils=require("../generated/utils.js");exports.evaluateJavaScriptURL=(window,urlRecord)=>{const urlString=whatwgURL.serializeURL(urlRecord);const scriptSource=whatwgURL.percentDecode(Buffer.from(urlString)).toString();if(window._runScripts==="dangerously"){try{return window.eval(scriptSource)}catch(e){reportException(window,e,urlString)}}return undefined};exports.navigate=(window,newURL,flags)=>{if(!window._document){return}const document=idlUtils.implForWrapper(window._document);const currentURL=document._URL;if(!flags.reloadTriggered&&urlEquals(currentURL,newURL,{excludeFragments:true})){if(newURL.fragment!==currentURL.fragment){navigateToFragment(window,newURL,flags)}return}if(newURL.scheme==="javascript"){setTimeout(()=>{const result=exports.evaluateJavaScriptURL(window,newURL);if(typeof result==="string"){notImplemented("string results from 'javascript:' URLs",window)}},0);return}navigateFetch(window)};function navigateToFragment(window,newURL,flags){const document=idlUtils.implForWrapper(window._document);window._sessionHistory.clearHistoryTraversalTasks();if(!flags.replacement){window._sessionHistory.removeAllEntriesAfterCurrentEntry()}const newEntry={document:document,url:newURL};window._sessionHistory.addEntryAfterCurrentEntry(newEntry);window._sessionHistory.traverseHistory(newEntry,{nonBlockingEvents:true,replacement:flags.replacement})}function navigateFetch(window){notImplemented("navigation (except hash changes)",window)}function urlEquals(a,b,flags){const serializedA=whatwgURL.serializeURL(a,flags.excludeFragments);const serializedB=whatwgURL.serializeURL(b,flags.excludeFragments);return serializedA===serializedB}}).call(this,require("buffer").Buffer)},{"../../browser/not-implemented.js":338,"../generated/utils.js":584,"../helpers/runtime-script-errors.js":603,buffer:132,"whatwg-url":1024}],760:[function(require,module,exports){"use strict";const idlUtils=require("../generated/utils");const{closest:closest}=require("../helpers/traversal");const{isDisabled:isDisabled,isSubmittable:isSubmittable,isButton:isButton,normalizeToCRLF:normalizeToCRLF}=require("../helpers/form-controls");const Blob=require("../generated/Blob.js");const File=require("../generated/File.js");const conversions=require("webidl-conversions");exports.implementation=class FormDataImpl{constructor(globalObject,args){this._globalObject=globalObject;this._entries=[];if(args[0]!==undefined){this._entries=constructTheEntryList(args[0])}}append(name,value,filename){const entry=createAnEntry(name,value,filename);this._entries.push(entry)}delete(name){this._entries=this._entries.filter(entry=>entry.name!==name)}get(name){const foundEntry=this._entries.find(entry=>entry.name===name);return foundEntry!==undefined?idlUtils.tryWrapperForImpl(foundEntry.value):null}getAll(name){return this._entries.filter(entry=>entry.name===name).map(entry=>idlUtils.tryWrapperForImpl(entry.value))}has(name){return this._entries.findIndex(entry=>entry.name===name)!==-1}set(name,value,filename){const entry=createAnEntry(name,value,filename);const foundIndex=this._entries.findIndex(e=>e.name===name);if(foundIndex!==-1){this._entries[foundIndex]=entry;this._entries=this._entries.filter((e,i)=>e.name!==name||i===foundIndex)}else{this._entries.push(entry)}}*[Symbol.iterator](){for(const entry of this._entries){yield[entry.name,idlUtils.tryWrapperForImpl(entry.value)]}}};function createAnEntry(name,value,filename){const entry={name:name};if(Blob.isImpl(value)&&!File.isImpl(value)){const oldValue=value;value=File.createImpl(value._globalObject,[[],"blob",{type:oldValue.type}]);value._buffer=oldValue._buffer}if(File.isImpl(value)&&filename!==undefined){const oldValue=value;value=File.createImpl(value._globalObject,[[],filename,{type:oldValue.type,lastModified:oldValue.lastModified}]);value._buffer=oldValue._buffer}entry.value=value;return entry}function constructTheEntryList(form,submitter){const controls=form.elements.filter(isSubmittable);const entryList=[];for(const field of controls){if(closest(field,"datalist")!==null){continue}if(isDisabled(field)){continue}if(isButton(field)&&field!==submitter){continue}if(field.type==="checkbox"&&field._checkedness===false){continue}if(field.type==="radio"&&field._checkedness===false){continue}if(field.localName==="object"){continue}const name=field.getAttributeNS(null,"name");if(name===null||name===""){continue}if(field.localName==="select"){for(const option of field.options){if(option._selectedness===true&&!isDisabled(field)){appendAnEntry(entryList,name,option._getValue())}}}else if(field.localName==="input"&&(field.type==="checkbox"||field.type==="radio")){const value=field.hasAttributeNS(null,"value")?field.getAttributeNS(null,"value"):"on";appendAnEntry(entryList,name,value)}else if(field.type==="file"){if(field.files.length===0){const value=File.createImpl(form._globalObject,[[],"",{type:"application/octet-stream"}]);appendAnEntry(entryList,name,value)}else{for(let i=0;i<field.files.length;++i){appendAnEntry(entryList,name,field.files.item(i))}}}else if(field.localName==="textarea"){appendAnEntry(entryList,name,field._getValue(),true)}else{appendAnEntry(entryList,name,field._getValue())}const dirname=field.getAttributeNS(null,"dirname");if(dirname!==null&&dirname!==""){const dir="ltr";appendAnEntry(entryList,dirname,dir)}}return entryList}function appendAnEntry(entryList,name,value,preventLineBreakNormalization=false){name=conversions.USVString(normalizeToCRLF(name));if(!File.isImpl(value)){if(!preventLineBreakNormalization){value=normalizeToCRLF(value)}value=conversions.USVString(value)}const entry=createAnEntry(name,value);entryList.push(entry)}},{"../generated/Blob.js":399,"../generated/File.js":431,"../generated/utils":584,"../helpers/form-controls":594,"../helpers/traversal":611,"webidl-conversions":776}],761:[function(require,module,exports){(function(process,Buffer){"use strict";const HTTP_STATUS_CODES=require("http").STATUS_CODES;const{spawnSync:spawnSync}=require("child_process");const{URL:URL}=require("whatwg-url");const whatwgEncoding=require("whatwg-encoding");const tough=require("tough-cookie");const MIMEType=require("whatwg-mimetype");const xhrUtils=require("./xhr-utils");const DOMException=require("domexception/webidl2js-wrapper");const{documentBaseURLSerialized:documentBaseURLSerialized}=require("../helpers/document-base-url");const{asciiCaseInsensitiveMatch:asciiCaseInsensitiveMatch}=require("../helpers/strings");const idlUtils=require("../generated/utils");const Document=require("../generated/Document");const Blob=require("../generated/Blob");const FormData=require("../generated/FormData");const XMLHttpRequestEventTargetImpl=require("./XMLHttpRequestEventTarget-impl").implementation;const XMLHttpRequestUpload=require("../generated/XMLHttpRequestUpload");const ProgressEvent=require("../generated/ProgressEvent");const{isArrayBuffer:isArrayBuffer}=require("../generated/utils");const{parseIntoDocument:parseIntoDocument}=require("../../browser/parser");const{fragmentSerialization:fragmentSerialization}=require("../domparsing/serialization");const{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=require("../helpers/create-event-accessor");const{parseJSONFromBytes:parseJSONFromBytes}=require("../helpers/json");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const{copyToArrayBufferInNewRealm:copyToArrayBufferInNewRealm}=require("../helpers/binary-data");const{READY_STATES:READY_STATES}=xhrUtils;const syncWorkerFile=require.resolve?require.resolve("./xhr-sync-worker.js"):null;const tokenRegexp=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;const fieldValueRegexp=/^[ \t]*(?:[\x21-\x7E\x80-\xFF](?:[ \t][\x21-\x7E\x80-\xFF])?)*[ \t]*$/;const forbiddenRequestHeaders=new Set(["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","via"]);const forbiddenResponseHeaders=new Set(["set-cookie","set-cookie2"]);const uniqueResponseHeaders=new Set(["content-type","content-length","user-agent","referer","host","authorization","proxy-authorization","if-modified-since","if-unmodified-since","from","location","max-forwards"]);const corsSafeResponseHeaders=new Set(["cache-control","content-language","content-type","expires","last-modified","pragma"]);const allowedRequestMethods=new Set(["OPTIONS","GET","HEAD","POST","PUT","DELETE"]);const forbiddenRequestMethods=new Set(["TRACK","TRACE","CONNECT"]);class XMLHttpRequestImpl extends XMLHttpRequestEventTargetImpl{constructor(window){super(window);const{_ownerDocument:_ownerDocument}=this;this.upload=XMLHttpRequestUpload.createImpl(window);this.readyState=READY_STATES.UNSENT;this.responseURL="";this.status=0;this.statusText="";this.flag={synchronous:false,withCredentials:false,mimeType:null,auth:null,method:undefined,responseType:"",requestHeaders:{},referrer:_ownerDocument.URL,uri:"",timeout:0,body:undefined,formData:false,preflight:false,requestManager:_ownerDocument._requestManager,strictSSL:window._resourceLoader._strictSSL,proxy:window._resourceLoader._proxy,cookieJar:_ownerDocument._cookieJar,encoding:_ownerDocument._encoding,origin:window._origin,userAgent:window.navigator.userAgent};this.properties={beforeSend:false,send:false,client:null,timeoutStart:0,timeoutId:0,timeoutFn:null,responseBuffer:null,responseCache:null,responseTextCache:null,responseXMLCache:null,responseHeaders:{},filteredResponseHeaders:[],error:"",uploadComplete:false,uploadListener:false,abortError:false,cookieJar:_ownerDocument._cookieJar,bufferStepSize:1*1024*1024,totalReceivedChunkSize:0}}get responseType(){return this.flag.responseType}set responseType(responseType){const{flag:flag}=this;if(this.readyState===READY_STATES.LOADING||this.readyState===READY_STATES.DONE){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}if(this.readyState===READY_STATES.OPENED&&flag.synchronous){throw DOMException.create(this._globalObject,["The object does not support the operation or argument.","InvalidAccessError"])}flag.responseType=responseType}get response(){const{properties:properties}=this;if(properties.responseCache){return idlUtils.tryWrapperForImpl(properties.responseCache)}let res;const responseBuffer=properties.responseBuffer?properties.responseBuffer.slice(0,properties.totalReceivedChunkSize):null;switch(this.responseType){case"":case"text":{res=this.responseText;break}case"arraybuffer":{if(!responseBuffer){return null}res=copyToArrayBufferInNewRealm(responseBuffer,this._globalObject);break}case"blob":{if(!responseBuffer){return null}const contentType=finalMIMEType(this);res=Blob.createImpl(this._globalObject,[[new Uint8Array(responseBuffer)],{type:contentType||""}]);break}case"document":{res=this.responseXML;break}case"json":{if(this.readyState!==READY_STATES.DONE||!responseBuffer){res=null}try{res=parseJSONFromBytes(responseBuffer)}catch(e){res=null}break}}properties.responseCache=res;return idlUtils.tryWrapperForImpl(res)}get responseText(){const{properties:properties}=this;if(this.responseType!==""&&this.responseType!=="text"){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}if(this.readyState!==READY_STATES.LOADING&&this.readyState!==READY_STATES.DONE){return""}if(properties.responseTextCache){return properties.responseTextCache}const responseBuffer=properties.responseBuffer?properties.responseBuffer.slice(0,properties.totalReceivedChunkSize):null;if(!responseBuffer){return""}const fallbackEncoding=finalCharset(this)||whatwgEncoding.getBOMEncoding(responseBuffer)||"UTF-8";const res=whatwgEncoding.decode(responseBuffer,fallbackEncoding);properties.responseTextCache=res;return res}get responseXML(){const{flag:flag,properties:properties}=this;if(this.responseType!==""&&this.responseType!=="document"){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}if(this.readyState!==READY_STATES.DONE){return null}if(properties.responseXMLCache){return properties.responseXMLCache}const responseBuffer=properties.responseBuffer?properties.responseBuffer.slice(0,properties.totalReceivedChunkSize):null;if(!responseBuffer){return null}const contentType=finalMIMEType(this);let isHTML=false;let isXML=false;const parsed=MIMEType.parse(contentType);if(parsed){isHTML=parsed.isHTML();isXML=parsed.isXML();if(!isXML&&!isHTML){return null}}if(this.responseType===""&&isHTML){return null}const encoding=finalCharset(this)||whatwgEncoding.getBOMEncoding(responseBuffer)||"UTF-8";const resText=whatwgEncoding.decode(responseBuffer,encoding);if(!resText){return null}const res=Document.createImpl(this._globalObject,[],{options:{url:flag.uri,lastModified:new Date(getResponseHeader(this,"last-modified")),parsingMode:isHTML?"html":"xml",cookieJar:{setCookieSync:()=>undefined,getCookieStringSync:()=>""},encoding:encoding,parseOptions:this._ownerDocument._parseOptions}});try{parseIntoDocument(resText,res)}catch(e){properties.responseXMLCache=null;return null}res.close();properties.responseXMLCache=res;return res}get timeout(){return this.flag.timeout}set timeout(val){const{flag:flag,properties:properties}=this;if(flag.synchronous){throw DOMException.create(this._globalObject,["The object does not support the operation or argument.","InvalidAccessError"])}flag.timeout=val;clearTimeout(properties.timeoutId);if(val>0&&properties.timeoutFn){properties.timeoutId=setTimeout(properties.timeoutFn,Math.max(0,val-((new Date).getTime()-properties.timeoutStart)))}else{properties.timeoutFn=null;properties.timeoutStart=0}}get withCredentials(){return this.flag.withCredentials}set withCredentials(val){const{flag:flag,properties:properties}=this;if(!(this.readyState===READY_STATES.UNSENT||this.readyState===READY_STATES.OPENED)){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}if(properties.send){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}flag.withCredentials=val}abort(){const{properties:properties}=this;clearTimeout(properties.timeoutId);properties.timeoutFn=null;properties.timeoutStart=0;const{client:client}=properties;if(client){client.abort();properties.client=null}if(properties.abortError){this.readyState=READY_STATES.DONE;properties.send=false;xhrUtils.setResponseToNetworkError(this);return}if(this.readyState===READY_STATES.OPENED&&properties.send||this.readyState===READY_STATES.HEADERS_RECEIVED||this.readyState===READY_STATES.LOADING){xhrUtils.requestErrorSteps(this,"abort")}if(this.readyState===READY_STATES.DONE){this.readyState=READY_STATES.UNSENT;xhrUtils.setResponseToNetworkError(this)}}getAllResponseHeaders(){const{properties:properties,readyState:readyState}=this;if(readyState===READY_STATES.UNSENT||readyState===READY_STATES.OPENED){return""}return Object.keys(properties.responseHeaders).filter(key=>properties.filteredResponseHeaders.indexOf(key)===-1).map(key=>[key.toLowerCase(),properties.responseHeaders[key]].join(": ")).join("\r\n")}getResponseHeader(header){const{properties:properties,readyState:readyState}=this;if(readyState===READY_STATES.UNSENT||readyState===READY_STATES.OPENED){return null}const lcHeader=header.toLowerCase();if(properties.filteredResponseHeaders.find(filtered=>lcHeader===filtered.toLowerCase())){return null}return getResponseHeader(this,lcHeader)}open(method,uri,asynchronous,user,password){const{flag:flag,properties:properties,_ownerDocument:_ownerDocument}=this;if(!_ownerDocument){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}if(!tokenRegexp.test(method)){throw DOMException.create(this._globalObject,["The string did not match the expected pattern.","SyntaxError"])}const upperCaseMethod=method.toUpperCase();if(forbiddenRequestMethods.has(upperCaseMethod)){throw DOMException.create(this._globalObject,["The operation is insecure.","SecurityError"])}const{client:client}=properties;if(client&&typeof client.abort==="function"){client.abort()}if(allowedRequestMethods.has(upperCaseMethod)){method=upperCaseMethod}if(typeof asynchronous!=="undefined"){flag.synchronous=!asynchronous}else{flag.synchronous=false}if(flag.responseType&&flag.synchronous){throw DOMException.create(this._globalObject,["The object does not support the operation or argument.","InvalidAccessError"])}if(flag.synchronous&&flag.timeout){throw DOMException.create(this._globalObject,["The object does not support the operation or argument.","InvalidAccessError"])}flag.method=method;let urlObj;try{urlObj=new URL(uri,documentBaseURLSerialized(_ownerDocument))}catch(e){throw DOMException.create(this._globalObject,["The string did not match the expected pattern.","SyntaxError"])}if(user||password&&!urlObj.username){flag.auth={user:user,pass:password};urlObj.username="";urlObj.password=""}flag.uri=urlObj.href;flag.requestHeaders={};flag.preflight=false;properties.send=false;properties.uploadListener=false;properties.abortError=false;this.responseURL="";readyStateChange(this,READY_STATES.OPENED)}overrideMimeType(mime){const{readyState:readyState}=this;if(readyState===READY_STATES.LOADING||readyState===READY_STATES.DONE){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}this.flag.overrideMIMEType="application/octet-stream";const parsed=MIMEType.parse(mime);if(parsed){this.flag.overrideMIMEType=parsed.essence;const charset=parsed.parameters.get("charset");if(charset){this.flag.overrideCharset=whatwgEncoding.labelToName(charset)}}}send(body){const{flag:flag,properties:properties,upload:upload,_ownerDocument:_ownerDocument}=this;if(!_ownerDocument){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}if(this.readyState!==READY_STATES.OPENED||properties.send){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}properties.beforeSend=true;try{if(flag.method==="GET"||flag.method==="HEAD"){body=null}if(body!==null){let encoding=null;let mimeType=null;if(Document.isImpl(body)){encoding="UTF-8";mimeType=(body._parsingMode==="html"?"text/html":"application/xml")+";charset=UTF-8";flag.body=fragmentSerialization(body,{requireWellFormed:false})}else{if(typeof body==="string"){encoding="UTF-8"}const{buffer:buffer,formData:formData,contentType:contentType}=extractBody(body);mimeType=contentType;flag.body=buffer||formData;flag.formData=Boolean(formData)}const existingContentType=xhrUtils.getRequestHeader(flag.requestHeaders,"content-type");if(mimeType!==null&&existingContentType===null){flag.requestHeaders["Content-Type"]=mimeType}else if(existingContentType!==null&&encoding!==null){const parsed=MIMEType.parse(existingContentType);if(parsed){const charset=parsed.parameters.get("charset");if(charset&&!asciiCaseInsensitiveMatch(charset,encoding)&&encoding!==null){parsed.parameters.set("charset",encoding);xhrUtils.updateRequestHeader(flag.requestHeaders,"content-type",parsed.toString())}}}}}finally{if(properties.beforeSend){properties.beforeSend=false}else{throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}}if(Object.keys(upload._eventListeners).length>0){properties.uploadListener=true}if(flag.body&&flag.body.byteLength===0){flag.body=null}if(flag.synchronous){const flagStr=JSON.stringify(flag,(function(k,v){if(this===flag&&k==="requestManager"){return null}if(this===flag&&k==="pool"&&v){return{maxSockets:v.maxSockets}}return v}));const res=spawnSync(process.execPath,[syncWorkerFile],{input:flagStr,maxBuffer:Infinity});if(res.status!==0){throw new Error(res.stderr.toString())}if(res.error){if(typeof res.error==="string"){res.error=new Error(res.error)}throw res.error}const response=JSON.parse(res.stdout.toString());const resProp=response.properties;if(resProp.responseBuffer&&resProp.responseBuffer.data){resProp.responseBuffer=Buffer.from(resProp.responseBuffer.data)}if(resProp.cookieJar){resProp.cookieJar=tough.CookieJar.deserializeSync(resProp.cookieJar,_ownerDocument._cookieJar.store)}this.readyState=READY_STATES.LOADING;this.status=response.status;this.statusText=response.statusText;this.responseURL=response.responseURL;Object.assign(this.properties,response.properties);if(resProp.error){xhrUtils.dispatchError(this);throw DOMException.create(this._globalObject,[resProp.error,"NetworkError"])}else{const{responseBuffer:responseBuffer}=properties;const contentLength=getResponseHeader(this,"content-length")||"0";const bufferLength=parseInt(contentLength)||responseBuffer.length;const progressObj={lengthComputable:false};if(bufferLength!==0){progressObj.total=bufferLength;progressObj.loaded=bufferLength;progressObj.lengthComputable=true}fireAnEvent("progress",this,ProgressEvent,progressObj);readyStateChange(this,READY_STATES.DONE);fireAnEvent("load",this,ProgressEvent,progressObj);fireAnEvent("loadend",this,ProgressEvent,progressObj)}}else{properties.send=true;fireAnEvent("loadstart",this,ProgressEvent);const client=xhrUtils.createClient(this);properties.client=client;properties.totalReceivedChunkSize=0;properties.bufferStepSize=1*1024*1024;properties.origin=flag.origin;client.on("error",err=>{client.removeAllListeners();properties.error=err;xhrUtils.dispatchError(this)});client.on("response",res=>receiveResponse(this,res));client.on("redirect",()=>{const{response:response}=client;const destUrlObj=new URL(response.request.headers.Referer);const urlObj=new URL(response.request.uri.href);if(destUrlObj.origin!==urlObj.origin&&destUrlObj.origin!==flag.origin){properties.origin="null"}response.request.headers.Origin=properties.origin;if(flag.origin!==destUrlObj.origin&&destUrlObj.protocol!=="data:"){if(!xhrUtils.validCORSHeaders(this,response,flag,properties,flag.origin)){return}if(urlObj.username||urlObj.password){properties.error="Userinfo forbidden in cors redirect";xhrUtils.dispatchError(this)}}});if(body!==null&&body!==""){properties.uploadComplete=false;setDispatchProgressEvents(this)}else{properties.uploadComplete=true}if(this.timeout>0){properties.timeoutStart=(new Date).getTime();properties.timeoutFn=()=>{client.abort();if(!(this.readyState===READY_STATES.UNSENT||this.readyState===READY_STATES.OPENED&&!properties.send||this.readyState===READY_STATES.DONE)){properties.send=false;let stateChanged=false;if(!properties.uploadComplete){fireAnEvent("progress",upload,ProgressEvent);readyStateChange(this,READY_STATES.DONE);fireAnEvent("timeout",upload,ProgressEvent);fireAnEvent("loadend",upload,ProgressEvent);stateChanged=true}fireAnEvent("progress",this,ProgressEvent);if(!stateChanged){readyStateChange(this,READY_STATES.DONE)}fireAnEvent("timeout",this,ProgressEvent);fireAnEvent("loadend",this,ProgressEvent)}this.readyState=READY_STATES.UNSENT};properties.timeoutId=setTimeout(properties.timeoutFn,this.timeout)}}}setRequestHeader(header,value){const{flag:flag,properties:properties}=this;if(this.readyState!==READY_STATES.OPENED||properties.send){throw DOMException.create(this._globalObject,["The object is in an invalid state.","InvalidStateError"])}value=normalizeHeaderValue(value);if(!tokenRegexp.test(header)||!fieldValueRegexp.test(value)){throw DOMException.create(this._globalObject,["The string did not match the expected pattern.","SyntaxError"])}const lcHeader=header.toLowerCase();if(forbiddenRequestHeaders.has(lcHeader)||lcHeader.startsWith("sec-")||lcHeader.startsWith("proxy-")){return}const keys=Object.keys(flag.requestHeaders);let n=keys.length;while(n--){const key=keys[n];if(key.toLowerCase()===lcHeader){flag.requestHeaders[key]+=", "+value;return}}flag.requestHeaders[header]=value}}setupForSimpleEventAccessors(XMLHttpRequestImpl.prototype,["readystatechange"]);function readyStateChange(xhr,readyState){if(xhr.readyState===readyState){return}xhr.readyState=readyState;fireAnEvent("readystatechange",xhr)}function receiveResponse(xhr,response){const{flag:flag,properties:properties}=xhr;const{statusCode:statusCode}=response;let byteOffset=0;const headers={};const filteredResponseHeaders=[];const headerMap={};const{rawHeaders:rawHeaders}=response;const n=Number(rawHeaders.length);for(let i=0;i<n;i+=2){const k=rawHeaders[i];const kl=k.toLowerCase();const v=rawHeaders[i+1];if(uniqueResponseHeaders.has(kl)){if(headerMap[kl]!==undefined){delete headers[headerMap[kl]]}headers[k]=v}else if(headerMap[kl]!==undefined){headers[headerMap[kl]]+=", "+v}else{headers[k]=v}headerMap[kl]=k}const destUrlObj=new URL(response.request.uri.href);if(properties.origin!==destUrlObj.origin&&destUrlObj.protocol!=="data:"){if(!xhrUtils.validCORSHeaders(xhr,response,flag,properties,properties.origin)){return}const acehStr=response.headers["access-control-expose-headers"];const aceh=new Set(acehStr?acehStr.trim().toLowerCase().split(xhrUtils.headerListSeparatorRegexp):[]);for(const header in headers){const lcHeader=header.toLowerCase();if(!corsSafeResponseHeaders.has(lcHeader)&&!aceh.has(lcHeader)){filteredResponseHeaders.push(header)}}}for(const header in headers){const lcHeader=header.toLowerCase();if(forbiddenResponseHeaders.has(lcHeader)){filteredResponseHeaders.push(header)}}xhr.responseURL=destUrlObj.href;xhr.status=statusCode;xhr.statusText=response.statusMessage||HTTP_STATUS_CODES[statusCode]||"";properties.responseHeaders=headers;properties.filteredResponseHeaders=filteredResponseHeaders;const contentLength=getResponseHeader(xhr,"content-length")||"0";const bufferLength=parseInt(contentLength)||0;const progressObj={lengthComputable:false};let lastProgressReported;if(bufferLength!==0){progressObj.total=bufferLength;progressObj.loaded=0;progressObj.lengthComputable=true}properties.responseBuffer=Buffer.alloc(properties.bufferStepSize);properties.responseCache=null;properties.responseTextCache=null;properties.responseXMLCache=null;readyStateChange(xhr,READY_STATES.HEADERS_RECEIVED);if(!properties.client){return}response.on("data",chunk=>{byteOffset+=chunk.length;progressObj.loaded=byteOffset});properties.client.on("data",chunk=>{properties.totalReceivedChunkSize+=chunk.length;if(properties.totalReceivedChunkSize>=properties.bufferStepSize){properties.bufferStepSize*=2;while(properties.totalReceivedChunkSize>=properties.bufferStepSize){properties.bufferStepSize*=2}const tmpBuf=Buffer.alloc(properties.bufferStepSize);properties.responseBuffer.copy(tmpBuf,0,0,properties.responseBuffer.length);properties.responseBuffer=tmpBuf}chunk.copy(properties.responseBuffer,properties.totalReceivedChunkSize-chunk.length,0,chunk.length);properties.responseCache=null;properties.responseTextCache=null;properties.responseXMLCache=null;if(xhr.readyState===READY_STATES.HEADERS_RECEIVED){xhr.readyState=READY_STATES.LOADING}fireAnEvent("readystatechange",xhr);if(progressObj.total!==progressObj.loaded||properties.totalReceivedChunkSize===byteOffset){if(lastProgressReported!==progressObj.loaded){lastProgressReported=progressObj.loaded;fireAnEvent("progress",xhr,ProgressEvent,progressObj)}}});properties.client.on("end",()=>{clearTimeout(properties.timeoutId);properties.timeoutFn=null;properties.timeoutStart=0;properties.client=null;fireAnEvent("progress",xhr,ProgressEvent,progressObj);readyStateChange(xhr,READY_STATES.DONE);fireAnEvent("load",xhr,ProgressEvent,progressObj);fireAnEvent("loadend",xhr,ProgressEvent,progressObj)})}function setDispatchProgressEvents(xhr){const{properties:properties,upload:upload}=xhr;const{client:client}=properties;let total=0;let lengthComputable=false;const length=client.headers&&parseInt(xhrUtils.getRequestHeader(client.headers,"content-length"));if(length){total=length;lengthComputable=true}const initProgress={lengthComputable:lengthComputable,total:total,loaded:0};if(properties.uploadListener){fireAnEvent("loadstart",upload,ProgressEvent,initProgress)}client.on("request",req=>{req.on("response",()=>{properties.uploadComplete=true;if(!properties.uploadListener){return}const progress={lengthComputable:lengthComputable,total:total,loaded:total};fireAnEvent("progress",upload,ProgressEvent,progress);fireAnEvent("load",upload,ProgressEvent,progress);fireAnEvent("loadend",upload,ProgressEvent,progress)})})}function finalMIMEType(xhr){const{flag:flag}=xhr;return flag.overrideMIMEType||getResponseHeader(xhr,"content-type")}function finalCharset(xhr){const{flag:flag}=xhr;if(flag.overrideCharset){return flag.overrideCharset}const parsedContentType=MIMEType.parse(getResponseHeader(xhr,"content-type"));if(parsedContentType){return whatwgEncoding.labelToName(parsedContentType.parameters.get("charset"))}return null}function getResponseHeader(xhr,lcHeader){const{properties:properties}=xhr;const keys=Object.keys(properties.responseHeaders);let n=keys.length;while(n--){const key=keys[n];if(key.toLowerCase()===lcHeader){return properties.responseHeaders[key]}}return null}function normalizeHeaderValue(value){return value.replace(/^[\x09\x0A\x0D\x20]+/,"").replace(/[\x09\x0A\x0D\x20]+$/,"")}function extractBody(bodyInit){if(Blob.isImpl(bodyInit)){return{buffer:bodyInit._buffer,contentType:bodyInit.type===""?null:bodyInit.type}}else if(isArrayBuffer(bodyInit)){return{buffer:Buffer.from(bodyInit),contentType:null}}else if(ArrayBuffer.isView(bodyInit)){return{buffer:Buffer.from(bodyInit.buffer,bodyInit.byteOffset,bodyInit.byteLength),contentType:null}}else if(FormData.isImpl(bodyInit)){const formData=[];for(const entry of bodyInit._entries){let val;if(Blob.isImpl(entry.value)){const blob=entry.value;val={name:entry.name,value:blob._buffer,options:{filename:blob.name,contentType:blob.type,knownLength:blob.size}}}else{val=entry}formData.push(val)}return{formData:formData}}return{buffer:Buffer.from(bodyInit,"utf-8"),contentType:"text/plain;charset=UTF-8"}}exports.implementation=XMLHttpRequestImpl}).call(this,require("_process"),require("buffer").Buffer)},{"../../browser/parser":340,"../domparsing/serialization":363,"../generated/Blob":399,"../generated/Document":415,"../generated/FormData":437,"../generated/ProgressEvent":544,"../generated/XMLHttpRequestUpload":582,"../generated/utils":584,"../helpers/binary-data":585,"../helpers/create-event-accessor":587,"../helpers/document-base-url":591,"../helpers/events":592,"../helpers/json":597,"../helpers/strings":606,"./XMLHttpRequestEventTarget-impl":762,"./xhr-utils":764,_process:855,buffer:132,child_process:129,"domexception/webidl2js-wrapper":213,http:956,"tough-cookie":769,"whatwg-encoding":1019,"whatwg-mimetype":1020,"whatwg-url":1024}],762:[function(require,module,exports){"use strict";const EventTargetImpl=require("../events/EventTarget-impl").implementation;const idlUtils=require("../generated/utils");const{setupForSimpleEventAccessors:setupForSimpleEventAccessors}=require("../helpers/create-event-accessor");const events=["loadstart","progress","abort","error","load","timeout","loadend"];class XMLHttpRequestEventTargetImpl extends EventTargetImpl{get _ownerDocument(){return idlUtils.implForWrapper(this._globalObject._document)}}setupForSimpleEventAccessors(XMLHttpRequestEventTargetImpl.prototype,events);exports.implementation=XMLHttpRequestEventTargetImpl},{"../events/EventTarget-impl":370,"../generated/utils":584,"../helpers/create-event-accessor":587}],763:[function(require,module,exports){"use strict";const XMLHttpRequestEventTargetImpl=require("./XMLHttpRequestEventTarget-impl").implementation;exports.implementation=class XMLHttpRequestUploadImpl extends XMLHttpRequestEventTargetImpl{}},{"./XMLHttpRequestEventTarget-impl":762}],764:[function(require,module,exports){(function(process){"use strict";const fs=require("fs");const request=require("request");const{EventEmitter:EventEmitter}=require("events");const{URL:URL}=require("whatwg-url");const parseDataURL=require("data-urls");const DOMException=require("domexception/webidl2js-wrapper");const ProgressEvent=require("../generated/ProgressEvent");const wrapCookieJarForRequest=require("../helpers/wrap-cookie-jar-for-request");const{fireAnEvent:fireAnEvent}=require("../helpers/events");const headerListSeparatorRegexp=/,[ \t]*/;const simpleMethods=new Set(["GET","HEAD","POST"]);const simpleHeaders=new Set(["accept","accept-language","content-language","content-type"]);const preflightHeaders=new Set(["access-control-expose-headers","access-control-allow-headers","access-control-allow-credentials","access-control-allow-origin"]);const READY_STATES=exports.READY_STATES=Object.freeze({UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4});function getRequestHeader(requestHeaders,header){const lcHeader=header.toLowerCase();const keys=Object.keys(requestHeaders);let n=keys.length;while(n--){const key=keys[n];if(key.toLowerCase()===lcHeader){return requestHeaders[key]}}return null}function updateRequestHeader(requestHeaders,header,newValue){const lcHeader=header.toLowerCase();const keys=Object.keys(requestHeaders);let n=keys.length;while(n--){const key=keys[n];if(key.toLowerCase()===lcHeader){requestHeaders[key]=newValue}}}function dispatchError(xhr){const errMessage=xhr.properties.error;requestErrorSteps(xhr,"error",DOMException.create(xhr._globalObject,[errMessage,"NetworkError"]));if(xhr._ownerDocument){const error=new Error(errMessage);error.type="XMLHttpRequest";xhr._ownerDocument._defaultView._virtualConsole.emit("jsdomError",error)}}function validCORSHeaders(xhr,response,flag,properties,origin){const acaoStr=response.headers["access-control-allow-origin"];const acao=acaoStr?acaoStr.trim():null;if(acao!=="*"&&acao!==origin){properties.error="Cross origin "+origin+" forbidden";dispatchError(xhr);return false}const acacStr=response.headers["access-control-allow-credentials"];const acac=acacStr?acacStr.trim():null;if(flag.withCredentials&&acac!=="true"){properties.error="Credentials forbidden";dispatchError(xhr);return false}return true}function validCORSPreflightHeaders(xhr,response,flag,properties){if(!validCORSHeaders(xhr,response,flag,properties,properties.origin)){return false}const acahStr=response.headers["access-control-allow-headers"];const acah=new Set(acahStr?acahStr.trim().toLowerCase().split(headerListSeparatorRegexp):[]);const forbiddenHeaders=Object.keys(flag.requestHeaders).filter(header=>{const lcHeader=header.toLowerCase();return!simpleHeaders.has(lcHeader)&&!acah.has(lcHeader)});if(forbiddenHeaders.length>0){properties.error="Headers "+forbiddenHeaders+" forbidden";dispatchError(xhr);return false}return true}function requestErrorSteps(xhr,event,exception){const{flag:flag,properties:properties,upload:upload}=xhr;xhr.readyState=READY_STATES.DONE;properties.send=false;setResponseToNetworkError(xhr);if(flag.synchronous){throw exception}fireAnEvent("readystatechange",xhr);if(!properties.uploadComplete){properties.uploadComplete=true;if(properties.uploadListener){fireAnEvent(event,upload,ProgressEvent,{loaded:0,total:0,lengthComputable:false});fireAnEvent("loadend",upload,ProgressEvent,{loaded:0,total:0,lengthComputable:false})}}fireAnEvent(event,xhr,ProgressEvent,{loaded:0,total:0,lengthComputable:false});fireAnEvent("loadend",xhr,ProgressEvent,{loaded:0,total:0,lengthComputable:false})}function setResponseToNetworkError(xhr){const{properties:properties}=xhr;properties.responseCache=properties.responseTextCache=properties.responseXMLCache=null;properties.responseHeaders={};xhr.status=0;xhr.statusText=""}function createClient(xhr){const{flag:flag,properties:properties}=xhr;const urlObj=new URL(flag.uri);const uri=urlObj.href;const ucMethod=flag.method.toUpperCase();const{requestManager:requestManager}=flag;if(urlObj.protocol==="file:"){const response=new EventEmitter;response.statusCode=200;response.rawHeaders=[];response.headers={};response.request={uri:urlObj};const filePath=urlObj.pathname.replace(/^file:\/\//,"").replace(/^\/([a-z]):\//i,"$1:/").replace(/%20/g," ");const client=new EventEmitter;const readableStream=fs.createReadStream(filePath,{encoding:null});readableStream.on("data",chunk=>{response.emit("data",chunk);client.emit("data",chunk)});readableStream.on("end",()=>{response.emit("end");client.emit("end")});readableStream.on("error",err=>{client.emit("error",err)});client.abort=function(){readableStream.destroy();client.emit("abort")};if(requestManager){const req={abort(){properties.abortError=true;xhr.abort()}};requestManager.add(req);const rmReq=requestManager.remove.bind(requestManager,req);client.on("abort",rmReq);client.on("error",rmReq);client.on("end",rmReq)}process.nextTick(()=>client.emit("response",response));return client}if(urlObj.protocol==="data:"){const response=new EventEmitter;response.request={uri:urlObj};const client=new EventEmitter;let buffer;try{const parsed=parseDataURL(uri);const contentType=parsed.mimeType.toString();buffer=parsed.body;response.statusCode=200;response.rawHeaders=["Content-Type",contentType];response.headers={"content-type":contentType}}catch(err){process.nextTick(()=>client.emit("error",err));return client}client.abort=()=>{};process.nextTick(()=>{client.emit("response",response);process.nextTick(()=>{response.emit("data",buffer);client.emit("data",buffer);response.emit("end");client.emit("end")})});return client}const requestHeaders={};for(const header in flag.requestHeaders){requestHeaders[header]=flag.requestHeaders[header]}if(getRequestHeader(flag.requestHeaders,"referer")===null){requestHeaders.Referer=flag.referrer}if(getRequestHeader(flag.requestHeaders,"user-agent")===null){requestHeaders["User-Agent"]=flag.userAgent}if(getRequestHeader(flag.requestHeaders,"accept-language")===null){requestHeaders["Accept-Language"]="en"}if(getRequestHeader(flag.requestHeaders,"accept")===null){requestHeaders.Accept="*/*"}const crossOrigin=flag.origin!==urlObj.origin;if(crossOrigin){requestHeaders.Origin=flag.origin}const options={uri:uri,method:flag.method,headers:requestHeaders,gzip:true,maxRedirects:21,followAllRedirects:true,encoding:null,strictSSL:flag.strictSSL,proxy:flag.proxy,forever:true};if(flag.auth){options.auth={user:flag.auth.user||"",pass:flag.auth.pass||"",sendImmediately:false}}if(flag.cookieJar&&(!crossOrigin||flag.withCredentials)){options.jar=wrapCookieJarForRequest(flag.cookieJar)}const{body:body}=flag;const hasBody=body!==undefined&&body!==null&&body!==""&&!(ucMethod==="HEAD"||ucMethod==="GET");if(hasBody&&!flag.formData){options.body=body}if(hasBody&&getRequestHeader(flag.requestHeaders,"content-type")===null){requestHeaders["Content-Type"]="text/plain;charset=UTF-8"}function doRequest(){try{const client=request(options);if(hasBody&&flag.formData){const form=client.form();for(const entry of body){form.append(entry.name,entry.value,entry.options)}}return client}catch(e){const client=new EventEmitter;process.nextTick(()=>client.emit("error",e));return client}}let client;const nonSimpleHeaders=Object.keys(flag.requestHeaders).filter(header=>!simpleHeaders.has(header.toLowerCase()));if(crossOrigin&&(!simpleMethods.has(ucMethod)||nonSimpleHeaders.length>0||properties.uploadListener)){client=new EventEmitter;const preflightRequestHeaders=[];for(const header in requestHeaders){const lcHeader=header.toLowerCase();if(lcHeader==="origin"||lcHeader==="referrer"){preflightRequestHeaders[header]=requestHeaders[header]}}preflightRequestHeaders["Access-Control-Request-Method"]=flag.method;if(nonSimpleHeaders.length>0){preflightRequestHeaders["Access-Control-Request-Headers"]=nonSimpleHeaders.join(", ")}preflightRequestHeaders["User-Agent"]=flag.userAgent;flag.preflight=true;const preflightOptions={uri:uri,method:"OPTIONS",headers:preflightRequestHeaders,followRedirect:false,encoding:null,pool:flag.pool,strictSSL:flag.strictSSL,proxy:flag.proxy,forever:true};const preflightClient=request(preflightOptions);preflightClient.on("response",resp=>{if(resp.statusCode<200||resp.statusCode>299){client.emit("error",new Error("Response for preflight has invalid HTTP status code "+resp.statusCode));return}if(!validCORSPreflightHeaders(xhr,resp,flag,properties)){setResponseToNetworkError(xhr);return}const realClient=doRequest();realClient.on("response",res=>client.emit("response",res));realClient.on("data",chunk=>client.emit("data",chunk));realClient.on("end",()=>client.emit("end"));realClient.on("abort",()=>client.emit("abort"));realClient.on("request",req=>{client.headers=realClient.headers;client.emit("request",req)});realClient.on("redirect",()=>{client.response=realClient.response;client.emit("redirect")});realClient.on("error",err=>client.emit("error",err));client.abort=()=>{realClient.abort()}});preflightClient.on("error",err=>client.emit("error",err));client.abort=()=>{preflightClient.abort()}}else{client=doRequest()}if(requestManager){const req={abort(){properties.abortError=true;xhr.abort()}};requestManager.add(req);const rmReq=requestManager.remove.bind(requestManager,req);client.on("abort",rmReq);client.on("error",rmReq);client.on("end",rmReq)}return client}exports.headerListSeparatorRegexp=headerListSeparatorRegexp;exports.simpleHeaders=simpleHeaders;exports.preflightHeaders=preflightHeaders;exports.getRequestHeader=getRequestHeader;exports.updateRequestHeader=updateRequestHeader;exports.dispatchError=dispatchError;exports.validCORSHeaders=validCORSHeaders;exports.requestErrorSteps=requestErrorSteps;exports.setResponseToNetworkError=setResponseToNetworkError;exports.createClient=createClient}).call(this,require("_process"))},{"../generated/ProgressEvent":544,"../helpers/events":592,"../helpers/wrap-cookie-jar-for-request":613,_process:855,"data-urls":195,"domexception/webidl2js-wrapper":213,events:241,fs:129,request:893,"whatwg-url":1024}],765:[function(require,module,exports){"use strict";const IS_NAMED_PROPERTY=Symbol("is named property");const TRACKER=Symbol("named property tracker");exports.create=function(object,objectProxy,resolverFunc){if(object[TRACKER]){throw Error("A NamedPropertiesTracker has already been created for this object")}const tracker=new NamedPropertiesTracker(object,objectProxy,resolverFunc);object[TRACKER]=tracker;return tracker};exports.get=function(object){if(!object){return null}return object[TRACKER]||null};function NamedPropertiesTracker(object,objectProxy,resolverFunc){this.object=object;this.objectProxy=objectProxy;this.resolverFunc=resolverFunc;this.trackedValues=new Map}function newPropertyDescriptor(tracker,name){const emptySet=new Set;function getValues(){return tracker.trackedValues.get(name)||emptySet}const descriptor={enumerable:true,configurable:true,get(){return tracker.resolverFunc(tracker.object,name,getValues)},set(value){Object.defineProperty(tracker.object,name,{enumerable:true,configurable:true,writable:true,value:value})}};descriptor.get[IS_NAMED_PROPERTY]=true;descriptor.set[IS_NAMED_PROPERTY]=true;return descriptor}NamedPropertiesTracker.prototype.track=function(name,value){if(name===undefined||name===null||name===""){return}let valueSet=this.trackedValues.get(name);if(!valueSet){valueSet=new Set;this.trackedValues.set(name,valueSet)}valueSet.add(value);if(name in this.objectProxy){return}const descriptor=newPropertyDescriptor(this,name);Object.defineProperty(this.object,name,descriptor)};NamedPropertiesTracker.prototype.untrack=function(name,value){if(name===undefined||name===null||name===""){return}const valueSet=this.trackedValues.get(name);if(!valueSet){return}if(!valueSet.delete(value)){return}if(valueSet.size===0){this.trackedValues.delete(name)}if(valueSet.size>0){return}const descriptor=Object.getOwnPropertyDescriptor(this.object,name);if(!descriptor||!descriptor.get||descriptor.get[IS_NAMED_PROPERTY]!==true){return}delete this.object[name]}},{}],766:[function(require,module,exports){(function(process){"use strict";const path=require("path");const whatwgURL=require("whatwg-url");const{domSymbolTree:domSymbolTree}=require("./living/helpers/internal-constants");const SYMBOL_TREE_POSITION=require("symbol-tree").TreePosition;exports.toFileUrl=function(fileName){let pathname=path.resolve(process.cwd(),fileName).replace(/\\/g,"/");if(pathname[0]!=="/"){pathname="/"+pathname}return"file://"+encodeURI(pathname)};exports.define=function define(object,properties){for(const name of Object.getOwnPropertyNames(properties)){const propDesc=Object.getOwnPropertyDescriptor(properties,name);Object.defineProperty(object,name,propDesc)}};exports.addConstants=function addConstants(Constructor,propertyMap){for(const property in propertyMap){const value=propertyMap[property];addConstant(Constructor,property,value);addConstant(Constructor.prototype,property,value)}};function addConstant(object,property,value){Object.defineProperty(object,property,{configurable:false,enumerable:true,writable:false,value:value})}exports.mixin=(target,source)=>{const keys=Reflect.ownKeys(source);for(let i=0;i<keys.length;++i){if(keys[i]in target){continue}Object.defineProperty(target,keys[i],Object.getOwnPropertyDescriptor(source,keys[i]))}};let memoizeQueryTypeCounter=0;exports.memoizeQuery=function memoizeQuery(fn){if(fn.length>2){return fn}const type=memoizeQueryTypeCounter++;return function(){if(!this._memoizedQueries){return fn.apply(this,arguments)}if(!this._memoizedQueries[type]){this._memoizedQueries[type]=Object.create(null)}let key;if(arguments.length===1&&typeof arguments[0]==="string"){key=arguments[0]}else if(arguments.length===2&&typeof arguments[0]==="string"&&typeof arguments[1]==="string"){key=arguments[0]+"::"+arguments[1]}else{return fn.apply(this,arguments)}if(!(key in this._memoizedQueries[type])){this._memoizedQueries[type][key]=fn.apply(this,arguments)}return this._memoizedQueries[type][key]}};function isValidAbsoluteURL(str){return whatwgURL.parseURL(str)!==null}exports.isValidTargetOrigin=function(str){return str==="*"||str==="/"||isValidAbsoluteURL(str)};exports.simultaneousIterators=function*(first,second){for(;;){const firstResult=first.next();const secondResult=second.next();if(firstResult.done&&secondResult.done){return}yield[firstResult.done?null:firstResult.value,secondResult.done?null:secondResult.value]}};exports.treeOrderSorter=function(a,b){const compare=domSymbolTree.compareTreePosition(a,b);if(compare&SYMBOL_TREE_POSITION.PRECEDING){return 1}if(compare&SYMBOL_TREE_POSITION.FOLLOWING){return-1}return 0};exports.Canvas=null;let canvasInstalled=false;try{require.resolve("canvas");canvasInstalled=true}catch(e){}if(canvasInstalled){const Canvas=require("canvas");if(typeof Canvas.createCanvas==="function"){exports.Canvas=Canvas}}}).call(this,require("_process"))},{"./living/helpers/internal-constants":596,_process:855,canvas:83,path:846,"symbol-tree":976,"whatwg-url":1024}],767:[function(require,module,exports){"use strict";const{EventEmitter:EventEmitter}=require("events");module.exports=class VirtualConsole extends EventEmitter{constructor(){super();this.on("error",()=>{})}sendTo(anyConsole,options){if(options===undefined){options={}}for(const method of Object.keys(anyConsole)){if(typeof anyConsole[method]==="function"){function onMethodCall(){anyConsole[method](...arguments)}this.on(method,onMethodCall)}}if(!options.omitJSDOMErrors){this.on("jsdomError",e=>anyConsole.error(e.stack,e.detail))}return this}}},{events:241}],768:[function(require,module,exports){(function(global){"use strict";const acorn=require("acorn");const findGlobals=require("acorn-globals");const escodegen=require("escodegen");const jsGlobals=require("./browser/js-globals.json");const jsGlobalEntriesToInstall=Object.entries(jsGlobals).filter(([name])=>name!=="eval"&&name in global);exports.createContext=function(sandbox){Object.defineProperty(sandbox,"__isVMShimContext",{value:true,writable:true,configurable:true,enumerable:false});for(const[globalName,globalPropDesc]of jsGlobalEntriesToInstall){const propDesc={...globalPropDesc,value:global[globalName]};Object.defineProperty(sandbox,globalName,propDesc)}Object.defineProperty(sandbox,"eval",{value(code){return exports.runInContext(code,sandbox)},writable:true,configurable:true,enumerable:false})};exports.isContext=function(sandbox){return sandbox.__isVMShimContext};exports.runInContext=function(code,contextifiedSandbox,options){if(code==="this"){return contextifiedSandbox}if(options===undefined){options={}}const comments=[];const tokens=[];const ast=acorn.parse(code,{allowReturnOutsideFunction:true,ranges:true,onComment:comments,onToken:tokens});escodegen.attachComments(ast,comments,tokens);const globals=findGlobals(ast);for(let i=0;i<globals.length;++i){if(globals[i].name==="window"||globals[i].name==="this"){continue}const{nodes:nodes}=globals[i];for(let j=0;j<nodes.length;++j){const{type:type,name:name}=nodes[j];nodes[j].type="MemberExpression";nodes[j].property={name:name,type:type};nodes[j].computed=false;nodes[j].object={name:"window",type:"Identifier"}}}const lastNode=ast.body[ast.body.length-1];if(lastNode.type==="ExpressionStatement"){lastNode.type="ReturnStatement";lastNode.argument=lastNode.expression;delete lastNode.expression}const rewrittenCode=escodegen.generate(ast,{comment:true});const suffix=options.filename!==undefined?"\n//# sourceURL="+options.filename:"";return Function("window",rewrittenCode+suffix).bind(contextifiedSandbox)(contextifiedSandbox)};exports.Script=class VMShimScript{constructor(code,options){this._code=code;this._options=options}runInContext(sandbox,options){return exports.runInContext(this._code,sandbox,Object.assign({},this._options,options))}}}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./browser/js-globals.json":337,acorn:6,"acorn-globals":4,escodegen:233}],769:[function(require,module,exports){
|
||
/*!
|
||
* Copyright (c) 2015, Salesforce.com, 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:
|
||
*
|
||
* 1. Redistributions of source code must retain the above copyright notice,
|
||
* this list of conditions and the following disclaimer.
|
||
*
|
||
* 2. 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.
|
||
*
|
||
* 3. Neither the name of Salesforce.com 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.
|
||
*/
|
||
"use strict";var urlParse=require("url").parse;var util=require("util");var ipRegex=require("ip-regex")({exact:true});var pubsuffix=require("./pubsuffix-psl");var Store=require("./store").Store;var MemoryCookieStore=require("./memstore").MemoryCookieStore;var pathMatch=require("./pathMatch").pathMatch;var VERSION=require("./version");var punycode;try{punycode=require("punycode")}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var COOKIE_OCTETS=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/;var CONTROL_CHARS=/[\x00-\x1F]/;var TERMINATORS=["\n","\r","\0"];var PATH_VALUE=/[\x20-\x3A\x3C-\x7E]+/;var DATE_DELIM=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/;var MONTH_TO_NUM={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11};var NUM_TO_MONTH=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var NUM_TO_DAY=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var MAX_TIME=2147483647e3;var MIN_TIME=0;function parseDigits(token,minDigits,maxDigits,trailingOK){var count=0;while(count<token.length){var c=token.charCodeAt(count);if(c<=47||c>=58){break}count++}if(count<minDigits||count>maxDigits){return null}if(!trailingOK&&count!=token.length){return null}return parseInt(token.substr(0,count),10)}function parseTime(token){var parts=token.split(":");var result=[0,0,0];if(parts.length!==3){return null}for(var i=0;i<3;i++){var trailingOK=i==2;var num=parseDigits(parts[i],1,2,trailingOK);if(num===null){return null}result[i]=num}return result}function parseMonth(token){token=String(token).substr(0,3).toLowerCase();var num=MONTH_TO_NUM[token];return num>=0?num:null}function parseDate(str){if(!str){return}var tokens=str.split(DATE_DELIM);if(!tokens){return}var hour=null;var minute=null;var second=null;var dayOfMonth=null;var month=null;var year=null;for(var i=0;i<tokens.length;i++){var token=tokens[i].trim();if(!token.length){continue}var result;if(second===null){result=parseTime(token);if(result){hour=result[0];minute=result[1];second=result[2];continue}}if(dayOfMonth===null){result=parseDigits(token,1,2,true);if(result!==null){dayOfMonth=result;continue}}if(month===null){result=parseMonth(token);if(result!==null){month=result;continue}}if(year===null){result=parseDigits(token,2,4,true);if(result!==null){year=result;if(year>=70&&year<=99){year+=1900}else if(year>=0&&year<=69){year+=2e3}}}}if(dayOfMonth===null||month===null||year===null||second===null||dayOfMonth<1||dayOfMonth>31||year<1601||hour>23||minute>59||second>59){return}return new Date(Date.UTC(year,month,dayOfMonth,hour,minute,second))}function formatDate(date){var d=date.getUTCDate();d=d>=10?d:"0"+d;var h=date.getUTCHours();h=h>=10?h:"0"+h;var m=date.getUTCMinutes();m=m>=10?m:"0"+m;var s=date.getUTCSeconds();s=s>=10?s:"0"+s;return NUM_TO_DAY[date.getUTCDay()]+", "+d+" "+NUM_TO_MONTH[date.getUTCMonth()]+" "+date.getUTCFullYear()+" "+h+":"+m+":"+s+" GMT"}function canonicalDomain(str){if(str==null){return null}str=str.trim().replace(/^\./,"");if(punycode&&/[^\u0001-\u007f]/.test(str)){str=punycode.toASCII(str)}return str.toLowerCase()}function domainMatch(str,domStr,canonicalize){if(str==null||domStr==null){return null}if(canonicalize!==false){str=canonicalDomain(str);domStr=canonicalDomain(domStr)}if(str==domStr){return true}if(ipRegex.test(str)){return false}var idx=str.indexOf(domStr);if(idx<=0){return false}if(str.length!==domStr.length+idx){return false}if(str.substr(idx-1,1)!=="."){return false}return true}function defaultPath(path){if(!path||path.substr(0,1)!=="/"){return"/"}if(path==="/"){return path}var rightSlash=path.lastIndexOf("/");if(rightSlash===0){return"/"}return path.slice(0,rightSlash)}function trimTerminator(str){for(var t=0;t<TERMINATORS.length;t++){var terminatorIdx=str.indexOf(TERMINATORS[t]);if(terminatorIdx!==-1){str=str.substr(0,terminatorIdx)}}return str}function parseCookiePair(cookiePair,looseMode){cookiePair=trimTerminator(cookiePair);var firstEq=cookiePair.indexOf("=");if(looseMode){if(firstEq===0){cookiePair=cookiePair.substr(1);firstEq=cookiePair.indexOf("=")}}else{if(firstEq<=0){return}}var cookieName,cookieValue;if(firstEq<=0){cookieName="";cookieValue=cookiePair.trim()}else{cookieName=cookiePair.substr(0,firstEq).trim();cookieValue=cookiePair.substr(firstEq+1).trim()}if(CONTROL_CHARS.test(cookieName)||CONTROL_CHARS.test(cookieValue)){return}var c=new Cookie;c.key=cookieName;c.value=cookieValue;return c}function parse(str,options){if(!options||typeof options!=="object"){options={}}str=str.trim();var firstSemi=str.indexOf(";");var cookiePair=firstSemi===-1?str:str.substr(0,firstSemi);var c=parseCookiePair(cookiePair,!!options.loose);if(!c){return}if(firstSemi===-1){return c}var unparsed=str.slice(firstSemi+1).trim();if(unparsed.length===0){return c}var cookie_avs=unparsed.split(";");while(cookie_avs.length){var av=cookie_avs.shift().trim();if(av.length===0){continue}var av_sep=av.indexOf("=");var av_key,av_value;if(av_sep===-1){av_key=av;av_value=null}else{av_key=av.substr(0,av_sep);av_value=av.substr(av_sep+1)}av_key=av_key.trim().toLowerCase();if(av_value){av_value=av_value.trim()}switch(av_key){case"expires":if(av_value){var exp=parseDate(av_value);if(exp){c.expires=exp}}break;case"max-age":if(av_value){if(/^-?[0-9]+$/.test(av_value)){var delta=parseInt(av_value,10);c.setMaxAge(delta)}}break;case"domain":if(av_value){var domain=av_value.trim().replace(/^\./,"");if(domain){c.domain=domain.toLowerCase()}}break;case"path":c.path=av_value&&av_value[0]==="/"?av_value:null;break;case"secure":c.secure=true;break;case"httponly":c.httpOnly=true;break;default:c.extensions=c.extensions||[];c.extensions.push(av);break}}return c}function jsonParse(str){var obj;try{obj=JSON.parse(str)}catch(e){return e}return obj}function fromJSON(str){if(!str){return null}var obj;if(typeof str==="string"){obj=jsonParse(str);if(obj instanceof Error){return null}}else{obj=str}var c=new Cookie;for(var i=0;i<Cookie.serializableProperties.length;i++){var prop=Cookie.serializableProperties[i];if(obj[prop]===undefined||obj[prop]===Cookie.prototype[prop]){continue}if(prop==="expires"||prop==="creation"||prop==="lastAccessed"){if(obj[prop]===null){c[prop]=null}else{c[prop]=obj[prop]=="Infinity"?"Infinity":new Date(obj[prop])}}else{c[prop]=obj[prop]}}return c}function cookieCompare(a,b){var cmp=0;var aPathLen=a.path?a.path.length:0;var bPathLen=b.path?b.path.length:0;cmp=bPathLen-aPathLen;if(cmp!==0){return cmp}var aTime=a.creation?a.creation.getTime():MAX_TIME;var bTime=b.creation?b.creation.getTime():MAX_TIME;cmp=aTime-bTime;if(cmp!==0){return cmp}cmp=a.creationIndex-b.creationIndex;return cmp}function permutePath(path){if(path==="/"){return["/"]}if(path.lastIndexOf("/")===path.length-1){path=path.substr(0,path.length-1)}var permutations=[path];while(path.length>1){var lindex=path.lastIndexOf("/");if(lindex===0){break}path=path.substr(0,lindex);permutations.push(path)}permutations.push("/");return permutations}function getCookieContext(url){if(url instanceof Object){return url}try{url=decodeURI(url)}catch(err){}return urlParse(url)}function Cookie(options){options=options||{};Object.keys(options).forEach((function(prop){if(Cookie.prototype.hasOwnProperty(prop)&&Cookie.prototype[prop]!==options[prop]&&prop.substr(0,1)!=="_"){this[prop]=options[prop]}}),this);this.creation=this.creation||new Date;Object.defineProperty(this,"creationIndex",{configurable:false,enumerable:false,writable:true,value:++Cookie.cookiesCreated})}Cookie.cookiesCreated=0;Cookie.parse=parse;Cookie.fromJSON=fromJSON;Cookie.prototype.key="";Cookie.prototype.value="";Cookie.prototype.expires="Infinity";Cookie.prototype.maxAge=null;Cookie.prototype.domain=null;Cookie.prototype.path=null;Cookie.prototype.secure=false;Cookie.prototype.httpOnly=false;Cookie.prototype.extensions=null;Cookie.prototype.hostOnly=null;Cookie.prototype.pathIsDefault=null;Cookie.prototype.creation=null;Cookie.prototype.lastAccessed=null;Object.defineProperty(Cookie.prototype,"creationIndex",{configurable:true,enumerable:false,writable:true,value:0});Cookie.serializableProperties=Object.keys(Cookie.prototype).filter((function(prop){return!(Cookie.prototype[prop]instanceof Function||prop==="creationIndex"||prop.substr(0,1)==="_")}));Cookie.prototype.inspect=function inspect(){var now=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(this.hostOnly!=null?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?now-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?now-this.creation.getTime()+"ms":"?")+'"'};if(util.inspect.custom){Cookie.prototype[util.inspect.custom]=Cookie.prototype.inspect}Cookie.prototype.toJSON=function(){var obj={};var props=Cookie.serializableProperties;for(var i=0;i<props.length;i++){var prop=props[i];if(this[prop]===Cookie.prototype[prop]){continue}if(prop==="expires"||prop==="creation"||prop==="lastAccessed"){if(this[prop]===null){obj[prop]=null}else{obj[prop]=this[prop]=="Infinity"?"Infinity":this[prop].toISOString()}}else if(prop==="maxAge"){if(this[prop]!==null){obj[prop]=this[prop]==Infinity||this[prop]==-Infinity?this[prop].toString():this[prop]}}else{if(this[prop]!==Cookie.prototype[prop]){obj[prop]=this[prop]}}}return obj};Cookie.prototype.clone=function(){return fromJSON(this.toJSON())};Cookie.prototype.validate=function validate(){if(!COOKIE_OCTETS.test(this.value)){return false}if(this.expires!=Infinity&&!(this.expires instanceof Date)&&!parseDate(this.expires)){return false}if(this.maxAge!=null&&this.maxAge<=0){return false}if(this.path!=null&&!PATH_VALUE.test(this.path)){return false}var cdomain=this.cdomain();if(cdomain){if(cdomain.match(/\.$/)){return false}var suffix=pubsuffix.getPublicSuffix(cdomain);if(suffix==null){return false}}return true};Cookie.prototype.setExpires=function setExpires(exp){if(exp instanceof Date){this.expires=exp}else{this.expires=parseDate(exp)||"Infinity"}};Cookie.prototype.setMaxAge=function setMaxAge(age){if(age===Infinity||age===-Infinity){this.maxAge=age.toString()}else{this.maxAge=age}};Cookie.prototype.cookieString=function cookieString(){var val=this.value;if(val==null){val=""}if(this.key===""){return val}return this.key+"="+val};Cookie.prototype.toString=function toString(){var str=this.cookieString();if(this.expires!=Infinity){if(this.expires instanceof Date){str+="; Expires="+formatDate(this.expires)}else{str+="; Expires="+this.expires}}if(this.maxAge!=null&&this.maxAge!=Infinity){str+="; Max-Age="+this.maxAge}if(this.domain&&!this.hostOnly){str+="; Domain="+this.domain}if(this.path){str+="; Path="+this.path}if(this.secure){str+="; Secure"}if(this.httpOnly){str+="; HttpOnly"}if(this.extensions){this.extensions.forEach((function(ext){str+="; "+ext}))}return str};Cookie.prototype.TTL=function TTL(now){if(this.maxAge!=null){return this.maxAge<=0?0:this.maxAge*1e3}var expires=this.expires;if(expires!=Infinity){if(!(expires instanceof Date)){expires=parseDate(expires)||Infinity}if(expires==Infinity){return Infinity}return expires.getTime()-(now||Date.now())}return Infinity};Cookie.prototype.expiryTime=function expiryTime(now){if(this.maxAge!=null){var relativeTo=now||this.creation||new Date;var age=this.maxAge<=0?-Infinity:this.maxAge*1e3;return relativeTo.getTime()+age}if(this.expires==Infinity){return Infinity}return this.expires.getTime()};Cookie.prototype.expiryDate=function expiryDate(now){var millisec=this.expiryTime(now);if(millisec==Infinity){return new Date(MAX_TIME)}else if(millisec==-Infinity){return new Date(MIN_TIME)}else{return new Date(millisec)}};Cookie.prototype.isPersistent=function isPersistent(){return this.maxAge!=null||this.expires!=Infinity};Cookie.prototype.cdomain=Cookie.prototype.canonicalizedDomain=function canonicalizedDomain(){if(this.domain==null){return null}return canonicalDomain(this.domain)};function CookieJar(store,options){if(typeof options==="boolean"){options={rejectPublicSuffixes:options}}else if(options==null){options={}}if(options.rejectPublicSuffixes!=null){this.rejectPublicSuffixes=options.rejectPublicSuffixes}if(options.looseMode!=null){this.enableLooseMode=options.looseMode}if(!store){store=new MemoryCookieStore}this.store=store}CookieJar.prototype.store=null;CookieJar.prototype.rejectPublicSuffixes=true;CookieJar.prototype.enableLooseMode=false;var CAN_BE_SYNC=[];CAN_BE_SYNC.push("setCookie");CookieJar.prototype.setCookie=function(cookie,url,options,cb){var err;var context=getCookieContext(url);if(options instanceof Function){cb=options;options={}}var host=canonicalDomain(context.hostname);var loose=this.enableLooseMode;if(options.loose!=null){loose=options.loose}if(typeof cookie==="string"||cookie instanceof String){cookie=Cookie.parse(cookie,{loose:loose});if(!cookie){err=new Error("Cookie failed to parse");return cb(options.ignoreError?null:err)}}else if(!(cookie instanceof Cookie)){err=new Error("First argument to setCookie must be a Cookie object or string");return cb(options.ignoreError?null:err)}var now=options.now||new Date;if(this.rejectPublicSuffixes&&cookie.domain){var suffix=pubsuffix.getPublicSuffix(cookie.cdomain());if(suffix==null){err=new Error("Cookie has domain set to a public suffix");return cb(options.ignoreError?null:err)}}if(cookie.domain){if(!domainMatch(host,cookie.cdomain(),false)){err=new Error("Cookie not in this host's domain. Cookie:"+cookie.cdomain()+" Request:"+host);return cb(options.ignoreError?null:err)}if(cookie.hostOnly==null){cookie.hostOnly=false}}else{cookie.hostOnly=true;cookie.domain=host}if(!cookie.path||cookie.path[0]!=="/"){cookie.path=defaultPath(context.pathname);cookie.pathIsDefault=true}if(options.http===false&&cookie.httpOnly){err=new Error("Cookie is HttpOnly and this isn't an HTTP API");return cb(options.ignoreError?null:err)}var store=this.store;if(!store.updateCookie){store.updateCookie=function(oldCookie,newCookie,cb){this.putCookie(newCookie,cb)}}function withCookie(err,oldCookie){if(err){return cb(err)}var next=function(err){if(err){return cb(err)}else{cb(null,cookie)}};if(oldCookie){if(options.http===false&&oldCookie.httpOnly){err=new Error("old Cookie is HttpOnly and this isn't an HTTP API");return cb(options.ignoreError?null:err)}cookie.creation=oldCookie.creation;cookie.creationIndex=oldCookie.creationIndex;cookie.lastAccessed=now;store.updateCookie(oldCookie,cookie,next)}else{cookie.creation=cookie.lastAccessed=now;store.putCookie(cookie,next)}}store.findCookie(cookie.domain,cookie.path,cookie.key,withCookie)};CAN_BE_SYNC.push("getCookies");CookieJar.prototype.getCookies=function(url,options,cb){var context=getCookieContext(url);if(options instanceof Function){cb=options;options={}}var host=canonicalDomain(context.hostname);var path=context.pathname||"/";var secure=options.secure;if(secure==null&&context.protocol&&(context.protocol=="https:"||context.protocol=="wss:")){secure=true}var http=options.http;if(http==null){http=true}var now=options.now||Date.now();var expireCheck=options.expire!==false;var allPaths=!!options.allPaths;var store=this.store;function matchingCookie(c){if(c.hostOnly){if(c.domain!=host){return false}}else{if(!domainMatch(host,c.domain,false)){return false}}if(!allPaths&&!pathMatch(path,c.path)){return false}if(c.secure&&!secure){return false}if(c.httpOnly&&!http){return false}if(expireCheck&&c.expiryTime()<=now){store.removeCookie(c.domain,c.path,c.key,(function(){}));return false}return true}store.findCookies(host,allPaths?null:path,(function(err,cookies){if(err){return cb(err)}cookies=cookies.filter(matchingCookie);if(options.sort!==false){cookies=cookies.sort(cookieCompare)}var now=new Date;cookies.forEach((function(c){c.lastAccessed=now}));cb(null,cookies)}))};CAN_BE_SYNC.push("getCookieString");CookieJar.prototype.getCookieString=function(){var args=Array.prototype.slice.call(arguments,0);var cb=args.pop();var next=function(err,cookies){if(err){cb(err)}else{cb(null,cookies.sort(cookieCompare).map((function(c){return c.cookieString()})).join("; "))}};args.push(next);this.getCookies.apply(this,args)};CAN_BE_SYNC.push("getSetCookieStrings");CookieJar.prototype.getSetCookieStrings=function(){var args=Array.prototype.slice.call(arguments,0);var cb=args.pop();var next=function(err,cookies){if(err){cb(err)}else{cb(null,cookies.map((function(c){return c.toString()})))}};args.push(next);this.getCookies.apply(this,args)};CAN_BE_SYNC.push("serialize");CookieJar.prototype.serialize=function(cb){var type=this.store.constructor.name;if(type==="Object"){type=null}var serialized={version:"tough-cookie@"+VERSION,storeType:type,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};if(!(this.store.getAllCookies&&typeof this.store.getAllCookies==="function")){return cb(new Error("store does not support getAllCookies and cannot be serialized"))}this.store.getAllCookies((function(err,cookies){if(err){return cb(err)}serialized.cookies=cookies.map((function(cookie){cookie=cookie instanceof Cookie?cookie.toJSON():cookie;delete cookie.creationIndex;return cookie}));return cb(null,serialized)}))};CookieJar.prototype.toJSON=function(){return this.serializeSync()};CAN_BE_SYNC.push("_importCookies");CookieJar.prototype._importCookies=function(serialized,cb){var jar=this;var cookies=serialized.cookies;if(!cookies||!Array.isArray(cookies)){return cb(new Error("serialized jar has no cookies array"))}cookies=cookies.slice();function putNext(err){if(err){return cb(err)}if(!cookies.length){return cb(err,jar)}var cookie;try{cookie=fromJSON(cookies.shift())}catch(e){return cb(e)}if(cookie===null){return putNext(null)}jar.store.putCookie(cookie,putNext)}putNext()};CookieJar.deserialize=function(strOrObj,store,cb){if(arguments.length!==3){cb=store;store=null}var serialized;if(typeof strOrObj==="string"){serialized=jsonParse(strOrObj);if(serialized instanceof Error){return cb(serialized)}}else{serialized=strOrObj}var jar=new CookieJar(store,serialized.rejectPublicSuffixes);jar._importCookies(serialized,(function(err){if(err){return cb(err)}cb(null,jar)}))};CookieJar.deserializeSync=function(strOrObj,store){var serialized=typeof strOrObj==="string"?JSON.parse(strOrObj):strOrObj;var jar=new CookieJar(store,serialized.rejectPublicSuffixes);if(!jar.store.synchronous){throw new Error("CookieJar store is not synchronous; use async API instead.")}jar._importCookiesSync(serialized);return jar};CookieJar.fromJSON=CookieJar.deserializeSync;CookieJar.prototype.clone=function(newStore,cb){if(arguments.length===1){cb=newStore;newStore=null}this.serialize((function(err,serialized){if(err){return cb(err)}CookieJar.deserialize(serialized,newStore,cb)}))};CAN_BE_SYNC.push("removeAllCookies");CookieJar.prototype.removeAllCookies=function(cb){var store=this.store;if(store.removeAllCookies instanceof Function&&store.removeAllCookies!==Store.prototype.removeAllCookies){return store.removeAllCookies(cb)}store.getAllCookies((function(err,cookies){if(err){return cb(err)}if(cookies.length===0){return cb(null)}var completedCount=0;var removeErrors=[];function removeCookieCb(removeErr){if(removeErr){removeErrors.push(removeErr)}completedCount++;if(completedCount===cookies.length){return cb(removeErrors.length?removeErrors[0]:null)}}cookies.forEach((function(cookie){store.removeCookie(cookie.domain,cookie.path,cookie.key,removeCookieCb)}))}))};CookieJar.prototype._cloneSync=syncWrap("clone");CookieJar.prototype.cloneSync=function(newStore){if(!newStore.synchronous){throw new Error("CookieJar clone destination store is not synchronous; use async API instead.")}return this._cloneSync(newStore)};function syncWrap(method){return function(){if(!this.store.synchronous){throw new Error("CookieJar store is not synchronous; use async API instead.")}var args=Array.prototype.slice.call(arguments);var syncErr,syncResult;args.push((function syncCb(err,result){syncErr=err;syncResult=result}));this[method].apply(this,args);if(syncErr){throw syncErr}return syncResult}}CAN_BE_SYNC.forEach((function(method){CookieJar.prototype[method+"Sync"]=syncWrap(method)}));exports.version=VERSION;exports.CookieJar=CookieJar;exports.Cookie=Cookie;exports.Store=Store;exports.MemoryCookieStore=MemoryCookieStore;exports.parseDate=parseDate;exports.formatDate=formatDate;exports.parse=parse;exports.fromJSON=fromJSON;exports.domainMatch=domainMatch;exports.defaultPath=defaultPath;exports.pathMatch=pathMatch;exports.getPublicSuffix=pubsuffix.getPublicSuffix;exports.cookieCompare=cookieCompare;exports.permuteDomain=require("./permuteDomain").permuteDomain;exports.permutePath=permutePath;exports.canonicalDomain=canonicalDomain},{"./memstore":770,"./pathMatch":771,"./permuteDomain":772,"./pubsuffix-psl":773,"./store":774,"./version":775,"ip-regex":327,punycode:130,url:995,util:1e3}],770:[function(require,module,exports){
|
||
/*!
|
||
* Copyright (c) 2015, Salesforce.com, 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:
|
||
*
|
||
* 1. Redistributions of source code must retain the above copyright notice,
|
||
* this list of conditions and the following disclaimer.
|
||
*
|
||
* 2. 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.
|
||
*
|
||
* 3. Neither the name of Salesforce.com 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.
|
||
*/
|
||
"use strict";var Store=require("./store").Store;var permuteDomain=require("./permuteDomain").permuteDomain;var pathMatch=require("./pathMatch").pathMatch;var util=require("util");function MemoryCookieStore(){Store.call(this);this.idx={}}util.inherits(MemoryCookieStore,Store);exports.MemoryCookieStore=MemoryCookieStore;MemoryCookieStore.prototype.idx=null;MemoryCookieStore.prototype.synchronous=true;MemoryCookieStore.prototype.inspect=function(){return"{ idx: "+util.inspect(this.idx,false,2)+" }"};if(util.inspect.custom){MemoryCookieStore.prototype[util.inspect.custom]=MemoryCookieStore.prototype.inspect}MemoryCookieStore.prototype.findCookie=function(domain,path,key,cb){if(!this.idx[domain]){return cb(null,undefined)}if(!this.idx[domain][path]){return cb(null,undefined)}return cb(null,this.idx[domain][path][key]||null)};MemoryCookieStore.prototype.findCookies=function(domain,path,cb){var results=[];if(!domain){return cb(null,[])}var pathMatcher;if(!path){pathMatcher=function matchAll(domainIndex){for(var curPath in domainIndex){var pathIndex=domainIndex[curPath];for(var key in pathIndex){results.push(pathIndex[key])}}}}else{pathMatcher=function matchRFC(domainIndex){Object.keys(domainIndex).forEach((function(cookiePath){if(pathMatch(path,cookiePath)){var pathIndex=domainIndex[cookiePath];for(var key in pathIndex){results.push(pathIndex[key])}}}))}}var domains=permuteDomain(domain)||[domain];var idx=this.idx;domains.forEach((function(curDomain){var domainIndex=idx[curDomain];if(!domainIndex){return}pathMatcher(domainIndex)}));cb(null,results)};MemoryCookieStore.prototype.putCookie=function(cookie,cb){if(!this.idx[cookie.domain]){this.idx[cookie.domain]={}}if(!this.idx[cookie.domain][cookie.path]){this.idx[cookie.domain][cookie.path]={}}this.idx[cookie.domain][cookie.path][cookie.key]=cookie;cb(null)};MemoryCookieStore.prototype.updateCookie=function(oldCookie,newCookie,cb){this.putCookie(newCookie,cb)};MemoryCookieStore.prototype.removeCookie=function(domain,path,key,cb){if(this.idx[domain]&&this.idx[domain][path]&&this.idx[domain][path][key]){delete this.idx[domain][path][key]}cb(null)};MemoryCookieStore.prototype.removeCookies=function(domain,path,cb){if(this.idx[domain]){if(path){delete this.idx[domain][path]}else{delete this.idx[domain]}}return cb(null)};MemoryCookieStore.prototype.removeAllCookies=function(cb){this.idx={};return cb(null)};MemoryCookieStore.prototype.getAllCookies=function(cb){var cookies=[];var idx=this.idx;var domains=Object.keys(idx);domains.forEach((function(domain){var paths=Object.keys(idx[domain]);paths.forEach((function(path){var keys=Object.keys(idx[domain][path]);keys.forEach((function(key){if(key!==null){cookies.push(idx[domain][path][key])}}))}))}));cookies.sort((function(a,b){return(a.creationIndex||0)-(b.creationIndex||0)}));cb(null,cookies)}},{"./pathMatch":771,"./permuteDomain":772,"./store":774,util:1e3}],771:[function(require,module,exports){
|
||
/*!
|
||
* Copyright (c) 2015, Salesforce.com, 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:
|
||
*
|
||
* 1. Redistributions of source code must retain the above copyright notice,
|
||
* this list of conditions and the following disclaimer.
|
||
*
|
||
* 2. 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.
|
||
*
|
||
* 3. Neither the name of Salesforce.com 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.
|
||
*/
|
||
"use strict";function pathMatch(reqPath,cookiePath){if(cookiePath===reqPath){return true}var idx=reqPath.indexOf(cookiePath);if(idx===0){if(cookiePath.substr(-1)==="/"){return true}if(reqPath.substr(cookiePath.length,1)==="/"){return true}}return false}exports.pathMatch=pathMatch},{}],772:[function(require,module,exports){
|
||
/*!
|
||
* Copyright (c) 2015, Salesforce.com, 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:
|
||
*
|
||
* 1. Redistributions of source code must retain the above copyright notice,
|
||
* this list of conditions and the following disclaimer.
|
||
*
|
||
* 2. 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.
|
||
*
|
||
* 3. Neither the name of Salesforce.com 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.
|
||
*/
|
||
"use strict";var pubsuffix=require("./pubsuffix-psl");function permuteDomain(domain){var pubSuf=pubsuffix.getPublicSuffix(domain);if(!pubSuf){return null}if(pubSuf==domain){return[domain]}var prefix=domain.slice(0,-(pubSuf.length+1));var parts=prefix.split(".").reverse();var cur=pubSuf;var permutations=[cur];while(parts.length){cur=parts.shift()+"."+cur;permutations.push(cur)}return permutations}exports.permuteDomain=permuteDomain},{"./pubsuffix-psl":773}],773:[function(require,module,exports){
|
||
/*!
|
||
* Copyright (c) 2018, Salesforce.com, 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:
|
||
*
|
||
* 1. Redistributions of source code must retain the above copyright notice,
|
||
* this list of conditions and the following disclaimer.
|
||
*
|
||
* 2. 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.
|
||
*
|
||
* 3. Neither the name of Salesforce.com 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.
|
||
*/
|
||
"use strict";var psl=require("psl");function getPublicSuffix(domain){return psl.get(domain)}exports.getPublicSuffix=getPublicSuffix},{psl:857}],774:[function(require,module,exports){
|
||
/*!
|
||
* Copyright (c) 2015, Salesforce.com, 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:
|
||
*
|
||
* 1. Redistributions of source code must retain the above copyright notice,
|
||
* this list of conditions and the following disclaimer.
|
||
*
|
||
* 2. 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.
|
||
*
|
||
* 3. Neither the name of Salesforce.com 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.
|
||
*/
|
||
"use strict";function Store(){}exports.Store=Store;Store.prototype.synchronous=false;Store.prototype.findCookie=function(domain,path,key,cb){throw new Error("findCookie is not implemented")};Store.prototype.findCookies=function(domain,path,cb){throw new Error("findCookies is not implemented")};Store.prototype.putCookie=function(cookie,cb){throw new Error("putCookie is not implemented")};Store.prototype.updateCookie=function(oldCookie,newCookie,cb){throw new Error("updateCookie is not implemented")};Store.prototype.removeCookie=function(domain,path,key,cb){throw new Error("removeCookie is not implemented")};Store.prototype.removeCookies=function(domain,path,cb){throw new Error("removeCookies is not implemented")};Store.prototype.removeAllCookies=function(cb){throw new Error("removeAllCookies is not implemented")};Store.prototype.getAllCookies=function(cb){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},{}],775:[function(require,module,exports){module.exports="3.0.1"},{}],776:[function(require,module,exports){"use strict";function makeException(ErrorType,message,opts={}){if(opts.globals){ErrorType=opts.globals[ErrorType.name]}return new ErrorType(`${opts.context?opts.context:"Value"} ${message}.`)}function toNumber(value,opts={}){if(!opts.globals){return+value}if(typeof value==="bigint"){throw opts.globals.TypeError("Cannot convert a BigInt value to a number")}return opts.globals.Number(value)}function type(V){if(V===null){return"Null"}switch(typeof V){case"undefined":return"Undefined";case"boolean":return"Boolean";case"number":return"Number";case"string":return"String";case"symbol":return"Symbol";case"bigint":return"BigInt";case"object":case"function":default:return"Object"}}function evenRound(x){if(x>0&&x%1===+.5&&(x&1)===0||x<0&&x%1===-.5&&(x&1)===1){return censorNegativeZero(Math.floor(x))}return censorNegativeZero(Math.round(x))}function integerPart(n){return censorNegativeZero(Math.trunc(n))}function sign(x){return x<0?-1:1}function modulo(x,y){const signMightNotMatch=x%y;if(sign(y)!==sign(signMightNotMatch)){return signMightNotMatch+y}return signMightNotMatch}function censorNegativeZero(x){return x===0?0:x}function createIntegerConversion(bitLength,typeOpts){const isSigned=!typeOpts.unsigned;let lowerBound;let upperBound;if(bitLength===64){upperBound=Number.MAX_SAFE_INTEGER;lowerBound=!isSigned?0:Number.MIN_SAFE_INTEGER}else if(!isSigned){lowerBound=0;upperBound=Math.pow(2,bitLength)-1}else{lowerBound=-Math.pow(2,bitLength-1);upperBound=Math.pow(2,bitLength-1)-1}const twoToTheBitLength=Math.pow(2,bitLength);const twoToOneLessThanTheBitLength=Math.pow(2,bitLength-1);return(V,opts={})=>{let x=toNumber(V,opts);x=censorNegativeZero(x);if(opts.enforceRange){if(!Number.isFinite(x)){throw makeException(TypeError,"is not a finite number",opts)}x=integerPart(x);if(x<lowerBound||x>upperBound){throw makeException(TypeError,`is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`,opts)}return x}if(!Number.isNaN(x)&&opts.clamp){x=Math.min(Math.max(x,lowerBound),upperBound);x=evenRound(x);return x}if(!Number.isFinite(x)||x===0){return 0}x=integerPart(x);if(x>=lowerBound&&x<=upperBound){return x}x=modulo(x,twoToTheBitLength);if(isSigned&&x>=twoToOneLessThanTheBitLength){return x-twoToTheBitLength}return x}}function createLongLongConversion(bitLength,{unsigned:unsigned}){const upperBound=Number.MAX_SAFE_INTEGER;const lowerBound=unsigned?0:Number.MIN_SAFE_INTEGER;const asBigIntN=unsigned?BigInt.asUintN:BigInt.asIntN;return(V,opts={})=>{if(opts===undefined){opts={}}let x=toNumber(V,opts);x=censorNegativeZero(x);if(opts.enforceRange){if(!Number.isFinite(x)){throw makeException(TypeError,"is not a finite number",opts)}x=integerPart(x);if(x<lowerBound||x>upperBound){throw makeException(TypeError,`is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`,opts)}return x}if(!Number.isNaN(x)&&opts.clamp){x=Math.min(Math.max(x,lowerBound),upperBound);x=evenRound(x);return x}if(!Number.isFinite(x)||x===0){return 0}let xBigInt=BigInt(integerPart(x));xBigInt=asBigIntN(bitLength,xBigInt);return Number(xBigInt)}}exports.any=V=>V;exports.void=function(){return undefined};exports.boolean=function(val){return!!val};exports.byte=createIntegerConversion(8,{unsigned:false});exports.octet=createIntegerConversion(8,{unsigned:true});exports.short=createIntegerConversion(16,{unsigned:false});exports["unsigned short"]=createIntegerConversion(16,{unsigned:true});exports.long=createIntegerConversion(32,{unsigned:false});exports["unsigned long"]=createIntegerConversion(32,{unsigned:true});exports["long long"]=createLongLongConversion(64,{unsigned:false});exports["unsigned long long"]=createLongLongConversion(64,{unsigned:true});exports.double=(V,opts)=>{const x=toNumber(V,opts);if(!Number.isFinite(x)){throw makeException(TypeError,"is not a finite floating-point value",opts)}return x};exports["unrestricted double"]=(V,opts)=>{const x=toNumber(V,opts);return x};exports.float=(V,opts)=>{const x=toNumber(V,opts);if(!Number.isFinite(x)){throw makeException(TypeError,"is not a finite floating-point value",opts)}if(Object.is(x,-0)){return x}const y=Math.fround(x);if(!Number.isFinite(y)){throw makeException(TypeError,"is outside the range of a single-precision floating-point value",opts)}return y};exports["unrestricted float"]=(V,opts)=>{const x=toNumber(V,opts);if(isNaN(x)){return x}if(Object.is(x,-0)){return x}return Math.fround(x)};exports.DOMString=function(V,opts={}){if(opts.treatNullAsEmptyString&&V===null){return""}if(typeof V==="symbol"){throw makeException(TypeError,"is a symbol, which cannot be converted to a string",opts)}const StringCtor=opts.globals?opts.globals.String:String;return StringCtor(V)};exports.ByteString=(V,opts)=>{const x=exports.DOMString(V,opts);let c;for(let i=0;(c=x.codePointAt(i))!==undefined;++i){if(c>255){throw makeException(TypeError,"is not a valid ByteString",opts)}}return x};exports.USVString=(V,opts)=>{const S=exports.DOMString(V,opts);const n=S.length;const U=[];for(let i=0;i<n;++i){const c=S.charCodeAt(i);if(c<55296||c>57343){U.push(String.fromCodePoint(c))}else if(56320<=c&&c<=57343){U.push(String.fromCodePoint(65533))}else if(i===n-1){U.push(String.fromCodePoint(65533))}else{const d=S.charCodeAt(i+1);if(56320<=d&&d<=57343){const a=c&1023;const b=d&1023;U.push(String.fromCodePoint((2<<15)+(2<<9)*a+b));++i}else{U.push(String.fromCodePoint(65533))}}}return U.join("")};exports.object=(V,opts)=>{if(type(V)!=="Object"){throw makeException(TypeError,"is not an object",opts)}return V};function convertCallbackFunction(V,opts){if(typeof V!=="function"){throw makeException(TypeError,"is not a function",opts)}return V}const abByteLengthGetter=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;const sabByteLengthGetter=window.SharedArrayBuffer?Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get:null;function isNonSharedArrayBuffer(V){try{abByteLengthGetter.call(V);return true}catch{return false}}function isSharedArrayBuffer(V){try{sabByteLengthGetter.call(V);return true}catch{return false}}function isArrayBufferDetached(V){try{new Uint8Array(V);return false}catch{return true}}exports.ArrayBuffer=(V,opts={})=>{if(!isNonSharedArrayBuffer(V)){if(opts.allowShared&&!isSharedArrayBuffer(V)){throw makeException(TypeError,"is not an ArrayBuffer or SharedArrayBuffer",opts)}throw makeException(TypeError,"is not an ArrayBuffer",opts)}if(isArrayBufferDetached(V)){throw makeException(TypeError,"is a detached ArrayBuffer",opts)}return V};const dvByteLengthGetter=Object.getOwnPropertyDescriptor(DataView.prototype,"byteLength").get;exports.DataView=(V,opts={})=>{try{dvByteLengthGetter.call(V)}catch(e){throw makeException(TypeError,"is not a DataView",opts)}if(!opts.allowShared&&isSharedArrayBuffer(V.buffer)){throw makeException(TypeError,"is backed by a SharedArrayBuffer, which is not allowed",opts)}if(isArrayBufferDetached(V.buffer)){throw makeException(TypeError,"is backed by a detached ArrayBuffer",opts)}return V};const typedArrayNameGetter=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Uint8Array).prototype,Symbol.toStringTag).get;[Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array].forEach(func=>{const name=func.name;const article=/^[AEIOU]/.test(name)?"an":"a";exports[name]=(V,opts={})=>{if(!ArrayBuffer.isView(V)||typedArrayNameGetter.call(V)!==name){throw makeException(TypeError,`is not ${article} ${name} object`,opts)}if(!opts.allowShared&&isSharedArrayBuffer(V.buffer)){throw makeException(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",opts)}if(isArrayBufferDetached(V.buffer)){throw makeException(TypeError,"is a view on a detached ArrayBuffer",opts)}return V}});exports.ArrayBufferView=(V,opts={})=>{if(!ArrayBuffer.isView(V)){throw makeException(TypeError,"is not a view on an ArrayBuffer or SharedArrayBuffer",opts)}if(!opts.allowShared&&isSharedArrayBuffer(V.buffer)){throw makeException(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",opts)}if(isArrayBufferDetached(V.buffer)){throw makeException(TypeError,"is a view on a detached ArrayBuffer",opts)}return V};exports.BufferSource=(V,opts={})=>{if(ArrayBuffer.isView(V)){if(!opts.allowShared&&isSharedArrayBuffer(V.buffer)){throw makeException(TypeError,"is a view on a SharedArrayBuffer, which is not allowed",opts)}if(isArrayBufferDetached(V.buffer)){throw makeException(TypeError,"is a view on a detached ArrayBuffer",opts)}return V}if(!opts.allowShared&&!isNonSharedArrayBuffer(V)){throw makeException(TypeError,"is not an ArrayBuffer or a view on one",opts)}if(opts.allowShared&&!isSharedArrayBuffer(V)&&!isNonSharedArrayBuffer(V)){throw makeException(TypeError,"is not an ArrayBuffer, SharedArrayBufer, or a view on one",opts)}if(isArrayBufferDetached(V)){throw makeException(TypeError,"is a detached ArrayBuffer",opts)}return V};exports.DOMTimeStamp=exports["unsigned long long"];exports.Function=convertCallbackFunction;exports.VoidFunction=convertCallbackFunction},{}],777:[function(require,module,exports){module.exports={name:"jsdom",version:"16.3.0",description:"A JavaScript implementation of many web standards",keywords:["dom","html","whatwg","w3c"],maintainers:["Elijah Insua <tmpvar@gmail.com> (http://tmpvar.com)","Domenic Denicola <d@domenic.me> (https://domenic.me/)","Sebastian Mayr <sebmaster16@gmail.com> (https://blog.smayr.name/)","Joris van der Wel <joris@jorisvanderwel.com>","Timothy Gu <timothygu99@gmail.com> (https://timothygu.me/)","Magne Andersson <code@zirro.se> (https://zirro.se/)","Pierre-Marie Dartus <dartus.pierremarie@gmail.com>"],license:"MIT",repository:"jsdom/jsdom",dependencies:{abab:"^2.0.3",acorn:"^7.1.1","acorn-globals":"^6.0.0",cssom:"^0.4.4",cssstyle:"^2.2.0","data-urls":"^2.0.0","decimal.js":"^10.2.0",domexception:"^2.0.1",escodegen:"^1.14.1","html-encoding-sniffer":"^2.0.1","is-potential-custom-element-name":"^1.0.0",nwsapi:"^2.2.0",parse5:"5.1.1",request:"^2.88.2","request-promise-native":"^1.0.8",saxes:"^5.0.0","symbol-tree":"^3.2.4","tough-cookie":"^3.0.1","w3c-hr-time":"^1.0.2","w3c-xmlserializer":"^2.0.0","webidl-conversions":"^6.1.0","whatwg-encoding":"^1.0.5","whatwg-mimetype":"^2.3.0","whatwg-url":"^8.0.0",ws:"^7.2.3","xml-name-validator":"^3.0.0"},_dependenciesComments:{parse5:"Pinned to exact version number because we monkeypatch its internals (see htmltodom.js)"},peerDependencies:{canvas:"^2.5.0"},peerDependenciesMeta:{canvas:{optional:true}},devDependencies:{benchmark:"^2.1.4",browserify:"^16.5.0",chai:"^4.2.0",eslint:"^6.8.0","eslint-find-rules":"^3.4.0","eslint-plugin-html":"^6.0.0","eslint-plugin-jsdom-internal":"link:./scripts/eslint-plugin","js-yaml":"^3.13.1",karma:"^4.4.1","karma-browserify":"^7.0.0","karma-chrome-launcher":"^3.1.0","karma-mocha":"^1.3.0","karma-mocha-webworker":"^1.3.0",minimatch:"^3.0.4",mocha:"^7.1.1","mocha-sugar-free":"^1.4.0",optimist:"0.6.1",portfinder:"^1.0.25",rimraf:"^3.0.2","server-destroy":"^1.0.1",st:"^2.0.0",watchify:"^3.11.1",wd:"^1.12.1",webidl2js:"^16.0.0"},browser:{canvas:false,vm:"./lib/jsdom/vm-shim.js","./lib/jsdom/living/websockets/WebSocket-impl.js":"./lib/jsdom/living/websockets/WebSocket-impl-browser.js"},scripts:{prepare:"yarn convert-idl && yarn generate-js-globals",pretest:"yarn prepare && yarn init-wpt","test-wpt":"mocha test/web-platform-tests/run-wpts.js","test-tuwpt":"mocha test/web-platform-tests/run-tuwpts.js","test-mocha":"mocha","test-api":"mocha test/api",test:"mocha test/index.js","test-browser-iframe":"karma start test/karma.conf.js","test-browser-worker":"karma start test/karma-webworker.conf.js","test-browser":"yarn test-browser-iframe && yarn test-browser-worker",lint:"eslint . --cache --ext .js,.html","lint-is-complete":"eslint-find-rules --unused .eslintrc.json","init-wpt":"git submodule update --init --recursive","reset-wpt":"rimraf ./test/web-platform-tests/tests && yarn init-wpt","update-wpt":"git submodule update --recursive --remote && cd test/web-platform-tests/tests && python wpt.py manifest --path ../wpt-manifest.json","update-authors":'git log --format="%aN <%aE>" | sort -f | uniq > AUTHORS.txt',benchmark:"node ./benchmark/runner","benchmark-browser":"node ./benchmark/runner --bundle","convert-idl":"node ./scripts/webidl/convert.js","generate-js-globals":"node ./scripts/generate-js-globals.js"},main:"./lib/api.js",engines:{node:">=10"}}},{}],778:[function(require,module,exports){"use strict";var traverse=module.exports=function(schema,opts,cb){if(typeof opts=="function"){cb=opts;opts={}}cb=opts.cb||cb;var pre=typeof cb=="function"?cb:cb.pre||function(){};var post=cb.post||function(){};_traverse(opts,pre,post,schema,"",schema)};traverse.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};traverse.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};traverse.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};traverse.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(opts,pre,post,schema,jsonPtr,rootSchema,parentJsonPtr,parentKeyword,parentSchema,keyIndex){if(schema&&typeof schema=="object"&&!Array.isArray(schema)){pre(schema,jsonPtr,rootSchema,parentJsonPtr,parentKeyword,parentSchema,keyIndex);for(var key in schema){var sch=schema[key];if(Array.isArray(sch)){if(key in traverse.arrayKeywords){for(var i=0;i<sch.length;i++)_traverse(opts,pre,post,sch[i],jsonPtr+"/"+key+"/"+i,rootSchema,jsonPtr,key,schema,i)}}else if(key in traverse.propsKeywords){if(sch&&typeof sch=="object"){for(var prop in sch)_traverse(opts,pre,post,sch[prop],jsonPtr+"/"+key+"/"+escapeJsonPtr(prop),rootSchema,jsonPtr,key,schema,prop)}}else if(key in traverse.keywords||opts.allKeys&&!(key in traverse.skipKeywords)){_traverse(opts,pre,post,sch,jsonPtr+"/"+key,rootSchema,jsonPtr,key,schema)}}post(schema,jsonPtr,rootSchema,parentJsonPtr,parentKeyword,parentSchema,keyIndex)}}function escapeJsonPtr(str){return str.replace(/~/g,"~0").replace(/\//g,"~1")}},{}],779:[function(require,module,exports){(function(root,factory){if(typeof define==="function"&&define.amd){define([],(function(){return factory()}))}else if(typeof module==="object"&&module.exports){module.exports=factory()}else{root.jsonSchema=factory()}})(this,(function(){var exports=validate;exports.Integer={type:"integer"};var primitiveConstructors={String:String,Boolean:Boolean,Number:Number,Object:Object,Array:Array,Date:Date};exports.validate=validate;function validate(instance,schema){return validate(instance,schema,{changing:false})}exports.checkPropertyChange=function(value,schema,property){return validate(value,schema,{changing:property||"property"})};var validate=exports._validate=function(instance,schema,options){if(!options)options={};var _changing=options.changing;function getType(schema){return schema.type||primitiveConstructors[schema.name]==schema&&schema.name.toLowerCase()}var errors=[];function checkProp(value,schema,path,i){var l;path+=path?typeof i=="number"?"["+i+"]":typeof i=="undefined"?"":"."+i:i;function addError(message){errors.push({property:path,message:message})}if((typeof schema!="object"||schema instanceof Array)&&(path||typeof schema!="function")&&!(schema&&getType(schema))){if(typeof schema=="function"){if(!(value instanceof schema)){addError("is not an instance of the class/constructor "+schema.name)}}else if(schema){addError("Invalid schema/property definition "+schema)}return null}if(_changing&&schema.readonly){addError("is a readonly field, it can not be changed")}if(schema["extends"]){checkProp(value,schema["extends"],path,i)}function checkType(type,value){if(type){if(typeof type=="string"&&type!="any"&&(type=="null"?value!==null:typeof value!=type)&&!(value instanceof Array&&type=="array")&&!(value instanceof Date&&type=="date")&&!(type=="integer"&&value%1===0)){return[{property:path,message:typeof value+" value found, but a "+type+" is required"}]}if(type instanceof Array){var unionErrors=[];for(var j=0;j<type.length;j++){if(!(unionErrors=checkType(type[j],value)).length){break}}if(unionErrors.length){return unionErrors}}else if(typeof type=="object"){var priorErrors=errors;errors=[];checkProp(value,type,path);var theseErrors=errors;errors=priorErrors;return theseErrors}}return[]}if(value===undefined){if(schema.required){addError("is missing and it is required")}}else{errors=errors.concat(checkType(getType(schema),value));if(schema.disallow&&!checkType(schema.disallow,value).length){addError(" disallowed value was matched")}if(value!==null){if(value instanceof Array){if(schema.items){var itemsIsArray=schema.items instanceof Array;var propDef=schema.items;for(i=0,l=value.length;i<l;i+=1){if(itemsIsArray)propDef=schema.items[i];if(options.coerce)value[i]=options.coerce(value[i],propDef);errors.concat(checkProp(value[i],propDef,path,i))}}if(schema.minItems&&value.length<schema.minItems){addError("There must be a minimum of "+schema.minItems+" in the array")}if(schema.maxItems&&value.length>schema.maxItems){addError("There must be a maximum of "+schema.maxItems+" in the array")}}else if(schema.properties||schema.additionalProperties){errors.concat(checkObj(value,schema.properties,path,schema.additionalProperties))}if(schema.pattern&&typeof value=="string"&&!value.match(schema.pattern)){addError("does not match the regex pattern "+schema.pattern)}if(schema.maxLength&&typeof value=="string"&&value.length>schema.maxLength){addError("may only be "+schema.maxLength+" characters long")}if(schema.minLength&&typeof value=="string"&&value.length<schema.minLength){addError("must be at least "+schema.minLength+" characters long")}if(typeof schema.minimum!==undefined&&typeof value==typeof schema.minimum&&schema.minimum>value){addError("must have a minimum value of "+schema.minimum)}if(typeof schema.maximum!==undefined&&typeof value==typeof schema.maximum&&schema.maximum<value){addError("must have a maximum value of "+schema.maximum)}if(schema["enum"]){var enumer=schema["enum"];l=enumer.length;var found;for(var j=0;j<l;j++){if(enumer[j]===value){found=1;break}}if(!found){addError("does not have a value in the enumeration "+enumer.join(", "))}}if(typeof schema.maxDecimal=="number"&&value.toString().match(new RegExp("\\.[0-9]{"+(schema.maxDecimal+1)+",}"))){addError("may only have "+schema.maxDecimal+" digits of decimal places")}}}return null}function checkObj(instance,objTypeDef,path,additionalProp){if(typeof objTypeDef=="object"){if(typeof instance!="object"||instance instanceof Array){errors.push({property:path,message:"an object is required"})}for(var i in objTypeDef){if(objTypeDef.hasOwnProperty(i)){var value=instance[i];if(value===undefined&&options.existingOnly)continue;var propDef=objTypeDef[i];if(value===undefined&&propDef["default"]){value=instance[i]=propDef["default"]}if(options.coerce&&i in instance){value=instance[i]=options.coerce(value,propDef)}checkProp(value,propDef,path,i)}}}for(i in instance){if(instance.hasOwnProperty(i)&&!(i.charAt(0)=="_"&&i.charAt(1)=="_")&&objTypeDef&&!objTypeDef[i]&&additionalProp===false){if(options.filter){delete instance[i];continue}else{errors.push({property:path,message:typeof value+"The property "+i+" is not defined in the schema and the schema does not allow additional properties"})}}var requires=objTypeDef&&objTypeDef[i]&&objTypeDef[i].requires;if(requires&&!(requires in instance)){errors.push({property:path,message:"the presence of the property "+i+" requires that "+requires+" also be present"})}value=instance[i];if(additionalProp&&(!(objTypeDef&&typeof objTypeDef=="object")||!(i in objTypeDef))){if(options.coerce){value=instance[i]=options.coerce(value,additionalProp)}checkProp(value,additionalProp,path,i)}if(!_changing&&value&&value.$schema){errors=errors.concat(checkProp(value,value.$schema,path,i))}}return errors}if(schema){checkProp(instance,schema,"",_changing||"")}if(!_changing&&instance&&instance.$schema){checkProp(instance,instance.$schema,"","")}return{valid:!errors.length,errors:errors}};exports.mustBeValid=function(result){if(!result.valid){throw new TypeError(result.errors.map((function(error){return"for property "+error.property+": "+error.message})).join(", \n"))}};return exports}))},{}],780:[function(require,module,exports){exports=module.exports=stringify;exports.getSerialize=serializer;function stringify(obj,replacer,spaces,cycleReplacer){return JSON.stringify(obj,serializer(replacer,cycleReplacer),spaces)}function serializer(replacer,cycleReplacer){var stack=[],keys=[];if(cycleReplacer==null)cycleReplacer=function(key,value){if(stack[0]===value)return"[Circular ~]";return"[Circular ~."+keys.slice(0,stack.indexOf(value)).join(".")+"]"};return function(key,value){if(stack.length>0){var thisPos=stack.indexOf(this);~thisPos?stack.splice(thisPos+1):stack.push(this);~thisPos?keys.splice(thisPos,Infinity,key):keys.push(key);if(~stack.indexOf(value))value=cycleReplacer.call(this,key,value)}else stack.push(value);return replacer==null?value:replacer.call(this,key,value)}}},{}],781:[function(require,module,exports){var mod_assert=require("assert-plus");var mod_util=require("util");var mod_extsprintf=require("extsprintf");var mod_verror=require("verror");var mod_jsonschema=require("json-schema");exports.deepCopy=deepCopy;exports.deepEqual=deepEqual;exports.isEmpty=isEmpty;exports.hasKey=hasKey;exports.forEachKey=forEachKey;exports.pluck=pluck;exports.flattenObject=flattenObject;exports.flattenIter=flattenIter;exports.validateJsonObject=validateJsonObjectJS;exports.validateJsonObjectJS=validateJsonObjectJS;exports.randElt=randElt;exports.extraProperties=extraProperties;exports.mergeObjects=mergeObjects;exports.startsWith=startsWith;exports.endsWith=endsWith;exports.parseInteger=parseInteger;exports.iso8601=iso8601;exports.rfc1123=rfc1123;exports.parseDateTime=parseDateTime;exports.hrtimediff=hrtimeDiff;exports.hrtimeDiff=hrtimeDiff;exports.hrtimeAccum=hrtimeAccum;exports.hrtimeAdd=hrtimeAdd;exports.hrtimeNanosec=hrtimeNanosec;exports.hrtimeMicrosec=hrtimeMicrosec;exports.hrtimeMillisec=hrtimeMillisec;function deepCopy(obj){var ret,key;var marker="__deepCopy";if(obj&&obj[marker])throw new Error("attempted deep copy of cyclic object");if(obj&&obj.constructor==Object){ret={};obj[marker]=true;for(key in obj){if(key==marker)continue;ret[key]=deepCopy(obj[key])}delete obj[marker];return ret}if(obj&&obj.constructor==Array){ret=[];obj[marker]=true;for(key=0;key<obj.length;key++)ret.push(deepCopy(obj[key]));delete obj[marker];return ret}return obj}function deepEqual(obj1,obj2){if(typeof obj1!=typeof obj2)return false;if(obj1===null||obj2===null||typeof obj1!="object")return obj1===obj2;if(obj1.constructor!=obj2.constructor)return false;var k;for(k in obj1){if(!obj2.hasOwnProperty(k))return false;if(!deepEqual(obj1[k],obj2[k]))return false}for(k in obj2){if(!obj1.hasOwnProperty(k))return false}return true}function isEmpty(obj){var key;for(key in obj)return false;return true}function hasKey(obj,key){mod_assert.equal(typeof key,"string");return Object.prototype.hasOwnProperty.call(obj,key)}function forEachKey(obj,callback){for(var key in obj){if(hasKey(obj,key)){callback(key,obj[key])}}}function pluck(obj,key){mod_assert.equal(typeof key,"string");return pluckv(obj,key)}function pluckv(obj,key){if(obj===null||typeof obj!=="object")return undefined;if(obj.hasOwnProperty(key))return obj[key];var i=key.indexOf(".");if(i==-1)return undefined;var key1=key.substr(0,i);if(!obj.hasOwnProperty(key1))return undefined;return pluckv(obj[key1],key.substr(i+1))}function flattenIter(data,depth,callback){doFlattenIter(data,depth,[],callback)}function doFlattenIter(data,depth,accum,callback){var each;var key;if(depth===0){each=accum.slice(0);each.push(data);callback(each);return}mod_assert.ok(data!==null);mod_assert.equal(typeof data,"object");mod_assert.equal(typeof depth,"number");mod_assert.ok(depth>=0);for(key in data){each=accum.slice(0);each.push(key);doFlattenIter(data[key],depth-1,each,callback)}}function flattenObject(data,depth){if(depth===0)return[data];mod_assert.ok(data!==null);mod_assert.equal(typeof data,"object");mod_assert.equal(typeof depth,"number");mod_assert.ok(depth>=0);var rv=[];var key;for(key in data){flattenObject(data[key],depth-1).forEach((function(p){rv.push([key].concat(p))}))}return rv}function startsWith(str,prefix){return str.substr(0,prefix.length)==prefix}function endsWith(str,suffix){return str.substr(str.length-suffix.length,suffix.length)==suffix}function iso8601(d){if(typeof d=="number")d=new Date(d);mod_assert.ok(d.constructor===Date);return mod_extsprintf.sprintf("%4d-%02d-%02dT%02d:%02d:%02d.%03dZ",d.getUTCFullYear(),d.getUTCMonth()+1,d.getUTCDate(),d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds())}var RFC1123_MONTHS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var RFC1123_DAYS=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function rfc1123(date){return mod_extsprintf.sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",RFC1123_DAYS[date.getUTCDay()],date.getUTCDate(),RFC1123_MONTHS[date.getUTCMonth()],date.getUTCFullYear(),date.getUTCHours(),date.getUTCMinutes(),date.getUTCSeconds())}function parseDateTime(str){var numeric=+str;if(!isNaN(numeric)){return new Date(numeric)}else{return new Date(str)}}var MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||9007199254740991;var MIN_SAFE_INTEGER=Number.MIN_SAFE_INTEGER||-9007199254740991;var PI_DEFAULTS={base:10,allowSign:true,allowPrefix:false,allowTrailing:false,allowImprecise:false,trimWhitespace:false,leadingZeroIsOctal:false};var CP_0=48;var CP_9=57;var CP_A=65;var CP_B=66;var CP_O=79;var CP_T=84;var CP_X=88;var CP_Z=90;var CP_a=97;var CP_b=98;var CP_o=111;var CP_t=116;var CP_x=120;var CP_z=122;var PI_CONV_DEC=48;var PI_CONV_UC=55;var PI_CONV_LC=87;function parseInteger(str,uopts){mod_assert.string(str,"str");mod_assert.optionalObject(uopts,"options");var baseOverride=false;var options=PI_DEFAULTS;if(uopts){baseOverride=hasKey(uopts,"base");options=mergeObjects(options,uopts);mod_assert.number(options.base,"options.base");mod_assert.ok(options.base>=2,"options.base >= 2");mod_assert.ok(options.base<=36,"options.base <= 36");mod_assert.bool(options.allowSign,"options.allowSign");mod_assert.bool(options.allowPrefix,"options.allowPrefix");mod_assert.bool(options.allowTrailing,"options.allowTrailing");mod_assert.bool(options.allowImprecise,"options.allowImprecise");mod_assert.bool(options.trimWhitespace,"options.trimWhitespace");mod_assert.bool(options.leadingZeroIsOctal,"options.leadingZeroIsOctal");if(options.leadingZeroIsOctal){mod_assert.ok(!baseOverride,'"base" and "leadingZeroIsOctal" are '+"mutually exclusive")}}var c;var pbase=-1;var base=options.base;var start;var mult=1;var value=0;var idx=0;var len=str.length;if(options.trimWhitespace){while(idx<len&&isSpace(str.charCodeAt(idx))){++idx}}if(options.allowSign){if(str[idx]==="-"){idx+=1;mult=-1}else if(str[idx]==="+"){idx+=1}}if(str[idx]==="0"){if(options.allowPrefix){pbase=prefixToBase(str.charCodeAt(idx+1));if(pbase!==-1&&(!baseOverride||pbase===base)){base=pbase;idx+=2}}if(pbase===-1&&options.leadingZeroIsOctal){base=8}}for(start=idx;idx<len;++idx){c=translateDigit(str.charCodeAt(idx));if(c!==-1&&c<base){value*=base;value+=c}else{break}}if(start===idx){return new Error("invalid number: "+JSON.stringify(str))}if(options.trimWhitespace){while(idx<len&&isSpace(str.charCodeAt(idx))){++idx}}if(idx<len&&!options.allowTrailing){return new Error("trailing characters after number: "+JSON.stringify(str.slice(idx)))}if(value===0){return 0}var result=value*mult;if(!options.allowImprecise&&(value>MAX_SAFE_INTEGER||result<MIN_SAFE_INTEGER)){return new Error("number is outside of the supported range: "+JSON.stringify(str.slice(start,idx)))}return result}function translateDigit(d){if(d>=CP_0&&d<=CP_9){return d-PI_CONV_DEC}else if(d>=CP_A&&d<=CP_Z){return d-PI_CONV_UC}else if(d>=CP_a&&d<=CP_z){return d-PI_CONV_LC}else{return-1}}function isSpace(c){return c===32||c>=9&&c<=13||c===160||c===5760||c===6158||c>=8192&&c<=8202||c===8232||c===8233||c===8239||c===8287||c===12288||c===65279}function prefixToBase(c){if(c===CP_b||c===CP_B){return 2}else if(c===CP_o||c===CP_O){return 8}else if(c===CP_t||c===CP_T){return 10}else if(c===CP_x||c===CP_X){return 16}else{return-1}}function validateJsonObjectJS(schema,input){var report=mod_jsonschema.validate(input,schema);if(report.errors.length===0)return null;var error=report.errors[0];var propname=error["property"];var reason=error["message"].toLowerCase();var i,j;if((i=reason.indexOf("the property "))!=-1&&(j=reason.indexOf(" is not defined in the schema and the "+"schema does not allow additional properties"))!=-1){i+="the property ".length;if(propname==="")propname=reason.substr(i,j-i);else propname=propname+"."+reason.substr(i,j-i);reason="unsupported property"}var rv=new mod_verror.VError('property "%s": %s',propname,reason);rv.jsv_details=error;return rv}function randElt(arr){mod_assert.ok(Array.isArray(arr)&&arr.length>0,"randElt argument must be a non-empty array");return arr[Math.floor(Math.random()*arr.length)]}function assertHrtime(a){mod_assert.ok(a[0]>=0&&a[1]>=0,"negative numbers not allowed in hrtimes");mod_assert.ok(a[1]<1e9,"nanoseconds column overflow")}function hrtimeDiff(a,b){assertHrtime(a);assertHrtime(b);mod_assert.ok(a[0]>b[0]||a[0]==b[0]&&a[1]>=b[1],"negative differences not allowed");var rv=[a[0]-b[0],0];if(a[1]>=b[1]){rv[1]=a[1]-b[1]}else{rv[0]--;rv[1]=1e9-(b[1]-a[1])}return rv}function hrtimeNanosec(a){assertHrtime(a);return Math.floor(a[0]*1e9+a[1])}function hrtimeMicrosec(a){assertHrtime(a);return Math.floor(a[0]*1e6+a[1]/1e3)}function hrtimeMillisec(a){assertHrtime(a);return Math.floor(a[0]*1e3+a[1]/1e6)}function hrtimeAccum(a,b){assertHrtime(a);assertHrtime(b);a[1]+=b[1];if(a[1]>=1e9){a[0]++;a[1]-=1e9}a[0]+=b[0];return a}function hrtimeAdd(a,b){assertHrtime(a);var rv=[a[0],a[1]];return hrtimeAccum(rv,b)}function extraProperties(obj,allowed){mod_assert.ok(typeof obj==="object"&&obj!==null,"obj argument must be a non-null object");mod_assert.ok(Array.isArray(allowed),"allowed argument must be an array of strings");for(var i=0;i<allowed.length;i++){mod_assert.ok(typeof allowed[i]==="string","allowed argument must be an array of strings")}return Object.keys(obj).filter((function(key){return allowed.indexOf(key)===-1}))}function mergeObjects(provided,overrides,defaults){var rv,k;rv={};if(defaults){for(k in defaults)rv[k]=defaults[k]}if(provided){for(k in provided)rv[k]=provided[k]}if(overrides){for(k in overrides)rv[k]=overrides[k]}return rv}},{"assert-plus":70,extsprintf:244,"json-schema":779,util:1e3,verror:1004}],782:[function(require,module,exports){(function(global){var LARGE_ARRAY_SIZE=200;var FUNC_ERROR_TEXT="Expected a function";var HASH_UNDEFINED="__lodash_hash_undefined__";var UNORDERED_COMPARE_FLAG=1,PARTIAL_COMPARE_FLAG=2;var INFINITY=1/0,MAX_SAFE_INTEGER=9007199254740991;var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",promiseTag="[object Promise]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/,reLeadingDot=/^\./,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;var reEscapeChar=/\\(\\)?/g;var reIsHostCtor=/^\[object .+?Constructor\]$/;var reIsUint=/^(?:0|[1-9]\d*)$/;var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module;var moduleExports=freeModule&&freeModule.exports===freeExports;var freeProcess=moduleExports&&freeGlobal.process;var nodeUtil=function(){try{return freeProcess&&freeProcess.binding("util")}catch(e){}}();var nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray;function apply(func,thisArg,args){switch(args.length){case 0:return func.call(thisArg);case 1:return func.call(thisArg,args[0]);case 2:return func.call(thisArg,args[0],args[1]);case 3:return func.call(thisArg,args[0],args[1],args[2])}return func.apply(thisArg,args)}function arrayMap(array,iteratee){var index=-1,length=array?array.length:0,result=Array(length);while(++index<length){result[index]=iteratee(array[index],index,array)}return result}function arrayPush(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length){array[offset+index]=values[index]}return array}function arraySome(array,predicate){var index=-1,length=array?array.length:0;while(++index<length){if(predicate(array[index],index,array)){return true}}return false}function baseProperty(key){return function(object){return object==null?undefined:object[key]}}function baseSortBy(array,comparer){var length=array.length;array.sort(comparer);while(length--){array[length]=array[length].value}return array}function baseTimes(n,iteratee){var index=-1,result=Array(n);while(++index<n){result[index]=iteratee(index)}return result}function baseUnary(func){return function(value){return func(value)}}function getValue(object,key){return object==null?undefined:object[key]}function isHostObject(value){var result=false;if(value!=null&&typeof value.toString!="function"){try{result=!!(value+"")}catch(e){}}return result}function mapToArray(map){var index=-1,result=Array(map.size);map.forEach((function(value,key){result[++index]=[key,value]}));return result}function overArg(func,transform){return function(arg){return func(transform(arg))}}function setToArray(set){var index=-1,result=Array(set.size);set.forEach((function(value){result[++index]=value}));return result}var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype;var coreJsData=root["__core-js_shared__"];var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return uid?"Symbol(src)_1."+uid:""}();var funcToString=funcProto.toString;var hasOwnProperty=objectProto.hasOwnProperty;var objectToString=objectProto.toString;var reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Symbol=root.Symbol,Uint8Array=root.Uint8Array,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice,spreadableSymbol=Symbol?Symbol.isConcatSpreadable:undefined;var nativeKeys=overArg(Object.keys,Object),nativeMax=Math.max;var DataView=getNative(root,"DataView"),Map=getNative(root,"Map"),Promise=getNative(root,"Promise"),Set=getNative(root,"Set"),WeakMap=getNative(root,"WeakMap"),nativeCreate=getNative(Object,"create");var dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap);var symbolProto=Symbol?Symbol.prototype:undefined,symbolValueOf=symbolProto?symbolProto.valueOf:undefined,symbolToString=symbolProto?symbolProto.toString:undefined;function Hash(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{}}function hashDelete(key){return this.has(key)&&delete this.__data__[key]}function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?undefined:result}return hasOwnProperty.call(data,key)?data[key]:undefined}function hashHas(key){var data=this.__data__;return nativeCreate?data[key]!==undefined:hasOwnProperty.call(data,key)}function hashSet(key,value){var data=this.__data__;data[key]=nativeCreate&&value===undefined?HASH_UNDEFINED:value;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){return false}var lastIndex=data.length-1;if(index==lastIndex){data.pop()}else{splice.call(data,index,1)}return true}function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?undefined:data[index][1]}function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){data.push([key,value])}else{data[index][1]=value}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}function mapCacheDelete(key){return getMapData(this,key)["delete"](key)}function mapCacheGet(key){return getMapData(this,key).get(key)}function mapCacheHas(key){return getMapData(this,key).has(key)}function mapCacheSet(key,value){getMapData(this,key).set(key,value);return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function SetCache(values){var index=-1,length=values?values.length:0;this.__data__=new MapCache;while(++index<length){this.add(values[index])}}function setCacheAdd(value){this.__data__.set(value,HASH_UNDEFINED);return this}function setCacheHas(value){return this.__data__.has(value)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function Stack(entries){this.__data__=new ListCache(entries)}function stackClear(){this.__data__=new ListCache}function stackDelete(key){return this.__data__["delete"](key)}function stackGet(key){return this.__data__.get(key)}function stackHas(key){return this.__data__.has(key)}function stackSet(key,value){var cache=this.__data__;if(cache instanceof ListCache){var pairs=cache.__data__;if(!Map||pairs.length<LARGE_ARRAY_SIZE-1){pairs.push([key,value]);return this}cache=this.__data__=new MapCache(pairs)}cache.set(key,value);return this}Stack.prototype.clear=stackClear;Stack.prototype["delete"]=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;function arrayLikeKeys(value,inherited){var result=isArray(value)||isArguments(value)?baseTimes(value.length,String):[];var length=result.length,skipIndexes=!!length;for(var key in value){if((inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key=="length"||isIndex(key,length)))){result.push(key)}}return result}function assocIndexOf(array,key){var length=array.length;while(length--){if(eq(array[length][0],key)){return length}}return-1}var baseEach=createBaseEach(baseForOwn);function baseFlatten(array,depth,predicate,isStrict,result){var index=-1,length=array.length;predicate||(predicate=isFlattenable);result||(result=[]);while(++index<length){var value=array[index];if(depth>0&&predicate(value)){if(depth>1){baseFlatten(value,depth-1,predicate,isStrict,result)}else{arrayPush(result,value)}}else if(!isStrict){result[result.length]=value}}return result}var baseFor=createBaseFor();function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}function baseGet(object,path){path=isKey(path,object)?[path]:castPath(path);var index=0,length=path.length;while(object!=null&&index<length){object=object[toKey(path[index++])]}return index&&index==length?object:undefined}function baseGetTag(value){return objectToString.call(value)}function baseHasIn(object,key){return object!=null&&key in Object(object)}function baseIsEqual(value,other,customizer,bitmask,stack){if(value===other){return true}if(value==null||other==null||!isObject(value)&&!isObjectLike(other)){return value!==value&&other!==other}return baseIsEqualDeep(value,other,baseIsEqual,customizer,bitmask,stack)}function baseIsEqualDeep(object,other,equalFunc,customizer,bitmask,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=arrayTag,othTag=arrayTag;if(!objIsArr){objTag=getTag(object);objTag=objTag==argsTag?objectTag:objTag}if(!othIsArr){othTag=getTag(other);othTag=othTag==argsTag?objectTag:othTag}var objIsObj=objTag==objectTag&&!isHostObject(object),othIsObj=othTag==objectTag&&!isHostObject(other),isSameTag=objTag==othTag;if(isSameTag&&!objIsObj){stack||(stack=new Stack);return objIsArr||isTypedArray(object)?equalArrays(object,other,equalFunc,customizer,bitmask,stack):equalByTag(object,other,objTag,equalFunc,customizer,bitmask,stack)}if(!(bitmask&PARTIAL_COMPARE_FLAG)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;stack||(stack=new Stack);return equalFunc(objUnwrapped,othUnwrapped,customizer,bitmask,stack)}}if(!isSameTag){return false}stack||(stack=new Stack);return equalObjects(object,other,equalFunc,customizer,bitmask,stack)}function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(object==null){return!length}object=Object(object);while(index--){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object)){return false}}while(++index<length){data=matchData[index];var key=data[0],objValue=object[key],srcValue=data[1];if(noCustomizer&&data[2]){if(objValue===undefined&&!(key in object)){return false}}else{var stack=new Stack;if(customizer){var result=customizer(objValue,srcValue,key,object,source,stack)}if(!(result===undefined?baseIsEqual(srcValue,objValue,customizer,UNORDERED_COMPARE_FLAG|PARTIAL_COMPARE_FLAG,stack):result)){return false}}}return true}function baseIsNative(value){if(!isObject(value)||isMasked(value)){return false}var pattern=isFunction(value)||isHostObject(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value))}function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[objectToString.call(value)]}function baseIteratee(value){if(typeof value=="function"){return value}if(value==null){return identity}if(typeof value=="object"){return isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value)}return property(value)}function baseKeys(object){if(!isPrototype(object)){return nativeKeys(object)}var result=[];for(var key in Object(object)){if(hasOwnProperty.call(object,key)&&key!="constructor"){result.push(key)}}return result}function baseMap(collection,iteratee){var index=-1,result=isArrayLike(collection)?Array(collection.length):[];baseEach(collection,(function(value,key,collection){result[++index]=iteratee(value,key,collection)}));return result}function baseMatches(source){var matchData=getMatchData(source);if(matchData.length==1&&matchData[0][2]){return matchesStrictComparable(matchData[0][0],matchData[0][1])}return function(object){return object===source||baseIsMatch(object,source,matchData)}}function baseMatchesProperty(path,srcValue){if(isKey(path)&&isStrictComparable(srcValue)){return matchesStrictComparable(toKey(path),srcValue)}return function(object){var objValue=get(object,path);return objValue===undefined&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,undefined,UNORDERED_COMPARE_FLAG|PARTIAL_COMPARE_FLAG)}}function baseOrderBy(collection,iteratees,orders){var index=-1;iteratees=arrayMap(iteratees.length?iteratees:[identity],baseUnary(baseIteratee));var result=baseMap(collection,(function(value,key,collection){var criteria=arrayMap(iteratees,(function(iteratee){return iteratee(value)}));return{criteria:criteria,index:++index,value:value}}));return baseSortBy(result,(function(object,other){return compareMultiple(object,other,orders)}))}function basePropertyDeep(path){return function(object){return baseGet(object,path)}}function baseRest(func,start){start=nativeMax(start===undefined?func.length-1:start,0);return function(){var args=arguments,index=-1,length=nativeMax(args.length-start,0),array=Array(length);while(++index<length){array[index]=args[start+index]}index=-1;var otherArgs=Array(start+1);while(++index<start){otherArgs[index]=args[index]}otherArgs[start]=array;return apply(func,this,otherArgs)}}function baseToString(value){if(typeof value=="string"){return value}if(isSymbol(value)){return symbolToString?symbolToString.call(value):""}var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function castPath(value){return isArray(value)?value:stringToPath(value)}function compareAscending(value,other){if(value!==other){var valIsDefined=value!==undefined,valIsNull=value===null,valIsReflexive=value===value,valIsSymbol=isSymbol(value);var othIsDefined=other!==undefined,othIsNull=other===null,othIsReflexive=other===other,othIsSymbol=isSymbol(other);if(!othIsNull&&!othIsSymbol&&!valIsSymbol&&value>other||valIsSymbol&&othIsDefined&&othIsReflexive&&!othIsNull&&!othIsSymbol||valIsNull&&othIsDefined&&othIsReflexive||!valIsDefined&&othIsReflexive||!valIsReflexive){return 1}if(!valIsNull&&!valIsSymbol&&!othIsSymbol&&value<other||othIsSymbol&&valIsDefined&&valIsReflexive&&!valIsNull&&!valIsSymbol||othIsNull&&valIsDefined&&valIsReflexive||!othIsDefined&&valIsReflexive||!othIsReflexive){return-1}}return 0}function compareMultiple(object,other,orders){var index=-1,objCriteria=object.criteria,othCriteria=other.criteria,length=objCriteria.length,ordersLength=orders.length;while(++index<length){var result=compareAscending(objCriteria[index],othCriteria[index]);if(result){if(index>=ordersLength){return result}var order=orders[index];return result*(order=="desc"?-1:1)}}return object.index-other.index}function createBaseEach(eachFunc,fromRight){return function(collection,iteratee){if(collection==null){return collection}if(!isArrayLike(collection)){return eachFunc(collection,iteratee)}var length=collection.length,index=fromRight?length:-1,iterable=Object(collection);while(fromRight?index--:++index<length){if(iteratee(iterable[index],index,iterable)===false){break}}return collection}}function createBaseFor(fromRight){return function(object,iteratee,keysFunc){var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;while(length--){var key=props[fromRight?length:++index];if(iteratee(iterable[key],key,iterable)===false){break}}return object}}function equalArrays(array,other,equalFunc,customizer,bitmask,stack){var isPartial=bitmask&PARTIAL_COMPARE_FLAG,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength)){return false}var stacked=stack.get(array);if(stacked&&stack.get(other)){return stacked==other}var index=-1,result=true,seen=bitmask&UNORDERED_COMPARE_FLAG?new SetCache:undefined;stack.set(array,other);stack.set(other,array);while(++index<arrLength){var arrValue=array[index],othValue=other[index];if(customizer){var compared=isPartial?customizer(othValue,arrValue,index,other,array,stack):customizer(arrValue,othValue,index,array,other,stack)}if(compared!==undefined){if(compared){continue}result=false;break}if(seen){if(!arraySome(other,(function(othValue,othIndex){if(!seen.has(othIndex)&&(arrValue===othValue||equalFunc(arrValue,othValue,customizer,bitmask,stack))){return seen.add(othIndex)}}))){result=false;break}}else if(!(arrValue===othValue||equalFunc(arrValue,othValue,customizer,bitmask,stack))){result=false;break}}stack["delete"](array);stack["delete"](other);return result}function equalByTag(object,other,tag,equalFunc,customizer,bitmask,stack){switch(tag){case dataViewTag:if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset){return false}object=object.buffer;other=other.buffer;case arrayBufferTag:if(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other))){return false}return true;case boolTag:case dateTag:case numberTag:return eq(+object,+other);case errorTag:return object.name==other.name&&object.message==other.message;case regexpTag:case stringTag:return object==other+"";case mapTag:var convert=mapToArray;case setTag:var isPartial=bitmask&PARTIAL_COMPARE_FLAG;convert||(convert=setToArray);if(object.size!=other.size&&!isPartial){return false}var stacked=stack.get(object);if(stacked){return stacked==other}bitmask|=UNORDERED_COMPARE_FLAG;stack.set(object,other);var result=equalArrays(convert(object),convert(other),equalFunc,customizer,bitmask,stack);stack["delete"](object);return result;case symbolTag:if(symbolValueOf){return symbolValueOf.call(object)==symbolValueOf.call(other)}}return false}function equalObjects(object,other,equalFunc,customizer,bitmask,stack){var isPartial=bitmask&PARTIAL_COMPARE_FLAG,objProps=keys(object),objLength=objProps.length,othProps=keys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial){return false}var index=objLength;while(index--){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key))){return false}}var stacked=stack.get(object);if(stacked&&stack.get(other)){return stacked==other}var result=true;stack.set(object,other);stack.set(other,object);var skipCtor=isPartial;while(++index<objLength){key=objProps[index];var objValue=object[key],othValue=other[key];if(customizer){var compared=isPartial?customizer(othValue,objValue,key,other,object,stack):customizer(objValue,othValue,key,object,other,stack)}if(!(compared===undefined?objValue===othValue||equalFunc(objValue,othValue,customizer,bitmask,stack):compared)){result=false;break}skipCtor||(skipCtor=key=="constructor")}if(result&&!skipCtor){var objCtor=object.constructor,othCtor=other.constructor;if(objCtor!=othCtor&&("constructor"in object&&"constructor"in other)&&!(typeof objCtor=="function"&&objCtor instanceof objCtor&&typeof othCtor=="function"&&othCtor instanceof othCtor)){result=false}}stack["delete"](object);stack["delete"](other);return result}function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data[typeof key=="string"?"string":"hash"]:data.map}function getMatchData(object){var result=keys(object),length=result.length;while(length--){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:undefined}var getTag=baseGetTag;if(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map)!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set)!=setTag||WeakMap&&getTag(new WeakMap)!=weakMapTag){getTag=function(value){var result=objectToString.call(value),Ctor=result==objectTag?value.constructor:undefined,ctorString=Ctor?toSource(Ctor):undefined;if(ctorString){switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}}return result}}function hasPath(object,path,hasFunc){path=isKey(path,object)?[path]:castPath(path);var result,index=-1,length=path.length;while(++index<length){var key=toKey(path[index]);if(!(result=object!=null&&hasFunc(object,key))){break}object=object[key]}if(result){return result}var length=object?object.length:0;return!!length&&isLength(length)&&isIndex(key,length)&&(isArray(object)||isArguments(object))}function isFlattenable(value){return isArray(value)||isArguments(value)||!!(spreadableSymbol&&value&&value[spreadableSymbol])}function isIndex(value,length){length=length==null?MAX_SAFE_INTEGER:length;return!!length&&(typeof value=="number"||reIsUint.test(value))&&(value>-1&&value%1==0&&value<length)}function isIterateeCall(value,index,object){if(!isObject(object)){return false}var type=typeof index;if(type=="number"?isArrayLike(object)&&isIndex(index,object.length):type=="string"&&index in object){return eq(object[index],value)}return false}function isKey(value,object){if(isArray(value)){return false}var type=typeof value;if(type=="number"||type=="symbol"||type=="boolean"||value==null||isSymbol(value)){return true}return reIsPlainProp.test(value)||!reIsDeepProp.test(value)||object!=null&&value in Object(object)}function isKeyable(value){var type=typeof value;return type=="string"||type=="number"||type=="symbol"||type=="boolean"?value!=="__proto__":value===null}function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=="function"&&Ctor.prototype||objectProto;return value===proto}function isStrictComparable(value){return value===value&&!isObject(value)}function matchesStrictComparable(key,srcValue){return function(object){if(object==null){return false}return object[key]===srcValue&&(srcValue!==undefined||key in Object(object))}}var stringToPath=memoize((function(string){string=toString(string);var result=[];if(reLeadingDot.test(string)){result.push("")}string.replace(rePropName,(function(match,number,quote,string){result.push(quote?string.replace(reEscapeChar,"$1"):number||match)}));return result}));function toKey(value){if(typeof value=="string"||isSymbol(value)){return value}var result=value+"";return result=="0"&&1/value==-INFINITY?"-0":result}function toSource(func){if(func!=null){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}var sortBy=baseRest((function(collection,iteratees){if(collection==null){return[]}var length=iteratees.length;if(length>1&&isIterateeCall(collection,iteratees[0],iteratees[1])){iteratees=[]}else if(length>2&&isIterateeCall(iteratees[0],iteratees[1],iteratees[2])){iteratees=[iteratees[0]]}return baseOrderBy(collection,baseFlatten(iteratees,1),[])}));function memoize(func,resolver){if(typeof func!="function"||resolver&&typeof resolver!="function"){throw new TypeError(FUNC_ERROR_TEXT)}var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key)){return cache.get(key)}var result=func.apply(this,args);memoized.cache=cache.set(key,result);return result};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function eq(value,other){return value===other||value!==value&&other!==other}function isArguments(value){return isArrayLikeObject(value)&&hasOwnProperty.call(value,"callee")&&(!propertyIsEnumerable.call(value,"callee")||objectToString.call(value)==argsTag)}var isArray=Array.isArray;function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value)}function isFunction(value){var tag=isObject(value)?objectToString.call(value):"";return tag==funcTag||tag==genTag}function isLength(value){return typeof value=="number"&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER}function isObject(value){var type=typeof value;return!!value&&(type=="object"||type=="function")}function isObjectLike(value){return!!value&&typeof value=="object"}function isSymbol(value){return typeof value=="symbol"||isObjectLike(value)&&objectToString.call(value)==symbolTag}var isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;function toString(value){return value==null?"":baseToString(value)}function get(object,path,defaultValue){var result=object==null?undefined:baseGet(object,path);return result===undefined?defaultValue:result}function hasIn(object,path){return object!=null&&hasPath(object,path,baseHasIn)}function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}function identity(value){return value}function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}module.exports=sortBy}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],783:[function(require,module,exports){var root=require("./_root");var Symbol=root.Symbol;module.exports=Symbol},{"./_root":788}],784:[function(require,module,exports){var Symbol=require("./_Symbol"),getRawTag=require("./_getRawTag"),objectToString=require("./_objectToString");var nullTag="[object Null]",undefinedTag="[object Undefined]";var symToStringTag=Symbol?Symbol.toStringTag:undefined;function baseGetTag(value){if(value==null){return value===undefined?undefinedTag:nullTag}return symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}module.exports=baseGetTag},{"./_Symbol":783,"./_getRawTag":786,"./_objectToString":787}],785:[function(require,module,exports){(function(global){var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;module.exports=freeGlobal}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],786:[function(require,module,exports){var Symbol=require("./_Symbol");var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;var nativeObjectToString=objectProto.toString;var symToStringTag=Symbol?Symbol.toStringTag:undefined;function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=undefined;var unmasked=true}catch(e){}var result=nativeObjectToString.call(value);if(unmasked){if(isOwn){value[symToStringTag]=tag}else{delete value[symToStringTag]}}return result}module.exports=getRawTag},{"./_Symbol":783}],787:[function(require,module,exports){var objectProto=Object.prototype;var nativeObjectToString=objectProto.toString;function objectToString(value){return nativeObjectToString.call(value)}module.exports=objectToString},{}],788:[function(require,module,exports){var freeGlobal=require("./_freeGlobal");var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self;var root=freeGlobal||freeSelf||Function("return this")();module.exports=root},{"./_freeGlobal":785}],789:[function(require,module,exports){var isArray=Array.isArray;module.exports=isArray},{}],790:[function(require,module,exports){var baseGetTag=require("./_baseGetTag"),isObject=require("./isObject");var asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(value){if(!isObject(value)){return false}var tag=baseGetTag(value);return tag==funcTag||tag==genTag||tag==asyncTag||tag==proxyTag}module.exports=isFunction},{"./_baseGetTag":784,"./isObject":791}],791:[function(require,module,exports){function isObject(value){var type=typeof value;return value!=null&&(type=="object"||type=="function")}module.exports=isObject},{}],792:[function(require,module,exports){function isObjectLike(value){return value!=null&&typeof value=="object"}module.exports=isObjectLike},{}],793:[function(require,module,exports){var baseGetTag=require("./_baseGetTag"),isArray=require("./isArray"),isObjectLike=require("./isObjectLike");var stringTag="[object String]";function isString(value){return typeof value=="string"||!isArray(value)&&isObjectLike(value)&&baseGetTag(value)==stringTag}module.exports=isString},{"./_baseGetTag":784,"./isArray":789,"./isObjectLike":792}],794:[function(require,module,exports){function isUndefined(value){return value===undefined}module.exports=isUndefined},{}],795:[function(require,module,exports){"use strict";var inherits=require("inherits");var HashBase=require("hash-base");var Buffer=require("safe-buffer").Buffer;var ARRAY16=new Array(16);function MD5(){HashBase.call(this,64);this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878}inherits(MD5,HashBase);MD5.prototype._update=function(){var M=ARRAY16;for(var i=0;i<16;++i)M[i]=this._block.readInt32LE(i*4);var a=this._a;var b=this._b;var c=this._c;var d=this._d;a=fnF(a,b,c,d,M[0],3614090360,7);d=fnF(d,a,b,c,M[1],3905402710,12);c=fnF(c,d,a,b,M[2],606105819,17);b=fnF(b,c,d,a,M[3],3250441966,22);a=fnF(a,b,c,d,M[4],4118548399,7);d=fnF(d,a,b,c,M[5],1200080426,12);c=fnF(c,d,a,b,M[6],2821735955,17);b=fnF(b,c,d,a,M[7],4249261313,22);a=fnF(a,b,c,d,M[8],1770035416,7);d=fnF(d,a,b,c,M[9],2336552879,12);c=fnF(c,d,a,b,M[10],4294925233,17);b=fnF(b,c,d,a,M[11],2304563134,22);a=fnF(a,b,c,d,M[12],1804603682,7);d=fnF(d,a,b,c,M[13],4254626195,12);c=fnF(c,d,a,b,M[14],2792965006,17);b=fnF(b,c,d,a,M[15],1236535329,22);a=fnG(a,b,c,d,M[1],4129170786,5);d=fnG(d,a,b,c,M[6],3225465664,9);c=fnG(c,d,a,b,M[11],643717713,14);b=fnG(b,c,d,a,M[0],3921069994,20);a=fnG(a,b,c,d,M[5],3593408605,5);d=fnG(d,a,b,c,M[10],38016083,9);c=fnG(c,d,a,b,M[15],3634488961,14);b=fnG(b,c,d,a,M[4],3889429448,20);a=fnG(a,b,c,d,M[9],568446438,5);d=fnG(d,a,b,c,M[14],3275163606,9);c=fnG(c,d,a,b,M[3],4107603335,14);b=fnG(b,c,d,a,M[8],1163531501,20);a=fnG(a,b,c,d,M[13],2850285829,5);d=fnG(d,a,b,c,M[2],4243563512,9);c=fnG(c,d,a,b,M[7],1735328473,14);b=fnG(b,c,d,a,M[12],2368359562,20);a=fnH(a,b,c,d,M[5],4294588738,4);d=fnH(d,a,b,c,M[8],2272392833,11);c=fnH(c,d,a,b,M[11],1839030562,16);b=fnH(b,c,d,a,M[14],4259657740,23);a=fnH(a,b,c,d,M[1],2763975236,4);d=fnH(d,a,b,c,M[4],1272893353,11);c=fnH(c,d,a,b,M[7],4139469664,16);b=fnH(b,c,d,a,M[10],3200236656,23);a=fnH(a,b,c,d,M[13],681279174,4);d=fnH(d,a,b,c,M[0],3936430074,11);c=fnH(c,d,a,b,M[3],3572445317,16);b=fnH(b,c,d,a,M[6],76029189,23);a=fnH(a,b,c,d,M[9],3654602809,4);d=fnH(d,a,b,c,M[12],3873151461,11);c=fnH(c,d,a,b,M[15],530742520,16);b=fnH(b,c,d,a,M[2],3299628645,23);a=fnI(a,b,c,d,M[0],4096336452,6);d=fnI(d,a,b,c,M[7],1126891415,10);c=fnI(c,d,a,b,M[14],2878612391,15);b=fnI(b,c,d,a,M[5],4237533241,21);a=fnI(a,b,c,d,M[12],1700485571,6);d=fnI(d,a,b,c,M[3],2399980690,10);c=fnI(c,d,a,b,M[10],4293915773,15);b=fnI(b,c,d,a,M[1],2240044497,21);a=fnI(a,b,c,d,M[8],1873313359,6);d=fnI(d,a,b,c,M[15],4264355552,10);c=fnI(c,d,a,b,M[6],2734768916,15);b=fnI(b,c,d,a,M[13],1309151649,21);a=fnI(a,b,c,d,M[4],4149444226,6);d=fnI(d,a,b,c,M[11],3174756917,10);c=fnI(c,d,a,b,M[2],718787259,15);b=fnI(b,c,d,a,M[9],3951481745,21);this._a=this._a+a|0;this._b=this._b+b|0;this._c=this._c+c|0;this._d=this._d+d|0};MD5.prototype._digest=function(){this._block[this._blockOffset++]=128;if(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 buffer=Buffer.allocUnsafe(16);buffer.writeInt32LE(this._a,0);buffer.writeInt32LE(this._b,4);buffer.writeInt32LE(this._c,8);buffer.writeInt32LE(this._d,12);return buffer};function rotl(x,n){return x<<n|x>>>32-n}function fnF(a,b,c,d,m,k,s){return rotl(a+(b&c|~b&d)+m+k|0,s)+b|0}function fnG(a,b,c,d,m,k,s){return rotl(a+(b&d|c&~d)+m+k|0,s)+b|0}function fnH(a,b,c,d,m,k,s){return rotl(a+(b^c^d)+m+k|0,s)+b|0}function fnI(a,b,c,d,m,k,s){return rotl(a+(c^(b|~d))+m+k|0,s)+b|0}module.exports=MD5},{"hash-base":270,inherits:326,"safe-buffer":907}],796:[function(require,module,exports){var bn=require("bn.js");var brorand=require("brorand");function MillerRabin(rand){this.rand=rand||new brorand.Rand}module.exports=MillerRabin;MillerRabin.create=function create(rand){return new MillerRabin(rand)};MillerRabin.prototype._randbelow=function _randbelow(n){var len=n.bitLength();var min_bytes=Math.ceil(len/8);do{var a=new bn(this.rand.generate(min_bytes))}while(a.cmp(n)>=0);return a};MillerRabin.prototype._randrange=function _randrange(start,stop){var size=stop.sub(start);return start.add(this._randbelow(size))};MillerRabin.prototype.test=function test(n,k,cb){var len=n.bitLength();var red=bn.mont(n);var rone=new bn(1).toRed(red);if(!k)k=Math.max(1,len/48|0);var n1=n.subn(1);for(var s=0;!n1.testn(s);s++){}var d=n.shrn(s);var rn1=n1.toRed(red);var prime=true;for(;k>0;k--){var a=this._randrange(new bn(2),n1);if(cb)cb(a);var x=a.toRed(red).redPow(d);if(x.cmp(rone)===0||x.cmp(rn1)===0)continue;for(var i=1;i<s;i++){x=x.redSqr();if(x.cmp(rone)===0)return false;if(x.cmp(rn1)===0)break}if(i===s)return false}return prime};MillerRabin.prototype.getDivisor=function getDivisor(n,k){var len=n.bitLength();var red=bn.mont(n);var rone=new bn(1).toRed(red);if(!k)k=Math.max(1,len/48|0);var n1=n.subn(1);for(var s=0;!n1.testn(s);s++){}var d=n.shrn(s);var rn1=n1.toRed(red);for(;k>0;k--){var a=this._randrange(new bn(2),n1);var g=n.gcd(a);if(g.cmpn(1)!==0)return g;var x=a.toRed(red).redPow(d);if(x.cmp(rone)===0||x.cmp(rn1)===0)continue;for(var i=1;i<s;i++){x=x.redSqr();if(x.cmp(rone)===0)return x.fromRed().subn(1).gcd(n);if(x.cmp(rn1)===0)break}if(i===s){x=x.redSqr();return x.fromRed().subn(1).gcd(n)}}return false}},{"bn.js":80,brorand:81}],797:[function(require,module,exports){module.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/3gpp-ims+xml":{source:"iana",compressible:true},"application/a2l":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:true},"application/alto-costmap+json":{source:"iana",compressible:true},"application/alto-costmapfilter+json":{source:"iana",compressible:true},"application/alto-directory+json":{source:"iana",compressible:true},"application/alto-endpointcost+json":{source:"iana",compressible:true},"application/alto-endpointcostparams+json":{source:"iana",compressible:true},"application/alto-endpointprop+json":{source:"iana",compressible:true},"application/alto-endpointpropparams+json":{source:"iana",compressible:true},"application/alto-error+json":{source:"iana",compressible:true},"application/alto-networkmap+json":{source:"iana",compressible:true},"application/alto-networkmapfilter+json":{source:"iana",compressible:true},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:true},"application/alto-updatestreamparams+json":{source:"iana",compressible:true},"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:true,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:true,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:true,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:true,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:true,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:true,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:true},"application/atsc-rsat+xml":{source:"iana",compressible:true,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:true},"application/bacnet-xdd+zip":{source:"iana",compressible:false},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:false,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/calendar+json":{source:"iana",compressible:true},"application/calendar+xml":{source:"iana",compressible:true,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/cap+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:true},"application/ccxml+xml":{source:"iana",compressible:true,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:true,extensions:["cdfx"]},"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",compressible:true},"application/cellml+xml":{source:"iana",compressible:true},"application/cfw":{source:"iana"},"application/clue+xml":{source:"iana",compressible:true},"application/clue_info+xml":{source:"iana",compressible:true},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:true},"application/coap-group+json":{source:"iana",compressible:true},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:true},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:true},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:true},"application/cstadata+xml":{source:"iana",compressible:true},"application/csvm+json":{source:"iana",compressible:true},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:true},"application/dash+xml":{source:"iana",compressible:true,extensions:["mpd"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:true,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:true},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:true},"application/dicom+xml":{source:"iana",compressible:true},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:true},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:true,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:true},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:true,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:true,extensions:["ecma","es"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:false},"application/edifact":{source:"iana",compressible:false},"application/efi":{source:"iana"},"application/emergencycalldata.comment+xml":{source:"iana",compressible:true},"application/emergencycalldata.control+xml":{source:"iana",compressible:true},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.veds+xml":{source:"iana",compressible:true},"application/emma+xml":{source:"iana",compressible:true,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:true,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:true},"application/epub+zip":{source:"iana",compressible:false,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:true},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:true,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:true},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/fido.trusted-apps+json":{compressible:true},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:false},"application/framework-attributes+xml":{source:"iana",compressible:true},"application/geo+json":{source:"iana",compressible:true,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:true},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:true,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:true,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:false,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:true},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:true},"application/ibe-pkg-reply+xml":{source:"iana",compressible:true},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:true},"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",compressible:true,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",compressible:true,extensions:["its"]},"application/java-archive":{source:"apache",compressible:false,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:false,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:false,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:true,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:true},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:true},"application/jrd+json":{source:"iana",compressible:true},"application/json":{source:"iana",charset:"UTF-8",compressible:true,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:true},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:true,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:true},"application/jwk-set+json":{source:"iana",compressible:true},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:true},"application/kpml-response+xml":{source:"iana",compressible:true},"application/ld+json":{source:"iana",compressible:true,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:true,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:true},"application/lost+xml":{source:"iana",compressible:true,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:true},"application/lpf+zip":{source:"iana",compressible:false},"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",compressible:true,extensions:["mads"]},"application/manifest+json":{charset:"UTF-8",compressible:true,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:true,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:true,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:true},"application/mathml-presentation+xml":{source:"iana",compressible:true},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:true},"application/mbms-deregister+xml":{source:"iana",compressible:true},"application/mbms-envelope+xml":{source:"iana",compressible:true},"application/mbms-msk+xml":{source:"iana",compressible:true},"application/mbms-msk-response+xml":{source:"iana",compressible:true},"application/mbms-protection-description+xml":{source:"iana",compressible:true},"application/mbms-reception-report+xml":{source:"iana",compressible:true},"application/mbms-register+xml":{source:"iana",compressible:true},"application/mbms-register-response+xml":{source:"iana",compressible:true},"application/mbms-schedule+xml":{source:"iana",compressible:true},"application/mbms-user-service-description+xml":{source:"iana",compressible:true},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:true},"application/media_control+xml":{source:"iana",compressible:true},"application/mediaservercontrol+xml":{source:"iana",compressible:true,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:true},"application/metalink+xml":{source:"apache",compressible:true,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:true,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:true,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:true,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:true,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:true,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",compressible:true,extensions:["xdf"]},"application/mrb-publish+xml":{source:"iana",compressible:true,extensions:["xdf"]},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/msword":{source:"iana",compressible:false,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:true},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:true},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:false,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/odm+xml":{source:"iana",compressible:true},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:true,extensions:["opf"]},"application/ogg":{source:"iana",compressible:false,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:true,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p2p-overlay+xml":{source:"iana",compressible:true,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:true,extensions:["xer"]},"application/pdf":{source:"iana",compressible:false,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:false,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",charset:"UTF-8",compressible:true},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:true},"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/pkcs8-encrypted":{source:"iana"},"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",compressible:true,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/postscript":{source:"iana",compressible:true,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:true},"application/problem+json":{source:"iana",compressible:true},"application/problem+xml":{source:"iana",compressible:true},"application/provenance+xml":{source:"iana",compressible:true,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.hpub+zip":{source:"iana",compressible:false},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:true},"application/pskc+xml":{source:"iana",compressible:true,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:true},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:true,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:true},"application/rdf+xml":{source:"iana",compressible:true,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:true,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:true},"application/resource-lists+xml":{source:"iana",compressible:true,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:true,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:true},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:true},"application/rls-services+xml":{source:"iana",compressible:true,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:true,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:true,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:true,extensions:["rusd"]},"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",compressible:true,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:true,extensions:["rss"]},"application/rtf":{source:"iana",compressible:true,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:true},"application/samlmetadata+xml":{source:"iana",compressible:true},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:true,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:true},"application/scim+json":{source:"iana",compressible:true},"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/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:true},"application/senml+xml":{source:"iana",compressible:true,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:true},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:true},"application/sensml+xml":{source:"iana",compressible:true,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:true},"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",compressible:true,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:true},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:true,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:true},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:true,extensions:["srx"]},"application/spirits-event+xml":{source:"iana",compressible:true},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:true,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:true,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:true,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:true,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:true},"application/swid+xml":{source:"iana",compressible:true,extensions:["swidtag"]},"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:true},"application/taxii+json":{source:"iana",compressible:true},"application/td+json":{source:"iana",compressible:true},"application/tei+xml":{source:"iana",compressible:true,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:true,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:true},"application/tnauthlist":{source:"iana"},"application/toml":{compressible:true,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana"},"application/ttml+xml":{source:"iana",compressible:true,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:true},"application/urc-ressheet+xml":{source:"iana",compressible:true,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:true},"application/urc-uisocketdesc+xml":{source:"iana",compressible:true},"application/vcard+json":{source:"iana",compressible:true},"application/vcard+xml":{source:"iana",compressible:true},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:true,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:true},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:true},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:true},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:true},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:true},"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",compressible:true},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:true},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:true},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:true},"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",compressible:false,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",compressible:true,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{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.amadeus+json":{source:"iana",compressible:true},"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",compressible:true},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:false,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:true},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:true},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:true},"application/vnd.apple.installer+xml":{source:"iana",compressible:true,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["keynote"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:false,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:true},"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.avalon+json":{source:"iana",compressible:true},"application/vnd.avistar+xml":{source:"iana",compressible:true},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:true,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:true},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:true},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:true},"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.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:true},"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:true},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:true,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:true,extensions:["csl"]},"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.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:true},"application/vnd.collection.doc+json":{source:"iana",compressible:true},"application/vnd.collection.next+json":{source:"iana",compressible:true},"application/vnd.comicbook+zip":{source:"iana",compressible:false},"application/vnd.comicbook-rar":{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:true},"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",compressible:true,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:true},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:true},"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",compressible:true},"application/vnd.cybank":{source:"iana"},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:false},"application/vnd.dart":{source:"iana",compressible:true,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:true},"application/vnd.dataresource+json":{source:"iana",compressible:true},"application/vnd.dbf":{source:"iana"},"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",compressible:true,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.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:true},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:true},"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:true},"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.dvbisl+xml":{source:"iana",compressible:true},"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",compressible:true},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:true},"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.ecip.rlp":{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",compressible:true},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:true},"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",compressible:false},"application/vnd.eszigno3+xml":{source:"iana",compressible:true,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:true},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:false},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:false},"application/vnd.etsi.cug+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:true},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:true},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:true},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:true},"application/vnd.etsi.sci+xml":{source:"iana",compressible:true},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:true},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:true},"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.exstream-empower+zip":{source:"iana",compressible:false},"application/vnd.exstream-package":{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.ficlab.flb+zip":{source:"iana",compressible:false},"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.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:true},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:true},"application/vnd.geo+json":{source:"iana",compressible:true},"application/vnd.geocube+xml":{source:"iana",compressible:true},"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:false,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:false,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:false,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:true,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:false,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:true},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:false},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:true},"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:true},"application/vnd.hal+xml":{source:"iana",compressible:true,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:true,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:true},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:true},"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+json":{source:"iana",compressible:true},"application/vnd.hyper-item+json":{source:"iana",compressible:true},"application/vnd.hyperdrive+json":{source:"iana",compressible:true},"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",compressible:false},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:false},"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:true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:true},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:true},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:true},"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",compressible:true},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:true},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:true,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:false},"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":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:true},"application/vnd.las.las+xml":{source:"iana",compressible:true,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:true},"application/vnd.liberty-request+xml":{source:"iana",compressible:true},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:true,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:false},"application/vnd.loom":{source:"iana"},"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",compressible:true},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:true},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:true},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:true},"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:true},"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:true},"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:true,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:false,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:true,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",compressible:true},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:true},"application/vnd.ms-outlook":{compressible:false,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",compressible:true},"application/vnd.ms-powerpoint":{source:"iana",compressible:false,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",compressible:true},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:true},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:true},"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:false,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:true},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"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",compressible:true},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:true},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:true},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:true},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:true,extensions:["ac"]},"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",compressible:true},"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:false,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:false,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:false,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:false,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.oci.image.manifest.v1+json":{source:"iana",compressible:true},"application/vnd.oftn.l10n+json":{source:"iana",compressible:true},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:true},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:true},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:true},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:true},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:true},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:true},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:true},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:true},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:true},"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",compressible:true},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:true},"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",compressible:true},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:true},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:true,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:true},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:true},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:true},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:true},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:true},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:true},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:true},"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",compressible:true,extensions:["obgx"]},"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",compressible:true,extensions:["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:false,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:false,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:false,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:true},"application/vnd.oracle.resource+json":{source:"iana",compressible:true},"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",compressible:true},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:true},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"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",compressible:true},"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.psfs":{source:"iana"},"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",compressible:true},"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",compressible:true},"application/vnd.radisys.msml+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:true},"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",compressible:true,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:true},"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",compressible:true,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.sar":{source:"iana"},"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.shade-save-file":{source:"iana"},"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.shootproof+json":{source:"iana",compressible:true},"application/vnd.shopkick+json":{source:"iana",compressible:true},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:true},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:true,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:true,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"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:true,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",charset:"UTF-8",compressible:true,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:true,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:true,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:true},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:true},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:true},"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",compressible:true,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:true},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{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",charset:"UTF-8",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",compressible:true},"application/vnd.wv.ssp+xml":{source:"iana",compressible:true},"application/vnd.xacml+json":{source:"iana",compressible:true},"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",compressible:true},"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",compressible:true,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.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:true,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:true,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:true},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{compressible:true,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:true},"application/webpush-options+json":{source:"iana",compressible:true},"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",compressible:true,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:true,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:false,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:false,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:false,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:false,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:false,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:false},"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",compressible:true,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:true,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:true,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:false,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-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-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:true,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:false,extensions:["jnlp"]},"application/x-javascript":{compressible:true},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:false,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:false},"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:true,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:false,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:false,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:true,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:false,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:false,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:true,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:true,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:true,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:true,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:true,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:false,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:true,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:true,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:true,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:true,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:true},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:true,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:false,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",compressible:true},"application/xaml+xml":{source:"apache",compressible:true,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:true,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:true,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:true,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:true,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:true,extensions:["xer"]},"application/xcap-ns+xml":{source:"iana",compressible:true,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:true},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:true},"application/xenc+xml":{source:"iana",compressible:true,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:true,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:true},"application/xliff+xml":{source:"iana",compressible:true,extensions:["xlf"]},"application/xml":{source:"iana",compressible:true,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:true,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:true},"application/xmpp+xml":{source:"iana",compressible:true},"application/xop+xml":{source:"iana",compressible:true,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:true,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:true,extensions:["xslt"]},"application/xspf+xml":{source:"apache",compressible:true,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:true,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:true},"application/yang-data+xml":{source:"iana",compressible:true},"application/yang-patch+json":{source:"iana",compressible:true},"application/yang-patch+xml":{source:"iana",compressible:true},"application/yin+xml":{source:"iana",compressible:true,extensions:["yin"]},"application/zip":{source:"iana",compressible:false,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:false,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{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:false,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/flexfec":{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:false},"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/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:false,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:false,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:false,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:false,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/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{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.dts.uhd":{source:"iana"},"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:false},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:false},"audio/vorbis":{source:"iana",compressible:false},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:false,extensions:["wav"]},"audio/wave":{compressible:false,extensions:["wav"]},"audio/webm":{source:"apache",compressible:false,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:false,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:false,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/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:true,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:true,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:false,extensions:["apng"]},"image/avci":{source:"iana"},"image/avcs":{source:"iana"},"image/bmp":{source:"iana",compressible:true,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:false,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:false,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:false,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:false,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:false,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:false},"image/png":{source:"iana",compressible:false,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:true,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:false,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:true,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"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",extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{extensions:["dds"]},"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",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"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:true,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:true,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:false},"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",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:false},"message/imdn+xml":{source:"iana",compressible:true},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:false},"message/rfc822":{source:"iana",compressible:true,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",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/gltf+json":{source:"iana",compressible:true,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:true,extensions:["glb"]},"model/iges":{source:"iana",compressible:false,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:false,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:true,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",compressible:true},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.usdz+zip":{source:"iana",compressible:false,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:false,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:false,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:false,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:true,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:false},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:false},"multipart/form-data":{source:"iana",compressible:false},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:false},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:false},"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:true,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:true},"text/cmd":{compressible:true},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",charset:"UTF-8",compressible:true,extensions:["css"]},"text/csv":{source:"iana",compressible:true,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/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:true,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:true},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:true,extensions:["jsx"]},"text/less":{compressible:true,extensions:["less"]},"text/markdown":{source:"iana",compressible:true,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:true,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:true,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:true,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"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:true,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:true,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shex":{extensions:["shex"]},"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:true,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:true,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:true,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",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hgl":{source:"iana"},"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.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"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":{source:"iana",charset:"UTF-8",compressible:true,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:true},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:true},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:true,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:true,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:true,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:true,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:true,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/flexfec":{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:false,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:false,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:false,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:false,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/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{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.mp4vr":{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/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/webm":{source:"apache",compressible:false,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:false,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:false,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:false,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:true},"x-shader/x-vertex":{compressible:true}}},{}],798:[function(require,module,exports){
|
||
/*!
|
||
* mime-db
|
||
* Copyright(c) 2014 Jonathan Ong
|
||
* MIT Licensed
|
||
*/
|
||
module.exports=require("./db.json")},{"./db.json":797}],799:[function(require,module,exports){
|
||
/*!
|
||
* mime-types
|
||
* Copyright(c) 2014 Jonathan Ong
|
||
* Copyright(c) 2015 Douglas Christopher Wilson
|
||
* MIT Licensed
|
||
*/
|
||
"use strict";var db=require("mime-db");var extname=require("path").extname;var EXTRACT_TYPE_REGEXP=/^\s*([^;\s]*)(?:;|\s|$)/;var TEXT_TYPE_REGEXP=/^text\//i;exports.charset=charset;exports.charsets={lookup:charset};exports.contentType=contentType;exports.extension=extension;exports.extensions=Object.create(null);exports.lookup=lookup;exports.types=Object.create(null);populateMaps(exports.extensions,exports.types);function charset(type){if(!type||typeof type!=="string"){return false}var match=EXTRACT_TYPE_REGEXP.exec(type);var mime=match&&db[match[1].toLowerCase()];if(mime&&mime.charset){return mime.charset}if(match&&TEXT_TYPE_REGEXP.test(match[1])){return"UTF-8"}return false}function contentType(str){if(!str||typeof str!=="string"){return false}var mime=str.indexOf("/")===-1?exports.lookup(str):str;if(!mime){return false}if(mime.indexOf("charset")===-1){var charset=exports.charset(mime);if(charset)mime+="; charset="+charset.toLowerCase()}return mime}function extension(type){if(!type||typeof type!=="string"){return false}var match=EXTRACT_TYPE_REGEXP.exec(type);var exts=match&&exports.extensions[match[1].toLowerCase()];if(!exts||!exts.length){return false}return exts[0]}function lookup(path){if(!path||typeof path!=="string"){return false}var extension=extname("x."+path).toLowerCase().substr(1);if(!extension){return false}return exports.types[extension]||false}function populateMaps(extensions,types){var preference=["nginx","apache",undefined,"iana"];Object.keys(db).forEach((function forEachMimeType(type){var mime=db[type];var exts=mime.extensions;if(!exts||!exts.length){return}extensions[type]=exts;for(var i=0;i<exts.length;i++){var extension=exts[i];if(types[extension]){var from=preference.indexOf(db[types[extension]].source);var to=preference.indexOf(mime.source);if(types[extension]!=="application/octet-stream"&&(from>to||from===to&&types[extension].substr(0,12)==="application/")){continue}}types[extension]=type}}))}},{"mime-db":798,path:846}],800:[function(require,module,exports){module.exports=assert;function assert(val,msg){if(!val)throw new Error(msg||"Assertion failed")}assert.equal=function assertEqual(l,r,msg){if(l!=r)throw new Error(msg||"Assertion failed: "+l+" != "+r)}},{}],801:[function(require,module,exports){"use strict";var utils=exports;function toArray(msg,enc){if(Array.isArray(msg))return msg.slice();if(!msg)return[];var res=[];if(typeof msg!=="string"){for(var i=0;i<msg.length;i++)res[i]=msg[i]|0;return res}if(enc==="hex"){msg=msg.replace(/[^a-z0-9]+/gi,"");if(msg.length%2!==0)msg="0"+msg;for(var i=0;i<msg.length;i+=2)res.push(parseInt(msg[i]+msg[i+1],16))}else{for(var i=0;i<msg.length;i++){var c=msg.charCodeAt(i);var hi=c>>8;var lo=c&255;if(hi)res.push(hi,lo);else res.push(lo)}}return res}utils.toArray=toArray;function zero2(word){if(word.length===1)return"0"+word;else return word}utils.zero2=zero2;function toHex(msg){var res="";for(var i=0;i<msg.length;i++)res+=zero2(msg[i].toString(16));return res}utils.toHex=toHex;utils.encode=function encode(arr,enc){if(enc==="hex")return toHex(arr);else return arr}},{}],802:[function(require,module,exports){(function Export(global,factory){"use strict";if(typeof module=="object"&&typeof exports=="object"){module.exports=factory}else if(typeof define=="function"&&define["amd"]){define(factory)}else{global.NW||(global.NW={});global.NW.Dom=factory(global,Export)}})(this,(function Factory(global,Export){var version="nwsapi-2.2.0",doc=global.document,root=doc.documentElement,slice=Array.prototype.slice,WSP="[\\x20\\t\\r\\n\\f]",CFG={operators:"[~*^$|]=|=",combinators:"[\\x20\\t>+~](?=[^>+~])"},NOT={double_enc:'(?=(?:[^"]*["][^"]*["])*[^"]*$)',single_enc:"(?=(?:[^']*['][^']*['])*[^']*$)",parens_enc:"(?![^\\x28]*\\x29)",square_enc:"(?![^\\x5b]*\\x5d)"},REX={HasEscapes:RegExp("\\\\"),HexNumbers:RegExp("^[0-9a-fA-F]"),EscOrQuote:RegExp("^\\\\|[\\x22\\x27]"),RegExpChar:RegExp("(?:(?!\\\\)[\\\\^$.*+?()[\\]{}|\\/])","g"),TrimSpaces:RegExp("[\\r\\n\\f]|^"+WSP+"+|"+WSP+"+$","g"),CommaGroup:RegExp("(\\s*,\\s*)"+NOT.square_enc+NOT.parens_enc,"g"),SplitGroup:RegExp("((?:\\x28[^\\x29]*\\x29|\\[[^\\]]*\\]|\\\\.|[^,])+)","g"),FixEscapes:RegExp("\\\\([0-9a-fA-F]{1,6}"+WSP+"?|.)|([\\x22\\x27])","g"),CombineWSP:RegExp("[\\n\\r\\f\\x20]+"+NOT.single_enc+NOT.double_enc,"g"),TabCharWSP:RegExp("(\\x20?\\t+\\x20?)"+NOT.single_enc+NOT.double_enc,"g"),PseudosWSP:RegExp("\\s+([-+])\\s+"+NOT.square_enc,"g")},STD={combinator:RegExp("\\s?([>+~])\\s?","g"),apimethods:RegExp("^(?:[a-z]+|\\*)\\|","i"),namespaces:RegExp("(\\*|[a-z]+)\\|[-a-z]+","i")},GROUPS={linguistic:"(dir|lang)\\x28\\s?([-\\w]{2,})\\s?(?:\\x29|$)",logicalsel:"(matches|not)\\x28\\s?([^()]*|[^\\x28]*\\x28[^\\x29]*\\x29)\\s?(?:\\x29|$)",treestruct:"(nth(?:-last)?(?:-child|-of-type))(?:\\x28\\s?(even|odd|(?:[-+]?\\d*)(?:n\\s?[-+]?\\s?\\d*)?)\\s?(?:\\x29|$))",locationpc:"(link|visited|target)\\b",useraction:"(hover|active|focus|focus-within)\\b",structural:"(root|empty|(?:(?:first|last|only)(?:-child|-of-type)))\\b",inputstate:"(enabled|disabled|read-only|read-write|placeholder-shown|default)\\b",inputvalue:"(checked|indeterminate|required|optional|valid|invalid|in-range|out-of-range)\\b",pseudo_sng:"(after|before|first-letter|first-line)\\b",pseudo_dbl:":(after|before|first-letter|first-line|selection|placeholder|-webkit-[-a-zA-Z0-9]{2,})\\b"},Patterns={treestruct:RegExp("^:(?:"+GROUPS.treestruct+")(.*)","i"),structural:RegExp("^:(?:"+GROUPS.structural+")(.*)","i"),linguistic:RegExp("^:(?:"+GROUPS.linguistic+")(.*)","i"),useraction:RegExp("^:(?:"+GROUPS.useraction+")(.*)","i"),inputstate:RegExp("^:(?:"+GROUPS.inputstate+")(.*)","i"),inputvalue:RegExp("^:(?:"+GROUPS.inputvalue+")(.*)","i"),locationpc:RegExp("^:(?:"+GROUPS.locationpc+")(.*)","i"),logicalsel:RegExp("^:(?:"+GROUPS.logicalsel+")(.*)","i"),pseudo_dbl:RegExp("^:(?:"+GROUPS.pseudo_dbl+")(.*)","i"),pseudo_sng:RegExp("^:(?:"+GROUPS.pseudo_sng+")(.*)","i"),children:RegExp("^"+WSP+"?\\>"+WSP+"?(.*)"),adjacent:RegExp("^"+WSP+"?\\+"+WSP+"?(.*)"),relative:RegExp("^"+WSP+"?\\~"+WSP+"?(.*)"),ancestor:RegExp("^"+WSP+"+(.*)"),universal:RegExp("^\\*(.*)"),namespace:RegExp("^(\\w+|\\*)?\\|(.*)")},RTL=RegExp("^[\\u0591-\\u08ff\\ufb1d-\\ufdfd\\ufe70-\\ufefc ]+$"),qsNotArgs="Not enough arguments",qsInvalid=" is not a valid selector",reNthElem=RegExp("(:nth(?:-last)?-child)","i"),reNthType=RegExp("(:nth(?:-last)?-of-type)","i"),reOptimizer,reValidator,Config={IDS_DUPES:true,MIXEDCASE:true,LOGERRORS:true,VERBOSITY:true},NAMESPACE,QUIRKS_MODE,HTML_DOCUMENT,ATTR_STD_OPS={"=":1,"^=":1,"$=":1,"|=":1,"*=":1,"~=":1},HTML_TABLE={accept:1,"accept-charset":1,align:1,alink:1,axis:1,bgcolor:1,charset:1,checked:1,clear:1,codetype:1,color:1,compact:1,declare:1,defer:1,dir:1,direction:1,disabled:1,enctype:1,face:1,frame:1,hreflang:1,"http-equiv":1,lang:1,language:1,link:1,media:1,method:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,rel:1,rev:1,rules:1,scope:1,scrolling:1,selected:1,shape:1,target:1,text:1,type:1,valign:1,valuetype:1,vlink:1},Combinators={},Selectors={},Operators={"=":{p1:"^",p2:"$",p3:"true"},"^=":{p1:"^",p2:"",p3:"true"},"$=":{p1:"",p2:"$",p3:"true"},"*=":{p1:"",p2:"",p3:"true"},"|=":{p1:"^",p2:"(-|$)",p3:"true"},"~=":{p1:"(^|\\s)",p2:"(\\s|$)",p3:"true"}},concatCall=function(nodes,callback){var i=0,l=nodes.length,list=Array(l);while(l>i){if(false===callback(list[i]=nodes[i]))break;++i}return list},concatList=function(list,nodes){var i=-1,l=nodes.length;while(l--){list[list.length]=nodes[++i]}return list},documentOrder=function(a,b){if(!hasDupes&&a===b){hasDupes=true;return 0}return a.compareDocumentPosition(b)&4?-1:1},hasDupes=false,unique=function(nodes){var i=0,j=-1,l=nodes.length+1,list=[];while(--l){if(nodes[i++]===nodes[i])continue;list[++j]=nodes[i-1]}hasDupes=false;return list},hasMixedCaseTagNames=function(context){var ns,api="getElementsByTagNameNS";context=context.ownerDocument||context;ns=context.documentElement.namespaceURI||"http://www.w3.org/1999/xhtml";return context[api]("*","*").length-context[api](ns,"*").length>0},switchContext=function(context,force){var oldDoc=doc;doc=context.ownerDocument||context;if(force||oldDoc!==doc){root=doc.documentElement;HTML_DOCUMENT=isHTML(doc);QUIRKS_MODE=HTML_DOCUMENT&&doc.compatMode.indexOf("CSS")<0;NAMESPACE=root&&root.namespaceURI;Snapshot.doc=doc;Snapshot.root=root}return Snapshot.from=context},codePointToUTF16=function(codePoint){if(codePoint<1||codePoint>1114111||codePoint>55295&&codePoint<57344){return"\\ufffd"}if(codePoint<65536){var lowHex="000"+codePoint.toString(16);return"\\u"+lowHex.substr(lowHex.length-4)}return"\\u"+((codePoint-65536>>10)+55296).toString(16)+"\\u"+((codePoint-65536)%1024+56320).toString(16)},stringFromCodePoint=function(codePoint){if(codePoint<1||codePoint>1114111||codePoint>55295&&codePoint<57344){return"<22>"}if(codePoint<65536){return String.fromCharCode(codePoint)}return String.fromCodePoint?String.fromCodePoint(codePoint):String.fromCharCode((codePoint-65536>>10)+55296,(codePoint-65536)%1024+56320)},convertEscapes=function(str){return REX.HasEscapes.test(str)?str.replace(REX.FixEscapes,(function(substring,p1,p2){return p2?"\\"+p2:REX.HexNumbers.test(p1)?codePointToUTF16(parseInt(p1,16)):REX.EscOrQuote.test(p1)?substring:p1})):str},unescapeIdentifier=function(str){return REX.HasEscapes.test(str)?str.replace(REX.FixEscapes,(function(substring,p1,p2){return p2?p2:REX.HexNumbers.test(p1)?stringFromCodePoint(parseInt(p1,16)):REX.EscOrQuote.test(p1)?substring:p1})):str},method={"#":"getElementById","*":"getElementsByTagName",".":"getElementsByClassName"},compat={"#":function(c,n){REX.HasEscapes.test(n)&&(n=unescapeIdentifier(n));return function(e,f){return byId(n,c)}},"*":function(c,n){REX.HasEscapes.test(n)&&(n=unescapeIdentifier(n));return function(e,f){return byTag(n,c)}},".":function(c,n){REX.HasEscapes.test(n)&&(n=unescapeIdentifier(n));return function(e,f){return byClass(n,c)}}},byIdRaw=function(id,context){var node=context,nodes=[],next=node.firstElementChild;while(node=next){node.id==id&&(nodes[nodes.length]=node);if(next=node.firstElementChild||node.nextElementSibling)continue;while(!next&&(node=node.parentElement)&&node!==context){next=node.nextElementSibling}}return nodes},byId=function(id,context){var e,nodes,api=method["#"];if(Config.IDS_DUPES===false){if(api in context){return(e=context[api](id))?[e]:none}}else{if("all"in context){if(e=context.all[id]){if(e.nodeType==1)return e.getAttribute("id")!=id?[]:[e];else if(id=="length")return(e=context[api](id))?[e]:none;for(i=0,l=e.length,nodes=[];l>i;++i){if(e[i].id==id)nodes[nodes.length]=e[i]}return nodes&&nodes.length?nodes:[nodes]}else return none}}return byIdRaw(id,context)},byTag=function(tag,context){var e,nodes,api=method["*"];if(api in context){return slice.call(context[api](tag))}else{if(e=context.firstElementChild){tag=tag.toLowerCase();if(!(e.nextElementSibling||tag=="*"||e.nodeName.toLowerCase()==tag)){return slice.call(e[api](tag))}else{nodes=[];do{if(tag=="*"||e.nodeName.toLowerCase()==tag)nodes[nodes.length]=e;concatList(nodes,e[api](tag))}while(e=e.nextElementSibling)}}else nodes=none}return nodes},byClass=function(cls,context){var e,nodes,api=method["."],reCls;if(api in context){return slice.call(context[api](cls))}else{if(e=context.firstElementChild){reCls=RegExp("(^|\\s)"+cls+"(\\s|$)",QUIRKS_MODE?"i":"");if(!(e.nextElementSibling||reCls.test(e.className))){return slice.call(e[api](cls))}else{nodes=[];do{if(reCls.test(e.className))nodes[nodes.length]=e;concatList(nodes,e[api](cls))}while(e=e.nextElementSibling)}}else nodes=none}return nodes},hasAttributeNS=function(e,name){var i,l,attr=e.getAttributeNames();name=RegExp(":?"+name+"$",HTML_DOCUMENT?"i":"");for(i=0,l=attr.length;l>i;++i){if(name.test(attr[i]))return true}return false},nthElement=function(){var idx=0,len=0,set=0,parent=undefined,parents=Array(),nodes=Array();return function(element,dir){if(dir==2){idx=0;len=0;set=0;nodes.length=0;parents.length=0;parent=undefined;return-1}var e,i,j,k,l;if(parent===element.parentElement){i=set;j=idx;l=len}else{l=parents.length;parent=element.parentElement;for(i=-1,j=0,k=l-1;l>j;++j,--k){if(parents[j]===parent){i=j;break}if(parents[k]===parent){i=k;break}}if(i<0){parents[i=l]=parent;l=0;nodes[i]=Array();e=parent&&parent.firstElementChild||element;while(e){nodes[i][l]=e;if(e===element)j=l;e=e.nextElementSibling;++l}set=i;idx=0;len=l;if(l<2)return l}else{l=nodes[i].length;set=i}}if(element!==nodes[i][j]&&element!==nodes[i][j=0]){for(j=0,e=nodes[i],k=l-1;l>j;++j,--k){if(e[j]===element){break}if(e[k]===element){j=k;break}}}idx=j+1;len=l;return dir?l-j:idx}}(),nthOfType=function(){var idx=0,len=0,set=0,parent=undefined,parents=Array(),nodes=Array();return function(element,dir){if(dir==2){idx=0;len=0;set=0;nodes.length=0;parents.length=0;parent=undefined;return-1}var e,i,j,k,l,name=element.nodeName;if(nodes[set]&&nodes[set][name]&&parent===element.parentElement){i=set;j=idx;l=len}else{l=parents.length;parent=element.parentElement;for(i=-1,j=0,k=l-1;l>j;++j,--k){if(parents[j]===parent){i=j;break}if(parents[k]===parent){i=k;break}}if(i<0||!nodes[i][name]){parents[i=l]=parent;nodes[i]||(nodes[i]=Object());l=0;nodes[i][name]=Array();e=parent&&parent.firstElementChild||element;while(e){if(e===element)j=l;if(e.nodeName==name){nodes[i][name][l]=e;++l}e=e.nextElementSibling}set=i;idx=j;len=l;if(l<2)return l}else{l=nodes[i][name].length;set=i}}if(element!==nodes[i][name][j]&&element!==nodes[i][name][j=0]){for(j=0,e=nodes[i][name],k=l-1;l>j;++j,--k){if(e[j]===element){break}if(e[k]===element){j=k;break}}}idx=j+1;len=l;return dir?l-j:idx}}(),isHTML=function(node){var doc=node.ownerDocument||node;return doc.nodeType==9&&"contentType"in doc?doc.contentType.indexOf("/html")>0:doc.createElement("DiV").nodeName=="DIV"},configure=function(option,clear){if(typeof option=="string"){return!!Config[option]}if(typeof option!="object"){return Config}for(var i in option){Config[i]=!!option[i]}if(clear){matchResolvers={};selectResolvers={}}setIdentifierSyntax();return true},emit=function(message,proto){var err;if(Config.VERBOSITY){if(proto){err=new proto(message)}else{err=new global.DOMException(message,"SyntaxError")}throw err}if(Config.LOGERRORS&&console&&console.log){console.log(message)}},initialize=function(doc){setIdentifierSyntax();lastContext=switchContext(doc,true)},setIdentifierSyntax=function(){var identifier="(?=[^0-9])"+"(?:-{2}"+"|[a-zA-Z0-9-_]"+"|[^\\x00-\\x9f]"+"|\\\\[^\\r\\n\\f0-9a-fA-F]"+"|\\\\[0-9a-fA-F]{1,6}(?:\\r\\n|\\s)?"+"|\\\\."+")+",pseudonames="[-\\w]+",pseudoparms="(?:[-+]?\\d*)(?:n\\s?[-+]?\\s?\\d*)",doublequote='"[^"\\\\]*(?:\\\\.[^"\\\\]*)*(?:"|$)',singlequote="'[^'\\\\]*(?:\\\\.[^'\\\\]*)*(?:'|$)",attrparser=identifier+"|"+doublequote+"|"+singlequote,attrvalues="([\\x22\\x27]?)((?!\\3)*|(?:\\\\?.)*?)(?:\\3|$)",attributes="\\["+"(?:\\*\\|)?"+WSP+"?"+"("+identifier+"(?::"+identifier+")?)"+WSP+"?"+"(?:"+"("+CFG.operators+")"+WSP+"?"+"(?:"+attrparser+")"+")?"+WSP+"?"+"(i)?"+WSP+"?"+"(?:\\]|$)",attrmatcher=attributes.replace(attrparser,attrvalues),pseudoclass="(?:\\x28"+WSP+"*"+"(?:"+pseudoparms+"?)?|"+"(?:\\*|\\|)|"+"(?:"+"(?::"+pseudonames+"(?:\\x28"+pseudoparms+"?(?:\\x29|$))?|"+")|"+"(?:[.#]?"+identifier+")|"+"(?:"+attributes+")"+")+|"+"(?:"+WSP+"?,"+WSP+"?)|"+"(?:"+WSP+"?)|"+"(?:\\x29|$))*",standardValidator="(?="+WSP+"?[^>+~(){}<>])"+"(?:"+"(?:\\*|\\|)|"+"(?:[.#]?"+identifier+")+|"+"(?:"+attributes+")+|"+"(?:::?"+pseudonames+pseudoclass+")|"+"(?:"+WSP+"?"+CFG.combinators+WSP+"?)|"+"(?:"+WSP+"?,"+WSP+"?)|"+"(?:"+WSP+"?)"+")+";reOptimizer=RegExp("(?:([.:#*]?)"+"("+identifier+")"+"(?:"+":[-\\w]+|"+"\\[[^\\]]+(?:\\]|$)|"+"\\x28[^\\x29]+(?:\\x29|$)"+")*)$");reValidator=RegExp(standardValidator,"g");Patterns.id=RegExp("^#("+identifier+")(.*)");Patterns.tagName=RegExp("^("+identifier+")(.*)");Patterns.className=RegExp("^\\.("+identifier+")(.*)");Patterns.attribute=RegExp("^(?:"+attrmatcher+")(.*)")},F_INIT='"use strict";return function Resolver(c,f,x,r)',S_HEAD="var e,n,o,j=r.length-1,k=-1",M_HEAD="var e,n,o",S_LOOP="main:while((e=c[++k]))",N_LOOP="main:while((e=c.item(++k)))",M_LOOP="e=c;",S_BODY="r[++j]=c[k];",N_BODY="r[++j]=c.item(k);",M_BODY="",S_TAIL="continue main;",M_TAIL="r=true;",S_TEST="if(f(c[k])){break main;}",N_TEST="if(f(c.item(k))){break main;}",M_TEST="f(c);",S_VARS=[],M_VARS=[],compile=function(selector,mode,callback){var factory,token,head="",loop="",macro="",source="",vars="";switch(mode){case true:if(selectLambdas[selector]){return selectLambdas[selector]}macro=S_BODY+(callback?S_TEST:"")+S_TAIL;head=S_HEAD;loop=S_LOOP;break;case false:if(matchLambdas[selector]){return matchLambdas[selector]}macro=M_BODY+(callback?M_TEST:"")+M_TAIL;head=M_HEAD;loop=M_LOOP;break;case null:if(selectLambdas[selector]){return selectLambdas[selector]}macro=N_BODY+(callback?N_TEST:"")+S_TAIL;head=S_HEAD;loop=N_LOOP;break;default:break}source=compileSelector(selector,macro,mode,callback,false);loop+=mode||mode===null?"{"+source+"}":source;if(mode||mode===null&&selector.includes(":nth")){loop+=reNthElem.test(selector)?"s.nthElement(null, 2);":"";loop+=reNthType.test(selector)?"s.nthOfType(null, 2);":""}if(S_VARS[0]||M_VARS[0]){vars=","+(S_VARS.join(",")||M_VARS.join(","));S_VARS.length=0;M_VARS.length=0}factory=Function("s",F_INIT+"{"+head+vars+";"+loop+"return r;}")(Snapshot);return mode||mode===null?selectLambdas[selector]=factory:matchLambdas[selector]=factory},compileSelector=function(expression,source,mode,callback,not){var a,b,n,f,i,l,name,nested,NS,N=not?"!":"",D=not?"":"!",compat,expr,match,result,status,symbol,test,type,selector=expression,selector_string,vars;selector_string=mode?lastSelected:lastMatched;selector=selector.replace(STD.combinator,"$1");while(selector){symbol=STD.apimethods.test(selector)?"|":selector[0];switch(symbol){case"*":match=selector.match(Patterns.universal);if(N=="!"){source="if("+N+"true"+"){"+source+"}"}break;case"#":match=selector.match(Patterns.id);source="if("+N+"(/^"+match[1]+'$/.test(e.getAttribute("id"))'+")){"+source+"}";break;case".":match=selector.match(Patterns.className);compat=(QUIRKS_MODE?"i":"")+'.test(e.getAttribute("class"))';source="if("+N+"(/(^|\\s)"+match[1]+"(\\s|$)/"+compat+")){"+source+"}";break;case/[a-z]/i.test(symbol)?symbol:undefined:match=selector.match(Patterns.tagName);source="if("+N+"(e.nodeName"+(Config.MIXEDCASE||hasMixedCaseTagNames(doc)?'.toLowerCase()=="'+match[1].toLowerCase()+'"':'=="'+match[1].toUpperCase()+'"')+")){"+source+"}";break;case"|":match=selector.match(Patterns.namespace);if(match[1]=="*"){source="if("+N+"true){"+source+"}"}else if(!match[1]){source="if("+N+"(!e.namespaceURI)){"+source+"}"}else if(typeof match[1]=="string"&&root.prefix==match[1]){source="if("+N+'(e.namespaceURI=="'+NAMESPACE+'")){'+source+"}"}else{emit("'"+selector_string+"'"+qsInvalid)}break;case"[":match=selector.match(Patterns.attribute);NS=match[0].match(STD.namespaces);name=match[1];expr=name.split(":");expr=expr.length==2?expr[1]:expr[0];if(match[2]&&!(test=Operators[match[2]])){emit("'"+selector_string+"'"+qsInvalid);return""}if(match[4]===""){test=match[2]=="~="?{p1:"^\\s",p2:"+$",p3:"true"}:match[2]in ATTR_STD_OPS&&match[2]!="~="?{p1:"^",p2:"$",p3:"true"}:test}else if(match[2]=="~="&&match[4].includes(" ")){source="if("+N+"false){"+source+"}";break}else if(match[4]){match[4]=convertEscapes(match[4]).replace(REX.RegExpChar,"\\$&")}type=match[5]=="i"||HTML_DOCUMENT&&HTML_TABLE[expr.toLowerCase()]?"i":"";source="if("+N+"("+(!match[2]?NS?'s.hasAttributeNS(e,"'+name+'")':'e.hasAttribute("'+name+'")':!match[4]&&ATTR_STD_OPS[match[2]]&&match[2]!="~="?'e.getAttribute("'+name+'")==""':"(/"+test.p1+match[4]+test.p2+"/"+type+').test(e.getAttribute("'+name+'"))=='+test.p3)+")){"+source+"}";break;case"~":match=selector.match(Patterns.relative);source="n=e;while((e=e.previousElementSibling)){"+source+"}e=n;";break;case"+":match=selector.match(Patterns.adjacent);source="n=e;if((e=e.previousElementSibling)){"+source+"}e=n;";break;case"\t":case" ":match=selector.match(Patterns.ancestor);source="n=e;while((e=e.parentElement)){"+source+"}e=n;";break;case">":match=selector.match(Patterns.children);source="n=e;if((e=e.parentElement)){"+source+"}e=n;";break;case symbol in Combinators?symbol:undefined:match[match.length-1]="*";source=Combinators[symbol](match)+source;break;case":":if(match=selector.match(Patterns.structural)){match[1]=match[1].toLowerCase();switch(match[1]){case"root":source="if("+N+"(e===s.root)){"+source+(mode?"break main;":"")+"}";break;case"empty":source="n=e.firstChild;while(n&&!(/1|3/).test(n.nodeType)){n=n.nextSibling}if("+D+"n){"+source+"}";break;case"only-child":source="if("+N+"(!e.nextElementSibling&&!e.previousElementSibling)){"+source+"}";break;case"last-child":source="if("+N+"(!e.nextElementSibling)){"+source+"}";break;case"first-child":source="if("+N+"(!e.previousElementSibling)){"+source+"}";break;case"only-of-type":source="o=e.nodeName;"+"n=e;while((n=n.nextElementSibling)&&n.nodeName!=o);if(!n){"+"n=e;while((n=n.previousElementSibling)&&n.nodeName!=o);}if("+D+"n){"+source+"}";break;case"last-of-type":source="n=e;o=e.nodeName;while((n=n.nextElementSibling)&&n.nodeName!=o);if("+D+"n){"+source+"}";break;case"first-of-type":source="n=e;o=e.nodeName;while((n=n.previousElementSibling)&&n.nodeName!=o);if("+D+"n){"+source+"}";break;default:emit("'"+selector_string+"'"+qsInvalid);break}}else if(match=selector.match(Patterns.treestruct)){match[1]=match[1].toLowerCase();switch(match[1]){case"nth-child":case"nth-of-type":case"nth-last-child":case"nth-last-of-type":expr=/-of-type/i.test(match[1]);if(match[1]&&match[2]){type=/last/i.test(match[1]);if(match[2]=="n"){source="if("+N+"true){"+source+"}";break}else if(match[2]=="1"){test=type?"next":"previous";source=expr?"n=e;o=e.nodeName;"+"while((n=n."+test+"ElementSibling)&&n.nodeName!=o);if("+D+"n){"+source+"}":"if("+N+"!e."+test+"ElementSibling){"+source+"}";break}else if(match[2]=="even"||match[2]=="2n0"||match[2]=="2n+0"||match[2]=="2n"){test="n%2==0"}else if(match[2]=="odd"||match[2]=="2n1"||match[2]=="2n+1"){test="n%2==1"}else{f=/n/i.test(match[2]);n=match[2].split("n");a=parseInt(n[0],10)||0;b=parseInt(n[1],10)||0;if(n[0]=="-"){a=-1}if(n[0]=="+"){a=+1}test=(b?"(n"+(b>0?"-":"+")+Math.abs(b)+")":"n")+"%"+a+"==0";test=a>=+1?f?"n>"+(b-1)+(Math.abs(a)!=1?"&&"+test:""):"n=="+a:a<=-1?f?"n<"+(b+1)+(Math.abs(a)!=1?"&&"+test:""):"n=="+a:a===0?n[0]?"n=="+b:"n>"+(b-1):"false"}expr=expr?"OfType":"Element";type=type?"true":"false";source="n=s.nth"+expr+"(e,"+type+");if("+N+"("+test+")){"+source+"}"}else{emit("'"+selector_string+"'"+qsInvalid)}break;default:emit("'"+selector_string+"'"+qsInvalid);break}}else if(match=selector.match(Patterns.logicalsel)){match[1]=match[1].toLowerCase();switch(match[1]){case"matches":if(not===true||nested===true){emit(":matches() pseudo-class cannot be nested")}nested=true;expr=match[2].replace(REX.CommaGroup,",").replace(REX.TrimSpaces,"");expr=match[2].match(REX.SplitGroup);for(i=0,l=expr.length;l>i;++i){expr[i]=expr[i].replace(REX.TrimSpaces,"");source='if(s.match("'+expr[i].replace(/\x22/g,'\\"')+'",e)){'+source+"}"}break;case"not":if(not===true||nested===true){emit(":not() pseudo-class cannot be nested")}expr=match[2].replace(REX.CommaGroup,",").replace(REX.TrimSpaces,"");expr=match[2].match(REX.SplitGroup);for(i=0,l=expr.length;l>i;++i){expr[i]=expr[i].replace(REX.TrimSpaces,"");source=compileSelector(expr[i],source,false,callback,true)}break;default:emit("'"+selector_string+"'"+qsInvalid);break}}else if(match=selector.match(Patterns.linguistic)){match[1]=match[1].toLowerCase();switch(match[1]){case"dir":source="var p;if("+N+"("+"(/"+match[2]+'/i.test(e.dir))||(p=s.ancestor("[dir]", e))&&'+"(/"+match[2]+'/i.test(p.dir))||(e.dir==""||e.dir=="auto")&&'+"("+(match[2]=="ltr"?"!":"")+RTL+".test(e.textContent)))"+"){"+source+"};";break;case"lang":expr="(?:^|-)"+match[2]+"(?:-|$)";source="var p;if("+N+"("+'(e.isConnected&&(e.lang==""&&(p=s.ancestor("[lang]",e)))&&'+'(p.lang=="'+match[2]+'")||/'+expr+"/i.test(e.lang)))"+"){"+source+"};";break;default:emit("'"+selector_string+"'"+qsInvalid);break}}else if(match=selector.match(Patterns.locationpc)){match[1]=match[1].toLowerCase();switch(match[1]){case"link":source="if("+N+'(/^a|area|link$/i.test(e.nodeName)&&e.hasAttribute("href"))){'+source+"}";break;case"visited":source="if("+N+'(/^a|area|link$/i.test(e.nodeName)&&e.hasAttribute("href")&&e.visited)){'+source+"}";break;case"target":source="if("+N+"((s.doc.compareDocumentPosition(e)&16)&&s.doc.location.hash&&e.id==s.doc.location.hash.slice(1))){"+source+"}";break;default:emit("'"+selector_string+"'"+qsInvalid);break}}else if(match=selector.match(Patterns.useraction)){match[1]=match[1].toLowerCase();switch(match[1]){case"hover":source="hasFocus"in doc&&doc.hasFocus()?"if("+N+"(e===s.doc.hoverElement)){"+source+"}":"if("+D+"true){"+source+"}";break;case"active":source="hasFocus"in doc&&doc.hasFocus()?"if("+N+"(e===s.doc.activeElement)){"+source+"}":"if("+D+"true){"+source+"}";break;case"focus":source="hasFocus"in doc?"if("+N+'(e===s.doc.activeElement&&s.doc.hasFocus()&&(e.type||e.href||typeof e.tabIndex=="number"))){'+source+"}":"if("+N+"(e===s.doc.activeElement&&(e.type||e.href))){"+source+"}";break;case"focus-within":source="hasFocus"in doc?"n=s.doc.activeElement;while(e){if(e===n||e.parentNode===n)break;}"+"if("+N+'(e===n&&s.doc.hasFocus()&&(e.type||e.href||typeof e.tabIndex=="number"))){'+source+"}":source;break;default:emit("'"+selector_string+"'"+qsInvalid);break}}else if(match=selector.match(Patterns.inputstate)){match[1]=match[1].toLowerCase();switch(match[1]){case"enabled":source="if("+N+'(("form" in e||/^optgroup$/i.test(e.nodeName))&&"disabled" in e &&e.disabled===false'+")){"+source+"}";break;case"disabled":source="if("+N+'(("form" in e||/^optgroup$/i.test(e.nodeName))&&"disabled" in e&&'+'(e.disabled===true||(n=s.ancestor("fieldset",e))&&(n=s.first("legend",n))&&!n.contains(e))'+")){"+source+"}";break;case"read-only":source="if("+N+"("+"(/^textarea$/i.test(e.nodeName)&&(e.readOnly||e.disabled))||"+'("|password|text|".includes("|"+e.type+"|")&&e.readOnly)'+")){"+source+"}";break;case"read-write":source="if("+N+"("+"((/^textarea$/i.test(e.nodeName)&&!e.readOnly&&!e.disabled)||"+'("|password|text|".includes("|"+e.type+"|")&&!e.readOnly&&!e.disabled))||'+'(e.hasAttribute("contenteditable")||(s.doc.designMode=="on"))'+")){"+source+"}";break;case"placeholder-shown":source="if("+N+"("+'(/^input|textarea$/i.test(e.nodeName))&&e.hasAttribute("placeholder")&&'+'("|textarea|password|number|search|email|text|tel|url|".includes("|"+e.type+"|"))&&'+'(!s.match(":focus",e))'+")){"+source+"}";break;case"default":source="if("+N+'("form" in e && e.form)){'+"var x=0;n=[];"+'if(e.type=="image")n=e.form.getElementsByTagName("input");'+'if(e.type=="submit")n=e.form.elements;'+"while(n[x]&&e!==n[x]){"+'if(n[x].type=="image")break;'+'if(n[x].type=="submit")break;'+"x++;"+"}"+"}"+"if("+N+'(e.form&&(e===n[x]&&"|image|submit|".includes("|"+e.type+"|"))||'+"((/^option$/i.test(e.nodeName))&&e.defaultSelected)||"+'(("|radio|checkbox|".includes("|"+e.type+"|"))&&e.defaultChecked)'+")){"+source+"}";break;default:emit("'"+selector_string+"'"+qsInvalid);break}}else if(match=selector.match(Patterns.inputvalue)){match[1]=match[1].toLowerCase();switch(match[1]){case"checked":source="if("+N+"(/^input$/i.test(e.nodeName)&&"+'("|radio|checkbox|".includes("|"+e.type+"|")&&e.checked)||'+"(/^option$/i.test(e.nodeName)&&(e.selected||e.checked))"+")){"+source+"}";break;case"indeterminate":source="if("+N+'(/^progress$/i.test(e.nodeName)&&!e.hasAttribute("value"))||'+'(/^input$/i.test(e.nodeName)&&("checkbox"==e.type&&e.indeterminate)||'+'("radio"==e.type&&e.name&&!s.first("input[name="+e.name+"]:checked",e.form))'+")){"+source+"}";break;case"required":source="if("+N+"(/^input|select|textarea$/i.test(e.nodeName)&&e.required)"+"){"+source+"}";break;case"optional":source="if("+N+"(/^input|select|textarea$/i.test(e.nodeName)&&!e.required)"+"){"+source+"}";break;case"invalid":source="if("+N+"(("+"(/^form$/i.test(e.nodeName)&&!e.noValidate)||"+"(e.willValidate&&!e.formNoValidate))&&!e.checkValidity())||"+'(/^fieldset$/i.test(e.nodeName)&&s.first(":invalid",e))'+"){"+source+"}";break;case"valid":source="if("+N+"(("+"(/^form$/i.test(e.nodeName)&&!e.noValidate)||"+"(e.willValidate&&!e.formNoValidate))&&e.checkValidity())||"+'(/^fieldset$/i.test(e.nodeName)&&s.first(":valid",e))'+"){"+source+"}";break;case"in-range":source="if("+N+"(/^input$/i.test(e.nodeName))&&"+"(e.willValidate&&!e.formNoValidate)&&"+"(!e.validity.rangeUnderflow&&!e.validity.rangeOverflow)&&"+'("|date|datetime-local|month|number|range|time|week|".includes("|"+e.type+"|"))&&'+'("range"==e.type||e.getAttribute("min")||e.getAttribute("max"))'+"){"+source+"}";break;case"out-of-range":source="if("+N+"(/^input$/i.test(e.nodeName))&&"+"(e.willValidate&&!e.formNoValidate)&&"+"(e.validity.rangeUnderflow||e.validity.rangeOverflow)&&"+'("|date|datetime-local|month|number|range|time|week|".includes("|"+e.type+"|"))&&'+'("range"==e.type||e.getAttribute("min")||e.getAttribute("max"))'+"){"+source+"}";break;default:emit("'"+selector_string+"'"+qsInvalid);break}}else if(match=selector.match(Patterns.pseudo_sng)){source="if("+D+"(e.nodeType==1)){"+source+"}"}else if(match=selector.match(Patterns.pseudo_dbl)){source="if("+D+"(e.nodeType==1)){"+source+"}"}else{expr=false;status=false;for(expr in Selectors){if(match=selector.match(Selectors[expr].Expression)){result=Selectors[expr].Callback(match,source,mode,callback);if("match"in result){match=result.match}vars=result.modvar;if(mode){vars&&S_VARS.indexOf(vars)<0&&(S_VARS[S_VARS.length]=vars)}else{vars&&M_VARS.indexOf(vars)<0&&(M_VARS[M_VARS.length]=vars)}source=result.source;status=result.status;if(status){break}}}if(!status){emit("unknown pseudo-class selector '"+selector+"'");return""}if(!expr){emit("unknown token in selector '"+selector+"'");return""}}break;default:emit("'"+selector_string+"'"+qsInvalid);break}if(!match){emit("'"+selector_string+"'"+qsInvalid);return""}selector=match.pop()}return source},makeref=function(selectors,element){return selectors.replace(/:scope/i,element.nodeName.toLowerCase()+(element.id?"#"+element.id:"")+(element.className?"."+element.classList[0]:""))},ancestor=function _closest(selectors,element,callback){if(/:scope/i.test(selectors)){selectors=makeref(selectors,element)}while(element){if(match(selectors,element,callback))break;element=element.parentElement}return element},match_assert=function(f,element,callback){for(var i=0,l=f.length,r=false;l>i;++i)f[i](element,callback,null,false)&&(r=true);return r},match_collect=function(selectors,callback){for(var i=0,l=selectors.length,f=[];l>i;++i)f[i]=compile(selectors[i],false,callback);return{factory:f}},match=function _matches(selectors,element,callback){var expressions,parsed;if(element&&matchResolvers[selectors]){return match_assert(matchResolvers[selectors].factory,element,callback)}lastMatched=selectors;if(arguments.length===0){emit(qsNotArgs,TypeError);return Config.VERBOSITY?undefined:false}else if(arguments[0]===""){emit("''"+qsInvalid);return Config.VERBOSITY?undefined:false}if(typeof selectors!="string"){selectors=""+selectors}if(/:scope/i.test(selectors)){selectors=makeref(selectors,element)}parsed=selectors.replace(/\x00|\\$/g,"<22>").replace(REX.CombineWSP," ").replace(REX.PseudosWSP,"$1").replace(REX.TabCharWSP,"\t").replace(REX.CommaGroup,",").replace(REX.TrimSpaces,"");if((expressions=parsed.match(reValidator))&&expressions.join("")==parsed){expressions=parsed.match(REX.SplitGroup);if(parsed[parsed.length-1]==","){emit(qsInvalid);return Config.VERBOSITY?undefined:false}}else{emit("'"+selectors+"'"+qsInvalid);return Config.VERBOSITY?undefined:false}matchResolvers[selectors]=match_collect(expressions,callback);return match_assert(matchResolvers[selectors].factory,element,callback)},first=function _querySelector(selectors,context,callback){if(arguments.length===0){emit(qsNotArgs,TypeError)}return select(selectors,context,typeof callback=="function"?function firstMatch(element){callback(element);return false}:function firstMatch(){return false})[0]||null},select=function _querySelectorAll(selectors,context,callback){var expressions,nodes,parsed,resolver;context||(context=doc);if(selectors){if(resolver=selectResolvers[selectors]){if(resolver.context===context&&resolver.callback===callback){var f=resolver.factory,h=resolver.htmlset,n=resolver.nodeset,nodes=[];if(n.length>1){for(var i=0,l=n.length,list;l>i;++i){list=compat[n[i][0]](context,n[i].slice(1))();if(f[i]!==null){f[i](list,callback,context,nodes)}else{nodes=nodes.concat(list)}}if(l>1&&nodes.length>1){nodes.sort(documentOrder);hasDupes&&(nodes=unique(nodes))}}else{if(f[0]){nodes=f[0](h[0](),callback,context,nodes)}else{nodes=h[0]()}}return typeof callback=="function"?concatCall(nodes,callback):nodes}}}lastSelected=selectors;if(arguments.length===0){emit(qsNotArgs,TypeError);return Config.VERBOSITY?undefined:none}else if(arguments[0]===""){emit("''"+qsInvalid);return Config.VERBOSITY?undefined:none}else if(lastContext!==context){lastContext=switchContext(context)}if(typeof selectors!="string"){selectors=""+selectors}if(/:scope/i.test(selectors)){selectors=makeref(selectors,context)}parsed=selectors.replace(/\x00|\\$/g,"<22>").replace(REX.CombineWSP," ").replace(REX.PseudosWSP,"$1").replace(REX.TabCharWSP,"\t").replace(REX.CommaGroup,",").replace(REX.TrimSpaces,"");if((expressions=parsed.match(reValidator))&&expressions.join("")==parsed){expressions=parsed.match(REX.SplitGroup);if(parsed[parsed.length-1]==","){emit(qsInvalid);return Config.VERBOSITY?undefined:false}}else{emit("'"+selectors+"'"+qsInvalid);return Config.VERBOSITY?undefined:false}selectResolvers[selectors]=collect(expressions,context,callback);nodes=selectResolvers[selectors].results;return typeof callback=="function"?concatCall(nodes,callback):nodes},optimize=function(selector,token){var index=token.index,length=token[1].length+token[2].length;return selector.slice(0,index)+(" >+~".indexOf(selector.charAt(index-1))>-1?":[".indexOf(selector.charAt(index+length+1))>-1?"*":"":"")+selector.slice(index+length-(token[1]=="*"?1:0))},collect=function(selectors,context,callback){var i,l,token,seen={},factory=[],htmlset=[],nodeset=[],results=[];for(i=0,l=selectors.length;l>i;++i){if(!seen[selectors[i]]&&(seen[selectors[i]]=true)){if((token=selectors[i].match(reOptimizer))&&token[1]!=":"){token[1]||(token[1]="*");selectors[i]=optimize(selectors[i],token)}else{token=["","*","*"]}nodeset[i]=token[1]+token[2];htmlset[i]=compat[token[1]](context,token[2]);factory[i]=compile(selectors[i],true,null);if(factory[i]){factory[i](htmlset[i](),callback,context,results)}else{results=results.concat(htmlset[i]())}}}if(l>1){results.sort(documentOrder);hasDupes&&(results=unique(results))}return{callback:callback,context:context,factory:factory,htmlset:htmlset,nodeset:nodeset,results:results}},_closest,_matches,_querySelector,_querySelectorAll,install=function(all){_closest=Element.prototype.closest;_matches=Element.prototype.matches;_querySelector=Document.prototype.querySelector;_querySelectorAll=Document.prototype.querySelectorAll;Element.prototype.closest=function closest(){var ctor=Object.getPrototypeOf(this).__proto__.__proto__.constructor.name;if(!("nodeType"in this)){emit("'closest' called on an object that does not implement interface "+ctor+".",TypeError)}return arguments.length<1?ancestor.apply(this,[]):arguments.length<2?ancestor.apply(this,[arguments[0],this]):ancestor.apply(this,[arguments[0],this,typeof arguments[1]=="function"?arguments[1]:undefined])};Element.prototype.matches=function matches(){var ctor=Object.getPrototypeOf(this).__proto__.__proto__.constructor.name;if(!("nodeType"in this)){emit("'matches' called on an object that does not implement interface "+ctor+".",TypeError)}return arguments.length<1?match.apply(this,[]):arguments.length<2?match.apply(this,[arguments[0],this]):match.apply(this,[arguments[0],this,typeof arguments[1]=="function"?arguments[1]:undefined])};Element.prototype.querySelector=Document.prototype.querySelector=DocumentFragment.prototype.querySelector=function querySelector(){var ctor=Object.getPrototypeOf(this).__proto__.__proto__.constructor.name;if(!("nodeType"in this)){emit("'querySelector' called on an object that does not implement interface "+ctor+".",TypeError)}return arguments.length<1?first.apply(this,[]):arguments.length<2?first.apply(this,[arguments[0],this]):first.apply(this,[arguments[0],this,typeof arguments[1]=="function"?arguments[1]:undefined])};Element.prototype.querySelectorAll=Document.prototype.querySelectorAll=DocumentFragment.prototype.querySelectorAll=function querySelectorAll(){var ctor=Object.getPrototypeOf(this).__proto__.__proto__.constructor.name;if(!("nodeType"in this)){emit("'querySelectorAll' called on an object that does not implement interface "+ctor+".",TypeError)}return arguments.length<1?select.apply(this,[]):arguments.length<2?select.apply(this,[arguments[0],this]):select.apply(this,[arguments[0],this,typeof arguments[1]=="function"?arguments[1]:undefined])};if(all){document.addEventListener("load",(function(e){var c,d,r,s,t=e.target;if(/iframe/i.test(t.nodeName)){c="("+Export+")(this, "+Factory+");";d=t.contentDocument;s=d.createElement("script");s.textContent=c+"NW.Dom.install()";r=d.documentElement;r.removeChild(r.insertBefore(s,r.firstChild))}}),true)}},uninstall=function(){Element.prototype.closest=_closest;Element.prototype.matches=_matches;Element.prototype.querySelector=Document.prototype.querySelector=DocumentFragment.prototype.querySelector=_querySelector;Element.prototype.querySelectorAll=Document.prototype.querySelectorAll=DocumentFragment.prototype.querySelectorAll=_querySelectorAll},none=Array(),lastContext,lastMatched,lastSelected,matchLambdas={},selectLambdas={},matchResolvers={},selectResolvers={},Snapshot={doc:doc,from:doc,root:root,byTag:byTag,first:first,match:match,ancestor:ancestor,nthOfType:nthOfType,nthElement:nthElement,hasAttributeNS:hasAttributeNS},Dom={lastMatched:lastMatched,lastSelected:lastSelected,matchLambdas:matchLambdas,selectLambdas:selectLambdas,matchResolvers:matchResolvers,selectResolvers:selectResolvers,CFG:CFG,M_BODY:M_BODY,S_BODY:S_BODY,M_TEST:M_TEST,S_TEST:S_TEST,byId:byId,byTag:byTag,byClass:byClass,match:match,first:first,select:select,closest:ancestor,compile:compile,configure:configure,emit:emit,Config:Config,Snapshot:Snapshot,Version:version,install:install,uninstall:uninstall,Operators:Operators,Selectors:Selectors,registerCombinator:function(combinator,resolver){var i=0,l=combinator.length,symbol;for(;l>i;++i){if(combinator[i]!="="){symbol=combinator[i];break}}if(CFG.combinators.indexOf(symbol)<0){CFG.combinators=CFG.combinators.replace("](",symbol+"](");CFG.combinators=CFG.combinators.replace("])",symbol+"])");Combinators[combinator]=resolver;setIdentifierSyntax()}else{console.warn("Warning: the '"+combinator+"' combinator is already registered.")}},registerOperator:function(operator,resolver){var i=0,l=operator.length,symbol;for(;l>i;++i){if(operator[i]!="="){symbol=operator[i];break}}if(CFG.operators.indexOf(symbol)<0&&!Operators[operator]){CFG.operators=CFG.operators.replace("]=",symbol+"]=");Operators[operator]=resolver;setIdentifierSyntax()}else{console.warn("Warning: the '"+operator+"' operator is already registered.")}},registerSelector:function(name,rexp,func){Selectors[name]||(Selectors[name]={Expression:rexp,Callback:func})}};initialize(doc);return Dom}))},{}],803:[function(require,module,exports){var crypto=require("crypto");function sha(key,body,algorithm){return crypto.createHmac(algorithm,key).update(body).digest("base64")}function rsa(key,body){return crypto.createSign("RSA-SHA1").update(body).sign(key,"base64")}function rfc3986(str){return encodeURIComponent(str).replace(/!/g,"%21").replace(/\*/g,"%2A").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/'/g,"%27")}function map(obj){var key,val,arr=[];for(key in obj){val=obj[key];if(Array.isArray(val))for(var i=0;i<val.length;i++)arr.push([key,val[i]]);else if(typeof val==="object")for(var prop in val)arr.push([key+"["+prop+"]",val[prop]]);else arr.push([key,val])}return arr}function compare(a,b){return a>b?1:a<b?-1:0}function generateBase(httpMethod,base_uri,params){var normalized=map(params).map((function(p){return[rfc3986(p[0]),rfc3986(p[1]||"")]})).sort((function(a,b){return compare(a[0],b[0])||compare(a[1],b[1])})).map((function(p){return p.join("=")})).join("&");var base=[rfc3986(httpMethod?httpMethod.toUpperCase():"GET"),rfc3986(base_uri),rfc3986(normalized)].join("&");return base}function hmacsign(httpMethod,base_uri,params,consumer_secret,token_secret){var base=generateBase(httpMethod,base_uri,params);var key=[consumer_secret||"",token_secret||""].map(rfc3986).join("&");return sha(key,base,"sha1")}function hmacsign256(httpMethod,base_uri,params,consumer_secret,token_secret){var base=generateBase(httpMethod,base_uri,params);var key=[consumer_secret||"",token_secret||""].map(rfc3986).join("&");return sha(key,base,"sha256")}function rsasign(httpMethod,base_uri,params,private_key,token_secret){var base=generateBase(httpMethod,base_uri,params);var key=private_key||"";return rsa(key,base)}function plaintext(consumer_secret,token_secret){var key=[consumer_secret||"",token_secret||""].map(rfc3986).join("&");return key}function sign(signMethod,httpMethod,base_uri,params,consumer_secret,token_secret){var method;var skipArgs=1;switch(signMethod){case"RSA-SHA1":method=rsasign;break;case"HMAC-SHA1":method=hmacsign;break;case"HMAC-SHA256":method=hmacsign256;break;case"PLAINTEXT":method=plaintext;skipArgs=4;break;default:throw new Error("Signature method not supported: "+signMethod)}return method.apply(null,[].slice.call(arguments,skipArgs))}exports.hmacsign=hmacsign;exports.hmacsign256=hmacsign256;exports.rsasign=rsasign;exports.plaintext=plaintext;exports.sign=sign;exports.rfc3986=rfc3986;exports.generateBase=generateBase},{crypto:143}],804:[function(require,module,exports){
|
||
/*
|
||
object-assign
|
||
(c) Sindre Sorhus
|
||
@license MIT
|
||
*/
|
||
"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols;var hasOwnProperty=Object.prototype.hasOwnProperty;var propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val===null||val===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(val)}function shouldUseNative(){try{if(!Object.assign){return false}var test1=new String("abc");test1[5]="de";if(Object.getOwnPropertyNames(test1)[0]==="5"){return false}var test2={};for(var i=0;i<10;i++){test2["_"+String.fromCharCode(i)]=i}var order2=Object.getOwnPropertyNames(test2).map((function(n){return test2[n]}));if(order2.join("")!=="0123456789"){return false}var test3={};"abcdefghijklmnopqrst".split("").forEach((function(letter){test3[letter]=letter}));if(Object.keys(Object.assign({},test3)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(err){return false}}module.exports=shouldUseNative()?Object.assign:function(target,source){var from;var to=toObject(target);var symbols;for(var s=1;s<arguments.length;s++){from=Object(arguments[s]);for(var key in from){if(hasOwnProperty.call(from,key)){to[key]=from[key]}}if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++){if(propIsEnumerable.call(from,symbols[i])){to[symbols[i]]=from[symbols[i]]}}}}return to}},{}],805:[function(require,module,exports){exports.endianness=function(){return"LE"};exports.hostname=function(){if(typeof location!=="undefined"){return location.hostname}else return""};exports.loadavg=function(){return[]};exports.uptime=function(){return 0};exports.freemem=function(){return Number.MAX_VALUE};exports.totalmem=function(){return Number.MAX_VALUE};exports.cpus=function(){return[]};exports.type=function(){return"Browser"};exports.release=function(){if(typeof navigator!=="undefined"){return navigator.appVersion}return""};exports.networkInterfaces=exports.getNetworkInterfaces=function(){return{}};exports.arch=function(){return"javascript"};exports.platform=function(){return"browser"};exports.tmpdir=exports.tmpDir=function(){return"/tmp"};exports.EOL="\n";exports.homedir=function(){return"/"}},{}],806:[function(require,module,exports){"use strict";var TYPED_OK=typeof Uint8Array!=="undefined"&&typeof Uint16Array!=="undefined"&&typeof Int32Array!=="undefined";function _has(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}exports.assign=function(obj){var sources=Array.prototype.slice.call(arguments,1);while(sources.length){var source=sources.shift();if(!source){continue}if(typeof source!=="object"){throw new TypeError(source+"must be non-object")}for(var p in source){if(_has(source,p)){obj[p]=source[p]}}}return obj};exports.shrinkBuf=function(buf,size){if(buf.length===size){return buf}if(buf.subarray){return buf.subarray(0,size)}buf.length=size;return buf};var fnTyped={arraySet:function(dest,src,src_offs,len,dest_offs){if(src.subarray&&dest.subarray){dest.set(src.subarray(src_offs,src_offs+len),dest_offs);return}for(var i=0;i<len;i++){dest[dest_offs+i]=src[src_offs+i]}},flattenChunks:function(chunks){var i,l,len,pos,chunk,result;len=0;for(i=0,l=chunks.length;i<l;i++){len+=chunks[i].length}result=new Uint8Array(len);pos=0;for(i=0,l=chunks.length;i<l;i++){chunk=chunks[i];result.set(chunk,pos);pos+=chunk.length}return result}};var fnUntyped={arraySet:function(dest,src,src_offs,len,dest_offs){for(var i=0;i<len;i++){dest[dest_offs+i]=src[src_offs+i]}},flattenChunks:function(chunks){return[].concat.apply([],chunks)}};exports.setTyped=function(on){if(on){exports.Buf8=Uint8Array;exports.Buf16=Uint16Array;exports.Buf32=Int32Array;exports.assign(exports,fnTyped)}else{exports.Buf8=Array;exports.Buf16=Array;exports.Buf32=Array;exports.assign(exports,fnUntyped)}};exports.setTyped(TYPED_OK)},{}],807:[function(require,module,exports){"use strict";function adler32(adler,buf,len,pos){var s1=adler&65535|0,s2=adler>>>16&65535|0,n=0;while(len!==0){n=len>2e3?2e3:len;len-=n;do{s1=s1+buf[pos++]|0;s2=s2+s1|0}while(--n);s1%=65521;s2%=65521}return s1|s2<<16|0}module.exports=adler32},{}],808:[function(require,module,exports){"use strict";module.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],809:[function(require,module,exports){"use strict";function makeTable(){var c,table=[];for(var n=0;n<256;n++){c=n;for(var k=0;k<8;k++){c=c&1?3988292384^c>>>1:c>>>1}table[n]=c}return table}var crcTable=makeTable();function crc32(crc,buf,len,pos){var t=crcTable,end=pos+len;crc^=-1;for(var i=pos;i<end;i++){crc=crc>>>8^t[(crc^buf[i])&255]}return crc^-1}module.exports=crc32},{}],810:[function(require,module,exports){"use strict";var utils=require("../utils/common");var trees=require("./trees");var adler32=require("./adler32");var crc32=require("./crc32");var msg=require("./messages");var Z_NO_FLUSH=0;var Z_PARTIAL_FLUSH=1;var Z_FULL_FLUSH=3;var Z_FINISH=4;var Z_BLOCK=5;var Z_OK=0;var Z_STREAM_END=1;var Z_STREAM_ERROR=-2;var Z_DATA_ERROR=-3;var Z_BUF_ERROR=-5;var Z_DEFAULT_COMPRESSION=-1;var Z_FILTERED=1;var Z_HUFFMAN_ONLY=2;var Z_RLE=3;var Z_FIXED=4;var Z_DEFAULT_STRATEGY=0;var Z_UNKNOWN=2;var Z_DEFLATED=8;var MAX_MEM_LEVEL=9;var MAX_WBITS=15;var DEF_MEM_LEVEL=8;var LENGTH_CODES=29;var LITERALS=256;var L_CODES=LITERALS+1+LENGTH_CODES;var D_CODES=30;var BL_CODES=19;var HEAP_SIZE=2*L_CODES+1;var MAX_BITS=15;var MIN_MATCH=3;var MAX_MATCH=258;var MIN_LOOKAHEAD=MAX_MATCH+MIN_MATCH+1;var PRESET_DICT=32;var INIT_STATE=42;var EXTRA_STATE=69;var NAME_STATE=73;var COMMENT_STATE=91;var HCRC_STATE=103;var BUSY_STATE=113;var FINISH_STATE=666;var BS_NEED_MORE=1;var BS_BLOCK_DONE=2;var BS_FINISH_STARTED=3;var BS_FINISH_DONE=4;var OS_CODE=3;function err(strm,errorCode){strm.msg=msg[errorCode];return errorCode}function rank(f){return(f<<1)-(f>4?9:0)}function zero(buf){var len=buf.length;while(--len>=0){buf[len]=0}}function flush_pending(strm){var s=strm.state;var len=s.pending;if(len>strm.avail_out){len=strm.avail_out}if(len===0){return}utils.arraySet(strm.output,s.pending_buf,s.pending_out,len,strm.next_out);strm.next_out+=len;s.pending_out+=len;strm.total_out+=len;strm.avail_out-=len;s.pending-=len;if(s.pending===0){s.pending_out=0}}function flush_block_only(s,last){trees._tr_flush_block(s,s.block_start>=0?s.block_start:-1,s.strstart-s.block_start,last);s.block_start=s.strstart;flush_pending(s.strm)}function put_byte(s,b){s.pending_buf[s.pending++]=b}function putShortMSB(s,b){s.pending_buf[s.pending++]=b>>>8&255;s.pending_buf[s.pending++]=b&255}function read_buf(strm,buf,start,size){var len=strm.avail_in;if(len>size){len=size}if(len===0){return 0}strm.avail_in-=len;utils.arraySet(buf,strm.input,strm.next_in,len,start);if(strm.state.wrap===1){strm.adler=adler32(strm.adler,buf,len,start)}else if(strm.state.wrap===2){strm.adler=crc32(strm.adler,buf,len,start)}strm.next_in+=len;strm.total_in+=len;return len}function longest_match(s,cur_match){var chain_length=s.max_chain_length;var scan=s.strstart;var match;var len;var best_len=s.prev_length;var nice_match=s.nice_match;var limit=s.strstart>s.w_size-MIN_LOOKAHEAD?s.strstart-(s.w_size-MIN_LOOKAHEAD):0;var _win=s.window;var wmask=s.w_mask;var prev=s.prev;var strend=s.strstart+MAX_MATCH;var scan_end1=_win[scan+best_len-1];var scan_end=_win[scan+best_len];if(s.prev_length>=s.good_match){chain_length>>=2}if(nice_match>s.lookahead){nice_match=s.lookahead}do{match=cur_match;if(_win[match+best_len]!==scan_end||_win[match+best_len-1]!==scan_end1||_win[match]!==_win[scan]||_win[++match]!==_win[scan+1]){continue}scan+=2;match++;do{}while(_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&_win[++scan]===_win[++match]&&scan<strend);len=MAX_MATCH-(strend-scan);scan=strend-MAX_MATCH;if(len>best_len){s.match_start=cur_match;best_len=len;if(len>=nice_match){break}scan_end1=_win[scan+best_len-1];scan_end=_win[scan+best_len]}}while((cur_match=prev[cur_match&wmask])>limit&&--chain_length!==0);if(best_len<=s.lookahead){return best_len}return s.lookahead}function fill_window(s){var _w_size=s.w_size;var p,n,m,more,str;do{more=s.window_size-s.lookahead-s.strstart;if(s.strstart>=_w_size+(_w_size-MIN_LOOKAHEAD)){utils.arraySet(s.window,s.window,_w_size,_w_size,0);s.match_start-=_w_size;s.strstart-=_w_size;s.block_start-=_w_size;n=s.hash_size;p=n;do{m=s.head[--p];s.head[p]=m>=_w_size?m-_w_size:0}while(--n);n=_w_size;p=n;do{m=s.prev[--p];s.prev[p]=m>=_w_size?m-_w_size:0}while(--n);more+=_w_size}if(s.strm.avail_in===0){break}n=read_buf(s.strm,s.window,s.strstart+s.lookahead,more);s.lookahead+=n;if(s.lookahead+s.insert>=MIN_MATCH){str=s.strstart-s.insert;s.ins_h=s.window[str];s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+1])&s.hash_mask;while(s.insert){s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+MIN_MATCH-1])&s.hash_mask;s.prev[str&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=str;str++;s.insert--;if(s.lookahead+s.insert<MIN_MATCH){break}}}}while(s.lookahead<MIN_LOOKAHEAD&&s.strm.avail_in!==0)}function deflate_stored(s,flush){var max_block_size=65535;if(max_block_size>s.pending_buf_size-5){max_block_size=s.pending_buf_size-5}for(;;){if(s.lookahead<=1){fill_window(s);if(s.lookahead===0&&flush===Z_NO_FLUSH){return BS_NEED_MORE}if(s.lookahead===0){break}}s.strstart+=s.lookahead;s.lookahead=0;var max_start=s.block_start+max_block_size;if(s.strstart===0||s.strstart>=max_start){s.lookahead=s.strstart-max_start;s.strstart=max_start;flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}if(s.strstart-s.block_start>=s.w_size-MIN_LOOKAHEAD){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}}s.insert=0;if(flush===Z_FINISH){flush_block_only(s,true);if(s.strm.avail_out===0){return BS_FINISH_STARTED}return BS_FINISH_DONE}if(s.strstart>s.block_start){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}return BS_NEED_MORE}function deflate_fast(s,flush){var hash_head;var bflush;for(;;){if(s.lookahead<MIN_LOOKAHEAD){fill_window(s);if(s.lookahead<MIN_LOOKAHEAD&&flush===Z_NO_FLUSH){return BS_NEED_MORE}if(s.lookahead===0){break}}hash_head=0;if(s.lookahead>=MIN_MATCH){s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+MIN_MATCH-1])&s.hash_mask;hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=s.strstart}if(hash_head!==0&&s.strstart-hash_head<=s.w_size-MIN_LOOKAHEAD){s.match_length=longest_match(s,hash_head)}if(s.match_length>=MIN_MATCH){bflush=trees._tr_tally(s,s.strstart-s.match_start,s.match_length-MIN_MATCH);s.lookahead-=s.match_length;if(s.match_length<=s.max_lazy_match&&s.lookahead>=MIN_MATCH){s.match_length--;do{s.strstart++;s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+MIN_MATCH-1])&s.hash_mask;hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=s.strstart}while(--s.match_length!==0);s.strstart++}else{s.strstart+=s.match_length;s.match_length=0;s.ins_h=s.window[s.strstart];s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+1])&s.hash_mask}}else{bflush=trees._tr_tally(s,0,s.window[s.strstart]);s.lookahead--;s.strstart++}if(bflush){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}}s.insert=s.strstart<MIN_MATCH-1?s.strstart:MIN_MATCH-1;if(flush===Z_FINISH){flush_block_only(s,true);if(s.strm.avail_out===0){return BS_FINISH_STARTED}return BS_FINISH_DONE}if(s.last_lit){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}return BS_BLOCK_DONE}function deflate_slow(s,flush){var hash_head;var bflush;var max_insert;for(;;){if(s.lookahead<MIN_LOOKAHEAD){fill_window(s);if(s.lookahead<MIN_LOOKAHEAD&&flush===Z_NO_FLUSH){return BS_NEED_MORE}if(s.lookahead===0){break}}hash_head=0;if(s.lookahead>=MIN_MATCH){s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+MIN_MATCH-1])&s.hash_mask;hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=s.strstart}s.prev_length=s.match_length;s.prev_match=s.match_start;s.match_length=MIN_MATCH-1;if(hash_head!==0&&s.prev_length<s.max_lazy_match&&s.strstart-hash_head<=s.w_size-MIN_LOOKAHEAD){s.match_length=longest_match(s,hash_head);if(s.match_length<=5&&(s.strategy===Z_FILTERED||s.match_length===MIN_MATCH&&s.strstart-s.match_start>4096)){s.match_length=MIN_MATCH-1}}if(s.prev_length>=MIN_MATCH&&s.match_length<=s.prev_length){max_insert=s.strstart+s.lookahead-MIN_MATCH;bflush=trees._tr_tally(s,s.strstart-1-s.prev_match,s.prev_length-MIN_MATCH);s.lookahead-=s.prev_length-1;s.prev_length-=2;do{if(++s.strstart<=max_insert){s.ins_h=(s.ins_h<<s.hash_shift^s.window[s.strstart+MIN_MATCH-1])&s.hash_mask;hash_head=s.prev[s.strstart&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=s.strstart}}while(--s.prev_length!==0);s.match_available=0;s.match_length=MIN_MATCH-1;s.strstart++;if(bflush){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}}else if(s.match_available){bflush=trees._tr_tally(s,0,s.window[s.strstart-1]);if(bflush){flush_block_only(s,false)}s.strstart++;s.lookahead--;if(s.strm.avail_out===0){return BS_NEED_MORE}}else{s.match_available=1;s.strstart++;s.lookahead--}}if(s.match_available){bflush=trees._tr_tally(s,0,s.window[s.strstart-1]);s.match_available=0}s.insert=s.strstart<MIN_MATCH-1?s.strstart:MIN_MATCH-1;if(flush===Z_FINISH){flush_block_only(s,true);if(s.strm.avail_out===0){return BS_FINISH_STARTED}return BS_FINISH_DONE}if(s.last_lit){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}return BS_BLOCK_DONE}function deflate_rle(s,flush){var bflush;var prev;var scan,strend;var _win=s.window;for(;;){if(s.lookahead<=MAX_MATCH){fill_window(s);if(s.lookahead<=MAX_MATCH&&flush===Z_NO_FLUSH){return BS_NEED_MORE}if(s.lookahead===0){break}}s.match_length=0;if(s.lookahead>=MIN_MATCH&&s.strstart>0){scan=s.strstart-1;prev=_win[scan];if(prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]){strend=s.strstart+MAX_MATCH;do{}while(prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&prev===_win[++scan]&&scan<strend);s.match_length=MAX_MATCH-(strend-scan);if(s.match_length>s.lookahead){s.match_length=s.lookahead}}}if(s.match_length>=MIN_MATCH){bflush=trees._tr_tally(s,1,s.match_length-MIN_MATCH);s.lookahead-=s.match_length;s.strstart+=s.match_length;s.match_length=0}else{bflush=trees._tr_tally(s,0,s.window[s.strstart]);s.lookahead--;s.strstart++}if(bflush){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}}s.insert=0;if(flush===Z_FINISH){flush_block_only(s,true);if(s.strm.avail_out===0){return BS_FINISH_STARTED}return BS_FINISH_DONE}if(s.last_lit){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}return BS_BLOCK_DONE}function deflate_huff(s,flush){var bflush;for(;;){if(s.lookahead===0){fill_window(s);if(s.lookahead===0){if(flush===Z_NO_FLUSH){return BS_NEED_MORE}break}}s.match_length=0;bflush=trees._tr_tally(s,0,s.window[s.strstart]);s.lookahead--;s.strstart++;if(bflush){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}}s.insert=0;if(flush===Z_FINISH){flush_block_only(s,true);if(s.strm.avail_out===0){return BS_FINISH_STARTED}return BS_FINISH_DONE}if(s.last_lit){flush_block_only(s,false);if(s.strm.avail_out===0){return BS_NEED_MORE}}return BS_BLOCK_DONE}function Config(good_length,max_lazy,nice_length,max_chain,func){this.good_length=good_length;this.max_lazy=max_lazy;this.nice_length=nice_length;this.max_chain=max_chain;this.func=func}var configuration_table;configuration_table=[new Config(0,0,0,0,deflate_stored),new Config(4,4,8,4,deflate_fast),new Config(4,5,16,8,deflate_fast),new Config(4,6,32,32,deflate_fast),new Config(4,4,16,16,deflate_slow),new Config(8,16,32,32,deflate_slow),new Config(8,16,128,128,deflate_slow),new Config(8,32,128,256,deflate_slow),new Config(32,128,258,1024,deflate_slow),new Config(32,258,258,4096,deflate_slow)];function lm_init(s){s.window_size=2*s.w_size;zero(s.head);s.max_lazy_match=configuration_table[s.level].max_lazy;s.good_match=configuration_table[s.level].good_length;s.nice_match=configuration_table[s.level].nice_length;s.max_chain_length=configuration_table[s.level].max_chain;s.strstart=0;s.block_start=0;s.lookahead=0;s.insert=0;s.match_length=s.prev_length=MIN_MATCH-1;s.match_available=0;s.ins_h=0}function DeflateState(){this.strm=null;this.status=0;this.pending_buf=null;this.pending_buf_size=0;this.pending_out=0;this.pending=0;this.wrap=0;this.gzhead=null;this.gzindex=0;this.method=Z_DEFLATED;this.last_flush=-1;this.w_size=0;this.w_bits=0;this.w_mask=0;this.window=null;this.window_size=0;this.prev=null;this.head=null;this.ins_h=0;this.hash_size=0;this.hash_bits=0;this.hash_mask=0;this.hash_shift=0;this.block_start=0;this.match_length=0;this.prev_match=0;this.match_available=0;this.strstart=0;this.match_start=0;this.lookahead=0;this.prev_length=0;this.max_chain_length=0;this.max_lazy_match=0;this.level=0;this.strategy=0;this.good_match=0;this.nice_match=0;this.dyn_ltree=new utils.Buf16(HEAP_SIZE*2);this.dyn_dtree=new utils.Buf16((2*D_CODES+1)*2);this.bl_tree=new utils.Buf16((2*BL_CODES+1)*2);zero(this.dyn_ltree);zero(this.dyn_dtree);zero(this.bl_tree);this.l_desc=null;this.d_desc=null;this.bl_desc=null;this.bl_count=new utils.Buf16(MAX_BITS+1);this.heap=new utils.Buf16(2*L_CODES+1);zero(this.heap);this.heap_len=0;this.heap_max=0;this.depth=new utils.Buf16(2*L_CODES+1);zero(this.depth);this.l_buf=0;this.lit_bufsize=0;this.last_lit=0;this.d_buf=0;this.opt_len=0;this.static_len=0;this.matches=0;this.insert=0;this.bi_buf=0;this.bi_valid=0}function deflateResetKeep(strm){var s;if(!strm||!strm.state){return err(strm,Z_STREAM_ERROR)}strm.total_in=strm.total_out=0;strm.data_type=Z_UNKNOWN;s=strm.state;s.pending=0;s.pending_out=0;if(s.wrap<0){s.wrap=-s.wrap}s.status=s.wrap?INIT_STATE:BUSY_STATE;strm.adler=s.wrap===2?0:1;s.last_flush=Z_NO_FLUSH;trees._tr_init(s);return Z_OK}function deflateReset(strm){var ret=deflateResetKeep(strm);if(ret===Z_OK){lm_init(strm.state)}return ret}function deflateSetHeader(strm,head){if(!strm||!strm.state){return Z_STREAM_ERROR}if(strm.state.wrap!==2){return Z_STREAM_ERROR}strm.state.gzhead=head;return Z_OK}function deflateInit2(strm,level,method,windowBits,memLevel,strategy){if(!strm){return Z_STREAM_ERROR}var wrap=1;if(level===Z_DEFAULT_COMPRESSION){level=6}if(windowBits<0){wrap=0;windowBits=-windowBits}else if(windowBits>15){wrap=2;windowBits-=16}if(memLevel<1||memLevel>MAX_MEM_LEVEL||method!==Z_DEFLATED||windowBits<8||windowBits>15||level<0||level>9||strategy<0||strategy>Z_FIXED){return err(strm,Z_STREAM_ERROR)}if(windowBits===8){windowBits=9}var s=new DeflateState;strm.state=s;s.strm=strm;s.wrap=wrap;s.gzhead=null;s.w_bits=windowBits;s.w_size=1<<s.w_bits;s.w_mask=s.w_size-1;s.hash_bits=memLevel+7;s.hash_size=1<<s.hash_bits;s.hash_mask=s.hash_size-1;s.hash_shift=~~((s.hash_bits+MIN_MATCH-1)/MIN_MATCH);s.window=new utils.Buf8(s.w_size*2);s.head=new utils.Buf16(s.hash_size);s.prev=new utils.Buf16(s.w_size);s.lit_bufsize=1<<memLevel+6;s.pending_buf_size=s.lit_bufsize*4;s.pending_buf=new utils.Buf8(s.pending_buf_size);s.d_buf=1*s.lit_bufsize;s.l_buf=(1+2)*s.lit_bufsize;s.level=level;s.strategy=strategy;s.method=method;return deflateReset(strm)}function deflateInit(strm,level){return deflateInit2(strm,level,Z_DEFLATED,MAX_WBITS,DEF_MEM_LEVEL,Z_DEFAULT_STRATEGY)}function deflate(strm,flush){var old_flush,s;var beg,val;if(!strm||!strm.state||flush>Z_BLOCK||flush<0){return strm?err(strm,Z_STREAM_ERROR):Z_STREAM_ERROR}s=strm.state;if(!strm.output||!strm.input&&strm.avail_in!==0||s.status===FINISH_STATE&&flush!==Z_FINISH){return err(strm,strm.avail_out===0?Z_BUF_ERROR:Z_STREAM_ERROR)}s.strm=strm;old_flush=s.last_flush;s.last_flush=flush;if(s.status===INIT_STATE){if(s.wrap===2){strm.adler=0;put_byte(s,31);put_byte(s,139);put_byte(s,8);if(!s.gzhead){put_byte(s,0);put_byte(s,0);put_byte(s,0);put_byte(s,0);put_byte(s,0);put_byte(s,s.level===9?2:s.strategy>=Z_HUFFMAN_ONLY||s.level<2?4:0);put_byte(s,OS_CODE);s.status=BUSY_STATE}else{put_byte(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(!s.gzhead.extra?0:4)+(!s.gzhead.name?0:8)+(!s.gzhead.comment?0:16));put_byte(s,s.gzhead.time&255);put_byte(s,s.gzhead.time>>8&255);put_byte(s,s.gzhead.time>>16&255);put_byte(s,s.gzhead.time>>24&255);put_byte(s,s.level===9?2:s.strategy>=Z_HUFFMAN_ONLY||s.level<2?4:0);put_byte(s,s.gzhead.os&255);if(s.gzhead.extra&&s.gzhead.extra.length){put_byte(s,s.gzhead.extra.length&255);put_byte(s,s.gzhead.extra.length>>8&255)}if(s.gzhead.hcrc){strm.adler=crc32(strm.adler,s.pending_buf,s.pending,0)}s.gzindex=0;s.status=EXTRA_STATE}}else{var header=Z_DEFLATED+(s.w_bits-8<<4)<<8;var level_flags=-1;if(s.strategy>=Z_HUFFMAN_ONLY||s.level<2){level_flags=0}else if(s.level<6){level_flags=1}else if(s.level===6){level_flags=2}else{level_flags=3}header|=level_flags<<6;if(s.strstart!==0){header|=PRESET_DICT}header+=31-header%31;s.status=BUSY_STATE;putShortMSB(s,header);if(s.strstart!==0){putShortMSB(s,strm.adler>>>16);putShortMSB(s,strm.adler&65535)}strm.adler=1}}if(s.status===EXTRA_STATE){if(s.gzhead.extra){beg=s.pending;while(s.gzindex<(s.gzhead.extra.length&65535)){if(s.pending===s.pending_buf_size){if(s.gzhead.hcrc&&s.pending>beg){strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)}flush_pending(strm);beg=s.pending;if(s.pending===s.pending_buf_size){break}}put_byte(s,s.gzhead.extra[s.gzindex]&255);s.gzindex++}if(s.gzhead.hcrc&&s.pending>beg){strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)}if(s.gzindex===s.gzhead.extra.length){s.gzindex=0;s.status=NAME_STATE}}else{s.status=NAME_STATE}}if(s.status===NAME_STATE){if(s.gzhead.name){beg=s.pending;do{if(s.pending===s.pending_buf_size){if(s.gzhead.hcrc&&s.pending>beg){strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)}flush_pending(strm);beg=s.pending;if(s.pending===s.pending_buf_size){val=1;break}}if(s.gzindex<s.gzhead.name.length){val=s.gzhead.name.charCodeAt(s.gzindex++)&255}else{val=0}put_byte(s,val)}while(val!==0);if(s.gzhead.hcrc&&s.pending>beg){strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)}if(val===0){s.gzindex=0;s.status=COMMENT_STATE}}else{s.status=COMMENT_STATE}}if(s.status===COMMENT_STATE){if(s.gzhead.comment){beg=s.pending;do{if(s.pending===s.pending_buf_size){if(s.gzhead.hcrc&&s.pending>beg){strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)}flush_pending(strm);beg=s.pending;if(s.pending===s.pending_buf_size){val=1;break}}if(s.gzindex<s.gzhead.comment.length){val=s.gzhead.comment.charCodeAt(s.gzindex++)&255}else{val=0}put_byte(s,val)}while(val!==0);if(s.gzhead.hcrc&&s.pending>beg){strm.adler=crc32(strm.adler,s.pending_buf,s.pending-beg,beg)}if(val===0){s.status=HCRC_STATE}}else{s.status=HCRC_STATE}}if(s.status===HCRC_STATE){if(s.gzhead.hcrc){if(s.pending+2>s.pending_buf_size){flush_pending(strm)}if(s.pending+2<=s.pending_buf_size){put_byte(s,strm.adler&255);put_byte(s,strm.adler>>8&255);strm.adler=0;s.status=BUSY_STATE}}else{s.status=BUSY_STATE}}if(s.pending!==0){flush_pending(strm);if(strm.avail_out===0){s.last_flush=-1;return Z_OK}}else if(strm.avail_in===0&&rank(flush)<=rank(old_flush)&&flush!==Z_FINISH){return err(strm,Z_BUF_ERROR)}if(s.status===FINISH_STATE&&strm.avail_in!==0){return err(strm,Z_BUF_ERROR)}if(strm.avail_in!==0||s.lookahead!==0||flush!==Z_NO_FLUSH&&s.status!==FINISH_STATE){var bstate=s.strategy===Z_HUFFMAN_ONLY?deflate_huff(s,flush):s.strategy===Z_RLE?deflate_rle(s,flush):configuration_table[s.level].func(s,flush);if(bstate===BS_FINISH_STARTED||bstate===BS_FINISH_DONE){s.status=FINISH_STATE}if(bstate===BS_NEED_MORE||bstate===BS_FINISH_STARTED){if(strm.avail_out===0){s.last_flush=-1}return Z_OK}if(bstate===BS_BLOCK_DONE){if(flush===Z_PARTIAL_FLUSH){trees._tr_align(s)}else if(flush!==Z_BLOCK){trees._tr_stored_block(s,0,0,false);if(flush===Z_FULL_FLUSH){zero(s.head);if(s.lookahead===0){s.strstart=0;s.block_start=0;s.insert=0}}}flush_pending(strm);if(strm.avail_out===0){s.last_flush=-1;return Z_OK}}}if(flush!==Z_FINISH){return Z_OK}if(s.wrap<=0){return Z_STREAM_END}if(s.wrap===2){put_byte(s,strm.adler&255);put_byte(s,strm.adler>>8&255);put_byte(s,strm.adler>>16&255);put_byte(s,strm.adler>>24&255);put_byte(s,strm.total_in&255);put_byte(s,strm.total_in>>8&255);put_byte(s,strm.total_in>>16&255);put_byte(s,strm.total_in>>24&255)}else{putShortMSB(s,strm.adler>>>16);putShortMSB(s,strm.adler&65535)}flush_pending(strm);if(s.wrap>0){s.wrap=-s.wrap}return s.pending!==0?Z_OK:Z_STREAM_END}function deflateEnd(strm){var status;if(!strm||!strm.state){return Z_STREAM_ERROR}status=strm.state.status;if(status!==INIT_STATE&&status!==EXTRA_STATE&&status!==NAME_STATE&&status!==COMMENT_STATE&&status!==HCRC_STATE&&status!==BUSY_STATE&&status!==FINISH_STATE){return err(strm,Z_STREAM_ERROR)}strm.state=null;return status===BUSY_STATE?err(strm,Z_DATA_ERROR):Z_OK}function deflateSetDictionary(strm,dictionary){var dictLength=dictionary.length;var s;var str,n;var wrap;var avail;var next;var input;var tmpDict;if(!strm||!strm.state){return Z_STREAM_ERROR}s=strm.state;wrap=s.wrap;if(wrap===2||wrap===1&&s.status!==INIT_STATE||s.lookahead){return Z_STREAM_ERROR}if(wrap===1){strm.adler=adler32(strm.adler,dictionary,dictLength,0)}s.wrap=0;if(dictLength>=s.w_size){if(wrap===0){zero(s.head);s.strstart=0;s.block_start=0;s.insert=0}tmpDict=new utils.Buf8(s.w_size);utils.arraySet(tmpDict,dictionary,dictLength-s.w_size,s.w_size,0);dictionary=tmpDict;dictLength=s.w_size}avail=strm.avail_in;next=strm.next_in;input=strm.input;strm.avail_in=dictLength;strm.next_in=0;strm.input=dictionary;fill_window(s);while(s.lookahead>=MIN_MATCH){str=s.strstart;n=s.lookahead-(MIN_MATCH-1);do{s.ins_h=(s.ins_h<<s.hash_shift^s.window[str+MIN_MATCH-1])&s.hash_mask;s.prev[str&s.w_mask]=s.head[s.ins_h];s.head[s.ins_h]=str;str++}while(--n);s.strstart=str;s.lookahead=MIN_MATCH-1;fill_window(s)}s.strstart+=s.lookahead;s.block_start=s.strstart;s.insert=s.lookahead;s.lookahead=0;s.match_length=s.prev_length=MIN_MATCH-1;s.match_available=0;strm.next_in=next;strm.input=input;strm.avail_in=avail;s.wrap=wrap;return Z_OK}exports.deflateInit=deflateInit;exports.deflateInit2=deflateInit2;exports.deflateReset=deflateReset;exports.deflateResetKeep=deflateResetKeep;exports.deflateSetHeader=deflateSetHeader;exports.deflate=deflate;exports.deflateEnd=deflateEnd;exports.deflateSetDictionary=deflateSetDictionary;exports.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":806,"./adler32":807,"./crc32":809,"./messages":814,"./trees":815}],811:[function(require,module,exports){"use strict";var BAD=30;var TYPE=12;module.exports=function inflate_fast(strm,start){var state;var _in;var last;var _out;var beg;var end;var dmax;var wsize;var whave;var wnext;var s_window;var hold;var bits;var lcode;var dcode;var lmask;var dmask;var here;var op;var len;var dist;var from;var from_source;var input,output;state=strm.state;_in=strm.next_in;input=strm.input;last=_in+(strm.avail_in-5);_out=strm.next_out;output=strm.output;beg=_out-(start-strm.avail_out);end=_out+(strm.avail_out-257);dmax=state.dmax;wsize=state.wsize;whave=state.whave;wnext=state.wnext;s_window=state.window;hold=state.hold;bits=state.bits;lcode=state.lencode;dcode=state.distcode;lmask=(1<<state.lenbits)-1;dmask=(1<<state.distbits)-1;top:do{if(bits<15){hold+=input[_in++]<<bits;bits+=8;hold+=input[_in++]<<bits;bits+=8}here=lcode[hold&lmask];dolen:for(;;){op=here>>>24;hold>>>=op;bits-=op;op=here>>>16&255;if(op===0){output[_out++]=here&65535}else if(op&16){len=here&65535;op&=15;if(op){if(bits<op){hold+=input[_in++]<<bits;bits+=8}len+=hold&(1<<op)-1;hold>>>=op;bits-=op}if(bits<15){hold+=input[_in++]<<bits;bits+=8;hold+=input[_in++]<<bits;bits+=8}here=dcode[hold&dmask];dodist:for(;;){op=here>>>24;hold>>>=op;bits-=op;op=here>>>16&255;if(op&16){dist=here&65535;op&=15;if(bits<op){hold+=input[_in++]<<bits;bits+=8;if(bits<op){hold+=input[_in++]<<bits;bits+=8}}dist+=hold&(1<<op)-1;if(dist>dmax){strm.msg="invalid distance too far back";state.mode=BAD;break top}hold>>>=op;bits-=op;op=_out-beg;if(dist>op){op=dist-op;if(op>whave){if(state.sane){strm.msg="invalid distance too far back";state.mode=BAD;break top}}from=0;from_source=s_window;if(wnext===0){from+=wsize-op;if(op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist;from_source=output}}else if(wnext<op){from+=wsize+wnext-op;op-=wnext;if(op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=0;if(wnext<len){op=wnext;len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist;from_source=output}}}else{from+=wnext-op;if(op<len){len-=op;do{output[_out++]=s_window[from++]}while(--op);from=_out-dist;from_source=output}}while(len>2){output[_out++]=from_source[from++];output[_out++]=from_source[from++];output[_out++]=from_source[from++];len-=3}if(len){output[_out++]=from_source[from++];if(len>1){output[_out++]=from_source[from++]}}}else{from=_out-dist;do{output[_out++]=output[from++];output[_out++]=output[from++];output[_out++]=output[from++];len-=3}while(len>2);if(len){output[_out++]=output[from++];if(len>1){output[_out++]=output[from++]}}}}else if((op&64)===0){here=dcode[(here&65535)+(hold&(1<<op)-1)];continue dodist}else{strm.msg="invalid distance code";state.mode=BAD;break top}break}}else if((op&64)===0){here=lcode[(here&65535)+(hold&(1<<op)-1)];continue dolen}else if(op&32){state.mode=TYPE;break top}else{strm.msg="invalid literal/length code";state.mode=BAD;break top}break}}while(_in<last&&_out<end);len=bits>>3;_in-=len;bits-=len<<3;hold&=(1<<bits)-1;strm.next_in=_in;strm.next_out=_out;strm.avail_in=_in<last?5+(last-_in):5-(_in-last);strm.avail_out=_out<end?257+(end-_out):257-(_out-end);state.hold=hold;state.bits=bits;return}},{}],812:[function(require,module,exports){"use strict";var utils=require("../utils/common");var adler32=require("./adler32");var crc32=require("./crc32");var inflate_fast=require("./inffast");var inflate_table=require("./inftrees");var CODES=0;var LENS=1;var DISTS=2;var Z_FINISH=4;var Z_BLOCK=5;var Z_TREES=6;var Z_OK=0;var Z_STREAM_END=1;var Z_NEED_DICT=2;var Z_STREAM_ERROR=-2;var Z_DATA_ERROR=-3;var Z_MEM_ERROR=-4;var Z_BUF_ERROR=-5;var Z_DEFLATED=8;var HEAD=1;var FLAGS=2;var TIME=3;var OS=4;var EXLEN=5;var EXTRA=6;var NAME=7;var COMMENT=8;var HCRC=9;var DICTID=10;var DICT=11;var TYPE=12;var TYPEDO=13;var STORED=14;var COPY_=15;var COPY=16;var TABLE=17;var LENLENS=18;var CODELENS=19;var LEN_=20;var LEN=21;var LENEXT=22;var DIST=23;var DISTEXT=24;var MATCH=25;var LIT=26;var CHECK=27;var LENGTH=28;var DONE=29;var BAD=30;var MEM=31;var SYNC=32;var ENOUGH_LENS=852;var ENOUGH_DISTS=592;var MAX_WBITS=15;var DEF_WBITS=MAX_WBITS;function zswap32(q){return(q>>>24&255)+(q>>>8&65280)+((q&65280)<<8)+((q&255)<<24)}function InflateState(){this.mode=0;this.last=false;this.wrap=0;this.havedict=false;this.flags=0;this.dmax=0;this.check=0;this.total=0;this.head=null;this.wbits=0;this.wsize=0;this.whave=0;this.wnext=0;this.window=null;this.hold=0;this.bits=0;this.length=0;this.offset=0;this.extra=0;this.lencode=null;this.distcode=null;this.lenbits=0;this.distbits=0;this.ncode=0;this.nlen=0;this.ndist=0;this.have=0;this.next=null;this.lens=new utils.Buf16(320);this.work=new utils.Buf16(288);this.lendyn=null;this.distdyn=null;this.sane=0;this.back=0;this.was=0}function inflateResetKeep(strm){var state;if(!strm||!strm.state){return Z_STREAM_ERROR}state=strm.state;strm.total_in=strm.total_out=state.total=0;strm.msg="";if(state.wrap){strm.adler=state.wrap&1}state.mode=HEAD;state.last=0;state.havedict=0;state.dmax=32768;state.head=null;state.hold=0;state.bits=0;state.lencode=state.lendyn=new utils.Buf32(ENOUGH_LENS);state.distcode=state.distdyn=new utils.Buf32(ENOUGH_DISTS);state.sane=1;state.back=-1;return Z_OK}function inflateReset(strm){var state;if(!strm||!strm.state){return Z_STREAM_ERROR}state=strm.state;state.wsize=0;state.whave=0;state.wnext=0;return inflateResetKeep(strm)}function inflateReset2(strm,windowBits){var wrap;var state;if(!strm||!strm.state){return Z_STREAM_ERROR}state=strm.state;if(windowBits<0){wrap=0;windowBits=-windowBits}else{wrap=(windowBits>>4)+1;if(windowBits<48){windowBits&=15}}if(windowBits&&(windowBits<8||windowBits>15)){return Z_STREAM_ERROR}if(state.window!==null&&state.wbits!==windowBits){state.window=null}state.wrap=wrap;state.wbits=windowBits;return inflateReset(strm)}function inflateInit2(strm,windowBits){var ret;var state;if(!strm){return Z_STREAM_ERROR}state=new InflateState;strm.state=state;state.window=null;ret=inflateReset2(strm,windowBits);if(ret!==Z_OK){strm.state=null}return ret}function inflateInit(strm){return inflateInit2(strm,DEF_WBITS)}var virgin=true;var lenfix,distfix;function fixedtables(state){if(virgin){var sym;lenfix=new utils.Buf32(512);distfix=new utils.Buf32(32);sym=0;while(sym<144){state.lens[sym++]=8}while(sym<256){state.lens[sym++]=9}while(sym<280){state.lens[sym++]=7}while(sym<288){state.lens[sym++]=8}inflate_table(LENS,state.lens,0,288,lenfix,0,state.work,{bits:9});sym=0;while(sym<32){state.lens[sym++]=5}inflate_table(DISTS,state.lens,0,32,distfix,0,state.work,{bits:5});virgin=false}state.lencode=lenfix;state.lenbits=9;state.distcode=distfix;state.distbits=5}function updatewindow(strm,src,end,copy){var dist;var state=strm.state;if(state.window===null){state.wsize=1<<state.wbits;state.wnext=0;state.whave=0;state.window=new utils.Buf8(state.wsize)}if(copy>=state.wsize){utils.arraySet(state.window,src,end-state.wsize,state.wsize,0);state.wnext=0;state.whave=state.wsize}else{dist=state.wsize-state.wnext;if(dist>copy){dist=copy}utils.arraySet(state.window,src,end-copy,dist,state.wnext);copy-=dist;if(copy){utils.arraySet(state.window,src,end-copy,copy,0);state.wnext=copy;state.whave=state.wsize}else{state.wnext+=dist;if(state.wnext===state.wsize){state.wnext=0}if(state.whave<state.wsize){state.whave+=dist}}}return 0}function inflate(strm,flush){var state;var input,output;var next;var put;var have,left;var hold;var bits;var _in,_out;var copy;var from;var from_source;var here=0;var here_bits,here_op,here_val;var last_bits,last_op,last_val;var len;var ret;var hbuf=new utils.Buf8(4);var opts;var n;var order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!strm||!strm.state||!strm.output||!strm.input&&strm.avail_in!==0){return Z_STREAM_ERROR}state=strm.state;if(state.mode===TYPE){state.mode=TYPEDO}put=strm.next_out;output=strm.output;left=strm.avail_out;next=strm.next_in;input=strm.input;have=strm.avail_in;hold=state.hold;bits=state.bits;_in=have;_out=left;ret=Z_OK;inf_leave:for(;;){switch(state.mode){case HEAD:if(state.wrap===0){state.mode=TYPEDO;break}while(bits<16){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}if(state.wrap&2&&hold===35615){state.check=0;hbuf[0]=hold&255;hbuf[1]=hold>>>8&255;state.check=crc32(state.check,hbuf,2,0);hold=0;bits=0;state.mode=FLAGS;break}state.flags=0;if(state.head){state.head.done=false}if(!(state.wrap&1)||(((hold&255)<<8)+(hold>>8))%31){strm.msg="incorrect header check";state.mode=BAD;break}if((hold&15)!==Z_DEFLATED){strm.msg="unknown compression method";state.mode=BAD;break}hold>>>=4;bits-=4;len=(hold&15)+8;if(state.wbits===0){state.wbits=len}else if(len>state.wbits){strm.msg="invalid window size";state.mode=BAD;break}state.dmax=1<<len;strm.adler=state.check=1;state.mode=hold&512?DICTID:TYPE;hold=0;bits=0;break;case FLAGS:while(bits<16){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}state.flags=hold;if((state.flags&255)!==Z_DEFLATED){strm.msg="unknown compression method";state.mode=BAD;break}if(state.flags&57344){strm.msg="unknown header flags set";state.mode=BAD;break}if(state.head){state.head.text=hold>>8&1}if(state.flags&512){hbuf[0]=hold&255;hbuf[1]=hold>>>8&255;state.check=crc32(state.check,hbuf,2,0)}hold=0;bits=0;state.mode=TIME;case TIME:while(bits<32){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}if(state.head){state.head.time=hold}if(state.flags&512){hbuf[0]=hold&255;hbuf[1]=hold>>>8&255;hbuf[2]=hold>>>16&255;hbuf[3]=hold>>>24&255;state.check=crc32(state.check,hbuf,4,0)}hold=0;bits=0;state.mode=OS;case OS:while(bits<16){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}if(state.head){state.head.xflags=hold&255;state.head.os=hold>>8}if(state.flags&512){hbuf[0]=hold&255;hbuf[1]=hold>>>8&255;state.check=crc32(state.check,hbuf,2,0)}hold=0;bits=0;state.mode=EXLEN;case EXLEN:if(state.flags&1024){while(bits<16){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}state.length=hold;if(state.head){state.head.extra_len=hold}if(state.flags&512){hbuf[0]=hold&255;hbuf[1]=hold>>>8&255;state.check=crc32(state.check,hbuf,2,0)}hold=0;bits=0}else if(state.head){state.head.extra=null}state.mode=EXTRA;case EXTRA:if(state.flags&1024){copy=state.length;if(copy>have){copy=have}if(copy){if(state.head){len=state.head.extra_len-state.length;if(!state.head.extra){state.head.extra=new Array(state.head.extra_len)}utils.arraySet(state.head.extra,input,next,copy,len)}if(state.flags&512){state.check=crc32(state.check,input,copy,next)}have-=copy;next+=copy;state.length-=copy}if(state.length){break inf_leave}}state.length=0;state.mode=NAME;case NAME:if(state.flags&2048){if(have===0){break inf_leave}copy=0;do{len=input[next+copy++];if(state.head&&len&&state.length<65536){state.head.name+=String.fromCharCode(len)}}while(len&©<have);if(state.flags&512){state.check=crc32(state.check,input,copy,next)}have-=copy;next+=copy;if(len){break inf_leave}}else if(state.head){state.head.name=null}state.length=0;state.mode=COMMENT;case COMMENT:if(state.flags&4096){if(have===0){break inf_leave}copy=0;do{len=input[next+copy++];if(state.head&&len&&state.length<65536){state.head.comment+=String.fromCharCode(len)}}while(len&©<have);if(state.flags&512){state.check=crc32(state.check,input,copy,next)}have-=copy;next+=copy;if(len){break inf_leave}}else if(state.head){state.head.comment=null}state.mode=HCRC;case HCRC:if(state.flags&512){while(bits<16){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}if(hold!==(state.check&65535)){strm.msg="header crc mismatch";state.mode=BAD;break}hold=0;bits=0}if(state.head){state.head.hcrc=state.flags>>9&1;state.head.done=true}strm.adler=state.check=0;state.mode=TYPE;break;case DICTID:while(bits<32){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}strm.adler=state.check=zswap32(hold);hold=0;bits=0;state.mode=DICT;case DICT:if(state.havedict===0){strm.next_out=put;strm.avail_out=left;strm.next_in=next;strm.avail_in=have;state.hold=hold;state.bits=bits;return Z_NEED_DICT}strm.adler=state.check=1;state.mode=TYPE;case TYPE:if(flush===Z_BLOCK||flush===Z_TREES){break inf_leave}case TYPEDO:if(state.last){hold>>>=bits&7;bits-=bits&7;state.mode=CHECK;break}while(bits<3){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}state.last=hold&1;hold>>>=1;bits-=1;switch(hold&3){case 0:state.mode=STORED;break;case 1:fixedtables(state);state.mode=LEN_;if(flush===Z_TREES){hold>>>=2;bits-=2;break inf_leave}break;case 2:state.mode=TABLE;break;case 3:strm.msg="invalid block type";state.mode=BAD}hold>>>=2;bits-=2;break;case STORED:hold>>>=bits&7;bits-=bits&7;while(bits<32){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}if((hold&65535)!==(hold>>>16^65535)){strm.msg="invalid stored block lengths";state.mode=BAD;break}state.length=hold&65535;hold=0;bits=0;state.mode=COPY_;if(flush===Z_TREES){break inf_leave}case COPY_:state.mode=COPY;case COPY:copy=state.length;if(copy){if(copy>have){copy=have}if(copy>left){copy=left}if(copy===0){break inf_leave}utils.arraySet(output,input,next,copy,put);have-=copy;next+=copy;left-=copy;put+=copy;state.length-=copy;break}state.mode=TYPE;break;case TABLE:while(bits<14){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}state.nlen=(hold&31)+257;hold>>>=5;bits-=5;state.ndist=(hold&31)+1;hold>>>=5;bits-=5;state.ncode=(hold&15)+4;hold>>>=4;bits-=4;if(state.nlen>286||state.ndist>30){strm.msg="too many length or distance symbols";state.mode=BAD;break}state.have=0;state.mode=LENLENS;case LENLENS:while(state.have<state.ncode){while(bits<3){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}state.lens[order[state.have++]]=hold&7;hold>>>=3;bits-=3}while(state.have<19){state.lens[order[state.have++]]=0}state.lencode=state.lendyn;state.lenbits=7;opts={bits:state.lenbits};ret=inflate_table(CODES,state.lens,0,19,state.lencode,0,state.work,opts);state.lenbits=opts.bits;if(ret){strm.msg="invalid code lengths set";state.mode=BAD;break}state.have=0;state.mode=CODELENS;case CODELENS:while(state.have<state.nlen+state.ndist){for(;;){here=state.lencode[hold&(1<<state.lenbits)-1];here_bits=here>>>24;here_op=here>>>16&255;here_val=here&65535;if(here_bits<=bits){break}if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}if(here_val<16){hold>>>=here_bits;bits-=here_bits;state.lens[state.have++]=here_val}else{if(here_val===16){n=here_bits+2;while(bits<n){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}hold>>>=here_bits;bits-=here_bits;if(state.have===0){strm.msg="invalid bit length repeat";state.mode=BAD;break}len=state.lens[state.have-1];copy=3+(hold&3);hold>>>=2;bits-=2}else if(here_val===17){n=here_bits+3;while(bits<n){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}hold>>>=here_bits;bits-=here_bits;len=0;copy=3+(hold&7);hold>>>=3;bits-=3}else{n=here_bits+7;while(bits<n){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}hold>>>=here_bits;bits-=here_bits;len=0;copy=11+(hold&127);hold>>>=7;bits-=7}if(state.have+copy>state.nlen+state.ndist){strm.msg="invalid bit length repeat";state.mode=BAD;break}while(copy--){state.lens[state.have++]=len}}}if(state.mode===BAD){break}if(state.lens[256]===0){strm.msg="invalid code -- missing end-of-block";state.mode=BAD;break}state.lenbits=9;opts={bits:state.lenbits};ret=inflate_table(LENS,state.lens,0,state.nlen,state.lencode,0,state.work,opts);state.lenbits=opts.bits;if(ret){strm.msg="invalid literal/lengths set";state.mode=BAD;break}state.distbits=6;state.distcode=state.distdyn;opts={bits:state.distbits};ret=inflate_table(DISTS,state.lens,state.nlen,state.ndist,state.distcode,0,state.work,opts);state.distbits=opts.bits;if(ret){strm.msg="invalid distances set";state.mode=BAD;break}state.mode=LEN_;if(flush===Z_TREES){break inf_leave}case LEN_:state.mode=LEN;case LEN:if(have>=6&&left>=258){strm.next_out=put;strm.avail_out=left;strm.next_in=next;strm.avail_in=have;state.hold=hold;state.bits=bits;inflate_fast(strm,_out);put=strm.next_out;output=strm.output;left=strm.avail_out;next=strm.next_in;input=strm.input;have=strm.avail_in;hold=state.hold;bits=state.bits;if(state.mode===TYPE){state.back=-1}break}state.back=0;for(;;){here=state.lencode[hold&(1<<state.lenbits)-1];here_bits=here>>>24;here_op=here>>>16&255;here_val=here&65535;if(here_bits<=bits){break}if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}if(here_op&&(here_op&240)===0){last_bits=here_bits;last_op=here_op;last_val=here_val;for(;;){here=state.lencode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)];here_bits=here>>>24;here_op=here>>>16&255;here_val=here&65535;if(last_bits+here_bits<=bits){break}if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}hold>>>=last_bits;bits-=last_bits;state.back+=last_bits}hold>>>=here_bits;bits-=here_bits;state.back+=here_bits;state.length=here_val;if(here_op===0){state.mode=LIT;break}if(here_op&32){state.back=-1;state.mode=TYPE;break}if(here_op&64){strm.msg="invalid literal/length code";state.mode=BAD;break}state.extra=here_op&15;state.mode=LENEXT;case LENEXT:if(state.extra){n=state.extra;while(bits<n){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}state.length+=hold&(1<<state.extra)-1;hold>>>=state.extra;bits-=state.extra;state.back+=state.extra}state.was=state.length;state.mode=DIST;case DIST:for(;;){here=state.distcode[hold&(1<<state.distbits)-1];here_bits=here>>>24;here_op=here>>>16&255;here_val=here&65535;if(here_bits<=bits){break}if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}if((here_op&240)===0){last_bits=here_bits;last_op=here_op;last_val=here_val;for(;;){here=state.distcode[last_val+((hold&(1<<last_bits+last_op)-1)>>last_bits)];here_bits=here>>>24;here_op=here>>>16&255;here_val=here&65535;if(last_bits+here_bits<=bits){break}if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}hold>>>=last_bits;bits-=last_bits;state.back+=last_bits}hold>>>=here_bits;bits-=here_bits;state.back+=here_bits;if(here_op&64){strm.msg="invalid distance code";state.mode=BAD;break}state.offset=here_val;state.extra=here_op&15;state.mode=DISTEXT;case DISTEXT:if(state.extra){n=state.extra;while(bits<n){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}state.offset+=hold&(1<<state.extra)-1;hold>>>=state.extra;bits-=state.extra;state.back+=state.extra}if(state.offset>state.dmax){strm.msg="invalid distance too far back";state.mode=BAD;break}state.mode=MATCH;case MATCH:if(left===0){break inf_leave}copy=_out-left;if(state.offset>copy){copy=state.offset-copy;if(copy>state.whave){if(state.sane){strm.msg="invalid distance too far back";state.mode=BAD;break}}if(copy>state.wnext){copy-=state.wnext;from=state.wsize-copy}else{from=state.wnext-copy}if(copy>state.length){copy=state.length}from_source=state.window}else{from_source=output;from=put-state.offset;copy=state.length}if(copy>left){copy=left}left-=copy;state.length-=copy;do{output[put++]=from_source[from++]}while(--copy);if(state.length===0){state.mode=LEN}break;case LIT:if(left===0){break inf_leave}output[put++]=state.length;left--;state.mode=LEN;break;case CHECK:if(state.wrap){while(bits<32){if(have===0){break inf_leave}have--;hold|=input[next++]<<bits;bits+=8}_out-=left;strm.total_out+=_out;state.total+=_out;if(_out){strm.adler=state.check=state.flags?crc32(state.check,output,_out,put-_out):adler32(state.check,output,_out,put-_out)}_out=left;if((state.flags?hold:zswap32(hold))!==state.check){strm.msg="incorrect data check";state.mode=BAD;break}hold=0;bits=0}state.mode=LENGTH;case LENGTH:if(state.wrap&&state.flags){while(bits<32){if(have===0){break inf_leave}have--;hold+=input[next++]<<bits;bits+=8}if(hold!==(state.total&4294967295)){strm.msg="incorrect length check";state.mode=BAD;break}hold=0;bits=0}state.mode=DONE;case DONE:ret=Z_STREAM_END;break inf_leave;case BAD:ret=Z_DATA_ERROR;break inf_leave;case MEM:return Z_MEM_ERROR;case SYNC:default:return Z_STREAM_ERROR}}strm.next_out=put;strm.avail_out=left;strm.next_in=next;strm.avail_in=have;state.hold=hold;state.bits=bits;if(state.wsize||_out!==strm.avail_out&&state.mode<BAD&&(state.mode<CHECK||flush!==Z_FINISH)){if(updatewindow(strm,strm.output,strm.next_out,_out-strm.avail_out)){state.mode=MEM;return Z_MEM_ERROR}}_in-=strm.avail_in;_out-=strm.avail_out;strm.total_in+=_in;strm.total_out+=_out;state.total+=_out;if(state.wrap&&_out){strm.adler=state.check=state.flags?crc32(state.check,output,_out,strm.next_out-_out):adler32(state.check,output,_out,strm.next_out-_out)}strm.data_type=state.bits+(state.last?64:0)+(state.mode===TYPE?128:0)+(state.mode===LEN_||state.mode===COPY_?256:0);if((_in===0&&_out===0||flush===Z_FINISH)&&ret===Z_OK){ret=Z_BUF_ERROR}return ret}function inflateEnd(strm){if(!strm||!strm.state){return Z_STREAM_ERROR}var state=strm.state;if(state.window){state.window=null}strm.state=null;return Z_OK}function inflateGetHeader(strm,head){var state;if(!strm||!strm.state){return Z_STREAM_ERROR}state=strm.state;if((state.wrap&2)===0){return Z_STREAM_ERROR}state.head=head;head.done=false;return Z_OK}function inflateSetDictionary(strm,dictionary){var dictLength=dictionary.length;var state;var dictid;var ret;if(!strm||!strm.state){return Z_STREAM_ERROR}state=strm.state;if(state.wrap!==0&&state.mode!==DICT){return Z_STREAM_ERROR}if(state.mode===DICT){dictid=1;dictid=adler32(dictid,dictionary,dictLength,0);if(dictid!==state.check){return Z_DATA_ERROR}}ret=updatewindow(strm,dictionary,dictLength,dictLength);if(ret){state.mode=MEM;return Z_MEM_ERROR}state.havedict=1;return Z_OK}exports.inflateReset=inflateReset;exports.inflateReset2=inflateReset2;exports.inflateResetKeep=inflateResetKeep;exports.inflateInit=inflateInit;exports.inflateInit2=inflateInit2;exports.inflate=inflate;exports.inflateEnd=inflateEnd;exports.inflateGetHeader=inflateGetHeader;exports.inflateSetDictionary=inflateSetDictionary;exports.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":806,"./adler32":807,"./crc32":809,"./inffast":811,"./inftrees":813}],813:[function(require,module,exports){"use strict";var utils=require("../utils/common");var MAXBITS=15;var ENOUGH_LENS=852;var ENOUGH_DISTS=592;var CODES=0;var LENS=1;var DISTS=2;var lbase=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0];var lext=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78];var dbase=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0];var dext=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];module.exports=function inflate_table(type,lens,lens_index,codes,table,table_index,work,opts){var bits=opts.bits;var len=0;var sym=0;var min=0,max=0;var root=0;var curr=0;var drop=0;var left=0;var used=0;var huff=0;var incr;var fill;var low;var mask;var next;var base=null;var base_index=0;var end;var count=new utils.Buf16(MAXBITS+1);var offs=new utils.Buf16(MAXBITS+1);var extra=null;var extra_index=0;var here_bits,here_op,here_val;for(len=0;len<=MAXBITS;len++){count[len]=0}for(sym=0;sym<codes;sym++){count[lens[lens_index+sym]]++}root=bits;for(max=MAXBITS;max>=1;max--){if(count[max]!==0){break}}if(root>max){root=max}if(max===0){table[table_index++]=1<<24|64<<16|0;table[table_index++]=1<<24|64<<16|0;opts.bits=1;return 0}for(min=1;min<max;min++){if(count[min]!==0){break}}if(root<min){root=min}left=1;for(len=1;len<=MAXBITS;len++){left<<=1;left-=count[len];if(left<0){return-1}}if(left>0&&(type===CODES||max!==1)){return-1}offs[1]=0;for(len=1;len<MAXBITS;len++){offs[len+1]=offs[len]+count[len]}for(sym=0;sym<codes;sym++){if(lens[lens_index+sym]!==0){work[offs[lens[lens_index+sym]]++]=sym}}if(type===CODES){base=extra=work;end=19}else if(type===LENS){base=lbase;base_index-=257;extra=lext;extra_index-=257;end=256}else{base=dbase;extra=dext;end=-1}huff=0;sym=0;len=min;next=table_index;curr=root;drop=0;low=-1;used=1<<root;mask=used-1;if(type===LENS&&used>ENOUGH_LENS||type===DISTS&&used>ENOUGH_DISTS){return 1}for(;;){here_bits=len-drop;if(work[sym]<end){here_op=0;here_val=work[sym]}else if(work[sym]>end){here_op=extra[extra_index+work[sym]];here_val=base[base_index+work[sym]]}else{here_op=32+64;here_val=0}incr=1<<len-drop;fill=1<<curr;min=fill;do{fill-=incr;table[next+(huff>>drop)+fill]=here_bits<<24|here_op<<16|here_val|0}while(fill!==0);incr=1<<len-1;while(huff&incr){incr>>=1}if(incr!==0){huff&=incr-1;huff+=incr}else{huff=0}sym++;if(--count[len]===0){if(len===max){break}len=lens[lens_index+work[sym]]}if(len>root&&(huff&mask)!==low){if(drop===0){drop=root}next+=min;curr=len-drop;left=1<<curr;while(curr+drop<max){left-=count[curr+drop];if(left<=0){break}curr++;left<<=1}used+=1<<curr;if(type===LENS&&used>ENOUGH_LENS||type===DISTS&&used>ENOUGH_DISTS){return 1}low=huff&mask;table[low]=root<<24|curr<<16|next-table_index|0}}if(huff!==0){table[next+huff]=len-drop<<24|64<<16|0}opts.bits=root;return 0}},{"../utils/common":806}],814:[function(require,module,exports){"use strict";module.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],815:[function(require,module,exports){"use strict";var utils=require("../utils/common");var Z_FIXED=4;var Z_BINARY=0;var Z_TEXT=1;var Z_UNKNOWN=2;function zero(buf){var len=buf.length;while(--len>=0){buf[len]=0}}var STORED_BLOCK=0;var STATIC_TREES=1;var DYN_TREES=2;var MIN_MATCH=3;var MAX_MATCH=258;var LENGTH_CODES=29;var LITERALS=256;var L_CODES=LITERALS+1+LENGTH_CODES;var D_CODES=30;var BL_CODES=19;var HEAP_SIZE=2*L_CODES+1;var MAX_BITS=15;var Buf_size=16;var MAX_BL_BITS=7;var END_BLOCK=256;var REP_3_6=16;var REPZ_3_10=17;var REPZ_11_138=18;var extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0];var extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];var extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];var bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var DIST_CODE_LEN=512;var static_ltree=new Array((L_CODES+2)*2);zero(static_ltree);var static_dtree=new Array(D_CODES*2);zero(static_dtree);var _dist_code=new Array(DIST_CODE_LEN);zero(_dist_code);var _length_code=new Array(MAX_MATCH-MIN_MATCH+1);zero(_length_code);var base_length=new Array(LENGTH_CODES);zero(base_length);var base_dist=new Array(D_CODES);zero(base_dist);function StaticTreeDesc(static_tree,extra_bits,extra_base,elems,max_length){this.static_tree=static_tree;this.extra_bits=extra_bits;this.extra_base=extra_base;this.elems=elems;this.max_length=max_length;this.has_stree=static_tree&&static_tree.length}var static_l_desc;var static_d_desc;var static_bl_desc;function TreeDesc(dyn_tree,stat_desc){this.dyn_tree=dyn_tree;this.max_code=0;this.stat_desc=stat_desc}function d_code(dist){return dist<256?_dist_code[dist]:_dist_code[256+(dist>>>7)]}function put_short(s,w){s.pending_buf[s.pending++]=w&255;s.pending_buf[s.pending++]=w>>>8&255}function send_bits(s,value,length){if(s.bi_valid>Buf_size-length){s.bi_buf|=value<<s.bi_valid&65535;put_short(s,s.bi_buf);s.bi_buf=value>>Buf_size-s.bi_valid;s.bi_valid+=length-Buf_size}else{s.bi_buf|=value<<s.bi_valid&65535;s.bi_valid+=length}}function send_code(s,c,tree){send_bits(s,tree[c*2],tree[c*2+1])}function bi_reverse(code,len){var res=0;do{res|=code&1;code>>>=1;res<<=1}while(--len>0);return res>>>1}function bi_flush(s){if(s.bi_valid===16){put_short(s,s.bi_buf);s.bi_buf=0;s.bi_valid=0}else if(s.bi_valid>=8){s.pending_buf[s.pending++]=s.bi_buf&255;s.bi_buf>>=8;s.bi_valid-=8}}function gen_bitlen(s,desc){var tree=desc.dyn_tree;var max_code=desc.max_code;var stree=desc.stat_desc.static_tree;var has_stree=desc.stat_desc.has_stree;var extra=desc.stat_desc.extra_bits;var base=desc.stat_desc.extra_base;var max_length=desc.stat_desc.max_length;var h;var n,m;var bits;var xbits;var f;var overflow=0;for(bits=0;bits<=MAX_BITS;bits++){s.bl_count[bits]=0}tree[s.heap[s.heap_max]*2+1]=0;for(h=s.heap_max+1;h<HEAP_SIZE;h++){n=s.heap[h];bits=tree[tree[n*2+1]*2+1]+1;if(bits>max_length){bits=max_length;overflow++}tree[n*2+1]=bits;if(n>max_code){continue}s.bl_count[bits]++;xbits=0;if(n>=base){xbits=extra[n-base]}f=tree[n*2];s.opt_len+=f*(bits+xbits);if(has_stree){s.static_len+=f*(stree[n*2+1]+xbits)}}if(overflow===0){return}do{bits=max_length-1;while(s.bl_count[bits]===0){bits--}s.bl_count[bits]--;s.bl_count[bits+1]+=2;s.bl_count[max_length]--;overflow-=2}while(overflow>0);for(bits=max_length;bits!==0;bits--){n=s.bl_count[bits];while(n!==0){m=s.heap[--h];if(m>max_code){continue}if(tree[m*2+1]!==bits){s.opt_len+=(bits-tree[m*2+1])*tree[m*2];tree[m*2+1]=bits}n--}}}function gen_codes(tree,max_code,bl_count){var next_code=new Array(MAX_BITS+1);var code=0;var bits;var n;for(bits=1;bits<=MAX_BITS;bits++){next_code[bits]=code=code+bl_count[bits-1]<<1}for(n=0;n<=max_code;n++){var len=tree[n*2+1];if(len===0){continue}tree[n*2]=bi_reverse(next_code[len]++,len)}}function tr_static_init(){var n;var bits;var length;var code;var dist;var bl_count=new Array(MAX_BITS+1);length=0;for(code=0;code<LENGTH_CODES-1;code++){base_length[code]=length;for(n=0;n<1<<extra_lbits[code];n++){_length_code[length++]=code}}_length_code[length-1]=code;dist=0;for(code=0;code<16;code++){base_dist[code]=dist;for(n=0;n<1<<extra_dbits[code];n++){_dist_code[dist++]=code}}dist>>=7;for(;code<D_CODES;code++){base_dist[code]=dist<<7;for(n=0;n<1<<extra_dbits[code]-7;n++){_dist_code[256+dist++]=code}}for(bits=0;bits<=MAX_BITS;bits++){bl_count[bits]=0}n=0;while(n<=143){static_ltree[n*2+1]=8;n++;bl_count[8]++}while(n<=255){static_ltree[n*2+1]=9;n++;bl_count[9]++}while(n<=279){static_ltree[n*2+1]=7;n++;bl_count[7]++}while(n<=287){static_ltree[n*2+1]=8;n++;bl_count[8]++}gen_codes(static_ltree,L_CODES+1,bl_count);for(n=0;n<D_CODES;n++){static_dtree[n*2+1]=5;static_dtree[n*2]=bi_reverse(n,5)}static_l_desc=new StaticTreeDesc(static_ltree,extra_lbits,LITERALS+1,L_CODES,MAX_BITS);static_d_desc=new StaticTreeDesc(static_dtree,extra_dbits,0,D_CODES,MAX_BITS);static_bl_desc=new StaticTreeDesc(new Array(0),extra_blbits,0,BL_CODES,MAX_BL_BITS)}function init_block(s){var n;for(n=0;n<L_CODES;n++){s.dyn_ltree[n*2]=0}for(n=0;n<D_CODES;n++){s.dyn_dtree[n*2]=0}for(n=0;n<BL_CODES;n++){s.bl_tree[n*2]=0}s.dyn_ltree[END_BLOCK*2]=1;s.opt_len=s.static_len=0;s.last_lit=s.matches=0}function bi_windup(s){if(s.bi_valid>8){put_short(s,s.bi_buf)}else if(s.bi_valid>0){s.pending_buf[s.pending++]=s.bi_buf}s.bi_buf=0;s.bi_valid=0}function copy_block(s,buf,len,header){bi_windup(s);if(header){put_short(s,len);put_short(s,~len)}utils.arraySet(s.pending_buf,s.window,buf,len,s.pending);s.pending+=len}function smaller(tree,n,m,depth){var _n2=n*2;var _m2=m*2;return tree[_n2]<tree[_m2]||tree[_n2]===tree[_m2]&&depth[n]<=depth[m]}function pqdownheap(s,tree,k){var v=s.heap[k];var j=k<<1;while(j<=s.heap_len){if(j<s.heap_len&&smaller(tree,s.heap[j+1],s.heap[j],s.depth)){j++}if(smaller(tree,v,s.heap[j],s.depth)){break}s.heap[k]=s.heap[j];k=j;j<<=1}s.heap[k]=v}function compress_block(s,ltree,dtree){var dist;var lc;var lx=0;var code;var extra;if(s.last_lit!==0){do{dist=s.pending_buf[s.d_buf+lx*2]<<8|s.pending_buf[s.d_buf+lx*2+1];lc=s.pending_buf[s.l_buf+lx];lx++;if(dist===0){send_code(s,lc,ltree)}else{code=_length_code[lc];send_code(s,code+LITERALS+1,ltree);extra=extra_lbits[code];if(extra!==0){lc-=base_length[code];send_bits(s,lc,extra)}dist--;code=d_code(dist);send_code(s,code,dtree);extra=extra_dbits[code];if(extra!==0){dist-=base_dist[code];send_bits(s,dist,extra)}}}while(lx<s.last_lit)}send_code(s,END_BLOCK,ltree)}function build_tree(s,desc){var tree=desc.dyn_tree;var stree=desc.stat_desc.static_tree;var has_stree=desc.stat_desc.has_stree;var elems=desc.stat_desc.elems;var n,m;var max_code=-1;var node;s.heap_len=0;s.heap_max=HEAP_SIZE;for(n=0;n<elems;n++){if(tree[n*2]!==0){s.heap[++s.heap_len]=max_code=n;s.depth[n]=0}else{tree[n*2+1]=0}}while(s.heap_len<2){node=s.heap[++s.heap_len]=max_code<2?++max_code:0;tree[node*2]=1;s.depth[node]=0;s.opt_len--;if(has_stree){s.static_len-=stree[node*2+1]}}desc.max_code=max_code;for(n=s.heap_len>>1;n>=1;n--){pqdownheap(s,tree,n)}node=elems;do{n=s.heap[1];s.heap[1]=s.heap[s.heap_len--];pqdownheap(s,tree,1);m=s.heap[1];s.heap[--s.heap_max]=n;s.heap[--s.heap_max]=m;tree[node*2]=tree[n*2]+tree[m*2];s.depth[node]=(s.depth[n]>=s.depth[m]?s.depth[n]:s.depth[m])+1;tree[n*2+1]=tree[m*2+1]=node;s.heap[1]=node++;pqdownheap(s,tree,1)}while(s.heap_len>=2);s.heap[--s.heap_max]=s.heap[1];gen_bitlen(s,desc);gen_codes(tree,max_code,s.bl_count)}function scan_tree(s,tree,max_code){var n;var prevlen=-1;var curlen;var nextlen=tree[0*2+1];var count=0;var max_count=7;var min_count=4;if(nextlen===0){max_count=138;min_count=3}tree[(max_code+1)*2+1]=65535;for(n=0;n<=max_code;n++){curlen=nextlen;nextlen=tree[(n+1)*2+1];if(++count<max_count&&curlen===nextlen){continue}else if(count<min_count){s.bl_tree[curlen*2]+=count}else if(curlen!==0){if(curlen!==prevlen){s.bl_tree[curlen*2]++}s.bl_tree[REP_3_6*2]++}else if(count<=10){s.bl_tree[REPZ_3_10*2]++}else{s.bl_tree[REPZ_11_138*2]++}count=0;prevlen=curlen;if(nextlen===0){max_count=138;min_count=3}else if(curlen===nextlen){max_count=6;min_count=3}else{max_count=7;min_count=4}}}function send_tree(s,tree,max_code){var n;var prevlen=-1;var curlen;var nextlen=tree[0*2+1];var count=0;var max_count=7;var min_count=4;if(nextlen===0){max_count=138;min_count=3}for(n=0;n<=max_code;n++){curlen=nextlen;nextlen=tree[(n+1)*2+1];if(++count<max_count&&curlen===nextlen){continue}else if(count<min_count){do{send_code(s,curlen,s.bl_tree)}while(--count!==0)}else if(curlen!==0){if(curlen!==prevlen){send_code(s,curlen,s.bl_tree);count--}send_code(s,REP_3_6,s.bl_tree);send_bits(s,count-3,2)}else if(count<=10){send_code(s,REPZ_3_10,s.bl_tree);send_bits(s,count-3,3)}else{send_code(s,REPZ_11_138,s.bl_tree);send_bits(s,count-11,7)}count=0;prevlen=curlen;if(nextlen===0){max_count=138;min_count=3}else if(curlen===nextlen){max_count=6;min_count=3}else{max_count=7;min_count=4}}}function build_bl_tree(s){var max_blindex;scan_tree(s,s.dyn_ltree,s.l_desc.max_code);scan_tree(s,s.dyn_dtree,s.d_desc.max_code);build_tree(s,s.bl_desc);for(max_blindex=BL_CODES-1;max_blindex>=3;max_blindex--){if(s.bl_tree[bl_order[max_blindex]*2+1]!==0){break}}s.opt_len+=3*(max_blindex+1)+5+5+4;return max_blindex}function send_all_trees(s,lcodes,dcodes,blcodes){var rank;send_bits(s,lcodes-257,5);send_bits(s,dcodes-1,5);send_bits(s,blcodes-4,4);for(rank=0;rank<blcodes;rank++){send_bits(s,s.bl_tree[bl_order[rank]*2+1],3)}send_tree(s,s.dyn_ltree,lcodes-1);send_tree(s,s.dyn_dtree,dcodes-1)}function detect_data_type(s){var black_mask=4093624447;var n;for(n=0;n<=31;n++,black_mask>>>=1){if(black_mask&1&&s.dyn_ltree[n*2]!==0){return Z_BINARY}}if(s.dyn_ltree[9*2]!==0||s.dyn_ltree[10*2]!==0||s.dyn_ltree[13*2]!==0){return Z_TEXT}for(n=32;n<LITERALS;n++){if(s.dyn_ltree[n*2]!==0){return Z_TEXT}}return Z_BINARY}var static_init_done=false;function _tr_init(s){if(!static_init_done){tr_static_init();static_init_done=true}s.l_desc=new TreeDesc(s.dyn_ltree,static_l_desc);s.d_desc=new TreeDesc(s.dyn_dtree,static_d_desc);s.bl_desc=new TreeDesc(s.bl_tree,static_bl_desc);s.bi_buf=0;s.bi_valid=0;init_block(s)}function _tr_stored_block(s,buf,stored_len,last){send_bits(s,(STORED_BLOCK<<1)+(last?1:0),3);copy_block(s,buf,stored_len,true)}function _tr_align(s){send_bits(s,STATIC_TREES<<1,3);send_code(s,END_BLOCK,static_ltree);bi_flush(s)}function _tr_flush_block(s,buf,stored_len,last){var opt_lenb,static_lenb;var max_blindex=0;if(s.level>0){if(s.strm.data_type===Z_UNKNOWN){s.strm.data_type=detect_data_type(s)}build_tree(s,s.l_desc);build_tree(s,s.d_desc);max_blindex=build_bl_tree(s);opt_lenb=s.opt_len+3+7>>>3;static_lenb=s.static_len+3+7>>>3;if(static_lenb<=opt_lenb){opt_lenb=static_lenb}}else{opt_lenb=static_lenb=stored_len+5}if(stored_len+4<=opt_lenb&&buf!==-1){_tr_stored_block(s,buf,stored_len,last)}else if(s.strategy===Z_FIXED||static_lenb===opt_lenb){send_bits(s,(STATIC_TREES<<1)+(last?1:0),3);compress_block(s,static_ltree,static_dtree)}else{send_bits(s,(DYN_TREES<<1)+(last?1:0),3);send_all_trees(s,s.l_desc.max_code+1,s.d_desc.max_code+1,max_blindex+1);compress_block(s,s.dyn_ltree,s.dyn_dtree)}init_block(s);if(last){bi_windup(s)}}function _tr_tally(s,dist,lc){s.pending_buf[s.d_buf+s.last_lit*2]=dist>>>8&255;s.pending_buf[s.d_buf+s.last_lit*2+1]=dist&255;s.pending_buf[s.l_buf+s.last_lit]=lc&255;s.last_lit++;if(dist===0){s.dyn_ltree[lc*2]++}else{s.matches++;dist--;s.dyn_ltree[(_length_code[lc]+LITERALS+1)*2]++;s.dyn_dtree[d_code(dist)*2]++}return s.last_lit===s.lit_bufsize-1}exports._tr_init=_tr_init;exports._tr_stored_block=_tr_stored_block;exports._tr_flush_block=_tr_flush_block;exports._tr_tally=_tr_tally;exports._tr_align=_tr_align},{"../utils/common":806}],816:[function(require,module,exports){"use strict";function ZStream(){this.input=null;this.next_in=0;this.avail_in=0;this.total_in=0;this.output=null;this.next_out=0;this.avail_out=0;this.total_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}module.exports=ZStream},{}],817:[function(require,module,exports){module.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"}},{}],818:[function(require,module,exports){"use strict";var asn1=require("asn1.js");exports.certificate=require("./certificate");var RSAPrivateKey=asn1.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())}));exports.RSAPrivateKey=RSAPrivateKey;var RSAPublicKey=asn1.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));exports.RSAPublicKey=RSAPublicKey;var PublicKey=asn1.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPublicKey").bitstr())}));exports.PublicKey=PublicKey;var AlgorithmIdentifier=asn1.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())}));var PrivateKeyInfo=asn1.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPrivateKey").octstr())}));exports.PrivateKey=PrivateKeyInfo;var EncryptedPrivateKeyInfo=asn1.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())}));exports.EncryptedPrivateKey=EncryptedPrivateKeyInfo;var DSAPrivateKey=asn1.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())}));exports.DSAPrivateKey=DSAPrivateKey;exports.DSAparam=asn1.define("DSAparam",(function(){this.int()}));var ECPrivateKey=asn1.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(ECParameters),this.key("publicKey").optional().explicit(1).bitstr())}));exports.ECPrivateKey=ECPrivateKey;var ECParameters=asn1.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));exports.signature=asn1.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},{"./certificate":819,"asn1.js":50}],819:[function(require,module,exports){"use strict";var asn=require("asn1.js");var Time=asn.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}));var AttributeTypeValue=asn.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}));var AlgorithmIdentifier=asn.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}));var SubjectPublicKeyInfo=asn.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(AlgorithmIdentifier),this.key("subjectPublicKey").bitstr())}));var RelativeDistinguishedName=asn.define("RelativeDistinguishedName",(function(){this.setof(AttributeTypeValue)}));var RDNSequence=asn.define("RDNSequence",(function(){this.seqof(RelativeDistinguishedName)}));var Name=asn.define("Name",(function(){this.choice({rdnSequence:this.use(RDNSequence)})}));var Validity=asn.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(Time),this.key("notAfter").use(Time))}));var Extension=asn.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(false),this.key("extnValue").octstr())}));var TBSCertificate=asn.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(AlgorithmIdentifier),this.key("issuer").use(Name),this.key("validity").use(Validity),this.key("subject").use(Name),this.key("subjectPublicKeyInfo").use(SubjectPublicKeyInfo),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(Extension).optional())}));var X509Certificate=asn.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(TBSCertificate),this.key("signatureAlgorithm").use(AlgorithmIdentifier),this.key("signatureValue").bitstr())}));module.exports=X509Certificate},{"asn1.js":50}],820:[function(require,module,exports){var findProc=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m;var startRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m;var fullRegex=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m;var evp=require("evp_bytestokey");var ciphers=require("browserify-aes");var Buffer=require("safe-buffer").Buffer;module.exports=function(okey,password){var key=okey.toString();var match=key.match(findProc);var decrypted;if(!match){var match2=key.match(fullRegex);decrypted=new Buffer(match2[2].replace(/[\r\n]/g,""),"base64")}else{var suite="aes"+match[1];var iv=Buffer.from(match[2],"hex");var cipherText=Buffer.from(match[3].replace(/[\r\n]/g,""),"base64");var cipherKey=evp(password,iv.slice(0,8),parseInt(match[1],10)).key;var out=[];var cipher=ciphers.createDecipheriv(suite,cipherKey,iv);out.push(cipher.update(cipherText));out.push(cipher.final());decrypted=Buffer.concat(out)}var tag=key.match(startRegex)[1];return{tag:tag,data:decrypted}}},{"browserify-aes":86,evp_bytestokey:242,"safe-buffer":907}],821:[function(require,module,exports){var asn1=require("./asn1");var aesid=require("./aesid.json");var fixProc=require("./fixProc");var ciphers=require("browserify-aes");var compat=require("pbkdf2");var Buffer=require("safe-buffer").Buffer;module.exports=parseKeys;function parseKeys(buffer){var password;if(typeof buffer==="object"&&!Buffer.isBuffer(buffer)){password=buffer.passphrase;buffer=buffer.key}if(typeof buffer==="string"){buffer=Buffer.from(buffer)}var stripped=fixProc(buffer,password);var type=stripped.tag;var data=stripped.data;var subtype,ndata;switch(type){case"CERTIFICATE":ndata=asn1.certificate.decode(data,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":if(!ndata){ndata=asn1.PublicKey.decode(data,"der")}subtype=ndata.algorithm.algorithm.join(".");switch(subtype){case"1.2.840.113549.1.1.1":return asn1.RSAPublicKey.decode(ndata.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":ndata.subjectPrivateKey=ndata.subjectPublicKey;return{type:"ec",data:ndata};case"1.2.840.10040.4.1":ndata.algorithm.params.pub_key=asn1.DSAparam.decode(ndata.subjectPublicKey.data,"der");return{type:"dsa",data:ndata.algorithm.params};default:throw new Error("unknown key id "+subtype)}throw new Error("unknown key type "+type);case"ENCRYPTED PRIVATE KEY":data=asn1.EncryptedPrivateKey.decode(data,"der");data=decrypt(data,password);case"PRIVATE KEY":ndata=asn1.PrivateKey.decode(data,"der");subtype=ndata.algorithm.algorithm.join(".");switch(subtype){case"1.2.840.113549.1.1.1":return asn1.RSAPrivateKey.decode(ndata.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:ndata.algorithm.curve,privateKey:asn1.ECPrivateKey.decode(ndata.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":ndata.algorithm.params.priv_key=asn1.DSAparam.decode(ndata.subjectPrivateKey,"der");return{type:"dsa",params:ndata.algorithm.params};default:throw new Error("unknown key id "+subtype)}throw new Error("unknown key type "+type);case"RSA PUBLIC KEY":return asn1.RSAPublicKey.decode(data,"der");case"RSA PRIVATE KEY":return asn1.RSAPrivateKey.decode(data,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:asn1.DSAPrivateKey.decode(data,"der")};case"EC PRIVATE KEY":data=asn1.ECPrivateKey.decode(data,"der");return{curve:data.parameters.value,privateKey:data.privateKey};default:throw new Error("unknown key type "+type)}}parseKeys.signature=asn1.signature;function decrypt(data,password){var salt=data.algorithm.decrypt.kde.kdeparams.salt;var iters=parseInt(data.algorithm.decrypt.kde.kdeparams.iters.toString(),10);var algo=aesid[data.algorithm.decrypt.cipher.algo.join(".")];var iv=data.algorithm.decrypt.cipher.iv;var cipherText=data.subjectPrivateKey;var keylen=parseInt(algo.split("-")[1],10)/8;var key=compat.pbkdf2Sync(password,salt,iters,keylen,"sha1");var cipher=ciphers.createDecipheriv(algo,key,iv);var out=[];out.push(cipher.update(cipherText));out.push(cipher.final());return Buffer.concat(out)}},{"./aesid.json":817,"./asn1":818,"./fixProc":820,"browserify-aes":86,pbkdf2:847,"safe-buffer":907}],822:[function(require,module,exports){"use strict";const{DOCUMENT_MODE:DOCUMENT_MODE}=require("./html");const VALID_DOCTYPE_NAME="html";const VALID_SYSTEM_ID="about:legacy-compat";const QUIRKS_MODE_SYSTEM_ID="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd";const QUIRKS_MODE_PUBLIC_ID_PREFIXES=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"];const QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES=QUIRKS_MODE_PUBLIC_ID_PREFIXES.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);const QUIRKS_MODE_PUBLIC_IDS=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"];const LIMITED_QUIRKS_PUBLIC_ID_PREFIXES=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"];const LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES=LIMITED_QUIRKS_PUBLIC_ID_PREFIXES.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function enquoteDoctypeId(id){const quote=id.indexOf('"')!==-1?"'":'"';return quote+id+quote}function hasPrefix(publicId,prefixes){for(let i=0;i<prefixes.length;i++){if(publicId.indexOf(prefixes[i])===0){return true}}return false}exports.isConforming=function(token){return token.name===VALID_DOCTYPE_NAME&&token.publicId===null&&(token.systemId===null||token.systemId===VALID_SYSTEM_ID)};exports.getDocumentMode=function(token){if(token.name!==VALID_DOCTYPE_NAME){return DOCUMENT_MODE.QUIRKS}const systemId=token.systemId;if(systemId&&systemId.toLowerCase()===QUIRKS_MODE_SYSTEM_ID){return DOCUMENT_MODE.QUIRKS}let publicId=token.publicId;if(publicId!==null){publicId=publicId.toLowerCase();if(QUIRKS_MODE_PUBLIC_IDS.indexOf(publicId)>-1){return DOCUMENT_MODE.QUIRKS}let prefixes=systemId===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(publicId,prefixes)){return DOCUMENT_MODE.QUIRKS}prefixes=systemId===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES;if(hasPrefix(publicId,prefixes)){return DOCUMENT_MODE.LIMITED_QUIRKS}}return DOCUMENT_MODE.NO_QUIRKS};exports.serializeContent=function(name,publicId,systemId){let str="!DOCTYPE ";if(name){str+=name}if(publicId){str+=" PUBLIC "+enquoteDoctypeId(publicId)}else if(systemId){str+=" SYSTEM"}if(systemId!==null){str+=" "+enquoteDoctypeId(systemId)}return str}},{"./html":825}],823:[function(require,module,exports){"use strict";module.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}},{}],824:[function(require,module,exports){"use strict";const Tokenizer=require("../tokenizer");const HTML=require("./html");const $=HTML.TAG_NAMES;const NS=HTML.NAMESPACES;const ATTRS=HTML.ATTRS;const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"};const DEFINITION_URL_ATTR="definitionurl";const ADJUSTED_DEFINITION_URL_ATTR="definitionURL";const SVG_ATTRS_ADJUSTMENT_MAP={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"};const XML_ATTRS_ADJUSTMENT_MAP={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:NS.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:NS.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:NS.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:NS.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:NS.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:NS.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:NS.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:NS.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:NS.XML},"xml:space":{prefix:"xml",name:"space",namespace:NS.XML},xmlns:{prefix:"",name:"xmlns",namespace:NS.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}};const SVG_TAG_NAMES_ADJUSTMENT_MAP=exports.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"};const EXITS_FOREIGN_CONTENT={[$.B]:true,[$.BIG]:true,[$.BLOCKQUOTE]:true,[$.BODY]:true,[$.BR]:true,[$.CENTER]:true,[$.CODE]:true,[$.DD]:true,[$.DIV]:true,[$.DL]:true,[$.DT]:true,[$.EM]:true,[$.EMBED]:true,[$.H1]:true,[$.H2]:true,[$.H3]:true,[$.H4]:true,[$.H5]:true,[$.H6]:true,[$.HEAD]:true,[$.HR]:true,[$.I]:true,[$.IMG]:true,[$.LI]:true,[$.LISTING]:true,[$.MENU]:true,[$.META]:true,[$.NOBR]:true,[$.OL]:true,[$.P]:true,[$.PRE]:true,[$.RUBY]:true,[$.S]:true,[$.SMALL]:true,[$.SPAN]:true,[$.STRONG]:true,[$.STRIKE]:true,[$.SUB]:true,[$.SUP]:true,[$.TABLE]:true,[$.TT]:true,[$.U]:true,[$.UL]:true,[$.VAR]:true};exports.causesExit=function(startTagToken){const tn=startTagToken.tagName;const isFontWithAttrs=tn===$.FONT&&(Tokenizer.getTokenAttr(startTagToken,ATTRS.COLOR)!==null||Tokenizer.getTokenAttr(startTagToken,ATTRS.SIZE)!==null||Tokenizer.getTokenAttr(startTagToken,ATTRS.FACE)!==null);return isFontWithAttrs?true:EXITS_FOREIGN_CONTENT[tn]};exports.adjustTokenMathMLAttrs=function(token){for(let i=0;i<token.attrs.length;i++){if(token.attrs[i].name===DEFINITION_URL_ATTR){token.attrs[i].name=ADJUSTED_DEFINITION_URL_ATTR;break}}};exports.adjustTokenSVGAttrs=function(token){for(let i=0;i<token.attrs.length;i++){const adjustedAttrName=SVG_ATTRS_ADJUSTMENT_MAP[token.attrs[i].name];if(adjustedAttrName){token.attrs[i].name=adjustedAttrName}}};exports.adjustTokenXMLAttrs=function(token){for(let i=0;i<token.attrs.length;i++){const adjustedAttrEntry=XML_ATTRS_ADJUSTMENT_MAP[token.attrs[i].name];if(adjustedAttrEntry){token.attrs[i].prefix=adjustedAttrEntry.prefix;token.attrs[i].name=adjustedAttrEntry.name;token.attrs[i].namespace=adjustedAttrEntry.namespace}}};exports.adjustTokenSVGTagName=function(token){const adjustedTagName=SVG_TAG_NAMES_ADJUSTMENT_MAP[token.tagName];if(adjustedTagName){token.tagName=adjustedTagName}};function isMathMLTextIntegrationPoint(tn,ns){return ns===NS.MATHML&&(tn===$.MI||tn===$.MO||tn===$.MN||tn===$.MS||tn===$.MTEXT)}function isHtmlIntegrationPoint(tn,ns,attrs){if(ns===NS.MATHML&&tn===$.ANNOTATION_XML){for(let i=0;i<attrs.length;i++){if(attrs[i].name===ATTRS.ENCODING){const value=attrs[i].value.toLowerCase();return value===MIME_TYPES.TEXT_HTML||value===MIME_TYPES.APPLICATION_XML}}}return ns===NS.SVG&&(tn===$.FOREIGN_OBJECT||tn===$.DESC||tn===$.TITLE)}exports.isIntegrationPoint=function(tn,ns,attrs,foreignNS){if((!foreignNS||foreignNS===NS.HTML)&&isHtmlIntegrationPoint(tn,ns,attrs)){return true}if((!foreignNS||foreignNS===NS.MATHML)&&isMathMLTextIntegrationPoint(tn,ns)){return true}return false}},{"../tokenizer":840,"./html":825}],825:[function(require,module,exports){"use strict";const NS=exports.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};exports.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};exports.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const $=exports.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};exports.SPECIAL_ELEMENTS={[NS.HTML]:{[$.ADDRESS]:true,[$.APPLET]:true,[$.AREA]:true,[$.ARTICLE]:true,[$.ASIDE]:true,[$.BASE]:true,[$.BASEFONT]:true,[$.BGSOUND]:true,[$.BLOCKQUOTE]:true,[$.BODY]:true,[$.BR]:true,[$.BUTTON]:true,[$.CAPTION]:true,[$.CENTER]:true,[$.COL]:true,[$.COLGROUP]:true,[$.DD]:true,[$.DETAILS]:true,[$.DIR]:true,[$.DIV]:true,[$.DL]:true,[$.DT]:true,[$.EMBED]:true,[$.FIELDSET]:true,[$.FIGCAPTION]:true,[$.FIGURE]:true,[$.FOOTER]:true,[$.FORM]:true,[$.FRAME]:true,[$.FRAMESET]:true,[$.H1]:true,[$.H2]:true,[$.H3]:true,[$.H4]:true,[$.H5]:true,[$.H6]:true,[$.HEAD]:true,[$.HEADER]:true,[$.HGROUP]:true,[$.HR]:true,[$.HTML]:true,[$.IFRAME]:true,[$.IMG]:true,[$.INPUT]:true,[$.LI]:true,[$.LINK]:true,[$.LISTING]:true,[$.MAIN]:true,[$.MARQUEE]:true,[$.MENU]:true,[$.META]:true,[$.NAV]:true,[$.NOEMBED]:true,[$.NOFRAMES]:true,[$.NOSCRIPT]:true,[$.OBJECT]:true,[$.OL]:true,[$.P]:true,[$.PARAM]:true,[$.PLAINTEXT]:true,[$.PRE]:true,[$.SCRIPT]:true,[$.SECTION]:true,[$.SELECT]:true,[$.SOURCE]:true,[$.STYLE]:true,[$.SUMMARY]:true,[$.TABLE]:true,[$.TBODY]:true,[$.TD]:true,[$.TEMPLATE]:true,[$.TEXTAREA]:true,[$.TFOOT]:true,[$.TH]:true,[$.THEAD]:true,[$.TITLE]:true,[$.TR]:true,[$.TRACK]:true,[$.UL]:true,[$.WBR]:true,[$.XMP]:true},[NS.MATHML]:{[$.MI]:true,[$.MO]:true,[$.MN]:true,[$.MS]:true,[$.MTEXT]:true,[$.ANNOTATION_XML]:true},[NS.SVG]:{[$.TITLE]:true,[$.FOREIGN_OBJECT]:true,[$.DESC]:true}}},{}],826:[function(require,module,exports){"use strict";const UNDEFINED_CODE_POINTS=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];exports.REPLACEMENT_CHARACTER="<22>";exports.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533};exports.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]};exports.isSurrogate=function(cp){return cp>=55296&&cp<=57343};exports.isSurrogatePair=function(cp){return cp>=56320&&cp<=57343};exports.getSurrogatePairCodePoint=function(cp1,cp2){return(cp1-55296)*1024+9216+cp2};exports.isControlCodePoint=function(cp){return cp!==32&&cp!==10&&cp!==13&&cp!==9&&cp!==12&&cp>=1&&cp<=31||cp>=127&&cp<=159};exports.isUndefinedCodePoint=function(cp){return cp>=64976&&cp<=65007||UNDEFINED_CODE_POINTS.indexOf(cp)>-1}},{}],827:[function(require,module,exports){"use strict";const Mixin=require("../../utils/mixin");class ErrorReportingMixinBase extends Mixin{constructor(host,opts){super(host);this.posTracker=null;this.onParseError=opts.onParseError}_setErrorLocation(err){err.startLine=err.endLine=this.posTracker.line;err.startCol=err.endCol=this.posTracker.col;err.startOffset=err.endOffset=this.posTracker.offset}_reportError(code){const err={code:code,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(err);this.onParseError(err)}_getOverriddenMethods(mxn){return{_err(code){mxn._reportError(code)}}}}module.exports=ErrorReportingMixinBase},{"../../utils/mixin":845}],828:[function(require,module,exports){"use strict";const ErrorReportingMixinBase=require("./mixin-base");const ErrorReportingTokenizerMixin=require("./tokenizer-mixin");const LocationInfoTokenizerMixin=require("../location-info/tokenizer-mixin");const Mixin=require("../../utils/mixin");class ErrorReportingParserMixin extends ErrorReportingMixinBase{constructor(parser,opts){super(parser,opts);this.opts=opts;this.ctLoc=null;this.locBeforeToken=false}_setErrorLocation(err){if(this.ctLoc){err.startLine=this.ctLoc.startLine;err.startCol=this.ctLoc.startCol;err.startOffset=this.ctLoc.startOffset;err.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine;err.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol;err.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset}}_getOverriddenMethods(mxn,orig){return{_bootstrap(document,fragmentContext){orig._bootstrap.call(this,document,fragmentContext);Mixin.install(this.tokenizer,ErrorReportingTokenizerMixin,mxn.opts);Mixin.install(this.tokenizer,LocationInfoTokenizerMixin)},_processInputToken(token){mxn.ctLoc=token.location;orig._processInputToken.call(this,token)},_err(code,options){mxn.locBeforeToken=options&&options.beforeToken;mxn._reportError(code)}}}}module.exports=ErrorReportingParserMixin},{"../../utils/mixin":845,"../location-info/tokenizer-mixin":833,"./mixin-base":827,"./tokenizer-mixin":830}],829:[function(require,module,exports){"use strict";const ErrorReportingMixinBase=require("./mixin-base");const PositionTrackingPreprocessorMixin=require("../position-tracking/preprocessor-mixin");const Mixin=require("../../utils/mixin");class ErrorReportingPreprocessorMixin extends ErrorReportingMixinBase{constructor(preprocessor,opts){super(preprocessor,opts);this.posTracker=Mixin.install(preprocessor,PositionTrackingPreprocessorMixin);this.lastErrOffset=-1}_reportError(code){if(this.lastErrOffset!==this.posTracker.offset){this.lastErrOffset=this.posTracker.offset;super._reportError(code)}}}module.exports=ErrorReportingPreprocessorMixin},{"../../utils/mixin":845,"../position-tracking/preprocessor-mixin":834,"./mixin-base":827}],830:[function(require,module,exports){"use strict";const ErrorReportingMixinBase=require("./mixin-base");const ErrorReportingPreprocessorMixin=require("./preprocessor-mixin");const Mixin=require("../../utils/mixin");class ErrorReportingTokenizerMixin extends ErrorReportingMixinBase{constructor(tokenizer,opts){super(tokenizer,opts);const preprocessorMixin=Mixin.install(tokenizer.preprocessor,ErrorReportingPreprocessorMixin,opts);this.posTracker=preprocessorMixin.posTracker}}module.exports=ErrorReportingTokenizerMixin},{"../../utils/mixin":845,"./mixin-base":827,"./preprocessor-mixin":829}],831:[function(require,module,exports){"use strict";const Mixin=require("../../utils/mixin");class LocationInfoOpenElementStackMixin extends Mixin{constructor(stack,opts){super(stack);this.onItemPop=opts.onItemPop}_getOverriddenMethods(mxn,orig){return{pop(){mxn.onItemPop(this.current);orig.pop.call(this)},popAllUpToHtmlElement(){for(let i=this.stackTop;i>0;i--){mxn.onItemPop(this.items[i])}orig.popAllUpToHtmlElement.call(this)},remove(element){mxn.onItemPop(this.current);orig.remove.call(this,element)}}}}module.exports=LocationInfoOpenElementStackMixin},{"../../utils/mixin":845}],832:[function(require,module,exports){"use strict";const Mixin=require("../../utils/mixin");const Tokenizer=require("../../tokenizer");const LocationInfoTokenizerMixin=require("./tokenizer-mixin");const LocationInfoOpenElementStackMixin=require("./open-element-stack-mixin");const HTML=require("../../common/html");const $=HTML.TAG_NAMES;class LocationInfoParserMixin extends Mixin{constructor(parser){super(parser);this.parser=parser;this.treeAdapter=this.parser.treeAdapter;this.posTracker=null;this.lastStartTagToken=null;this.lastFosterParentingLocation=null;this.currentToken=null}_setStartLocation(element){let loc=null;if(this.lastStartTagToken){loc=Object.assign({},this.lastStartTagToken.location);loc.startTag=this.lastStartTagToken.location}this.treeAdapter.setNodeSourceCodeLocation(element,loc)}_setEndLocation(element,closingToken){const loc=this.treeAdapter.getNodeSourceCodeLocation(element);if(loc){if(closingToken.location){const ctLoc=closingToken.location;const tn=this.treeAdapter.getTagName(element);const isClosingEndTag=closingToken.type===Tokenizer.END_TAG_TOKEN&&tn===closingToken.tagName;if(isClosingEndTag){loc.endTag=Object.assign({},ctLoc);loc.endLine=ctLoc.endLine;loc.endCol=ctLoc.endCol;loc.endOffset=ctLoc.endOffset}else{loc.endLine=ctLoc.startLine;loc.endCol=ctLoc.startCol;loc.endOffset=ctLoc.startOffset}}}}_getOverriddenMethods(mxn,orig){return{_bootstrap(document,fragmentContext){orig._bootstrap.call(this,document,fragmentContext);mxn.lastStartTagToken=null;mxn.lastFosterParentingLocation=null;mxn.currentToken=null;const tokenizerMixin=Mixin.install(this.tokenizer,LocationInfoTokenizerMixin);mxn.posTracker=tokenizerMixin.posTracker;Mixin.install(this.openElements,LocationInfoOpenElementStackMixin,{onItemPop:function(element){mxn._setEndLocation(element,mxn.currentToken)}})},_runParsingLoop(scriptHandler){orig._runParsingLoop.call(this,scriptHandler);for(let i=this.openElements.stackTop;i>=0;i--){mxn._setEndLocation(this.openElements.items[i],mxn.currentToken)}},_processTokenInForeignContent(token){mxn.currentToken=token;orig._processTokenInForeignContent.call(this,token)},_processToken(token){mxn.currentToken=token;orig._processToken.call(this,token);const requireExplicitUpdate=token.type===Tokenizer.END_TAG_TOKEN&&(token.tagName===$.HTML||token.tagName===$.BODY&&this.openElements.hasInScope($.BODY));if(requireExplicitUpdate){for(let i=this.openElements.stackTop;i>=0;i--){const element=this.openElements.items[i];if(this.treeAdapter.getTagName(element)===token.tagName){mxn._setEndLocation(element,token);break}}}},_setDocumentType(token){orig._setDocumentType.call(this,token);const documentChildren=this.treeAdapter.getChildNodes(this.document);const cnLength=documentChildren.length;for(let i=0;i<cnLength;i++){const node=documentChildren[i];if(this.treeAdapter.isDocumentTypeNode(node)){this.treeAdapter.setNodeSourceCodeLocation(node,token.location);break}}},_attachElementToTree(element){mxn._setStartLocation(element);mxn.lastStartTagToken=null;orig._attachElementToTree.call(this,element)},_appendElement(token,namespaceURI){mxn.lastStartTagToken=token;orig._appendElement.call(this,token,namespaceURI)},_insertElement(token,namespaceURI){mxn.lastStartTagToken=token;orig._insertElement.call(this,token,namespaceURI)},_insertTemplate(token){mxn.lastStartTagToken=token;orig._insertTemplate.call(this,token);const tmplContent=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(tmplContent,null)},_insertFakeRootElement(){orig._insertFakeRootElement.call(this);this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(token,parent){orig._appendCommentNode.call(this,token,parent);const children=this.treeAdapter.getChildNodes(parent);const commentNode=children[children.length-1];this.treeAdapter.setNodeSourceCodeLocation(commentNode,token.location)},_findFosterParentingLocation(){mxn.lastFosterParentingLocation=orig._findFosterParentingLocation.call(this);return mxn.lastFosterParentingLocation},_insertCharacters(token){orig._insertCharacters.call(this,token);const hasFosterParent=this._shouldFosterParentOnInsertion();const parent=hasFosterParent&&mxn.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current;const siblings=this.treeAdapter.getChildNodes(parent);const textNodeIdx=hasFosterParent&&mxn.lastFosterParentingLocation.beforeElement?siblings.indexOf(mxn.lastFosterParentingLocation.beforeElement)-1:siblings.length-1;const textNode=siblings[textNodeIdx];const tnLoc=this.treeAdapter.getNodeSourceCodeLocation(textNode);if(tnLoc){tnLoc.endLine=token.location.endLine;tnLoc.endCol=token.location.endCol;tnLoc.endOffset=token.location.endOffset}else{this.treeAdapter.setNodeSourceCodeLocation(textNode,token.location)}}}}}module.exports=LocationInfoParserMixin},{"../../common/html":825,"../../tokenizer":840,"../../utils/mixin":845,"./open-element-stack-mixin":831,"./tokenizer-mixin":833}],833:[function(require,module,exports){"use strict";const Mixin=require("../../utils/mixin");const Tokenizer=require("../../tokenizer");const PositionTrackingPreprocessorMixin=require("../position-tracking/preprocessor-mixin");class LocationInfoTokenizerMixin extends Mixin{constructor(tokenizer){super(tokenizer);this.tokenizer=tokenizer;this.posTracker=Mixin.install(tokenizer.preprocessor,PositionTrackingPreprocessorMixin);this.currentAttrLocation=null;this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line;this.currentAttrLocation.endCol=this.posTracker.col;this.currentAttrLocation.endOffset=this.posTracker.offset;const currentToken=this.tokenizer.currentToken;const currentAttr=this.tokenizer.currentAttr;if(!currentToken.location.attrs){currentToken.location.attrs=Object.create(null)}currentToken.location.attrs[currentAttr.name]=this.currentAttrLocation}_getOverriddenMethods(mxn,orig){const methods={_createStartTagToken(){orig._createStartTagToken.call(this);this.currentToken.location=mxn.ctLoc},_createEndTagToken(){orig._createEndTagToken.call(this);this.currentToken.location=mxn.ctLoc},_createCommentToken(){orig._createCommentToken.call(this);this.currentToken.location=mxn.ctLoc},_createDoctypeToken(initialName){orig._createDoctypeToken.call(this,initialName);this.currentToken.location=mxn.ctLoc},_createCharacterToken(type,ch){orig._createCharacterToken.call(this,type,ch);this.currentCharacterToken.location=mxn.ctLoc},_createEOFToken(){orig._createEOFToken.call(this);this.currentToken.location=mxn._getCurrentLocation()},_createAttr(attrNameFirstCh){orig._createAttr.call(this,attrNameFirstCh);mxn.currentAttrLocation=mxn._getCurrentLocation()},_leaveAttrName(toState){orig._leaveAttrName.call(this,toState);mxn._attachCurrentAttrLocationInfo()},_leaveAttrValue(toState){orig._leaveAttrValue.call(this,toState);mxn._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const ctLoc=this.currentToken.location;if(this.currentCharacterToken){this.currentCharacterToken.location.endLine=ctLoc.startLine;this.currentCharacterToken.location.endCol=ctLoc.startCol;this.currentCharacterToken.location.endOffset=ctLoc.startOffset}if(this.currentToken.type===Tokenizer.EOF_TOKEN){ctLoc.endLine=ctLoc.startLine;ctLoc.endCol=ctLoc.startCol;ctLoc.endOffset=ctLoc.startOffset}else{ctLoc.endLine=mxn.posTracker.line;ctLoc.endCol=mxn.posTracker.col+1;ctLoc.endOffset=mxn.posTracker.offset+1}orig._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const ctLoc=this.currentCharacterToken&&this.currentCharacterToken.location;if(ctLoc&&ctLoc.endOffset===-1){ctLoc.endLine=mxn.posTracker.line;ctLoc.endCol=mxn.posTracker.col;ctLoc.endOffset=mxn.posTracker.offset}orig._emitCurrentCharacterToken.call(this)}};Object.keys(Tokenizer.MODE).forEach(modeName=>{const state=Tokenizer.MODE[modeName];methods[state]=function(cp){mxn.ctLoc=mxn._getCurrentLocation();orig[state].call(this,cp)}});return methods}}module.exports=LocationInfoTokenizerMixin},{"../../tokenizer":840,"../../utils/mixin":845,"../position-tracking/preprocessor-mixin":834}],834:[function(require,module,exports){"use strict";const Mixin=require("../../utils/mixin");class PositionTrackingPreprocessorMixin extends Mixin{constructor(preprocessor){super(preprocessor);this.preprocessor=preprocessor;this.isEol=false;this.lineStartPos=0;this.droppedBufferSize=0;this.offset=0;this.col=0;this.line=1}_getOverriddenMethods(mxn,orig){return{advance(){const pos=this.pos+1;const ch=this.html[pos];if(mxn.isEol){mxn.isEol=false;mxn.line++;mxn.lineStartPos=pos}if(ch==="\n"||ch==="\r"&&this.html[pos+1]!=="\n"){mxn.isEol=true}mxn.col=pos-mxn.lineStartPos+1;mxn.offset=mxn.droppedBufferSize+pos;return orig.advance.call(this)},retreat(){orig.retreat.call(this);mxn.isEol=false;mxn.col=this.pos-mxn.lineStartPos+1},dropParsedChunk(){const prevPos=this.pos;orig.dropParsedChunk.call(this);const reduction=prevPos-this.pos;mxn.lineStartPos-=reduction;mxn.droppedBufferSize+=reduction;mxn.offset=mxn.droppedBufferSize+this.pos}}}}module.exports=PositionTrackingPreprocessorMixin},{"../../utils/mixin":845}],835:[function(require,module,exports){"use strict";const Parser=require("./parser");const Serializer=require("./serializer");exports.parse=function parse(html,options){const parser=new Parser(options);return parser.parse(html)};exports.parseFragment=function parseFragment(fragmentContext,html,options){if(typeof fragmentContext==="string"){options=html;html=fragmentContext;fragmentContext=null}const parser=new Parser(options);return parser.parseFragment(html,fragmentContext)};exports.serialize=function(node,options){const serializer=new Serializer(node,options);return serializer.serialize()}},{"./parser":837,"./serializer":839}],836:[function(require,module,exports){"use strict";const NOAH_ARK_CAPACITY=3;class FormattingElementList{constructor(treeAdapter){this.length=0;this.entries=[];this.treeAdapter=treeAdapter;this.bookmark=null}_getNoahArkConditionCandidates(newElement){const candidates=[];if(this.length>=NOAH_ARK_CAPACITY){const neAttrsLength=this.treeAdapter.getAttrList(newElement).length;const neTagName=this.treeAdapter.getTagName(newElement);const neNamespaceURI=this.treeAdapter.getNamespaceURI(newElement);for(let i=this.length-1;i>=0;i--){const entry=this.entries[i];if(entry.type===FormattingElementList.MARKER_ENTRY){break}const element=entry.element;const elementAttrs=this.treeAdapter.getAttrList(element);const isCandidate=this.treeAdapter.getTagName(element)===neTagName&&this.treeAdapter.getNamespaceURI(element)===neNamespaceURI&&elementAttrs.length===neAttrsLength;if(isCandidate){candidates.push({idx:i,attrs:elementAttrs})}}}return candidates.length<NOAH_ARK_CAPACITY?[]:candidates}_ensureNoahArkCondition(newElement){const candidates=this._getNoahArkConditionCandidates(newElement);let cLength=candidates.length;if(cLength){const neAttrs=this.treeAdapter.getAttrList(newElement);const neAttrsLength=neAttrs.length;const neAttrsMap=Object.create(null);for(let i=0;i<neAttrsLength;i++){const neAttr=neAttrs[i];neAttrsMap[neAttr.name]=neAttr.value}for(let i=0;i<neAttrsLength;i++){for(let j=0;j<cLength;j++){const cAttr=candidates[j].attrs[i];if(neAttrsMap[cAttr.name]!==cAttr.value){candidates.splice(j,1);cLength--}if(candidates.length<NOAH_ARK_CAPACITY){return}}}for(let i=cLength-1;i>=NOAH_ARK_CAPACITY-1;i--){this.entries.splice(candidates[i].idx,1);this.length--}}}insertMarker(){this.entries.push({type:FormattingElementList.MARKER_ENTRY});this.length++}pushElement(element,token){this._ensureNoahArkCondition(element);this.entries.push({type:FormattingElementList.ELEMENT_ENTRY,element:element,token:token});this.length++}insertElementAfterBookmark(element,token){let bookmarkIdx=this.length-1;for(;bookmarkIdx>=0;bookmarkIdx--){if(this.entries[bookmarkIdx]===this.bookmark){break}}this.entries.splice(bookmarkIdx+1,0,{type:FormattingElementList.ELEMENT_ENTRY,element:element,token:token});this.length++}removeEntry(entry){for(let i=this.length-1;i>=0;i--){if(this.entries[i]===entry){this.entries.splice(i,1);this.length--;break}}}clearToLastMarker(){while(this.length){const entry=this.entries.pop();this.length--;if(entry.type===FormattingElementList.MARKER_ENTRY){break}}}getElementEntryInScopeWithTagName(tagName){for(let i=this.length-1;i>=0;i--){const entry=this.entries[i];if(entry.type===FormattingElementList.MARKER_ENTRY){return null}if(this.treeAdapter.getTagName(entry.element)===tagName){return entry}}return null}getElementEntry(element){for(let i=this.length-1;i>=0;i--){const entry=this.entries[i];if(entry.type===FormattingElementList.ELEMENT_ENTRY&&entry.element===element){return entry}}return null}}FormattingElementList.MARKER_ENTRY="MARKER_ENTRY";FormattingElementList.ELEMENT_ENTRY="ELEMENT_ENTRY";module.exports=FormattingElementList},{}],837:[function(require,module,exports){"use strict";const Tokenizer=require("../tokenizer");const OpenElementStack=require("./open-element-stack");const FormattingElementList=require("./formatting-element-list");const LocationInfoParserMixin=require("../extensions/location-info/parser-mixin");const ErrorReportingParserMixin=require("../extensions/error-reporting/parser-mixin");const Mixin=require("../utils/mixin");const defaultTreeAdapter=require("../tree-adapters/default");const mergeOptions=require("../utils/merge-options");const doctype=require("../common/doctype");const foreignContent=require("../common/foreign-content");const ERR=require("../common/error-codes");const unicode=require("../common/unicode");const HTML=require("../common/html");const $=HTML.TAG_NAMES;const NS=HTML.NAMESPACES;const ATTRS=HTML.ATTRS;const DEFAULT_OPTIONS={scriptingEnabled:true,sourceCodeLocationInfo:false,onParseError:null,treeAdapter:defaultTreeAdapter};const HIDDEN_INPUT_TYPE="hidden";const AA_OUTER_LOOP_ITER=8;const AA_INNER_LOOP_ITER=3;const INITIAL_MODE="INITIAL_MODE";const BEFORE_HTML_MODE="BEFORE_HTML_MODE";const BEFORE_HEAD_MODE="BEFORE_HEAD_MODE";const IN_HEAD_MODE="IN_HEAD_MODE";const IN_HEAD_NO_SCRIPT_MODE="IN_HEAD_NO_SCRIPT_MODE";const AFTER_HEAD_MODE="AFTER_HEAD_MODE";const IN_BODY_MODE="IN_BODY_MODE";const TEXT_MODE="TEXT_MODE";const IN_TABLE_MODE="IN_TABLE_MODE";const IN_TABLE_TEXT_MODE="IN_TABLE_TEXT_MODE";const IN_CAPTION_MODE="IN_CAPTION_MODE";const IN_COLUMN_GROUP_MODE="IN_COLUMN_GROUP_MODE";const IN_TABLE_BODY_MODE="IN_TABLE_BODY_MODE";const IN_ROW_MODE="IN_ROW_MODE";const IN_CELL_MODE="IN_CELL_MODE";const IN_SELECT_MODE="IN_SELECT_MODE";const IN_SELECT_IN_TABLE_MODE="IN_SELECT_IN_TABLE_MODE";const IN_TEMPLATE_MODE="IN_TEMPLATE_MODE";const AFTER_BODY_MODE="AFTER_BODY_MODE";const IN_FRAMESET_MODE="IN_FRAMESET_MODE";const AFTER_FRAMESET_MODE="AFTER_FRAMESET_MODE";const AFTER_AFTER_BODY_MODE="AFTER_AFTER_BODY_MODE";const AFTER_AFTER_FRAMESET_MODE="AFTER_AFTER_FRAMESET_MODE";const INSERTION_MODE_RESET_MAP={[$.TR]:IN_ROW_MODE,[$.TBODY]:IN_TABLE_BODY_MODE,[$.THEAD]:IN_TABLE_BODY_MODE,[$.TFOOT]:IN_TABLE_BODY_MODE,[$.CAPTION]:IN_CAPTION_MODE,[$.COLGROUP]:IN_COLUMN_GROUP_MODE,[$.TABLE]:IN_TABLE_MODE,[$.BODY]:IN_BODY_MODE,[$.FRAMESET]:IN_FRAMESET_MODE};const TEMPLATE_INSERTION_MODE_SWITCH_MAP={[$.CAPTION]:IN_TABLE_MODE,[$.COLGROUP]:IN_TABLE_MODE,[$.TBODY]:IN_TABLE_MODE,[$.TFOOT]:IN_TABLE_MODE,[$.THEAD]:IN_TABLE_MODE,[$.COL]:IN_COLUMN_GROUP_MODE,[$.TR]:IN_TABLE_BODY_MODE,[$.TD]:IN_ROW_MODE,[$.TH]:IN_ROW_MODE};const TOKEN_HANDLERS={[INITIAL_MODE]:{[Tokenizer.CHARACTER_TOKEN]:tokenInInitialMode,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenInInitialMode,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:doctypeInInitialMode,[Tokenizer.START_TAG_TOKEN]:tokenInInitialMode,[Tokenizer.END_TAG_TOKEN]:tokenInInitialMode,[Tokenizer.EOF_TOKEN]:tokenInInitialMode},[BEFORE_HTML_MODE]:{[Tokenizer.CHARACTER_TOKEN]:tokenBeforeHtml,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenBeforeHtml,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagBeforeHtml,[Tokenizer.END_TAG_TOKEN]:endTagBeforeHtml,[Tokenizer.EOF_TOKEN]:tokenBeforeHtml},[BEFORE_HEAD_MODE]:{[Tokenizer.CHARACTER_TOKEN]:tokenBeforeHead,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenBeforeHead,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:misplacedDoctype,[Tokenizer.START_TAG_TOKEN]:startTagBeforeHead,[Tokenizer.END_TAG_TOKEN]:endTagBeforeHead,[Tokenizer.EOF_TOKEN]:tokenBeforeHead},[IN_HEAD_MODE]:{[Tokenizer.CHARACTER_TOKEN]:tokenInHead,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenInHead,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:misplacedDoctype,[Tokenizer.START_TAG_TOKEN]:startTagInHead,[Tokenizer.END_TAG_TOKEN]:endTagInHead,[Tokenizer.EOF_TOKEN]:tokenInHead},[IN_HEAD_NO_SCRIPT_MODE]:{[Tokenizer.CHARACTER_TOKEN]:tokenInHeadNoScript,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenInHeadNoScript,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:misplacedDoctype,[Tokenizer.START_TAG_TOKEN]:startTagInHeadNoScript,[Tokenizer.END_TAG_TOKEN]:endTagInHeadNoScript,[Tokenizer.EOF_TOKEN]:tokenInHeadNoScript},[AFTER_HEAD_MODE]:{[Tokenizer.CHARACTER_TOKEN]:tokenAfterHead,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenAfterHead,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:misplacedDoctype,[Tokenizer.START_TAG_TOKEN]:startTagAfterHead,[Tokenizer.END_TAG_TOKEN]:endTagAfterHead,[Tokenizer.EOF_TOKEN]:tokenAfterHead},[IN_BODY_MODE]:{[Tokenizer.CHARACTER_TOKEN]:characterInBody,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInBody,[Tokenizer.END_TAG_TOKEN]:endTagInBody,[Tokenizer.EOF_TOKEN]:eofInBody},[TEXT_MODE]:{[Tokenizer.CHARACTER_TOKEN]:insertCharacters,[Tokenizer.NULL_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:ignoreToken,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:ignoreToken,[Tokenizer.END_TAG_TOKEN]:endTagInText,[Tokenizer.EOF_TOKEN]:eofInText},[IN_TABLE_MODE]:{[Tokenizer.CHARACTER_TOKEN]:characterInTable,[Tokenizer.NULL_CHARACTER_TOKEN]:characterInTable,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:characterInTable,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInTable,[Tokenizer.END_TAG_TOKEN]:endTagInTable,[Tokenizer.EOF_TOKEN]:eofInBody},[IN_TABLE_TEXT_MODE]:{[Tokenizer.CHARACTER_TOKEN]:characterInTableText,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInTableText,[Tokenizer.COMMENT_TOKEN]:tokenInTableText,[Tokenizer.DOCTYPE_TOKEN]:tokenInTableText,[Tokenizer.START_TAG_TOKEN]:tokenInTableText,[Tokenizer.END_TAG_TOKEN]:tokenInTableText,[Tokenizer.EOF_TOKEN]:tokenInTableText},[IN_CAPTION_MODE]:{[Tokenizer.CHARACTER_TOKEN]:characterInBody,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInCaption,[Tokenizer.END_TAG_TOKEN]:endTagInCaption,[Tokenizer.EOF_TOKEN]:eofInBody},[IN_COLUMN_GROUP_MODE]:{[Tokenizer.CHARACTER_TOKEN]:tokenInColumnGroup,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenInColumnGroup,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInColumnGroup,[Tokenizer.END_TAG_TOKEN]:endTagInColumnGroup,[Tokenizer.EOF_TOKEN]:eofInBody},[IN_TABLE_BODY_MODE]:{[Tokenizer.CHARACTER_TOKEN]:characterInTable,[Tokenizer.NULL_CHARACTER_TOKEN]:characterInTable,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:characterInTable,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInTableBody,[Tokenizer.END_TAG_TOKEN]:endTagInTableBody,[Tokenizer.EOF_TOKEN]:eofInBody},[IN_ROW_MODE]:{[Tokenizer.CHARACTER_TOKEN]:characterInTable,[Tokenizer.NULL_CHARACTER_TOKEN]:characterInTable,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:characterInTable,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInRow,[Tokenizer.END_TAG_TOKEN]:endTagInRow,[Tokenizer.EOF_TOKEN]:eofInBody},[IN_CELL_MODE]:{[Tokenizer.CHARACTER_TOKEN]:characterInBody,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInCell,[Tokenizer.END_TAG_TOKEN]:endTagInCell,[Tokenizer.EOF_TOKEN]:eofInBody},[IN_SELECT_MODE]:{[Tokenizer.CHARACTER_TOKEN]:insertCharacters,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInSelect,[Tokenizer.END_TAG_TOKEN]:endTagInSelect,[Tokenizer.EOF_TOKEN]:eofInBody},[IN_SELECT_IN_TABLE_MODE]:{[Tokenizer.CHARACTER_TOKEN]:insertCharacters,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInSelectInTable,[Tokenizer.END_TAG_TOKEN]:endTagInSelectInTable,[Tokenizer.EOF_TOKEN]:eofInBody},[IN_TEMPLATE_MODE]:{[Tokenizer.CHARACTER_TOKEN]:characterInBody,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInTemplate,[Tokenizer.END_TAG_TOKEN]:endTagInTemplate,[Tokenizer.EOF_TOKEN]:eofInTemplate},[AFTER_BODY_MODE]:{[Tokenizer.CHARACTER_TOKEN]:tokenAfterBody,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenAfterBody,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendCommentToRootHtmlElement,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagAfterBody,[Tokenizer.END_TAG_TOKEN]:endTagAfterBody,[Tokenizer.EOF_TOKEN]:stopParsing},[IN_FRAMESET_MODE]:{[Tokenizer.CHARACTER_TOKEN]:ignoreToken,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagInFrameset,[Tokenizer.END_TAG_TOKEN]:endTagInFrameset,[Tokenizer.EOF_TOKEN]:stopParsing},[AFTER_FRAMESET_MODE]:{[Tokenizer.CHARACTER_TOKEN]:ignoreToken,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:insertCharacters,[Tokenizer.COMMENT_TOKEN]:appendComment,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagAfterFrameset,[Tokenizer.END_TAG_TOKEN]:endTagAfterFrameset,[Tokenizer.EOF_TOKEN]:stopParsing},[AFTER_AFTER_BODY_MODE]:{[Tokenizer.CHARACTER_TOKEN]:tokenAfterAfterBody,[Tokenizer.NULL_CHARACTER_TOKEN]:tokenAfterAfterBody,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendCommentToDocument,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagAfterAfterBody,[Tokenizer.END_TAG_TOKEN]:tokenAfterAfterBody,[Tokenizer.EOF_TOKEN]:stopParsing},[AFTER_AFTER_FRAMESET_MODE]:{[Tokenizer.CHARACTER_TOKEN]:ignoreToken,[Tokenizer.NULL_CHARACTER_TOKEN]:ignoreToken,[Tokenizer.WHITESPACE_CHARACTER_TOKEN]:whitespaceCharacterInBody,[Tokenizer.COMMENT_TOKEN]:appendCommentToDocument,[Tokenizer.DOCTYPE_TOKEN]:ignoreToken,[Tokenizer.START_TAG_TOKEN]:startTagAfterAfterFrameset,[Tokenizer.END_TAG_TOKEN]:ignoreToken,[Tokenizer.EOF_TOKEN]:stopParsing}};class Parser{constructor(options){this.options=mergeOptions(DEFAULT_OPTIONS,options);this.treeAdapter=this.options.treeAdapter;this.pendingScript=null;if(this.options.sourceCodeLocationInfo){Mixin.install(this,LocationInfoParserMixin)}if(this.options.onParseError){Mixin.install(this,ErrorReportingParserMixin,{onParseError:this.options.onParseError})}}parse(html){const document=this.treeAdapter.createDocument();this._bootstrap(document,null);this.tokenizer.write(html,true);this._runParsingLoop(null);return document}parseFragment(html,fragmentContext){if(!fragmentContext){fragmentContext=this.treeAdapter.createElement($.TEMPLATE,NS.HTML,[])}const documentMock=this.treeAdapter.createElement("documentmock",NS.HTML,[]);this._bootstrap(documentMock,fragmentContext);if(this.treeAdapter.getTagName(fragmentContext)===$.TEMPLATE){this._pushTmplInsertionMode(IN_TEMPLATE_MODE)}this._initTokenizerForFragmentParsing();this._insertFakeRootElement();this._resetInsertionMode();this._findFormInFragmentContext();this.tokenizer.write(html,true);this._runParsingLoop(null);const rootElement=this.treeAdapter.getFirstChild(documentMock);const fragment=this.treeAdapter.createDocumentFragment();this._adoptNodes(rootElement,fragment);return fragment}_bootstrap(document,fragmentContext){this.tokenizer=new Tokenizer(this.options);this.stopped=false;this.insertionMode=INITIAL_MODE;this.originalInsertionMode="";this.document=document;this.fragmentContext=fragmentContext;this.headElement=null;this.formElement=null;this.openElements=new OpenElementStack(this.document,this.treeAdapter);this.activeFormattingElements=new FormattingElementList(this.treeAdapter);this.tmplInsertionModeStack=[];this.tmplInsertionModeStackTop=-1;this.currentTmplInsertionMode=null;this.pendingCharacterTokens=[];this.hasNonWhitespacePendingCharacterToken=false;this.framesetOk=true;this.skipNextNewLine=false;this.fosterParentingEnabled=false}_err(){}_runParsingLoop(scriptHandler){while(!this.stopped){this._setupTokenizerCDATAMode();const token=this.tokenizer.getNextToken();if(token.type===Tokenizer.HIBERNATION_TOKEN){break}if(this.skipNextNewLine){this.skipNextNewLine=false;if(token.type===Tokenizer.WHITESPACE_CHARACTER_TOKEN&&token.chars[0]==="\n"){if(token.chars.length===1){continue}token.chars=token.chars.substr(1)}}this._processInputToken(token);if(scriptHandler&&this.pendingScript){break}}}runParsingLoopForCurrentChunk(writeCallback,scriptHandler){this._runParsingLoop(scriptHandler);if(scriptHandler&&this.pendingScript){const script=this.pendingScript;this.pendingScript=null;scriptHandler(script);return}if(writeCallback){writeCallback()}}_setupTokenizerCDATAMode(){const current=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=current&¤t!==this.document&&this.treeAdapter.getNamespaceURI(current)!==NS.HTML&&!this._isIntegrationPoint(current)}_switchToTextParsing(currentToken,nextTokenizerState){this._insertElement(currentToken,NS.HTML);this.tokenizer.state=nextTokenizerState;this.originalInsertionMode=this.insertionMode;this.insertionMode=TEXT_MODE}switchToPlaintextParsing(){this.insertionMode=TEXT_MODE;this.originalInsertionMode=IN_BODY_MODE;this.tokenizer.state=Tokenizer.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let node=this.fragmentContext;do{if(this.treeAdapter.getTagName(node)===$.FORM){this.formElement=node;break}node=this.treeAdapter.getParentNode(node)}while(node)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===NS.HTML){const tn=this.treeAdapter.getTagName(this.fragmentContext);if(tn===$.TITLE||tn===$.TEXTAREA){this.tokenizer.state=Tokenizer.MODE.RCDATA}else if(tn===$.STYLE||tn===$.XMP||tn===$.IFRAME||tn===$.NOEMBED||tn===$.NOFRAMES||tn===$.NOSCRIPT){this.tokenizer.state=Tokenizer.MODE.RAWTEXT}else if(tn===$.SCRIPT){this.tokenizer.state=Tokenizer.MODE.SCRIPT_DATA}else if(tn===$.PLAINTEXT){this.tokenizer.state=Tokenizer.MODE.PLAINTEXT}}}_setDocumentType(token){const name=token.name||"";const publicId=token.publicId||"";const systemId=token.systemId||"";this.treeAdapter.setDocumentType(this.document,name,publicId,systemId)}_attachElementToTree(element){if(this._shouldFosterParentOnInsertion()){this._fosterParentElement(element)}else{const parent=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(parent,element)}}_appendElement(token,namespaceURI){const element=this.treeAdapter.createElement(token.tagName,namespaceURI,token.attrs);this._attachElementToTree(element)}_insertElement(token,namespaceURI){const element=this.treeAdapter.createElement(token.tagName,namespaceURI,token.attrs);this._attachElementToTree(element);this.openElements.push(element)}_insertFakeElement(tagName){const element=this.treeAdapter.createElement(tagName,NS.HTML,[]);this._attachElementToTree(element);this.openElements.push(element)}_insertTemplate(token){const tmpl=this.treeAdapter.createElement(token.tagName,NS.HTML,token.attrs);const content=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(tmpl,content);this._attachElementToTree(tmpl);this.openElements.push(tmpl)}_insertFakeRootElement(){const element=this.treeAdapter.createElement($.HTML,NS.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,element);this.openElements.push(element)}_appendCommentNode(token,parent){const commentNode=this.treeAdapter.createCommentNode(token.data);this.treeAdapter.appendChild(parent,commentNode)}_insertCharacters(token){if(this._shouldFosterParentOnInsertion()){this._fosterParentText(token.chars)}else{const parent=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(parent,token.chars)}}_adoptNodes(donor,recipient){for(let child=this.treeAdapter.getFirstChild(donor);child;child=this.treeAdapter.getFirstChild(donor)){this.treeAdapter.detachNode(child);this.treeAdapter.appendChild(recipient,child)}}_shouldProcessTokenInForeignContent(token){const current=this._getAdjustedCurrentElement();if(!current||current===this.document){return false}const ns=this.treeAdapter.getNamespaceURI(current);if(ns===NS.HTML){return false}if(this.treeAdapter.getTagName(current)===$.ANNOTATION_XML&&ns===NS.MATHML&&token.type===Tokenizer.START_TAG_TOKEN&&token.tagName===$.SVG){return false}const isCharacterToken=token.type===Tokenizer.CHARACTER_TOKEN||token.type===Tokenizer.NULL_CHARACTER_TOKEN||token.type===Tokenizer.WHITESPACE_CHARACTER_TOKEN;const isMathMLTextStartTag=token.type===Tokenizer.START_TAG_TOKEN&&token.tagName!==$.MGLYPH&&token.tagName!==$.MALIGNMARK;if((isMathMLTextStartTag||isCharacterToken)&&this._isIntegrationPoint(current,NS.MATHML)){return false}if((token.type===Tokenizer.START_TAG_TOKEN||isCharacterToken)&&this._isIntegrationPoint(current,NS.HTML)){return false}return token.type!==Tokenizer.EOF_TOKEN}_processToken(token){TOKEN_HANDLERS[this.insertionMode][token.type](this,token)}_processTokenInBodyMode(token){TOKEN_HANDLERS[IN_BODY_MODE][token.type](this,token)}_processTokenInForeignContent(token){if(token.type===Tokenizer.CHARACTER_TOKEN){characterInForeignContent(this,token)}else if(token.type===Tokenizer.NULL_CHARACTER_TOKEN){nullCharacterInForeignContent(this,token)}else if(token.type===Tokenizer.WHITESPACE_CHARACTER_TOKEN){insertCharacters(this,token)}else if(token.type===Tokenizer.COMMENT_TOKEN){appendComment(this,token)}else if(token.type===Tokenizer.START_TAG_TOKEN){startTagInForeignContent(this,token)}else if(token.type===Tokenizer.END_TAG_TOKEN){endTagInForeignContent(this,token)}}_processInputToken(token){if(this._shouldProcessTokenInForeignContent(token)){this._processTokenInForeignContent(token)}else{this._processToken(token)}if(token.type===Tokenizer.START_TAG_TOKEN&&token.selfClosing&&!token.ackSelfClosing){this._err(ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}}_isIntegrationPoint(element,foreignNS){const tn=this.treeAdapter.getTagName(element);const ns=this.treeAdapter.getNamespaceURI(element);const attrs=this.treeAdapter.getAttrList(element);return foreignContent.isIntegrationPoint(tn,ns,attrs,foreignNS)}_reconstructActiveFormattingElements(){const listLength=this.activeFormattingElements.length;if(listLength){let unopenIdx=listLength;let entry=null;do{unopenIdx--;entry=this.activeFormattingElements.entries[unopenIdx];if(entry.type===FormattingElementList.MARKER_ENTRY||this.openElements.contains(entry.element)){unopenIdx++;break}}while(unopenIdx>0);for(let i=unopenIdx;i<listLength;i++){entry=this.activeFormattingElements.entries[i];this._insertElement(entry.token,this.treeAdapter.getNamespaceURI(entry.element));entry.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags();this.openElements.popUntilTableCellPopped();this.activeFormattingElements.clearToLastMarker();this.insertionMode=IN_ROW_MODE}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion($.P);this.openElements.popUntilTagNamePopped($.P)}_resetInsertionMode(){for(let i=this.openElements.stackTop,last=false;i>=0;i--){let element=this.openElements.items[i];if(i===0){last=true;if(this.fragmentContext){element=this.fragmentContext}}const tn=this.treeAdapter.getTagName(element);const newInsertionMode=INSERTION_MODE_RESET_MAP[tn];if(newInsertionMode){this.insertionMode=newInsertionMode;break}else if(!last&&(tn===$.TD||tn===$.TH)){this.insertionMode=IN_CELL_MODE;break}else if(!last&&tn===$.HEAD){this.insertionMode=IN_HEAD_MODE;break}else if(tn===$.SELECT){this._resetInsertionModeForSelect(i);break}else if(tn===$.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(tn===$.HTML){this.insertionMode=this.headElement?AFTER_HEAD_MODE:BEFORE_HEAD_MODE;break}else if(last){this.insertionMode=IN_BODY_MODE;break}}}_resetInsertionModeForSelect(selectIdx){if(selectIdx>0){for(let i=selectIdx-1;i>0;i--){const ancestor=this.openElements.items[i];const tn=this.treeAdapter.getTagName(ancestor);if(tn===$.TEMPLATE){break}else if(tn===$.TABLE){this.insertionMode=IN_SELECT_IN_TABLE_MODE;return}}}this.insertionMode=IN_SELECT_MODE}_pushTmplInsertionMode(mode){this.tmplInsertionModeStack.push(mode);this.tmplInsertionModeStackTop++;this.currentTmplInsertionMode=mode}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop();this.tmplInsertionModeStackTop--;this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(element){const tn=this.treeAdapter.getTagName(element);return tn===$.TABLE||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const location={parent:null,beforeElement:null};for(let i=this.openElements.stackTop;i>=0;i--){const openElement=this.openElements.items[i];const tn=this.treeAdapter.getTagName(openElement);const ns=this.treeAdapter.getNamespaceURI(openElement);if(tn===$.TEMPLATE&&ns===NS.HTML){location.parent=this.treeAdapter.getTemplateContent(openElement);break}else if(tn===$.TABLE){location.parent=this.treeAdapter.getParentNode(openElement);if(location.parent){location.beforeElement=openElement}else{location.parent=this.openElements.items[i-1]}break}}if(!location.parent){location.parent=this.openElements.items[0]}return location}_fosterParentElement(element){const location=this._findFosterParentingLocation();if(location.beforeElement){this.treeAdapter.insertBefore(location.parent,element,location.beforeElement)}else{this.treeAdapter.appendChild(location.parent,element)}}_fosterParentText(chars){const location=this._findFosterParentingLocation();if(location.beforeElement){this.treeAdapter.insertTextBefore(location.parent,chars,location.beforeElement)}else{this.treeAdapter.insertText(location.parent,chars)}}_isSpecialElement(element){const tn=this.treeAdapter.getTagName(element);const ns=this.treeAdapter.getNamespaceURI(element);return HTML.SPECIAL_ELEMENTS[ns][tn]}}module.exports=Parser;function aaObtainFormattingElementEntry(p,token){let formattingElementEntry=p.activeFormattingElements.getElementEntryInScopeWithTagName(token.tagName);if(formattingElementEntry){if(!p.openElements.contains(formattingElementEntry.element)){p.activeFormattingElements.removeEntry(formattingElementEntry);formattingElementEntry=null}else if(!p.openElements.hasInScope(token.tagName)){formattingElementEntry=null}}else{genericEndTagInBody(p,token)}return formattingElementEntry}function aaObtainFurthestBlock(p,formattingElementEntry){let furthestBlock=null;for(let i=p.openElements.stackTop;i>=0;i--){const element=p.openElements.items[i];if(element===formattingElementEntry.element){break}if(p._isSpecialElement(element)){furthestBlock=element}}if(!furthestBlock){p.openElements.popUntilElementPopped(formattingElementEntry.element);p.activeFormattingElements.removeEntry(formattingElementEntry)}return furthestBlock}function aaInnerLoop(p,furthestBlock,formattingElement){let lastElement=furthestBlock;let nextElement=p.openElements.getCommonAncestor(furthestBlock);for(let i=0,element=nextElement;element!==formattingElement;i++,element=nextElement){nextElement=p.openElements.getCommonAncestor(element);const elementEntry=p.activeFormattingElements.getElementEntry(element);const counterOverflow=elementEntry&&i>=AA_INNER_LOOP_ITER;const shouldRemoveFromOpenElements=!elementEntry||counterOverflow;if(shouldRemoveFromOpenElements){if(counterOverflow){p.activeFormattingElements.removeEntry(elementEntry)}p.openElements.remove(element)}else{element=aaRecreateElementFromEntry(p,elementEntry);if(lastElement===furthestBlock){p.activeFormattingElements.bookmark=elementEntry}p.treeAdapter.detachNode(lastElement);p.treeAdapter.appendChild(element,lastElement);lastElement=element}}return lastElement}function aaRecreateElementFromEntry(p,elementEntry){const ns=p.treeAdapter.getNamespaceURI(elementEntry.element);const newElement=p.treeAdapter.createElement(elementEntry.token.tagName,ns,elementEntry.token.attrs);p.openElements.replace(elementEntry.element,newElement);elementEntry.element=newElement;return newElement}function aaInsertLastNodeInCommonAncestor(p,commonAncestor,lastElement){if(p._isElementCausesFosterParenting(commonAncestor)){p._fosterParentElement(lastElement)}else{const tn=p.treeAdapter.getTagName(commonAncestor);const ns=p.treeAdapter.getNamespaceURI(commonAncestor);if(tn===$.TEMPLATE&&ns===NS.HTML){commonAncestor=p.treeAdapter.getTemplateContent(commonAncestor)}p.treeAdapter.appendChild(commonAncestor,lastElement)}}function aaReplaceFormattingElement(p,furthestBlock,formattingElementEntry){const ns=p.treeAdapter.getNamespaceURI(formattingElementEntry.element);const token=formattingElementEntry.token;const newElement=p.treeAdapter.createElement(token.tagName,ns,token.attrs);p._adoptNodes(furthestBlock,newElement);p.treeAdapter.appendChild(furthestBlock,newElement);p.activeFormattingElements.insertElementAfterBookmark(newElement,formattingElementEntry.token);p.activeFormattingElements.removeEntry(formattingElementEntry);p.openElements.remove(formattingElementEntry.element);p.openElements.insertAfter(furthestBlock,newElement)}function callAdoptionAgency(p,token){let formattingElementEntry;for(let i=0;i<AA_OUTER_LOOP_ITER;i++){formattingElementEntry=aaObtainFormattingElementEntry(p,token,formattingElementEntry);if(!formattingElementEntry){break}const furthestBlock=aaObtainFurthestBlock(p,formattingElementEntry);if(!furthestBlock){break}p.activeFormattingElements.bookmark=formattingElementEntry;const lastElement=aaInnerLoop(p,furthestBlock,formattingElementEntry.element);const commonAncestor=p.openElements.getCommonAncestor(formattingElementEntry.element);p.treeAdapter.detachNode(lastElement);aaInsertLastNodeInCommonAncestor(p,commonAncestor,lastElement);aaReplaceFormattingElement(p,furthestBlock,formattingElementEntry)}}function ignoreToken(){}function misplacedDoctype(p){p._err(ERR.misplacedDoctype)}function appendComment(p,token){p._appendCommentNode(token,p.openElements.currentTmplContent||p.openElements.current)}function appendCommentToRootHtmlElement(p,token){p._appendCommentNode(token,p.openElements.items[0])}function appendCommentToDocument(p,token){p._appendCommentNode(token,p.document)}function insertCharacters(p,token){p._insertCharacters(token)}function stopParsing(p){p.stopped=true}function doctypeInInitialMode(p,token){p._setDocumentType(token);const mode=token.forceQuirks?HTML.DOCUMENT_MODE.QUIRKS:doctype.getDocumentMode(token);if(!doctype.isConforming(token)){p._err(ERR.nonConformingDoctype)}p.treeAdapter.setDocumentMode(p.document,mode);p.insertionMode=BEFORE_HTML_MODE}function tokenInInitialMode(p,token){p._err(ERR.missingDoctype,{beforeToken:true});p.treeAdapter.setDocumentMode(p.document,HTML.DOCUMENT_MODE.QUIRKS);p.insertionMode=BEFORE_HTML_MODE;p._processToken(token)}function startTagBeforeHtml(p,token){if(token.tagName===$.HTML){p._insertElement(token,NS.HTML);p.insertionMode=BEFORE_HEAD_MODE}else{tokenBeforeHtml(p,token)}}function endTagBeforeHtml(p,token){const tn=token.tagName;if(tn===$.HTML||tn===$.HEAD||tn===$.BODY||tn===$.BR){tokenBeforeHtml(p,token)}}function tokenBeforeHtml(p,token){p._insertFakeRootElement();p.insertionMode=BEFORE_HEAD_MODE;p._processToken(token)}function startTagBeforeHead(p,token){const tn=token.tagName;if(tn===$.HTML){startTagInBody(p,token)}else if(tn===$.HEAD){p._insertElement(token,NS.HTML);p.headElement=p.openElements.current;p.insertionMode=IN_HEAD_MODE}else{tokenBeforeHead(p,token)}}function endTagBeforeHead(p,token){const tn=token.tagName;if(tn===$.HEAD||tn===$.BODY||tn===$.HTML||tn===$.BR){tokenBeforeHead(p,token)}else{p._err(ERR.endTagWithoutMatchingOpenElement)}}function tokenBeforeHead(p,token){p._insertFakeElement($.HEAD);p.headElement=p.openElements.current;p.insertionMode=IN_HEAD_MODE;p._processToken(token)}function startTagInHead(p,token){const tn=token.tagName;if(tn===$.HTML){startTagInBody(p,token)}else if(tn===$.BASE||tn===$.BASEFONT||tn===$.BGSOUND||tn===$.LINK||tn===$.META){p._appendElement(token,NS.HTML);token.ackSelfClosing=true}else if(tn===$.TITLE){p._switchToTextParsing(token,Tokenizer.MODE.RCDATA)}else if(tn===$.NOSCRIPT){if(p.options.scriptingEnabled){p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT)}else{p._insertElement(token,NS.HTML);p.insertionMode=IN_HEAD_NO_SCRIPT_MODE}}else if(tn===$.NOFRAMES||tn===$.STYLE){p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT)}else if(tn===$.SCRIPT){p._switchToTextParsing(token,Tokenizer.MODE.SCRIPT_DATA)}else if(tn===$.TEMPLATE){p._insertTemplate(token,NS.HTML);p.activeFormattingElements.insertMarker();p.framesetOk=false;p.insertionMode=IN_TEMPLATE_MODE;p._pushTmplInsertionMode(IN_TEMPLATE_MODE)}else if(tn===$.HEAD){p._err(ERR.misplacedStartTagForHeadElement)}else{tokenInHead(p,token)}}function endTagInHead(p,token){const tn=token.tagName;if(tn===$.HEAD){p.openElements.pop();p.insertionMode=AFTER_HEAD_MODE}else if(tn===$.BODY||tn===$.BR||tn===$.HTML){tokenInHead(p,token)}else if(tn===$.TEMPLATE){if(p.openElements.tmplCount>0){p.openElements.generateImpliedEndTagsThoroughly();if(p.openElements.currentTagName!==$.TEMPLATE){p._err(ERR.closingOfElementWithOpenChildElements)}p.openElements.popUntilTagNamePopped($.TEMPLATE);p.activeFormattingElements.clearToLastMarker();p._popTmplInsertionMode();p._resetInsertionMode()}else{p._err(ERR.endTagWithoutMatchingOpenElement)}}else{p._err(ERR.endTagWithoutMatchingOpenElement)}}function tokenInHead(p,token){p.openElements.pop();p.insertionMode=AFTER_HEAD_MODE;p._processToken(token)}function startTagInHeadNoScript(p,token){const tn=token.tagName;if(tn===$.HTML){startTagInBody(p,token)}else if(tn===$.BASEFONT||tn===$.BGSOUND||tn===$.HEAD||tn===$.LINK||tn===$.META||tn===$.NOFRAMES||tn===$.STYLE){startTagInHead(p,token)}else if(tn===$.NOSCRIPT){p._err(ERR.nestedNoscriptInHead)}else{tokenInHeadNoScript(p,token)}}function endTagInHeadNoScript(p,token){const tn=token.tagName;if(tn===$.NOSCRIPT){p.openElements.pop();p.insertionMode=IN_HEAD_MODE}else if(tn===$.BR){tokenInHeadNoScript(p,token)}else{p._err(ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(p,token){const errCode=token.type===Tokenizer.EOF_TOKEN?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;p._err(errCode);p.openElements.pop();p.insertionMode=IN_HEAD_MODE;p._processToken(token)}function startTagAfterHead(p,token){const tn=token.tagName;if(tn===$.HTML){startTagInBody(p,token)}else if(tn===$.BODY){p._insertElement(token,NS.HTML);p.framesetOk=false;p.insertionMode=IN_BODY_MODE}else if(tn===$.FRAMESET){p._insertElement(token,NS.HTML);p.insertionMode=IN_FRAMESET_MODE}else if(tn===$.BASE||tn===$.BASEFONT||tn===$.BGSOUND||tn===$.LINK||tn===$.META||tn===$.NOFRAMES||tn===$.SCRIPT||tn===$.STYLE||tn===$.TEMPLATE||tn===$.TITLE){p._err(ERR.abandonedHeadElementChild);p.openElements.push(p.headElement);startTagInHead(p,token);p.openElements.remove(p.headElement)}else if(tn===$.HEAD){p._err(ERR.misplacedStartTagForHeadElement)}else{tokenAfterHead(p,token)}}function endTagAfterHead(p,token){const tn=token.tagName;if(tn===$.BODY||tn===$.HTML||tn===$.BR){tokenAfterHead(p,token)}else if(tn===$.TEMPLATE){endTagInHead(p,token)}else{p._err(ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(p,token){p._insertFakeElement($.BODY);p.insertionMode=IN_BODY_MODE;p._processToken(token)}function whitespaceCharacterInBody(p,token){p._reconstructActiveFormattingElements();p._insertCharacters(token)}function characterInBody(p,token){p._reconstructActiveFormattingElements();p._insertCharacters(token);p.framesetOk=false}function htmlStartTagInBody(p,token){if(p.openElements.tmplCount===0){p.treeAdapter.adoptAttributes(p.openElements.items[0],token.attrs)}}function bodyStartTagInBody(p,token){const bodyElement=p.openElements.tryPeekProperlyNestedBodyElement();if(bodyElement&&p.openElements.tmplCount===0){p.framesetOk=false;p.treeAdapter.adoptAttributes(bodyElement,token.attrs)}}function framesetStartTagInBody(p,token){const bodyElement=p.openElements.tryPeekProperlyNestedBodyElement();if(p.framesetOk&&bodyElement){p.treeAdapter.detachNode(bodyElement);p.openElements.popAllUpToHtmlElement();p._insertElement(token,NS.HTML);p.insertionMode=IN_FRAMESET_MODE}}function addressStartTagInBody(p,token){if(p.openElements.hasInButtonScope($.P)){p._closePElement()}p._insertElement(token,NS.HTML)}function numberedHeaderStartTagInBody(p,token){if(p.openElements.hasInButtonScope($.P)){p._closePElement()}const tn=p.openElements.currentTagName;if(tn===$.H1||tn===$.H2||tn===$.H3||tn===$.H4||tn===$.H5||tn===$.H6){p.openElements.pop()}p._insertElement(token,NS.HTML)}function preStartTagInBody(p,token){if(p.openElements.hasInButtonScope($.P)){p._closePElement()}p._insertElement(token,NS.HTML);p.skipNextNewLine=true;p.framesetOk=false}function formStartTagInBody(p,token){const inTemplate=p.openElements.tmplCount>0;if(!p.formElement||inTemplate){if(p.openElements.hasInButtonScope($.P)){p._closePElement()}p._insertElement(token,NS.HTML);if(!inTemplate){p.formElement=p.openElements.current}}}function listItemStartTagInBody(p,token){p.framesetOk=false;const tn=token.tagName;for(let i=p.openElements.stackTop;i>=0;i--){const element=p.openElements.items[i];const elementTn=p.treeAdapter.getTagName(element);let closeTn=null;if(tn===$.LI&&elementTn===$.LI){closeTn=$.LI}else if((tn===$.DD||tn===$.DT)&&(elementTn===$.DD||elementTn===$.DT)){closeTn=elementTn}if(closeTn){p.openElements.generateImpliedEndTagsWithExclusion(closeTn);p.openElements.popUntilTagNamePopped(closeTn);break}if(elementTn!==$.ADDRESS&&elementTn!==$.DIV&&elementTn!==$.P&&p._isSpecialElement(element)){break}}if(p.openElements.hasInButtonScope($.P)){p._closePElement()}p._insertElement(token,NS.HTML)}function plaintextStartTagInBody(p,token){if(p.openElements.hasInButtonScope($.P)){p._closePElement()}p._insertElement(token,NS.HTML);p.tokenizer.state=Tokenizer.MODE.PLAINTEXT}function buttonStartTagInBody(p,token){if(p.openElements.hasInScope($.BUTTON)){p.openElements.generateImpliedEndTags();p.openElements.popUntilTagNamePopped($.BUTTON)}p._reconstructActiveFormattingElements();p._insertElement(token,NS.HTML);p.framesetOk=false}function aStartTagInBody(p,token){const activeElementEntry=p.activeFormattingElements.getElementEntryInScopeWithTagName($.A);if(activeElementEntry){callAdoptionAgency(p,token);p.openElements.remove(activeElementEntry.element);p.activeFormattingElements.removeEntry(activeElementEntry)}p._reconstructActiveFormattingElements();p._insertElement(token,NS.HTML);p.activeFormattingElements.pushElement(p.openElements.current,token)}function bStartTagInBody(p,token){p._reconstructActiveFormattingElements();p._insertElement(token,NS.HTML);p.activeFormattingElements.pushElement(p.openElements.current,token)}function nobrStartTagInBody(p,token){p._reconstructActiveFormattingElements();if(p.openElements.hasInScope($.NOBR)){callAdoptionAgency(p,token);p._reconstructActiveFormattingElements()}p._insertElement(token,NS.HTML);p.activeFormattingElements.pushElement(p.openElements.current,token)}function appletStartTagInBody(p,token){p._reconstructActiveFormattingElements();p._insertElement(token,NS.HTML);p.activeFormattingElements.insertMarker();p.framesetOk=false}function tableStartTagInBody(p,token){if(p.treeAdapter.getDocumentMode(p.document)!==HTML.DOCUMENT_MODE.QUIRKS&&p.openElements.hasInButtonScope($.P)){p._closePElement()}p._insertElement(token,NS.HTML);p.framesetOk=false;p.insertionMode=IN_TABLE_MODE}function areaStartTagInBody(p,token){p._reconstructActiveFormattingElements();p._appendElement(token,NS.HTML);p.framesetOk=false;token.ackSelfClosing=true}function inputStartTagInBody(p,token){p._reconstructActiveFormattingElements();p._appendElement(token,NS.HTML);const inputType=Tokenizer.getTokenAttr(token,ATTRS.TYPE);if(!inputType||inputType.toLowerCase()!==HIDDEN_INPUT_TYPE){p.framesetOk=false}token.ackSelfClosing=true}function paramStartTagInBody(p,token){p._appendElement(token,NS.HTML);token.ackSelfClosing=true}function hrStartTagInBody(p,token){if(p.openElements.hasInButtonScope($.P)){p._closePElement()}p._appendElement(token,NS.HTML);p.framesetOk=false;p.ackSelfClosing=true}function imageStartTagInBody(p,token){token.tagName=$.IMG;areaStartTagInBody(p,token)}function textareaStartTagInBody(p,token){p._insertElement(token,NS.HTML);p.skipNextNewLine=true;p.tokenizer.state=Tokenizer.MODE.RCDATA;p.originalInsertionMode=p.insertionMode;p.framesetOk=false;p.insertionMode=TEXT_MODE}function xmpStartTagInBody(p,token){if(p.openElements.hasInButtonScope($.P)){p._closePElement()}p._reconstructActiveFormattingElements();p.framesetOk=false;p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT)}function iframeStartTagInBody(p,token){p.framesetOk=false;p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT)}function noembedStartTagInBody(p,token){p._switchToTextParsing(token,Tokenizer.MODE.RAWTEXT)}function selectStartTagInBody(p,token){p._reconstructActiveFormattingElements();p._insertElement(token,NS.HTML);p.framesetOk=false;if(p.insertionMode===IN_TABLE_MODE||p.insertionMode===IN_CAPTION_MODE||p.insertionMode===IN_TABLE_BODY_MODE||p.insertionMode===IN_ROW_MODE||p.insertionMode===IN_CELL_MODE){p.insertionMode=IN_SELECT_IN_TABLE_MODE}else{p.insertionMode=IN_SELECT_MODE}}function optgroupStartTagInBody(p,token){if(p.openElements.currentTagName===$.OPTION){p.openElements.pop()}p._reconstructActiveFormattingElements();p._insertElement(token,NS.HTML)}function rbStartTagInBody(p,token){if(p.openElements.hasInScope($.RUBY)){p.openElements.generateImpliedEndTags()}p._insertElement(token,NS.HTML)}function rtStartTagInBody(p,token){if(p.openElements.hasInScope($.RUBY)){p.openElements.generateImpliedEndTagsWithExclusion($.RTC)}p._insertElement(token,NS.HTML)}function menuStartTagInBody(p,token){if(p.openElements.hasInButtonScope($.P)){p._closePElement()}p._insertElement(token,NS.HTML)}function mathStartTagInBody(p,token){p._reconstructActiveFormattingElements();foreignContent.adjustTokenMathMLAttrs(token);foreignContent.adjustTokenXMLAttrs(token);if(token.selfClosing){p._appendElement(token,NS.MATHML)}else{p._insertElement(token,NS.MATHML)}token.ackSelfClosing=true}function svgStartTagInBody(p,token){p._reconstructActiveFormattingElements();foreignContent.adjustTokenSVGAttrs(token);foreignContent.adjustTokenXMLAttrs(token);if(token.selfClosing){p._appendElement(token,NS.SVG)}else{p._insertElement(token,NS.SVG)}token.ackSelfClosing=true}function genericStartTagInBody(p,token){p._reconstructActiveFormattingElements();p._insertElement(token,NS.HTML)}function startTagInBody(p,token){const tn=token.tagName;switch(tn.length){case 1:if(tn===$.I||tn===$.S||tn===$.B||tn===$.U){bStartTagInBody(p,token)}else if(tn===$.P){addressStartTagInBody(p,token)}else if(tn===$.A){aStartTagInBody(p,token)}else{genericStartTagInBody(p,token)}break;case 2:if(tn===$.DL||tn===$.OL||tn===$.UL){addressStartTagInBody(p,token)}else if(tn===$.H1||tn===$.H2||tn===$.H3||tn===$.H4||tn===$.H5||tn===$.H6){numberedHeaderStartTagInBody(p,token)}else if(tn===$.LI||tn===$.DD||tn===$.DT){listItemStartTagInBody(p,token)}else if(tn===$.EM||tn===$.TT){bStartTagInBody(p,token)}else if(tn===$.BR){areaStartTagInBody(p,token)}else if(tn===$.HR){hrStartTagInBody(p,token)}else if(tn===$.RB){rbStartTagInBody(p,token)}else if(tn===$.RT||tn===$.RP){rtStartTagInBody(p,token)}else if(tn!==$.TH&&tn!==$.TD&&tn!==$.TR){genericStartTagInBody(p,token)}break;case 3:if(tn===$.DIV||tn===$.DIR||tn===$.NAV){addressStartTagInBody(p,token)}else if(tn===$.PRE){preStartTagInBody(p,token)}else if(tn===$.BIG){bStartTagInBody(p,token)}else if(tn===$.IMG||tn===$.WBR){areaStartTagInBody(p,token)}else if(tn===$.XMP){xmpStartTagInBody(p,token)}else if(tn===$.SVG){svgStartTagInBody(p,token)}else if(tn===$.RTC){rbStartTagInBody(p,token)}else if(tn!==$.COL){genericStartTagInBody(p,token)}break;case 4:if(tn===$.HTML){htmlStartTagInBody(p,token)}else if(tn===$.BASE||tn===$.LINK||tn===$.META){startTagInHead(p,token)}else if(tn===$.BODY){bodyStartTagInBody(p,token)}else if(tn===$.MAIN||tn===$.MENU){addressStartTagInBody(p,token)}else if(tn===$.FORM){formStartTagInBody(p,token)}else if(tn===$.CODE||tn===$.FONT){bStartTagInBody(p,token)}else if(tn===$.NOBR){nobrStartTagInBody(p,token)}else if(tn===$.AREA){areaStartTagInBody(p,token)}else if(tn===$.MATH){mathStartTagInBody(p,token)}else if(tn===$.MENU){menuStartTagInBody(p,token)}else if(tn!==$.HEAD){genericStartTagInBody(p,token)}break;case 5:if(tn===$.STYLE||tn===$.TITLE){startTagInHead(p,token)}else if(tn===$.ASIDE){addressStartTagInBody(p,token)}else if(tn===$.SMALL){bStartTagInBody(p,token)}else if(tn===$.TABLE){tableStartTagInBody(p,token)}else if(tn===$.EMBED){areaStartTagInBody(p,token)}else if(tn===$.INPUT){inputStartTagInBody(p,token)}else if(tn===$.PARAM||tn===$.TRACK){paramStartTagInBody(p,token)}else if(tn===$.IMAGE){imageStartTagInBody(p,token)}else if(tn!==$.FRAME&&tn!==$.TBODY&&tn!==$.TFOOT&&tn!==$.THEAD){genericStartTagInBody(p,token)}break;case 6:if(tn===$.SCRIPT){startTagInHead(p,token)}else if(tn===$.CENTER||tn===$.FIGURE||tn===$.FOOTER||tn===$.HEADER||tn===$.HGROUP||tn===$.DIALOG){addressStartTagInBody(p,token)}else if(tn===$.BUTTON){buttonStartTagInBody(p,token)}else if(tn===$.STRIKE||tn===$.STRONG){bStartTagInBody(p,token)}else if(tn===$.APPLET||tn===$.OBJECT){appletStartTagInBody(p,token)}else if(tn===$.KEYGEN){areaStartTagInBody(p,token)}else if(tn===$.SOURCE){paramStartTagInBody(p,token)}else if(tn===$.IFRAME){iframeStartTagInBody(p,token)}else if(tn===$.SELECT){selectStartTagInBody(p,token)}else if(tn===$.OPTION){optgroupStartTagInBody(p,token)}else{genericStartTagInBody(p,token)}break;case 7:if(tn===$.BGSOUND){startTagInHead(p,token)}else if(tn===$.DETAILS||tn===$.ADDRESS||tn===$.ARTICLE||tn===$.SECTION||tn===$.SUMMARY){addressStartTagInBody(p,token)}else if(tn===$.LISTING){preStartTagInBody(p,token)}else if(tn===$.MARQUEE){appletStartTagInBody(p,token)}else if(tn===$.NOEMBED){noembedStartTagInBody(p,token)}else if(tn!==$.CAPTION){genericStartTagInBody(p,token)}break;case 8:if(tn===$.BASEFONT){startTagInHead(p,token)}else if(tn===$.FRAMESET){framesetStartTagInBody(p,token)}else if(tn===$.FIELDSET){addressStartTagInBody(p,token)}else if(tn===$.TEXTAREA){textareaStartTagInBody(p,token)}else if(tn===$.TEMPLATE){startTagInHead(p,token)}else if(tn===$.NOSCRIPT){if(p.options.scriptingEnabled){noembedStartTagInBody(p,token)}else{genericStartTagInBody(p,token)}}else if(tn===$.OPTGROUP){optgroupStartTagInBody(p,token)}else if(tn!==$.COLGROUP){genericStartTagInBody(p,token)}break;case 9:if(tn===$.PLAINTEXT){plaintextStartTagInBody(p,token)}else{genericStartTagInBody(p,token)}break;case 10:if(tn===$.BLOCKQUOTE||tn===$.FIGCAPTION){addressStartTagInBody(p,token)}else{genericStartTagInBody(p,token)}break;default:genericStartTagInBody(p,token)}}function bodyEndTagInBody(p){if(p.openElements.hasInScope($.BODY)){p.insertionMode=AFTER_BODY_MODE}}function htmlEndTagInBody(p,token){if(p.openElements.hasInScope($.BODY)){p.insertionMode=AFTER_BODY_MODE;p._processToken(token)}}function addressEndTagInBody(p,token){const tn=token.tagName;if(p.openElements.hasInScope(tn)){p.openElements.generateImpliedEndTags();p.openElements.popUntilTagNamePopped(tn)}}function formEndTagInBody(p){const inTemplate=p.openElements.tmplCount>0;const formElement=p.formElement;if(!inTemplate){p.formElement=null}if((formElement||inTemplate)&&p.openElements.hasInScope($.FORM)){p.openElements.generateImpliedEndTags();if(inTemplate){p.openElements.popUntilTagNamePopped($.FORM)}else{p.openElements.remove(formElement)}}}function pEndTagInBody(p){if(!p.openElements.hasInButtonScope($.P)){p._insertFakeElement($.P)}p._closePElement()}function liEndTagInBody(p){if(p.openElements.hasInListItemScope($.LI)){p.openElements.generateImpliedEndTagsWithExclusion($.LI);p.openElements.popUntilTagNamePopped($.LI)}}function ddEndTagInBody(p,token){const tn=token.tagName;if(p.openElements.hasInScope(tn)){p.openElements.generateImpliedEndTagsWithExclusion(tn);p.openElements.popUntilTagNamePopped(tn)}}function numberedHeaderEndTagInBody(p){if(p.openElements.hasNumberedHeaderInScope()){p.openElements.generateImpliedEndTags();p.openElements.popUntilNumberedHeaderPopped()}}function appletEndTagInBody(p,token){const tn=token.tagName;if(p.openElements.hasInScope(tn)){p.openElements.generateImpliedEndTags();p.openElements.popUntilTagNamePopped(tn);p.activeFormattingElements.clearToLastMarker()}}function brEndTagInBody(p){p._reconstructActiveFormattingElements();p._insertFakeElement($.BR);p.openElements.pop();p.framesetOk=false}function genericEndTagInBody(p,token){const tn=token.tagName;for(let i=p.openElements.stackTop;i>0;i--){const element=p.openElements.items[i];if(p.treeAdapter.getTagName(element)===tn){p.openElements.generateImpliedEndTagsWithExclusion(tn);p.openElements.popUntilElementPopped(element);break}if(p._isSpecialElement(element)){break}}}function endTagInBody(p,token){const tn=token.tagName;switch(tn.length){case 1:if(tn===$.A||tn===$.B||tn===$.I||tn===$.S||tn===$.U){callAdoptionAgency(p,token)}else if(tn===$.P){pEndTagInBody(p,token)}else{genericEndTagInBody(p,token)}break;case 2:if(tn===$.DL||tn===$.UL||tn===$.OL){addressEndTagInBody(p,token)}else if(tn===$.LI){liEndTagInBody(p,token)}else if(tn===$.DD||tn===$.DT){ddEndTagInBody(p,token)}else if(tn===$.H1||tn===$.H2||tn===$.H3||tn===$.H4||tn===$.H5||tn===$.H6){numberedHeaderEndTagInBody(p,token)}else if(tn===$.BR){brEndTagInBody(p,token)}else if(tn===$.EM||tn===$.TT){callAdoptionAgency(p,token)}else{genericEndTagInBody(p,token)}break;case 3:if(tn===$.BIG){callAdoptionAgency(p,token)}else if(tn===$.DIR||tn===$.DIV||tn===$.NAV||tn===$.PRE){addressEndTagInBody(p,token)}else{genericEndTagInBody(p,token)}break;case 4:if(tn===$.BODY){bodyEndTagInBody(p,token)}else if(tn===$.HTML){htmlEndTagInBody(p,token)}else if(tn===$.FORM){formEndTagInBody(p,token)}else if(tn===$.CODE||tn===$.FONT||tn===$.NOBR){callAdoptionAgency(p,token)}else if(tn===$.MAIN||tn===$.MENU){addressEndTagInBody(p,token)}else{genericEndTagInBody(p,token)}break;case 5:if(tn===$.ASIDE){addressEndTagInBody(p,token)}else if(tn===$.SMALL){callAdoptionAgency(p,token)}else{genericEndTagInBody(p,token)}break;case 6:if(tn===$.CENTER||tn===$.FIGURE||tn===$.FOOTER||tn===$.HEADER||tn===$.HGROUP||tn===$.DIALOG){addressEndTagInBody(p,token)}else if(tn===$.APPLET||tn===$.OBJECT){appletEndTagInBody(p,token)}else if(tn===$.STRIKE||tn===$.STRONG){callAdoptionAgency(p,token)}else{genericEndTagInBody(p,token)}break;case 7:if(tn===$.ADDRESS||tn===$.ARTICLE||tn===$.DETAILS||tn===$.SECTION||tn===$.SUMMARY||tn===$.LISTING){addressEndTagInBody(p,token)}else if(tn===$.MARQUEE){appletEndTagInBody(p,token)}else{genericEndTagInBody(p,token)}break;case 8:if(tn===$.FIELDSET){addressEndTagInBody(p,token)}else if(tn===$.TEMPLATE){endTagInHead(p,token)}else{genericEndTagInBody(p,token)}break;case 10:if(tn===$.BLOCKQUOTE||tn===$.FIGCAPTION){addressEndTagInBody(p,token)}else{genericEndTagInBody(p,token)}break;default:genericEndTagInBody(p,token)}}function eofInBody(p,token){if(p.tmplInsertionModeStackTop>-1){eofInTemplate(p,token)}else{p.stopped=true}}function endTagInText(p,token){if(token.tagName===$.SCRIPT){p.pendingScript=p.openElements.current}p.openElements.pop();p.insertionMode=p.originalInsertionMode}function eofInText(p,token){p._err(ERR.eofInElementThatCanContainOnlyText);p.openElements.pop();p.insertionMode=p.originalInsertionMode;p._processToken(token)}function characterInTable(p,token){const curTn=p.openElements.currentTagName;if(curTn===$.TABLE||curTn===$.TBODY||curTn===$.TFOOT||curTn===$.THEAD||curTn===$.TR){p.pendingCharacterTokens=[];p.hasNonWhitespacePendingCharacterToken=false;p.originalInsertionMode=p.insertionMode;p.insertionMode=IN_TABLE_TEXT_MODE;p._processToken(token)}else{tokenInTable(p,token)}}function captionStartTagInTable(p,token){p.openElements.clearBackToTableContext();p.activeFormattingElements.insertMarker();p._insertElement(token,NS.HTML);p.insertionMode=IN_CAPTION_MODE}function colgroupStartTagInTable(p,token){p.openElements.clearBackToTableContext();p._insertElement(token,NS.HTML);p.insertionMode=IN_COLUMN_GROUP_MODE}function colStartTagInTable(p,token){p.openElements.clearBackToTableContext();p._insertFakeElement($.COLGROUP);p.insertionMode=IN_COLUMN_GROUP_MODE;p._processToken(token)}function tbodyStartTagInTable(p,token){p.openElements.clearBackToTableContext();p._insertElement(token,NS.HTML);p.insertionMode=IN_TABLE_BODY_MODE}function tdStartTagInTable(p,token){p.openElements.clearBackToTableContext();p._insertFakeElement($.TBODY);p.insertionMode=IN_TABLE_BODY_MODE;p._processToken(token)}function tableStartTagInTable(p,token){if(p.openElements.hasInTableScope($.TABLE)){p.openElements.popUntilTagNamePopped($.TABLE);p._resetInsertionMode();p._processToken(token)}}function inputStartTagInTable(p,token){const inputType=Tokenizer.getTokenAttr(token,ATTRS.TYPE);if(inputType&&inputType.toLowerCase()===HIDDEN_INPUT_TYPE){p._appendElement(token,NS.HTML)}else{tokenInTable(p,token)}token.ackSelfClosing=true}function formStartTagInTable(p,token){if(!p.formElement&&p.openElements.tmplCount===0){p._insertElement(token,NS.HTML);p.formElement=p.openElements.current;p.openElements.pop()}}function startTagInTable(p,token){const tn=token.tagName;switch(tn.length){case 2:if(tn===$.TD||tn===$.TH||tn===$.TR){tdStartTagInTable(p,token)}else{tokenInTable(p,token)}break;case 3:if(tn===$.COL){colStartTagInTable(p,token)}else{tokenInTable(p,token)}break;case 4:if(tn===$.FORM){formStartTagInTable(p,token)}else{tokenInTable(p,token)}break;case 5:if(tn===$.TABLE){tableStartTagInTable(p,token)}else if(tn===$.STYLE){startTagInHead(p,token)}else if(tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD){tbodyStartTagInTable(p,token)}else if(tn===$.INPUT){inputStartTagInTable(p,token)}else{tokenInTable(p,token)}break;case 6:if(tn===$.SCRIPT){startTagInHead(p,token)}else{tokenInTable(p,token)}break;case 7:if(tn===$.CAPTION){captionStartTagInTable(p,token)}else{tokenInTable(p,token)}break;case 8:if(tn===$.COLGROUP){colgroupStartTagInTable(p,token)}else if(tn===$.TEMPLATE){startTagInHead(p,token)}else{tokenInTable(p,token)}break;default:tokenInTable(p,token)}}function endTagInTable(p,token){const tn=token.tagName;if(tn===$.TABLE){if(p.openElements.hasInTableScope($.TABLE)){p.openElements.popUntilTagNamePopped($.TABLE);p._resetInsertionMode()}}else if(tn===$.TEMPLATE){endTagInHead(p,token)}else if(tn!==$.BODY&&tn!==$.CAPTION&&tn!==$.COL&&tn!==$.COLGROUP&&tn!==$.HTML&&tn!==$.TBODY&&tn!==$.TD&&tn!==$.TFOOT&&tn!==$.TH&&tn!==$.THEAD&&tn!==$.TR){tokenInTable(p,token)}}function tokenInTable(p,token){const savedFosterParentingState=p.fosterParentingEnabled;p.fosterParentingEnabled=true;p._processTokenInBodyMode(token);p.fosterParentingEnabled=savedFosterParentingState}function whitespaceCharacterInTableText(p,token){p.pendingCharacterTokens.push(token)}function characterInTableText(p,token){p.pendingCharacterTokens.push(token);p.hasNonWhitespacePendingCharacterToken=true}function tokenInTableText(p,token){let i=0;if(p.hasNonWhitespacePendingCharacterToken){for(;i<p.pendingCharacterTokens.length;i++){tokenInTable(p,p.pendingCharacterTokens[i])}}else{for(;i<p.pendingCharacterTokens.length;i++){p._insertCharacters(p.pendingCharacterTokens[i])}}p.insertionMode=p.originalInsertionMode;p._processToken(token)}function startTagInCaption(p,token){const tn=token.tagName;if(tn===$.CAPTION||tn===$.COL||tn===$.COLGROUP||tn===$.TBODY||tn===$.TD||tn===$.TFOOT||tn===$.TH||tn===$.THEAD||tn===$.TR){if(p.openElements.hasInTableScope($.CAPTION)){p.openElements.generateImpliedEndTags();p.openElements.popUntilTagNamePopped($.CAPTION);p.activeFormattingElements.clearToLastMarker();p.insertionMode=IN_TABLE_MODE;p._processToken(token)}}else{startTagInBody(p,token)}}function endTagInCaption(p,token){const tn=token.tagName;if(tn===$.CAPTION||tn===$.TABLE){if(p.openElements.hasInTableScope($.CAPTION)){p.openElements.generateImpliedEndTags();p.openElements.popUntilTagNamePopped($.CAPTION);p.activeFormattingElements.clearToLastMarker();p.insertionMode=IN_TABLE_MODE;if(tn===$.TABLE){p._processToken(token)}}}else if(tn!==$.BODY&&tn!==$.COL&&tn!==$.COLGROUP&&tn!==$.HTML&&tn!==$.TBODY&&tn!==$.TD&&tn!==$.TFOOT&&tn!==$.TH&&tn!==$.THEAD&&tn!==$.TR){endTagInBody(p,token)}}function startTagInColumnGroup(p,token){const tn=token.tagName;if(tn===$.HTML){startTagInBody(p,token)}else if(tn===$.COL){p._appendElement(token,NS.HTML);token.ackSelfClosing=true}else if(tn===$.TEMPLATE){startTagInHead(p,token)}else{tokenInColumnGroup(p,token)}}function endTagInColumnGroup(p,token){const tn=token.tagName;if(tn===$.COLGROUP){if(p.openElements.currentTagName===$.COLGROUP){p.openElements.pop();p.insertionMode=IN_TABLE_MODE}}else if(tn===$.TEMPLATE){endTagInHead(p,token)}else if(tn!==$.COL){tokenInColumnGroup(p,token)}}function tokenInColumnGroup(p,token){if(p.openElements.currentTagName===$.COLGROUP){p.openElements.pop();p.insertionMode=IN_TABLE_MODE;p._processToken(token)}}function startTagInTableBody(p,token){const tn=token.tagName;if(tn===$.TR){p.openElements.clearBackToTableBodyContext();p._insertElement(token,NS.HTML);p.insertionMode=IN_ROW_MODE}else if(tn===$.TH||tn===$.TD){p.openElements.clearBackToTableBodyContext();p._insertFakeElement($.TR);p.insertionMode=IN_ROW_MODE;p._processToken(token)}else if(tn===$.CAPTION||tn===$.COL||tn===$.COLGROUP||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD){if(p.openElements.hasTableBodyContextInTableScope()){p.openElements.clearBackToTableBodyContext();p.openElements.pop();p.insertionMode=IN_TABLE_MODE;p._processToken(token)}}else{startTagInTable(p,token)}}function endTagInTableBody(p,token){const tn=token.tagName;if(tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD){if(p.openElements.hasInTableScope(tn)){p.openElements.clearBackToTableBodyContext();p.openElements.pop();p.insertionMode=IN_TABLE_MODE}}else if(tn===$.TABLE){if(p.openElements.hasTableBodyContextInTableScope()){p.openElements.clearBackToTableBodyContext();p.openElements.pop();p.insertionMode=IN_TABLE_MODE;p._processToken(token)}}else if(tn!==$.BODY&&tn!==$.CAPTION&&tn!==$.COL&&tn!==$.COLGROUP||tn!==$.HTML&&tn!==$.TD&&tn!==$.TH&&tn!==$.TR){endTagInTable(p,token)}}function startTagInRow(p,token){const tn=token.tagName;if(tn===$.TH||tn===$.TD){p.openElements.clearBackToTableRowContext();p._insertElement(token,NS.HTML);p.insertionMode=IN_CELL_MODE;p.activeFormattingElements.insertMarker()}else if(tn===$.CAPTION||tn===$.COL||tn===$.COLGROUP||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR){if(p.openElements.hasInTableScope($.TR)){p.openElements.clearBackToTableRowContext();p.openElements.pop();p.insertionMode=IN_TABLE_BODY_MODE;p._processToken(token)}}else{startTagInTable(p,token)}}function endTagInRow(p,token){const tn=token.tagName;if(tn===$.TR){if(p.openElements.hasInTableScope($.TR)){p.openElements.clearBackToTableRowContext();p.openElements.pop();p.insertionMode=IN_TABLE_BODY_MODE}}else if(tn===$.TABLE){if(p.openElements.hasInTableScope($.TR)){p.openElements.clearBackToTableRowContext();p.openElements.pop();p.insertionMode=IN_TABLE_BODY_MODE;p._processToken(token)}}else if(tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD){if(p.openElements.hasInTableScope(tn)||p.openElements.hasInTableScope($.TR)){p.openElements.clearBackToTableRowContext();p.openElements.pop();p.insertionMode=IN_TABLE_BODY_MODE;p._processToken(token)}}else if(tn!==$.BODY&&tn!==$.CAPTION&&tn!==$.COL&&tn!==$.COLGROUP||tn!==$.HTML&&tn!==$.TD&&tn!==$.TH){endTagInTable(p,token)}}function startTagInCell(p,token){const tn=token.tagName;if(tn===$.CAPTION||tn===$.COL||tn===$.COLGROUP||tn===$.TBODY||tn===$.TD||tn===$.TFOOT||tn===$.TH||tn===$.THEAD||tn===$.TR){if(p.openElements.hasInTableScope($.TD)||p.openElements.hasInTableScope($.TH)){p._closeTableCell();p._processToken(token)}}else{startTagInBody(p,token)}}function endTagInCell(p,token){const tn=token.tagName;if(tn===$.TD||tn===$.TH){if(p.openElements.hasInTableScope(tn)){p.openElements.generateImpliedEndTags();p.openElements.popUntilTagNamePopped(tn);p.activeFormattingElements.clearToLastMarker();p.insertionMode=IN_ROW_MODE}}else if(tn===$.TABLE||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR){if(p.openElements.hasInTableScope(tn)){p._closeTableCell();p._processToken(token)}}else if(tn!==$.BODY&&tn!==$.CAPTION&&tn!==$.COL&&tn!==$.COLGROUP&&tn!==$.HTML){endTagInBody(p,token)}}function startTagInSelect(p,token){const tn=token.tagName;if(tn===$.HTML){startTagInBody(p,token)}else if(tn===$.OPTION){if(p.openElements.currentTagName===$.OPTION){p.openElements.pop()}p._insertElement(token,NS.HTML)}else if(tn===$.OPTGROUP){if(p.openElements.currentTagName===$.OPTION){p.openElements.pop()}if(p.openElements.currentTagName===$.OPTGROUP){p.openElements.pop()}p._insertElement(token,NS.HTML)}else if(tn===$.INPUT||tn===$.KEYGEN||tn===$.TEXTAREA||tn===$.SELECT){if(p.openElements.hasInSelectScope($.SELECT)){p.openElements.popUntilTagNamePopped($.SELECT);p._resetInsertionMode();if(tn!==$.SELECT){p._processToken(token)}}}else if(tn===$.SCRIPT||tn===$.TEMPLATE){startTagInHead(p,token)}}function endTagInSelect(p,token){const tn=token.tagName;if(tn===$.OPTGROUP){const prevOpenElement=p.openElements.items[p.openElements.stackTop-1];const prevOpenElementTn=prevOpenElement&&p.treeAdapter.getTagName(prevOpenElement);if(p.openElements.currentTagName===$.OPTION&&prevOpenElementTn===$.OPTGROUP){p.openElements.pop()}if(p.openElements.currentTagName===$.OPTGROUP){p.openElements.pop()}}else if(tn===$.OPTION){if(p.openElements.currentTagName===$.OPTION){p.openElements.pop()}}else if(tn===$.SELECT&&p.openElements.hasInSelectScope($.SELECT)){p.openElements.popUntilTagNamePopped($.SELECT);p._resetInsertionMode()}else if(tn===$.TEMPLATE){endTagInHead(p,token)}}function startTagInSelectInTable(p,token){const tn=token.tagName;if(tn===$.CAPTION||tn===$.TABLE||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR||tn===$.TD||tn===$.TH){p.openElements.popUntilTagNamePopped($.SELECT);p._resetInsertionMode();p._processToken(token)}else{startTagInSelect(p,token)}}function endTagInSelectInTable(p,token){const tn=token.tagName;if(tn===$.CAPTION||tn===$.TABLE||tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD||tn===$.TR||tn===$.TD||tn===$.TH){if(p.openElements.hasInTableScope(tn)){p.openElements.popUntilTagNamePopped($.SELECT);p._resetInsertionMode();p._processToken(token)}}else{endTagInSelect(p,token)}}function startTagInTemplate(p,token){const tn=token.tagName;if(tn===$.BASE||tn===$.BASEFONT||tn===$.BGSOUND||tn===$.LINK||tn===$.META||tn===$.NOFRAMES||tn===$.SCRIPT||tn===$.STYLE||tn===$.TEMPLATE||tn===$.TITLE){startTagInHead(p,token)}else{const newInsertionMode=TEMPLATE_INSERTION_MODE_SWITCH_MAP[tn]||IN_BODY_MODE;p._popTmplInsertionMode();p._pushTmplInsertionMode(newInsertionMode);p.insertionMode=newInsertionMode;p._processToken(token)}}function endTagInTemplate(p,token){if(token.tagName===$.TEMPLATE){endTagInHead(p,token)}}function eofInTemplate(p,token){if(p.openElements.tmplCount>0){p.openElements.popUntilTagNamePopped($.TEMPLATE);p.activeFormattingElements.clearToLastMarker();p._popTmplInsertionMode();p._resetInsertionMode();p._processToken(token)}else{p.stopped=true}}function startTagAfterBody(p,token){if(token.tagName===$.HTML){startTagInBody(p,token)}else{tokenAfterBody(p,token)}}function endTagAfterBody(p,token){if(token.tagName===$.HTML){if(!p.fragmentContext){p.insertionMode=AFTER_AFTER_BODY_MODE}}else{tokenAfterBody(p,token)}}function tokenAfterBody(p,token){p.insertionMode=IN_BODY_MODE;p._processToken(token)}function startTagInFrameset(p,token){const tn=token.tagName;if(tn===$.HTML){startTagInBody(p,token)}else if(tn===$.FRAMESET){p._insertElement(token,NS.HTML)}else if(tn===$.FRAME){p._appendElement(token,NS.HTML);token.ackSelfClosing=true}else if(tn===$.NOFRAMES){startTagInHead(p,token)}}function endTagInFrameset(p,token){if(token.tagName===$.FRAMESET&&!p.openElements.isRootHtmlElementCurrent()){p.openElements.pop();if(!p.fragmentContext&&p.openElements.currentTagName!==$.FRAMESET){p.insertionMode=AFTER_FRAMESET_MODE}}}function startTagAfterFrameset(p,token){const tn=token.tagName;if(tn===$.HTML){startTagInBody(p,token)}else if(tn===$.NOFRAMES){startTagInHead(p,token)}}function endTagAfterFrameset(p,token){if(token.tagName===$.HTML){p.insertionMode=AFTER_AFTER_FRAMESET_MODE}}function startTagAfterAfterBody(p,token){if(token.tagName===$.HTML){startTagInBody(p,token)}else{tokenAfterAfterBody(p,token)}}function tokenAfterAfterBody(p,token){p.insertionMode=IN_BODY_MODE;p._processToken(token)}function startTagAfterAfterFrameset(p,token){const tn=token.tagName;if(tn===$.HTML){startTagInBody(p,token)}else if(tn===$.NOFRAMES){startTagInHead(p,token)}}function nullCharacterInForeignContent(p,token){token.chars=unicode.REPLACEMENT_CHARACTER;p._insertCharacters(token)}function characterInForeignContent(p,token){p._insertCharacters(token);p.framesetOk=false}function startTagInForeignContent(p,token){if(foreignContent.causesExit(token)&&!p.fragmentContext){while(p.treeAdapter.getNamespaceURI(p.openElements.current)!==NS.HTML&&!p._isIntegrationPoint(p.openElements.current)){p.openElements.pop()}p._processToken(token)}else{const current=p._getAdjustedCurrentElement();const currentNs=p.treeAdapter.getNamespaceURI(current);if(currentNs===NS.MATHML){foreignContent.adjustTokenMathMLAttrs(token)}else if(currentNs===NS.SVG){foreignContent.adjustTokenSVGTagName(token);foreignContent.adjustTokenSVGAttrs(token)}foreignContent.adjustTokenXMLAttrs(token);if(token.selfClosing){p._appendElement(token,currentNs)}else{p._insertElement(token,currentNs)}token.ackSelfClosing=true}}function endTagInForeignContent(p,token){for(let i=p.openElements.stackTop;i>0;i--){const element=p.openElements.items[i];if(p.treeAdapter.getNamespaceURI(element)===NS.HTML){p._processToken(token);break}if(p.treeAdapter.getTagName(element).toLowerCase()===token.tagName){p.openElements.popUntilElementPopped(element);break}}}},{"../common/doctype":822,"../common/error-codes":823,"../common/foreign-content":824,"../common/html":825,"../common/unicode":826,"../extensions/error-reporting/parser-mixin":828,"../extensions/location-info/parser-mixin":832,"../tokenizer":840,"../tree-adapters/default":843,"../utils/merge-options":844,"../utils/mixin":845,"./formatting-element-list":836,"./open-element-stack":838}],838:[function(require,module,exports){"use strict";const HTML=require("../common/html");const $=HTML.TAG_NAMES;const NS=HTML.NAMESPACES;function isImpliedEndTagRequired(tn){switch(tn.length){case 1:return tn===$.P;case 2:return tn===$.RB||tn===$.RP||tn===$.RT||tn===$.DD||tn===$.DT||tn===$.LI;case 3:return tn===$.RTC;case 6:return tn===$.OPTION;case 8:return tn===$.OPTGROUP}return false}function isImpliedEndTagRequiredThoroughly(tn){switch(tn.length){case 1:return tn===$.P;case 2:return tn===$.RB||tn===$.RP||tn===$.RT||tn===$.DD||tn===$.DT||tn===$.LI||tn===$.TD||tn===$.TH||tn===$.TR;case 3:return tn===$.RTC;case 5:return tn===$.TBODY||tn===$.TFOOT||tn===$.THEAD;case 6:return tn===$.OPTION;case 7:return tn===$.CAPTION;case 8:return tn===$.OPTGROUP||tn===$.COLGROUP}return false}function isScopingElement(tn,ns){switch(tn.length){case 2:if(tn===$.TD||tn===$.TH){return ns===NS.HTML}else if(tn===$.MI||tn===$.MO||tn===$.MN||tn===$.MS){return ns===NS.MATHML}break;case 4:if(tn===$.HTML){return ns===NS.HTML}else if(tn===$.DESC){return ns===NS.SVG}break;case 5:if(tn===$.TABLE){return ns===NS.HTML}else if(tn===$.MTEXT){return ns===NS.MATHML}else if(tn===$.TITLE){return ns===NS.SVG}break;case 6:return(tn===$.APPLET||tn===$.OBJECT)&&ns===NS.HTML;case 7:return(tn===$.CAPTION||tn===$.MARQUEE)&&ns===NS.HTML;case 8:return tn===$.TEMPLATE&&ns===NS.HTML;case 13:return tn===$.FOREIGN_OBJECT&&ns===NS.SVG;case 14:return tn===$.ANNOTATION_XML&&ns===NS.MATHML}return false}class OpenElementStack{constructor(document,treeAdapter){this.stackTop=-1;this.items=[];this.current=document;this.currentTagName=null;this.currentTmplContent=null;this.tmplCount=0;this.treeAdapter=treeAdapter}_indexOf(element){let idx=-1;for(let i=this.stackTop;i>=0;i--){if(this.items[i]===element){idx=i;break}}return idx}_isInTemplate(){return this.currentTagName===$.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===NS.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop];this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current);this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(element){this.items[++this.stackTop]=element;this._updateCurrentElement();if(this._isInTemplate()){this.tmplCount++}}pop(){this.stackTop--;if(this.tmplCount>0&&this._isInTemplate()){this.tmplCount--}this._updateCurrentElement()}replace(oldElement,newElement){const idx=this._indexOf(oldElement);this.items[idx]=newElement;if(idx===this.stackTop){this._updateCurrentElement()}}insertAfter(referenceElement,newElement){const insertionIdx=this._indexOf(referenceElement)+1;this.items.splice(insertionIdx,0,newElement);if(insertionIdx===++this.stackTop){this._updateCurrentElement()}}popUntilTagNamePopped(tagName){while(this.stackTop>-1){const tn=this.currentTagName;const ns=this.treeAdapter.getNamespaceURI(this.current);this.pop();if(tn===tagName&&ns===NS.HTML){break}}}popUntilElementPopped(element){while(this.stackTop>-1){const poppedElement=this.current;this.pop();if(poppedElement===element){break}}}popUntilNumberedHeaderPopped(){while(this.stackTop>-1){const tn=this.currentTagName;const ns=this.treeAdapter.getNamespaceURI(this.current);this.pop();if(tn===$.H1||tn===$.H2||tn===$.H3||tn===$.H4||tn===$.H5||tn===$.H6&&ns===NS.HTML){break}}}popUntilTableCellPopped(){while(this.stackTop>-1){const tn=this.currentTagName;const ns=this.treeAdapter.getNamespaceURI(this.current);this.pop();if(tn===$.TD||tn===$.TH&&ns===NS.HTML){break}}}popAllUpToHtmlElement(){this.stackTop=0;this._updateCurrentElement()}clearBackToTableContext(){while(this.currentTagName!==$.TABLE&&this.currentTagName!==$.TEMPLATE&&this.currentTagName!==$.HTML||this.treeAdapter.getNamespaceURI(this.current)!==NS.HTML){this.pop()}}clearBackToTableBodyContext(){while(this.currentTagName!==$.TBODY&&this.currentTagName!==$.TFOOT&&this.currentTagName!==$.THEAD&&this.currentTagName!==$.TEMPLATE&&this.currentTagName!==$.HTML||this.treeAdapter.getNamespaceURI(this.current)!==NS.HTML){this.pop()}}clearBackToTableRowContext(){while(this.currentTagName!==$.TR&&this.currentTagName!==$.TEMPLATE&&this.currentTagName!==$.HTML||this.treeAdapter.getNamespaceURI(this.current)!==NS.HTML){this.pop()}}remove(element){for(let i=this.stackTop;i>=0;i--){if(this.items[i]===element){this.items.splice(i,1);this.stackTop--;this._updateCurrentElement();break}}}tryPeekProperlyNestedBodyElement(){const element=this.items[1];return element&&this.treeAdapter.getTagName(element)===$.BODY?element:null}contains(element){return this._indexOf(element)>-1}getCommonAncestor(element){let elementIdx=this._indexOf(element);return--elementIdx>=0?this.items[elementIdx]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===$.HTML}hasInScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);const ns=this.treeAdapter.getNamespaceURI(this.items[i]);if(tn===tagName&&ns===NS.HTML){return true}if(isScopingElement(tn,ns)){return false}}return true}hasNumberedHeaderInScope(){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);const ns=this.treeAdapter.getNamespaceURI(this.items[i]);if((tn===$.H1||tn===$.H2||tn===$.H3||tn===$.H4||tn===$.H5||tn===$.H6)&&ns===NS.HTML){return true}if(isScopingElement(tn,ns)){return false}}return true}hasInListItemScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);const ns=this.treeAdapter.getNamespaceURI(this.items[i]);if(tn===tagName&&ns===NS.HTML){return true}if((tn===$.UL||tn===$.OL)&&ns===NS.HTML||isScopingElement(tn,ns)){return false}}return true}hasInButtonScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);const ns=this.treeAdapter.getNamespaceURI(this.items[i]);if(tn===tagName&&ns===NS.HTML){return true}if(tn===$.BUTTON&&ns===NS.HTML||isScopingElement(tn,ns)){return false}}return true}hasInTableScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);const ns=this.treeAdapter.getNamespaceURI(this.items[i]);if(ns!==NS.HTML){continue}if(tn===tagName){return true}if(tn===$.TABLE||tn===$.TEMPLATE||tn===$.HTML){return false}}return true}hasTableBodyContextInTableScope(){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);const ns=this.treeAdapter.getNamespaceURI(this.items[i]);if(ns!==NS.HTML){continue}if(tn===$.TBODY||tn===$.THEAD||tn===$.TFOOT){return true}if(tn===$.TABLE||tn===$.HTML){return false}}return true}hasInSelectScope(tagName){for(let i=this.stackTop;i>=0;i--){const tn=this.treeAdapter.getTagName(this.items[i]);const ns=this.treeAdapter.getNamespaceURI(this.items[i]);if(ns!==NS.HTML){continue}if(tn===tagName){return true}if(tn!==$.OPTION&&tn!==$.OPTGROUP){return false}}return true}generateImpliedEndTags(){while(isImpliedEndTagRequired(this.currentTagName)){this.pop()}}generateImpliedEndTagsThoroughly(){while(isImpliedEndTagRequiredThoroughly(this.currentTagName)){this.pop()}}generateImpliedEndTagsWithExclusion(exclusionTagName){while(isImpliedEndTagRequired(this.currentTagName)&&this.currentTagName!==exclusionTagName){this.pop()}}}module.exports=OpenElementStack},{"../common/html":825}],839:[function(require,module,exports){"use strict";const defaultTreeAdapter=require("../tree-adapters/default");const mergeOptions=require("../utils/merge-options");const doctype=require("../common/doctype");const HTML=require("../common/html");const $=HTML.TAG_NAMES;const NS=HTML.NAMESPACES;const DEFAULT_OPTIONS={treeAdapter:defaultTreeAdapter};const AMP_REGEX=/&/g;const NBSP_REGEX=/\u00a0/g;const DOUBLE_QUOTE_REGEX=/"/g;const LT_REGEX=/</g;const GT_REGEX=/>/g;class Serializer{constructor(node,options){this.options=mergeOptions(DEFAULT_OPTIONS,options);this.treeAdapter=this.options.treeAdapter;this.html="";this.startNode=node}serialize(){this._serializeChildNodes(this.startNode);return this.html}_serializeChildNodes(parentNode){const childNodes=this.treeAdapter.getChildNodes(parentNode);if(childNodes){for(let i=0,cnLength=childNodes.length;i<cnLength;i++){const currentNode=childNodes[i];if(this.treeAdapter.isElementNode(currentNode)){this._serializeElement(currentNode)}else if(this.treeAdapter.isTextNode(currentNode)){this._serializeTextNode(currentNode)}else if(this.treeAdapter.isCommentNode(currentNode)){this._serializeCommentNode(currentNode)}else if(this.treeAdapter.isDocumentTypeNode(currentNode)){this._serializeDocumentTypeNode(currentNode)}}}}_serializeElement(node){const tn=this.treeAdapter.getTagName(node);const ns=this.treeAdapter.getNamespaceURI(node);this.html+="<"+tn;this._serializeAttributes(node);this.html+=">";if(tn!==$.AREA&&tn!==$.BASE&&tn!==$.BASEFONT&&tn!==$.BGSOUND&&tn!==$.BR&&tn!==$.COL&&tn!==$.EMBED&&tn!==$.FRAME&&tn!==$.HR&&tn!==$.IMG&&tn!==$.INPUT&&tn!==$.KEYGEN&&tn!==$.LINK&&tn!==$.META&&tn!==$.PARAM&&tn!==$.SOURCE&&tn!==$.TRACK&&tn!==$.WBR){const childNodesHolder=tn===$.TEMPLATE&&ns===NS.HTML?this.treeAdapter.getTemplateContent(node):node;this._serializeChildNodes(childNodesHolder);this.html+="</"+tn+">"}}_serializeAttributes(node){const attrs=this.treeAdapter.getAttrList(node);for(let i=0,attrsLength=attrs.length;i<attrsLength;i++){const attr=attrs[i];const value=Serializer.escapeString(attr.value,true);this.html+=" ";if(!attr.namespace){this.html+=attr.name}else if(attr.namespace===NS.XML){this.html+="xml:"+attr.name}else if(attr.namespace===NS.XMLNS){if(attr.name!=="xmlns"){this.html+="xmlns:"}this.html+=attr.name}else if(attr.namespace===NS.XLINK){this.html+="xlink:"+attr.name}else{this.html+=attr.prefix+":"+attr.name}this.html+='="'+value+'"'}}_serializeTextNode(node){const content=this.treeAdapter.getTextNodeContent(node);const parent=this.treeAdapter.getParentNode(node);let parentTn=void 0;if(parent&&this.treeAdapter.isElementNode(parent)){parentTn=this.treeAdapter.getTagName(parent)}if(parentTn===$.STYLE||parentTn===$.SCRIPT||parentTn===$.XMP||parentTn===$.IFRAME||parentTn===$.NOEMBED||parentTn===$.NOFRAMES||parentTn===$.PLAINTEXT||parentTn===$.NOSCRIPT){this.html+=content}else{this.html+=Serializer.escapeString(content,false)}}_serializeCommentNode(node){this.html+="\x3c!--"+this.treeAdapter.getCommentNodeContent(node)+"--\x3e"}_serializeDocumentTypeNode(node){const name=this.treeAdapter.getDocumentTypeNodeName(node);this.html+="<"+doctype.serializeContent(name,null,null)+">"}}Serializer.escapeString=function(str,attrMode){str=str.replace(AMP_REGEX,"&").replace(NBSP_REGEX," ");if(attrMode){str=str.replace(DOUBLE_QUOTE_REGEX,""")}else{str=str.replace(LT_REGEX,"<").replace(GT_REGEX,">")}return str};module.exports=Serializer},{"../common/doctype":822,"../common/html":825,"../tree-adapters/default":843,"../utils/merge-options":844}],840:[function(require,module,exports){"use strict";const Preprocessor=require("./preprocessor");const unicode=require("../common/unicode");const neTree=require("./named-entity-data");const ERR=require("../common/error-codes");const $=unicode.CODE_POINTS;const $$=unicode.CODE_POINT_SEQUENCES;const C1_CONTROLS_REFERENCE_REPLACEMENTS={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};const HAS_DATA_FLAG=1<<0;const DATA_DUPLET_FLAG=1<<1;const HAS_BRANCHES_FLAG=1<<2;const MAX_BRANCH_MARKER_VALUE=HAS_DATA_FLAG|DATA_DUPLET_FLAG|HAS_BRANCHES_FLAG;const DATA_STATE="DATA_STATE";const RCDATA_STATE="RCDATA_STATE";const RAWTEXT_STATE="RAWTEXT_STATE";const SCRIPT_DATA_STATE="SCRIPT_DATA_STATE";const PLAINTEXT_STATE="PLAINTEXT_STATE";const TAG_OPEN_STATE="TAG_OPEN_STATE";const END_TAG_OPEN_STATE="END_TAG_OPEN_STATE";const TAG_NAME_STATE="TAG_NAME_STATE";const RCDATA_LESS_THAN_SIGN_STATE="RCDATA_LESS_THAN_SIGN_STATE";const RCDATA_END_TAG_OPEN_STATE="RCDATA_END_TAG_OPEN_STATE";const RCDATA_END_TAG_NAME_STATE="RCDATA_END_TAG_NAME_STATE";const RAWTEXT_LESS_THAN_SIGN_STATE="RAWTEXT_LESS_THAN_SIGN_STATE";const RAWTEXT_END_TAG_OPEN_STATE="RAWTEXT_END_TAG_OPEN_STATE";const RAWTEXT_END_TAG_NAME_STATE="RAWTEXT_END_TAG_NAME_STATE";const SCRIPT_DATA_LESS_THAN_SIGN_STATE="SCRIPT_DATA_LESS_THAN_SIGN_STATE";const SCRIPT_DATA_END_TAG_OPEN_STATE="SCRIPT_DATA_END_TAG_OPEN_STATE";const SCRIPT_DATA_END_TAG_NAME_STATE="SCRIPT_DATA_END_TAG_NAME_STATE";const SCRIPT_DATA_ESCAPE_START_STATE="SCRIPT_DATA_ESCAPE_START_STATE";const SCRIPT_DATA_ESCAPE_START_DASH_STATE="SCRIPT_DATA_ESCAPE_START_DASH_STATE";const SCRIPT_DATA_ESCAPED_STATE="SCRIPT_DATA_ESCAPED_STATE";const SCRIPT_DATA_ESCAPED_DASH_STATE="SCRIPT_DATA_ESCAPED_DASH_STATE";const SCRIPT_DATA_ESCAPED_DASH_DASH_STATE="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE";const SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE";const SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE";const SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE";const SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE";const SCRIPT_DATA_DOUBLE_ESCAPED_STATE="SCRIPT_DATA_DOUBLE_ESCAPED_STATE";const SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE";const SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE";const SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE";const SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE";const BEFORE_ATTRIBUTE_NAME_STATE="BEFORE_ATTRIBUTE_NAME_STATE";const ATTRIBUTE_NAME_STATE="ATTRIBUTE_NAME_STATE";const AFTER_ATTRIBUTE_NAME_STATE="AFTER_ATTRIBUTE_NAME_STATE";const BEFORE_ATTRIBUTE_VALUE_STATE="BEFORE_ATTRIBUTE_VALUE_STATE";const ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE";const ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE";const ATTRIBUTE_VALUE_UNQUOTED_STATE="ATTRIBUTE_VALUE_UNQUOTED_STATE";const AFTER_ATTRIBUTE_VALUE_QUOTED_STATE="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE";const SELF_CLOSING_START_TAG_STATE="SELF_CLOSING_START_TAG_STATE";const BOGUS_COMMENT_STATE="BOGUS_COMMENT_STATE";const MARKUP_DECLARATION_OPEN_STATE="MARKUP_DECLARATION_OPEN_STATE";const COMMENT_START_STATE="COMMENT_START_STATE";const COMMENT_START_DASH_STATE="COMMENT_START_DASH_STATE";const COMMENT_STATE="COMMENT_STATE";const COMMENT_LESS_THAN_SIGN_STATE="COMMENT_LESS_THAN_SIGN_STATE";const COMMENT_LESS_THAN_SIGN_BANG_STATE="COMMENT_LESS_THAN_SIGN_BANG_STATE";const COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE";const COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE";const COMMENT_END_DASH_STATE="COMMENT_END_DASH_STATE";const COMMENT_END_STATE="COMMENT_END_STATE";const COMMENT_END_BANG_STATE="COMMENT_END_BANG_STATE";const DOCTYPE_STATE="DOCTYPE_STATE";const BEFORE_DOCTYPE_NAME_STATE="BEFORE_DOCTYPE_NAME_STATE";const DOCTYPE_NAME_STATE="DOCTYPE_NAME_STATE";const AFTER_DOCTYPE_NAME_STATE="AFTER_DOCTYPE_NAME_STATE";const AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE";const BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE";const DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE";const DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE";const AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE";const BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE";const AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE";const BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE";const DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE";const DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE";const AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE";const BOGUS_DOCTYPE_STATE="BOGUS_DOCTYPE_STATE";const CDATA_SECTION_STATE="CDATA_SECTION_STATE";const CDATA_SECTION_BRACKET_STATE="CDATA_SECTION_BRACKET_STATE";const CDATA_SECTION_END_STATE="CDATA_SECTION_END_STATE";const CHARACTER_REFERENCE_STATE="CHARACTER_REFERENCE_STATE";const NAMED_CHARACTER_REFERENCE_STATE="NAMED_CHARACTER_REFERENCE_STATE";const AMBIGUOUS_AMPERSAND_STATE="AMBIGUOS_AMPERSAND_STATE";const NUMERIC_CHARACTER_REFERENCE_STATE="NUMERIC_CHARACTER_REFERENCE_STATE";const HEXADEMICAL_CHARACTER_REFERENCE_START_STATE="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE";const DECIMAL_CHARACTER_REFERENCE_START_STATE="DECIMAL_CHARACTER_REFERENCE_START_STATE";const HEXADEMICAL_CHARACTER_REFERENCE_STATE="HEXADEMICAL_CHARACTER_REFERENCE_STATE";const DECIMAL_CHARACTER_REFERENCE_STATE="DECIMAL_CHARACTER_REFERENCE_STATE";const NUMERIC_CHARACTER_REFERENCE_END_STATE="NUMERIC_CHARACTER_REFERENCE_END_STATE";function isWhitespace(cp){return cp===$.SPACE||cp===$.LINE_FEED||cp===$.TABULATION||cp===$.FORM_FEED}function isAsciiDigit(cp){return cp>=$.DIGIT_0&&cp<=$.DIGIT_9}function isAsciiUpper(cp){return cp>=$.LATIN_CAPITAL_A&&cp<=$.LATIN_CAPITAL_Z}function isAsciiLower(cp){return cp>=$.LATIN_SMALL_A&&cp<=$.LATIN_SMALL_Z}function isAsciiLetter(cp){return isAsciiLower(cp)||isAsciiUpper(cp)}function isAsciiAlphaNumeric(cp){return isAsciiLetter(cp)||isAsciiDigit(cp)}function isAsciiUpperHexDigit(cp){return cp>=$.LATIN_CAPITAL_A&&cp<=$.LATIN_CAPITAL_F}function isAsciiLowerHexDigit(cp){return cp>=$.LATIN_SMALL_A&&cp<=$.LATIN_SMALL_F}function isAsciiHexDigit(cp){return isAsciiDigit(cp)||isAsciiUpperHexDigit(cp)||isAsciiLowerHexDigit(cp)}function toAsciiLowerCodePoint(cp){return cp+32}function toChar(cp){if(cp<=65535){return String.fromCharCode(cp)}cp-=65536;return String.fromCharCode(cp>>>10&1023|55296)+String.fromCharCode(56320|cp&1023)}function toAsciiLowerChar(cp){return String.fromCharCode(toAsciiLowerCodePoint(cp))}function findNamedEntityTreeBranch(nodeIx,cp){const branchCount=neTree[++nodeIx];let lo=++nodeIx;let hi=lo+branchCount-1;while(lo<=hi){const mid=lo+hi>>>1;const midCp=neTree[mid];if(midCp<cp){lo=mid+1}else if(midCp>cp){hi=mid-1}else{return neTree[mid+branchCount]}}return-1}class Tokenizer{constructor(){this.preprocessor=new Preprocessor;this.tokenQueue=[];this.allowCDATA=false;this.state=DATA_STATE;this.returnState="";this.charRefCode=-1;this.tempBuff=[];this.lastStartTagName="";this.consumedAfterSnapshot=-1;this.active=false;this.currentCharacterToken=null;this.currentToken=null;this.currentAttr=null}_err(){}_errOnNextCodePoint(err){this._consume();this._err(err);this._unconsume()}getNextToken(){while(!this.tokenQueue.length&&this.active){this.consumedAfterSnapshot=0;const cp=this._consume();if(!this._ensureHibernation()){this[this.state](cp)}}return this.tokenQueue.shift()}write(chunk,isLastChunk){this.active=true;this.preprocessor.write(chunk,isLastChunk)}insertHtmlAtCurrentPos(chunk){this.active=true;this.preprocessor.insertHtmlAtCurrentPos(chunk)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--){this.preprocessor.retreat()}this.active=false;this.tokenQueue.push({type:Tokenizer.HIBERNATION_TOKEN});return true}return false}_consume(){this.consumedAfterSnapshot++;return this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--;this.preprocessor.retreat()}_reconsumeInState(state){this.state=state;this._unconsume()}_consumeSequenceIfMatch(pattern,startCp,caseSensitive){let consumedCount=0;let isMatch=true;const patternLength=pattern.length;let patternPos=0;let cp=startCp;let patternCp=void 0;for(;patternPos<patternLength;patternPos++){if(patternPos>0){cp=this._consume();consumedCount++}if(cp===$.EOF){isMatch=false;break}patternCp=pattern[patternPos];if(cp!==patternCp&&(caseSensitive||cp!==toAsciiLowerCodePoint(patternCp))){isMatch=false;break}}if(!isMatch){while(consumedCount--){this._unconsume()}}return isMatch}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==$$.SCRIPT_STRING.length){return false}for(let i=0;i<this.tempBuff.length;i++){if(this.tempBuff[i]!==$$.SCRIPT_STRING[i]){return false}}return true}_createStartTagToken(){this.currentToken={type:Tokenizer.START_TAG_TOKEN,tagName:"",selfClosing:false,ackSelfClosing:false,attrs:[]}}_createEndTagToken(){this.currentToken={type:Tokenizer.END_TAG_TOKEN,tagName:"",selfClosing:false,attrs:[]}}_createCommentToken(){this.currentToken={type:Tokenizer.COMMENT_TOKEN,data:""}}_createDoctypeToken(initialName){this.currentToken={type:Tokenizer.DOCTYPE_TOKEN,name:initialName,forceQuirks:false,publicId:null,systemId:null}}_createCharacterToken(type,ch){this.currentCharacterToken={type:type,chars:ch}}_createEOFToken(){this.currentToken={type:Tokenizer.EOF_TOKEN}}_createAttr(attrNameFirstCh){this.currentAttr={name:attrNameFirstCh,value:""}}_leaveAttrName(toState){if(Tokenizer.getTokenAttr(this.currentToken,this.currentAttr.name)===null){this.currentToken.attrs.push(this.currentAttr)}else{this._err(ERR.duplicateAttribute)}this.state=toState}_leaveAttrValue(toState){this.state=toState}_emitCurrentToken(){this._emitCurrentCharacterToken();const ct=this.currentToken;this.currentToken=null;if(ct.type===Tokenizer.START_TAG_TOKEN){this.lastStartTagName=ct.tagName}else if(ct.type===Tokenizer.END_TAG_TOKEN){if(ct.attrs.length>0){this._err(ERR.endTagWithAttributes)}if(ct.selfClosing){this._err(ERR.endTagWithTrailingSolidus)}}this.tokenQueue.push(ct)}_emitCurrentCharacterToken(){if(this.currentCharacterToken){this.tokenQueue.push(this.currentCharacterToken);this.currentCharacterToken=null}}_emitEOFToken(){this._createEOFToken();this._emitCurrentToken()}_appendCharToCurrentCharacterToken(type,ch){if(this.currentCharacterToken&&this.currentCharacterToken.type!==type){this._emitCurrentCharacterToken()}if(this.currentCharacterToken){this.currentCharacterToken.chars+=ch}else{this._createCharacterToken(type,ch)}}_emitCodePoint(cp){let type=Tokenizer.CHARACTER_TOKEN;if(isWhitespace(cp)){type=Tokenizer.WHITESPACE_CHARACTER_TOKEN}else if(cp===$.NULL){type=Tokenizer.NULL_CHARACTER_TOKEN}this._appendCharToCurrentCharacterToken(type,toChar(cp))}_emitSeveralCodePoints(codePoints){for(let i=0;i<codePoints.length;i++){this._emitCodePoint(codePoints[i])}}_emitChars(ch){this._appendCharToCurrentCharacterToken(Tokenizer.CHARACTER_TOKEN,ch)}_matchNamedCharacterReference(startCp){let result=null;let excess=1;let i=findNamedEntityTreeBranch(0,startCp);this.tempBuff.push(startCp);while(i>-1){const current=neTree[i];const inNode=current<MAX_BRANCH_MARKER_VALUE;const nodeWithData=inNode&¤t&HAS_DATA_FLAG;if(nodeWithData){result=current&DATA_DUPLET_FLAG?[neTree[++i],neTree[++i]]:[neTree[++i]];excess=0}const cp=this._consume();this.tempBuff.push(cp);excess++;if(cp===$.EOF){break}if(inNode){i=current&HAS_BRANCHES_FLAG?findNamedEntityTreeBranch(i,cp):-1}else{i=cp===current?++i:-1}}while(excess--){this.tempBuff.pop();this._unconsume()}return result}_isCharacterReferenceInAttribute(){return this.returnState===ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE||this.returnState===ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE||this.returnState===ATTRIBUTE_VALUE_UNQUOTED_STATE}_isCharacterReferenceAttributeQuirk(withSemicolon){if(!withSemicolon&&this._isCharacterReferenceInAttribute()){const nextCp=this._consume();this._unconsume();return nextCp===$.EQUALS_SIGN||isAsciiAlphaNumeric(nextCp)}return false}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute()){for(let i=0;i<this.tempBuff.length;i++){this.currentAttr.value+=toChar(this.tempBuff[i])}}else{this._emitSeveralCodePoints(this.tempBuff)}this.tempBuff=[]}[DATA_STATE](cp){this.preprocessor.dropParsedChunk();if(cp===$.LESS_THAN_SIGN){this.state=TAG_OPEN_STATE}else if(cp===$.AMPERSAND){this.returnState=DATA_STATE;this.state=CHARACTER_REFERENCE_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this._emitCodePoint(cp)}else if(cp===$.EOF){this._emitEOFToken()}else{this._emitCodePoint(cp)}}[RCDATA_STATE](cp){this.preprocessor.dropParsedChunk();if(cp===$.AMPERSAND){this.returnState=RCDATA_STATE;this.state=CHARACTER_REFERENCE_STATE}else if(cp===$.LESS_THAN_SIGN){this.state=RCDATA_LESS_THAN_SIGN_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._emitEOFToken()}else{this._emitCodePoint(cp)}}[RAWTEXT_STATE](cp){this.preprocessor.dropParsedChunk();if(cp===$.LESS_THAN_SIGN){this.state=RAWTEXT_LESS_THAN_SIGN_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._emitEOFToken()}else{this._emitCodePoint(cp)}}[SCRIPT_DATA_STATE](cp){this.preprocessor.dropParsedChunk();if(cp===$.LESS_THAN_SIGN){this.state=SCRIPT_DATA_LESS_THAN_SIGN_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._emitEOFToken()}else{this._emitCodePoint(cp)}}[PLAINTEXT_STATE](cp){this.preprocessor.dropParsedChunk();if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._emitEOFToken()}else{this._emitCodePoint(cp)}}[TAG_OPEN_STATE](cp){if(cp===$.EXCLAMATION_MARK){this.state=MARKUP_DECLARATION_OPEN_STATE}else if(cp===$.SOLIDUS){this.state=END_TAG_OPEN_STATE}else if(isAsciiLetter(cp)){this._createStartTagToken();this._reconsumeInState(TAG_NAME_STATE)}else if(cp===$.QUESTION_MARK){this._err(ERR.unexpectedQuestionMarkInsteadOfTagName);this._createCommentToken();this._reconsumeInState(BOGUS_COMMENT_STATE)}else if(cp===$.EOF){this._err(ERR.eofBeforeTagName);this._emitChars("<");this._emitEOFToken()}else{this._err(ERR.invalidFirstCharacterOfTagName);this._emitChars("<");this._reconsumeInState(DATA_STATE)}}[END_TAG_OPEN_STATE](cp){if(isAsciiLetter(cp)){this._createEndTagToken();this._reconsumeInState(TAG_NAME_STATE)}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.missingEndTagName);this.state=DATA_STATE}else if(cp===$.EOF){this._err(ERR.eofBeforeTagName);this._emitChars("</");this._emitEOFToken()}else{this._err(ERR.invalidFirstCharacterOfTagName);this._createCommentToken();this._reconsumeInState(BOGUS_COMMENT_STATE)}}[TAG_NAME_STATE](cp){if(isWhitespace(cp)){this.state=BEFORE_ATTRIBUTE_NAME_STATE}else if(cp===$.SOLIDUS){this.state=SELF_CLOSING_START_TAG_STATE}else if(cp===$.GREATER_THAN_SIGN){this.state=DATA_STATE;this._emitCurrentToken()}else if(isAsciiUpper(cp)){this.currentToken.tagName+=toAsciiLowerChar(cp)}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentToken.tagName+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.EOF){this._err(ERR.eofInTag);this._emitEOFToken()}else{this.currentToken.tagName+=toChar(cp)}}[RCDATA_LESS_THAN_SIGN_STATE](cp){if(cp===$.SOLIDUS){this.tempBuff=[];this.state=RCDATA_END_TAG_OPEN_STATE}else{this._emitChars("<");this._reconsumeInState(RCDATA_STATE)}}[RCDATA_END_TAG_OPEN_STATE](cp){if(isAsciiLetter(cp)){this._createEndTagToken();this._reconsumeInState(RCDATA_END_TAG_NAME_STATE)}else{this._emitChars("</");this._reconsumeInState(RCDATA_STATE)}}[RCDATA_END_TAG_NAME_STATE](cp){if(isAsciiUpper(cp)){this.currentToken.tagName+=toAsciiLowerChar(cp);this.tempBuff.push(cp)}else if(isAsciiLower(cp)){this.currentToken.tagName+=toChar(cp);this.tempBuff.push(cp)}else{if(this.lastStartTagName===this.currentToken.tagName){if(isWhitespace(cp)){this.state=BEFORE_ATTRIBUTE_NAME_STATE;return}if(cp===$.SOLIDUS){this.state=SELF_CLOSING_START_TAG_STATE;return}if(cp===$.GREATER_THAN_SIGN){this.state=DATA_STATE;this._emitCurrentToken();return}}this._emitChars("</");this._emitSeveralCodePoints(this.tempBuff);this._reconsumeInState(RCDATA_STATE)}}[RAWTEXT_LESS_THAN_SIGN_STATE](cp){if(cp===$.SOLIDUS){this.tempBuff=[];this.state=RAWTEXT_END_TAG_OPEN_STATE}else{this._emitChars("<");this._reconsumeInState(RAWTEXT_STATE)}}[RAWTEXT_END_TAG_OPEN_STATE](cp){if(isAsciiLetter(cp)){this._createEndTagToken();this._reconsumeInState(RAWTEXT_END_TAG_NAME_STATE)}else{this._emitChars("</");this._reconsumeInState(RAWTEXT_STATE)}}[RAWTEXT_END_TAG_NAME_STATE](cp){if(isAsciiUpper(cp)){this.currentToken.tagName+=toAsciiLowerChar(cp);this.tempBuff.push(cp)}else if(isAsciiLower(cp)){this.currentToken.tagName+=toChar(cp);this.tempBuff.push(cp)}else{if(this.lastStartTagName===this.currentToken.tagName){if(isWhitespace(cp)){this.state=BEFORE_ATTRIBUTE_NAME_STATE;return}if(cp===$.SOLIDUS){this.state=SELF_CLOSING_START_TAG_STATE;return}if(cp===$.GREATER_THAN_SIGN){this._emitCurrentToken();this.state=DATA_STATE;return}}this._emitChars("</");this._emitSeveralCodePoints(this.tempBuff);this._reconsumeInState(RAWTEXT_STATE)}}[SCRIPT_DATA_LESS_THAN_SIGN_STATE](cp){if(cp===$.SOLIDUS){this.tempBuff=[];this.state=SCRIPT_DATA_END_TAG_OPEN_STATE}else if(cp===$.EXCLAMATION_MARK){this.state=SCRIPT_DATA_ESCAPE_START_STATE;this._emitChars("<!")}else{this._emitChars("<");this._reconsumeInState(SCRIPT_DATA_STATE)}}[SCRIPT_DATA_END_TAG_OPEN_STATE](cp){if(isAsciiLetter(cp)){this._createEndTagToken();this._reconsumeInState(SCRIPT_DATA_END_TAG_NAME_STATE)}else{this._emitChars("</");this._reconsumeInState(SCRIPT_DATA_STATE)}}[SCRIPT_DATA_END_TAG_NAME_STATE](cp){if(isAsciiUpper(cp)){this.currentToken.tagName+=toAsciiLowerChar(cp);this.tempBuff.push(cp)}else if(isAsciiLower(cp)){this.currentToken.tagName+=toChar(cp);this.tempBuff.push(cp)}else{if(this.lastStartTagName===this.currentToken.tagName){if(isWhitespace(cp)){this.state=BEFORE_ATTRIBUTE_NAME_STATE;return}else if(cp===$.SOLIDUS){this.state=SELF_CLOSING_START_TAG_STATE;return}else if(cp===$.GREATER_THAN_SIGN){this._emitCurrentToken();this.state=DATA_STATE;return}}this._emitChars("</");this._emitSeveralCodePoints(this.tempBuff);this._reconsumeInState(SCRIPT_DATA_STATE)}}[SCRIPT_DATA_ESCAPE_START_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=SCRIPT_DATA_ESCAPE_START_DASH_STATE;this._emitChars("-")}else{this._reconsumeInState(SCRIPT_DATA_STATE)}}[SCRIPT_DATA_ESCAPE_START_DASH_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=SCRIPT_DATA_ESCAPED_DASH_DASH_STATE;this._emitChars("-")}else{this._reconsumeInState(SCRIPT_DATA_STATE)}}[SCRIPT_DATA_ESCAPED_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=SCRIPT_DATA_ESCAPED_DASH_STATE;this._emitChars("-")}else if(cp===$.LESS_THAN_SIGN){this.state=SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._err(ERR.eofInScriptHtmlCommentLikeText);this._emitEOFToken()}else{this._emitCodePoint(cp)}}[SCRIPT_DATA_ESCAPED_DASH_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=SCRIPT_DATA_ESCAPED_DASH_DASH_STATE;this._emitChars("-")}else if(cp===$.LESS_THAN_SIGN){this.state=SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.state=SCRIPT_DATA_ESCAPED_STATE;this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._err(ERR.eofInScriptHtmlCommentLikeText);this._emitEOFToken()}else{this.state=SCRIPT_DATA_ESCAPED_STATE;this._emitCodePoint(cp)}}[SCRIPT_DATA_ESCAPED_DASH_DASH_STATE](cp){if(cp===$.HYPHEN_MINUS){this._emitChars("-")}else if(cp===$.LESS_THAN_SIGN){this.state=SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE}else if(cp===$.GREATER_THAN_SIGN){this.state=SCRIPT_DATA_STATE;this._emitChars(">")}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.state=SCRIPT_DATA_ESCAPED_STATE;this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._err(ERR.eofInScriptHtmlCommentLikeText);this._emitEOFToken()}else{this.state=SCRIPT_DATA_ESCAPED_STATE;this._emitCodePoint(cp)}}[SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE](cp){if(cp===$.SOLIDUS){this.tempBuff=[];this.state=SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE}else if(isAsciiLetter(cp)){this.tempBuff=[];this._emitChars("<");this._reconsumeInState(SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE)}else{this._emitChars("<");this._reconsumeInState(SCRIPT_DATA_ESCAPED_STATE)}}[SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE](cp){if(isAsciiLetter(cp)){this._createEndTagToken();this._reconsumeInState(SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE)}else{this._emitChars("</");this._reconsumeInState(SCRIPT_DATA_ESCAPED_STATE)}}[SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE](cp){if(isAsciiUpper(cp)){this.currentToken.tagName+=toAsciiLowerChar(cp);this.tempBuff.push(cp)}else if(isAsciiLower(cp)){this.currentToken.tagName+=toChar(cp);this.tempBuff.push(cp)}else{if(this.lastStartTagName===this.currentToken.tagName){if(isWhitespace(cp)){this.state=BEFORE_ATTRIBUTE_NAME_STATE;return}if(cp===$.SOLIDUS){this.state=SELF_CLOSING_START_TAG_STATE;return}if(cp===$.GREATER_THAN_SIGN){this._emitCurrentToken();this.state=DATA_STATE;return}}this._emitChars("</");this._emitSeveralCodePoints(this.tempBuff);this._reconsumeInState(SCRIPT_DATA_ESCAPED_STATE)}}[SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE](cp){if(isWhitespace(cp)||cp===$.SOLIDUS||cp===$.GREATER_THAN_SIGN){this.state=this._isTempBufferEqualToScriptString()?SCRIPT_DATA_DOUBLE_ESCAPED_STATE:SCRIPT_DATA_ESCAPED_STATE;this._emitCodePoint(cp)}else if(isAsciiUpper(cp)){this.tempBuff.push(toAsciiLowerCodePoint(cp));this._emitCodePoint(cp)}else if(isAsciiLower(cp)){this.tempBuff.push(cp);this._emitCodePoint(cp)}else{this._reconsumeInState(SCRIPT_DATA_ESCAPED_STATE)}}[SCRIPT_DATA_DOUBLE_ESCAPED_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE;this._emitChars("-")}else if(cp===$.LESS_THAN_SIGN){this.state=SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE;this._emitChars("<")}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._err(ERR.eofInScriptHtmlCommentLikeText);this._emitEOFToken()}else{this._emitCodePoint(cp)}}[SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE;this._emitChars("-")}else if(cp===$.LESS_THAN_SIGN){this.state=SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE;this._emitChars("<")}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.state=SCRIPT_DATA_DOUBLE_ESCAPED_STATE;this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._err(ERR.eofInScriptHtmlCommentLikeText);this._emitEOFToken()}else{this.state=SCRIPT_DATA_DOUBLE_ESCAPED_STATE;this._emitCodePoint(cp)}}[SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE](cp){if(cp===$.HYPHEN_MINUS){this._emitChars("-")}else if(cp===$.LESS_THAN_SIGN){this.state=SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE;this._emitChars("<")}else if(cp===$.GREATER_THAN_SIGN){this.state=SCRIPT_DATA_STATE;this._emitChars(">")}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.state=SCRIPT_DATA_DOUBLE_ESCAPED_STATE;this._emitChars(unicode.REPLACEMENT_CHARACTER)}else if(cp===$.EOF){this._err(ERR.eofInScriptHtmlCommentLikeText);this._emitEOFToken()}else{this.state=SCRIPT_DATA_DOUBLE_ESCAPED_STATE;this._emitCodePoint(cp)}}[SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE](cp){if(cp===$.SOLIDUS){this.tempBuff=[];this.state=SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE;this._emitChars("/")}else{this._reconsumeInState(SCRIPT_DATA_DOUBLE_ESCAPED_STATE)}}[SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE](cp){if(isWhitespace(cp)||cp===$.SOLIDUS||cp===$.GREATER_THAN_SIGN){this.state=this._isTempBufferEqualToScriptString()?SCRIPT_DATA_ESCAPED_STATE:SCRIPT_DATA_DOUBLE_ESCAPED_STATE;this._emitCodePoint(cp)}else if(isAsciiUpper(cp)){this.tempBuff.push(toAsciiLowerCodePoint(cp));this._emitCodePoint(cp)}else if(isAsciiLower(cp)){this.tempBuff.push(cp);this._emitCodePoint(cp)}else{this._reconsumeInState(SCRIPT_DATA_DOUBLE_ESCAPED_STATE)}}[BEFORE_ATTRIBUTE_NAME_STATE](cp){if(isWhitespace(cp)){return}if(cp===$.SOLIDUS||cp===$.GREATER_THAN_SIGN||cp===$.EOF){this._reconsumeInState(AFTER_ATTRIBUTE_NAME_STATE)}else if(cp===$.EQUALS_SIGN){this._err(ERR.unexpectedEqualsSignBeforeAttributeName);this._createAttr("=");this.state=ATTRIBUTE_NAME_STATE}else{this._createAttr("");this._reconsumeInState(ATTRIBUTE_NAME_STATE)}}[ATTRIBUTE_NAME_STATE](cp){if(isWhitespace(cp)||cp===$.SOLIDUS||cp===$.GREATER_THAN_SIGN||cp===$.EOF){this._leaveAttrName(AFTER_ATTRIBUTE_NAME_STATE);this._unconsume()}else if(cp===$.EQUALS_SIGN){this._leaveAttrName(BEFORE_ATTRIBUTE_VALUE_STATE)}else if(isAsciiUpper(cp)){this.currentAttr.name+=toAsciiLowerChar(cp)}else if(cp===$.QUOTATION_MARK||cp===$.APOSTROPHE||cp===$.LESS_THAN_SIGN){this._err(ERR.unexpectedCharacterInAttributeName);this.currentAttr.name+=toChar(cp)}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentAttr.name+=unicode.REPLACEMENT_CHARACTER}else{this.currentAttr.name+=toChar(cp)}}[AFTER_ATTRIBUTE_NAME_STATE](cp){if(isWhitespace(cp)){return}if(cp===$.SOLIDUS){this.state=SELF_CLOSING_START_TAG_STATE}else if(cp===$.EQUALS_SIGN){this.state=BEFORE_ATTRIBUTE_VALUE_STATE}else if(cp===$.GREATER_THAN_SIGN){this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInTag);this._emitEOFToken()}else{this._createAttr("");this._reconsumeInState(ATTRIBUTE_NAME_STATE)}}[BEFORE_ATTRIBUTE_VALUE_STATE](cp){if(isWhitespace(cp)){return}if(cp===$.QUOTATION_MARK){this.state=ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE}else if(cp===$.APOSTROPHE){this.state=ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.missingAttributeValue);this.state=DATA_STATE;this._emitCurrentToken()}else{this._reconsumeInState(ATTRIBUTE_VALUE_UNQUOTED_STATE)}}[ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE](cp){if(cp===$.QUOTATION_MARK){this.state=AFTER_ATTRIBUTE_VALUE_QUOTED_STATE}else if(cp===$.AMPERSAND){this.returnState=ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE;this.state=CHARACTER_REFERENCE_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentAttr.value+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.EOF){this._err(ERR.eofInTag);this._emitEOFToken()}else{this.currentAttr.value+=toChar(cp)}}[ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE](cp){if(cp===$.APOSTROPHE){this.state=AFTER_ATTRIBUTE_VALUE_QUOTED_STATE}else if(cp===$.AMPERSAND){this.returnState=ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE;this.state=CHARACTER_REFERENCE_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentAttr.value+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.EOF){this._err(ERR.eofInTag);this._emitEOFToken()}else{this.currentAttr.value+=toChar(cp)}}[ATTRIBUTE_VALUE_UNQUOTED_STATE](cp){if(isWhitespace(cp)){this._leaveAttrValue(BEFORE_ATTRIBUTE_NAME_STATE)}else if(cp===$.AMPERSAND){this.returnState=ATTRIBUTE_VALUE_UNQUOTED_STATE;this.state=CHARACTER_REFERENCE_STATE}else if(cp===$.GREATER_THAN_SIGN){this._leaveAttrValue(DATA_STATE);this._emitCurrentToken()}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentAttr.value+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.QUOTATION_MARK||cp===$.APOSTROPHE||cp===$.LESS_THAN_SIGN||cp===$.EQUALS_SIGN||cp===$.GRAVE_ACCENT){this._err(ERR.unexpectedCharacterInUnquotedAttributeValue);this.currentAttr.value+=toChar(cp)}else if(cp===$.EOF){this._err(ERR.eofInTag);this._emitEOFToken()}else{this.currentAttr.value+=toChar(cp)}}[AFTER_ATTRIBUTE_VALUE_QUOTED_STATE](cp){if(isWhitespace(cp)){this._leaveAttrValue(BEFORE_ATTRIBUTE_NAME_STATE)}else if(cp===$.SOLIDUS){this._leaveAttrValue(SELF_CLOSING_START_TAG_STATE)}else if(cp===$.GREATER_THAN_SIGN){this._leaveAttrValue(DATA_STATE);this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInTag);this._emitEOFToken()}else{this._err(ERR.missingWhitespaceBetweenAttributes);this._reconsumeInState(BEFORE_ATTRIBUTE_NAME_STATE)}}[SELF_CLOSING_START_TAG_STATE](cp){if(cp===$.GREATER_THAN_SIGN){this.currentToken.selfClosing=true;this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInTag);this._emitEOFToken()}else{this._err(ERR.unexpectedSolidusInTag);this._reconsumeInState(BEFORE_ATTRIBUTE_NAME_STATE)}}[BOGUS_COMMENT_STATE](cp){if(cp===$.GREATER_THAN_SIGN){this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._emitCurrentToken();this._emitEOFToken()}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentToken.data+=unicode.REPLACEMENT_CHARACTER}else{this.currentToken.data+=toChar(cp)}}[MARKUP_DECLARATION_OPEN_STATE](cp){if(this._consumeSequenceIfMatch($$.DASH_DASH_STRING,cp,true)){this._createCommentToken();this.state=COMMENT_START_STATE}else if(this._consumeSequenceIfMatch($$.DOCTYPE_STRING,cp,false)){this.state=DOCTYPE_STATE}else if(this._consumeSequenceIfMatch($$.CDATA_START_STRING,cp,true)){if(this.allowCDATA){this.state=CDATA_SECTION_STATE}else{this._err(ERR.cdataInHtmlContent);this._createCommentToken();this.currentToken.data="[CDATA[";this.state=BOGUS_COMMENT_STATE}}else if(!this._ensureHibernation()){this._err(ERR.incorrectlyOpenedComment);this._createCommentToken();this._reconsumeInState(BOGUS_COMMENT_STATE)}}[COMMENT_START_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=COMMENT_START_DASH_STATE}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.abruptClosingOfEmptyComment);this.state=DATA_STATE;this._emitCurrentToken()}else{this._reconsumeInState(COMMENT_STATE)}}[COMMENT_START_DASH_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=COMMENT_END_STATE}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.abruptClosingOfEmptyComment);this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInComment);this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.data+="-";this._reconsumeInState(COMMENT_STATE)}}[COMMENT_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=COMMENT_END_DASH_STATE}else if(cp===$.LESS_THAN_SIGN){this.currentToken.data+="<";this.state=COMMENT_LESS_THAN_SIGN_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentToken.data+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.EOF){this._err(ERR.eofInComment);this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.data+=toChar(cp)}}[COMMENT_LESS_THAN_SIGN_STATE](cp){if(cp===$.EXCLAMATION_MARK){this.currentToken.data+="!";this.state=COMMENT_LESS_THAN_SIGN_BANG_STATE}else if(cp===$.LESS_THAN_SIGN){this.currentToken.data+="!"}else{this._reconsumeInState(COMMENT_STATE)}}[COMMENT_LESS_THAN_SIGN_BANG_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE}else{this._reconsumeInState(COMMENT_STATE)}}[COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE}else{this._reconsumeInState(COMMENT_END_DASH_STATE)}}[COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE](cp){if(cp!==$.GREATER_THAN_SIGN&&cp!==$.EOF){this._err(ERR.nestedComment)}this._reconsumeInState(COMMENT_END_STATE)}[COMMENT_END_DASH_STATE](cp){if(cp===$.HYPHEN_MINUS){this.state=COMMENT_END_STATE}else if(cp===$.EOF){this._err(ERR.eofInComment);this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.data+="-";this._reconsumeInState(COMMENT_STATE)}}[COMMENT_END_STATE](cp){if(cp===$.GREATER_THAN_SIGN){this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EXCLAMATION_MARK){this.state=COMMENT_END_BANG_STATE}else if(cp===$.HYPHEN_MINUS){this.currentToken.data+="-"}else if(cp===$.EOF){this._err(ERR.eofInComment);this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.data+="--";this._reconsumeInState(COMMENT_STATE)}}[COMMENT_END_BANG_STATE](cp){if(cp===$.HYPHEN_MINUS){this.currentToken.data+="--!";this.state=COMMENT_END_DASH_STATE}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.incorrectlyClosedComment);this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInComment);this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.data+="--!";this._reconsumeInState(COMMENT_STATE)}}[DOCTYPE_STATE](cp){if(isWhitespace(cp)){this.state=BEFORE_DOCTYPE_NAME_STATE}else if(cp===$.GREATER_THAN_SIGN){this._reconsumeInState(BEFORE_DOCTYPE_NAME_STATE)}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this._createDoctypeToken(null);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this._err(ERR.missingWhitespaceBeforeDoctypeName);this._reconsumeInState(BEFORE_DOCTYPE_NAME_STATE)}}[BEFORE_DOCTYPE_NAME_STATE](cp){if(isWhitespace(cp)){return}if(isAsciiUpper(cp)){this._createDoctypeToken(toAsciiLowerChar(cp));this.state=DOCTYPE_NAME_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this._createDoctypeToken(unicode.REPLACEMENT_CHARACTER);this.state=DOCTYPE_NAME_STATE}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.missingDoctypeName);this._createDoctypeToken(null);this.currentToken.forceQuirks=true;this._emitCurrentToken();this.state=DATA_STATE}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this._createDoctypeToken(null);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this._createDoctypeToken(toChar(cp));this.state=DOCTYPE_NAME_STATE}}[DOCTYPE_NAME_STATE](cp){if(isWhitespace(cp)){this.state=AFTER_DOCTYPE_NAME_STATE}else if(cp===$.GREATER_THAN_SIGN){this.state=DATA_STATE;this._emitCurrentToken()}else if(isAsciiUpper(cp)){this.currentToken.name+=toAsciiLowerChar(cp)}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentToken.name+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.name+=toChar(cp)}}[AFTER_DOCTYPE_NAME_STATE](cp){if(isWhitespace(cp)){return}if(cp===$.GREATER_THAN_SIGN){this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else if(this._consumeSequenceIfMatch($$.PUBLIC_STRING,cp,false)){this.state=AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE}else if(this._consumeSequenceIfMatch($$.SYSTEM_STRING,cp,false)){this.state=AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE}else if(!this._ensureHibernation()){this._err(ERR.invalidCharacterSequenceAfterDoctypeName);this.currentToken.forceQuirks=true;this._reconsumeInState(BOGUS_DOCTYPE_STATE)}}[AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE](cp){if(isWhitespace(cp)){this.state=BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE}else if(cp===$.QUOTATION_MARK){this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword);this.currentToken.publicId="";this.state=DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE}else if(cp===$.APOSTROPHE){this._err(ERR.missingWhitespaceAfterDoctypePublicKeyword);this.currentToken.publicId="";this.state=DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.missingDoctypePublicIdentifier);this.currentToken.forceQuirks=true;this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier);this.currentToken.forceQuirks=true;this._reconsumeInState(BOGUS_DOCTYPE_STATE)}}[BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE](cp){if(isWhitespace(cp)){return}if(cp===$.QUOTATION_MARK){this.currentToken.publicId="";this.state=DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE}else if(cp===$.APOSTROPHE){this.currentToken.publicId="";this.state=DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.missingDoctypePublicIdentifier);this.currentToken.forceQuirks=true;this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this._err(ERR.missingQuoteBeforeDoctypePublicIdentifier);this.currentToken.forceQuirks=true;this._reconsumeInState(BOGUS_DOCTYPE_STATE)}}[DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE](cp){if(cp===$.QUOTATION_MARK){this.state=AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentToken.publicId+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.abruptDoctypePublicIdentifier);this.currentToken.forceQuirks=true;this._emitCurrentToken();this.state=DATA_STATE}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.publicId+=toChar(cp)}}[DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE](cp){if(cp===$.APOSTROPHE){this.state=AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentToken.publicId+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.abruptDoctypePublicIdentifier);this.currentToken.forceQuirks=true;this._emitCurrentToken();this.state=DATA_STATE}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.publicId+=toChar(cp)}}[AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE](cp){if(isWhitespace(cp)){this.state=BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE}else if(cp===$.GREATER_THAN_SIGN){this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.QUOTATION_MARK){this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);this.currentToken.systemId="";this.state=DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE}else if(cp===$.APOSTROPHE){this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);this.currentToken.systemId="";this.state=DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);this.currentToken.forceQuirks=true;this._reconsumeInState(BOGUS_DOCTYPE_STATE)}}[BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE](cp){if(isWhitespace(cp)){return}if(cp===$.GREATER_THAN_SIGN){this._emitCurrentToken();this.state=DATA_STATE}else if(cp===$.QUOTATION_MARK){this.currentToken.systemId="";this.state=DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE}else if(cp===$.APOSTROPHE){this.currentToken.systemId="";this.state=DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);this.currentToken.forceQuirks=true;this._reconsumeInState(BOGUS_DOCTYPE_STATE)}}[AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE](cp){if(isWhitespace(cp)){this.state=BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE}else if(cp===$.QUOTATION_MARK){this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword);this.currentToken.systemId="";this.state=DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE}else if(cp===$.APOSTROPHE){this._err(ERR.missingWhitespaceAfterDoctypeSystemKeyword);this.currentToken.systemId="";this.state=DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.missingDoctypeSystemIdentifier);this.currentToken.forceQuirks=true;this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);this.currentToken.forceQuirks=true;this._reconsumeInState(BOGUS_DOCTYPE_STATE)}}[BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE](cp){if(isWhitespace(cp)){return}if(cp===$.QUOTATION_MARK){this.currentToken.systemId="";this.state=DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE}else if(cp===$.APOSTROPHE){this.currentToken.systemId="";this.state=DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.missingDoctypeSystemIdentifier);this.currentToken.forceQuirks=true;this.state=DATA_STATE;this._emitCurrentToken()}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this._err(ERR.missingQuoteBeforeDoctypeSystemIdentifier);this.currentToken.forceQuirks=true;this._reconsumeInState(BOGUS_DOCTYPE_STATE)}}[DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE](cp){if(cp===$.QUOTATION_MARK){this.state=AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentToken.systemId+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.abruptDoctypeSystemIdentifier);this.currentToken.forceQuirks=true;this._emitCurrentToken();this.state=DATA_STATE}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.systemId+=toChar(cp)}}[DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE](cp){if(cp===$.APOSTROPHE){this.state=AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter);this.currentToken.systemId+=unicode.REPLACEMENT_CHARACTER}else if(cp===$.GREATER_THAN_SIGN){this._err(ERR.abruptDoctypeSystemIdentifier);this.currentToken.forceQuirks=true;this._emitCurrentToken();this.state=DATA_STATE}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this.currentToken.systemId+=toChar(cp)}}[AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE](cp){if(isWhitespace(cp)){return}if(cp===$.GREATER_THAN_SIGN){this._emitCurrentToken();this.state=DATA_STATE}else if(cp===$.EOF){this._err(ERR.eofInDoctype);this.currentToken.forceQuirks=true;this._emitCurrentToken();this._emitEOFToken()}else{this._err(ERR.unexpectedCharacterAfterDoctypeSystemIdentifier);this._reconsumeInState(BOGUS_DOCTYPE_STATE)}}[BOGUS_DOCTYPE_STATE](cp){if(cp===$.GREATER_THAN_SIGN){this._emitCurrentToken();this.state=DATA_STATE}else if(cp===$.NULL){this._err(ERR.unexpectedNullCharacter)}else if(cp===$.EOF){this._emitCurrentToken();this._emitEOFToken()}}[CDATA_SECTION_STATE](cp){if(cp===$.RIGHT_SQUARE_BRACKET){this.state=CDATA_SECTION_BRACKET_STATE}else if(cp===$.EOF){this._err(ERR.eofInCdata);this._emitEOFToken()}else{this._emitCodePoint(cp)}}[CDATA_SECTION_BRACKET_STATE](cp){if(cp===$.RIGHT_SQUARE_BRACKET){this.state=CDATA_SECTION_END_STATE}else{this._emitChars("]");this._reconsumeInState(CDATA_SECTION_STATE)}}[CDATA_SECTION_END_STATE](cp){if(cp===$.GREATER_THAN_SIGN){this.state=DATA_STATE}else if(cp===$.RIGHT_SQUARE_BRACKET){this._emitChars("]")}else{this._emitChars("]]");this._reconsumeInState(CDATA_SECTION_STATE)}}[CHARACTER_REFERENCE_STATE](cp){this.tempBuff=[$.AMPERSAND];if(cp===$.NUMBER_SIGN){this.tempBuff.push(cp);this.state=NUMERIC_CHARACTER_REFERENCE_STATE}else if(isAsciiAlphaNumeric(cp)){this._reconsumeInState(NAMED_CHARACTER_REFERENCE_STATE)}else{this._flushCodePointsConsumedAsCharacterReference();this._reconsumeInState(this.returnState)}}[NAMED_CHARACTER_REFERENCE_STATE](cp){const matchResult=this._matchNamedCharacterReference(cp);if(this._ensureHibernation()){this.tempBuff=[$.AMPERSAND]}else if(matchResult){const withSemicolon=this.tempBuff[this.tempBuff.length-1]===$.SEMICOLON;if(!this._isCharacterReferenceAttributeQuirk(withSemicolon)){if(!withSemicolon){this._errOnNextCodePoint(ERR.missingSemicolonAfterCharacterReference)}this.tempBuff=matchResult}this._flushCodePointsConsumedAsCharacterReference();this.state=this.returnState}else{this._flushCodePointsConsumedAsCharacterReference();this.state=AMBIGUOUS_AMPERSAND_STATE}}[AMBIGUOUS_AMPERSAND_STATE](cp){if(isAsciiAlphaNumeric(cp)){if(this._isCharacterReferenceInAttribute()){this.currentAttr.value+=toChar(cp)}else{this._emitCodePoint(cp)}}else{if(cp===$.SEMICOLON){this._err(ERR.unknownNamedCharacterReference)}this._reconsumeInState(this.returnState)}}[NUMERIC_CHARACTER_REFERENCE_STATE](cp){this.charRefCode=0;if(cp===$.LATIN_SMALL_X||cp===$.LATIN_CAPITAL_X){this.tempBuff.push(cp);this.state=HEXADEMICAL_CHARACTER_REFERENCE_START_STATE}else{this._reconsumeInState(DECIMAL_CHARACTER_REFERENCE_START_STATE)}}[HEXADEMICAL_CHARACTER_REFERENCE_START_STATE](cp){if(isAsciiHexDigit(cp)){this._reconsumeInState(HEXADEMICAL_CHARACTER_REFERENCE_STATE)}else{this._err(ERR.absenceOfDigitsInNumericCharacterReference);this._flushCodePointsConsumedAsCharacterReference();this._reconsumeInState(this.returnState)}}[DECIMAL_CHARACTER_REFERENCE_START_STATE](cp){if(isAsciiDigit(cp)){this._reconsumeInState(DECIMAL_CHARACTER_REFERENCE_STATE)}else{this._err(ERR.absenceOfDigitsInNumericCharacterReference);this._flushCodePointsConsumedAsCharacterReference();this._reconsumeInState(this.returnState)}}[HEXADEMICAL_CHARACTER_REFERENCE_STATE](cp){if(isAsciiUpperHexDigit(cp)){this.charRefCode=this.charRefCode*16+cp-55}else if(isAsciiLowerHexDigit(cp)){this.charRefCode=this.charRefCode*16+cp-87}else if(isAsciiDigit(cp)){this.charRefCode=this.charRefCode*16+cp-48}else if(cp===$.SEMICOLON){this.state=NUMERIC_CHARACTER_REFERENCE_END_STATE}else{this._err(ERR.missingSemicolonAfterCharacterReference);this._reconsumeInState(NUMERIC_CHARACTER_REFERENCE_END_STATE)}}[DECIMAL_CHARACTER_REFERENCE_STATE](cp){if(isAsciiDigit(cp)){this.charRefCode=this.charRefCode*10+cp-48}else if(cp===$.SEMICOLON){this.state=NUMERIC_CHARACTER_REFERENCE_END_STATE}else{this._err(ERR.missingSemicolonAfterCharacterReference);this._reconsumeInState(NUMERIC_CHARACTER_REFERENCE_END_STATE)}}[NUMERIC_CHARACTER_REFERENCE_END_STATE](){if(this.charRefCode===$.NULL){this._err(ERR.nullCharacterReference);this.charRefCode=$.REPLACEMENT_CHARACTER}else if(this.charRefCode>1114111){this._err(ERR.characterReferenceOutsideUnicodeRange);this.charRefCode=$.REPLACEMENT_CHARACTER}else if(unicode.isSurrogate(this.charRefCode)){this._err(ERR.surrogateCharacterReference);this.charRefCode=$.REPLACEMENT_CHARACTER}else if(unicode.isUndefinedCodePoint(this.charRefCode)){this._err(ERR.noncharacterCharacterReference)}else if(unicode.isControlCodePoint(this.charRefCode)||this.charRefCode===$.CARRIAGE_RETURN){this._err(ERR.controlCharacterReference);const replacement=C1_CONTROLS_REFERENCE_REPLACEMENTS[this.charRefCode];if(replacement){this.charRefCode=replacement}}this.tempBuff=[this.charRefCode];this._flushCodePointsConsumedAsCharacterReference();this._reconsumeInState(this.returnState)}}Tokenizer.CHARACTER_TOKEN="CHARACTER_TOKEN";Tokenizer.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";Tokenizer.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";Tokenizer.START_TAG_TOKEN="START_TAG_TOKEN";Tokenizer.END_TAG_TOKEN="END_TAG_TOKEN";Tokenizer.COMMENT_TOKEN="COMMENT_TOKEN";Tokenizer.DOCTYPE_TOKEN="DOCTYPE_TOKEN";Tokenizer.EOF_TOKEN="EOF_TOKEN";Tokenizer.HIBERNATION_TOKEN="HIBERNATION_TOKEN";Tokenizer.MODE={DATA:DATA_STATE,RCDATA:RCDATA_STATE,RAWTEXT:RAWTEXT_STATE,SCRIPT_DATA:SCRIPT_DATA_STATE,PLAINTEXT:PLAINTEXT_STATE};Tokenizer.getTokenAttr=function(token,attrName){for(let i=token.attrs.length-1;i>=0;i--){if(token.attrs[i].name===attrName){return token.attrs[i].value}}return null};module.exports=Tokenizer},{"../common/error-codes":823,"../common/unicode":826,"./named-entity-data":841,"./preprocessor":842}],841:[function(require,module,exports){"use strict";module.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},{}],842:[function(require,module,exports){"use strict";const unicode=require("../common/unicode");const ERR=require("../common/error-codes");const $=unicode.CODE_POINTS;const DEFAULT_BUFFER_WATERLINE=1<<16;class Preprocessor{constructor(){this.html=null;this.pos=-1;this.lastGapPos=-1;this.lastCharPos=-1;this.gapStack=[];this.skipNextNewLine=false;this.lastChunkWritten=false;this.endOfChunkHit=false;this.bufferWaterline=DEFAULT_BUFFER_WATERLINE}_err(){}_addGap(){this.gapStack.push(this.lastGapPos);this.lastGapPos=this.pos}_processSurrogate(cp){if(this.pos!==this.lastCharPos){const nextCp=this.html.charCodeAt(this.pos+1);if(unicode.isSurrogatePair(nextCp)){this.pos++;this._addGap();return unicode.getSurrogatePairCodePoint(cp,nextCp)}}else if(!this.lastChunkWritten){this.endOfChunkHit=true;return $.EOF}this._err(ERR.surrogateInInputStream);return cp}dropParsedChunk(){if(this.pos>this.bufferWaterline){this.lastCharPos-=this.pos;this.html=this.html.substring(this.pos);this.pos=0;this.lastGapPos=-1;this.gapStack=[]}}write(chunk,isLastChunk){if(this.html){this.html+=chunk}else{this.html=chunk}this.lastCharPos=this.html.length-1;this.endOfChunkHit=false;this.lastChunkWritten=isLastChunk}insertHtmlAtCurrentPos(chunk){this.html=this.html.substring(0,this.pos+1)+chunk+this.html.substring(this.pos+1,this.html.length);this.lastCharPos=this.html.length-1;this.endOfChunkHit=false}advance(){this.pos++;if(this.pos>this.lastCharPos){this.endOfChunkHit=!this.lastChunkWritten;return $.EOF}let cp=this.html.charCodeAt(this.pos);if(this.skipNextNewLine&&cp===$.LINE_FEED){this.skipNextNewLine=false;this._addGap();return this.advance()}if(cp===$.CARRIAGE_RETURN){this.skipNextNewLine=true;return $.LINE_FEED}this.skipNextNewLine=false;if(unicode.isSurrogate(cp)){cp=this._processSurrogate(cp)}const isCommonValidRange=cp>31&&cp<127||cp===$.LINE_FEED||cp===$.CARRIAGE_RETURN||cp>159&&cp<64976;if(!isCommonValidRange){this._checkForProblematicCharacters(cp)}return cp}_checkForProblematicCharacters(cp){if(unicode.isControlCodePoint(cp)){this._err(ERR.controlCharacterInInputStream)}else if(unicode.isUndefinedCodePoint(cp)){this._err(ERR.noncharacterInInputStream)}}retreat(){if(this.pos===this.lastGapPos){this.lastGapPos=this.gapStack.pop();this.pos--}this.pos--}}module.exports=Preprocessor},{"../common/error-codes":823,"../common/unicode":826}],843:[function(require,module,exports){"use strict";const{DOCUMENT_MODE:DOCUMENT_MODE}=require("../common/html");exports.createDocument=function(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}};exports.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}};exports.createElement=function(tagName,namespaceURI,attrs){return{nodeName:tagName,tagName:tagName,attrs:attrs,namespaceURI:namespaceURI,childNodes:[],parentNode:null}};exports.createCommentNode=function(data){return{nodeName:"#comment",data:data,parentNode:null}};const createTextNode=function(value){return{nodeName:"#text",value:value,parentNode:null}};const appendChild=exports.appendChild=function(parentNode,newNode){parentNode.childNodes.push(newNode);newNode.parentNode=parentNode};const insertBefore=exports.insertBefore=function(parentNode,newNode,referenceNode){const insertionIdx=parentNode.childNodes.indexOf(referenceNode);parentNode.childNodes.splice(insertionIdx,0,newNode);newNode.parentNode=parentNode};exports.setTemplateContent=function(templateElement,contentElement){templateElement.content=contentElement};exports.getTemplateContent=function(templateElement){return templateElement.content};exports.setDocumentType=function(document,name,publicId,systemId){let doctypeNode=null;for(let i=0;i<document.childNodes.length;i++){if(document.childNodes[i].nodeName==="#documentType"){doctypeNode=document.childNodes[i];break}}if(doctypeNode){doctypeNode.name=name;doctypeNode.publicId=publicId;doctypeNode.systemId=systemId}else{appendChild(document,{nodeName:"#documentType",name:name,publicId:publicId,systemId:systemId})}};exports.setDocumentMode=function(document,mode){document.mode=mode};exports.getDocumentMode=function(document){return document.mode};exports.detachNode=function(node){if(node.parentNode){const idx=node.parentNode.childNodes.indexOf(node);node.parentNode.childNodes.splice(idx,1);node.parentNode=null}};exports.insertText=function(parentNode,text){if(parentNode.childNodes.length){const prevNode=parentNode.childNodes[parentNode.childNodes.length-1];if(prevNode.nodeName==="#text"){prevNode.value+=text;return}}appendChild(parentNode,createTextNode(text))};exports.insertTextBefore=function(parentNode,text,referenceNode){const prevNode=parentNode.childNodes[parentNode.childNodes.indexOf(referenceNode)-1];if(prevNode&&prevNode.nodeName==="#text"){prevNode.value+=text}else{insertBefore(parentNode,createTextNode(text),referenceNode)}};exports.adoptAttributes=function(recipient,attrs){const recipientAttrsMap=[];for(let i=0;i<recipient.attrs.length;i++){recipientAttrsMap.push(recipient.attrs[i].name)}for(let j=0;j<attrs.length;j++){if(recipientAttrsMap.indexOf(attrs[j].name)===-1){recipient.attrs.push(attrs[j])}}};exports.getFirstChild=function(node){return node.childNodes[0]};exports.getChildNodes=function(node){return node.childNodes};exports.getParentNode=function(node){return node.parentNode};exports.getAttrList=function(element){return element.attrs};exports.getTagName=function(element){return element.tagName};exports.getNamespaceURI=function(element){return element.namespaceURI};exports.getTextNodeContent=function(textNode){return textNode.value};exports.getCommentNodeContent=function(commentNode){return commentNode.data};exports.getDocumentTypeNodeName=function(doctypeNode){return doctypeNode.name};exports.getDocumentTypeNodePublicId=function(doctypeNode){return doctypeNode.publicId};exports.getDocumentTypeNodeSystemId=function(doctypeNode){return doctypeNode.systemId};exports.isTextNode=function(node){return node.nodeName==="#text"};exports.isCommentNode=function(node){return node.nodeName==="#comment"};exports.isDocumentTypeNode=function(node){return node.nodeName==="#documentType"};exports.isElementNode=function(node){return!!node.tagName};exports.setNodeSourceCodeLocation=function(node,location){node.sourceCodeLocation=location};exports.getNodeSourceCodeLocation=function(node){return node.sourceCodeLocation}},{"../common/html":825}],844:[function(require,module,exports){"use strict";module.exports=function mergeOptions(defaults,options){options=options||Object.create(null);return[defaults,options].reduce((merged,optObj)=>{Object.keys(optObj).forEach(key=>{merged[key]=optObj[key]});return merged},Object.create(null))}},{}],845:[function(require,module,exports){"use strict";class Mixin{constructor(host){const originalMethods={};const overriddenMethods=this._getOverriddenMethods(this,originalMethods);for(const key of Object.keys(overriddenMethods)){if(typeof overriddenMethods[key]==="function"){originalMethods[key]=host[key];host[key]=overriddenMethods[key]}}}_getOverriddenMethods(){throw new Error("Not implemented")}}Mixin.install=function(host,Ctor,opts){if(!host.__mixins){host.__mixins=[]}for(let i=0;i<host.__mixins.length;i++){if(host.__mixins[i].constructor===Ctor){return host.__mixins[i]}}const mixin=new Ctor(host,opts);host.__mixins.push(mixin);return mixin};module.exports=Mixin},{}],846:[function(require,module,exports){(function(process){function normalizeArray(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up--;up){parts.unshift("..")}}return parts}exports.resolve=function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:process.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){continue}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=normalizeArray(filter(resolvedPath.split("/"),(function(p){return!!p})),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."};exports.normalize=function(path){var isAbsolute=exports.isAbsolute(path),trailingSlash=substr(path,-1)==="/";path=normalizeArray(filter(path.split("/"),(function(p){return!!p})),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path};exports.isAbsolute=function(path){return path.charAt(0)==="/"};exports.join=function(){var paths=Array.prototype.slice.call(arguments,0);return exports.normalize(filter(paths,(function(p,index){if(typeof p!=="string"){throw new TypeError("Arguments to path.join must be strings")}return p})).join("/"))};exports.relative=function(from,to){from=exports.resolve(from).substr(1);to=exports.resolve(to).substr(1);function trim(arr){var start=0;for(;start<arr.length;start++){if(arr[start]!=="")break}var end=arr.length-1;for(;end>=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i<length;i++){if(fromParts[i]!==toParts[i]){samePartsLength=i;break}}var outputParts=[];for(var i=samePartsLength;i<fromParts.length;i++){outputParts.push("..")}outputParts=outputParts.concat(toParts.slice(samePartsLength));return outputParts.join("/")};exports.sep="/";exports.delimiter=":";exports.dirname=function(path){if(typeof path!=="string")path=path+"";if(path.length===0)return".";var code=path.charCodeAt(0);var hasRoot=code===47;var end=-1;var matchedSlash=true;for(var i=path.length-1;i>=1;--i){code=path.charCodeAt(i);if(code===47){if(!matchedSlash){end=i;break}}else{matchedSlash=false}}if(end===-1)return hasRoot?"/":".";if(hasRoot&&end===1){return"/"}return path.slice(0,end)};function basename(path){if(typeof path!=="string")path=path+"";var start=0;var end=-1;var matchedSlash=true;var i;for(i=path.length-1;i>=0;--i){if(path.charCodeAt(i)===47){if(!matchedSlash){start=i+1;break}}else if(end===-1){matchedSlash=false;end=i+1}}if(end===-1)return"";return path.slice(start,end)}exports.basename=function(path,ext){var f=basename(path);if(ext&&f.substr(-1*ext.length)===ext){f=f.substr(0,f.length-ext.length)}return f};exports.extname=function(path){if(typeof path!=="string")path=path+"";var startDot=-1;var startPart=0;var end=-1;var matchedSlash=true;var preDotState=0;for(var i=path.length-1;i>=0;--i){var code=path.charCodeAt(i);if(code===47){if(!matchedSlash){startPart=i+1;break}continue}if(end===-1){matchedSlash=false;end=i+1}if(code===46){if(startDot===-1)startDot=i;else if(preDotState!==1)preDotState=1}else if(startDot!==-1){preDotState=-1}}if(startDot===-1||end===-1||preDotState===0||preDotState===1&&startDot===end-1&&startDot===startPart+1){return""}return path.slice(startDot,end)};function filter(xs,f){if(xs.filter)return xs.filter(f);var res=[];for(var i=0;i<xs.length;i++){if(f(xs[i],i,xs))res.push(xs[i])}return res}var substr="ab".substr(-1)==="b"?function(str,start,len){return str.substr(start,len)}:function(str,start,len){if(start<0)start=str.length+start;return str.substr(start,len)}}).call(this,require("_process"))},{_process:855}],847:[function(require,module,exports){exports.pbkdf2=require("./lib/async");exports.pbkdf2Sync=require("./lib/sync")},{"./lib/async":848,"./lib/sync":851}],848:[function(require,module,exports){(function(process,global){var Buffer=require("safe-buffer").Buffer;var checkParameters=require("./precondition");var defaultEncoding=require("./default-encoding");var sync=require("./sync");var toBuffer=require("./to-buffer");var ZERO_BUF;var subtle=global.crypto&&global.crypto.subtle;var toBrowser={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"};var checks=[];function checkNative(algo){if(global.process&&!global.process.browser){return Promise.resolve(false)}if(!subtle||!subtle.importKey||!subtle.deriveBits){return Promise.resolve(false)}if(checks[algo]!==undefined){return checks[algo]}ZERO_BUF=ZERO_BUF||Buffer.alloc(8);var prom=browserPbkdf2(ZERO_BUF,ZERO_BUF,10,128,algo).then((function(){return true})).catch((function(){return false}));checks[algo]=prom;return prom}function browserPbkdf2(password,salt,iterations,length,algo){return subtle.importKey("raw",password,{name:"PBKDF2"},false,["deriveBits"]).then((function(key){return subtle.deriveBits({name:"PBKDF2",salt:salt,iterations:iterations,hash:{name:algo}},key,length<<3)})).then((function(res){return Buffer.from(res)}))}function resolvePromise(promise,callback){promise.then((function(out){process.nextTick((function(){callback(null,out)}))}),(function(e){process.nextTick((function(){callback(e)}))}))}module.exports=function(password,salt,iterations,keylen,digest,callback){if(typeof digest==="function"){callback=digest;digest=undefined}digest=digest||"sha1";var algo=toBrowser[digest.toLowerCase()];if(!algo||typeof global.Promise!=="function"){return process.nextTick((function(){var out;try{out=sync(password,salt,iterations,keylen,digest)}catch(e){return callback(e)}callback(null,out)}))}checkParameters(iterations,keylen);password=toBuffer(password,defaultEncoding,"Password");salt=toBuffer(salt,defaultEncoding,"Salt");if(typeof callback!=="function")throw new Error("No callback provided to pbkdf2");resolvePromise(checkNative(algo).then((function(resp){if(resp)return browserPbkdf2(password,salt,iterations,keylen,algo);return sync(password,salt,iterations,keylen,digest)})),callback)}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./default-encoding":849,"./precondition":850,"./sync":851,"./to-buffer":852,_process:855,"safe-buffer":907}],849:[function(require,module,exports){(function(process){var defaultEncoding;if(process.browser){defaultEncoding="utf-8"}else if(process.version){var pVersionMajor=parseInt(process.version.split(".")[0].slice(1),10);defaultEncoding=pVersionMajor>=6?"utf-8":"binary"}else{defaultEncoding="utf-8"}module.exports=defaultEncoding}).call(this,require("_process"))},{_process:855}],850:[function(require,module,exports){var MAX_ALLOC=Math.pow(2,30)-1;module.exports=function(iterations,keylen){if(typeof iterations!=="number"){throw new TypeError("Iterations not a number")}if(iterations<0){throw new TypeError("Bad iterations")}if(typeof keylen!=="number"){throw new TypeError("Key length not a number")}if(keylen<0||keylen>MAX_ALLOC||keylen!==keylen){throw new TypeError("Bad key length")}}},{}],851:[function(require,module,exports){var md5=require("create-hash/md5");var RIPEMD160=require("ripemd160");var sha=require("sha.js");var Buffer=require("safe-buffer").Buffer;var checkParameters=require("./precondition");var defaultEncoding=require("./default-encoding");var toBuffer=require("./to-buffer");var ZEROS=Buffer.alloc(128);var sizes={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function Hmac(alg,key,saltLen){var hash=getDigest(alg);var blocksize=alg==="sha512"||alg==="sha384"?128:64;if(key.length>blocksize){key=hash(key)}else if(key.length<blocksize){key=Buffer.concat([key,ZEROS],blocksize)}var ipad=Buffer.allocUnsafe(blocksize+sizes[alg]);var opad=Buffer.allocUnsafe(blocksize+sizes[alg]);for(var i=0;i<blocksize;i++){ipad[i]=key[i]^54;opad[i]=key[i]^92}var ipad1=Buffer.allocUnsafe(blocksize+saltLen+4);ipad.copy(ipad1,0,0,blocksize);this.ipad1=ipad1;this.ipad2=ipad;this.opad=opad;this.alg=alg;this.blocksize=blocksize;this.hash=hash;this.size=sizes[alg]}Hmac.prototype.run=function(data,ipad){data.copy(ipad,this.blocksize);var h=this.hash(ipad);h.copy(this.opad,this.blocksize);return this.hash(this.opad)};function getDigest(alg){function shaFunc(data){return sha(alg).update(data).digest()}function rmd160Func(data){return(new RIPEMD160).update(data).digest()}if(alg==="rmd160"||alg==="ripemd160")return rmd160Func;if(alg==="md5")return md5;return shaFunc}function pbkdf2(password,salt,iterations,keylen,digest){checkParameters(iterations,keylen);password=toBuffer(password,defaultEncoding,"Password");salt=toBuffer(salt,defaultEncoding,"Salt");digest=digest||"sha1";var hmac=new Hmac(digest,password,salt.length);var DK=Buffer.allocUnsafe(keylen);var block1=Buffer.allocUnsafe(salt.length+4);salt.copy(block1,0,0,salt.length);var destPos=0;var hLen=sizes[digest];var l=Math.ceil(keylen/hLen);for(var i=1;i<=l;i++){block1.writeUInt32BE(i,salt.length);var T=hmac.run(block1,hmac.ipad1);var U=T;for(var j=1;j<iterations;j++){U=hmac.run(U,hmac.ipad2);for(var k=0;k<hLen;k++)T[k]^=U[k]}T.copy(DK,destPos);destPos+=hLen}return DK}module.exports=pbkdf2},{"./default-encoding":849,"./precondition":850,"./to-buffer":852,"create-hash/md5":140,ripemd160:906,"safe-buffer":907,"sha.js":911}],852:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;module.exports=function(thing,encoding,name){if(Buffer.isBuffer(thing)){return thing}else if(typeof thing==="string"){return Buffer.from(thing,encoding)}else if(ArrayBuffer.isView(thing)){return Buffer.from(thing.buffer)}else{throw new TypeError(name+" must be a string, a Buffer, a typed array or a DataView")}}},{"safe-buffer":907}],853:[function(require,module,exports){(function(process){(function(){var getNanoSeconds,hrtime,loadTime,moduleLoadTime,nodeLoadTime,upTime;if(typeof performance!=="undefined"&&performance!==null&&performance.now){module.exports=function(){return performance.now()}}else if(typeof process!=="undefined"&&process!==null&&process.hrtime){module.exports=function(){return(getNanoSeconds()-nodeLoadTime)/1e6};hrtime=process.hrtime;getNanoSeconds=function(){var hr;hr=hrtime();return hr[0]*1e9+hr[1]};moduleLoadTime=getNanoSeconds();upTime=process.uptime()*1e9;nodeLoadTime=moduleLoadTime-upTime}else if(Date.now){module.exports=function(){return Date.now()-loadTime};loadTime=Date.now()}else{module.exports=function(){return(new Date).getTime()-loadTime};loadTime=(new Date).getTime()}}).call(this)}).call(this,require("_process"))},{_process:855}],854:[function(require,module,exports){(function(process){"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){module.exports={nextTick:nextTick}}else{module.exports=process}function nextTick(fn,arg1,arg2,arg3){if(typeof fn!=="function"){throw new TypeError('"callback" argument must be a function')}var len=arguments.length;var args,i;switch(len){case 0:case 1:return process.nextTick(fn);case 2:return process.nextTick((function afterTickOne(){fn.call(null,arg1)}));case 3:return process.nextTick((function afterTickTwo(){fn.call(null,arg1,arg2)}));case 4:return process.nextTick((function afterTickThree(){fn.call(null,arg1,arg2,arg3)}));default:args=new Array(len-1);i=0;while(i<args.length){args[i++]=arguments[i]}return process.nextTick((function afterTick(){fn.apply(null,args)}))}}}).call(this,require("_process"))},{_process:855}],855:[function(require,module,exports){var process=module.exports={};var cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){cachedSetTimeout=setTimeout}else{cachedSetTimeout=defaultSetTimout}}catch(e){cachedSetTimeout=defaultSetTimout}try{if(typeof clearTimeout==="function"){cachedClearTimeout=clearTimeout}else{cachedClearTimeout=defaultClearTimeout}}catch(e){cachedClearTimeout=defaultClearTimeout}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){return setTimeout(fun,0)}if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0)}try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){return clearTimeout(marker)}if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker)}try{return cachedClearTimeout(marker)}catch(e){try{return cachedClearTimeout.call(null,marker)}catch(e){return cachedClearTimeout.call(this,marker)}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue)}else{queueIndex=-1}if(queue.length){drainQueue()}}function drainQueue(){if(draining){return}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run()}}queueIndex=-1;len=queue.length}currentQueue=null;draining=false;runClearTimeout(timeout)}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i]}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue)}};function Item(fun,array){this.fun=fun;this.array=array}Item.prototype.run=function(){this.fun.apply(null,this.array)};process.title="browser";process.browser=true;process.env={};process.argv=[];process.version="";process.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.prependListener=noop;process.prependOnceListener=noop;process.listeners=function(name){return[]};process.binding=function(name){throw new Error("process.binding is not supported")};process.cwd=function(){return"/"};process.chdir=function(dir){throw new Error("process.chdir is not supported")};process.umask=function(){return 0}},{}],856:[function(require,module,exports){module.exports=["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","freight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","com.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","net.ar","org.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","education.tas.edu.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","cri.br","cuiaba.br","curitiba.br","def.br","ecn.br","eco.br","edu.br","emp.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","aprendemas.cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","name.cy","net.cy","org.cy","parliament.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","com.dz","org.dz","net.dz","gov.dz","edu.dz","asso.dz","pol.dz","art.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个人.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","edu.ky","gov.ky","com.ky","org.ky","net.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","com.my","net.my","org.my","gov.my","edu.my","mil.my","name.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","net.ss","org.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","gov.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","intl.tn","nat.tn","net.tn","org.tn","info.tn","perso.tn","tourism.tn","edunet.tn","rnrt.tn","rns.tn","rnu.tn","mincom.tn","agrinet.tn","defense.tn","turen.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","dominic.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.ri.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","org.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","*.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afamilycompany","afl","africa","agakhan","agency","aig","aigo","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","budapest","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","caseih","cash","casino","catering","catholic","cba","cbn","cbre","cbs","ceb","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","duck","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","esurance","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glade","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","intel","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","iveco","jaguar","java","jcb","jcp","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","lupin","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","metlife","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","mutual","nab","nadex","nagoya","nationwide","natura","navy","nba","nec","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","qvc","racing","radio","raid","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","spreadbetting","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiftcover","swiss","sydney","symantec","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","大众汽车","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","工行","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手表","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","珠宝","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","adobeaemcloud.com","adobeaemcloud.net","*.dev.adobeaemcloud.com","beep.pl","barsy.ca","*.compute.estate","*.alces.network","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","amsw.nl","t3l3p0rt.net","tele.amune.org","apigee.io","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","myfritz.net","*.awdev.ca","*.advisor.ws","b-data.io","backplaneapp.io","balena-devices.com","app.banzaicloud.io","betainabox.com","bnr.la","blackbaudcdn.net","boomla.net","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","mycd.eu","carrd.co","crd.co","uwu.ai","ae.org","ar.com","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.com","gb.net","hu.com","hu.net","jp.net","jpn.com","kr.com","mex.com","no.com","qc.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","uy.com","za.bz","za.com","africa.com","gr.com","in.net","us.org","co.com","c.la","certmgr.org","xenapponazure.com","discourse.group","discourse.team","virtueeldomein.nl","cleverapps.io","*.lcl.dev","*.stg.dev","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","cloudera.site","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cloudeity.net","cnpy.gdn","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","edgestack.me","debian.net","dedyn.io","dnshome.de","online.th","shop.th","drayddns.com","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","en-root.fr","mytuleap.com","onred.one","staging.onred.one","enonic.io","customer.enonic.io","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastpanel.direct","fastvps-server.com","fhapp.xyz","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","mydobiss.com","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","flynnhub.com","flynnhosting.net","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","service.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","lab.ms","github.io","githubusercontent.com","gitlab.io","glitch.me","lolipop.io","cloudapps.digital","london.cloudapps.digital","homeoffice.gov.uk","ro.im","shop.ro","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","cloudfunctions.net","cloud.goog","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","awsmppl.com","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","hepforge.org","herokuapp.com","herokussl.com","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","bpl.biz","orx.biz","ng.city","biz.gl","ng.ink","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","ng.school","sch.so","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","ipifony.net","mein-iserv.de","test-iserv.de","iserv.dev","iobb.net","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","oya.to","co.krd","edu.krd","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkitools.space","linkyard.cloud","linkyard-cloud.ch","members.linode.com","nodebalancer.linode.com","we.bs","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","uklugs.org","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","miniserver.com","memset.net","cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","ui.nabu.casa","pony.club","of.fashion","on.fashion","of.football","in.london","of.london","for.men","and.mom","for.mom","for.one","for.sale","of.work","to.work","nctu.me","bitballoon.com","netlify.com","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","nodum.co","nodum.io","pcloud.host","nyc.mn","nom.ae","nom.af","nom.ai","nom.al","nym.by","nom.bz","nym.bz","nom.cl","nym.ec","nom.gd","nom.ge","nom.gl","nym.gr","nom.gt","nym.gy","nym.hk","nom.hn","nym.ie","nom.im","nom.ke","nym.kz","nym.la","nym.lc","nom.li","nym.li","nym.lt","nym.lu","nom.lv","nym.me","nom.mk","nym.mn","nym.mx","nom.nu","nym.nz","nym.pe","nym.pt","nom.pw","nom.qa","nym.ro","nom.rs","nom.si","nym.sk","nom.st","nym.su","nym.sx","nom.tj","nym.tw","nom.ug","nom.uy","nom.vc","nom.vg","static.observableusercontent.com","cya.gg","cloudycluster.net","nid.io","opencraft.hosting","operaunite.com","skygearapp.com","outsystemscloud.com","ownprovider.com","own.pm","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","on-web.fr","*.platform.sh","*.platformsh.site","dyn53.io","co.bn","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","qualifioapp.com","qbuser.com","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","ptplus.fit","wellbeingzone.co.uk","git-pages.rit.edu","sandcats.io","logoip.de","logoip.com","schokokeks.net","gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","senseering.net","biz.ua","co.ua","pp.ua","shiftedit.io","myshopblocks.com","shopitsite.com","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","stackhero-network.com","static.land","dev.static.land","sites.static.land","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","applicationcloud.io","scapp.io","*.s5y.io","*.sensiosite.cloud","syncloud.it","diskstation.me","dscloud.biz","dscloud.me","dscloud.mobi","dsmynas.com","dsmynas.net","dsmynas.org","familyds.com","familyds.net","familyds.org","i234.me","myds.me","synology.me","vpnplus.to","direct.quickconnect.to","taifun-dns.de","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","edugit.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","arvo.network","azimuth.network","bloxcms.com","townnews-staging.com","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","virtualuser.de","virtual-user.de","urown.cloud","dnsupdate.info","lib.de.us","2038.io","router.management","v-info.info","voorloper.cloud","v.ua","wafflecell.com","*.webhare.dev","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","wmflabs.org","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","nohost.me","noho.st","za.net","za.org","now.sh","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]},{}],857:[function(require,module,exports){"use strict";var Punycode=require("punycode");var internals={};internals.rules=require("./data/rules.json").map((function(rule){return{rule:rule,suffix:rule.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:rule.charAt(0)==="*",exception:rule.charAt(0)==="!"}}));internals.endsWith=function(str,suffix){return str.indexOf(suffix,str.length-suffix.length)!==-1};internals.findRule=function(domain){var punyDomain=Punycode.toASCII(domain);return internals.rules.reduce((function(memo,rule){if(rule.punySuffix===-1){rule.punySuffix=Punycode.toASCII(rule.suffix)}if(!internals.endsWith(punyDomain,"."+rule.punySuffix)&&punyDomain!==rule.punySuffix){return memo}return rule}),null)};exports.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."};internals.validate=function(input){var ascii=Punycode.toASCII(input);if(ascii.length<1){return"DOMAIN_TOO_SHORT"}if(ascii.length>255){return"DOMAIN_TOO_LONG"}var labels=ascii.split(".");var label;for(var i=0;i<labels.length;++i){label=labels[i];if(!label.length){return"LABEL_TOO_SHORT"}if(label.length>63){return"LABEL_TOO_LONG"}if(label.charAt(0)==="-"){return"LABEL_STARTS_WITH_DASH"}if(label.charAt(label.length-1)==="-"){return"LABEL_ENDS_WITH_DASH"}if(!/^[a-z0-9\-]+$/.test(label)){return"LABEL_INVALID_CHARS"}}};exports.parse=function(input){if(typeof input!=="string"){throw new TypeError("Domain name must be a string.")}var domain=input.slice(0).toLowerCase();if(domain.charAt(domain.length-1)==="."){domain=domain.slice(0,domain.length-1)}var error=internals.validate(domain);if(error){return{input:input,error:{message:exports.errorCodes[error],code:error}}}var parsed={input:input,tld:null,sld:null,domain:null,subdomain:null,listed:false};var domainParts=domain.split(".");if(domainParts[domainParts.length-1]==="local"){return parsed}var handlePunycode=function(){if(!/xn--/.test(domain)){return parsed}if(parsed.domain){parsed.domain=Punycode.toASCII(parsed.domain)}if(parsed.subdomain){parsed.subdomain=Punycode.toASCII(parsed.subdomain)}return parsed};var rule=internals.findRule(domain);if(!rule){if(domainParts.length<2){return parsed}parsed.tld=domainParts.pop();parsed.sld=domainParts.pop();parsed.domain=[parsed.sld,parsed.tld].join(".");if(domainParts.length){parsed.subdomain=domainParts.pop()}return handlePunycode()}parsed.listed=true;var tldParts=rule.suffix.split(".");var privateParts=domainParts.slice(0,domainParts.length-tldParts.length);if(rule.exception){privateParts.push(tldParts.shift())}parsed.tld=tldParts.join(".");if(!privateParts.length){return handlePunycode()}if(rule.wildcard){tldParts.unshift(privateParts.pop());parsed.tld=tldParts.join(".")}if(!privateParts.length){return handlePunycode()}parsed.sld=privateParts.pop();parsed.domain=[parsed.sld,parsed.tld].join(".");if(privateParts.length){parsed.subdomain=privateParts.join(".")}return handlePunycode()};exports.get=function(domain){if(!domain){return null}return exports.parse(domain).domain||null};exports.isValid=function(domain){var parsed=exports.parse(domain);return Boolean(parsed.domain&&parsed.listed)}},{"./data/rules.json":856,punycode:130}],858:[function(require,module,exports){exports.publicEncrypt=require("./publicEncrypt");exports.privateDecrypt=require("./privateDecrypt");exports.privateEncrypt=function privateEncrypt(key,buf){return exports.publicEncrypt(key,buf,true)};exports.publicDecrypt=function publicDecrypt(key,buf){return exports.privateDecrypt(key,buf,true)}},{"./privateDecrypt":860,"./publicEncrypt":861}],859:[function(require,module,exports){var createHash=require("create-hash");var Buffer=require("safe-buffer").Buffer;module.exports=function(seed,len){var t=Buffer.alloc(0);var i=0;var c;while(t.length<len){c=i2ops(i++);t=Buffer.concat([t,createHash("sha1").update(seed).update(c).digest()])}return t.slice(0,len)};function i2ops(c){var out=Buffer.allocUnsafe(4);out.writeUInt32BE(c,0);return out}},{"create-hash":139,"safe-buffer":907}],860:[function(require,module,exports){var parseKeys=require("parse-asn1");var mgf=require("./mgf");var xor=require("./xor");var BN=require("bn.js");var crt=require("browserify-rsa");var createHash=require("create-hash");var withPublic=require("./withPublic");var Buffer=require("safe-buffer").Buffer;module.exports=function privateDecrypt(privateKey,enc,reverse){var padding;if(privateKey.padding){padding=privateKey.padding}else if(reverse){padding=1}else{padding=4}var key=parseKeys(privateKey);var k=key.modulus.byteLength();if(enc.length>k||new BN(enc).cmp(key.modulus)>=0){throw new Error("decryption error")}var msg;if(reverse){msg=withPublic(new BN(enc),key)}else{msg=crt(enc,key)}var zBuffer=Buffer.alloc(k-msg.length);msg=Buffer.concat([zBuffer,msg],k);if(padding===4){return oaep(key,msg)}else if(padding===1){return pkcs1(key,msg,reverse)}else if(padding===3){return msg}else{throw new Error("unknown padding")}};function oaep(key,msg){var k=key.modulus.byteLength();var iHash=createHash("sha1").update(Buffer.alloc(0)).digest();var hLen=iHash.length;if(msg[0]!==0){throw new Error("decryption error")}var maskedSeed=msg.slice(1,hLen+1);var maskedDb=msg.slice(hLen+1);var seed=xor(maskedSeed,mgf(maskedDb,hLen));var db=xor(maskedDb,mgf(seed,k-hLen-1));if(compare(iHash,db.slice(0,hLen))){throw new Error("decryption error")}var i=hLen;while(db[i]===0){i++}if(db[i++]!==1){throw new Error("decryption error")}return db.slice(i)}function pkcs1(key,msg,reverse){var p1=msg.slice(0,2);var i=2;var status=0;while(msg[i++]!==0){if(i>=msg.length){status++;break}}var ps=msg.slice(2,i-1);if(p1.toString("hex")!=="0002"&&!reverse||p1.toString("hex")!=="0001"&&reverse){status++}if(ps.length<8){status++}if(status){throw new Error("decryption error")}return msg.slice(i)}function compare(a,b){a=Buffer.from(a);b=Buffer.from(b);var dif=0;var len=a.length;if(a.length!==b.length){dif++;len=Math.min(a.length,b.length)}var i=-1;while(++i<len){dif+=a[i]^b[i]}return dif}},{"./mgf":859,"./withPublic":862,"./xor":863,"bn.js":80,"browserify-rsa":104,"create-hash":139,"parse-asn1":821,"safe-buffer":907}],861:[function(require,module,exports){var parseKeys=require("parse-asn1");var randomBytes=require("randombytes");var createHash=require("create-hash");var mgf=require("./mgf");var xor=require("./xor");var BN=require("bn.js");var withPublic=require("./withPublic");var crt=require("browserify-rsa");var Buffer=require("safe-buffer").Buffer;module.exports=function publicEncrypt(publicKey,msg,reverse){var padding;if(publicKey.padding){padding=publicKey.padding}else if(reverse){padding=1}else{padding=4}var key=parseKeys(publicKey);var paddedMsg;if(padding===4){paddedMsg=oaep(key,msg)}else if(padding===1){paddedMsg=pkcs1(key,msg,reverse)}else if(padding===3){paddedMsg=new BN(msg);if(paddedMsg.cmp(key.modulus)>=0){throw new Error("data too long for modulus")}}else{throw new Error("unknown padding")}if(reverse){return crt(paddedMsg,key)}else{return withPublic(paddedMsg,key)}};function oaep(key,msg){var k=key.modulus.byteLength();var mLen=msg.length;var iHash=createHash("sha1").update(Buffer.alloc(0)).digest();var hLen=iHash.length;var hLen2=2*hLen;if(mLen>k-hLen2-2){throw new Error("message too long")}var ps=Buffer.alloc(k-mLen-hLen2-2);var dblen=k-hLen-1;var seed=randomBytes(hLen);var maskedDb=xor(Buffer.concat([iHash,ps,Buffer.alloc(1,1),msg],dblen),mgf(seed,dblen));var maskedSeed=xor(seed,mgf(maskedDb,hLen));return new BN(Buffer.concat([Buffer.alloc(1),maskedSeed,maskedDb],k))}function pkcs1(key,msg,reverse){var mLen=msg.length;var k=key.modulus.byteLength();if(mLen>k-11){throw new Error("message too long")}var ps;if(reverse){ps=Buffer.alloc(k-mLen-3,255)}else{ps=nonZero(k-mLen-3)}return new BN(Buffer.concat([Buffer.from([0,reverse?1:2]),ps,Buffer.alloc(1),msg],k))}function nonZero(len){var out=Buffer.allocUnsafe(len);var i=0;var cache=randomBytes(len*2);var cur=0;var num;while(i<len){if(cur===cache.length){cache=randomBytes(len*2);cur=0}num=cache[cur++];if(num){out[i++]=num}}return out}},{"./mgf":859,"./withPublic":862,"./xor":863,"bn.js":80,"browserify-rsa":104,"create-hash":139,"parse-asn1":821,randombytes:872,"safe-buffer":907}],862:[function(require,module,exports){var BN=require("bn.js");var Buffer=require("safe-buffer").Buffer;function withPublic(paddedMsg,key){return Buffer.from(paddedMsg.toRed(BN.mont(key.modulus)).redPow(new BN(key.publicExponent)).fromRed().toArray())}module.exports=withPublic},{"bn.js":80,"safe-buffer":907}],863:[function(require,module,exports){module.exports=function xor(a,b){var len=a.length;var i=-1;while(++i<len){a[i]^=b[i]}return a}},{}],864:[function(require,module,exports){"use strict";var replace=String.prototype.replace;var percentTwenties=/%20/g;module.exports={default:"RFC3986",formatters:{RFC1738:function(value){return replace.call(value,percentTwenties,"+")},RFC3986:function(value){return value}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},{}],865:[function(require,module,exports){"use strict";var stringify=require("./stringify");var parse=require("./parse");var formats=require("./formats");module.exports={formats:formats,parse:parse,stringify:stringify}},{"./formats":864,"./parse":866,"./stringify":867}],866:[function(require,module,exports){"use strict";var utils=require("./utils");var has=Object.prototype.hasOwnProperty;var defaults={allowDots:false,allowPrototypes:false,arrayLimit:20,decoder:utils.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:false,strictNullHandling:false};var parseValues=function parseQueryStringValues(str,options){var obj={};var cleanStr=options.ignoreQueryPrefix?str.replace(/^\?/,""):str;var limit=options.parameterLimit===Infinity?undefined:options.parameterLimit;var parts=cleanStr.split(options.delimiter,limit);for(var i=0;i<parts.length;++i){var part=parts[i];var bracketEqualsPos=part.indexOf("]=");var pos=bracketEqualsPos===-1?part.indexOf("="):bracketEqualsPos+1;var key,val;if(pos===-1){key=options.decoder(part,defaults.decoder);val=options.strictNullHandling?null:""}else{key=options.decoder(part.slice(0,pos),defaults.decoder);val=options.decoder(part.slice(pos+1),defaults.decoder)}if(has.call(obj,key)){obj[key]=[].concat(obj[key]).concat(val)}else{obj[key]=val}}return obj};var parseObject=function(chain,val,options){var leaf=val;for(var i=chain.length-1;i>=0;--i){var obj;var root=chain[i];if(root==="[]"){obj=[];obj=obj.concat(leaf)}else{obj=options.plainObjects?Object.create(null):{};var cleanRoot=root.charAt(0)==="["&&root.charAt(root.length-1)==="]"?root.slice(1,-1):root;var index=parseInt(cleanRoot,10);if(!isNaN(index)&&root!==cleanRoot&&String(index)===cleanRoot&&index>=0&&(options.parseArrays&&index<=options.arrayLimit)){obj=[];obj[index]=leaf}else{obj[cleanRoot]=leaf}}leaf=obj}return leaf};var parseKeys=function parseQueryStringKeys(givenKey,val,options){if(!givenKey){return}var key=options.allowDots?givenKey.replace(/\.([^.[]+)/g,"[$1]"):givenKey;var brackets=/(\[[^[\]]*])/;var child=/(\[[^[\]]*])/g;var segment=brackets.exec(key);var parent=segment?key.slice(0,segment.index):key;var keys=[];if(parent){if(!options.plainObjects&&has.call(Object.prototype,parent)){if(!options.allowPrototypes){return}}keys.push(parent)}var i=0;while((segment=child.exec(key))!==null&&i<options.depth){i+=1;if(!options.plainObjects&&has.call(Object.prototype,segment[1].slice(1,-1))){if(!options.allowPrototypes){return}}keys.push(segment[1])}if(segment){keys.push("["+key.slice(segment.index)+"]")}return parseObject(keys,val,options)};module.exports=function(str,opts){var options=opts?utils.assign({},opts):{};if(options.decoder!==null&&options.decoder!==undefined&&typeof options.decoder!=="function"){throw new TypeError("Decoder has to be a function.")}options.ignoreQueryPrefix=options.ignoreQueryPrefix===true;options.delimiter=typeof options.delimiter==="string"||utils.isRegExp(options.delimiter)?options.delimiter:defaults.delimiter;options.depth=typeof options.depth==="number"?options.depth:defaults.depth;options.arrayLimit=typeof options.arrayLimit==="number"?options.arrayLimit:defaults.arrayLimit;options.parseArrays=options.parseArrays!==false;options.decoder=typeof options.decoder==="function"?options.decoder:defaults.decoder;options.allowDots=typeof options.allowDots==="boolean"?options.allowDots:defaults.allowDots;options.plainObjects=typeof options.plainObjects==="boolean"?options.plainObjects:defaults.plainObjects;options.allowPrototypes=typeof options.allowPrototypes==="boolean"?options.allowPrototypes:defaults.allowPrototypes;options.parameterLimit=typeof options.parameterLimit==="number"?options.parameterLimit:defaults.parameterLimit;options.strictNullHandling=typeof options.strictNullHandling==="boolean"?options.strictNullHandling:defaults.strictNullHandling;if(str===""||str===null||typeof str==="undefined"){return options.plainObjects?Object.create(null):{}}var tempObj=typeof str==="string"?parseValues(str,options):str;var obj=options.plainObjects?Object.create(null):{};var keys=Object.keys(tempObj);for(var i=0;i<keys.length;++i){var key=keys[i];var newObj=parseKeys(key,tempObj[key],options);obj=utils.merge(obj,newObj,options)}return utils.compact(obj)}},{"./utils":868}],867:[function(require,module,exports){"use strict";var utils=require("./utils");var formats=require("./formats");var arrayPrefixGenerators={brackets:function brackets(prefix){return prefix+"[]"},indices:function indices(prefix,key){return prefix+"["+key+"]"},repeat:function repeat(prefix){return prefix}};var toISO=Date.prototype.toISOString;var defaults={delimiter:"&",encode:true,encoder:utils.encode,encodeValuesOnly:false,serializeDate:function serializeDate(date){return toISO.call(date)},skipNulls:false,strictNullHandling:false};var stringify=function stringify(object,prefix,generateArrayPrefix,strictNullHandling,skipNulls,encoder,filter,sort,allowDots,serializeDate,formatter,encodeValuesOnly){var obj=object;if(typeof filter==="function"){obj=filter(prefix,obj)}else if(obj instanceof Date){obj=serializeDate(obj)}else if(obj===null){if(strictNullHandling){return encoder&&!encodeValuesOnly?encoder(prefix,defaults.encoder):prefix}obj=""}if(typeof obj==="string"||typeof obj==="number"||typeof obj==="boolean"||utils.isBuffer(obj)){if(encoder){var keyValue=encodeValuesOnly?prefix:encoder(prefix,defaults.encoder);return[formatter(keyValue)+"="+formatter(encoder(obj,defaults.encoder))]}return[formatter(prefix)+"="+formatter(String(obj))]}var values=[];if(typeof obj==="undefined"){return values}var objKeys;if(Array.isArray(filter)){objKeys=filter}else{var keys=Object.keys(obj);objKeys=sort?keys.sort(sort):keys}for(var i=0;i<objKeys.length;++i){var key=objKeys[i];if(skipNulls&&obj[key]===null){continue}if(Array.isArray(obj)){values=values.concat(stringify(obj[key],generateArrayPrefix(prefix,key),generateArrayPrefix,strictNullHandling,skipNulls,encoder,filter,sort,allowDots,serializeDate,formatter,encodeValuesOnly))}else{values=values.concat(stringify(obj[key],prefix+(allowDots?"."+key:"["+key+"]"),generateArrayPrefix,strictNullHandling,skipNulls,encoder,filter,sort,allowDots,serializeDate,formatter,encodeValuesOnly))}}return values};module.exports=function(object,opts){var obj=object;var options=opts?utils.assign({},opts):{};if(options.encoder!==null&&options.encoder!==undefined&&typeof options.encoder!=="function"){throw new TypeError("Encoder has to be a function.")}var delimiter=typeof options.delimiter==="undefined"?defaults.delimiter:options.delimiter;var strictNullHandling=typeof options.strictNullHandling==="boolean"?options.strictNullHandling:defaults.strictNullHandling;var skipNulls=typeof options.skipNulls==="boolean"?options.skipNulls:defaults.skipNulls;var encode=typeof options.encode==="boolean"?options.encode:defaults.encode;var encoder=typeof options.encoder==="function"?options.encoder:defaults.encoder;var sort=typeof options.sort==="function"?options.sort:null;var allowDots=typeof options.allowDots==="undefined"?false:options.allowDots;var serializeDate=typeof options.serializeDate==="function"?options.serializeDate:defaults.serializeDate;var encodeValuesOnly=typeof options.encodeValuesOnly==="boolean"?options.encodeValuesOnly:defaults.encodeValuesOnly;if(typeof options.format==="undefined"){options.format=formats["default"]}else if(!Object.prototype.hasOwnProperty.call(formats.formatters,options.format)){throw new TypeError("Unknown format option provided.")}var formatter=formats.formatters[options.format];var objKeys;var filter;if(typeof options.filter==="function"){filter=options.filter;obj=filter("",obj)}else if(Array.isArray(options.filter)){filter=options.filter;objKeys=filter}var keys=[];if(typeof obj!=="object"||obj===null){return""}var arrayFormat;if(options.arrayFormat in arrayPrefixGenerators){arrayFormat=options.arrayFormat}else if("indices"in options){arrayFormat=options.indices?"indices":"repeat"}else{arrayFormat="indices"}var generateArrayPrefix=arrayPrefixGenerators[arrayFormat];if(!objKeys){objKeys=Object.keys(obj)}if(sort){objKeys.sort(sort)}for(var i=0;i<objKeys.length;++i){var key=objKeys[i];if(skipNulls&&obj[key]===null){continue}keys=keys.concat(stringify(obj[key],key,generateArrayPrefix,strictNullHandling,skipNulls,encode?encoder:null,filter,sort,allowDots,serializeDate,formatter,encodeValuesOnly))}var joined=keys.join(delimiter);var prefix=options.addQueryPrefix===true?"?":"";return joined.length>0?prefix+joined:""}},{"./formats":864,"./utils":868}],868:[function(require,module,exports){"use strict";var has=Object.prototype.hasOwnProperty;var hexTable=function(){var array=[];for(var i=0;i<256;++i){array.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase())}return array}();var compactQueue=function compactQueue(queue){var obj;while(queue.length){var item=queue.pop();obj=item.obj[item.prop];if(Array.isArray(obj)){var compacted=[];for(var j=0;j<obj.length;++j){if(typeof obj[j]!=="undefined"){compacted.push(obj[j])}}item.obj[item.prop]=compacted}}return obj};var arrayToObject=function arrayToObject(source,options){var obj=options&&options.plainObjects?Object.create(null):{};for(var i=0;i<source.length;++i){if(typeof source[i]!=="undefined"){obj[i]=source[i]}}return obj};var merge=function merge(target,source,options){if(!source){return target}if(typeof source!=="object"){if(Array.isArray(target)){target.push(source)}else if(typeof target==="object"){if(options.plainObjects||options.allowPrototypes||!has.call(Object.prototype,source)){target[source]=true}}else{return[target,source]}return target}if(typeof target!=="object"){return[target].concat(source)}var mergeTarget=target;if(Array.isArray(target)&&!Array.isArray(source)){mergeTarget=arrayToObject(target,options)}if(Array.isArray(target)&&Array.isArray(source)){source.forEach((function(item,i){if(has.call(target,i)){if(target[i]&&typeof target[i]==="object"){target[i]=merge(target[i],item,options)}else{target.push(item)}}else{target[i]=item}}));return target}return Object.keys(source).reduce((function(acc,key){var value=source[key];if(has.call(acc,key)){acc[key]=merge(acc[key],value,options)}else{acc[key]=value}return acc}),mergeTarget)};var assign=function assignSingleSource(target,source){return Object.keys(source).reduce((function(acc,key){acc[key]=source[key];return acc}),target)};var decode=function(str){try{return decodeURIComponent(str.replace(/\+/g," "))}catch(e){return str}};var encode=function encode(str){if(str.length===0){return str}var string=typeof str==="string"?str:String(str);var out="";for(var i=0;i<string.length;++i){var c=string.charCodeAt(i);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122){out+=string.charAt(i);continue}if(c<128){out=out+hexTable[c];continue}if(c<2048){out=out+(hexTable[192|c>>6]+hexTable[128|c&63]);continue}if(c<55296||c>=57344){out=out+(hexTable[224|c>>12]+hexTable[128|c>>6&63]+hexTable[128|c&63]);continue}i+=1;c=65536+((c&1023)<<10|string.charCodeAt(i)&1023);out+=hexTable[240|c>>18]+hexTable[128|c>>12&63]+hexTable[128|c>>6&63]+hexTable[128|c&63]}return out};var compact=function compact(value){var queue=[{obj:{o:value},prop:"o"}];var refs=[];for(var i=0;i<queue.length;++i){var item=queue[i];var obj=item.obj[item.prop];var keys=Object.keys(obj);for(var j=0;j<keys.length;++j){var key=keys[j];var val=obj[key];if(typeof val==="object"&&val!==null&&refs.indexOf(val)===-1){queue.push({obj:obj,prop:key});refs.push(val)}}}return compactQueue(queue)};var isRegExp=function isRegExp(obj){return Object.prototype.toString.call(obj)==="[object RegExp]"};var isBuffer=function isBuffer(obj){if(obj===null||typeof obj==="undefined"){return false}return!!(obj.constructor&&obj.constructor.isBuffer&&obj.constructor.isBuffer(obj))};module.exports={arrayToObject:arrayToObject,assign:assign,compact:compact,decode:decode,encode:encode,isBuffer:isBuffer,isRegExp:isRegExp,merge:merge}},{}],869:[function(require,module,exports){"use strict";function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}module.exports=function(qs,sep,eq,options){sep=sep||"&";eq=eq||"=";var obj={};if(typeof qs!=="string"||qs.length===0){return obj}var regexp=/\+/g;qs=qs.split(sep);var maxKeys=1e3;if(options&&typeof options.maxKeys==="number"){maxKeys=options.maxKeys}var len=qs.length;if(maxKeys>0&&len>maxKeys){len=maxKeys}for(var i=0;i<len;++i){var x=qs[i].replace(regexp,"%20"),idx=x.indexOf(eq),kstr,vstr,k,v;if(idx>=0){kstr=x.substr(0,idx);vstr=x.substr(idx+1)}else{kstr=x;vstr=""}k=decodeURIComponent(kstr);v=decodeURIComponent(vstr);if(!hasOwnProperty(obj,k)){obj[k]=v}else if(isArray(obj[k])){obj[k].push(v)}else{obj[k]=[obj[k],v]}}return obj};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"}},{}],870:[function(require,module,exports){"use strict";var stringifyPrimitive=function(v){switch(typeof v){case"string":return v;case"boolean":return v?"true":"false";case"number":return isFinite(v)?v:"";default:return""}};module.exports=function(obj,sep,eq,name){sep=sep||"&";eq=eq||"=";if(obj===null){obj=undefined}if(typeof obj==="object"){return map(objectKeys(obj),(function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;if(isArray(obj[k])){return map(obj[k],(function(v){return ks+encodeURIComponent(stringifyPrimitive(v))})).join(sep)}else{return ks+encodeURIComponent(stringifyPrimitive(obj[k]))}})).join(sep)}if(!name)return"";return encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj))};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==="[object Array]"};function map(xs,f){if(xs.map)return xs.map(f);var res=[];for(var i=0;i<xs.length;i++){res.push(f(xs[i],i))}return res}var objectKeys=Object.keys||function(obj){var res=[];for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key))res.push(key)}return res}},{}],871:[function(require,module,exports){"use strict";exports.decode=exports.parse=require("./decode");exports.encode=exports.stringify=require("./encode")},{"./decode":869,"./encode":870}],872:[function(require,module,exports){(function(process,global){"use strict";var MAX_BYTES=65536;var MAX_UINT32=4294967295;function oldBrowser(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var Buffer=require("safe-buffer").Buffer;var crypto=global.crypto||global.msCrypto;if(crypto&&crypto.getRandomValues){module.exports=randomBytes}else{module.exports=oldBrowser}function randomBytes(size,cb){if(size>MAX_UINT32)throw new RangeError("requested too many random bytes");var bytes=Buffer.allocUnsafe(size);if(size>0){if(size>MAX_BYTES){for(var generated=0;generated<size;generated+=MAX_BYTES){crypto.getRandomValues(bytes.slice(generated,generated+MAX_BYTES))}}else{crypto.getRandomValues(bytes)}}if(typeof cb==="function"){return process.nextTick((function(){cb(null,bytes)}))}return bytes}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{_process:855,"safe-buffer":907}],873:[function(require,module,exports){(function(process,global){"use strict";function oldBrowser(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var safeBuffer=require("safe-buffer");var randombytes=require("randombytes");var Buffer=safeBuffer.Buffer;var kBufferMaxLength=safeBuffer.kMaxLength;var crypto=global.crypto||global.msCrypto;var kMaxUint32=Math.pow(2,32)-1;function assertOffset(offset,length){if(typeof offset!=="number"||offset!==offset){throw new TypeError("offset must be a number")}if(offset>kMaxUint32||offset<0){throw new TypeError("offset must be a uint32")}if(offset>kBufferMaxLength||offset>length){throw new RangeError("offset out of range")}}function assertSize(size,offset,length){if(typeof size!=="number"||size!==size){throw new TypeError("size must be a number")}if(size>kMaxUint32||size<0){throw new TypeError("size must be a uint32")}if(size+offset>length||size>kBufferMaxLength){throw new RangeError("buffer too small")}}if(crypto&&crypto.getRandomValues||!process.browser){exports.randomFill=randomFill;exports.randomFillSync=randomFillSync}else{exports.randomFill=oldBrowser;exports.randomFillSync=oldBrowser}function randomFill(buf,offset,size,cb){if(!Buffer.isBuffer(buf)&&!(buf instanceof global.Uint8Array)){throw new TypeError('"buf" argument must be a Buffer or Uint8Array')}if(typeof offset==="function"){cb=offset;offset=0;size=buf.length}else if(typeof size==="function"){cb=size;size=buf.length-offset}else if(typeof cb!=="function"){throw new TypeError('"cb" argument must be a function')}assertOffset(offset,buf.length);assertSize(size,offset,buf.length);return actualFill(buf,offset,size,cb)}function actualFill(buf,offset,size,cb){if(process.browser){var ourBuf=buf.buffer;var uint=new Uint8Array(ourBuf,offset,size);crypto.getRandomValues(uint);if(cb){process.nextTick((function(){cb(null,buf)}));return}return buf}if(cb){randombytes(size,(function(err,bytes){if(err){return cb(err)}bytes.copy(buf,offset);cb(null,buf)}));return}var bytes=randombytes(size);bytes.copy(buf,offset);return buf}function randomFillSync(buf,offset,size){if(typeof offset==="undefined"){offset=0}if(!Buffer.isBuffer(buf)&&!(buf instanceof global.Uint8Array)){throw new TypeError('"buf" argument must be a Buffer or Uint8Array')}assertOffset(offset,buf.length);if(size===undefined)size=buf.length-offset;assertSize(size,offset,buf.length);return actualFill(buf,offset,size)}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{_process:855,randombytes:872,"safe-buffer":907}],874:[function(require,module,exports){module.exports=require("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":875}],875:[function(require,module,exports){"use strict";var pna=require("process-nextick-args");var objectKeys=Object.keys||function(obj){var keys=[];for(var key in obj){keys.push(key)}return keys};module.exports=Duplex;var util=Object.create(require("core-util-is"));util.inherits=require("inherits");var Readable=require("./_stream_readable");var Writable=require("./_stream_writable");util.inherits(Duplex,Readable);{var keys=objectKeys(Writable.prototype);for(var v=0;v<keys.length;v++){var method=keys[v];if(!Duplex.prototype[method])Duplex.prototype[method]=Writable.prototype[method]}}function Duplex(options){if(!(this instanceof Duplex))return new Duplex(options);Readable.call(this,options);Writable.call(this,options);if(options&&options.readable===false)this.readable=false;if(options&&options.writable===false)this.writable=false;this.allowHalfOpen=true;if(options&&options.allowHalfOpen===false)this.allowHalfOpen=false;this.once("end",onend)}Object.defineProperty(Duplex.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function onend(){if(this.allowHalfOpen||this._writableState.ended)return;pna.nextTick(onEndNT,this)}function onEndNT(self){self.end()}Object.defineProperty(Duplex.prototype,"destroyed",{get:function(){if(this._readableState===undefined||this._writableState===undefined){return false}return this._readableState.destroyed&&this._writableState.destroyed},set:function(value){if(this._readableState===undefined||this._writableState===undefined){return}this._readableState.destroyed=value;this._writableState.destroyed=value}});Duplex.prototype._destroy=function(err,cb){this.push(null);this.end();pna.nextTick(cb,err)}},{"./_stream_readable":877,"./_stream_writable":879,"core-util-is":137,inherits:326,"process-nextick-args":854}],876:[function(require,module,exports){"use strict";module.exports=PassThrough;var Transform=require("./_stream_transform");var util=Object.create(require("core-util-is"));util.inherits=require("inherits");util.inherits(PassThrough,Transform);function PassThrough(options){if(!(this instanceof PassThrough))return new PassThrough(options);Transform.call(this,options)}PassThrough.prototype._transform=function(chunk,encoding,cb){cb(null,chunk)}},{"./_stream_transform":878,"core-util-is":137,inherits:326}],877:[function(require,module,exports){(function(process,global){"use strict";var pna=require("process-nextick-args");module.exports=Readable;var isArray=require("isarray");var Duplex;Readable.ReadableState=ReadableState;var EE=require("events").EventEmitter;var EElistenerCount=function(emitter,type){return emitter.listeners(type).length};var Stream=require("./internal/streams/stream");var Buffer=require("safe-buffer").Buffer;var OurUint8Array=global.Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var util=Object.create(require("core-util-is"));util.inherits=require("inherits");var debugUtil=require("util");var debug=void 0;if(debugUtil&&debugUtil.debuglog){debug=debugUtil.debuglog("stream")}else{debug=function(){}}var BufferList=require("./internal/streams/BufferList");var destroyImpl=require("./internal/streams/destroy");var StringDecoder;util.inherits(Readable,Stream);var kProxyEvents=["error","close","destroy","pause","resume"];function prependListener(emitter,event,fn){if(typeof emitter.prependListener==="function")return emitter.prependListener(event,fn);if(!emitter._events||!emitter._events[event])emitter.on(event,fn);else if(isArray(emitter._events[event]))emitter._events[event].unshift(fn);else emitter._events[event]=[fn,emitter._events[event]]}function ReadableState(options,stream){Duplex=Duplex||require("./_stream_duplex");options=options||{};var isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode;if(isDuplex)this.objectMode=this.objectMode||!!options.readableObjectMode;var hwm=options.highWaterMark;var readableHwm=options.readableHighWaterMark;var defaultHwm=this.objectMode?16:16*1024;if(hwm||hwm===0)this.highWaterMark=hwm;else if(isDuplex&&(readableHwm||readableHwm===0))this.highWaterMark=readableHwm;else this.highWaterMark=defaultHwm;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new BufferList;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=options.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(options.encoding){if(!StringDecoder)StringDecoder=require("string_decoder/").StringDecoder;this.decoder=new StringDecoder(options.encoding);this.encoding=options.encoding}}function Readable(options){Duplex=Duplex||require("./_stream_duplex");if(!(this instanceof Readable))return new Readable(options);this._readableState=new ReadableState(options,this);this.readable=true;if(options){if(typeof options.read==="function")this._read=options.read;if(typeof options.destroy==="function")this._destroy=options.destroy}Stream.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(value){if(!this._readableState){return}this._readableState.destroyed=value}});Readable.prototype.destroy=destroyImpl.destroy;Readable.prototype._undestroy=destroyImpl.undestroy;Readable.prototype._destroy=function(err,cb){this.push(null);cb(err)};Readable.prototype.push=function(chunk,encoding){var state=this._readableState;var skipChunkCheck;if(!state.objectMode){if(typeof chunk==="string"){encoding=encoding||state.defaultEncoding;if(encoding!==state.encoding){chunk=Buffer.from(chunk,encoding);encoding=""}skipChunkCheck=true}}else{skipChunkCheck=true}return readableAddChunk(this,chunk,encoding,false,skipChunkCheck)};Readable.prototype.unshift=function(chunk){return readableAddChunk(this,chunk,null,true,false)};function readableAddChunk(stream,chunk,encoding,addToFront,skipChunkCheck){var state=stream._readableState;if(chunk===null){state.reading=false;onEofChunk(stream,state)}else{var er;if(!skipChunkCheck)er=chunkInvalid(state,chunk);if(er){stream.emit("error",er)}else if(state.objectMode||chunk&&chunk.length>0){if(typeof chunk!=="string"&&!state.objectMode&&Object.getPrototypeOf(chunk)!==Buffer.prototype){chunk=_uint8ArrayToBuffer(chunk)}if(addToFront){if(state.endEmitted)stream.emit("error",new Error("stream.unshift() after end event"));else addChunk(stream,state,chunk,true)}else if(state.ended){stream.emit("error",new Error("stream.push() after EOF"))}else{state.reading=false;if(state.decoder&&!encoding){chunk=state.decoder.write(chunk);if(state.objectMode||chunk.length!==0)addChunk(stream,state,chunk,false);else maybeReadMore(stream,state)}else{addChunk(stream,state,chunk,false)}}}else if(!addToFront){state.reading=false}}return needMoreData(state)}function addChunk(stream,state,chunk,addToFront){if(state.flowing&&state.length===0&&!state.sync){stream.emit("data",chunk);stream.read(0)}else{state.length+=state.objectMode?1:chunk.length;if(addToFront)state.buffer.unshift(chunk);else state.buffer.push(chunk);if(state.needReadable)emitReadable(stream)}maybeReadMore(stream,state)}function chunkInvalid(state,chunk){var er;if(!_isUint8Array(chunk)&&typeof chunk!=="string"&&chunk!==undefined&&!state.objectMode){er=new TypeError("Invalid non-string/buffer chunk")}return er}function needMoreData(state){return!state.ended&&(state.needReadable||state.length<state.highWaterMark||state.length===0)}Readable.prototype.isPaused=function(){return this._readableState.flowing===false};Readable.prototype.setEncoding=function(enc){if(!StringDecoder)StringDecoder=require("string_decoder/").StringDecoder;this._readableState.decoder=new StringDecoder(enc);this._readableState.encoding=enc;return this};var MAX_HWM=8388608;function computeNewHighWaterMark(n){if(n>=MAX_HWM){n=MAX_HWM}else{n--;n|=n>>>1;n|=n>>>2;n|=n>>>4;n|=n>>>8;n|=n>>>16;n++}return n}function howMuchToRead(n,state){if(n<=0||state.length===0&&state.ended)return 0;if(state.objectMode)return 1;if(n!==n){if(state.flowing&&state.length)return state.buffer.head.data.length;else return state.length}if(n>state.highWaterMark)state.highWaterMark=computeNewHighWaterMark(n);if(n<=state.length)return n;if(!state.ended){state.needReadable=true;return 0}return state.length}Readable.prototype.read=function(n){debug("read",n);n=parseInt(n,10);var state=this._readableState;var nOrig=n;if(n!==0)state.emittedReadable=false;if(n===0&&state.needReadable&&(state.length>=state.highWaterMark||state.ended)){debug("read: emitReadable",state.length,state.ended);if(state.length===0&&state.ended)endReadable(this);else emitReadable(this);return null}n=howMuchToRead(n,state);if(n===0&&state.ended){if(state.length===0)endReadable(this);return null}var doRead=state.needReadable;debug("need readable",doRead);if(state.length===0||state.length-n<state.highWaterMark){doRead=true;debug("length less than watermark",doRead)}if(state.ended||state.reading){doRead=false;debug("reading or ended",doRead)}else if(doRead){debug("do read");state.reading=true;state.sync=true;if(state.length===0)state.needReadable=true;this._read(state.highWaterMark);state.sync=false;if(!state.reading)n=howMuchToRead(nOrig,state)}var ret;if(n>0)ret=fromList(n,state);else ret=null;if(ret===null){state.needReadable=true;n=0}else{state.length-=n}if(state.length===0){if(!state.ended)state.needReadable=true;if(nOrig!==n&&state.ended)endReadable(this)}if(ret!==null)this.emit("data",ret);return ret};function onEofChunk(stream,state){if(state.ended)return;if(state.decoder){var chunk=state.decoder.end();if(chunk&&chunk.length){state.buffer.push(chunk);state.length+=state.objectMode?1:chunk.length}}state.ended=true;emitReadable(stream)}function emitReadable(stream){var state=stream._readableState;state.needReadable=false;if(!state.emittedReadable){debug("emitReadable",state.flowing);state.emittedReadable=true;if(state.sync)pna.nextTick(emitReadable_,stream);else emitReadable_(stream)}}function emitReadable_(stream){debug("emit readable");stream.emit("readable");flow(stream)}function maybeReadMore(stream,state){if(!state.readingMore){state.readingMore=true;pna.nextTick(maybeReadMore_,stream,state)}}function maybeReadMore_(stream,state){var len=state.length;while(!state.reading&&!state.flowing&&!state.ended&&state.length<state.highWaterMark){debug("maybeReadMore read 0");stream.read(0);if(len===state.length)break;else len=state.length}state.readingMore=false}Readable.prototype._read=function(n){this.emit("error",new Error("_read() is not implemented"))};Readable.prototype.pipe=function(dest,pipeOpts){var src=this;var state=this._readableState;switch(state.pipesCount){case 0:state.pipes=dest;break;case 1:state.pipes=[state.pipes,dest];break;default:state.pipes.push(dest);break}state.pipesCount+=1;debug("pipe count=%d opts=%j",state.pipesCount,pipeOpts);var doEnd=(!pipeOpts||pipeOpts.end!==false)&&dest!==process.stdout&&dest!==process.stderr;var endFn=doEnd?onend:unpipe;if(state.endEmitted)pna.nextTick(endFn);else src.once("end",endFn);dest.on("unpipe",onunpipe);function onunpipe(readable,unpipeInfo){debug("onunpipe");if(readable===src){if(unpipeInfo&&unpipeInfo.hasUnpiped===false){unpipeInfo.hasUnpiped=true;cleanup()}}}function onend(){debug("onend");dest.end()}var ondrain=pipeOnDrain(src);dest.on("drain",ondrain);var cleanedUp=false;function cleanup(){debug("cleanup");dest.removeListener("close",onclose);dest.removeListener("finish",onfinish);dest.removeListener("drain",ondrain);dest.removeListener("error",onerror);dest.removeListener("unpipe",onunpipe);src.removeListener("end",onend);src.removeListener("end",unpipe);src.removeListener("data",ondata);cleanedUp=true;if(state.awaitDrain&&(!dest._writableState||dest._writableState.needDrain))ondrain()}var increasedAwaitDrain=false;src.on("data",ondata);function ondata(chunk){debug("ondata");increasedAwaitDrain=false;var ret=dest.write(chunk);if(false===ret&&!increasedAwaitDrain){if((state.pipesCount===1&&state.pipes===dest||state.pipesCount>1&&indexOf(state.pipes,dest)!==-1)&&!cleanedUp){debug("false write response, pause",src._readableState.awaitDrain);src._readableState.awaitDrain++;increasedAwaitDrain=true}src.pause()}}function onerror(er){debug("onerror",er);unpipe();dest.removeListener("error",onerror);if(EElistenerCount(dest,"error")===0)dest.emit("error",er)}prependListener(dest,"error",onerror);function onclose(){dest.removeListener("finish",onfinish);unpipe()}dest.once("close",onclose);function onfinish(){debug("onfinish");dest.removeListener("close",onclose);unpipe()}dest.once("finish",onfinish);function unpipe(){debug("unpipe");src.unpipe(dest)}dest.emit("pipe",src);if(!state.flowing){debug("pipe resume");src.resume()}return dest};function pipeOnDrain(src){return function(){var state=src._readableState;debug("pipeOnDrain",state.awaitDrain);if(state.awaitDrain)state.awaitDrain--;if(state.awaitDrain===0&&EElistenerCount(src,"data")){state.flowing=true;flow(src)}}}Readable.prototype.unpipe=function(dest){var state=this._readableState;var unpipeInfo={hasUnpiped:false};if(state.pipesCount===0)return this;if(state.pipesCount===1){if(dest&&dest!==state.pipes)return this;if(!dest)dest=state.pipes;state.pipes=null;state.pipesCount=0;state.flowing=false;if(dest)dest.emit("unpipe",this,unpipeInfo);return this}if(!dest){var dests=state.pipes;var len=state.pipesCount;state.pipes=null;state.pipesCount=0;state.flowing=false;for(var i=0;i<len;i++){dests[i].emit("unpipe",this,unpipeInfo)}return this}var index=indexOf(state.pipes,dest);if(index===-1)return this;state.pipes.splice(index,1);state.pipesCount-=1;if(state.pipesCount===1)state.pipes=state.pipes[0];dest.emit("unpipe",this,unpipeInfo);return this};Readable.prototype.on=function(ev,fn){var res=Stream.prototype.on.call(this,ev,fn);if(ev==="data"){if(this._readableState.flowing!==false)this.resume()}else if(ev==="readable"){var state=this._readableState;if(!state.endEmitted&&!state.readableListening){state.readableListening=state.needReadable=true;state.emittedReadable=false;if(!state.reading){pna.nextTick(nReadingNextTick,this)}else if(state.length){emitReadable(this)}}}return res};Readable.prototype.addListener=Readable.prototype.on;function nReadingNextTick(self){debug("readable nexttick read 0");self.read(0)}Readable.prototype.resume=function(){var state=this._readableState;if(!state.flowing){debug("resume");state.flowing=true;resume(this,state)}return this};function resume(stream,state){if(!state.resumeScheduled){state.resumeScheduled=true;pna.nextTick(resume_,stream,state)}}function resume_(stream,state){if(!state.reading){debug("resume read 0");stream.read(0)}state.resumeScheduled=false;state.awaitDrain=0;stream.emit("resume");flow(stream);if(state.flowing&&!state.reading)stream.read(0)}Readable.prototype.pause=function(){debug("call pause flowing=%j",this._readableState.flowing);if(false!==this._readableState.flowing){debug("pause");this._readableState.flowing=false;this.emit("pause")}return this};function flow(stream){var state=stream._readableState;debug("flow",state.flowing);while(state.flowing&&stream.read()!==null){}}Readable.prototype.wrap=function(stream){var _this=this;var state=this._readableState;var paused=false;stream.on("end",(function(){debug("wrapped end");if(state.decoder&&!state.ended){var chunk=state.decoder.end();if(chunk&&chunk.length)_this.push(chunk)}_this.push(null)}));stream.on("data",(function(chunk){debug("wrapped data");if(state.decoder)chunk=state.decoder.write(chunk);if(state.objectMode&&(chunk===null||chunk===undefined))return;else if(!state.objectMode&&(!chunk||!chunk.length))return;var ret=_this.push(chunk);if(!ret){paused=true;stream.pause()}}));for(var i in stream){if(this[i]===undefined&&typeof stream[i]==="function"){this[i]=function(method){return function(){return stream[method].apply(stream,arguments)}}(i)}}for(var n=0;n<kProxyEvents.length;n++){stream.on(kProxyEvents[n],this.emit.bind(this,kProxyEvents[n]))}this._read=function(n){debug("wrapped _read",n);if(paused){paused=false;stream.resume()}};return this};Object.defineProperty(Readable.prototype,"readableHighWaterMark",{enumerable:false,get:function(){return this._readableState.highWaterMark}});Readable._fromList=fromList;function fromList(n,state){if(state.length===0)return null;var ret;if(state.objectMode)ret=state.buffer.shift();else if(!n||n>=state.length){if(state.decoder)ret=state.buffer.join("");else if(state.buffer.length===1)ret=state.buffer.head.data;else ret=state.buffer.concat(state.length);state.buffer.clear()}else{ret=fromListPartial(n,state.buffer,state.decoder)}return ret}function fromListPartial(n,list,hasStrings){var ret;if(n<list.head.data.length){ret=list.head.data.slice(0,n);list.head.data=list.head.data.slice(n)}else if(n===list.head.data.length){ret=list.shift()}else{ret=hasStrings?copyFromBufferString(n,list):copyFromBuffer(n,list)}return ret}function copyFromBufferString(n,list){var p=list.head;var c=1;var ret=p.data;n-=ret.length;while(p=p.next){var str=p.data;var nb=n>str.length?str.length:n;if(nb===str.length)ret+=str;else ret+=str.slice(0,n);n-=nb;if(n===0){if(nb===str.length){++c;if(p.next)list.head=p.next;else list.head=list.tail=null}else{list.head=p;p.data=str.slice(nb)}break}++c}list.length-=c;return ret}function copyFromBuffer(n,list){var ret=Buffer.allocUnsafe(n);var p=list.head;var c=1;p.data.copy(ret);n-=p.data.length;while(p=p.next){var buf=p.data;var nb=n>buf.length?buf.length:n;buf.copy(ret,ret.length-n,0,nb);n-=nb;if(n===0){if(nb===buf.length){++c;if(p.next)list.head=p.next;else list.head=list.tail=null}else{list.head=p;p.data=buf.slice(nb)}break}++c}list.length-=c;return ret}function endReadable(stream){var state=stream._readableState;if(state.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!state.endEmitted){state.ended=true;pna.nextTick(endReadableNT,state,stream)}}function endReadableNT(state,stream){if(!state.endEmitted&&state.length===0){state.endEmitted=true;stream.readable=false;stream.emit("end")}}function indexOf(xs,x){for(var i=0,l=xs.length;i<l;i++){if(xs[i]===x)return i}return-1}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./_stream_duplex":875,"./internal/streams/BufferList":880,"./internal/streams/destroy":881,"./internal/streams/stream":882,_process:855,"core-util-is":137,events:241,inherits:326,isarray:331,"process-nextick-args":854,"safe-buffer":883,"string_decoder/":884,util:83}],878:[function(require,module,exports){"use strict";module.exports=Transform;var Duplex=require("./_stream_duplex");var util=Object.create(require("core-util-is"));util.inherits=require("inherits");util.inherits(Transform,Duplex);function afterTransform(er,data){var ts=this._transformState;ts.transforming=false;var cb=ts.writecb;if(!cb){return this.emit("error",new Error("write callback called multiple times"))}ts.writechunk=null;ts.writecb=null;if(data!=null)this.push(data);cb(er);var rs=this._readableState;rs.reading=false;if(rs.needReadable||rs.length<rs.highWaterMark){this._read(rs.highWaterMark)}}function Transform(options){if(!(this instanceof Transform))return new Transform(options);Duplex.call(this,options);this._transformState={afterTransform:afterTransform.bind(this),needTransform:false,transforming:false,writecb:null,writechunk:null,writeencoding:null};this._readableState.needReadable=true;this._readableState.sync=false;if(options){if(typeof options.transform==="function")this._transform=options.transform;if(typeof options.flush==="function")this._flush=options.flush}this.on("prefinish",prefinish)}function prefinish(){var _this=this;if(typeof this._flush==="function"){this._flush((function(er,data){done(_this,er,data)}))}else{done(this,null,null)}}Transform.prototype.push=function(chunk,encoding){this._transformState.needTransform=false;return Duplex.prototype.push.call(this,chunk,encoding)};Transform.prototype._transform=function(chunk,encoding,cb){throw new Error("_transform() is not implemented")};Transform.prototype._write=function(chunk,encoding,cb){var ts=this._transformState;ts.writecb=cb;ts.writechunk=chunk;ts.writeencoding=encoding;if(!ts.transforming){var rs=this._readableState;if(ts.needTransform||rs.needReadable||rs.length<rs.highWaterMark)this._read(rs.highWaterMark)}};Transform.prototype._read=function(n){var ts=this._transformState;if(ts.writechunk!==null&&ts.writecb&&!ts.transforming){ts.transforming=true;this._transform(ts.writechunk,ts.writeencoding,ts.afterTransform)}else{ts.needTransform=true}};Transform.prototype._destroy=function(err,cb){var _this2=this;Duplex.prototype._destroy.call(this,err,(function(err2){cb(err2);_this2.emit("close")}))};function done(stream,er,data){if(er)return stream.emit("error",er);if(data!=null)stream.push(data);if(stream._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(stream._transformState.transforming)throw new Error("Calling transform done when still transforming");return stream.push(null)}},{"./_stream_duplex":875,"core-util-is":137,inherits:326}],879:[function(require,module,exports){(function(process,global,setImmediate){"use strict";var pna=require("process-nextick-args");module.exports=Writable;function WriteReq(chunk,encoding,cb){this.chunk=chunk;this.encoding=encoding;this.callback=cb;this.next=null}function CorkedRequest(state){var _this=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(_this,state)}}var asyncWrite=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:pna.nextTick;var Duplex;Writable.WritableState=WritableState;var util=Object.create(require("core-util-is"));util.inherits=require("inherits");var internalUtil={deprecate:require("util-deprecate")};var Stream=require("./internal/streams/stream");var Buffer=require("safe-buffer").Buffer;var OurUint8Array=global.Uint8Array||function(){};function _uint8ArrayToBuffer(chunk){return Buffer.from(chunk)}function _isUint8Array(obj){return Buffer.isBuffer(obj)||obj instanceof OurUint8Array}var destroyImpl=require("./internal/streams/destroy");util.inherits(Writable,Stream);function nop(){}function WritableState(options,stream){Duplex=Duplex||require("./_stream_duplex");options=options||{};var isDuplex=stream instanceof Duplex;this.objectMode=!!options.objectMode;if(isDuplex)this.objectMode=this.objectMode||!!options.writableObjectMode;var hwm=options.highWaterMark;var writableHwm=options.writableHighWaterMark;var defaultHwm=this.objectMode?16:16*1024;if(hwm||hwm===0)this.highWaterMark=hwm;else if(isDuplex&&(writableHwm||writableHwm===0))this.highWaterMark=writableHwm;else this.highWaterMark=defaultHwm;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var noDecode=options.decodeStrings===false;this.decodeStrings=!noDecode;this.defaultEncoding=options.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(er){onwrite(stream,er)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var current=this.bufferedRequest;var out=[];while(current){out.push(current);current=current.next}return out};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:internalUtil.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(_){}})();var realHasInstance;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){realHasInstance=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(object){if(realHasInstance.call(this,object))return true;if(this!==Writable)return false;return object&&object._writableState instanceof WritableState}})}else{realHasInstance=function(object){return object instanceof this}}function Writable(options){Duplex=Duplex||require("./_stream_duplex");if(!realHasInstance.call(Writable,this)&&!(this instanceof Duplex)){return new Writable(options)}this._writableState=new WritableState(options,this);this.writable=true;if(options){if(typeof options.write==="function")this._write=options.write;if(typeof options.writev==="function")this._writev=options.writev;if(typeof options.destroy==="function")this._destroy=options.destroy;if(typeof options.final==="function")this._final=options.final}Stream.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(stream,cb){var er=new Error("write after end");stream.emit("error",er);pna.nextTick(cb,er)}function validChunk(stream,state,chunk,cb){var valid=true;var er=false;if(chunk===null){er=new TypeError("May not write null values to stream")}else if(typeof chunk!=="string"&&chunk!==undefined&&!state.objectMode){er=new TypeError("Invalid non-string/buffer chunk")}if(er){stream.emit("error",er);pna.nextTick(cb,er);valid=false}return valid}Writable.prototype.write=function(chunk,encoding,cb){var state=this._writableState;var ret=false;var isBuf=!state.objectMode&&_isUint8Array(chunk);if(isBuf&&!Buffer.isBuffer(chunk)){chunk=_uint8ArrayToBuffer(chunk)}if(typeof encoding==="function"){cb=encoding;encoding=null}if(isBuf)encoding="buffer";else if(!encoding)encoding=state.defaultEncoding;if(typeof cb!=="function")cb=nop;if(state.ended)writeAfterEnd(this,cb);else if(isBuf||validChunk(this,state,chunk,cb)){state.pendingcb++;ret=writeOrBuffer(this,state,isBuf,chunk,encoding,cb)}return ret};Writable.prototype.cork=function(){var state=this._writableState;state.corked++};Writable.prototype.uncork=function(){var state=this._writableState;if(state.corked){state.corked--;if(!state.writing&&!state.corked&&!state.finished&&!state.bufferProcessing&&state.bufferedRequest)clearBuffer(this,state)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(encoding){if(typeof encoding==="string")encoding=encoding.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((encoding+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+encoding);this._writableState.defaultEncoding=encoding;return this};function decodeChunk(state,chunk,encoding){if(!state.objectMode&&state.decodeStrings!==false&&typeof chunk==="string"){chunk=Buffer.from(chunk,encoding)}return chunk}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(stream,state,isBuf,chunk,encoding,cb){if(!isBuf){var newChunk=decodeChunk(state,chunk,encoding);if(chunk!==newChunk){isBuf=true;encoding="buffer";chunk=newChunk}}var len=state.objectMode?1:chunk.length;state.length+=len;var ret=state.length<state.highWaterMark;if(!ret)state.needDrain=true;if(state.writing||state.corked){var last=state.lastBufferedRequest;state.lastBufferedRequest={chunk:chunk,encoding:encoding,isBuf:isBuf,callback:cb,next:null};if(last){last.next=state.lastBufferedRequest}else{state.bufferedRequest=state.lastBufferedRequest}state.bufferedRequestCount+=1}else{doWrite(stream,state,false,len,chunk,encoding,cb)}return ret}function doWrite(stream,state,writev,len,chunk,encoding,cb){state.writelen=len;state.writecb=cb;state.writing=true;state.sync=true;if(writev)stream._writev(chunk,state.onwrite);else stream._write(chunk,encoding,state.onwrite);state.sync=false}function onwriteError(stream,state,sync,er,cb){--state.pendingcb;if(sync){pna.nextTick(cb,er);pna.nextTick(finishMaybe,stream,state);stream._writableState.errorEmitted=true;stream.emit("error",er)}else{cb(er);stream._writableState.errorEmitted=true;stream.emit("error",er);finishMaybe(stream,state)}}function onwriteStateUpdate(state){state.writing=false;state.writecb=null;state.length-=state.writelen;state.writelen=0}function onwrite(stream,er){var state=stream._writableState;var sync=state.sync;var cb=state.writecb;onwriteStateUpdate(state);if(er)onwriteError(stream,state,sync,er,cb);else{var finished=needFinish(state);if(!finished&&!state.corked&&!state.bufferProcessing&&state.bufferedRequest){clearBuffer(stream,state)}if(sync){asyncWrite(afterWrite,stream,state,finished,cb)}else{afterWrite(stream,state,finished,cb)}}}function afterWrite(stream,state,finished,cb){if(!finished)onwriteDrain(stream,state);state.pendingcb--;cb();finishMaybe(stream,state)}function onwriteDrain(stream,state){if(state.length===0&&state.needDrain){state.needDrain=false;stream.emit("drain")}}function clearBuffer(stream,state){state.bufferProcessing=true;var entry=state.bufferedRequest;if(stream._writev&&entry&&entry.next){var l=state.bufferedRequestCount;var buffer=new Array(l);var holder=state.corkedRequestsFree;holder.entry=entry;var count=0;var allBuffers=true;while(entry){buffer[count]=entry;if(!entry.isBuf)allBuffers=false;entry=entry.next;count+=1}buffer.allBuffers=allBuffers;doWrite(stream,state,true,state.length,buffer,"",holder.finish);state.pendingcb++;state.lastBufferedRequest=null;if(holder.next){state.corkedRequestsFree=holder.next;holder.next=null}else{state.corkedRequestsFree=new CorkedRequest(state)}state.bufferedRequestCount=0}else{while(entry){var chunk=entry.chunk;var encoding=entry.encoding;var cb=entry.callback;var len=state.objectMode?1:chunk.length;doWrite(stream,state,false,len,chunk,encoding,cb);entry=entry.next;state.bufferedRequestCount--;if(state.writing){break}}if(entry===null)state.lastBufferedRequest=null}state.bufferedRequest=entry;state.bufferProcessing=false}Writable.prototype._write=function(chunk,encoding,cb){cb(new Error("_write() is not implemented"))};Writable.prototype._writev=null;Writable.prototype.end=function(chunk,encoding,cb){var state=this._writableState;if(typeof chunk==="function"){cb=chunk;chunk=null;encoding=null}else if(typeof encoding==="function"){cb=encoding;encoding=null}if(chunk!==null&&chunk!==undefined)this.write(chunk,encoding);if(state.corked){state.corked=1;this.uncork()}if(!state.ending&&!state.finished)endWritable(this,state,cb)};function needFinish(state){return state.ending&&state.length===0&&state.bufferedRequest===null&&!state.finished&&!state.writing}function callFinal(stream,state){stream._final((function(err){state.pendingcb--;if(err){stream.emit("error",err)}state.prefinished=true;stream.emit("prefinish");finishMaybe(stream,state)}))}function prefinish(stream,state){if(!state.prefinished&&!state.finalCalled){if(typeof stream._final==="function"){state.pendingcb++;state.finalCalled=true;pna.nextTick(callFinal,stream,state)}else{state.prefinished=true;stream.emit("prefinish")}}}function finishMaybe(stream,state){var need=needFinish(state);if(need){prefinish(stream,state);if(state.pendingcb===0){state.finished=true;stream.emit("finish")}}return need}function endWritable(stream,state,cb){state.ending=true;finishMaybe(stream,state);if(cb){if(state.finished)pna.nextTick(cb);else stream.once("finish",cb)}state.ended=true;stream.writable=false}function onCorkedFinish(corkReq,state,err){var entry=corkReq.entry;corkReq.entry=null;while(entry){var cb=entry.callback;state.pendingcb--;cb(err);entry=entry.next}if(state.corkedRequestsFree){state.corkedRequestsFree.next=corkReq}else{state.corkedRequestsFree=corkReq}}Object.defineProperty(Writable.prototype,"destroyed",{get:function(){if(this._writableState===undefined){return false}return this._writableState.destroyed},set:function(value){if(!this._writableState){return}this._writableState.destroyed=value}});Writable.prototype.destroy=destroyImpl.destroy;Writable.prototype._undestroy=destroyImpl.undestroy;Writable.prototype._destroy=function(err,cb){this.end();cb(err)}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{},require("timers").setImmediate)},{"./_stream_duplex":875,"./internal/streams/destroy":881,"./internal/streams/stream":882,_process:855,"core-util-is":137,inherits:326,"process-nextick-args":854,"safe-buffer":883,timers:980,"util-deprecate":997}],880:[function(require,module,exports){"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}var Buffer=require("safe-buffer").Buffer;var util=require("util");function copyBuffer(src,target,offset){src.copy(target,offset)}module.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(v){var entry={data:v,next:null};if(this.length>0)this.tail.next=entry;else this.head=entry;this.tail=entry;++this.length};BufferList.prototype.unshift=function unshift(v){var entry={data:v,next:this.head};if(this.length===0)this.tail=entry;this.head=entry;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var ret=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return ret};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(s){if(this.length===0)return"";var p=this.head;var ret=""+p.data;while(p=p.next){ret+=s+p.data}return ret};BufferList.prototype.concat=function concat(n){if(this.length===0)return Buffer.alloc(0);if(this.length===1)return this.head.data;var ret=Buffer.allocUnsafe(n>>>0);var p=this.head;var i=0;while(p){copyBuffer(p.data,ret,i);i+=p.data.length;p=p.next}return ret};return BufferList}();if(util&&util.inspect&&util.inspect.custom){module.exports.prototype[util.inspect.custom]=function(){var obj=util.inspect({length:this.length});return this.constructor.name+" "+obj}}},{"safe-buffer":883,util:83}],881:[function(require,module,exports){"use strict";var pna=require("process-nextick-args");function destroy(err,cb){var _this=this;var readableDestroyed=this._readableState&&this._readableState.destroyed;var writableDestroyed=this._writableState&&this._writableState.destroyed;if(readableDestroyed||writableDestroyed){if(cb){cb(err)}else if(err&&(!this._writableState||!this._writableState.errorEmitted)){pna.nextTick(emitErrorNT,this,err)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(err||null,(function(err){if(!cb&&err){pna.nextTick(emitErrorNT,_this,err);if(_this._writableState){_this._writableState.errorEmitted=true}}else if(cb){cb(err)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(self,err){self.emit("error",err)}module.exports={destroy:destroy,undestroy:undestroy}},{"process-nextick-args":854}],882:[function(require,module,exports){arguments[4][125][0].apply(exports,arguments)},{dup:125,events:241}],883:[function(require,module,exports){var buffer=require("buffer");var Buffer=buffer.Buffer;function copyProps(src,dst){for(var key in src){dst[key]=src[key]}}if(Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow){module.exports=buffer}else{copyProps(buffer,exports);exports.Buffer=SafeBuffer}function SafeBuffer(arg,encodingOrOffset,length){return Buffer(arg,encodingOrOffset,length)}copyProps(Buffer,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg==="number"){throw new TypeError("Argument must not be a number")}return Buffer(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!=="number"){throw new TypeError("Argument must be a number")}var buf=Buffer(size);if(fill!==undefined){if(typeof encoding==="string"){buf.fill(fill,encoding)}else{buf.fill(fill)}}else{buf.fill(0)}return buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!=="number"){throw new TypeError("Argument must be a number")}return Buffer(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!=="number"){throw new TypeError("Argument must be a number")}return buffer.SlowBuffer(size)}},{buffer:132}],884:[function(require,module,exports){"use strict";var Buffer=require("safe-buffer").Buffer;var isEncoding=Buffer.isEncoding||function(encoding){encoding=""+encoding;switch(encoding&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(enc){if(!enc)return"utf8";var retried;while(true){switch(enc){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return enc;default:if(retried)return;enc=(""+enc).toLowerCase();retried=true}}}function normalizeEncoding(enc){var nenc=_normalizeEncoding(enc);if(typeof nenc!=="string"&&(Buffer.isEncoding===isEncoding||!isEncoding(enc)))throw new Error("Unknown encoding: "+enc);return nenc||enc}exports.StringDecoder=StringDecoder;function StringDecoder(encoding){this.encoding=normalizeEncoding(encoding);var nb;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;nb=4;break;case"utf8":this.fillLast=utf8FillLast;nb=4;break;case"base64":this.text=base64Text;this.end=base64End;nb=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=Buffer.allocUnsafe(nb)}StringDecoder.prototype.write=function(buf){if(buf.length===0)return"";var r;var i;if(this.lastNeed){r=this.fillLast(buf);if(r===undefined)return"";i=this.lastNeed;this.lastNeed=0}else{i=0}if(i<buf.length)return r?r+this.text(buf,i):this.text(buf,i);return r||""};StringDecoder.prototype.end=utf8End;StringDecoder.prototype.text=utf8Text;StringDecoder.prototype.fillLast=function(buf){if(this.lastNeed<=buf.length){buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}buf.copy(this.lastChar,this.lastTotal-this.lastNeed,0,buf.length);this.lastNeed-=buf.length};function utf8CheckByte(byte){if(byte<=127)return 0;else if(byte>>5===6)return 2;else if(byte>>4===14)return 3;else if(byte>>3===30)return 4;return byte>>6===2?-1:-2}function utf8CheckIncomplete(self,buf,i){var j=buf.length-1;if(j<i)return 0;var nb=utf8CheckByte(buf[j]);if(nb>=0){if(nb>0)self.lastNeed=nb-1;return nb}if(--j<i||nb===-2)return 0;nb=utf8CheckByte(buf[j]);if(nb>=0){if(nb>0)self.lastNeed=nb-2;return nb}if(--j<i||nb===-2)return 0;nb=utf8CheckByte(buf[j]);if(nb>=0){if(nb>0){if(nb===2)nb=0;else self.lastNeed=nb-3}return nb}return 0}function utf8CheckExtraBytes(self,buf,p){if((buf[0]&192)!==128){self.lastNeed=0;return"<22>"}if(self.lastNeed>1&&buf.length>1){if((buf[1]&192)!==128){self.lastNeed=1;return"<22>"}if(self.lastNeed>2&&buf.length>2){if((buf[2]&192)!==128){self.lastNeed=2;return"<22>"}}}}function utf8FillLast(buf){var p=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,buf,p);if(r!==undefined)return r;if(this.lastNeed<=buf.length){buf.copy(this.lastChar,p,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}buf.copy(this.lastChar,p,0,buf.length);this.lastNeed-=buf.length}function utf8Text(buf,i){var total=utf8CheckIncomplete(this,buf,i);if(!this.lastNeed)return buf.toString("utf8",i);this.lastTotal=total;var end=buf.length-(total-this.lastNeed);buf.copy(this.lastChar,0,end);return buf.toString("utf8",i,end)}function utf8End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed)return r+"<22>";return r}function utf16Text(buf,i){if((buf.length-i)%2===0){var r=buf.toString("utf16le",i);if(r){var c=r.charCodeAt(r.length-1);if(c>=55296&&c<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=buf[buf.length-2];this.lastChar[1]=buf[buf.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=buf[buf.length-1];return buf.toString("utf16le",i,buf.length-1)}function utf16End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed){var end=this.lastTotal-this.lastNeed;return r+this.lastChar.toString("utf16le",0,end)}return r}function base64Text(buf,i){var n=(buf.length-i)%3;if(n===0)return buf.toString("base64",i);this.lastNeed=3-n;this.lastTotal=3;if(n===1){this.lastChar[0]=buf[buf.length-1]}else{this.lastChar[0]=buf[buf.length-2];this.lastChar[1]=buf[buf.length-1]}return buf.toString("base64",i,buf.length-n)}function base64End(buf){var r=buf&&buf.length?this.write(buf):"";if(this.lastNeed)return r+this.lastChar.toString("base64",0,3-this.lastNeed);return r}function simpleWrite(buf){return buf.toString(this.encoding)}function simpleEnd(buf){return buf&&buf.length?this.write(buf):""}},{"safe-buffer":883}],885:[function(require,module,exports){module.exports=require("./readable").PassThrough},{"./readable":886}],886:[function(require,module,exports){exports=module.exports=require("./lib/_stream_readable.js");exports.Stream=exports;exports.Readable=exports;exports.Writable=require("./lib/_stream_writable.js");exports.Duplex=require("./lib/_stream_duplex.js");exports.Transform=require("./lib/_stream_transform.js");exports.PassThrough=require("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":875,"./lib/_stream_passthrough.js":876,"./lib/_stream_readable.js":877,"./lib/_stream_transform.js":878,"./lib/_stream_writable.js":879}],887:[function(require,module,exports){module.exports=require("./readable").Transform},{"./readable":886}],888:[function(require,module,exports){module.exports=require("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":879}],889:[function(require,module,exports){"use strict";var core=require("../"),isArray=require("lodash/isArray"),isFunction=require("lodash/isFunction"),isObjectLike=require("lodash/isObjectLike");module.exports=function(options){var errorText="Please verify options";if(!isObjectLike(options)){throw new TypeError(errorText)}if(!isFunction(options.request)){throw new TypeError(errorText+".request")}if(!isArray(options.expose)||options.expose.length===0){throw new TypeError(errorText+".expose")}var plumbing=core({PromiseImpl:options.PromiseImpl,constructorMixin:options.constructorMixin});var originalInit=options.request.Request.prototype.init;options.request.Request.prototype.init=function RP$initInterceptor(requestOptions){if(isObjectLike(requestOptions)&&!this._callback&&!this._rp_promise){plumbing.init.call(this,requestOptions)}return originalInit.apply(this,arguments)};var thenExposed=false;for(var i=0;i<options.expose.length;i+=1){var method=options.expose[i];plumbing[method==="promise"?"exposePromise":"exposePromiseMethod"](options.request.Request.prototype,null,"_rp_promise",method);if(method==="then"){thenExposed=true}}if(!thenExposed){throw new Error('Please expose "then"')}}},{"../":891,"lodash/isArray":789,"lodash/isFunction":790,"lodash/isObjectLike":792}],890:[function(require,module,exports){"use strict";function RequestError(cause,options,response){this.name="RequestError";this.message=String(cause);this.cause=cause;this.error=cause;this.options=options;this.response=response;if(Error.captureStackTrace){Error.captureStackTrace(this)}}RequestError.prototype=Object.create(Error.prototype);RequestError.prototype.constructor=RequestError;function StatusCodeError(statusCode,body,options,response){this.name="StatusCodeError";this.statusCode=statusCode;this.message=statusCode+" - "+(JSON&&JSON.stringify?JSON.stringify(body):body);this.error=body;this.options=options;this.response=response;if(Error.captureStackTrace){Error.captureStackTrace(this)}}StatusCodeError.prototype=Object.create(Error.prototype);StatusCodeError.prototype.constructor=StatusCodeError;function TransformError(cause,options,response){this.name="TransformError";this.message=String(cause);this.cause=cause;this.error=cause;this.options=options;this.response=response;if(Error.captureStackTrace){Error.captureStackTrace(this)}}TransformError.prototype=Object.create(Error.prototype);TransformError.prototype.constructor=TransformError;module.exports={RequestError:RequestError,StatusCodeError:StatusCodeError,TransformError:TransformError}},{}],891:[function(require,module,exports){"use strict";var errors=require("./errors.js"),isFunction=require("lodash/isFunction"),isObjectLike=require("lodash/isObjectLike"),isString=require("lodash/isString"),isUndefined=require("lodash/isUndefined");module.exports=function(options){var errorText="Please verify options";if(!isObjectLike(options)){throw new TypeError(errorText)}if(!isFunction(options.PromiseImpl)){throw new TypeError(errorText+".PromiseImpl")}if(!isUndefined(options.constructorMixin)&&!isFunction(options.constructorMixin)){throw new TypeError(errorText+".PromiseImpl")}var PromiseImpl=options.PromiseImpl;var constructorMixin=options.constructorMixin;var plumbing={};plumbing.init=function(requestOptions){var self=this;self._rp_promise=new PromiseImpl((function(resolve,reject){self._rp_resolve=resolve;self._rp_reject=reject;if(constructorMixin){constructorMixin.apply(self,arguments)}}));self._rp_callbackOrig=requestOptions.callback;requestOptions.callback=self.callback=function RP$callback(err,response,body){plumbing.callback.call(self,err,response,body)};if(isString(requestOptions.method)){requestOptions.method=requestOptions.method.toUpperCase()}requestOptions.transform=requestOptions.transform||plumbing.defaultTransformations[requestOptions.method];self._rp_options=requestOptions;self._rp_options.simple=requestOptions.simple!==false;self._rp_options.resolveWithFullResponse=requestOptions.resolveWithFullResponse===true;self._rp_options.transform2xxOnly=requestOptions.transform2xxOnly===true};plumbing.defaultTransformations={HEAD:function(body,response,resolveWithFullResponse){return resolveWithFullResponse?response:response.headers}};plumbing.callback=function(err,response,body){var self=this;var origCallbackThrewException=false,thrownException=null;if(isFunction(self._rp_callbackOrig)){try{self._rp_callbackOrig.apply(self,arguments)}catch(e){origCallbackThrewException=true;thrownException=e}}var is2xx=!err&&/^2/.test(""+response.statusCode);if(err){self._rp_reject(new errors.RequestError(err,self._rp_options,response))}else if(self._rp_options.simple&&!is2xx){if(isFunction(self._rp_options.transform)&&self._rp_options.transform2xxOnly===false){new PromiseImpl((function(resolve){resolve(self._rp_options.transform(body,response,self._rp_options.resolveWithFullResponse))})).then((function(transformedResponse){self._rp_reject(new errors.StatusCodeError(response.statusCode,body,self._rp_options,transformedResponse))})).catch((function(transformErr){self._rp_reject(new errors.TransformError(transformErr,self._rp_options,response))}))}else{self._rp_reject(new errors.StatusCodeError(response.statusCode,body,self._rp_options,response))}}else{if(isFunction(self._rp_options.transform)&&(is2xx||self._rp_options.transform2xxOnly===false)){new PromiseImpl((function(resolve){resolve(self._rp_options.transform(body,response,self._rp_options.resolveWithFullResponse))})).then((function(transformedResponse){self._rp_resolve(transformedResponse)})).catch((function(transformErr){self._rp_reject(new errors.TransformError(transformErr,self._rp_options,response))}))}else if(self._rp_options.resolveWithFullResponse){self._rp_resolve(response)}else{self._rp_resolve(body)}}if(origCallbackThrewException){throw thrownException}};plumbing.exposePromiseMethod=function(exposeTo,bindTo,promisePropertyKey,methodToExpose,exposeAs){exposeAs=exposeAs||methodToExpose;if(exposeAs in exposeTo){throw new Error('Unable to expose method "'+exposeAs+'"')}exposeTo[exposeAs]=function RP$exposed(){var self=bindTo||this;return self[promisePropertyKey][methodToExpose].apply(self[promisePropertyKey],arguments)}};plumbing.exposePromise=function(exposeTo,bindTo,promisePropertyKey,exposeAs){exposeAs=exposeAs||"promise";if(exposeAs in exposeTo){throw new Error('Unable to expose method "'+exposeAs+'"')}exposeTo[exposeAs]=function RP$promise(){var self=bindTo||this;return self[promisePropertyKey]}};return plumbing}},{"./errors.js":890,"lodash/isFunction":790,"lodash/isObjectLike":792,"lodash/isString":793,"lodash/isUndefined":794}],892:[function(require,module,exports){"use strict";var configure=require("request-promise-core/configure/request2"),stealthyRequire=require("stealthy-require");var request=stealthyRequire(require.cache,(function(){return require("request")}),(function(){require("tough-cookie")}),module);configure({request:request,PromiseImpl:Promise,expose:["then","catch","promise"]});module.exports=request},{request:893,"request-promise-core/configure/request2":889,"stealthy-require":954,"tough-cookie":981}],893:[function(require,module,exports){"use strict";var extend=require("extend");var cookies=require("./lib/cookies");var helpers=require("./lib/helpers");var paramsHaveRequestBody=helpers.paramsHaveRequestBody;function initParams(uri,options,callback){if(typeof options==="function"){callback=options}var params={};if(options!==null&&typeof options==="object"){extend(params,options,{uri:uri})}else if(typeof uri==="string"){extend(params,{uri:uri})}else{extend(params,uri)}params.callback=callback||params.callback;return params}function request(uri,options,callback){if(typeof uri==="undefined"){throw new Error("undefined is not a valid uri or options object.")}var params=initParams(uri,options,callback);if(params.method==="HEAD"&¶msHaveRequestBody(params)){throw new Error("HTTP HEAD requests MUST NOT include a request body.")}return new request.Request(params)}function verbFunc(verb){var method=verb.toUpperCase();return function(uri,options,callback){var params=initParams(uri,options,callback);params.method=method;return request(params,params.callback)}}request.get=verbFunc("get");request.head=verbFunc("head");request.options=verbFunc("options");request.post=verbFunc("post");request.put=verbFunc("put");request.patch=verbFunc("patch");request.del=verbFunc("delete");request["delete"]=verbFunc("delete");request.jar=function(store){return cookies.jar(store)};request.cookie=function(str){return cookies.parse(str)};function wrapRequestMethod(method,options,requester,verb){return function(uri,opts,callback){var params=initParams(uri,opts,callback);var target={};extend(true,target,options,params);target.pool=params.pool||options.pool;if(verb){target.method=verb.toUpperCase()}if(typeof requester==="function"){method=requester}return method(target,target.callback)}}request.defaults=function(options,requester){var self=this;options=options||{};if(typeof options==="function"){requester=options;options={}}var defaults=wrapRequestMethod(self,options,requester);var verbs=["get","head","post","put","patch","del","delete"];verbs.forEach((function(verb){defaults[verb]=wrapRequestMethod(self[verb],options,requester,verb)}));defaults.cookie=wrapRequestMethod(self.cookie,options,requester);defaults.jar=self.jar;defaults.defaults=self.defaults;return defaults};request.forever=function(agentOptions,optionsArg){var options={};if(optionsArg){extend(options,optionsArg)}if(agentOptions){options.agentOptions=agentOptions}options.forever=true;return request.defaults(options)};module.exports=request;request.Request=require("./request");request.initParams=initParams;Object.defineProperty(request,"debug",{enumerable:true,get:function(){return request.Request.debug},set:function(debug){request.Request.debug=debug}})},{"./lib/cookies":895,"./lib/helpers":899,"./request":905,extend:243}],894:[function(require,module,exports){"use strict";var caseless=require("caseless");var uuid=require("uuid/v4");var helpers=require("./helpers");var md5=helpers.md5;var toBase64=helpers.toBase64;function Auth(request){this.request=request;this.hasAuth=false;this.sentAuth=false;this.bearerToken=null;this.user=null;this.pass=null}Auth.prototype.basic=function(user,pass,sendImmediately){var self=this;if(typeof user!=="string"||pass!==undefined&&typeof pass!=="string"){self.request.emit("error",new Error("auth() received invalid user or password"))}self.user=user;self.pass=pass;self.hasAuth=true;var header=user+":"+(pass||"");if(sendImmediately||typeof sendImmediately==="undefined"){var authHeader="Basic "+toBase64(header);self.sentAuth=true;return authHeader}};Auth.prototype.bearer=function(bearer,sendImmediately){var self=this;self.bearerToken=bearer;self.hasAuth=true;if(sendImmediately||typeof sendImmediately==="undefined"){if(typeof bearer==="function"){bearer=bearer()}var authHeader="Bearer "+(bearer||"");self.sentAuth=true;return authHeader}};Auth.prototype.digest=function(method,path,authHeader){var self=this;var challenge={};var re=/([a-z0-9_-]+)=(?:"([^"]+)"|([a-z0-9_-]+))/gi;while(true){var match=re.exec(authHeader);if(!match){break}challenge[match[1]]=match[2]||match[3]}var ha1Compute=function(algorithm,user,realm,pass,nonce,cnonce){var ha1=md5(user+":"+realm+":"+pass);if(algorithm&&algorithm.toLowerCase()==="md5-sess"){return md5(ha1+":"+nonce+":"+cnonce)}else{return ha1}};var qop=/(^|,)\s*auth\s*($|,)/.test(challenge.qop)&&"auth";var nc=qop&&"00000001";var cnonce=qop&&uuid().replace(/-/g,"");var ha1=ha1Compute(challenge.algorithm,self.user,challenge.realm,self.pass,challenge.nonce,cnonce);var ha2=md5(method+":"+path);var digestResponse=qop?md5(ha1+":"+challenge.nonce+":"+nc+":"+cnonce+":"+qop+":"+ha2):md5(ha1+":"+challenge.nonce+":"+ha2);var authValues={username:self.user,realm:challenge.realm,nonce:challenge.nonce,uri:path,qop:qop,response:digestResponse,nc:nc,cnonce:cnonce,algorithm:challenge.algorithm,opaque:challenge.opaque};authHeader=[];for(var k in authValues){if(authValues[k]){if(k==="qop"||k==="nc"||k==="algorithm"){authHeader.push(k+"="+authValues[k])}else{authHeader.push(k+'="'+authValues[k]+'"')}}}authHeader="Digest "+authHeader.join(", ");self.sentAuth=true;return authHeader};Auth.prototype.onRequest=function(user,pass,sendImmediately,bearer){var self=this;var request=self.request;var authHeader;if(bearer===undefined&&user===undefined){self.request.emit("error",new Error("no auth mechanism defined"))}else if(bearer!==undefined){authHeader=self.bearer(bearer,sendImmediately)}else{authHeader=self.basic(user,pass,sendImmediately)}if(authHeader){request.setHeader("authorization",authHeader)}};Auth.prototype.onResponse=function(response){var self=this;var request=self.request;if(!self.hasAuth||self.sentAuth){return null}var c=caseless(response.headers);var authHeader=c.get("www-authenticate");var authVerb=authHeader&&authHeader.split(" ")[0].toLowerCase();request.debug("reauth",authVerb);switch(authVerb){case"basic":return self.basic(self.user,self.pass,true);case"bearer":return self.bearer(self.bearerToken,true);case"digest":return self.digest(request.method,request.path,authHeader)}};exports.Auth=Auth},{"./helpers":899,caseless:134,"uuid/v4":1003}],895:[function(require,module,exports){"use strict";var tough=require("tough-cookie");var Cookie=tough.Cookie;var CookieJar=tough.CookieJar;exports.parse=function(str){if(str&&str.uri){str=str.uri}if(typeof str!=="string"){throw new Error("The cookie function only accepts STRING as param")}return Cookie.parse(str,{loose:true})};function RequestJar(store){var self=this;self._jar=new CookieJar(store,{looseMode:true})}RequestJar.prototype.setCookie=function(cookieOrStr,uri,options){var self=this;return self._jar.setCookieSync(cookieOrStr,uri,options||{})};RequestJar.prototype.getCookieString=function(uri){var self=this;return self._jar.getCookieStringSync(uri)};RequestJar.prototype.getCookies=function(uri){var self=this;return self._jar.getCookiesSync(uri)};exports.jar=function(store){return new RequestJar(store)}},{"tough-cookie":981}],896:[function(require,module,exports){(function(process){"use strict";function formatHostname(hostname){return hostname.replace(/^\.*/,".").toLowerCase()}function parseNoProxyZone(zone){zone=zone.trim().toLowerCase();var zoneParts=zone.split(":",2);var zoneHost=formatHostname(zoneParts[0]);var zonePort=zoneParts[1];var hasPort=zone.indexOf(":")>-1;return{hostname:zoneHost,port:zonePort,hasPort:hasPort}}function uriInNoProxy(uri,noProxy){var port=uri.port||(uri.protocol==="https:"?"443":"80");var hostname=formatHostname(uri.hostname);var noProxyList=noProxy.split(",");return noProxyList.map(parseNoProxyZone).some((function(noProxyZone){var isMatchedAt=hostname.indexOf(noProxyZone.hostname);var hostnameMatched=isMatchedAt>-1&&isMatchedAt===hostname.length-noProxyZone.hostname.length;if(noProxyZone.hasPort){return port===noProxyZone.port&&hostnameMatched}return hostnameMatched}))}function getProxyFromURI(uri){var noProxy=process.env.NO_PROXY||process.env.no_proxy||"";if(noProxy==="*"){return null}if(noProxy!==""&&uriInNoProxy(uri,noProxy)){return null}if(uri.protocol==="http:"){return process.env.HTTP_PROXY||process.env.http_proxy||null}if(uri.protocol==="https:"){return process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null}return null}module.exports=getProxyFromURI}).call(this,require("_process"))},{_process:855}],897:[function(require,module,exports){"use strict";var fs=require("fs");var qs=require("querystring");var validate=require("har-validator");var extend=require("extend");function Har(request){this.request=request}Har.prototype.reducer=function(obj,pair){if(obj[pair.name]===undefined){obj[pair.name]=pair.value;return obj}var arr=[obj[pair.name],pair.value];obj[pair.name]=arr;return obj};Har.prototype.prep=function(data){data.queryObj={};data.headersObj={};data.postData.jsonObj=false;data.postData.paramsObj=false;if(data.queryString&&data.queryString.length){data.queryObj=data.queryString.reduce(this.reducer,{})}if(data.headers&&data.headers.length){data.headersObj=data.headers.reduceRight((function(headers,header){headers[header.name]=header.value;return headers}),{})}if(data.cookies&&data.cookies.length){var cookies=data.cookies.map((function(cookie){return cookie.name+"="+cookie.value}));if(cookies.length){data.headersObj.cookie=cookies.join("; ")}}function some(arr){return arr.some((function(type){return data.postData.mimeType.indexOf(type)===0}))}if(some(["multipart/mixed","multipart/related","multipart/form-data","multipart/alternative"])){data.postData.mimeType="multipart/form-data"}else if(some(["application/x-www-form-urlencoded"])){if(!data.postData.params){data.postData.text=""}else{data.postData.paramsObj=data.postData.params.reduce(this.reducer,{});data.postData.text=qs.stringify(data.postData.paramsObj)}}else if(some(["text/json","text/x-json","application/json","application/x-json"])){data.postData.mimeType="application/json";if(data.postData.text){try{data.postData.jsonObj=JSON.parse(data.postData.text)}catch(e){this.request.debug(e);data.postData.mimeType="text/plain"}}}return data};Har.prototype.options=function(options){if(!options.har){return options}var har={};extend(har,options.har);if(har.log&&har.log.entries){har=har.log.entries[0]}har.url=har.url||options.url||options.uri||options.baseUrl||"/";har.httpVersion=har.httpVersion||"HTTP/1.1";har.queryString=har.queryString||[];har.headers=har.headers||[];har.cookies=har.cookies||[];har.postData=har.postData||{};har.postData.mimeType=har.postData.mimeType||"application/octet-stream";har.bodySize=0;har.headersSize=0;har.postData.size=0;if(!validate.request(har)){return options}var req=this.prep(har);if(req.url){options.url=req.url}if(req.method){options.method=req.method}if(Object.keys(req.queryObj).length){options.qs=req.queryObj}if(Object.keys(req.headersObj).length){options.headers=req.headersObj}function test(type){return req.postData.mimeType.indexOf(type)===0}if(test("application/x-www-form-urlencoded")){options.form=req.postData.paramsObj}else if(test("application/json")){if(req.postData.jsonObj){options.body=req.postData.jsonObj;options.json=true}}else if(test("multipart/form-data")){options.formData={};req.postData.params.forEach((function(param){var attachment={};if(!param.fileName&&!param.contentType){options.formData[param.name]=param.value;return}if(param.fileName&&!param.value){attachment.value=fs.createReadStream(param.fileName)}else if(param.value){attachment.value=param.value}if(param.fileName){attachment.options={filename:param.fileName,contentType:param.contentType?param.contentType:null}}options.formData[param.name]=attachment}))}else{if(req.postData.text){options.body=req.postData.text}}return options};exports.Har=Har},{extend:243,fs:129,"har-validator":269,querystring:871}],898:[function(require,module,exports){"use strict";var crypto=require("crypto");function randomString(size){var bits=(size+1)*6;var buffer=crypto.randomBytes(Math.ceil(bits/8));var string=buffer.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return string.slice(0,size)}function calculatePayloadHash(payload,algorithm,contentType){var hash=crypto.createHash(algorithm);hash.update("hawk.1.payload\n");hash.update((contentType?contentType.split(";")[0].trim().toLowerCase():"")+"\n");hash.update(payload||"");hash.update("\n");return hash.digest("base64")}exports.calculateMac=function(credentials,opts){var normalized="hawk.1.header\n"+opts.ts+"\n"+opts.nonce+"\n"+(opts.method||"").toUpperCase()+"\n"+opts.resource+"\n"+opts.host.toLowerCase()+"\n"+opts.port+"\n"+(opts.hash||"")+"\n";if(opts.ext){normalized=normalized+opts.ext.replace("\\","\\\\").replace("\n","\\n")}normalized=normalized+"\n";if(opts.app){normalized=normalized+opts.app+"\n"+(opts.dlg||"")+"\n"}var hmac=crypto.createHmac(credentials.algorithm,credentials.key).update(normalized);var digest=hmac.digest("base64");return digest};exports.header=function(uri,method,opts){var timestamp=opts.timestamp||Math.floor((Date.now()+(opts.localtimeOffsetMsec||0))/1e3);var credentials=opts.credentials;if(!credentials||!credentials.id||!credentials.key||!credentials.algorithm){return""}if(["sha1","sha256"].indexOf(credentials.algorithm)===-1){return""}var artifacts={ts:timestamp,nonce:opts.nonce||randomString(6),method:method,resource:uri.pathname+(uri.search||""),host:uri.hostname,port:uri.port||(uri.protocol==="http:"?80:443),hash:opts.hash,ext:opts.ext,app:opts.app,dlg:opts.dlg};if(!artifacts.hash&&(opts.payload||opts.payload==="")){artifacts.hash=calculatePayloadHash(opts.payload,credentials.algorithm,opts.contentType)}var mac=exports.calculateMac(credentials,artifacts);var hasExt=artifacts.ext!==null&&artifacts.ext!==undefined&&artifacts.ext!=="";var header='Hawk id="'+credentials.id+'", ts="'+artifacts.ts+'", nonce="'+artifacts.nonce+(artifacts.hash?'", hash="'+artifacts.hash:"")+(hasExt?'", ext="'+artifacts.ext.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):"")+'", mac="'+mac+'"';if(artifacts.app){header=header+', app="'+artifacts.app+(artifacts.dlg?'", dlg="'+artifacts.dlg:"")+'"'}return header}},{crypto:143}],899:[function(require,module,exports){(function(process,setImmediate){"use strict";var jsonSafeStringify=require("json-stringify-safe");var crypto=require("crypto");var Buffer=require("safe-buffer").Buffer;var defer=typeof setImmediate==="undefined"?process.nextTick:setImmediate;function paramsHaveRequestBody(params){return params.body||params.requestBodyStream||params.json&&typeof params.json!=="boolean"||params.multipart}function safeStringify(obj,replacer){var ret;try{ret=JSON.stringify(obj,replacer)}catch(e){ret=jsonSafeStringify(obj,replacer)}return ret}function md5(str){return crypto.createHash("md5").update(str).digest("hex")}function isReadStream(rs){return rs.readable&&rs.path&&rs.mode}function toBase64(str){return Buffer.from(str||"","utf8").toString("base64")}function copy(obj){var o={};Object.keys(obj).forEach((function(i){o[i]=obj[i]}));return o}function version(){var numbers=process.version.replace("v","").split(".");return{major:parseInt(numbers[0],10),minor:parseInt(numbers[1],10),patch:parseInt(numbers[2],10)}}exports.paramsHaveRequestBody=paramsHaveRequestBody;exports.safeStringify=safeStringify;exports.md5=md5;exports.isReadStream=isReadStream;exports.toBase64=toBase64;exports.copy=copy;exports.version=version;exports.defer=defer}).call(this,require("_process"),require("timers").setImmediate)},{_process:855,crypto:143,"json-stringify-safe":780,"safe-buffer":907,timers:980}],900:[function(require,module,exports){"use strict";var uuid=require("uuid/v4");var CombinedStream=require("combined-stream");var isstream=require("isstream");var Buffer=require("safe-buffer").Buffer;function Multipart(request){this.request=request;this.boundary=uuid();this.chunked=false;this.body=null}Multipart.prototype.isChunked=function(options){var self=this;var chunked=false;var parts=options.data||options;if(!parts.forEach){self.request.emit("error",new Error("Argument error, options.multipart."))}if(options.chunked!==undefined){chunked=options.chunked}if(self.request.getHeader("transfer-encoding")==="chunked"){chunked=true}if(!chunked){parts.forEach((function(part){if(typeof part.body==="undefined"){self.request.emit("error",new Error("Body attribute missing in multipart."))}if(isstream(part.body)){chunked=true}}))}return chunked};Multipart.prototype.setHeaders=function(chunked){var self=this;if(chunked&&!self.request.hasHeader("transfer-encoding")){self.request.setHeader("transfer-encoding","chunked")}var header=self.request.getHeader("content-type");if(!header||header.indexOf("multipart")===-1){self.request.setHeader("content-type","multipart/related; boundary="+self.boundary)}else{if(header.indexOf("boundary")!==-1){self.boundary=header.replace(/.*boundary=([^\s;]+).*/,"$1")}else{self.request.setHeader("content-type",header+"; boundary="+self.boundary)}}};Multipart.prototype.build=function(parts,chunked){var self=this;var body=chunked?new CombinedStream:[];function add(part){if(typeof part==="number"){part=part.toString()}return chunked?body.append(part):body.push(Buffer.from(part))}if(self.request.preambleCRLF){add("\r\n")}parts.forEach((function(part){var preamble="--"+self.boundary+"\r\n";Object.keys(part).forEach((function(key){if(key==="body"){return}preamble+=key+": "+part[key]+"\r\n"}));preamble+="\r\n";add(preamble);add(part.body);add("\r\n")}));add("--"+self.boundary+"--");if(self.request.postambleCRLF){add("\r\n")}return body};Multipart.prototype.onRequest=function(options){var self=this;var chunked=self.isChunked(options);var parts=options.data||options;self.setHeaders(chunked);self.chunked=chunked;self.body=self.build(parts,chunked)};exports.Multipart=Multipart},{"combined-stream":136,isstream:332,"safe-buffer":907,"uuid/v4":1003}],901:[function(require,module,exports){"use strict";var url=require("url");var qs=require("qs");var caseless=require("caseless");var uuid=require("uuid/v4");var oauth=require("oauth-sign");var crypto=require("crypto");var Buffer=require("safe-buffer").Buffer;function OAuth(request){this.request=request;this.params=null}OAuth.prototype.buildParams=function(_oauth,uri,method,query,form,qsLib){var oa={};for(var i in _oauth){oa["oauth_"+i]=_oauth[i]}if(!oa.oauth_version){oa.oauth_version="1.0"}if(!oa.oauth_timestamp){oa.oauth_timestamp=Math.floor(Date.now()/1e3).toString()}if(!oa.oauth_nonce){oa.oauth_nonce=uuid().replace(/-/g,"")}if(!oa.oauth_signature_method){oa.oauth_signature_method="HMAC-SHA1"}var consumer_secret_or_private_key=oa.oauth_consumer_secret||oa.oauth_private_key;delete oa.oauth_consumer_secret;delete oa.oauth_private_key;var token_secret=oa.oauth_token_secret;delete oa.oauth_token_secret;var realm=oa.oauth_realm;delete oa.oauth_realm;delete oa.oauth_transport_method;var baseurl=uri.protocol+"//"+uri.host+uri.pathname;var params=qsLib.parse([].concat(query,form,qsLib.stringify(oa)).join("&"));oa.oauth_signature=oauth.sign(oa.oauth_signature_method,method,baseurl,params,consumer_secret_or_private_key,token_secret);if(realm){oa.realm=realm}return oa};OAuth.prototype.buildBodyHash=function(_oauth,body){if(["HMAC-SHA1","RSA-SHA1"].indexOf(_oauth.signature_method||"HMAC-SHA1")<0){this.request.emit("error",new Error("oauth: "+_oauth.signature_method+" signature_method not supported with body_hash signing."))}var shasum=crypto.createHash("sha1");shasum.update(body||"");var sha1=shasum.digest("hex");return Buffer.from(sha1,"hex").toString("base64")};OAuth.prototype.concatParams=function(oa,sep,wrap){wrap=wrap||"";var params=Object.keys(oa).filter((function(i){return i!=="realm"&&i!=="oauth_signature"})).sort();if(oa.realm){params.splice(0,0,"realm")}params.push("oauth_signature");return params.map((function(i){return i+"="+wrap+oauth.rfc3986(oa[i])+wrap})).join(sep)};OAuth.prototype.onRequest=function(_oauth){var self=this;self.params=_oauth;var uri=self.request.uri||{};var method=self.request.method||"";var headers=caseless(self.request.headers);var body=self.request.body||"";var qsLib=self.request.qsLib||qs;var form;var query;var contentType=headers.get("content-type")||"";var formContentType="application/x-www-form-urlencoded";var transport=_oauth.transport_method||"header";if(contentType.slice(0,formContentType.length)===formContentType){contentType=formContentType;form=body}if(uri.query){query=uri.query}if(transport==="body"&&(method!=="POST"||contentType!==formContentType)){self.request.emit("error",new Error("oauth: transport_method of body requires POST "+"and content-type "+formContentType))}if(!form&&typeof _oauth.body_hash==="boolean"){_oauth.body_hash=self.buildBodyHash(_oauth,self.request.body.toString())}var oa=self.buildParams(_oauth,uri,method,query,form,qsLib);switch(transport){case"header":self.request.setHeader("Authorization","OAuth "+self.concatParams(oa,",",'"'));break;case"query":var href=self.request.uri.href+=(query?"&":"?")+self.concatParams(oa,"&");self.request.uri=url.parse(href);self.request.path=self.request.uri.path;break;case"body":self.request.body=(form?form+"&":"")+self.concatParams(oa,"&");break;default:self.request.emit("error",new Error("oauth: transport_method invalid"))}};exports.OAuth=OAuth},{caseless:134,crypto:143,"oauth-sign":803,qs:865,"safe-buffer":907,url:995,"uuid/v4":1003}],902:[function(require,module,exports){"use strict";var qs=require("qs");var querystring=require("querystring");function Querystring(request){this.request=request;this.lib=null;this.useQuerystring=null;this.parseOptions=null;this.stringifyOptions=null}Querystring.prototype.init=function(options){if(this.lib){return}this.useQuerystring=options.useQuerystring;this.lib=this.useQuerystring?querystring:qs;this.parseOptions=options.qsParseOptions||{};this.stringifyOptions=options.qsStringifyOptions||{}};Querystring.prototype.stringify=function(obj){return this.useQuerystring?this.rfc3986(this.lib.stringify(obj,this.stringifyOptions.sep||null,this.stringifyOptions.eq||null,this.stringifyOptions)):this.lib.stringify(obj,this.stringifyOptions)};Querystring.prototype.parse=function(str){return this.useQuerystring?this.lib.parse(str,this.parseOptions.sep||null,this.parseOptions.eq||null,this.parseOptions):this.lib.parse(str,this.parseOptions)};Querystring.prototype.rfc3986=function(str){return str.replace(/[!'()*]/g,(function(c){return"%"+c.charCodeAt(0).toString(16).toUpperCase()}))};Querystring.prototype.unescape=querystring.unescape;exports.Querystring=Querystring},{qs:865,querystring:871}],903:[function(require,module,exports){"use strict";var url=require("url");var isUrl=/^https?:/;function Redirect(request){this.request=request;this.followRedirect=true;this.followRedirects=true;this.followAllRedirects=false;this.followOriginalHttpMethod=false;this.allowRedirect=function(){return true};this.maxRedirects=10;this.redirects=[];this.redirectsFollowed=0;this.removeRefererHeader=false}Redirect.prototype.onRequest=function(options){var self=this;if(options.maxRedirects!==undefined){self.maxRedirects=options.maxRedirects}if(typeof options.followRedirect==="function"){self.allowRedirect=options.followRedirect}if(options.followRedirect!==undefined){self.followRedirects=!!options.followRedirect}if(options.followAllRedirects!==undefined){self.followAllRedirects=options.followAllRedirects}if(self.followRedirects||self.followAllRedirects){self.redirects=self.redirects||[]}if(options.removeRefererHeader!==undefined){self.removeRefererHeader=options.removeRefererHeader}if(options.followOriginalHttpMethod!==undefined){self.followOriginalHttpMethod=options.followOriginalHttpMethod}};Redirect.prototype.redirectTo=function(response){var self=this;var request=self.request;var redirectTo=null;if(response.statusCode>=300&&response.statusCode<400&&response.caseless.has("location")){var location=response.caseless.get("location");request.debug("redirect",location);if(self.followAllRedirects){redirectTo=location}else if(self.followRedirects){switch(request.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:redirectTo=location;break}}}else if(response.statusCode===401){var authHeader=request._auth.onResponse(response);if(authHeader){request.setHeader("authorization",authHeader);redirectTo=request.uri}}return redirectTo};Redirect.prototype.onResponse=function(response){var self=this;var request=self.request;var redirectTo=self.redirectTo(response);if(!redirectTo||!self.allowRedirect.call(request,response)){return false}request.debug("redirect to",redirectTo);if(response.resume){response.resume()}if(self.redirectsFollowed>=self.maxRedirects){request.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+request.uri.href));return false}self.redirectsFollowed+=1;if(!isUrl.test(redirectTo)){redirectTo=url.resolve(request.uri.href,redirectTo)}var uriPrev=request.uri;request.uri=url.parse(redirectTo);if(request.uri.protocol!==uriPrev.protocol){delete request.agent}self.redirects.push({statusCode:response.statusCode,redirectUri:redirectTo});if(self.followAllRedirects&&request.method!=="HEAD"&&response.statusCode!==401&&response.statusCode!==307){request.method=self.followOriginalHttpMethod?request.method:"GET"}delete request.src;delete request.req;delete request._started;if(response.statusCode!==401&&response.statusCode!==307){delete request.body;delete request._form;if(request.headers){request.removeHeader("host");request.removeHeader("content-type");request.removeHeader("content-length");if(request.uri.hostname!==request.originalHost.split(":")[0]){request.removeHeader("authorization")}}}if(!self.removeRefererHeader){request.setHeader("referer",uriPrev.href)}request.emit("redirect");request.init();return true};exports.Redirect=Redirect},{url:995}],904:[function(require,module,exports){"use strict";var url=require("url");var tunnel=require("tunnel-agent");var defaultProxyHeaderWhiteList=["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"];var defaultProxyHeaderExclusiveList=["proxy-authorization"];function constructProxyHost(uriObject){var port=uriObject.port;var protocol=uriObject.protocol;var proxyHost=uriObject.hostname+":";if(port){proxyHost+=port}else if(protocol==="https:"){proxyHost+="443"}else{proxyHost+="80"}return proxyHost}function constructProxyHeaderWhiteList(headers,proxyHeaderWhiteList){var whiteList=proxyHeaderWhiteList.reduce((function(set,header){set[header.toLowerCase()]=true;return set}),{});return Object.keys(headers).filter((function(header){return whiteList[header.toLowerCase()]})).reduce((function(set,header){set[header]=headers[header];return set}),{})}function constructTunnelOptions(request,proxyHeaders){var proxy=request.proxy;var tunnelOptions={proxy:{host:proxy.hostname,port:+proxy.port,proxyAuth:proxy.auth,headers:proxyHeaders},headers:request.headers,ca:request.ca,cert:request.cert,key:request.key,passphrase:request.passphrase,pfx:request.pfx,ciphers:request.ciphers,rejectUnauthorized:request.rejectUnauthorized,secureOptions:request.secureOptions,secureProtocol:request.secureProtocol};return tunnelOptions}function constructTunnelFnName(uri,proxy){var uriProtocol=uri.protocol==="https:"?"https":"http";var proxyProtocol=proxy.protocol==="https:"?"Https":"Http";return[uriProtocol,proxyProtocol].join("Over")}function getTunnelFn(request){var uri=request.uri;var proxy=request.proxy;var tunnelFnName=constructTunnelFnName(uri,proxy);return tunnel[tunnelFnName]}function Tunnel(request){this.request=request;this.proxyHeaderWhiteList=defaultProxyHeaderWhiteList;this.proxyHeaderExclusiveList=[];if(typeof request.tunnel!=="undefined"){this.tunnelOverride=request.tunnel}}Tunnel.prototype.isEnabled=function(){var self=this;var request=self.request;if(typeof self.tunnelOverride!=="undefined"){return self.tunnelOverride}if(request.uri.protocol==="https:"){return true}return false};Tunnel.prototype.setup=function(options){var self=this;var request=self.request;options=options||{};if(typeof request.proxy==="string"){request.proxy=url.parse(request.proxy)}if(!request.proxy||!request.tunnel){return false}if(options.proxyHeaderWhiteList){self.proxyHeaderWhiteList=options.proxyHeaderWhiteList}if(options.proxyHeaderExclusiveList){self.proxyHeaderExclusiveList=options.proxyHeaderExclusiveList}var proxyHeaderExclusiveList=self.proxyHeaderExclusiveList.concat(defaultProxyHeaderExclusiveList);var proxyHeaderWhiteList=self.proxyHeaderWhiteList.concat(proxyHeaderExclusiveList);var proxyHeaders=constructProxyHeaderWhiteList(request.headers,proxyHeaderWhiteList);proxyHeaders.host=constructProxyHost(request.uri);proxyHeaderExclusiveList.forEach(request.removeHeader,request);var tunnelFn=getTunnelFn(request);var tunnelOptions=constructTunnelOptions(request,proxyHeaders);request.agent=tunnelFn(tunnelOptions);return true};Tunnel.defaultProxyHeaderWhiteList=defaultProxyHeaderWhiteList;Tunnel.defaultProxyHeaderExclusiveList=defaultProxyHeaderExclusiveList;exports.Tunnel=Tunnel},{"tunnel-agent":992,url:995}],905:[function(require,module,exports){(function(process){"use strict";var http=require("http");var https=require("https");var url=require("url");var util=require("util");var stream=require("stream");var zlib=require("zlib");var aws2=require("aws-sign2");var aws4=require("aws4");var httpSignature=require("http-signature");var mime=require("mime-types");var caseless=require("caseless");var ForeverAgent=require("forever-agent");var FormData=require("form-data");var extend=require("extend");var isstream=require("isstream");var isTypedArray=require("is-typedarray").strict;var helpers=require("./lib/helpers");var cookies=require("./lib/cookies");var getProxyFromURI=require("./lib/getProxyFromURI");var Querystring=require("./lib/querystring").Querystring;var Har=require("./lib/har").Har;var Auth=require("./lib/auth").Auth;var OAuth=require("./lib/oauth").OAuth;var hawk=require("./lib/hawk");var Multipart=require("./lib/multipart").Multipart;var Redirect=require("./lib/redirect").Redirect;var Tunnel=require("./lib/tunnel").Tunnel;var now=require("performance-now");var Buffer=require("safe-buffer").Buffer;var safeStringify=helpers.safeStringify;var isReadStream=helpers.isReadStream;var toBase64=helpers.toBase64;var defer=helpers.defer;var copy=helpers.copy;var version=helpers.version;var globalCookieJar=cookies.jar();var globalPool={};function filterForNonReserved(reserved,options){var object={};for(var i in options){var notReserved=reserved.indexOf(i)===-1;if(notReserved){object[i]=options[i]}}return object}function filterOutReservedFunctions(reserved,options){var object={};for(var i in options){var isReserved=!(reserved.indexOf(i)===-1);var isFunction=typeof options[i]==="function";if(!(isReserved&&isFunction)){object[i]=options[i]}}return object}function requestToJSON(){var self=this;return{uri:self.uri,method:self.method,headers:self.headers}}function responseToJSON(){var self=this;return{statusCode:self.statusCode,body:self.body,headers:self.headers,request:requestToJSON.call(self.request)}}function Request(options){var self=this;if(options.har){self._har=new Har(self);options=self._har.options(options)}stream.Stream.call(self);var reserved=Object.keys(Request.prototype);var nonReserved=filterForNonReserved(reserved,options);extend(self,nonReserved);options=filterOutReservedFunctions(reserved,options);self.readable=true;self.writable=true;if(options.method){self.explicitMethod=true}self._qs=new Querystring(self);self._auth=new Auth(self);self._oauth=new OAuth(self);self._multipart=new Multipart(self);self._redirect=new Redirect(self);self._tunnel=new Tunnel(self);self.init(options)}util.inherits(Request,stream.Stream);Request.debug=process.env.NODE_DEBUG&&/\brequest\b/.test(process.env.NODE_DEBUG);function debug(){if(Request.debug){console.error("REQUEST %s",util.format.apply(util,arguments))}}Request.prototype.debug=debug;Request.prototype.init=function(options){var self=this;if(!options){options={}}self.headers=self.headers?copy(self.headers):{};for(var headerName in self.headers){if(typeof self.headers[headerName]==="undefined"){delete self.headers[headerName]}}caseless.httpify(self,self.headers);if(!self.method){self.method=options.method||"GET"}if(!self.localAddress){self.localAddress=options.localAddress}self._qs.init(options);debug(options);if(!self.pool&&self.pool!==false){self.pool=globalPool}self.dests=self.dests||[];self.__isRequestRequest=true;if(!self._callback&&self.callback){self._callback=self.callback;self.callback=function(){if(self._callbackCalled){return}self._callbackCalled=true;self._callback.apply(self,arguments)};self.on("error",self.callback.bind());self.on("complete",self.callback.bind(self,null))}if(!self.uri&&self.url){self.uri=self.url;delete self.url}if(self.baseUrl){if(typeof self.baseUrl!=="string"){return self.emit("error",new Error("options.baseUrl must be a string"))}if(typeof self.uri!=="string"){return self.emit("error",new Error("options.uri must be a string when using options.baseUrl"))}if(self.uri.indexOf("//")===0||self.uri.indexOf("://")!==-1){return self.emit("error",new Error("options.uri must be a path when using options.baseUrl"))}var baseUrlEndsWithSlash=self.baseUrl.lastIndexOf("/")===self.baseUrl.length-1;var uriStartsWithSlash=self.uri.indexOf("/")===0;if(baseUrlEndsWithSlash&&uriStartsWithSlash){self.uri=self.baseUrl+self.uri.slice(1)}else if(baseUrlEndsWithSlash||uriStartsWithSlash){self.uri=self.baseUrl+self.uri}else if(self.uri===""){self.uri=self.baseUrl}else{self.uri=self.baseUrl+"/"+self.uri}delete self.baseUrl}if(!self.uri){return self.emit("error",new Error("options.uri is a required argument"))}if(typeof self.uri==="string"){self.uri=url.parse(self.uri)}if(!self.uri.href){self.uri.href=url.format(self.uri)}if(self.uri.protocol==="unix:"){return self.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"))}if(self.uri.host==="unix"){self.enableUnixSocket()}if(self.strictSSL===false){self.rejectUnauthorized=false}if(!self.uri.pathname){self.uri.pathname="/"}if(!(self.uri.host||self.uri.hostname&&self.uri.port)&&!self.uri.isUnix){var faultyUri=url.format(self.uri);var message='Invalid URI "'+faultyUri+'"';if(Object.keys(options).length===0){message+=". This can be caused by a crappy redirection."}self.abort();return self.emit("error",new Error(message))}if(!self.hasOwnProperty("proxy")){self.proxy=getProxyFromURI(self.uri)}self.tunnel=self._tunnel.isEnabled();if(self.proxy){self._tunnel.setup(options)}self._redirect.onRequest(options);self.setHost=false;if(!self.hasHeader("host")){var hostHeaderName=self.originalHostHeaderName||"host";self.setHeader(hostHeaderName,self.uri.host);if(self.uri.port){if(self.uri.port==="80"&&self.uri.protocol==="http:"||self.uri.port==="443"&&self.uri.protocol==="https:"){self.setHeader(hostHeaderName,self.uri.hostname)}}self.setHost=true}self.jar(self._jar||options.jar);if(!self.uri.port){if(self.uri.protocol==="http:"){self.uri.port=80}else if(self.uri.protocol==="https:"){self.uri.port=443}}if(self.proxy&&!self.tunnel){self.port=self.proxy.port;self.host=self.proxy.hostname}else{self.port=self.uri.port;self.host=self.uri.hostname}if(options.form){self.form(options.form)}if(options.formData){var formData=options.formData;var requestForm=self.form();var appendFormValue=function(key,value){if(value&&value.hasOwnProperty("value")&&value.hasOwnProperty("options")){requestForm.append(key,value.value,value.options)}else{requestForm.append(key,value)}};for(var formKey in formData){if(formData.hasOwnProperty(formKey)){var formValue=formData[formKey];if(formValue instanceof Array){for(var j=0;j<formValue.length;j++){appendFormValue(formKey,formValue[j])}}else{appendFormValue(formKey,formValue)}}}}if(options.qs){self.qs(options.qs)}if(self.uri.path){self.path=self.uri.path}else{self.path=self.uri.pathname+(self.uri.search||"")}if(self.path.length===0){self.path="/"}if(options.aws){self.aws(options.aws)}if(options.hawk){self.hawk(options.hawk)}if(options.httpSignature){self.httpSignature(options.httpSignature)}if(options.auth){if(Object.prototype.hasOwnProperty.call(options.auth,"username")){options.auth.user=options.auth.username}if(Object.prototype.hasOwnProperty.call(options.auth,"password")){options.auth.pass=options.auth.password}self.auth(options.auth.user,options.auth.pass,options.auth.sendImmediately,options.auth.bearer)}if(self.gzip&&!self.hasHeader("accept-encoding")){self.setHeader("accept-encoding","gzip, deflate")}if(self.uri.auth&&!self.hasHeader("authorization")){var uriAuthPieces=self.uri.auth.split(":").map((function(item){return self._qs.unescape(item)}));self.auth(uriAuthPieces[0],uriAuthPieces.slice(1).join(":"),true)}if(!self.tunnel&&self.proxy&&self.proxy.auth&&!self.hasHeader("proxy-authorization")){var proxyAuthPieces=self.proxy.auth.split(":").map((function(item){return self._qs.unescape(item)}));var authHeader="Basic "+toBase64(proxyAuthPieces.join(":"));self.setHeader("proxy-authorization",authHeader)}if(self.proxy&&!self.tunnel){self.path=self.uri.protocol+"//"+self.uri.host+self.path}if(options.json){self.json(options.json)}if(options.multipart){self.multipart(options.multipart)}if(options.time){self.timing=true;self.elapsedTime=self.elapsedTime||0}function setContentLength(){if(isTypedArray(self.body)){self.body=Buffer.from(self.body)}if(!self.hasHeader("content-length")){var length;if(typeof self.body==="string"){length=Buffer.byteLength(self.body)}else if(Array.isArray(self.body)){length=self.body.reduce((function(a,b){return a+b.length}),0)}else{length=self.body.length}if(length){self.setHeader("content-length",length)}else{self.emit("error",new Error("Argument error, options.body."))}}}if(self.body&&!isstream(self.body)){setContentLength()}if(options.oauth){self.oauth(options.oauth)}else if(self._oauth.params&&self.hasHeader("authorization")){self.oauth(self._oauth.params)}var protocol=self.proxy&&!self.tunnel?self.proxy.protocol:self.uri.protocol;var defaultModules={"http:":http,"https:":https};var httpModules=self.httpModules||{};self.httpModule=httpModules[protocol]||defaultModules[protocol];if(!self.httpModule){return self.emit("error",new Error("Invalid protocol: "+protocol))}if(options.ca){self.ca=options.ca}if(!self.agent){if(options.agentOptions){self.agentOptions=options.agentOptions}if(options.agentClass){self.agentClass=options.agentClass}else if(options.forever){var v=version();if(v.major===0&&v.minor<=10){self.agentClass=protocol==="http:"?ForeverAgent:ForeverAgent.SSL}else{self.agentClass=self.httpModule.Agent;self.agentOptions=self.agentOptions||{};self.agentOptions.keepAlive=true}}else{self.agentClass=self.httpModule.Agent}}if(self.pool===false){self.agent=false}else{self.agent=self.agent||self.getNewAgent()}self.on("pipe",(function(src){if(self.ntick&&self._started){self.emit("error",new Error("You cannot pipe to this stream after the outbound request has started."))}self.src=src;if(isReadStream(src)){if(!self.hasHeader("content-type")){self.setHeader("content-type",mime.lookup(src.path))}}else{if(src.headers){for(var i in src.headers){if(!self.hasHeader(i)){self.setHeader(i,src.headers[i])}}}if(self._json&&!self.hasHeader("content-type")){self.setHeader("content-type","application/json")}if(src.method&&!self.explicitMethod){self.method=src.method}}}));defer((function(){if(self._aborted){return}var end=function(){if(self._form){if(!self._auth.hasAuth){self._form.pipe(self)}else if(self._auth.hasAuth&&self._auth.sentAuth){self._form.pipe(self)}}if(self._multipart&&self._multipart.chunked){self._multipart.body.pipe(self)}if(self.body){if(isstream(self.body)){self.body.pipe(self)}else{setContentLength();if(Array.isArray(self.body)){self.body.forEach((function(part){self.write(part)}))}else{self.write(self.body)}self.end()}}else if(self.requestBodyStream){console.warn("options.requestBodyStream is deprecated, please pass the request object to stream.pipe.");self.requestBodyStream.pipe(self)}else if(!self.src){if(self._auth.hasAuth&&!self._auth.sentAuth){self.end();return}if(self.method!=="GET"&&typeof self.method!=="undefined"){self.setHeader("content-length",0)}self.end()}};if(self._form&&!self.hasHeader("content-length")){self.setHeader(self._form.getHeaders(),true);self._form.getLength((function(err,length){if(!err&&!isNaN(length)){self.setHeader("content-length",length)}end()}))}else{end()}self.ntick=true}))};Request.prototype.getNewAgent=function(){var self=this;var Agent=self.agentClass;var options={};if(self.agentOptions){for(var i in self.agentOptions){options[i]=self.agentOptions[i]}}if(self.ca){options.ca=self.ca}if(self.ciphers){options.ciphers=self.ciphers}if(self.secureProtocol){options.secureProtocol=self.secureProtocol}if(self.secureOptions){options.secureOptions=self.secureOptions}if(typeof self.rejectUnauthorized!=="undefined"){options.rejectUnauthorized=self.rejectUnauthorized}if(self.cert&&self.key){options.key=self.key;options.cert=self.cert}if(self.pfx){options.pfx=self.pfx}if(self.passphrase){options.passphrase=self.passphrase}var poolKey="";if(Agent!==self.httpModule.Agent){poolKey+=Agent.name}var proxy=self.proxy;if(typeof proxy==="string"){proxy=url.parse(proxy)}var isHttps=proxy&&proxy.protocol==="https:"||this.uri.protocol==="https:";if(isHttps){if(options.ca){if(poolKey){poolKey+=":"}poolKey+=options.ca}if(typeof options.rejectUnauthorized!=="undefined"){if(poolKey){poolKey+=":"}poolKey+=options.rejectUnauthorized}if(options.cert){if(poolKey){poolKey+=":"}poolKey+=options.cert.toString("ascii")+options.key.toString("ascii")}if(options.pfx){if(poolKey){poolKey+=":"}poolKey+=options.pfx.toString("ascii")}if(options.ciphers){if(poolKey){poolKey+=":"}poolKey+=options.ciphers}if(options.secureProtocol){if(poolKey){poolKey+=":"}poolKey+=options.secureProtocol}if(options.secureOptions){if(poolKey){poolKey+=":"}poolKey+=options.secureOptions}}if(self.pool===globalPool&&!poolKey&&Object.keys(options).length===0&&self.httpModule.globalAgent){return self.httpModule.globalAgent}poolKey=self.uri.protocol+poolKey;if(!self.pool[poolKey]){self.pool[poolKey]=new Agent(options);if(self.pool.maxSockets){self.pool[poolKey].maxSockets=self.pool.maxSockets}}return self.pool[poolKey]};Request.prototype.start=function(){var self=this;if(self.timing){var startTime=(new Date).getTime();var startTimeNow=now()}if(self._aborted){return}self._started=true;self.method=self.method||"GET";self.href=self.uri.href;if(self.src&&self.src.stat&&self.src.stat.size&&!self.hasHeader("content-length")){self.setHeader("content-length",self.src.stat.size)}if(self._aws){self.aws(self._aws,true)}var reqOptions=copy(self);delete reqOptions.auth;debug("make request",self.uri.href);delete reqOptions.timeout;try{self.req=self.httpModule.request(reqOptions)}catch(err){self.emit("error",err);return}if(self.timing){self.startTime=startTime;self.startTimeNow=startTimeNow;self.timings={}}var timeout;if(self.timeout&&!self.timeoutTimer){if(self.timeout<0){timeout=0}else if(typeof self.timeout==="number"&&isFinite(self.timeout)){timeout=self.timeout}}self.req.on("response",self.onRequestResponse.bind(self));self.req.on("error",self.onRequestError.bind(self));self.req.on("drain",(function(){self.emit("drain")}));self.req.on("socket",(function(socket){var isConnecting=socket._connecting||socket.connecting;if(self.timing){self.timings.socket=now()-self.startTimeNow;if(isConnecting){var onLookupTiming=function(){self.timings.lookup=now()-self.startTimeNow};var onConnectTiming=function(){self.timings.connect=now()-self.startTimeNow};socket.once("lookup",onLookupTiming);socket.once("connect",onConnectTiming);self.req.once("error",(function(){socket.removeListener("lookup",onLookupTiming);socket.removeListener("connect",onConnectTiming)}))}}var setReqTimeout=function(){self.req.setTimeout(timeout,(function(){if(self.req){self.abort();var e=new Error("ESOCKETTIMEDOUT");e.code="ESOCKETTIMEDOUT";e.connect=false;self.emit("error",e)}}))};if(timeout!==undefined){if(isConnecting){var onReqSockConnect=function(){socket.removeListener("connect",onReqSockConnect);self.clearTimeout();setReqTimeout()};socket.on("connect",onReqSockConnect);self.req.on("error",(function(err){socket.removeListener("connect",onReqSockConnect)}));self.timeoutTimer=setTimeout((function(){socket.removeListener("connect",onReqSockConnect);self.abort();var e=new Error("ETIMEDOUT");e.code="ETIMEDOUT";e.connect=true;self.emit("error",e)}),timeout)}else{setReqTimeout()}}self.emit("socket",socket)}));self.emit("request",self.req)};Request.prototype.onRequestError=function(error){var self=this;if(self._aborted){return}if(self.req&&self.req._reusedSocket&&error.code==="ECONNRESET"&&self.agent.addRequestNoreuse){self.agent={addRequest:self.agent.addRequestNoreuse.bind(self.agent)};self.start();self.req.end();return}self.clearTimeout();self.emit("error",error)};Request.prototype.onRequestResponse=function(response){var self=this;if(self.timing){self.timings.response=now()-self.startTimeNow}debug("onRequestResponse",self.uri.href,response.statusCode,response.headers);response.on("end",(function(){if(self.timing){self.timings.end=now()-self.startTimeNow;response.timingStart=self.startTime;if(!self.timings.socket){self.timings.socket=0}if(!self.timings.lookup){self.timings.lookup=self.timings.socket}if(!self.timings.connect){self.timings.connect=self.timings.lookup}if(!self.timings.response){self.timings.response=self.timings.connect}debug("elapsed time",self.timings.end);self.elapsedTime+=Math.round(self.timings.end);response.elapsedTime=self.elapsedTime;response.timings=self.timings;response.timingPhases={wait:self.timings.socket,dns:self.timings.lookup-self.timings.socket,tcp:self.timings.connect-self.timings.lookup,firstByte:self.timings.response-self.timings.connect,download:self.timings.end-self.timings.response,total:self.timings.end}}debug("response end",self.uri.href,response.statusCode,response.headers)}));if(self._aborted){debug("aborted",self.uri.href);response.resume();return}self.response=response;response.request=self;response.toJSON=responseToJSON;if(self.httpModule===https&&self.strictSSL&&(!response.hasOwnProperty("socket")||!response.socket.authorized)){debug("strict ssl error",self.uri.href);var sslErr=response.hasOwnProperty("socket")?response.socket.authorizationError:self.uri.href+" does not support SSL";self.emit("error",new Error("SSL Error: "+sslErr));return}self.originalHost=self.getHeader("host");if(!self.originalHostHeaderName){self.originalHostHeaderName=self.hasHeader("host")}if(self.setHost){self.removeHeader("host")}self.clearTimeout();var targetCookieJar=self._jar&&self._jar.setCookie?self._jar:globalCookieJar;var addCookie=function(cookie){try{targetCookieJar.setCookie(cookie,self.uri.href,{ignoreError:true})}catch(e){self.emit("error",e)}};response.caseless=caseless(response.headers);if(response.caseless.has("set-cookie")&&!self._disableCookies){var headerName=response.caseless.has("set-cookie");if(Array.isArray(response.headers[headerName])){response.headers[headerName].forEach(addCookie)}else{addCookie(response.headers[headerName])}}if(self._redirect.onResponse(response)){return}else{response.on("close",(function(){if(!self._ended){self.response.emit("end")}}));response.once("end",(function(){self._ended=true}));var noBody=function(code){return self.method==="HEAD"||code>=100&&code<200||code===204||code===304};var responseContent;if(self.gzip&&!noBody(response.statusCode)){var contentEncoding=response.headers["content-encoding"]||"identity";contentEncoding=contentEncoding.trim().toLowerCase();var zlibOptions={flush:zlib.Z_SYNC_FLUSH,finishFlush:zlib.Z_SYNC_FLUSH};if(contentEncoding==="gzip"){responseContent=zlib.createGunzip(zlibOptions);response.pipe(responseContent)}else if(contentEncoding==="deflate"){responseContent=zlib.createInflate(zlibOptions);response.pipe(responseContent)}else{if(contentEncoding!=="identity"){debug("ignoring unrecognized Content-Encoding "+contentEncoding)}responseContent=response}}else{responseContent=response}if(self.encoding){if(self.dests.length!==0){console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.")}else{responseContent.setEncoding(self.encoding)}}if(self._paused){responseContent.pause()}self.responseContent=responseContent;self.emit("response",response);self.dests.forEach((function(dest){self.pipeDest(dest)}));responseContent.on("data",(function(chunk){if(self.timing&&!self.responseStarted){self.responseStartTime=(new Date).getTime();response.responseStartTime=self.responseStartTime}self._destdata=true;self.emit("data",chunk)}));responseContent.once("end",(function(chunk){self.emit("end",chunk)}));responseContent.on("error",(function(error){self.emit("error",error)}));responseContent.on("close",(function(){self.emit("close")}));if(self.callback){self.readResponseBody(response)}else{self.on("end",(function(){if(self._aborted){debug("aborted",self.uri.href);return}self.emit("complete",response)}))}}debug("finish init function",self.uri.href)};Request.prototype.readResponseBody=function(response){var self=this;debug("reading response's body");var buffers=[];var bufferLength=0;var strings=[];self.on("data",(function(chunk){if(!Buffer.isBuffer(chunk)){strings.push(chunk)}else if(chunk.length){bufferLength+=chunk.length;buffers.push(chunk)}}));self.on("end",(function(){debug("end event",self.uri.href);if(self._aborted){debug("aborted",self.uri.href);buffers=[];bufferLength=0;return}if(bufferLength){debug("has body",self.uri.href,bufferLength);response.body=Buffer.concat(buffers,bufferLength);if(self.encoding!==null){response.body=response.body.toString(self.encoding)}buffers=[];bufferLength=0}else if(strings.length){if(self.encoding==="utf8"&&strings[0].length>0&&strings[0][0]==="\ufeff"){strings[0]=strings[0].substring(1)}response.body=strings.join("")}if(self._json){try{response.body=JSON.parse(response.body,self._jsonReviver)}catch(e){debug("invalid JSON received",self.uri.href)}}debug("emitting complete",self.uri.href);if(typeof response.body==="undefined"&&!self._json){response.body=self.encoding===null?Buffer.alloc(0):""}self.emit("complete",response,response.body)}))};Request.prototype.abort=function(){var self=this;self._aborted=true;if(self.req){self.req.abort()}else if(self.response){self.response.destroy()}self.clearTimeout();self.emit("abort")};Request.prototype.pipeDest=function(dest){var self=this;var response=self.response;if(dest.headers&&!dest.headersSent){if(response.caseless.has("content-type")){var ctname=response.caseless.has("content-type");if(dest.setHeader){dest.setHeader(ctname,response.headers[ctname])}else{dest.headers[ctname]=response.headers[ctname]}}if(response.caseless.has("content-length")){var clname=response.caseless.has("content-length");if(dest.setHeader){dest.setHeader(clname,response.headers[clname])}else{dest.headers[clname]=response.headers[clname]}}}if(dest.setHeader&&!dest.headersSent){for(var i in response.headers){if(!self.gzip||i!=="content-encoding"){dest.setHeader(i,response.headers[i])}}dest.statusCode=response.statusCode}if(self.pipefilter){self.pipefilter(response,dest)}};Request.prototype.qs=function(q,clobber){var self=this;var base;if(!clobber&&self.uri.query){base=self._qs.parse(self.uri.query)}else{base={}}for(var i in q){base[i]=q[i]}var qs=self._qs.stringify(base);if(qs===""){return self}self.uri=url.parse(self.uri.href.split("?")[0]+"?"+qs);self.url=self.uri;self.path=self.uri.path;if(self.uri.host==="unix"){self.enableUnixSocket()}return self};Request.prototype.form=function(form){var self=this;if(form){if(!/^application\/x-www-form-urlencoded\b/.test(self.getHeader("content-type"))){self.setHeader("content-type","application/x-www-form-urlencoded")}self.body=typeof form==="string"?self._qs.rfc3986(form.toString("utf8")):self._qs.stringify(form).toString("utf8");return self}self._form=new FormData;self._form.on("error",(function(err){err.message="form-data: "+err.message;self.emit("error",err);self.abort()}));return self._form};Request.prototype.multipart=function(multipart){var self=this;self._multipart.onRequest(multipart);if(!self._multipart.chunked){self.body=self._multipart.body}return self};Request.prototype.json=function(val){var self=this;if(!self.hasHeader("accept")){self.setHeader("accept","application/json")}if(typeof self.jsonReplacer==="function"){self._jsonReplacer=self.jsonReplacer}self._json=true;if(typeof val==="boolean"){if(self.body!==undefined){if(!/^application\/x-www-form-urlencoded\b/.test(self.getHeader("content-type"))){self.body=safeStringify(self.body,self._jsonReplacer)}else{self.body=self._qs.rfc3986(self.body)}if(!self.hasHeader("content-type")){self.setHeader("content-type","application/json")}}}else{self.body=safeStringify(val,self._jsonReplacer);if(!self.hasHeader("content-type")){self.setHeader("content-type","application/json")}}if(typeof self.jsonReviver==="function"){self._jsonReviver=self.jsonReviver}return self};Request.prototype.getHeader=function(name,headers){var self=this;var result,re,match;if(!headers){headers=self.headers}Object.keys(headers).forEach((function(key){if(key.length!==name.length){return}re=new RegExp(name,"i");match=key.match(re);if(match){result=headers[key]}}));return result};Request.prototype.enableUnixSocket=function(){var unixParts=this.uri.path.split(":");var host=unixParts[0];var path=unixParts[1];this.socketPath=host;this.uri.pathname=path;this.uri.path=path;this.uri.host=host;this.uri.hostname=host;this.uri.isUnix=true};Request.prototype.auth=function(user,pass,sendImmediately,bearer){var self=this;self._auth.onRequest(user,pass,sendImmediately,bearer);return self};Request.prototype.aws=function(opts,now){var self=this;if(!now){self._aws=opts;return self}if(opts.sign_version===4||opts.sign_version==="4"){var options={host:self.uri.host,path:self.uri.path,method:self.method,headers:self.headers,body:self.body};if(opts.service){options.service=opts.service}var signRes=aws4.sign(options,{accessKeyId:opts.key,secretAccessKey:opts.secret,sessionToken:opts.session});self.setHeader("authorization",signRes.headers.Authorization);self.setHeader("x-amz-date",signRes.headers["X-Amz-Date"]);if(signRes.headers["X-Amz-Security-Token"]){self.setHeader("x-amz-security-token",signRes.headers["X-Amz-Security-Token"])}}else{var date=new Date;self.setHeader("date",date.toUTCString());var auth={key:opts.key,secret:opts.secret,verb:self.method.toUpperCase(),date:date,contentType:self.getHeader("content-type")||"",md5:self.getHeader("content-md5")||"",amazonHeaders:aws2.canonicalizeHeaders(self.headers)};var path=self.uri.path;if(opts.bucket&&path){auth.resource="/"+opts.bucket+path}else if(opts.bucket&&!path){auth.resource="/"+opts.bucket}else if(!opts.bucket&&path){auth.resource=path}else if(!opts.bucket&&!path){auth.resource="/"}auth.resource=aws2.canonicalizeResource(auth.resource);self.setHeader("authorization",aws2.authorization(auth))}return self};Request.prototype.httpSignature=function(opts){var self=this;httpSignature.signRequest({getHeader:function(header){return self.getHeader(header,self.headers)},setHeader:function(header,value){self.setHeader(header,value)},method:self.method,path:self.path},opts);debug("httpSignature authorization",self.getHeader("authorization"));return self};Request.prototype.hawk=function(opts){var self=this;self.setHeader("Authorization",hawk.header(self.uri,self.method,opts))};Request.prototype.oauth=function(_oauth){var self=this;self._oauth.onRequest(_oauth);return self};Request.prototype.jar=function(jar){var self=this;var cookies;if(self._redirect.redirectsFollowed===0){self.originalCookieHeader=self.getHeader("cookie")}if(!jar){cookies=false;self._disableCookies=true}else{var targetCookieJar=jar.getCookieString?jar:globalCookieJar;var urihref=self.uri.href;if(targetCookieJar){cookies=targetCookieJar.getCookieString(urihref)}}if(cookies&&cookies.length){if(self.originalCookieHeader){self.setHeader("cookie",self.originalCookieHeader+"; "+cookies)}else{self.setHeader("cookie",cookies)}}self._jar=jar;return self};Request.prototype.pipe=function(dest,opts){var self=this;if(self.response){if(self._destdata){self.emit("error",new Error("You cannot pipe after data has been emitted from the response."))}else if(self._ended){self.emit("error",new Error("You cannot pipe after the response has been ended."))}else{stream.Stream.prototype.pipe.call(self,dest,opts);self.pipeDest(dest);return dest}}else{self.dests.push(dest);stream.Stream.prototype.pipe.call(self,dest,opts);return dest}};Request.prototype.write=function(){var self=this;if(self._aborted){return}if(!self._started){self.start()}if(self.req){return self.req.write.apply(self.req,arguments)}};Request.prototype.end=function(chunk){var self=this;if(self._aborted){return}if(chunk){self.write(chunk)}if(!self._started){self.start()}if(self.req){self.req.end()}};Request.prototype.pause=function(){var self=this;if(!self.responseContent){self._paused=true}else{self.responseContent.pause.apply(self.responseContent,arguments)}};Request.prototype.resume=function(){var self=this;if(!self.responseContent){self._paused=false}else{self.responseContent.resume.apply(self.responseContent,arguments)}};Request.prototype.destroy=function(){var self=this;this.clearTimeout();if(!self._ended){self.end()}else if(self.response){self.response.destroy()}};Request.prototype.clearTimeout=function(){if(this.timeoutTimer){clearTimeout(this.timeoutTimer);this.timeoutTimer=null}};Request.defaultProxyHeaderWhiteList=Tunnel.defaultProxyHeaderWhiteList.slice();Request.defaultProxyHeaderExclusiveList=Tunnel.defaultProxyHeaderExclusiveList.slice();Request.prototype.toJSON=requestToJSON;module.exports=Request}).call(this,require("_process"))},{"./lib/auth":894,"./lib/cookies":895,"./lib/getProxyFromURI":896,"./lib/har":897,"./lib/hawk":898,"./lib/helpers":899,"./lib/multipart":900,"./lib/oauth":901,"./lib/querystring":902,"./lib/redirect":903,"./lib/tunnel":904,_process:855,"aws-sign2":75,aws4:76,caseless:134,extend:243,"forever-agent":247,"form-data":248,http:956,"http-signature":300,https:305,"is-typedarray":330,isstream:332,"mime-types":799,"performance-now":853,"safe-buffer":907,stream:955,url:995,util:1e3,zlib:128}],906:[function(require,module,exports){"use strict";var Buffer=require("buffer").Buffer;var inherits=require("inherits");var HashBase=require("hash-base");var ARRAY16=new Array(16);var zl=[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];var zr=[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];var sl=[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];var sr=[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];var hl=[0,1518500249,1859775393,2400959708,2840853838];var hr=[1352829926,1548603684,1836072691,2053994217,0];function RIPEMD160(){HashBase.call(this,64);this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520}inherits(RIPEMD160,HashBase);RIPEMD160.prototype._update=function(){var words=ARRAY16;for(var j=0;j<16;++j)words[j]=this._block.readInt32LE(j*4);var al=this._a|0;var bl=this._b|0;var cl=this._c|0;var dl=this._d|0;var el=this._e|0;var ar=this._a|0;var br=this._b|0;var cr=this._c|0;var dr=this._d|0;var er=this._e|0;for(var i=0;i<80;i+=1){var tl;var tr;if(i<16){tl=fn1(al,bl,cl,dl,el,words[zl[i]],hl[0],sl[i]);tr=fn5(ar,br,cr,dr,er,words[zr[i]],hr[0],sr[i])}else if(i<32){tl=fn2(al,bl,cl,dl,el,words[zl[i]],hl[1],sl[i]);tr=fn4(ar,br,cr,dr,er,words[zr[i]],hr[1],sr[i])}else if(i<48){tl=fn3(al,bl,cl,dl,el,words[zl[i]],hl[2],sl[i]);tr=fn3(ar,br,cr,dr,er,words[zr[i]],hr[2],sr[i])}else if(i<64){tl=fn4(al,bl,cl,dl,el,words[zl[i]],hl[3],sl[i]);tr=fn2(ar,br,cr,dr,er,words[zr[i]],hr[3],sr[i])}else{tl=fn5(al,bl,cl,dl,el,words[zl[i]],hl[4],sl[i]);tr=fn1(ar,br,cr,dr,er,words[zr[i]],hr[4],sr[i])}al=el;el=dl;dl=rotl(cl,10);cl=bl;bl=tl;ar=er;er=dr;dr=rotl(cr,10);cr=br;br=tr}var t=this._b+cl+dr|0;this._b=this._c+dl+er|0;this._c=this._d+el+ar|0;this._d=this._e+al+br|0;this._e=this._a+bl+cr|0;this._a=t};RIPEMD160.prototype._digest=function(){this._block[this._blockOffset++]=128;if(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 buffer=Buffer.alloc?Buffer.alloc(20):new Buffer(20);buffer.writeInt32LE(this._a,0);buffer.writeInt32LE(this._b,4);buffer.writeInt32LE(this._c,8);buffer.writeInt32LE(this._d,12);buffer.writeInt32LE(this._e,16);return buffer};function rotl(x,n){return x<<n|x>>>32-n}function fn1(a,b,c,d,e,m,k,s){return rotl(a+(b^c^d)+m+k|0,s)+e|0}function fn2(a,b,c,d,e,m,k,s){return rotl(a+(b&c|~b&d)+m+k|0,s)+e|0}function fn3(a,b,c,d,e,m,k,s){return rotl(a+((b|~c)^d)+m+k|0,s)+e|0}function fn4(a,b,c,d,e,m,k,s){return rotl(a+(b&d|c&~d)+m+k|0,s)+e|0}function fn5(a,b,c,d,e,m,k,s){return rotl(a+(b^(c|~d))+m+k|0,s)+e|0}module.exports=RIPEMD160},{buffer:132,"hash-base":270,inherits:326}],907:[function(require,module,exports){
|
||
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||
var buffer=require("buffer");var Buffer=buffer.Buffer;function copyProps(src,dst){for(var key in src){dst[key]=src[key]}}if(Buffer.from&&Buffer.alloc&&Buffer.allocUnsafe&&Buffer.allocUnsafeSlow){module.exports=buffer}else{copyProps(buffer,exports);exports.Buffer=SafeBuffer}function SafeBuffer(arg,encodingOrOffset,length){return Buffer(arg,encodingOrOffset,length)}SafeBuffer.prototype=Object.create(Buffer.prototype);copyProps(Buffer,SafeBuffer);SafeBuffer.from=function(arg,encodingOrOffset,length){if(typeof arg==="number"){throw new TypeError("Argument must not be a number")}return Buffer(arg,encodingOrOffset,length)};SafeBuffer.alloc=function(size,fill,encoding){if(typeof size!=="number"){throw new TypeError("Argument must be a number")}var buf=Buffer(size);if(fill!==undefined){if(typeof encoding==="string"){buf.fill(fill,encoding)}else{buf.fill(fill)}}else{buf.fill(0)}return buf};SafeBuffer.allocUnsafe=function(size){if(typeof size!=="number"){throw new TypeError("Argument must be a number")}return Buffer(size)};SafeBuffer.allocUnsafeSlow=function(size){if(typeof size!=="number"){throw new TypeError("Argument must be a number")}return buffer.SlowBuffer(size)}},{buffer:132}],908:[function(require,module,exports){(function(process){"use strict";var buffer=require("buffer");var Buffer=buffer.Buffer;var safer={};var key;for(key in buffer){if(!buffer.hasOwnProperty(key))continue;if(key==="SlowBuffer"||key==="Buffer")continue;safer[key]=buffer[key]}var Safer=safer.Buffer={};for(key in Buffer){if(!Buffer.hasOwnProperty(key))continue;if(key==="allocUnsafe"||key==="allocUnsafeSlow")continue;Safer[key]=Buffer[key]}safer.Buffer.prototype=Buffer.prototype;if(!Safer.from||Safer.from===Uint8Array.from){Safer.from=function(value,encodingOrOffset,length){if(typeof value==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof value)}if(value&&typeof value.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof value)}return Buffer(value,encodingOrOffset,length)}}if(!Safer.alloc){Safer.alloc=function(size,fill,encoding){if(typeof size!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof size)}if(size<0||size>=2*(1<<30)){throw new RangeError('The value "'+size+'" is invalid for option "size"')}var buf=Buffer(size);if(!fill||fill.length===0){buf.fill(0)}else if(typeof encoding==="string"){buf.fill(fill,encoding)}else{buf.fill(fill)}return buf}}if(!safer.kStringMaxLength){try{safer.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}}if(!safer.constants){safer.constants={MAX_LENGTH:safer.kMaxLength};if(safer.kStringMaxLength){safer.constants.MAX_STRING_LENGTH=safer.kStringMaxLength}}module.exports=safer}).call(this,require("_process"))},{_process:855,buffer:132}],909:[function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});const ed5=require("xmlchars/xml/1.0/ed5");const ed2=require("xmlchars/xml/1.1/ed2");const NSed3=require("xmlchars/xmlns/1.0/ed3");var isS=ed5.isS;var isChar10=ed5.isChar;var isNameStartChar=ed5.isNameStartChar;var isNameChar=ed5.isNameChar;var S_LIST=ed5.S_LIST;var NAME_RE=ed5.NAME_RE;var isChar11=ed2.isChar;var isNCNameStartChar=NSed3.isNCNameStartChar;var isNCNameChar=NSed3.isNCNameChar;var NC_NAME_RE=NSed3.NC_NAME_RE;const XML_NAMESPACE="http://www.w3.org/XML/1998/namespace";const XMLNS_NAMESPACE="http://www.w3.org/2000/xmlns/";const rootNS={__proto__:null,xml:XML_NAMESPACE,xmlns:XMLNS_NAMESPACE};const XML_ENTITIES={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};const EOC=-1;const NL_LIKE=-2;const S_BEGIN=0;const S_BEGIN_WHITESPACE=1;const S_DOCTYPE=2;const S_DOCTYPE_QUOTE=3;const S_DTD=4;const S_DTD_QUOTED=5;const S_DTD_OPEN_WAKA=6;const S_DTD_OPEN_WAKA_BANG=7;const S_DTD_COMMENT=8;const S_DTD_COMMENT_ENDING=9;const S_DTD_COMMENT_ENDED=10;const S_DTD_PI=11;const S_DTD_PI_ENDING=12;const S_TEXT=13;const S_ENTITY=14;const S_OPEN_WAKA=15;const S_OPEN_WAKA_BANG=16;const S_COMMENT=17;const S_COMMENT_ENDING=18;const S_COMMENT_ENDED=19;const S_CDATA=20;const S_CDATA_ENDING=21;const S_CDATA_ENDING_2=22;const S_PI_FIRST_CHAR=23;const S_PI_REST=24;const S_PI_BODY=25;const S_PI_ENDING=26;const S_XML_DECL_NAME_START=27;const S_XML_DECL_NAME=28;const S_XML_DECL_EQ=29;const S_XML_DECL_VALUE_START=30;const S_XML_DECL_VALUE=31;const S_XML_DECL_SEPARATOR=32;const S_XML_DECL_ENDING=33;const S_OPEN_TAG=34;const S_OPEN_TAG_SLASH=35;const S_ATTRIB=36;const S_ATTRIB_NAME=37;const S_ATTRIB_NAME_SAW_WHITE=38;const S_ATTRIB_VALUE=39;const S_ATTRIB_VALUE_QUOTED=40;const S_ATTRIB_VALUE_CLOSED=41;const S_ATTRIB_VALUE_UNQUOTED=42;const S_CLOSE_TAG=43;const S_CLOSE_TAG_SAW_WHITE=44;const TAB=9;const NL=10;const CR=13;const SPACE=32;const BANG=33;const DQUOTE=34;const AMP=38;const SQUOTE=39;const MINUS=45;const FORWARD_SLASH=47;const SEMICOLON=59;const LESS=60;const EQUAL=61;const GREATER=62;const QUESTION=63;const OPEN_BRACKET=91;const CLOSE_BRACKET=93;const NEL=133;const LS=8232;const isQuote=c=>c===DQUOTE||c===SQUOTE;const QUOTES=[DQUOTE,SQUOTE];const DOCTYPE_TERMINATOR=[...QUOTES,OPEN_BRACKET,GREATER];const DTD_TERMINATOR=[...QUOTES,LESS,CLOSE_BRACKET];const XML_DECL_NAME_TERMINATOR=[EQUAL,QUESTION,...S_LIST];const ATTRIB_VALUE_UNQUOTED_TERMINATOR=[...S_LIST,GREATER,AMP,LESS];function nsPairCheck(parser,prefix,uri){switch(prefix){case"xml":if(uri!==XML_NAMESPACE){parser.fail(`xml prefix must be bound to ${XML_NAMESPACE}.`)}break;case"xmlns":if(uri!==XMLNS_NAMESPACE){parser.fail(`xmlns prefix must be bound to ${XMLNS_NAMESPACE}.`)}break;default:}switch(uri){case XMLNS_NAMESPACE:parser.fail(prefix===""?`the default namespace may not be set to ${uri}.`:`may not assign a prefix (even "xmlns") to the URI ${XMLNS_NAMESPACE}.`);break;case XML_NAMESPACE:switch(prefix){case"xml":break;case"":parser.fail(`the default namespace may not be set to ${uri}.`);break;default:parser.fail("may not assign the xml namespace to another prefix.")}break;default:}}function nsMappingCheck(parser,mapping){for(const local of Object.keys(mapping)){nsPairCheck(parser,local,mapping[local])}}const isNCName=name=>NC_NAME_RE.test(name);const isName=name=>NAME_RE.test(name);const FORBIDDEN_START=0;const FORBIDDEN_BRACKET=1;const FORBIDDEN_BRACKET_BRACKET=2;exports.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const EVENT_NAME_TO_HANDLER_NAME={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class SaxesParser{constructor(opt){this.opt=opt!==null&&opt!==void 0?opt:{};this.fragmentOpt=!!this.opt.fragment;const xmlnsOpt=this.xmlnsOpt=!!this.opt.xmlns;this.trackPosition=this.opt.position!==false;this.fileName=this.opt.fileName;if(xmlnsOpt){this.nameStartCheck=isNCNameStartChar;this.nameCheck=isNCNameChar;this.isName=isNCName;this.processAttribs=this.processAttribsNS;this.pushAttrib=this.pushAttribNS;this.ns=Object.assign({__proto__:null},rootNS);const additional=this.opt.additionalNamespaces;if(additional!=null){nsMappingCheck(this,additional);Object.assign(this.ns,additional)}}else{this.nameStartCheck=isNameStartChar;this.nameCheck=isNameChar;this.isName=isName;this.processAttribs=this.processAttribsPlain;this.pushAttrib=this.pushAttribPlain}this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite];this._init()}get closed(){return this._closed}_init(){var _a;this.openWakaBang="";this.text="";this.name="";this.piTarget="";this.entity="";this.q=null;this.tags=[];this.tag=null;this.topNS=null;this.chunk="";this.chunkPosition=0;this.i=0;this.prevI=0;this.carriedFromPrevious=undefined;this.forbiddenState=FORBIDDEN_START;this.attribList=[];const{fragmentOpt:fragmentOpt}=this;this.state=fragmentOpt?S_TEXT:S_BEGIN;this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=fragmentOpt;this.xmlDeclPossible=!fragmentOpt;this.xmlDeclExpects=["version"];this.entityReturnState=undefined;let{defaultXMLVersion:defaultXMLVersion}=this.opt;if(defaultXMLVersion===undefined){if(this.opt.forceXMLVersion===true){throw new Error("forceXMLVersion set but defaultXMLVersion is not set")}defaultXMLVersion="1.0"}this.setXMLVersion(defaultXMLVersion);this.positionAtNewLine=0;this.doctype=false;this._closed=false;this.xmlDecl={version:undefined,encoding:undefined,standalone:undefined};this.line=1;this.column=0;this.ENTITIES=Object.create(XML_ENTITIES);(_a=this.readyHandler)===null||_a===void 0?void 0:_a.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(name,handler){this[EVENT_NAME_TO_HANDLER_NAME[name]]=handler}off(name){this[EVENT_NAME_TO_HANDLER_NAME[name]]=undefined}makeError(message){var _a;let msg=(_a=this.fileName)!==null&&_a!==void 0?_a:"";if(this.trackPosition){if(msg.length>0){msg+=":"}msg+=`${this.line}:${this.column}`}if(msg.length>0){msg+=": "}return new Error(msg+message)}fail(message){const err=this.makeError(message);const handler=this.errorHandler;if(handler===undefined){throw err}else{handler(err)}return this}write(chunk){if(this.closed){return this.fail("cannot write after close; assign an onready handler.")}let end=false;if(chunk===null){end=true;chunk=""}else if(typeof chunk==="object"){chunk=chunk.toString()}if(this.carriedFromPrevious!==undefined){chunk=`${this.carriedFromPrevious}${chunk}`;this.carriedFromPrevious=undefined}let limit=chunk.length;const lastCode=chunk.charCodeAt(limit-1);if(!end&&(lastCode===CR||lastCode>=55296&&lastCode<=56319)){this.carriedFromPrevious=chunk[limit-1];limit--;chunk=chunk.slice(0,limit)}const{stateTable:stateTable}=this;this.chunk=chunk;this.i=0;while(this.i<limit){stateTable[this.state].call(this)}this.chunkPosition+=limit;return end?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:chunk,i:i}=this;this.prevI=i;this.i=i+1;if(i>=chunk.length){return EOC}const code=chunk.charCodeAt(i);this.column++;if(code<55296){if(code>=SPACE||code===TAB){return code}switch(code){case NL:this.line++;this.column=0;this.positionAtNewLine=this.position;return NL;case CR:if(chunk.charCodeAt(i+1)===NL){this.i=i+2}this.line++;this.column=0;this.positionAtNewLine=this.position;return NL_LIKE;default:this.fail("disallowed character.");return code}}if(code>56319){if(!(code>=57344&&code<=65533)){this.fail("disallowed character.")}return code}const final=65536+(code-55296)*1024+(chunk.charCodeAt(i+1)-56320);this.i=i+2;if(final>1114111){this.fail("disallowed character.")}return final}getCode11(){const{chunk:chunk,i:i}=this;this.prevI=i;this.i=i+1;if(i>=chunk.length){return EOC}const code=chunk.charCodeAt(i);this.column++;if(code<55296){if(code>31&&code<127||code>159&&code!==LS||code===TAB){return code}switch(code){case NL:this.line++;this.column=0;this.positionAtNewLine=this.position;return NL;case CR:{const next=chunk.charCodeAt(i+1);if(next===NL||next===NEL){this.i=i+2}}case NEL:case LS:this.line++;this.column=0;this.positionAtNewLine=this.position;return NL_LIKE;default:this.fail("disallowed character.");return code}}if(code>56319){if(!(code>=57344&&code<=65533)){this.fail("disallowed character.")}return code}const final=65536+(code-55296)*1024+(chunk.charCodeAt(i+1)-56320);this.i=i+2;if(final>1114111){this.fail("disallowed character.")}return final}getCodeNorm(){const c=this.getCode();return c===NL_LIKE?NL:c}unget(){this.i=this.prevI;this.column--}captureTo(chars){let{i:start}=this;const{chunk:chunk}=this;while(true){const c=this.getCode();const isNLLike=c===NL_LIKE;const final=isNLLike?NL:c;if(final===EOC||chars.includes(final)){this.text+=chunk.slice(start,this.prevI);return final}if(isNLLike){this.text+=`${chunk.slice(start,this.prevI)}\n`;start=this.i}}}captureToChar(char){let{i:start}=this;const{chunk:chunk}=this;while(true){let c=this.getCode();switch(c){case NL_LIKE:this.text+=`${chunk.slice(start,this.prevI)}\n`;start=this.i;c=NL;break;case EOC:this.text+=chunk.slice(start);return false;default:}if(c===char){this.text+=chunk.slice(start,this.prevI);return true}}}captureNameChars(){const{chunk:chunk,i:start}=this;while(true){const c=this.getCode();if(c===EOC){this.name+=chunk.slice(start);return EOC}if(!isNameChar(c)){this.name+=chunk.slice(start,this.prevI);return c===NL_LIKE?NL:c}}}skipSpaces(){while(true){const c=this.getCodeNorm();if(c===EOC||!isS(c)){return c}}}setXMLVersion(version){this.currentXMLVersion=version;if(version==="1.0"){this.isChar=isChar10;this.getCode=this.getCode10}else{this.isChar=isChar11;this.getCode=this.getCode11}}sBegin(){if(this.chunk.charCodeAt(0)===65279){this.i++;this.column++}this.state=S_BEGIN_WHITESPACE}sBeginWhitespace(){const iBefore=this.i;const c=this.skipSpaces();if(this.prevI!==iBefore){this.xmlDeclPossible=false}switch(c){case LESS:this.state=S_OPEN_WAKA;if(this.text.length!==0){throw new Error("no-empty text at start")}break;case EOC:break;default:this.unget();this.state=S_TEXT;this.xmlDeclPossible=false}}sDoctype(){var _a;const c=this.captureTo(DOCTYPE_TERMINATOR);switch(c){case GREATER:{(_a=this.doctypeHandler)===null||_a===void 0?void 0:_a.call(this,this.text);this.text="";this.state=S_TEXT;this.doctype=true;break}case EOC:break;default:this.text+=String.fromCodePoint(c);if(c===OPEN_BRACKET){this.state=S_DTD}else if(isQuote(c)){this.state=S_DOCTYPE_QUOTE;this.q=c}}}sDoctypeQuote(){const q=this.q;if(this.captureToChar(q)){this.text+=String.fromCodePoint(q);this.q=null;this.state=S_DOCTYPE}}sDTD(){const c=this.captureTo(DTD_TERMINATOR);if(c===EOC){return}this.text+=String.fromCodePoint(c);if(c===CLOSE_BRACKET){this.state=S_DOCTYPE}else if(c===LESS){this.state=S_DTD_OPEN_WAKA}else if(isQuote(c)){this.state=S_DTD_QUOTED;this.q=c}}sDTDQuoted(){const q=this.q;if(this.captureToChar(q)){this.text+=String.fromCodePoint(q);this.state=S_DTD;this.q=null}}sDTDOpenWaka(){const c=this.getCodeNorm();this.text+=String.fromCodePoint(c);switch(c){case BANG:this.state=S_DTD_OPEN_WAKA_BANG;this.openWakaBang="";break;case QUESTION:this.state=S_DTD_PI;break;default:this.state=S_DTD}}sDTDOpenWakaBang(){const char=String.fromCodePoint(this.getCodeNorm());const owb=this.openWakaBang+=char;this.text+=char;if(owb!=="-"){this.state=owb==="--"?S_DTD_COMMENT:S_DTD;this.openWakaBang=""}}sDTDComment(){if(this.captureToChar(MINUS)){this.text+="-";this.state=S_DTD_COMMENT_ENDING}}sDTDCommentEnding(){const c=this.getCodeNorm();this.text+=String.fromCodePoint(c);this.state=c===MINUS?S_DTD_COMMENT_ENDED:S_DTD_COMMENT}sDTDCommentEnded(){const c=this.getCodeNorm();this.text+=String.fromCodePoint(c);if(c===GREATER){this.state=S_DTD}else{this.fail("malformed comment.");this.state=S_DTD_COMMENT}}sDTDPI(){if(this.captureToChar(QUESTION)){this.text+="?";this.state=S_DTD_PI_ENDING}}sDTDPIEnding(){const c=this.getCodeNorm();this.text+=String.fromCodePoint(c);if(c===GREATER){this.state=S_DTD}}sText(){if(this.tags.length!==0){this.handleTextInRoot()}else{this.handleTextOutsideRoot()}}sEntity(){let{i:start}=this;const{chunk:chunk}=this;loop:while(true){switch(this.getCode()){case NL_LIKE:this.entity+=`${chunk.slice(start,this.prevI)}\n`;start=this.i;break;case SEMICOLON:{const{entityReturnState:entityReturnState}=this;const entity=this.entity+chunk.slice(start,this.prevI);this.state=entityReturnState;let parsed;if(entity===""){this.fail("empty entity name.");parsed="&;"}else{parsed=this.parseEntity(entity);this.entity=""}if(entityReturnState!==S_TEXT||this.textHandler!==undefined){this.text+=parsed}break loop}case EOC:this.entity+=chunk.slice(start);break loop;default:}}}sOpenWaka(){const c=this.getCode();if(isNameStartChar(c)){this.state=S_OPEN_TAG;this.unget();this.xmlDeclPossible=false}else{switch(c){case FORWARD_SLASH:this.state=S_CLOSE_TAG;this.xmlDeclPossible=false;break;case BANG:this.state=S_OPEN_WAKA_BANG;this.openWakaBang="";this.xmlDeclPossible=false;break;case QUESTION:this.state=S_PI_FIRST_CHAR;break;default:this.fail("disallowed character in tag name");this.state=S_TEXT;this.xmlDeclPossible=false}}}sOpenWakaBang(){this.openWakaBang+=String.fromCodePoint(this.getCodeNorm());switch(this.openWakaBang){case"[CDATA[":if(!this.sawRoot&&!this.reportedTextBeforeRoot){this.fail("text data outside of root node.");this.reportedTextBeforeRoot=true}if(this.closedRoot&&!this.reportedTextAfterRoot){this.fail("text data outside of root node.");this.reportedTextAfterRoot=true}this.state=S_CDATA;this.openWakaBang="";break;case"--":this.state=S_COMMENT;this.openWakaBang="";break;case"DOCTYPE":this.state=S_DOCTYPE;if(this.doctype||this.sawRoot){this.fail("inappropriately located doctype declaration.")}this.openWakaBang="";break;default:if(this.openWakaBang.length>=7){this.fail("incorrect syntax.")}}}sComment(){if(this.captureToChar(MINUS)){this.state=S_COMMENT_ENDING}}sCommentEnding(){var _a;const c=this.getCodeNorm();if(c===MINUS){this.state=S_COMMENT_ENDED;(_a=this.commentHandler)===null||_a===void 0?void 0:_a.call(this,this.text);this.text=""}else{this.text+=`-${String.fromCodePoint(c)}`;this.state=S_COMMENT}}sCommentEnded(){const c=this.getCodeNorm();if(c!==GREATER){this.fail("malformed comment.");this.text+=`--${String.fromCodePoint(c)}`;this.state=S_COMMENT}else{this.state=S_TEXT}}sCData(){if(this.captureToChar(CLOSE_BRACKET)){this.state=S_CDATA_ENDING}}sCDataEnding(){const c=this.getCodeNorm();if(c===CLOSE_BRACKET){this.state=S_CDATA_ENDING_2}else{this.text+=`]${String.fromCodePoint(c)}`;this.state=S_CDATA}}sCDataEnding2(){var _a;const c=this.getCodeNorm();switch(c){case GREATER:{(_a=this.cdataHandler)===null||_a===void 0?void 0:_a.call(this,this.text);this.text="";this.state=S_TEXT;break}case CLOSE_BRACKET:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(c)}`;this.state=S_CDATA}}sPIFirstChar(){const c=this.getCodeNorm();if(this.nameStartCheck(c)){this.piTarget+=String.fromCodePoint(c);this.state=S_PI_REST}else if(c===QUESTION||isS(c)){this.fail("processing instruction without a target.");this.state=c===QUESTION?S_PI_ENDING:S_PI_BODY}else{this.fail("disallowed character in processing instruction name.");this.piTarget+=String.fromCodePoint(c);this.state=S_PI_REST}}sPIRest(){const{chunk:chunk,i:start}=this;while(true){const c=this.getCodeNorm();if(c===EOC){this.piTarget+=chunk.slice(start);return}if(!this.nameCheck(c)){this.piTarget+=chunk.slice(start,this.prevI);const isQuestion=c===QUESTION;if(isQuestion||isS(c)){if(this.piTarget==="xml"){if(!this.xmlDeclPossible){this.fail("an XML declaration must be at the start of the document.")}this.state=isQuestion?S_XML_DECL_ENDING:S_XML_DECL_NAME_START}else{this.state=isQuestion?S_PI_ENDING:S_PI_BODY}}else{this.fail("disallowed character in processing instruction name.");this.piTarget+=String.fromCodePoint(c)}break}}}sPIBody(){if(this.text.length===0){const c=this.getCodeNorm();if(c===QUESTION){this.state=S_PI_ENDING}else if(!isS(c)){this.text=String.fromCodePoint(c)}}else if(this.captureToChar(QUESTION)){this.state=S_PI_ENDING}}sPIEnding(){var _a;const c=this.getCodeNorm();if(c===GREATER){const{piTarget:piTarget}=this;if(piTarget.toLowerCase()==="xml"){this.fail("the XML declaration must appear at the start of the document.")}(_a=this.piHandler)===null||_a===void 0?void 0:_a.call(this,{target:piTarget,body:this.text});this.piTarget=this.text="";this.state=S_TEXT}else if(c===QUESTION){this.text+="?"}else{this.text+=`?${String.fromCodePoint(c)}`;this.state=S_PI_BODY}this.xmlDeclPossible=false}sXMLDeclNameStart(){const c=this.skipSpaces();if(c===QUESTION){this.state=S_XML_DECL_ENDING;return}if(c!==EOC){this.state=S_XML_DECL_NAME;this.name=String.fromCodePoint(c)}}sXMLDeclName(){const c=this.captureTo(XML_DECL_NAME_TERMINATOR);if(c===QUESTION){this.state=S_XML_DECL_ENDING;this.name+=this.text;this.text="";this.fail("XML declaration is incomplete.");return}if(!(isS(c)||c===EQUAL)){return}this.name+=this.text;this.text="";if(!this.xmlDeclExpects.includes(this.name)){switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}}this.state=c===EQUAL?S_XML_DECL_VALUE_START:S_XML_DECL_EQ}sXMLDeclEq(){const c=this.getCodeNorm();if(c===QUESTION){this.state=S_XML_DECL_ENDING;this.fail("XML declaration is incomplete.");return}if(isS(c)){return}if(c!==EQUAL){this.fail("value required.")}this.state=S_XML_DECL_VALUE_START}sXMLDeclValueStart(){const c=this.getCodeNorm();if(c===QUESTION){this.state=S_XML_DECL_ENDING;this.fail("XML declaration is incomplete.");return}if(isS(c)){return}if(!isQuote(c)){this.fail("value must be quoted.");this.q=SPACE}else{this.q=c}this.state=S_XML_DECL_VALUE}sXMLDeclValue(){const c=this.captureTo([this.q,QUESTION]);if(c===QUESTION){this.state=S_XML_DECL_ENDING;this.text="";this.fail("XML declaration is incomplete.");return}if(c===EOC){return}const value=this.text;this.text="";switch(this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const version=value;this.xmlDecl.version=version;if(!/^1\.[0-9]+$/.test(version)){this.fail("version number must match /^1\\.[0-9]+$/.")}else if(!this.opt.forceXMLVersion){this.setXMLVersion(version)}break}case"encoding":if(!/^[A-Za-z][A-Za-z0-9._-]*$/.test(value)){this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.")}this.xmlDeclExpects=["standalone"];this.xmlDecl.encoding=value;break;case"standalone":if(value!=="yes"&&value!=="no"){this.fail('standalone value must match "yes" or "no".')}this.xmlDeclExpects=[];this.xmlDecl.standalone=value;break;default:}this.name="";this.state=S_XML_DECL_SEPARATOR}sXMLDeclSeparator(){const c=this.getCodeNorm();if(c===QUESTION){this.state=S_XML_DECL_ENDING;return}if(!isS(c)){this.fail("whitespace required.");this.unget()}this.state=S_XML_DECL_NAME_START}sXMLDeclEnding(){var _a;const c=this.getCodeNorm();if(c===GREATER){if(this.piTarget!=="xml"){this.fail("processing instructions are not allowed before root.")}else if(this.name!=="version"&&this.xmlDeclExpects.includes("version")){this.fail("XML declaration must contain a version.")}(_a=this.xmldeclHandler)===null||_a===void 0?void 0:_a.call(this,this.xmlDecl);this.name="";this.piTarget=this.text="";this.state=S_TEXT}else{this.fail("The character ? is disallowed anywhere in XML declarations.")}this.xmlDeclPossible=false}sOpenTag(){var _a;const c=this.captureNameChars();if(c===EOC){return}const tag=this.tag={name:this.name,attributes:Object.create(null)};this.name="";if(this.xmlnsOpt){this.topNS=tag.ns=Object.create(null)}(_a=this.openTagStartHandler)===null||_a===void 0?void 0:_a.call(this,tag);this.sawRoot=true;if(!this.fragmentOpt&&this.closedRoot){this.fail("documents may contain only one root.")}switch(c){case GREATER:this.openTag();break;case FORWARD_SLASH:this.state=S_OPEN_TAG_SLASH;break;default:if(!isS(c)){this.fail("disallowed character in tag name.")}this.state=S_ATTRIB}}sOpenTagSlash(){if(this.getCode()===GREATER){this.openSelfClosingTag()}else{this.fail("forward-slash in opening tag not followed by >.");this.state=S_ATTRIB}}sAttrib(){const c=this.skipSpaces();if(c===EOC){return}if(isNameStartChar(c)){this.unget();this.state=S_ATTRIB_NAME}else if(c===GREATER){this.openTag()}else if(c===FORWARD_SLASH){this.state=S_OPEN_TAG_SLASH}else{this.fail("disallowed character in attribute name.")}}sAttribName(){const c=this.captureNameChars();if(c===EQUAL){this.state=S_ATTRIB_VALUE}else if(isS(c)){this.state=S_ATTRIB_NAME_SAW_WHITE}else if(c===GREATER){this.fail("attribute without value.");this.pushAttrib(this.name,this.name);this.name=this.text="";this.openTag()}else if(c!==EOC){this.fail("disallowed character in attribute name.")}}sAttribNameSawWhite(){const c=this.skipSpaces();switch(c){case EOC:return;case EQUAL:this.state=S_ATTRIB_VALUE;break;default:this.fail("attribute without value.");this.text="";this.name="";if(c===GREATER){this.openTag()}else if(isNameStartChar(c)){this.unget();this.state=S_ATTRIB_NAME}else{this.fail("disallowed character in attribute name.");this.state=S_ATTRIB}}}sAttribValue(){const c=this.getCodeNorm();if(isQuote(c)){this.q=c;this.state=S_ATTRIB_VALUE_QUOTED}else if(!isS(c)){this.fail("unquoted attribute value.");this.state=S_ATTRIB_VALUE_UNQUOTED;this.unget()}}sAttribValueQuoted(){const{q:q,chunk:chunk}=this;let{i:start}=this;while(true){switch(this.getCode()){case q:this.pushAttrib(this.name,this.text+chunk.slice(start,this.prevI));this.name=this.text="";this.q=null;this.state=S_ATTRIB_VALUE_CLOSED;return;case AMP:this.text+=chunk.slice(start,this.prevI);this.state=S_ENTITY;this.entityReturnState=S_ATTRIB_VALUE_QUOTED;return;case NL:case NL_LIKE:case TAB:this.text+=`${chunk.slice(start,this.prevI)} `;start=this.i;break;case LESS:this.text+=chunk.slice(start,this.prevI);this.fail("disallowed character.");return;case EOC:this.text+=chunk.slice(start);return;default:}}}sAttribValueClosed(){const c=this.getCodeNorm();if(isS(c)){this.state=S_ATTRIB}else if(c===GREATER){this.openTag()}else if(c===FORWARD_SLASH){this.state=S_OPEN_TAG_SLASH}else if(isNameStartChar(c)){this.fail("no whitespace between attributes.");this.unget();this.state=S_ATTRIB_NAME}else{this.fail("disallowed character in attribute name.")}}sAttribValueUnquoted(){const c=this.captureTo(ATTRIB_VALUE_UNQUOTED_TERMINATOR);switch(c){case AMP:this.state=S_ENTITY;this.entityReturnState=S_ATTRIB_VALUE_UNQUOTED;break;case LESS:this.fail("disallowed character.");break;case EOC:break;default:if(this.text.includes("]]>")){this.fail('the string "]]>" is disallowed in char data.')}this.pushAttrib(this.name,this.text);this.name=this.text="";if(c===GREATER){this.openTag()}else{this.state=S_ATTRIB}}}sCloseTag(){const c=this.captureNameChars();if(c===GREATER){this.closeTag()}else if(isS(c)){this.state=S_CLOSE_TAG_SAW_WHITE}else if(c!==EOC){this.fail("disallowed character in closing tag.")}}sCloseTagSawWhite(){switch(this.skipSpaces()){case GREATER:this.closeTag();break;case EOC:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:start,forbiddenState:forbiddenState}=this;const{chunk:chunk,textHandler:handler}=this;scanLoop:while(true){switch(this.getCode()){case LESS:{this.state=S_OPEN_WAKA;if(handler!==undefined){const{text:text}=this;const slice=chunk.slice(start,this.prevI);if(text.length!==0){handler(text+slice);this.text=""}else if(slice.length!==0){handler(slice)}}forbiddenState=FORBIDDEN_START;break scanLoop}case AMP:this.state=S_ENTITY;this.entityReturnState=S_TEXT;if(handler!==undefined){this.text+=chunk.slice(start,this.prevI)}forbiddenState=FORBIDDEN_START;break scanLoop;case CLOSE_BRACKET:switch(forbiddenState){case FORBIDDEN_START:forbiddenState=FORBIDDEN_BRACKET;break;case FORBIDDEN_BRACKET:forbiddenState=FORBIDDEN_BRACKET_BRACKET;break;case FORBIDDEN_BRACKET_BRACKET:break;default:throw new Error("impossible state")}break;case GREATER:if(forbiddenState===FORBIDDEN_BRACKET_BRACKET){this.fail('the string "]]>" is disallowed in char data.')}forbiddenState=FORBIDDEN_START;break;case NL_LIKE:if(handler!==undefined){this.text+=`${chunk.slice(start,this.prevI)}\n`}start=this.i;forbiddenState=FORBIDDEN_START;break;case EOC:if(handler!==undefined){this.text+=chunk.slice(start)}break scanLoop;default:forbiddenState=FORBIDDEN_START}}this.forbiddenState=forbiddenState}handleTextOutsideRoot(){let{i:start}=this;const{chunk:chunk,textHandler:handler}=this;let nonSpace=false;outRootLoop:while(true){const code=this.getCode();switch(code){case LESS:{this.state=S_OPEN_WAKA;if(handler!==undefined){const{text:text}=this;const slice=chunk.slice(start,this.prevI);if(text.length!==0){handler(text+slice);this.text=""}else if(slice.length!==0){handler(slice)}}break outRootLoop}case AMP:this.state=S_ENTITY;this.entityReturnState=S_TEXT;if(handler!==undefined){this.text+=chunk.slice(start,this.prevI)}nonSpace=true;break outRootLoop;case NL_LIKE:if(handler!==undefined){this.text+=`${chunk.slice(start,this.prevI)}\n`}start=this.i;break;case EOC:if(handler!==undefined){this.text+=chunk.slice(start)}break outRootLoop;default:if(!isS(code)){nonSpace=true}}}if(!nonSpace){return}if(!this.sawRoot&&!this.reportedTextBeforeRoot){this.fail("text data outside of root node.");this.reportedTextBeforeRoot=true}if(this.closedRoot&&!this.reportedTextAfterRoot){this.fail("text data outside of root node.");this.reportedTextAfterRoot=true}}pushAttribNS(name,value){var _a;const{prefix:prefix,local:local}=this.qname(name);const attr={name:name,prefix:prefix,local:local,value:value};this.attribList.push(attr);(_a=this.attributeHandler)===null||_a===void 0?void 0:_a.call(this,attr);if(prefix==="xmlns"){const trimmed=value.trim();if(this.currentXMLVersion==="1.0"&&trimmed===""){this.fail("invalid attempt to undefine prefix in XML 1.0")}this.topNS[local]=trimmed;nsPairCheck(this,local,trimmed)}else if(name==="xmlns"){const trimmed=value.trim();this.topNS[""]=trimmed;nsPairCheck(this,"",trimmed)}}pushAttribPlain(name,value){var _a;const attr={name:name,value:value};this.attribList.push(attr);(_a=this.attributeHandler)===null||_a===void 0?void 0:_a.call(this,attr)}end(){var _a,_b;if(!this.sawRoot){this.fail("document must contain a root element.")}const{tags:tags}=this;while(tags.length>0){const tag=tags.pop();this.fail(`unclosed tag: ${tag.name}`)}if(this.state!==S_BEGIN&&this.state!==S_TEXT){this.fail("unexpected end.")}const{text:text}=this;if(text.length!==0){(_a=this.textHandler)===null||_a===void 0?void 0:_a.call(this,text);this.text=""}this._closed=true;(_b=this.endHandler)===null||_b===void 0?void 0:_b.call(this);this._init();return this}resolve(prefix){var _a,_b;let uri=this.topNS[prefix];if(uri!==undefined){return uri}const{tags:tags}=this;for(let index=tags.length-1;index>=0;index--){uri=tags[index].ns[prefix];if(uri!==undefined){return uri}}uri=this.ns[prefix];if(uri!==undefined){return uri}return(_b=(_a=this.opt).resolvePrefix)===null||_b===void 0?void 0:_b.call(_a,prefix)}qname(name){const colon=name.indexOf(":");if(colon===-1){return{prefix:"",local:name}}const local=name.slice(colon+1);const prefix=name.slice(0,colon);if(prefix===""||local===""||local.includes(":")){this.fail(`malformed name: ${name}.`)}return{prefix:prefix,local:local}}processAttribsNS(){var _a;const{attribList:attribList}=this;const tag=this.tag;{const{prefix:prefix,local:local}=this.qname(tag.name);tag.prefix=prefix;tag.local=local;const uri=tag.uri=(_a=this.resolve(prefix))!==null&&_a!==void 0?_a:"";if(prefix!==""){if(prefix==="xmlns"){this.fail('tags may not have "xmlns" as prefix.')}if(uri===""){this.fail(`unbound namespace prefix: ${JSON.stringify(prefix)}.`);tag.uri=prefix}}}if(attribList.length===0){return}const{attributes:attributes}=tag;const seen=new Set;for(const attr of attribList){const{name:name,prefix:prefix,local:local}=attr;let uri;let eqname;if(prefix===""){uri=name==="xmlns"?XMLNS_NAMESPACE:"";eqname=name}else{uri=this.resolve(prefix);if(uri===undefined){this.fail(`unbound namespace prefix: ${JSON.stringify(prefix)}.`);uri=prefix}eqname=`{${uri}}${local}`}if(seen.has(eqname)){this.fail(`duplicate attribute: ${eqname}.`)}seen.add(eqname);attr.uri=uri;attributes[name]=attr}this.attribList=[]}processAttribsPlain(){const{attribList:attribList}=this;const attributes=this.tag.attributes;for(const{name:name,value:value}of attribList){if(attributes[name]!==undefined){this.fail(`duplicate attribute: ${name}.`)}attributes[name]=value}this.attribList=[]}openTag(){var _a;this.processAttribs();const{tags:tags}=this;const tag=this.tag;tag.isSelfClosing=false;(_a=this.openTagHandler)===null||_a===void 0?void 0:_a.call(this,tag);tags.push(tag);this.state=S_TEXT;this.name=""}openSelfClosingTag(){var _a,_b,_c;this.processAttribs();const{tags:tags}=this;const tag=this.tag;tag.isSelfClosing=true;(_a=this.openTagHandler)===null||_a===void 0?void 0:_a.call(this,tag);(_b=this.closeTagHandler)===null||_b===void 0?void 0:_b.call(this,tag);const top=this.tag=(_c=tags[tags.length-1])!==null&&_c!==void 0?_c:null;if(top===null){this.closedRoot=true}this.state=S_TEXT;this.name=""}closeTag(){const{tags:tags,name:name}=this;this.state=S_TEXT;this.name="";if(name===""){this.fail("weird empty close tag.");this.text+="</>";return}const handler=this.closeTagHandler;let l=tags.length;while(l-- >0){const tag=this.tag=tags.pop();this.topNS=tag.ns;handler===null||handler===void 0?void 0:handler(tag);if(tag.name===name){break}this.fail("unexpected close tag.")}if(l===0){this.closedRoot=true}else if(l<0){this.fail(`unmatched closing tag: ${name}.`);this.text+=`</${name}>`}}parseEntity(entity){if(entity[0]!=="#"){const defined=this.ENTITIES[entity];if(defined!==undefined){return defined}this.fail(this.isName(entity)?"undefined entity.":"disallowed character in entity name.");return`&${entity};`}let num=NaN;if(entity[1]==="x"&&/^#x[0-9a-f]+$/i.test(entity)){num=parseInt(entity.slice(2),16)}else if(/^#[0-9]+$/.test(entity)){num=parseInt(entity.slice(1),10)}if(!this.isChar(num)){this.fail("malformed character entity.");return`&${entity};`}return String.fromCodePoint(num)}}exports.SaxesParser=SaxesParser},{"xmlchars/xml/1.0/ed5":1036,"xmlchars/xml/1.1/ed2":1037,"xmlchars/xmlns/1.0/ed3":1038}],910:[function(require,module,exports){var Buffer=require("safe-buffer").Buffer;function Hash(blockSize,finalSize){this._block=Buffer.alloc(blockSize);this._finalSize=finalSize;this._blockSize=blockSize;this._len=0}Hash.prototype.update=function(data,enc){if(typeof data==="string"){enc=enc||"utf8";data=Buffer.from(data,enc)}var block=this._block;var blockSize=this._blockSize;var length=data.length;var accum=this._len;for(var offset=0;offset<length;){var assigned=accum%blockSize;var remainder=Math.min(length-offset,blockSize-assigned);for(var i=0;i<remainder;i++){block[assigned+i]=data[offset+i]}accum+=remainder;offset+=remainder;if(accum%blockSize===0){this._update(block)}}this._len+=length;return this};Hash.prototype.digest=function(enc){var rem=this._len%this._blockSize;this._block[rem]=128;this._block.fill(0,rem+1);if(rem>=this._finalSize){this._update(this._block);this._block.fill(0)}var bits=this._len*8;if(bits<=4294967295){this._block.writeUInt32BE(bits,this._blockSize-4)}else{var lowBits=(bits&4294967295)>>>0;var highBits=(bits-lowBits)/4294967296;this._block.writeUInt32BE(highBits,this._blockSize-8);this._block.writeUInt32BE(lowBits,this._blockSize-4)}this._update(this._block);var hash=this._hash();return enc?hash.toString(enc):hash};Hash.prototype._update=function(){throw new Error("_update must be implemented by subclass")};module.exports=Hash},{"safe-buffer":907}],911:[function(require,module,exports){var exports=module.exports=function SHA(algorithm){algorithm=algorithm.toLowerCase();var Algorithm=exports[algorithm];if(!Algorithm)throw new Error(algorithm+" is not supported (we accept pull requests)");return new Algorithm};exports.sha=require("./sha");exports.sha1=require("./sha1");exports.sha224=require("./sha224");exports.sha256=require("./sha256");exports.sha384=require("./sha384");exports.sha512=require("./sha512")},{"./sha":912,"./sha1":913,"./sha224":914,"./sha256":915,"./sha384":916,"./sha512":917}],912:[function(require,module,exports){var inherits=require("inherits");var Hash=require("./hash");var Buffer=require("safe-buffer").Buffer;var K=[1518500249,1859775393,2400959708|0,3395469782|0];var W=new Array(80);function Sha(){this.init();this._w=W;Hash.call(this,64,56)}inherits(Sha,Hash);Sha.prototype.init=function(){this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520;return this};function rotl5(num){return num<<5|num>>>27}function rotl30(num){return num<<30|num>>>2}function ft(s,b,c,d){if(s===0)return b&c|~b&d;if(s===2)return b&c|b&d|c&d;return b^c^d}Sha.prototype._update=function(M){var W=this._w;var a=this._a|0;var b=this._b|0;var c=this._c|0;var d=this._d|0;var e=this._e|0;for(var i=0;i<16;++i)W[i]=M.readInt32BE(i*4);for(;i<80;++i)W[i]=W[i-3]^W[i-8]^W[i-14]^W[i-16];for(var j=0;j<80;++j){var s=~~(j/20);var t=rotl5(a)+ft(s,b,c,d)+e+W[j]+K[s]|0;e=d;d=c;c=rotl30(b);b=a;a=t}this._a=a+this._a|0;this._b=b+this._b|0;this._c=c+this._c|0;this._d=d+this._d|0;this._e=e+this._e|0};Sha.prototype._hash=function(){var H=Buffer.allocUnsafe(20);H.writeInt32BE(this._a|0,0);H.writeInt32BE(this._b|0,4);H.writeInt32BE(this._c|0,8);H.writeInt32BE(this._d|0,12);H.writeInt32BE(this._e|0,16);return H};module.exports=Sha},{"./hash":910,inherits:326,"safe-buffer":907}],913:[function(require,module,exports){var inherits=require("inherits");var Hash=require("./hash");var Buffer=require("safe-buffer").Buffer;var K=[1518500249,1859775393,2400959708|0,3395469782|0];var W=new Array(80);function Sha1(){this.init();this._w=W;Hash.call(this,64,56)}inherits(Sha1,Hash);Sha1.prototype.init=function(){this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520;return this};function rotl1(num){return num<<1|num>>>31}function rotl5(num){return num<<5|num>>>27}function rotl30(num){return num<<30|num>>>2}function ft(s,b,c,d){if(s===0)return b&c|~b&d;if(s===2)return b&c|b&d|c&d;return b^c^d}Sha1.prototype._update=function(M){var W=this._w;var a=this._a|0;var b=this._b|0;var c=this._c|0;var d=this._d|0;var e=this._e|0;for(var i=0;i<16;++i)W[i]=M.readInt32BE(i*4);for(;i<80;++i)W[i]=rotl1(W[i-3]^W[i-8]^W[i-14]^W[i-16]);for(var j=0;j<80;++j){var s=~~(j/20);var t=rotl5(a)+ft(s,b,c,d)+e+W[j]+K[s]|0;e=d;d=c;c=rotl30(b);b=a;a=t}this._a=a+this._a|0;this._b=b+this._b|0;this._c=c+this._c|0;this._d=d+this._d|0;this._e=e+this._e|0};Sha1.prototype._hash=function(){var H=Buffer.allocUnsafe(20);H.writeInt32BE(this._a|0,0);H.writeInt32BE(this._b|0,4);H.writeInt32BE(this._c|0,8);H.writeInt32BE(this._d|0,12);H.writeInt32BE(this._e|0,16);return H};module.exports=Sha1},{"./hash":910,inherits:326,"safe-buffer":907}],914:[function(require,module,exports){var inherits=require("inherits");var Sha256=require("./sha256");var Hash=require("./hash");var Buffer=require("safe-buffer").Buffer;var W=new Array(64);function Sha224(){this.init();this._w=W;Hash.call(this,64,56)}inherits(Sha224,Sha256);Sha224.prototype.init=function(){this._a=3238371032;this._b=914150663;this._c=812702999;this._d=4144912697;this._e=4290775857;this._f=1750603025;this._g=1694076839;this._h=3204075428;return this};Sha224.prototype._hash=function(){var H=Buffer.allocUnsafe(28);H.writeInt32BE(this._a,0);H.writeInt32BE(this._b,4);H.writeInt32BE(this._c,8);H.writeInt32BE(this._d,12);H.writeInt32BE(this._e,16);H.writeInt32BE(this._f,20);H.writeInt32BE(this._g,24);return H};module.exports=Sha224},{"./hash":910,"./sha256":915,inherits:326,"safe-buffer":907}],915:[function(require,module,exports){var inherits=require("inherits");var Hash=require("./hash");var Buffer=require("safe-buffer").Buffer;var 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];var W=new Array(64);function Sha256(){this.init();this._w=W;Hash.call(this,64,56)}inherits(Sha256,Hash);Sha256.prototype.init=function(){this._a=1779033703;this._b=3144134277;this._c=1013904242;this._d=2773480762;this._e=1359893119;this._f=2600822924;this._g=528734635;this._h=1541459225;return this};function ch(x,y,z){return z^x&(y^z)}function maj(x,y,z){return x&y|z&(x|y)}function sigma0(x){return(x>>>2|x<<30)^(x>>>13|x<<19)^(x>>>22|x<<10)}function sigma1(x){return(x>>>6|x<<26)^(x>>>11|x<<21)^(x>>>25|x<<7)}function gamma0(x){return(x>>>7|x<<25)^(x>>>18|x<<14)^x>>>3}function gamma1(x){return(x>>>17|x<<15)^(x>>>19|x<<13)^x>>>10}Sha256.prototype._update=function(M){var W=this._w;var a=this._a|0;var b=this._b|0;var c=this._c|0;var d=this._d|0;var e=this._e|0;var f=this._f|0;var g=this._g|0;var h=this._h|0;for(var i=0;i<16;++i)W[i]=M.readInt32BE(i*4);for(;i<64;++i)W[i]=gamma1(W[i-2])+W[i-7]+gamma0(W[i-15])+W[i-16]|0;for(var j=0;j<64;++j){var T1=h+sigma1(e)+ch(e,f,g)+K[j]+W[j]|0;var T2=sigma0(a)+maj(a,b,c)|0;h=g;g=f;f=e;e=d+T1|0;d=c;c=b;b=a;a=T1+T2|0}this._a=a+this._a|0;this._b=b+this._b|0;this._c=c+this._c|0;this._d=d+this._d|0;this._e=e+this._e|0;this._f=f+this._f|0;this._g=g+this._g|0;this._h=h+this._h|0};Sha256.prototype._hash=function(){var H=Buffer.allocUnsafe(32);H.writeInt32BE(this._a,0);H.writeInt32BE(this._b,4);H.writeInt32BE(this._c,8);H.writeInt32BE(this._d,12);H.writeInt32BE(this._e,16);H.writeInt32BE(this._f,20);H.writeInt32BE(this._g,24);H.writeInt32BE(this._h,28);return H};module.exports=Sha256},{"./hash":910,inherits:326,"safe-buffer":907}],916:[function(require,module,exports){var inherits=require("inherits");var SHA512=require("./sha512");var Hash=require("./hash");var Buffer=require("safe-buffer").Buffer;var W=new Array(160);function Sha384(){this.init();this._w=W;Hash.call(this,128,112)}inherits(Sha384,SHA512);Sha384.prototype.init=function(){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;return this};Sha384.prototype._hash=function(){var H=Buffer.allocUnsafe(48);function writeInt64BE(h,l,offset){H.writeInt32BE(h,offset);H.writeInt32BE(l,offset+4)}writeInt64BE(this._ah,this._al,0);writeInt64BE(this._bh,this._bl,8);writeInt64BE(this._ch,this._cl,16);writeInt64BE(this._dh,this._dl,24);writeInt64BE(this._eh,this._el,32);writeInt64BE(this._fh,this._fl,40);return H};module.exports=Sha384},{"./hash":910,"./sha512":917,inherits:326,"safe-buffer":907}],917:[function(require,module,exports){var inherits=require("inherits");var Hash=require("./hash");var Buffer=require("safe-buffer").Buffer;var K=[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];var W=new Array(160);function Sha512(){this.init();this._w=W;Hash.call(this,128,112)}inherits(Sha512,Hash);Sha512.prototype.init=function(){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;return this};function Ch(x,y,z){return z^x&(y^z)}function maj(x,y,z){return x&y|z&(x|y)}function sigma0(x,xl){return(x>>>28|xl<<4)^(xl>>>2|x<<30)^(xl>>>7|x<<25)}function sigma1(x,xl){return(x>>>14|xl<<18)^(x>>>18|xl<<14)^(xl>>>9|x<<23)}function Gamma0(x,xl){return(x>>>1|xl<<31)^(x>>>8|xl<<24)^x>>>7}function Gamma0l(x,xl){return(x>>>1|xl<<31)^(x>>>8|xl<<24)^(x>>>7|xl<<25)}function Gamma1(x,xl){return(x>>>19|xl<<13)^(xl>>>29|x<<3)^x>>>6}function Gamma1l(x,xl){return(x>>>19|xl<<13)^(xl>>>29|x<<3)^(x>>>6|xl<<26)}function getCarry(a,b){return a>>>0<b>>>0?1:0}Sha512.prototype._update=function(M){var W=this._w;var ah=this._ah|0;var bh=this._bh|0;var ch=this._ch|0;var dh=this._dh|0;var eh=this._eh|0;var fh=this._fh|0;var gh=this._gh|0;var hh=this._hh|0;var al=this._al|0;var bl=this._bl|0;var cl=this._cl|0;var dl=this._dl|0;var el=this._el|0;var fl=this._fl|0;var gl=this._gl|0;var hl=this._hl|0;for(var i=0;i<32;i+=2){W[i]=M.readInt32BE(i*4);W[i+1]=M.readInt32BE(i*4+4)}for(;i<160;i+=2){var xh=W[i-15*2];var xl=W[i-15*2+1];var gamma0=Gamma0(xh,xl);var gamma0l=Gamma0l(xl,xh);xh=W[i-2*2];xl=W[i-2*2+1];var gamma1=Gamma1(xh,xl);var gamma1l=Gamma1l(xl,xh);var Wi7h=W[i-7*2];var Wi7l=W[i-7*2+1];var Wi16h=W[i-16*2];var Wi16l=W[i-16*2+1];var Wil=gamma0l+Wi7l|0;var Wih=gamma0+Wi7h+getCarry(Wil,gamma0l)|0;Wil=Wil+gamma1l|0;Wih=Wih+gamma1+getCarry(Wil,gamma1l)|0;Wil=Wil+Wi16l|0;Wih=Wih+Wi16h+getCarry(Wil,Wi16l)|0;W[i]=Wih;W[i+1]=Wil}for(var j=0;j<160;j+=2){Wih=W[j];Wil=W[j+1];var majh=maj(ah,bh,ch);var majl=maj(al,bl,cl);var sigma0h=sigma0(ah,al);var sigma0l=sigma0(al,ah);var sigma1h=sigma1(eh,el);var sigma1l=sigma1(el,eh);var Kih=K[j];var Kil=K[j+1];var chh=Ch(eh,fh,gh);var chl=Ch(el,fl,gl);var t1l=hl+sigma1l|0;var t1h=hh+sigma1h+getCarry(t1l,hl)|0;t1l=t1l+chl|0;t1h=t1h+chh+getCarry(t1l,chl)|0;t1l=t1l+Kil|0;t1h=t1h+Kih+getCarry(t1l,Kil)|0;t1l=t1l+Wil|0;t1h=t1h+Wih+getCarry(t1l,Wil)|0;var t2l=sigma0l+majl|0;var t2h=sigma0h+majh+getCarry(t2l,sigma0l)|0;hh=gh;hl=gl;gh=fh;gl=fl;fh=eh;fl=el;el=dl+t1l|0;eh=dh+t1h+getCarry(el,dl)|0;dh=ch;dl=cl;ch=bh;cl=bl;bh=ah;bl=al;al=t1l+t2l|0;ah=t1h+t2h+getCarry(al,t1l)|0}this._al=this._al+al|0;this._bl=this._bl+bl|0;this._cl=this._cl+cl|0;this._dl=this._dl+dl|0;this._el=this._el+el|0;this._fl=this._fl+fl|0;this._gl=this._gl+gl|0;this._hl=this._hl+hl|0;this._ah=this._ah+ah+getCarry(this._al,al)|0;this._bh=this._bh+bh+getCarry(this._bl,bl)|0;this._ch=this._ch+ch+getCarry(this._cl,cl)|0;this._dh=this._dh+dh+getCarry(this._dl,dl)|0;this._eh=this._eh+eh+getCarry(this._el,el)|0;this._fh=this._fh+fh+getCarry(this._fl,fl)|0;this._gh=this._gh+gh+getCarry(this._gl,gl)|0;this._hh=this._hh+hh+getCarry(this._hl,hl)|0};Sha512.prototype._hash=function(){var H=Buffer.allocUnsafe(64);function writeInt64BE(h,l,offset){H.writeInt32BE(h,offset);H.writeInt32BE(l,offset+4)}writeInt64BE(this._ah,this._al,0);writeInt64BE(this._bh,this._bl,8);writeInt64BE(this._ch,this._cl,16);writeInt64BE(this._dh,this._dl,24);writeInt64BE(this._eh,this._el,32);writeInt64BE(this._fh,this._fl,40);writeInt64BE(this._gh,this._gl,48);writeInt64BE(this._hh,this._hl,56);return H};module.exports=Sha512},{"./hash":910,inherits:326,"safe-buffer":907}],918:[function(require,module,exports){var util=require("./util");var has=Object.prototype.hasOwnProperty;var hasNativeMap=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=hasNativeMap?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(aArray,aAllowDuplicates){var set=new ArraySet;for(var i=0,len=aArray.length;i<len;i++){set.add(aArray[i],aAllowDuplicates)}return set};ArraySet.prototype.size=function ArraySet_size(){return hasNativeMap?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(aStr,aAllowDuplicates){var sStr=hasNativeMap?aStr:util.toSetString(aStr);var isDuplicate=hasNativeMap?this.has(aStr):has.call(this._set,sStr);var idx=this._array.length;if(!isDuplicate||aAllowDuplicates){this._array.push(aStr)}if(!isDuplicate){if(hasNativeMap){this._set.set(aStr,idx)}else{this._set[sStr]=idx}}};ArraySet.prototype.has=function ArraySet_has(aStr){if(hasNativeMap){return this._set.has(aStr)}else{var sStr=util.toSetString(aStr);return has.call(this._set,sStr)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(aStr){if(hasNativeMap){var idx=this._set.get(aStr);if(idx>=0){return idx}}else{var sStr=util.toSetString(aStr);if(has.call(this._set,sStr)){return this._set[sStr]}}throw new Error('"'+aStr+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(aIdx){if(aIdx>=0&&aIdx<this._array.length){return this._array[aIdx]}throw new Error("No element indexed by "+aIdx)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};exports.ArraySet=ArraySet},{"./util":927}],919:[function(require,module,exports){var base64=require("./base64");var VLQ_BASE_SHIFT=5;var VLQ_BASE=1<<VLQ_BASE_SHIFT;var VLQ_BASE_MASK=VLQ_BASE-1;var VLQ_CONTINUATION_BIT=VLQ_BASE;function toVLQSigned(aValue){return aValue<0?(-aValue<<1)+1:(aValue<<1)+0}function fromVLQSigned(aValue){var isNegative=(aValue&1)===1;var shifted=aValue>>1;return isNegative?-shifted:shifted}exports.encode=function base64VLQ_encode(aValue){var encoded="";var digit;var vlq=toVLQSigned(aValue);do{digit=vlq&VLQ_BASE_MASK;vlq>>>=VLQ_BASE_SHIFT;if(vlq>0){digit|=VLQ_CONTINUATION_BIT}encoded+=base64.encode(digit)}while(vlq>0);return encoded};exports.decode=function base64VLQ_decode(aStr,aIndex,aOutParam){var strLen=aStr.length;var result=0;var shift=0;var continuation,digit;do{if(aIndex>=strLen){throw new Error("Expected more digits in base 64 VLQ value.")}digit=base64.decode(aStr.charCodeAt(aIndex++));if(digit===-1){throw new Error("Invalid base64 digit: "+aStr.charAt(aIndex-1))}continuation=!!(digit&VLQ_CONTINUATION_BIT);digit&=VLQ_BASE_MASK;result=result+(digit<<shift);shift+=VLQ_BASE_SHIFT}while(continuation);aOutParam.value=fromVLQSigned(result);aOutParam.rest=aIndex}},{"./base64":920}],920:[function(require,module,exports){var intToCharMap="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");exports.encode=function(number){if(0<=number&&number<intToCharMap.length){return intToCharMap[number]}throw new TypeError("Must be between 0 and 63: "+number)};exports.decode=function(charCode){var bigA=65;var bigZ=90;var littleA=97;var littleZ=122;var zero=48;var nine=57;var plus=43;var slash=47;var littleOffset=26;var numberOffset=52;if(bigA<=charCode&&charCode<=bigZ){return charCode-bigA}if(littleA<=charCode&&charCode<=littleZ){return charCode-littleA+littleOffset}if(zero<=charCode&&charCode<=nine){return charCode-zero+numberOffset}if(charCode==plus){return 62}if(charCode==slash){return 63}return-1}},{}],921:[function(require,module,exports){exports.GREATEST_LOWER_BOUND=1;exports.LEAST_UPPER_BOUND=2;function recursiveSearch(aLow,aHigh,aNeedle,aHaystack,aCompare,aBias){var mid=Math.floor((aHigh-aLow)/2)+aLow;var cmp=aCompare(aNeedle,aHaystack[mid],true);if(cmp===0){return mid}else if(cmp>0){if(aHigh-mid>1){return recursiveSearch(mid,aHigh,aNeedle,aHaystack,aCompare,aBias)}if(aBias==exports.LEAST_UPPER_BOUND){return aHigh<aHaystack.length?aHigh:-1}else{return mid}}else{if(mid-aLow>1){return recursiveSearch(aLow,mid,aNeedle,aHaystack,aCompare,aBias)}if(aBias==exports.LEAST_UPPER_BOUND){return mid}else{return aLow<0?-1:aLow}}}exports.search=function search(aNeedle,aHaystack,aCompare,aBias){if(aHaystack.length===0){return-1}var index=recursiveSearch(-1,aHaystack.length,aNeedle,aHaystack,aCompare,aBias||exports.GREATEST_LOWER_BOUND);if(index<0){return-1}while(index-1>=0){if(aCompare(aHaystack[index],aHaystack[index-1],true)!==0){break}--index}return index}},{}],922:[function(require,module,exports){var util=require("./util");function generatedPositionAfter(mappingA,mappingB){var lineA=mappingA.generatedLine;var lineB=mappingB.generatedLine;var columnA=mappingA.generatedColumn;var columnB=mappingB.generatedColumn;return lineB>lineA||lineB==lineA&&columnB>=columnA||util.compareByGeneratedPositionsInflated(mappingA,mappingB)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(aCallback,aThisArg){this._array.forEach(aCallback,aThisArg)};MappingList.prototype.add=function MappingList_add(aMapping){if(generatedPositionAfter(this._last,aMapping)){this._last=aMapping;this._array.push(aMapping)}else{this._sorted=false;this._array.push(aMapping)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(util.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};exports.MappingList=MappingList},{"./util":927}],923:[function(require,module,exports){function swap(ary,x,y){var temp=ary[x];ary[x]=ary[y];ary[y]=temp}function randomIntInRange(low,high){return Math.round(low+Math.random()*(high-low))}function doQuickSort(ary,comparator,p,r){if(p<r){var pivotIndex=randomIntInRange(p,r);var i=p-1;swap(ary,pivotIndex,r);var pivot=ary[r];for(var j=p;j<r;j++){if(comparator(ary[j],pivot)<=0){i+=1;swap(ary,i,j)}}swap(ary,i+1,j);var q=i+1;doQuickSort(ary,comparator,p,q-1);doQuickSort(ary,comparator,q+1,r)}}exports.quickSort=function(ary,comparator){doQuickSort(ary,comparator,0,ary.length-1)}},{}],924:[function(require,module,exports){var util=require("./util");var binarySearch=require("./binary-search");var ArraySet=require("./array-set").ArraySet;var base64VLQ=require("./base64-vlq");var quickSort=require("./quick-sort").quickSort;function SourceMapConsumer(aSourceMap,aSourceMapURL){var sourceMap=aSourceMap;if(typeof aSourceMap==="string"){sourceMap=util.parseSourceMapInput(aSourceMap)}return sourceMap.sections!=null?new IndexedSourceMapConsumer(sourceMap,aSourceMapURL):new BasicSourceMapConsumer(sourceMap,aSourceMapURL)}SourceMapConsumer.fromSourceMap=function(aSourceMap,aSourceMapURL){return BasicSourceMapConsumer.fromSourceMap(aSourceMap,aSourceMapURL)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(aStr,index){var c=aStr.charAt(index);return c===";"||c===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(aStr,aSourceRoot){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(aCallback,aContext,aOrder){var context=aContext||null;var order=aOrder||SourceMapConsumer.GENERATED_ORDER;var mappings;switch(order){case SourceMapConsumer.GENERATED_ORDER:mappings=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:mappings=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var sourceRoot=this.sourceRoot;mappings.map((function(mapping){var source=mapping.source===null?null:this._sources.at(mapping.source);source=util.computeSourceURL(sourceRoot,source,this._sourceMapURL);return{source:source,generatedLine:mapping.generatedLine,generatedColumn:mapping.generatedColumn,originalLine:mapping.originalLine,originalColumn:mapping.originalColumn,name:mapping.name===null?null:this._names.at(mapping.name)}}),this).forEach(aCallback,context)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(aArgs){var line=util.getArg(aArgs,"line");var needle={source:util.getArg(aArgs,"source"),originalLine:line,originalColumn:util.getArg(aArgs,"column",0)};needle.source=this._findSourceIndex(needle.source);if(needle.source<0){return[]}var mappings=[];var index=this._findMapping(needle,this._originalMappings,"originalLine","originalColumn",util.compareByOriginalPositions,binarySearch.LEAST_UPPER_BOUND);if(index>=0){var mapping=this._originalMappings[index];if(aArgs.column===undefined){var originalLine=mapping.originalLine;while(mapping&&mapping.originalLine===originalLine){mappings.push({line:util.getArg(mapping,"generatedLine",null),column:util.getArg(mapping,"generatedColumn",null),lastColumn:util.getArg(mapping,"lastGeneratedColumn",null)});mapping=this._originalMappings[++index]}}else{var originalColumn=mapping.originalColumn;while(mapping&&mapping.originalLine===line&&mapping.originalColumn==originalColumn){mappings.push({line:util.getArg(mapping,"generatedLine",null),column:util.getArg(mapping,"generatedColumn",null),lastColumn:util.getArg(mapping,"lastGeneratedColumn",null)});mapping=this._originalMappings[++index]}}}return mappings};exports.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(aSourceMap,aSourceMapURL){var sourceMap=aSourceMap;if(typeof aSourceMap==="string"){sourceMap=util.parseSourceMapInput(aSourceMap)}var version=util.getArg(sourceMap,"version");var sources=util.getArg(sourceMap,"sources");var names=util.getArg(sourceMap,"names",[]);var sourceRoot=util.getArg(sourceMap,"sourceRoot",null);var sourcesContent=util.getArg(sourceMap,"sourcesContent",null);var mappings=util.getArg(sourceMap,"mappings");var file=util.getArg(sourceMap,"file",null);if(version!=this._version){throw new Error("Unsupported version: "+version)}if(sourceRoot){sourceRoot=util.normalize(sourceRoot)}sources=sources.map(String).map(util.normalize).map((function(source){return sourceRoot&&util.isAbsolute(sourceRoot)&&util.isAbsolute(source)?util.relative(sourceRoot,source):source}));this._names=ArraySet.fromArray(names.map(String),true);this._sources=ArraySet.fromArray(sources,true);this._absoluteSources=this._sources.toArray().map((function(s){return util.computeSourceURL(sourceRoot,s,aSourceMapURL)}));this.sourceRoot=sourceRoot;this.sourcesContent=sourcesContent;this._mappings=mappings;this._sourceMapURL=aSourceMapURL;this.file=file}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(aSource){var relativeSource=aSource;if(this.sourceRoot!=null){relativeSource=util.relative(this.sourceRoot,relativeSource)}if(this._sources.has(relativeSource)){return this._sources.indexOf(relativeSource)}var i;for(i=0;i<this._absoluteSources.length;++i){if(this._absoluteSources[i]==aSource){return i}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(aSourceMap,aSourceMapURL){var smc=Object.create(BasicSourceMapConsumer.prototype);var names=smc._names=ArraySet.fromArray(aSourceMap._names.toArray(),true);var sources=smc._sources=ArraySet.fromArray(aSourceMap._sources.toArray(),true);smc.sourceRoot=aSourceMap._sourceRoot;smc.sourcesContent=aSourceMap._generateSourcesContent(smc._sources.toArray(),smc.sourceRoot);smc.file=aSourceMap._file;smc._sourceMapURL=aSourceMapURL;smc._absoluteSources=smc._sources.toArray().map((function(s){return util.computeSourceURL(smc.sourceRoot,s,aSourceMapURL)}));var generatedMappings=aSourceMap._mappings.toArray().slice();var destGeneratedMappings=smc.__generatedMappings=[];var destOriginalMappings=smc.__originalMappings=[];for(var i=0,length=generatedMappings.length;i<length;i++){var srcMapping=generatedMappings[i];var destMapping=new Mapping;destMapping.generatedLine=srcMapping.generatedLine;destMapping.generatedColumn=srcMapping.generatedColumn;if(srcMapping.source){destMapping.source=sources.indexOf(srcMapping.source);destMapping.originalLine=srcMapping.originalLine;destMapping.originalColumn=srcMapping.originalColumn;if(srcMapping.name){destMapping.name=names.indexOf(srcMapping.name)}destOriginalMappings.push(destMapping)}destGeneratedMappings.push(destMapping)}quickSort(smc.__originalMappings,util.compareByOriginalPositions);return smc};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(aStr,aSourceRoot){var generatedLine=1;var previousGeneratedColumn=0;var previousOriginalLine=0;var previousOriginalColumn=0;var previousSource=0;var previousName=0;var length=aStr.length;var index=0;var cachedSegments={};var temp={};var originalMappings=[];var generatedMappings=[];var mapping,str,segment,end,value;while(index<length){if(aStr.charAt(index)===";"){generatedLine++;index++;previousGeneratedColumn=0}else if(aStr.charAt(index)===","){index++}else{mapping=new Mapping;mapping.generatedLine=generatedLine;for(end=index;end<length;end++){if(this._charIsMappingSeparator(aStr,end)){break}}str=aStr.slice(index,end);segment=cachedSegments[str];if(segment){index+=str.length}else{segment=[];while(index<end){base64VLQ.decode(aStr,index,temp);value=temp.value;index=temp.rest;segment.push(value)}if(segment.length===2){throw new Error("Found a source, but no line and column")}if(segment.length===3){throw new Error("Found a source and line, but no column")}cachedSegments[str]=segment}mapping.generatedColumn=previousGeneratedColumn+segment[0];previousGeneratedColumn=mapping.generatedColumn;if(segment.length>1){mapping.source=previousSource+segment[1];previousSource+=segment[1];mapping.originalLine=previousOriginalLine+segment[2];previousOriginalLine=mapping.originalLine;mapping.originalLine+=1;mapping.originalColumn=previousOriginalColumn+segment[3];previousOriginalColumn=mapping.originalColumn;if(segment.length>4){mapping.name=previousName+segment[4];previousName+=segment[4]}}generatedMappings.push(mapping);if(typeof mapping.originalLine==="number"){originalMappings.push(mapping)}}}quickSort(generatedMappings,util.compareByGeneratedPositionsDeflated);this.__generatedMappings=generatedMappings;quickSort(originalMappings,util.compareByOriginalPositions);this.__originalMappings=originalMappings};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(aNeedle,aMappings,aLineName,aColumnName,aComparator,aBias){if(aNeedle[aLineName]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+aNeedle[aLineName])}if(aNeedle[aColumnName]<0){throw new TypeError("Column must be greater than or equal to 0, got "+aNeedle[aColumnName])}return binarySearch.search(aNeedle,aMappings,aComparator,aBias)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var index=0;index<this._generatedMappings.length;++index){var mapping=this._generatedMappings[index];if(index+1<this._generatedMappings.length){var nextMapping=this._generatedMappings[index+1];if(mapping.generatedLine===nextMapping.generatedLine){mapping.lastGeneratedColumn=nextMapping.generatedColumn-1;continue}}mapping.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(aArgs){var needle={generatedLine:util.getArg(aArgs,"line"),generatedColumn:util.getArg(aArgs,"column")};var index=this._findMapping(needle,this._generatedMappings,"generatedLine","generatedColumn",util.compareByGeneratedPositionsDeflated,util.getArg(aArgs,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(index>=0){var mapping=this._generatedMappings[index];if(mapping.generatedLine===needle.generatedLine){var source=util.getArg(mapping,"source",null);if(source!==null){source=this._sources.at(source);source=util.computeSourceURL(this.sourceRoot,source,this._sourceMapURL)}var name=util.getArg(mapping,"name",null);if(name!==null){name=this._names.at(name)}return{source:source,line:util.getArg(mapping,"originalLine",null),column:util.getArg(mapping,"originalColumn",null),name:name}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(sc){return sc==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(aSource,nullOnMissing){if(!this.sourcesContent){return null}var index=this._findSourceIndex(aSource);if(index>=0){return this.sourcesContent[index]}var relativeSource=aSource;if(this.sourceRoot!=null){relativeSource=util.relative(this.sourceRoot,relativeSource)}var url;if(this.sourceRoot!=null&&(url=util.urlParse(this.sourceRoot))){var fileUriAbsPath=relativeSource.replace(/^file:\/\//,"");if(url.scheme=="file"&&this._sources.has(fileUriAbsPath)){return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]}if((!url.path||url.path=="/")&&this._sources.has("/"+relativeSource)){return this.sourcesContent[this._sources.indexOf("/"+relativeSource)]}}if(nullOnMissing){return null}else{throw new Error('"'+relativeSource+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(aArgs){var source=util.getArg(aArgs,"source");source=this._findSourceIndex(source);if(source<0){return{line:null,column:null,lastColumn:null}}var needle={source:source,originalLine:util.getArg(aArgs,"line"),originalColumn:util.getArg(aArgs,"column")};var index=this._findMapping(needle,this._originalMappings,"originalLine","originalColumn",util.compareByOriginalPositions,util.getArg(aArgs,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(index>=0){var mapping=this._originalMappings[index];if(mapping.source===needle.source){return{line:util.getArg(mapping,"generatedLine",null),column:util.getArg(mapping,"generatedColumn",null),lastColumn:util.getArg(mapping,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};exports.BasicSourceMapConsumer=BasicSourceMapConsumer;function IndexedSourceMapConsumer(aSourceMap,aSourceMapURL){var sourceMap=aSourceMap;if(typeof aSourceMap==="string"){sourceMap=util.parseSourceMapInput(aSourceMap)}var version=util.getArg(sourceMap,"version");var sections=util.getArg(sourceMap,"sections");if(version!=this._version){throw new Error("Unsupported version: "+version)}this._sources=new ArraySet;this._names=new ArraySet;var lastOffset={line:-1,column:0};this._sections=sections.map((function(s){if(s.url){throw new Error("Support for url field in sections not implemented.")}var offset=util.getArg(s,"offset");var offsetLine=util.getArg(offset,"line");var offsetColumn=util.getArg(offset,"column");if(offsetLine<lastOffset.line||offsetLine===lastOffset.line&&offsetColumn<lastOffset.column){throw new Error("Section offsets must be ordered and non-overlapping.")}lastOffset=offset;return{generatedOffset:{generatedLine:offsetLine+1,generatedColumn:offsetColumn+1},consumer:new SourceMapConsumer(util.getArg(s,"map"),aSourceMapURL)}}))}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var sources=[];for(var i=0;i<this._sections.length;i++){for(var j=0;j<this._sections[i].consumer.sources.length;j++){sources.push(this._sections[i].consumer.sources[j])}}return sources}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(aArgs){var needle={generatedLine:util.getArg(aArgs,"line"),generatedColumn:util.getArg(aArgs,"column")};var sectionIndex=binarySearch.search(needle,this._sections,(function(needle,section){var cmp=needle.generatedLine-section.generatedOffset.generatedLine;if(cmp){return cmp}return needle.generatedColumn-section.generatedOffset.generatedColumn}));var section=this._sections[sectionIndex];if(!section){return{source:null,line:null,column:null,name:null}}return section.consumer.originalPositionFor({line:needle.generatedLine-(section.generatedOffset.generatedLine-1),column:needle.generatedColumn-(section.generatedOffset.generatedLine===needle.generatedLine?section.generatedOffset.generatedColumn-1:0),bias:aArgs.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(s){return s.consumer.hasContentsOfAllSources()}))};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(aSource,nullOnMissing){for(var i=0;i<this._sections.length;i++){var section=this._sections[i];var content=section.consumer.sourceContentFor(aSource,true);if(content){return content}}if(nullOnMissing){return null}else{throw new Error('"'+aSource+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(aArgs){for(var i=0;i<this._sections.length;i++){var section=this._sections[i];if(section.consumer._findSourceIndex(util.getArg(aArgs,"source"))===-1){continue}var generatedPosition=section.consumer.generatedPositionFor(aArgs);if(generatedPosition){var ret={line:generatedPosition.line+(section.generatedOffset.generatedLine-1),column:generatedPosition.column+(section.generatedOffset.generatedLine===generatedPosition.line?section.generatedOffset.generatedColumn-1:0)};return ret}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(aStr,aSourceRoot){this.__generatedMappings=[];this.__originalMappings=[];for(var i=0;i<this._sections.length;i++){var section=this._sections[i];var sectionMappings=section.consumer._generatedMappings;for(var j=0;j<sectionMappings.length;j++){var mapping=sectionMappings[j];var source=section.consumer._sources.at(mapping.source);source=util.computeSourceURL(section.consumer.sourceRoot,source,this._sourceMapURL);this._sources.add(source);source=this._sources.indexOf(source);var name=null;if(mapping.name){name=section.consumer._names.at(mapping.name);this._names.add(name);name=this._names.indexOf(name)}var adjustedMapping={source:source,generatedLine:mapping.generatedLine+(section.generatedOffset.generatedLine-1),generatedColumn:mapping.generatedColumn+(section.generatedOffset.generatedLine===mapping.generatedLine?section.generatedOffset.generatedColumn-1:0),originalLine:mapping.originalLine,originalColumn:mapping.originalColumn,name:name};this.__generatedMappings.push(adjustedMapping);if(typeof adjustedMapping.originalLine==="number"){this.__originalMappings.push(adjustedMapping)}}}quickSort(this.__generatedMappings,util.compareByGeneratedPositionsDeflated);quickSort(this.__originalMappings,util.compareByOriginalPositions)};exports.IndexedSourceMapConsumer=IndexedSourceMapConsumer},{"./array-set":918,"./base64-vlq":919,"./binary-search":921,"./quick-sort":923,"./util":927}],925:[function(require,module,exports){var base64VLQ=require("./base64-vlq");var util=require("./util");var ArraySet=require("./array-set").ArraySet;var MappingList=require("./mapping-list").MappingList;function SourceMapGenerator(aArgs){if(!aArgs){aArgs={}}this._file=util.getArg(aArgs,"file",null);this._sourceRoot=util.getArg(aArgs,"sourceRoot",null);this._skipValidation=util.getArg(aArgs,"skipValidation",false);this._sources=new ArraySet;this._names=new ArraySet;this._mappings=new MappingList;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(aSourceMapConsumer){var sourceRoot=aSourceMapConsumer.sourceRoot;var generator=new SourceMapGenerator({file:aSourceMapConsumer.file,sourceRoot:sourceRoot});aSourceMapConsumer.eachMapping((function(mapping){var newMapping={generated:{line:mapping.generatedLine,column:mapping.generatedColumn}};if(mapping.source!=null){newMapping.source=mapping.source;if(sourceRoot!=null){newMapping.source=util.relative(sourceRoot,newMapping.source)}newMapping.original={line:mapping.originalLine,column:mapping.originalColumn};if(mapping.name!=null){newMapping.name=mapping.name}}generator.addMapping(newMapping)}));aSourceMapConsumer.sources.forEach((function(sourceFile){var sourceRelative=sourceFile;if(sourceRoot!==null){sourceRelative=util.relative(sourceRoot,sourceFile)}if(!generator._sources.has(sourceRelative)){generator._sources.add(sourceRelative)}var content=aSourceMapConsumer.sourceContentFor(sourceFile);if(content!=null){generator.setSourceContent(sourceFile,content)}}));return generator};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(aArgs){var generated=util.getArg(aArgs,"generated");var original=util.getArg(aArgs,"original",null);var source=util.getArg(aArgs,"source",null);var name=util.getArg(aArgs,"name",null);if(!this._skipValidation){this._validateMapping(generated,original,source,name)}if(source!=null){source=String(source);if(!this._sources.has(source)){this._sources.add(source)}}if(name!=null){name=String(name);if(!this._names.has(name)){this._names.add(name)}}this._mappings.add({generatedLine:generated.line,generatedColumn:generated.column,originalLine:original!=null&&original.line,originalColumn:original!=null&&original.column,source:source,name:name})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(aSourceFile,aSourceContent){var source=aSourceFile;if(this._sourceRoot!=null){source=util.relative(this._sourceRoot,source)}if(aSourceContent!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[util.toSetString(source)]=aSourceContent}else if(this._sourcesContents){delete this._sourcesContents[util.toSetString(source)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(aSourceMapConsumer,aSourceFile,aSourceMapPath){var sourceFile=aSourceFile;if(aSourceFile==null){if(aSourceMapConsumer.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}sourceFile=aSourceMapConsumer.file}var sourceRoot=this._sourceRoot;if(sourceRoot!=null){sourceFile=util.relative(sourceRoot,sourceFile)}var newSources=new ArraySet;var newNames=new ArraySet;this._mappings.unsortedForEach((function(mapping){if(mapping.source===sourceFile&&mapping.originalLine!=null){var original=aSourceMapConsumer.originalPositionFor({line:mapping.originalLine,column:mapping.originalColumn});if(original.source!=null){mapping.source=original.source;if(aSourceMapPath!=null){mapping.source=util.join(aSourceMapPath,mapping.source)}if(sourceRoot!=null){mapping.source=util.relative(sourceRoot,mapping.source)}mapping.originalLine=original.line;mapping.originalColumn=original.column;if(original.name!=null){mapping.name=original.name}}}var source=mapping.source;if(source!=null&&!newSources.has(source)){newSources.add(source)}var name=mapping.name;if(name!=null&&!newNames.has(name)){newNames.add(name)}}),this);this._sources=newSources;this._names=newNames;aSourceMapConsumer.sources.forEach((function(sourceFile){var content=aSourceMapConsumer.sourceContentFor(sourceFile);if(content!=null){if(aSourceMapPath!=null){sourceFile=util.join(aSourceMapPath,sourceFile)}if(sourceRoot!=null){sourceFile=util.relative(sourceRoot,sourceFile)}this.setSourceContent(sourceFile,content)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(aGenerated,aOriginal,aSource,aName){if(aOriginal&&typeof aOriginal.line!=="number"&&typeof aOriginal.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(aGenerated&&"line"in aGenerated&&"column"in aGenerated&&aGenerated.line>0&&aGenerated.column>=0&&!aOriginal&&!aSource&&!aName){return}else if(aGenerated&&"line"in aGenerated&&"column"in aGenerated&&aOriginal&&"line"in aOriginal&&"column"in aOriginal&&aGenerated.line>0&&aGenerated.column>=0&&aOriginal.line>0&&aOriginal.column>=0&&aSource){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:aGenerated,source:aSource,original:aOriginal,name:aName}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var previousGeneratedColumn=0;var previousGeneratedLine=1;var previousOriginalColumn=0;var previousOriginalLine=0;var previousName=0;var previousSource=0;var result="";var next;var mapping;var nameIdx;var sourceIdx;var mappings=this._mappings.toArray();for(var i=0,len=mappings.length;i<len;i++){mapping=mappings[i];next="";if(mapping.generatedLine!==previousGeneratedLine){previousGeneratedColumn=0;while(mapping.generatedLine!==previousGeneratedLine){next+=";";previousGeneratedLine++}}else{if(i>0){if(!util.compareByGeneratedPositionsInflated(mapping,mappings[i-1])){continue}next+=","}}next+=base64VLQ.encode(mapping.generatedColumn-previousGeneratedColumn);previousGeneratedColumn=mapping.generatedColumn;if(mapping.source!=null){sourceIdx=this._sources.indexOf(mapping.source);next+=base64VLQ.encode(sourceIdx-previousSource);previousSource=sourceIdx;next+=base64VLQ.encode(mapping.originalLine-1-previousOriginalLine);previousOriginalLine=mapping.originalLine-1;next+=base64VLQ.encode(mapping.originalColumn-previousOriginalColumn);previousOriginalColumn=mapping.originalColumn;if(mapping.name!=null){nameIdx=this._names.indexOf(mapping.name);next+=base64VLQ.encode(nameIdx-previousName);previousName=nameIdx}}result+=next}return result};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(aSources,aSourceRoot){return aSources.map((function(source){if(!this._sourcesContents){return null}if(aSourceRoot!=null){source=util.relative(aSourceRoot,source)}var key=util.toSetString(source);return Object.prototype.hasOwnProperty.call(this._sourcesContents,key)?this._sourcesContents[key]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var map={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){map.file=this._file}if(this._sourceRoot!=null){map.sourceRoot=this._sourceRoot}if(this._sourcesContents){map.sourcesContent=this._generateSourcesContent(map.sources,map.sourceRoot)}return map};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};exports.SourceMapGenerator=SourceMapGenerator},{"./array-set":918,"./base64-vlq":919,"./mapping-list":922,"./util":927}],926:[function(require,module,exports){var SourceMapGenerator=require("./source-map-generator").SourceMapGenerator;var util=require("./util");var REGEX_NEWLINE=/(\r?\n)/;var NEWLINE_CODE=10;var isSourceNode="$$$isSourceNode$$$";function SourceNode(aLine,aColumn,aSource,aChunks,aName){this.children=[];this.sourceContents={};this.line=aLine==null?null:aLine;this.column=aColumn==null?null:aColumn;this.source=aSource==null?null:aSource;this.name=aName==null?null:aName;this[isSourceNode]=true;if(aChunks!=null)this.add(aChunks)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(aGeneratedCode,aSourceMapConsumer,aRelativePath){var node=new SourceNode;var remainingLines=aGeneratedCode.split(REGEX_NEWLINE);var remainingLinesIndex=0;var shiftNextLine=function(){var lineContents=getNextLine();var newLine=getNextLine()||"";return lineContents+newLine;function getNextLine(){return remainingLinesIndex<remainingLines.length?remainingLines[remainingLinesIndex++]:undefined}};var lastGeneratedLine=1,lastGeneratedColumn=0;var lastMapping=null;aSourceMapConsumer.eachMapping((function(mapping){if(lastMapping!==null){if(lastGeneratedLine<mapping.generatedLine){addMappingWithCode(lastMapping,shiftNextLine());lastGeneratedLine++;lastGeneratedColumn=0}else{var nextLine=remainingLines[remainingLinesIndex]||"";var code=nextLine.substr(0,mapping.generatedColumn-lastGeneratedColumn);remainingLines[remainingLinesIndex]=nextLine.substr(mapping.generatedColumn-lastGeneratedColumn);lastGeneratedColumn=mapping.generatedColumn;addMappingWithCode(lastMapping,code);lastMapping=mapping;return}}while(lastGeneratedLine<mapping.generatedLine){node.add(shiftNextLine());lastGeneratedLine++}if(lastGeneratedColumn<mapping.generatedColumn){var nextLine=remainingLines[remainingLinesIndex]||"";node.add(nextLine.substr(0,mapping.generatedColumn));remainingLines[remainingLinesIndex]=nextLine.substr(mapping.generatedColumn);lastGeneratedColumn=mapping.generatedColumn}lastMapping=mapping}),this);if(remainingLinesIndex<remainingLines.length){if(lastMapping){addMappingWithCode(lastMapping,shiftNextLine())}node.add(remainingLines.splice(remainingLinesIndex).join(""))}aSourceMapConsumer.sources.forEach((function(sourceFile){var content=aSourceMapConsumer.sourceContentFor(sourceFile);if(content!=null){if(aRelativePath!=null){sourceFile=util.join(aRelativePath,sourceFile)}node.setSourceContent(sourceFile,content)}}));return node;function addMappingWithCode(mapping,code){if(mapping===null||mapping.source===undefined){node.add(code)}else{var source=aRelativePath?util.join(aRelativePath,mapping.source):mapping.source;node.add(new SourceNode(mapping.originalLine,mapping.originalColumn,source,code,mapping.name))}}};SourceNode.prototype.add=function SourceNode_add(aChunk){if(Array.isArray(aChunk)){aChunk.forEach((function(chunk){this.add(chunk)}),this)}else if(aChunk[isSourceNode]||typeof aChunk==="string"){if(aChunk){this.children.push(aChunk)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+aChunk)}return this};SourceNode.prototype.prepend=function SourceNode_prepend(aChunk){if(Array.isArray(aChunk)){for(var i=aChunk.length-1;i>=0;i--){this.prepend(aChunk[i])}}else if(aChunk[isSourceNode]||typeof aChunk==="string"){this.children.unshift(aChunk)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+aChunk)}return this};SourceNode.prototype.walk=function SourceNode_walk(aFn){var chunk;for(var i=0,len=this.children.length;i<len;i++){chunk=this.children[i];if(chunk[isSourceNode]){chunk.walk(aFn)}else{if(chunk!==""){aFn(chunk,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(aSep){var newChildren;var i;var len=this.children.length;if(len>0){newChildren=[];for(i=0;i<len-1;i++){newChildren.push(this.children[i]);newChildren.push(aSep)}newChildren.push(this.children[i]);this.children=newChildren}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(aPattern,aReplacement){var lastChild=this.children[this.children.length-1];if(lastChild[isSourceNode]){lastChild.replaceRight(aPattern,aReplacement)}else if(typeof lastChild==="string"){this.children[this.children.length-1]=lastChild.replace(aPattern,aReplacement)}else{this.children.push("".replace(aPattern,aReplacement))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(aSourceFile,aSourceContent){this.sourceContents[util.toSetString(aSourceFile)]=aSourceContent};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(aFn){for(var i=0,len=this.children.length;i<len;i++){if(this.children[i][isSourceNode]){this.children[i].walkSourceContents(aFn)}}var sources=Object.keys(this.sourceContents);for(var i=0,len=sources.length;i<len;i++){aFn(util.fromSetString(sources[i]),this.sourceContents[sources[i]])}};SourceNode.prototype.toString=function SourceNode_toString(){var str="";this.walk((function(chunk){str+=chunk}));return str};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(aArgs){var generated={code:"",line:1,column:0};var map=new SourceMapGenerator(aArgs);var sourceMappingActive=false;var lastOriginalSource=null;var lastOriginalLine=null;var lastOriginalColumn=null;var lastOriginalName=null;this.walk((function(chunk,original){generated.code+=chunk;if(original.source!==null&&original.line!==null&&original.column!==null){if(lastOriginalSource!==original.source||lastOriginalLine!==original.line||lastOriginalColumn!==original.column||lastOriginalName!==original.name){map.addMapping({source:original.source,original:{line:original.line,column:original.column},generated:{line:generated.line,column:generated.column},name:original.name})}lastOriginalSource=original.source;lastOriginalLine=original.line;lastOriginalColumn=original.column;lastOriginalName=original.name;sourceMappingActive=true}else if(sourceMappingActive){map.addMapping({generated:{line:generated.line,column:generated.column}});lastOriginalSource=null;sourceMappingActive=false}for(var idx=0,length=chunk.length;idx<length;idx++){if(chunk.charCodeAt(idx)===NEWLINE_CODE){generated.line++;generated.column=0;if(idx+1===length){lastOriginalSource=null;sourceMappingActive=false}else if(sourceMappingActive){map.addMapping({source:original.source,original:{line:original.line,column:original.column},generated:{line:generated.line,column:generated.column},name:original.name})}}else{generated.column++}}}));this.walkSourceContents((function(sourceFile,sourceContent){map.setSourceContent(sourceFile,sourceContent)}));return{code:generated.code,map:map}};exports.SourceNode=SourceNode},{"./source-map-generator":925,"./util":927}],927:[function(require,module,exports){function getArg(aArgs,aName,aDefaultValue){if(aName in aArgs){return aArgs[aName]}else if(arguments.length===3){return aDefaultValue}else{throw new Error('"'+aName+'" is a required argument.')}}exports.getArg=getArg;var urlRegexp=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var dataUrlRegexp=/^data:.+\,.+$/;function urlParse(aUrl){var match=aUrl.match(urlRegexp);if(!match){return null}return{scheme:match[1],auth:match[2],host:match[3],port:match[4],path:match[5]}}exports.urlParse=urlParse;function urlGenerate(aParsedUrl){var url="";if(aParsedUrl.scheme){url+=aParsedUrl.scheme+":"}url+="//";if(aParsedUrl.auth){url+=aParsedUrl.auth+"@"}if(aParsedUrl.host){url+=aParsedUrl.host}if(aParsedUrl.port){url+=":"+aParsedUrl.port}if(aParsedUrl.path){url+=aParsedUrl.path}return url}exports.urlGenerate=urlGenerate;function normalize(aPath){var path=aPath;var url=urlParse(aPath);if(url){if(!url.path){return aPath}path=url.path}var isAbsolute=exports.isAbsolute(path);var parts=path.split(/\/+/);for(var part,up=0,i=parts.length-1;i>=0;i--){part=parts[i];if(part==="."){parts.splice(i,1)}else if(part===".."){up++}else if(up>0){if(part===""){parts.splice(i+1,up);up=0}else{parts.splice(i,2);up--}}}path=parts.join("/");if(path===""){path=isAbsolute?"/":"."}if(url){url.path=path;return urlGenerate(url)}return path}exports.normalize=normalize;function join(aRoot,aPath){if(aRoot===""){aRoot="."}if(aPath===""){aPath="."}var aPathUrl=urlParse(aPath);var aRootUrl=urlParse(aRoot);if(aRootUrl){aRoot=aRootUrl.path||"/"}if(aPathUrl&&!aPathUrl.scheme){if(aRootUrl){aPathUrl.scheme=aRootUrl.scheme}return urlGenerate(aPathUrl)}if(aPathUrl||aPath.match(dataUrlRegexp)){return aPath}if(aRootUrl&&!aRootUrl.host&&!aRootUrl.path){aRootUrl.host=aPath;return urlGenerate(aRootUrl)}var joined=aPath.charAt(0)==="/"?aPath:normalize(aRoot.replace(/\/+$/,"")+"/"+aPath);if(aRootUrl){aRootUrl.path=joined;return urlGenerate(aRootUrl)}return joined}exports.join=join;exports.isAbsolute=function(aPath){return aPath.charAt(0)==="/"||urlRegexp.test(aPath)};function relative(aRoot,aPath){if(aRoot===""){aRoot="."}aRoot=aRoot.replace(/\/$/,"");var level=0;while(aPath.indexOf(aRoot+"/")!==0){var index=aRoot.lastIndexOf("/");if(index<0){return aPath}aRoot=aRoot.slice(0,index);if(aRoot.match(/^([^\/]+:\/)?\/*$/)){return aPath}++level}return Array(level+1).join("../")+aPath.substr(aRoot.length+1)}exports.relative=relative;var supportsNullProto=function(){var obj=Object.create(null);return!("__proto__"in obj)}();function identity(s){return s}function toSetString(aStr){if(isProtoString(aStr)){return"$"+aStr}return aStr}exports.toSetString=supportsNullProto?identity:toSetString;function fromSetString(aStr){if(isProtoString(aStr)){return aStr.slice(1)}return aStr}exports.fromSetString=supportsNullProto?identity:fromSetString;function isProtoString(s){if(!s){return false}var length=s.length;if(length<9){return false}if(s.charCodeAt(length-1)!==95||s.charCodeAt(length-2)!==95||s.charCodeAt(length-3)!==111||s.charCodeAt(length-4)!==116||s.charCodeAt(length-5)!==111||s.charCodeAt(length-6)!==114||s.charCodeAt(length-7)!==112||s.charCodeAt(length-8)!==95||s.charCodeAt(length-9)!==95){return false}for(var i=length-10;i>=0;i--){if(s.charCodeAt(i)!==36){return false}}return true}function compareByOriginalPositions(mappingA,mappingB,onlyCompareOriginal){var cmp=strcmp(mappingA.source,mappingB.source);if(cmp!==0){return cmp}cmp=mappingA.originalLine-mappingB.originalLine;if(cmp!==0){return cmp}cmp=mappingA.originalColumn-mappingB.originalColumn;if(cmp!==0||onlyCompareOriginal){return cmp}cmp=mappingA.generatedColumn-mappingB.generatedColumn;if(cmp!==0){return cmp}cmp=mappingA.generatedLine-mappingB.generatedLine;if(cmp!==0){return cmp}return strcmp(mappingA.name,mappingB.name)}exports.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(mappingA,mappingB,onlyCompareGenerated){var cmp=mappingA.generatedLine-mappingB.generatedLine;if(cmp!==0){return cmp}cmp=mappingA.generatedColumn-mappingB.generatedColumn;if(cmp!==0||onlyCompareGenerated){return cmp}cmp=strcmp(mappingA.source,mappingB.source);if(cmp!==0){return cmp}cmp=mappingA.originalLine-mappingB.originalLine;if(cmp!==0){return cmp}cmp=mappingA.originalColumn-mappingB.originalColumn;if(cmp!==0){return cmp}return strcmp(mappingA.name,mappingB.name)}exports.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(aStr1,aStr2){if(aStr1===aStr2){return 0}if(aStr1===null){return 1}if(aStr2===null){return-1}if(aStr1>aStr2){return 1}return-1}function compareByGeneratedPositionsInflated(mappingA,mappingB){var cmp=mappingA.generatedLine-mappingB.generatedLine;if(cmp!==0){return cmp}cmp=mappingA.generatedColumn-mappingB.generatedColumn;if(cmp!==0){return cmp}cmp=strcmp(mappingA.source,mappingB.source);if(cmp!==0){return cmp}cmp=mappingA.originalLine-mappingB.originalLine;if(cmp!==0){return cmp}cmp=mappingA.originalColumn-mappingB.originalColumn;if(cmp!==0){return cmp}return strcmp(mappingA.name,mappingB.name)}exports.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(str){return JSON.parse(str.replace(/^\)]}'[^\n]*\n/,""))}exports.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(sourceRoot,sourceURL,sourceMapURL){sourceURL=sourceURL||"";if(sourceRoot){if(sourceRoot[sourceRoot.length-1]!=="/"&&sourceURL[0]!=="/"){sourceRoot+="/"}sourceURL=sourceRoot+sourceURL}if(sourceMapURL){var parsed=urlParse(sourceMapURL);if(!parsed){throw new Error("sourceMapURL could not be parsed")}if(parsed.path){var index=parsed.path.lastIndexOf("/");if(index>=0){parsed.path=parsed.path.substring(0,index+1)}}sourceURL=join(urlGenerate(parsed),sourceURL)}return normalize(sourceURL)}exports.computeSourceURL=computeSourceURL},{}],928:[function(require,module,exports){exports.SourceMapGenerator=require("./lib/source-map-generator").SourceMapGenerator;exports.SourceMapConsumer=require("./lib/source-map-consumer").SourceMapConsumer;exports.SourceNode=require("./lib/source-node").SourceNode},{"./lib/source-map-consumer":924,"./lib/source-map-generator":925,"./lib/source-node":926}],929:[function(require,module,exports){var Buffer=require("safer-buffer").Buffer;var algInfo={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};algInfo["curve25519"]=algInfo["ed25519"];var algPrivInfo={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};algPrivInfo["curve25519"]=algPrivInfo["ed25519"];var hashAlgs={md5:true,sha1:true,sha256:true,sha384:true,sha512:true};var curves={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:Buffer.from(("00"+"ffffffff 00000001 00000000 00000000"+"00000000 ffffffff ffffffff ffffffff").replace(/ /g,""),"hex"),a:Buffer.from(("00"+"FFFFFFFF 00000001 00000000 00000000"+"00000000 FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:Buffer.from(("5ac635d8 aa3a93e7 b3ebbd55 769886bc"+"651d06b0 cc53b0f6 3bce3c3e 27d2604b").replace(/ /g,""),"hex"),s:Buffer.from(("00"+"c49d3608 86e70493 6a6678e1 139d26b7"+"819f7e90").replace(/ /g,""),"hex"),n:Buffer.from(("00"+"ffffffff 00000000 ffffffff ffffffff"+"bce6faad a7179e84 f3b9cac2 fc632551").replace(/ /g,""),"hex"),G:Buffer.from(("04"+"6b17d1f2 e12c4247 f8bce6e5 63a440f2"+"77037d81 2deb33a0 f4a13945 d898c296"+"4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16"+"2bce3357 6b315ece cbb64068 37bf51f5").replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:Buffer.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffe"+"ffffffff 00000000 00000000 ffffffff").replace(/ /g,""),"hex"),a:Buffer.from(("00"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE"+"FFFFFFFF 00000000 00000000 FFFFFFFC").replace(/ /g,""),"hex"),b:Buffer.from(("b3312fa7 e23ee7e4 988e056b e3f82d19"+"181d9c6e fe814112 0314088f 5013875a"+"c656398d 8a2ed19d 2a85c8ed d3ec2aef").replace(/ /g,""),"hex"),s:Buffer.from(("00"+"a335926a a319a27a 1d00896a 6773a482"+"7acdac73").replace(/ /g,""),"hex"),n:Buffer.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff c7634d81 f4372ddf"+"581a0db2 48b0a77a ecec196a ccc52973").replace(/ /g,""),"hex"),G:Buffer.from(("04"+"aa87ca22 be8b0537 8eb1c71e f320ad74"+"6e1d3b62 8ba79b98 59f741e0 82542a38"+"5502f25d bf55296c 3a545e38 72760ab7"+"3617de4a 96262c6f 5d9e98bf 9292dc29"+"f8f41dbd 289a147c e9da3113 b5f0b8c0"+"0a60b1ce 1d7e819d 7a431d7c 90ea0e5f").replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:Buffer.from(("01ffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffff").replace(/ /g,""),"hex"),a:Buffer.from(("01FF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:Buffer.from(("51"+"953eb961 8e1c9a1f 929a21a0 b68540ee"+"a2da725b 99b315f3 b8b48991 8ef109e1"+"56193951 ec7e937b 1652c0bd 3bb1bf07"+"3573df88 3d2c34f1 ef451fd4 6b503f00").replace(/ /g,""),"hex"),s:Buffer.from(("00"+"d09e8800 291cb853 96cc6717 393284aa"+"a0da64ba").replace(/ /g,""),"hex"),n:Buffer.from(("01ff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffa"+"51868783 bf2f966b 7fcc0148 f709a5d0"+"3bb5c9b8 899c47ae bb6fb71e 91386409").replace(/ /g,""),"hex"),G:Buffer.from(("04"+"00c6 858e06b7 0404e9cd 9e3ecb66 2395b442"+"9c648139 053fb521 f828af60 6b4d3dba"+"a14b5e77 efe75928 fe1dc127 a2ffa8de"+"3348b3c1 856a429b f97e7e31 c2e5bd66"+"0118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9"+"98f54449 579b4468 17afbd17 273e662c"+"97ee7299 5ef42640 c550b901 3fad0761"+"353c7086 a272c240 88be9476 9fd16650").replace(/ /g,""),"hex")}};module.exports={info:algInfo,privInfo:algPrivInfo,hashAlgs:hashAlgs,curves:curves}},{"safer-buffer":908}],930:[function(require,module,exports){module.exports=Certificate;var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var algs=require("./algs");var crypto=require("crypto");var Fingerprint=require("./fingerprint");var Signature=require("./signature");var errs=require("./errors");var util=require("util");var utils=require("./utils");var Key=require("./key");var PrivateKey=require("./private-key");var Identity=require("./identity");var formats={};formats["openssh"]=require("./formats/openssh-cert");formats["x509"]=require("./formats/x509");formats["pem"]=require("./formats/x509-pem");var CertificateParseError=errs.CertificateParseError;var InvalidAlgorithmError=errs.InvalidAlgorithmError;function Certificate(opts){assert.object(opts,"options");assert.arrayOfObject(opts.subjects,"options.subjects");utils.assertCompatible(opts.subjects[0],Identity,[1,0],"options.subjects");utils.assertCompatible(opts.subjectKey,Key,[1,0],"options.subjectKey");utils.assertCompatible(opts.issuer,Identity,[1,0],"options.issuer");if(opts.issuerKey!==undefined){utils.assertCompatible(opts.issuerKey,Key,[1,0],"options.issuerKey")}assert.object(opts.signatures,"options.signatures");assert.buffer(opts.serial,"options.serial");assert.date(opts.validFrom,"options.validFrom");assert.date(opts.validUntil,"optons.validUntil");assert.optionalArrayOfString(opts.purposes,"options.purposes");this._hashCache={};this.subjects=opts.subjects;this.issuer=opts.issuer;this.subjectKey=opts.subjectKey;this.issuerKey=opts.issuerKey;this.signatures=opts.signatures;this.serial=opts.serial;this.validFrom=opts.validFrom;this.validUntil=opts.validUntil;this.purposes=opts.purposes}Certificate.formats=formats;Certificate.prototype.toBuffer=function(format,options){if(format===undefined)format="x509";assert.string(format,"format");assert.object(formats[format],"formats[format]");assert.optionalObject(options,"options");return formats[format].write(this,options)};Certificate.prototype.toString=function(format,options){if(format===undefined)format="pem";return this.toBuffer(format,options).toString()};Certificate.prototype.fingerprint=function(algo){if(algo===undefined)algo="sha256";assert.string(algo,"algorithm");var opts={type:"certificate",hash:this.hash(algo),algorithm:algo};return new Fingerprint(opts)};Certificate.prototype.hash=function(algo){assert.string(algo,"algorithm");algo=algo.toLowerCase();if(algs.hashAlgs[algo]===undefined)throw new InvalidAlgorithmError(algo);if(this._hashCache[algo])return this._hashCache[algo];var hash=crypto.createHash(algo).update(this.toBuffer("x509")).digest();this._hashCache[algo]=hash;return hash};Certificate.prototype.isExpired=function(when){if(when===undefined)when=new Date;return!(when.getTime()>=this.validFrom.getTime()&&when.getTime()<this.validUntil.getTime())};Certificate.prototype.isSignedBy=function(issuerCert){utils.assertCompatible(issuerCert,Certificate,[1,0],"issuer");if(!this.issuer.equals(issuerCert.subjects[0]))return false;if(this.issuer.purposes&&this.issuer.purposes.length>0&&this.issuer.purposes.indexOf("ca")===-1){return false}return this.isSignedByKey(issuerCert.subjectKey)};Certificate.prototype.getExtension=function(keyOrOid){assert.string(keyOrOid,"keyOrOid");var ext=this.getExtensions().filter((function(maybeExt){if(maybeExt.format==="x509")return maybeExt.oid===keyOrOid;if(maybeExt.format==="openssh")return maybeExt.name===keyOrOid;return false}))[0];return ext};Certificate.prototype.getExtensions=function(){var exts=[];var x509=this.signatures.x509;if(x509&&x509.extras&&x509.extras.exts){x509.extras.exts.forEach((function(ext){ext.format="x509";exts.push(ext)}))}var openssh=this.signatures.openssh;if(openssh&&openssh.exts){openssh.exts.forEach((function(ext){ext.format="openssh";exts.push(ext)}))}return exts};Certificate.prototype.isSignedByKey=function(issuerKey){utils.assertCompatible(issuerKey,Key,[1,2],"issuerKey");if(this.issuerKey!==undefined){return this.issuerKey.fingerprint("sha512").matches(issuerKey)}var fmt=Object.keys(this.signatures)[0];var valid=formats[fmt].verify(this,issuerKey);if(valid)this.issuerKey=issuerKey;return valid};Certificate.prototype.signWith=function(key){utils.assertCompatible(key,PrivateKey,[1,2],"key");var fmts=Object.keys(formats);var didOne=false;for(var i=0;i<fmts.length;++i){if(fmts[i]!=="pem"){var ret=formats[fmts[i]].sign(this,key);if(ret===true)didOne=true}}if(!didOne){throw new Error("Failed to sign the certificate for any "+"available certificate formats")}};Certificate.createSelfSigned=function(subjectOrSubjects,key,options){var subjects;if(Array.isArray(subjectOrSubjects))subjects=subjectOrSubjects;else subjects=[subjectOrSubjects];assert.arrayOfObject(subjects);subjects.forEach((function(subject){utils.assertCompatible(subject,Identity,[1,0],"subject")}));utils.assertCompatible(key,PrivateKey,[1,2],"private key");assert.optionalObject(options,"options");if(options===undefined)options={};assert.optionalObject(options.validFrom,"options.validFrom");assert.optionalObject(options.validUntil,"options.validUntil");var validFrom=options.validFrom;var validUntil=options.validUntil;if(validFrom===undefined)validFrom=new Date;if(validUntil===undefined){assert.optionalNumber(options.lifetime,"options.lifetime");var lifetime=options.lifetime;if(lifetime===undefined)lifetime=10*365*24*3600;validUntil=new Date;validUntil.setTime(validUntil.getTime()+lifetime*1e3)}assert.optionalBuffer(options.serial,"options.serial");var serial=options.serial;if(serial===undefined)serial=Buffer.from("0000000000000001","hex");var purposes=options.purposes;if(purposes===undefined)purposes=[];if(purposes.indexOf("signature")===-1)purposes.push("signature");if(purposes.indexOf("ca")===-1)purposes.push("ca");if(purposes.indexOf("crl")===-1)purposes.push("crl");if(purposes.length<=3){var hostSubjects=subjects.filter((function(subject){return subject.type==="host"}));var userSubjects=subjects.filter((function(subject){return subject.type==="user"}));if(hostSubjects.length>0){if(purposes.indexOf("serverAuth")===-1)purposes.push("serverAuth")}if(userSubjects.length>0){if(purposes.indexOf("clientAuth")===-1)purposes.push("clientAuth")}if(userSubjects.length>0||hostSubjects.length>0){if(purposes.indexOf("keyAgreement")===-1)purposes.push("keyAgreement");if(key.type==="rsa"&&purposes.indexOf("encryption")===-1)purposes.push("encryption")}}var cert=new Certificate({subjects:subjects,issuer:subjects[0],subjectKey:key.toPublic(),issuerKey:key.toPublic(),signatures:{},serial:serial,validFrom:validFrom,validUntil:validUntil,purposes:purposes});cert.signWith(key);return cert};Certificate.create=function(subjectOrSubjects,key,issuer,issuerKey,options){var subjects;if(Array.isArray(subjectOrSubjects))subjects=subjectOrSubjects;else subjects=[subjectOrSubjects];assert.arrayOfObject(subjects);subjects.forEach((function(subject){utils.assertCompatible(subject,Identity,[1,0],"subject")}));utils.assertCompatible(key,Key,[1,0],"key");if(PrivateKey.isPrivateKey(key))key=key.toPublic();utils.assertCompatible(issuer,Identity,[1,0],"issuer");utils.assertCompatible(issuerKey,PrivateKey,[1,2],"issuer key");assert.optionalObject(options,"options");if(options===undefined)options={};assert.optionalObject(options.validFrom,"options.validFrom");assert.optionalObject(options.validUntil,"options.validUntil");var validFrom=options.validFrom;var validUntil=options.validUntil;if(validFrom===undefined)validFrom=new Date;if(validUntil===undefined){assert.optionalNumber(options.lifetime,"options.lifetime");var lifetime=options.lifetime;if(lifetime===undefined)lifetime=10*365*24*3600;validUntil=new Date;validUntil.setTime(validUntil.getTime()+lifetime*1e3)}assert.optionalBuffer(options.serial,"options.serial");var serial=options.serial;if(serial===undefined)serial=Buffer.from("0000000000000001","hex");var purposes=options.purposes;if(purposes===undefined)purposes=[];if(purposes.indexOf("signature")===-1)purposes.push("signature");if(options.ca===true){if(purposes.indexOf("ca")===-1)purposes.push("ca");if(purposes.indexOf("crl")===-1)purposes.push("crl")}var hostSubjects=subjects.filter((function(subject){return subject.type==="host"}));var userSubjects=subjects.filter((function(subject){return subject.type==="user"}));if(hostSubjects.length>0){if(purposes.indexOf("serverAuth")===-1)purposes.push("serverAuth")}if(userSubjects.length>0){if(purposes.indexOf("clientAuth")===-1)purposes.push("clientAuth")}if(userSubjects.length>0||hostSubjects.length>0){if(purposes.indexOf("keyAgreement")===-1)purposes.push("keyAgreement");if(key.type==="rsa"&&purposes.indexOf("encryption")===-1)purposes.push("encryption")}var cert=new Certificate({subjects:subjects,issuer:issuer,subjectKey:key,issuerKey:issuerKey.toPublic(),signatures:{},serial:serial,validFrom:validFrom,validUntil:validUntil,purposes:purposes});cert.signWith(issuerKey);return cert};Certificate.parse=function(data,format,options){if(typeof data!=="string")assert.buffer(data,"data");if(format===undefined)format="auto";assert.string(format,"format");if(typeof options==="string")options={filename:options};assert.optionalObject(options,"options");if(options===undefined)options={};assert.optionalString(options.filename,"options.filename");if(options.filename===undefined)options.filename="(unnamed)";assert.object(formats[format],"formats[format]");try{var k=formats[format].read(data,options);return k}catch(e){throw new CertificateParseError(options.filename,format,e)}};Certificate.isCertificate=function(obj,ver){return utils.isCompatible(obj,Certificate,ver)};Certificate.prototype._sshpkApiVersion=[1,1];Certificate._oldVersionDetect=function(obj){return[1,0]}},{"./algs":929,"./errors":933,"./fingerprint":934,"./formats/openssh-cert":937,"./formats/x509":946,"./formats/x509-pem":945,"./identity":947,"./key":949,"./private-key":950,"./signature":951,"./utils":953,"assert-plus":70,crypto:143,"safer-buffer":908,util:1e3}],931:[function(require,module,exports){module.exports={DiffieHellman:DiffieHellman,generateECDSA:generateECDSA,generateED25519:generateED25519};var assert=require("assert-plus");var crypto=require("crypto");var Buffer=require("safer-buffer").Buffer;var algs=require("./algs");var utils=require("./utils");var nacl=require("tweetnacl");var Key=require("./key");var PrivateKey=require("./private-key");var CRYPTO_HAVE_ECDH=crypto.createECDH!==undefined;var ecdh=require("ecc-jsbn");var ec=require("ecc-jsbn/lib/ec");var jsbn=require("jsbn").BigInteger;function DiffieHellman(key){utils.assertCompatible(key,Key,[1,4],"key");this._isPriv=PrivateKey.isPrivateKey(key,[1,3]);this._algo=key.type;this._curve=key.curve;this._key=key;if(key.type==="dsa"){if(!CRYPTO_HAVE_ECDH){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=crypto.createDiffieHellman(key.part.p.data,undefined,key.part.g.data,undefined);this._p=key.part.p;this._g=key.part.g;if(this._isPriv)this._dh.setPrivateKey(key.part.x.data);this._dh.setPublicKey(key.part.y.data)}else if(key.type==="ecdsa"){if(!CRYPTO_HAVE_ECDH){this._ecParams=new X9ECParameters(this._curve);if(this._isPriv){this._priv=new ECPrivate(this._ecParams,key.part.d.data)}return}var curve={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[key.curve];this._dh=crypto.createECDH(curve);if(typeof this._dh!=="object"||typeof this._dh.setPrivateKey!=="function"){CRYPTO_HAVE_ECDH=false;DiffieHellman.call(this,key);return}if(this._isPriv)this._dh.setPrivateKey(key.part.d.data);this._dh.setPublicKey(key.part.Q.data)}else if(key.type==="curve25519"){if(this._isPriv){utils.assertCompatible(key,PrivateKey,[1,5],"key");this._priv=key.part.k.data}}else{throw new Error("DH not supported for "+key.type+" keys")}}DiffieHellman.prototype.getPublicKey=function(){if(this._isPriv)return this._key.toPublic();return this._key};DiffieHellman.prototype.getPrivateKey=function(){if(this._isPriv)return this._key;else return undefined};DiffieHellman.prototype.getKey=DiffieHellman.prototype.getPrivateKey;DiffieHellman.prototype._keyCheck=function(pk,isPub){assert.object(pk,"key");if(!isPub)utils.assertCompatible(pk,PrivateKey,[1,3],"key");utils.assertCompatible(pk,Key,[1,4],"key");if(pk.type!==this._algo){throw new Error("A "+pk.type+" key cannot be used in "+this._algo+" Diffie-Hellman")}if(pk.curve!==this._curve){throw new Error("A key from the "+pk.curve+" curve "+"cannot be used with a "+this._curve+" Diffie-Hellman")}if(pk.type==="dsa"){assert.deepEqual(pk.part.p,this._p,"DSA key prime does not match");assert.deepEqual(pk.part.g,this._g,"DSA key generator does not match")}};DiffieHellman.prototype.setKey=function(pk){this._keyCheck(pk);if(pk.type==="dsa"){this._dh.setPrivateKey(pk.part.x.data);this._dh.setPublicKey(pk.part.y.data)}else if(pk.type==="ecdsa"){if(CRYPTO_HAVE_ECDH){this._dh.setPrivateKey(pk.part.d.data);this._dh.setPublicKey(pk.part.Q.data)}else{this._priv=new ECPrivate(this._ecParams,pk.part.d.data)}}else if(pk.type==="curve25519"){var k=pk.part.k;if(!pk.part.k)k=pk.part.r;this._priv=k.data;if(this._priv[0]===0)this._priv=this._priv.slice(1);this._priv=this._priv.slice(0,32)}this._key=pk;this._isPriv=true};DiffieHellman.prototype.setPrivateKey=DiffieHellman.prototype.setKey;DiffieHellman.prototype.computeSecret=function(otherpk){this._keyCheck(otherpk,true);if(!this._isPriv)throw new Error("DH exchange has not been initialized with "+"a private key yet");var pub;if(this._algo==="dsa"){return this._dh.computeSecret(otherpk.part.y.data)}else if(this._algo==="ecdsa"){if(CRYPTO_HAVE_ECDH){return this._dh.computeSecret(otherpk.part.Q.data)}else{pub=new ECPublic(this._ecParams,otherpk.part.Q.data);return this._priv.deriveSharedSecret(pub)}}else if(this._algo==="curve25519"){pub=otherpk.part.A.data;while(pub[0]===0&&pub.length>32)pub=pub.slice(1);var priv=this._priv;assert.strictEqual(pub.length,32);assert.strictEqual(priv.length,32);var secret=nacl.box.before(new Uint8Array(pub),new Uint8Array(priv));return Buffer.from(secret)}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKey=function(){var parts=[];var priv,pub;if(this._algo==="dsa"){this._dh.generateKeys();parts.push({name:"p",data:this._p.data});parts.push({name:"q",data:this._key.part.q.data});parts.push({name:"g",data:this._g.data});parts.push({name:"y",data:this._dh.getPublicKey()});parts.push({name:"x",data:this._dh.getPrivateKey()});this._key=new PrivateKey({type:"dsa",parts:parts});this._isPriv=true;return this._key}else if(this._algo==="ecdsa"){if(CRYPTO_HAVE_ECDH){this._dh.generateKeys();parts.push({name:"curve",data:Buffer.from(this._curve)});parts.push({name:"Q",data:this._dh.getPublicKey()});parts.push({name:"d",data:this._dh.getPrivateKey()});this._key=new PrivateKey({type:"ecdsa",curve:this._curve,parts:parts});this._isPriv=true;return this._key}else{var n=this._ecParams.getN();var r=new jsbn(crypto.randomBytes(n.bitLength()));var n1=n.subtract(jsbn.ONE);priv=r.mod(n1).add(jsbn.ONE);pub=this._ecParams.getG().multiply(priv);priv=Buffer.from(priv.toByteArray());pub=Buffer.from(this._ecParams.getCurve().encodePointHex(pub),"hex");this._priv=new ECPrivate(this._ecParams,priv);parts.push({name:"curve",data:Buffer.from(this._curve)});parts.push({name:"Q",data:pub});parts.push({name:"d",data:priv});this._key=new PrivateKey({type:"ecdsa",curve:this._curve,parts:parts});this._isPriv=true;return this._key}}else if(this._algo==="curve25519"){var pair=nacl.box.keyPair();priv=Buffer.from(pair.secretKey);pub=Buffer.from(pair.publicKey);priv=Buffer.concat([priv,pub]);assert.strictEqual(priv.length,64);assert.strictEqual(pub.length,32);parts.push({name:"A",data:pub});parts.push({name:"k",data:priv});this._key=new PrivateKey({type:"curve25519",parts:parts});this._isPriv=true;return this._key}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKeys=DiffieHellman.prototype.generateKey;function X9ECParameters(name){var params=algs.curves[name];assert.object(params);var p=new jsbn(params.p);var a=new jsbn(params.a);var b=new jsbn(params.b);var n=new jsbn(params.n);var h=jsbn.ONE;var curve=new ec.ECCurveFp(p,a,b);var G=curve.decodePointHex(params.G.toString("hex"));this.curve=curve;this.g=G;this.n=n;this.h=h}X9ECParameters.prototype.getCurve=function(){return this.curve};X9ECParameters.prototype.getG=function(){return this.g};X9ECParameters.prototype.getN=function(){return this.n};X9ECParameters.prototype.getH=function(){return this.h};function ECPublic(params,buffer){this._params=params;if(buffer[0]===0)buffer=buffer.slice(1);this._pub=params.getCurve().decodePointHex(buffer.toString("hex"))}function ECPrivate(params,buffer){this._params=params;this._priv=new jsbn(utils.mpNormalize(buffer))}ECPrivate.prototype.deriveSharedSecret=function(pubKey){assert.ok(pubKey instanceof ECPublic);var S=pubKey._pub.multiply(this._priv);return Buffer.from(S.getX().toBigInteger().toByteArray())};function generateED25519(){var pair=nacl.sign.keyPair();var priv=Buffer.from(pair.secretKey);var pub=Buffer.from(pair.publicKey);assert.strictEqual(priv.length,64);assert.strictEqual(pub.length,32);var parts=[];parts.push({name:"A",data:pub});parts.push({name:"k",data:priv.slice(0,32)});var key=new PrivateKey({type:"ed25519",parts:parts});return key}function generateECDSA(curve){var parts=[];var key;if(CRYPTO_HAVE_ECDH){var osCurve={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[curve];var dh=crypto.createECDH(osCurve);dh.generateKeys();parts.push({name:"curve",data:Buffer.from(curve)});parts.push({name:"Q",data:dh.getPublicKey()});parts.push({name:"d",data:dh.getPrivateKey()});key=new PrivateKey({type:"ecdsa",curve:curve,parts:parts});return key}else{var ecParams=new X9ECParameters(curve);var n=ecParams.getN();var cByteLen=Math.ceil((n.bitLength()+64)/8);var c=new jsbn(crypto.randomBytes(cByteLen));var n1=n.subtract(jsbn.ONE);var priv=c.mod(n1).add(jsbn.ONE);var pub=ecParams.getG().multiply(priv);priv=Buffer.from(priv.toByteArray());pub=Buffer.from(ecParams.getCurve().encodePointHex(pub),"hex");parts.push({name:"curve",data:Buffer.from(curve)});parts.push({name:"Q",data:pub});parts.push({name:"d",data:priv});key=new PrivateKey({type:"ecdsa",curve:curve,parts:parts});return key}}},{"./algs":929,"./key":949,"./private-key":950,"./utils":953,"assert-plus":70,crypto:143,"ecc-jsbn":214,"ecc-jsbn/lib/ec":215,jsbn:333,"safer-buffer":908,tweetnacl:993}],932:[function(require,module,exports){module.exports={Verifier:Verifier,Signer:Signer};var nacl=require("tweetnacl");var stream=require("stream");var util=require("util");var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var Signature=require("./signature");function Verifier(key,hashAlgo){if(hashAlgo.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=key;this.chunks=[];stream.Writable.call(this,{})}util.inherits(Verifier,stream.Writable);Verifier.prototype._write=function(chunk,enc,cb){this.chunks.push(chunk);cb()};Verifier.prototype.update=function(chunk){if(typeof chunk==="string")chunk=Buffer.from(chunk,"binary");this.chunks.push(chunk)};Verifier.prototype.verify=function(signature,fmt){var sig;if(Signature.isSignature(signature,[2,0])){if(signature.type!=="ed25519")return false;sig=signature.toBuffer("raw")}else if(typeof signature==="string"){sig=Buffer.from(signature,"base64")}else if(Signature.isSignature(signature,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}assert.buffer(sig);return nacl.sign.detached.verify(new Uint8Array(Buffer.concat(this.chunks)),new Uint8Array(sig),new Uint8Array(this.key.part.A.data))};function Signer(key,hashAlgo){if(hashAlgo.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=key;this.chunks=[];stream.Writable.call(this,{})}util.inherits(Signer,stream.Writable);Signer.prototype._write=function(chunk,enc,cb){this.chunks.push(chunk);cb()};Signer.prototype.update=function(chunk){if(typeof chunk==="string")chunk=Buffer.from(chunk,"binary");this.chunks.push(chunk)};Signer.prototype.sign=function(){var sig=nacl.sign.detached(new Uint8Array(Buffer.concat(this.chunks)),new Uint8Array(Buffer.concat([this.key.part.k.data,this.key.part.A.data])));var sigBuf=Buffer.from(sig);var sigObj=Signature.parse(sigBuf,"ed25519","raw");sigObj.hashAlgorithm="sha512";return sigObj}},{"./signature":951,"assert-plus":70,"safer-buffer":908,stream:955,tweetnacl:993,util:1e3}],933:[function(require,module,exports){var assert=require("assert-plus");var util=require("util");function FingerprintFormatError(fp,format){if(Error.captureStackTrace)Error.captureStackTrace(this,FingerprintFormatError);this.name="FingerprintFormatError";this.fingerprint=fp;this.format=format;this.message="Fingerprint format is not supported, or is invalid: ";if(fp!==undefined)this.message+=" fingerprint = "+fp;if(format!==undefined)this.message+=" format = "+format}util.inherits(FingerprintFormatError,Error);function InvalidAlgorithmError(alg){if(Error.captureStackTrace)Error.captureStackTrace(this,InvalidAlgorithmError);this.name="InvalidAlgorithmError";this.algorithm=alg;this.message='Algorithm "'+alg+'" is not supported'}util.inherits(InvalidAlgorithmError,Error);function KeyParseError(name,format,innerErr){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyParseError);this.name="KeyParseError";this.format=format;this.keyName=name;this.innerErr=innerErr;this.message="Failed to parse "+name+" as a valid "+format+" format key: "+innerErr.message}util.inherits(KeyParseError,Error);function SignatureParseError(type,format,innerErr){if(Error.captureStackTrace)Error.captureStackTrace(this,SignatureParseError);this.name="SignatureParseError";this.type=type;this.format=format;this.innerErr=innerErr;this.message="Failed to parse the given data as a "+type+" signature in "+format+" format: "+innerErr.message}util.inherits(SignatureParseError,Error);function CertificateParseError(name,format,innerErr){if(Error.captureStackTrace)Error.captureStackTrace(this,CertificateParseError);this.name="CertificateParseError";this.format=format;this.certName=name;this.innerErr=innerErr;this.message="Failed to parse "+name+" as a valid "+format+" format certificate: "+innerErr.message}util.inherits(CertificateParseError,Error);function KeyEncryptedError(name,format){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyEncryptedError);this.name="KeyEncryptedError";this.format=format;this.keyName=name;this.message="The "+format+" format key "+name+" is "+"encrypted (password-protected), and no passphrase was "+"provided in `options`"}util.inherits(KeyEncryptedError,Error);module.exports={FingerprintFormatError:FingerprintFormatError,InvalidAlgorithmError:InvalidAlgorithmError,KeyParseError:KeyParseError,SignatureParseError:SignatureParseError,KeyEncryptedError:KeyEncryptedError,CertificateParseError:CertificateParseError}},{"assert-plus":70,util:1e3}],934:[function(require,module,exports){module.exports=Fingerprint;var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var algs=require("./algs");var crypto=require("crypto");var errs=require("./errors");var Key=require("./key");var PrivateKey=require("./private-key");var Certificate=require("./certificate");var utils=require("./utils");var FingerprintFormatError=errs.FingerprintFormatError;var InvalidAlgorithmError=errs.InvalidAlgorithmError;function Fingerprint(opts){assert.object(opts,"options");assert.string(opts.type,"options.type");assert.buffer(opts.hash,"options.hash");assert.string(opts.algorithm,"options.algorithm");this.algorithm=opts.algorithm.toLowerCase();if(algs.hashAlgs[this.algorithm]!==true)throw new InvalidAlgorithmError(this.algorithm);this.hash=opts.hash;this.type=opts.type;this.hashType=opts.hashType}Fingerprint.prototype.toString=function(format){if(format===undefined){if(this.algorithm==="md5"||this.hashType==="spki")format="hex";else format="base64"}assert.string(format);switch(format){case"hex":if(this.hashType==="spki")return this.hash.toString("hex");return addColons(this.hash.toString("hex"));case"base64":if(this.hashType==="spki")return this.hash.toString("base64");return sshBase64Format(this.algorithm,this.hash.toString("base64"));default:throw new FingerprintFormatError(undefined,format)}};Fingerprint.prototype.matches=function(other){assert.object(other,"key or certificate");if(this.type==="key"&&this.hashType!=="ssh"){utils.assertCompatible(other,Key,[1,7],"key with spki");if(PrivateKey.isPrivateKey(other)){utils.assertCompatible(other,PrivateKey,[1,6],"privatekey with spki support")}}else if(this.type==="key"){utils.assertCompatible(other,Key,[1,0],"key")}else{utils.assertCompatible(other,Certificate,[1,0],"certificate")}var theirHash=other.hash(this.algorithm,this.hashType);var theirHash2=crypto.createHash(this.algorithm).update(theirHash).digest("base64");if(this.hash2===undefined)this.hash2=crypto.createHash(this.algorithm).update(this.hash).digest("base64");return this.hash2===theirHash2};var base64RE=/^[A-Za-z0-9+\/=]+$/;var hexRE=/^[a-fA-F0-9]+$/;Fingerprint.parse=function(fp,options){assert.string(fp,"fingerprint");var alg,hash,enAlgs;if(Array.isArray(options)){enAlgs=options;options={}}assert.optionalObject(options,"options");if(options===undefined)options={};if(options.enAlgs!==undefined)enAlgs=options.enAlgs;if(options.algorithms!==undefined)enAlgs=options.algorithms;assert.optionalArrayOfString(enAlgs,"algorithms");var hashType="ssh";if(options.hashType!==undefined)hashType=options.hashType;assert.string(hashType,"options.hashType");var parts=fp.split(":");if(parts.length==2){alg=parts[0].toLowerCase();if(!base64RE.test(parts[1]))throw new FingerprintFormatError(fp);try{hash=Buffer.from(parts[1],"base64")}catch(e){throw new FingerprintFormatError(fp)}}else if(parts.length>2){alg="md5";if(parts[0].toLowerCase()==="md5")parts=parts.slice(1);parts=parts.map((function(p){while(p.length<2)p="0"+p;if(p.length>2)throw new FingerprintFormatError(fp);return p}));parts=parts.join("");if(!hexRE.test(parts)||parts.length%2!==0)throw new FingerprintFormatError(fp);try{hash=Buffer.from(parts,"hex")}catch(e){throw new FingerprintFormatError(fp)}}else{if(hexRE.test(fp)){hash=Buffer.from(fp,"hex")}else if(base64RE.test(fp)){hash=Buffer.from(fp,"base64")}else{throw new FingerprintFormatError(fp)}switch(hash.length){case 32:alg="sha256";break;case 16:alg="md5";break;case 20:alg="sha1";break;case 64:alg="sha512";break;default:throw new FingerprintFormatError(fp)}if(options.hashType===undefined)hashType="spki"}if(alg===undefined)throw new FingerprintFormatError(fp);if(algs.hashAlgs[alg]===undefined)throw new InvalidAlgorithmError(alg);if(enAlgs!==undefined){enAlgs=enAlgs.map((function(a){return a.toLowerCase()}));if(enAlgs.indexOf(alg)===-1)throw new InvalidAlgorithmError(alg)}return new Fingerprint({algorithm:alg,hash:hash,type:options.type||"key",hashType:hashType})};function addColons(s){return s.replace(/(.{2})(?=.)/g,"$1:")}function base64Strip(s){return s.replace(/=*$/,"")}function sshBase64Format(alg,h){return alg.toUpperCase()+":"+base64Strip(h)}Fingerprint.isFingerprint=function(obj,ver){return utils.isCompatible(obj,Fingerprint,ver)};Fingerprint.prototype._sshpkApiVersion=[1,2];Fingerprint._oldVersionDetect=function(obj){assert.func(obj.toString);assert.func(obj.matches);return[1,0]}},{"./algs":929,"./certificate":930,"./errors":933,"./key":949,"./private-key":950,"./utils":953,"assert-plus":70,crypto:143,"safer-buffer":908}],935:[function(require,module,exports){module.exports={read:read,write:write};var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var utils=require("../utils");var Key=require("../key");var PrivateKey=require("../private-key");var pem=require("./pem");var ssh=require("./ssh");var rfc4253=require("./rfc4253");var dnssec=require("./dnssec");var putty=require("./putty");var DNSSEC_PRIVKEY_HEADER_PREFIX="Private-key-format: v1";function read(buf,options){if(typeof buf==="string"){if(buf.trim().match(/^[-]+[ ]*BEGIN/))return pem.read(buf,options);if(buf.match(/^\s*ssh-[a-z]/))return ssh.read(buf,options);if(buf.match(/^\s*ecdsa-/))return ssh.read(buf,options);if(buf.match(/^putty-user-key-file-2:/i))return putty.read(buf,options);if(findDNSSECHeader(buf))return dnssec.read(buf,options);buf=Buffer.from(buf,"binary")}else{assert.buffer(buf);if(findPEMHeader(buf))return pem.read(buf,options);if(findSSHHeader(buf))return ssh.read(buf,options);if(findPuTTYHeader(buf))return putty.read(buf,options);if(findDNSSECHeader(buf))return dnssec.read(buf,options)}if(buf.readUInt32BE(0)<buf.length)return rfc4253.read(buf,options);throw new Error("Failed to auto-detect format of key")}function findPuTTYHeader(buf){var offset=0;while(offset<buf.length&&(buf[offset]===32||buf[offset]===10||buf[offset]===9))++offset;if(offset+22<=buf.length&&buf.slice(offset,offset+22).toString("ascii").toLowerCase()==="putty-user-key-file-2:")return true;return false}function findSSHHeader(buf){var offset=0;while(offset<buf.length&&(buf[offset]===32||buf[offset]===10||buf[offset]===9))++offset;if(offset+4<=buf.length&&buf.slice(offset,offset+4).toString("ascii")==="ssh-")return true;if(offset+6<=buf.length&&buf.slice(offset,offset+6).toString("ascii")==="ecdsa-")return true;return false}function findPEMHeader(buf){var offset=0;while(offset<buf.length&&(buf[offset]===32||buf[offset]===10))++offset;if(buf[offset]!==45)return false;while(offset<buf.length&&buf[offset]===45)++offset;while(offset<buf.length&&buf[offset]===32)++offset;if(offset+5>buf.length||buf.slice(offset,offset+5).toString("ascii")!=="BEGIN")return false;return true}function findDNSSECHeader(buf){if(buf.length<=DNSSEC_PRIVKEY_HEADER_PREFIX.length)return false;var headerCheck=buf.slice(0,DNSSEC_PRIVKEY_HEADER_PREFIX.length);if(headerCheck.toString("ascii")===DNSSEC_PRIVKEY_HEADER_PREFIX)return true;if(typeof buf!=="string"){buf=buf.toString("ascii")}var lines=buf.split("\n");var line=0;while(lines[line].match(/^\;/))line++;if(lines[line].toString("ascii").match(/\. IN KEY /))return true;if(lines[line].toString("ascii").match(/\. IN DNSKEY /))return true;return false}function write(key,options){throw new Error('"auto" format cannot be used for writing')}},{"../key":949,"../private-key":950,"../utils":953,"./dnssec":936,"./pem":938,"./putty":941,"./rfc4253":942,"./ssh":944,"assert-plus":70,"safer-buffer":908}],936:[function(require,module,exports){module.exports={read:read,write:write};var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var Key=require("../key");var PrivateKey=require("../private-key");var utils=require("../utils");var SSHBuffer=require("../ssh-buffer");var Dhe=require("../dhe");var supportedAlgos={"rsa-sha1":5,"rsa-sha256":8,"rsa-sha512":10,"ecdsa-p256-sha256":13,"ecdsa-p384-sha384":14};var supportedAlgosById={};Object.keys(supportedAlgos).forEach((function(k){supportedAlgosById[supportedAlgos[k]]=k.toUpperCase()}));function read(buf,options){if(typeof buf!=="string"){assert.buffer(buf,"buf");buf=buf.toString("ascii")}var lines=buf.split("\n");if(lines[0].match(/^Private-key-format\: v1/)){var algElems=lines[1].split(" ");var algoNum=parseInt(algElems[1],10);var algoName=algElems[2];if(!supportedAlgosById[algoNum])throw new Error("Unsupported algorithm: "+algoName);return readDNSSECPrivateKey(algoNum,lines.slice(2))}var line=0;while(lines[line].match(/^\;/))line++;if((lines[line].match(/\. IN KEY /)||lines[line].match(/\. IN DNSKEY /))&&lines[line+1].length===0){return readRFC3110(lines[line])}throw new Error("Cannot parse dnssec key")}function readRFC3110(keyString){var elems=keyString.split(" ");var algorithm=parseInt(elems[5],10);if(!supportedAlgosById[algorithm])throw new Error("Unsupported algorithm: "+algorithm);var base64key=elems.slice(6,elems.length).join();var keyBuffer=Buffer.from(base64key,"base64");if(supportedAlgosById[algorithm].match(/^RSA-/)){var publicExponentLen=keyBuffer.readUInt8(0);if(publicExponentLen!=3&&publicExponentLen!=1)throw new Error("Cannot parse dnssec key: "+"unsupported exponent length");var publicExponent=keyBuffer.slice(1,publicExponentLen+1);publicExponent=utils.mpNormalize(publicExponent);var modulus=keyBuffer.slice(1+publicExponentLen);modulus=utils.mpNormalize(modulus);var rsaKey={type:"rsa",parts:[]};rsaKey.parts.push({name:"e",data:publicExponent});rsaKey.parts.push({name:"n",data:modulus});return new Key(rsaKey)}if(supportedAlgosById[algorithm]==="ECDSA-P384-SHA384"||supportedAlgosById[algorithm]==="ECDSA-P256-SHA256"){var curve="nistp384";var size=384;if(supportedAlgosById[algorithm].match(/^ECDSA-P256-SHA256/)){curve="nistp256";size=256}var ecdsaKey={type:"ecdsa",curve:curve,size:size,parts:[{name:"curve",data:Buffer.from(curve)},{name:"Q",data:utils.ecNormalize(keyBuffer)}]};return new Key(ecdsaKey)}throw new Error("Unsupported algorithm: "+supportedAlgosById[algorithm])}function elementToBuf(e){return Buffer.from(e.split(" ")[1],"base64")}function readDNSSECRSAPrivateKey(elements){var rsaParams={};elements.forEach((function(element){if(element.split(" ")[0]==="Modulus:")rsaParams["n"]=elementToBuf(element);else if(element.split(" ")[0]==="PublicExponent:")rsaParams["e"]=elementToBuf(element);else if(element.split(" ")[0]==="PrivateExponent:")rsaParams["d"]=elementToBuf(element);else if(element.split(" ")[0]==="Prime1:")rsaParams["p"]=elementToBuf(element);else if(element.split(" ")[0]==="Prime2:")rsaParams["q"]=elementToBuf(element);else if(element.split(" ")[0]==="Exponent1:")rsaParams["dmodp"]=elementToBuf(element);else if(element.split(" ")[0]==="Exponent2:")rsaParams["dmodq"]=elementToBuf(element);else if(element.split(" ")[0]==="Coefficient:")rsaParams["iqmp"]=elementToBuf(element)}));var key={type:"rsa",parts:[{name:"e",data:utils.mpNormalize(rsaParams["e"])},{name:"n",data:utils.mpNormalize(rsaParams["n"])},{name:"d",data:utils.mpNormalize(rsaParams["d"])},{name:"p",data:utils.mpNormalize(rsaParams["p"])},{name:"q",data:utils.mpNormalize(rsaParams["q"])},{name:"dmodp",data:utils.mpNormalize(rsaParams["dmodp"])},{name:"dmodq",data:utils.mpNormalize(rsaParams["dmodq"])},{name:"iqmp",data:utils.mpNormalize(rsaParams["iqmp"])}]};return new PrivateKey(key)}function readDNSSECPrivateKey(alg,elements){if(supportedAlgosById[alg].match(/^RSA-/)){return readDNSSECRSAPrivateKey(elements)}if(supportedAlgosById[alg]==="ECDSA-P384-SHA384"||supportedAlgosById[alg]==="ECDSA-P256-SHA256"){var d=Buffer.from(elements[0].split(" ")[1],"base64");var curve="nistp384";var size=384;if(supportedAlgosById[alg]==="ECDSA-P256-SHA256"){curve="nistp256";size=256}var publicKey=utils.publicFromPrivateECDSA(curve,d);var Q=publicKey.part["Q"].data;var ecdsaKey={type:"ecdsa",curve:curve,size:size,parts:[{name:"curve",data:Buffer.from(curve)},{name:"d",data:d},{name:"Q",data:Q}]};return new PrivateKey(ecdsaKey)}throw new Error("Unsupported algorithm: "+supportedAlgosById[alg])}function dnssecTimestamp(date){var year=date.getFullYear()+"";var month=date.getMonth()+1;var timestampStr=year+month+date.getUTCDate();timestampStr+=""+date.getUTCHours()+date.getUTCMinutes();timestampStr+=date.getUTCSeconds();return timestampStr}function rsaAlgFromOptions(opts){if(!opts||!opts.hashAlgo||opts.hashAlgo==="sha1")return"5 (RSASHA1)";else if(opts.hashAlgo==="sha256")return"8 (RSASHA256)";else if(opts.hashAlgo==="sha512")return"10 (RSASHA512)";else throw new Error("Unknown or unsupported hash: "+opts.hashAlgo)}function writeRSA(key,options){if(!key.part.dmodp||!key.part.dmodq){utils.addRSAMissing(key)}var out="";out+="Private-key-format: v1.3\n";out+="Algorithm: "+rsaAlgFromOptions(options)+"\n";var n=utils.mpDenormalize(key.part["n"].data);out+="Modulus: "+n.toString("base64")+"\n";var e=utils.mpDenormalize(key.part["e"].data);out+="PublicExponent: "+e.toString("base64")+"\n";var d=utils.mpDenormalize(key.part["d"].data);out+="PrivateExponent: "+d.toString("base64")+"\n";var p=utils.mpDenormalize(key.part["p"].data);out+="Prime1: "+p.toString("base64")+"\n";var q=utils.mpDenormalize(key.part["q"].data);out+="Prime2: "+q.toString("base64")+"\n";var dmodp=utils.mpDenormalize(key.part["dmodp"].data);out+="Exponent1: "+dmodp.toString("base64")+"\n";var dmodq=utils.mpDenormalize(key.part["dmodq"].data);out+="Exponent2: "+dmodq.toString("base64")+"\n";var iqmp=utils.mpDenormalize(key.part["iqmp"].data);out+="Coefficient: "+iqmp.toString("base64")+"\n";var timestamp=new Date;out+="Created: "+dnssecTimestamp(timestamp)+"\n";out+="Publish: "+dnssecTimestamp(timestamp)+"\n";out+="Activate: "+dnssecTimestamp(timestamp)+"\n";return Buffer.from(out,"ascii")}function writeECDSA(key,options){var out="";out+="Private-key-format: v1.3\n";if(key.curve==="nistp256"){out+="Algorithm: 13 (ECDSAP256SHA256)\n"}else if(key.curve==="nistp384"){out+="Algorithm: 14 (ECDSAP384SHA384)\n"}else{throw new Error("Unsupported curve")}var base64Key=key.part["d"].data.toString("base64");out+="PrivateKey: "+base64Key+"\n";var timestamp=new Date;out+="Created: "+dnssecTimestamp(timestamp)+"\n";out+="Publish: "+dnssecTimestamp(timestamp)+"\n";out+="Activate: "+dnssecTimestamp(timestamp)+"\n";return Buffer.from(out,"ascii")}function write(key,options){if(PrivateKey.isPrivateKey(key)){if(key.type==="rsa"){return writeRSA(key,options)}else if(key.type==="ecdsa"){return writeECDSA(key,options)}else{throw new Error("Unsupported algorithm: "+key.type)}}else if(Key.isKey(key)){throw new Error('Format "dnssec" only supports '+"writing private keys")}else{throw new Error("key is not a Key or PrivateKey")}}},{"../dhe":931,"../key":949,"../private-key":950,"../ssh-buffer":952,"../utils":953,"assert-plus":70,"safer-buffer":908}],937:[function(require,module,exports){module.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,write:write,fromBuffer:fromBuffer,toBuffer:toBuffer};var assert=require("assert-plus");var SSHBuffer=require("../ssh-buffer");var crypto=require("crypto");var Buffer=require("safer-buffer").Buffer;var algs=require("../algs");var Key=require("../key");var PrivateKey=require("../private-key");var Identity=require("../identity");var rfc4253=require("./rfc4253");var Signature=require("../signature");var utils=require("../utils");var Certificate=require("../certificate");function verify(cert,key){return false}var TYPES={user:1,host:2};Object.keys(TYPES).forEach((function(k){TYPES[TYPES[k]]=k}));var ECDSA_ALGO=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function read(buf,options){if(Buffer.isBuffer(buf))buf=buf.toString("ascii");var parts=buf.trim().split(/[ \t\n]+/g);if(parts.length<2||parts.length>3)throw new Error("Not a valid SSH certificate line");var algo=parts[0];var data=parts[1];data=Buffer.from(data,"base64");return fromBuffer(data,algo)}function fromBuffer(data,algo,partial){var sshbuf=new SSHBuffer({buffer:data});var innerAlgo=sshbuf.readString();if(algo!==undefined&&innerAlgo!==algo)throw new Error("SSH certificate algorithm mismatch");if(algo===undefined)algo=innerAlgo;var cert={};cert.signatures={};cert.signatures.openssh={};cert.signatures.openssh.nonce=sshbuf.readBuffer();var key={};var parts=key.parts=[];key.type=getAlg(algo);var partCount=algs.info[key.type].parts.length;while(parts.length<partCount)parts.push(sshbuf.readPart());assert.ok(parts.length>=1,"key must have at least one part");var algInfo=algs.info[key.type];if(key.type==="ecdsa"){var res=ECDSA_ALGO.exec(algo);assert.ok(res!==null);assert.strictEqual(res[1],parts[0].data.toString())}for(var i=0;i<algInfo.parts.length;++i){parts[i].name=algInfo.parts[i];if(parts[i].name!=="curve"&&algInfo.normalize!==false){var p=parts[i];p.data=utils.mpNormalize(p.data)}}cert.subjectKey=new Key(key);cert.serial=sshbuf.readInt64();var type=TYPES[sshbuf.readInt()];assert.string(type,"valid cert type");cert.signatures.openssh.keyId=sshbuf.readString();var principals=[];var pbuf=sshbuf.readBuffer();var psshbuf=new SSHBuffer({buffer:pbuf});while(!psshbuf.atEnd())principals.push(psshbuf.readString());if(principals.length===0)principals=["*"];cert.subjects=principals.map((function(pr){if(type==="user")return Identity.forUser(pr);else if(type==="host")return Identity.forHost(pr);throw new Error("Unknown identity type "+type)}));cert.validFrom=int64ToDate(sshbuf.readInt64());cert.validUntil=int64ToDate(sshbuf.readInt64());var exts=[];var extbuf=new SSHBuffer({buffer:sshbuf.readBuffer()});var ext;while(!extbuf.atEnd()){ext={critical:true};ext.name=extbuf.readString();ext.data=extbuf.readBuffer();exts.push(ext)}extbuf=new SSHBuffer({buffer:sshbuf.readBuffer()});while(!extbuf.atEnd()){ext={critical:false};ext.name=extbuf.readString();ext.data=extbuf.readBuffer();exts.push(ext)}cert.signatures.openssh.exts=exts;sshbuf.readBuffer();var signingKeyBuf=sshbuf.readBuffer();cert.issuerKey=rfc4253.read(signingKeyBuf);cert.issuer=Identity.forHost("**");var sigBuf=sshbuf.readBuffer();cert.signatures.openssh.signature=Signature.parse(sigBuf,cert.issuerKey.type,"ssh");if(partial!==undefined){partial.remainder=sshbuf.remainder();partial.consumed=sshbuf._offset}return new Certificate(cert)}function int64ToDate(buf){var i=buf.readUInt32BE(0)*4294967296;i+=buf.readUInt32BE(4);var d=new Date;d.setTime(i*1e3);d.sourceInt64=buf;return d}function dateToInt64(date){if(date.sourceInt64!==undefined)return date.sourceInt64;var i=Math.round(date.getTime()/1e3);var upper=Math.floor(i/4294967296);var lower=Math.floor(i%4294967296);var buf=Buffer.alloc(8);buf.writeUInt32BE(upper,0);buf.writeUInt32BE(lower,4);return buf}function sign(cert,key){if(cert.signatures.openssh===undefined)cert.signatures.openssh={};try{var blob=toBuffer(cert,true)}catch(e){delete cert.signatures.openssh;return false}var sig=cert.signatures.openssh;var hashAlgo=undefined;if(key.type==="rsa"||key.type==="dsa")hashAlgo="sha1";var signer=key.createSign(hashAlgo);signer.write(blob);sig.signature=signer.sign();return true}function signAsync(cert,signer,done){if(cert.signatures.openssh===undefined)cert.signatures.openssh={};try{var blob=toBuffer(cert,true)}catch(e){delete cert.signatures.openssh;done(e);return}var sig=cert.signatures.openssh;signer(blob,(function(err,signature){if(err){done(err);return}try{signature.toBuffer("ssh")}catch(e){done(e);return}sig.signature=signature;done()}))}function write(cert,options){if(options===undefined)options={};var blob=toBuffer(cert);var out=getCertType(cert.subjectKey)+" "+blob.toString("base64");if(options.comment)out=out+" "+options.comment;return out}function toBuffer(cert,noSig){assert.object(cert.signatures.openssh,"signature for openssh format");var sig=cert.signatures.openssh;if(sig.nonce===undefined)sig.nonce=crypto.randomBytes(16);var buf=new SSHBuffer({});buf.writeString(getCertType(cert.subjectKey));buf.writeBuffer(sig.nonce);var key=cert.subjectKey;var algInfo=algs.info[key.type];algInfo.parts.forEach((function(part){buf.writePart(key.part[part])}));buf.writeInt64(cert.serial);var type=cert.subjects[0].type;assert.notStrictEqual(type,"unknown");cert.subjects.forEach((function(id){assert.strictEqual(id.type,type)}));type=TYPES[type];buf.writeInt(type);if(sig.keyId===undefined){sig.keyId=cert.subjects[0].type+"_"+(cert.subjects[0].uid||cert.subjects[0].hostname)}buf.writeString(sig.keyId);var sub=new SSHBuffer({});cert.subjects.forEach((function(id){if(type===TYPES.host)sub.writeString(id.hostname);else if(type===TYPES.user)sub.writeString(id.uid)}));buf.writeBuffer(sub.toBuffer());buf.writeInt64(dateToInt64(cert.validFrom));buf.writeInt64(dateToInt64(cert.validUntil));var exts=sig.exts;if(exts===undefined)exts=[];var extbuf=new SSHBuffer({});exts.forEach((function(ext){if(ext.critical!==true)return;extbuf.writeString(ext.name);extbuf.writeBuffer(ext.data)}));buf.writeBuffer(extbuf.toBuffer());extbuf=new SSHBuffer({});exts.forEach((function(ext){if(ext.critical===true)return;extbuf.writeString(ext.name);extbuf.writeBuffer(ext.data)}));buf.writeBuffer(extbuf.toBuffer());buf.writeBuffer(Buffer.alloc(0));sub=rfc4253.write(cert.issuerKey);buf.writeBuffer(sub);if(!noSig)buf.writeBuffer(sig.signature.toBuffer("ssh"));return buf.toBuffer()}function getAlg(certType){if(certType==="ssh-rsa-cert-v01@openssh.com")return"rsa";if(certType==="ssh-dss-cert-v01@openssh.com")return"dsa";if(certType.match(ECDSA_ALGO))return"ecdsa";if(certType==="ssh-ed25519-cert-v01@openssh.com")return"ed25519";throw new Error("Unsupported cert type "+certType)}function getCertType(key){if(key.type==="rsa")return"ssh-rsa-cert-v01@openssh.com";if(key.type==="dsa")return"ssh-dss-cert-v01@openssh.com";if(key.type==="ecdsa")return"ecdsa-sha2-"+key.curve+"-cert-v01@openssh.com";if(key.type==="ed25519")return"ssh-ed25519-cert-v01@openssh.com";throw new Error("Unsupported key type "+key.type)}},{"../algs":929,"../certificate":930,"../identity":947,"../key":949,"../private-key":950,"../signature":951,"../ssh-buffer":952,"../utils":953,"./rfc4253":942,"assert-plus":70,crypto:143,"safer-buffer":908}],938:[function(require,module,exports){module.exports={read:read,write:write};var assert=require("assert-plus");var asn1=require("asn1");var crypto=require("crypto");var Buffer=require("safer-buffer").Buffer;var algs=require("../algs");var utils=require("../utils");var Key=require("../key");var PrivateKey=require("../private-key");var pkcs1=require("./pkcs1");var pkcs8=require("./pkcs8");var sshpriv=require("./ssh-private");var rfc4253=require("./rfc4253");var errors=require("../errors");var OID_PBES2="1.2.840.113549.1.5.13";var OID_PBKDF2="1.2.840.113549.1.5.12";var OID_TO_CIPHER={"1.2.840.113549.3.7":"3des-cbc","2.16.840.1.101.3.4.1.2":"aes128-cbc","2.16.840.1.101.3.4.1.42":"aes256-cbc"};var CIPHER_TO_OID={};Object.keys(OID_TO_CIPHER).forEach((function(k){CIPHER_TO_OID[OID_TO_CIPHER[k]]=k}));var OID_TO_HASH={"1.2.840.113549.2.7":"sha1","1.2.840.113549.2.9":"sha256","1.2.840.113549.2.11":"sha512"};var HASH_TO_OID={};Object.keys(OID_TO_HASH).forEach((function(k){HASH_TO_OID[OID_TO_HASH[k]]=k}));function read(buf,options,forceType){var input=buf;if(typeof buf!=="string"){assert.buffer(buf,"buf");buf=buf.toString("ascii")}var lines=buf.trim().split(/[\r\n]+/g);var m;var si=-1;while(!m&&si<lines.length){m=lines[++si].match(/[-]+[ ]*BEGIN ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/)}assert.ok(m,"invalid PEM header");var m2;var ei=lines.length;while(!m2&&ei>0){m2=lines[--ei].match(/[-]+[ ]*END ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/)}assert.ok(m2,"invalid PEM footer");assert.equal(m[2],m2[2]);var type=m[2].toLowerCase();var alg;if(m[1]){assert.equal(m[1],m2[1],"PEM header and footer mismatch");alg=m[1].trim()}lines=lines.slice(si,ei+1);var headers={};while(true){lines=lines.slice(1);m=lines[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!m)break;headers[m[1].toLowerCase()]=m[2]}lines=lines.slice(0,-1).join("");buf=Buffer.from(lines,"base64");var cipher,key,iv;if(headers["proc-type"]){var parts=headers["proc-type"].split(",");if(parts[0]==="4"&&parts[1]==="ENCRYPTED"){if(typeof options.passphrase==="string"){options.passphrase=Buffer.from(options.passphrase,"utf-8")}if(!Buffer.isBuffer(options.passphrase)){throw new errors.KeyEncryptedError(options.filename,"PEM")}else{parts=headers["dek-info"].split(",");assert.ok(parts.length===2);cipher=parts[0].toLowerCase();iv=Buffer.from(parts[1],"hex");key=utils.opensslKeyDeriv(cipher,iv,options.passphrase,1).key}}}if(alg&&alg.toLowerCase()==="encrypted"){var eder=new asn1.BerReader(buf);var pbesEnd;eder.readSequence();eder.readSequence();pbesEnd=eder.offset+eder.length;var method=eder.readOID();if(method!==OID_PBES2){throw new Error("Unsupported PEM/PKCS8 encryption "+"scheme: "+method)}eder.readSequence();eder.readSequence();var kdfEnd=eder.offset+eder.length;var kdfOid=eder.readOID();if(kdfOid!==OID_PBKDF2)throw new Error("Unsupported PBES2 KDF: "+kdfOid);eder.readSequence();var salt=eder.readString(asn1.Ber.OctetString,true);var iterations=eder.readInt();var hashAlg="sha1";if(eder.offset<kdfEnd){eder.readSequence();var hashAlgOid=eder.readOID();hashAlg=OID_TO_HASH[hashAlgOid];if(hashAlg===undefined){throw new Error("Unsupported PBKDF2 hash: "+hashAlgOid)}}eder._offset=kdfEnd;eder.readSequence();var cipherOid=eder.readOID();cipher=OID_TO_CIPHER[cipherOid];if(cipher===undefined){throw new Error("Unsupported PBES2 cipher: "+cipherOid)}iv=eder.readString(asn1.Ber.OctetString,true);eder._offset=pbesEnd;buf=eder.readString(asn1.Ber.OctetString,true);if(typeof options.passphrase==="string"){options.passphrase=Buffer.from(options.passphrase,"utf-8")}if(!Buffer.isBuffer(options.passphrase)){throw new errors.KeyEncryptedError(options.filename,"PEM")}var cinfo=utils.opensshCipherInfo(cipher);cipher=cinfo.opensslName;key=utils.pbkdf2(hashAlg,salt,iterations,cinfo.keySize,options.passphrase);alg=undefined}if(cipher&&key&&iv){var cipherStream=crypto.createDecipheriv(cipher,key,iv);var chunk,chunks=[];cipherStream.once("error",(function(e){if(e.toString().indexOf("bad decrypt")!==-1){throw new Error("Incorrect passphrase "+"supplied, could not decrypt key")}throw e}));cipherStream.write(buf);cipherStream.end();while((chunk=cipherStream.read())!==null)chunks.push(chunk);buf=Buffer.concat(chunks)}if(alg&&alg.toLowerCase()==="openssh")return sshpriv.readSSHPrivate(type,buf,options);if(alg&&alg.toLowerCase()==="ssh2")return rfc4253.readType(type,buf,options);var der=new asn1.BerReader(buf);der.originalInput=input;der.readSequence();if(alg){if(forceType)assert.strictEqual(forceType,"pkcs1");return pkcs1.readPkcs1(alg,type,der)}else{if(forceType)assert.strictEqual(forceType,"pkcs8");return pkcs8.readPkcs8(alg,type,der)}}function write(key,options,type){assert.object(key);var alg={ecdsa:"EC",rsa:"RSA",dsa:"DSA",ed25519:"EdDSA"}[key.type];var header;var der=new asn1.BerWriter;if(PrivateKey.isPrivateKey(key)){if(type&&type==="pkcs8"){header="PRIVATE KEY";pkcs8.writePkcs8(der,key)}else{if(type)assert.strictEqual(type,"pkcs1");header=alg+" PRIVATE KEY";pkcs1.writePkcs1(der,key)}}else if(Key.isKey(key)){if(type&&type==="pkcs1"){header=alg+" PUBLIC KEY";pkcs1.writePkcs1(der,key)}else{if(type)assert.strictEqual(type,"pkcs8");header="PUBLIC KEY";pkcs8.writePkcs8(der,key)}}else{throw new Error("key is not a Key or PrivateKey")}var tmp=der.buffer.toString("base64");var len=tmp.length+tmp.length/64+18+16+header.length*2+10;var buf=Buffer.alloc(len);var o=0;o+=buf.write("-----BEGIN "+header+"-----\n",o);for(var i=0;i<tmp.length;){var limit=i+64;if(limit>tmp.length)limit=tmp.length;o+=buf.write(tmp.slice(i,limit),o);buf[o++]=10;i=limit}o+=buf.write("-----END "+header+"-----\n",o);return buf.slice(0,o)}},{"../algs":929,"../errors":933,"../key":949,"../private-key":950,"../utils":953,"./pkcs1":939,"./pkcs8":940,"./rfc4253":942,"./ssh-private":943,asn1:69,"assert-plus":70,crypto:143,"safer-buffer":908}],939:[function(require,module,exports){module.exports={read:read,readPkcs1:readPkcs1,write:write,writePkcs1:writePkcs1};var assert=require("assert-plus");var asn1=require("asn1");var Buffer=require("safer-buffer").Buffer;var algs=require("../algs");var utils=require("../utils");var Key=require("../key");var PrivateKey=require("../private-key");var pem=require("./pem");var pkcs8=require("./pkcs8");var readECDSACurve=pkcs8.readECDSACurve;function read(buf,options){return pem.read(buf,options,"pkcs1")}function write(key,options){return pem.write(key,options,"pkcs1")}function readMPInt(der,nm){assert.strictEqual(der.peek(),asn1.Ber.Integer,nm+" is not an Integer");return utils.mpNormalize(der.readString(asn1.Ber.Integer,true))}function readPkcs1(alg,type,der){switch(alg){case"RSA":if(type==="public")return readPkcs1RSAPublic(der);else if(type==="private")return readPkcs1RSAPrivate(der);throw new Error("Unknown key type: "+type);case"DSA":if(type==="public")return readPkcs1DSAPublic(der);else if(type==="private")return readPkcs1DSAPrivate(der);throw new Error("Unknown key type: "+type);case"EC":case"ECDSA":if(type==="private")return readPkcs1ECDSAPrivate(der);else if(type==="public")return readPkcs1ECDSAPublic(der);throw new Error("Unknown key type: "+type);case"EDDSA":case"EdDSA":if(type==="private")return readPkcs1EdDSAPrivate(der);throw new Error(type+" keys not supported with EdDSA");default:throw new Error("Unknown key algo: "+alg)}}function readPkcs1RSAPublic(der){var n=readMPInt(der,"modulus");var e=readMPInt(der,"exponent");var key={type:"rsa",parts:[{name:"e",data:e},{name:"n",data:n}]};return new Key(key)}function readPkcs1RSAPrivate(der){var version=readMPInt(der,"version");assert.strictEqual(version[0],0);var n=readMPInt(der,"modulus");var e=readMPInt(der,"public exponent");var d=readMPInt(der,"private exponent");var p=readMPInt(der,"prime1");var q=readMPInt(der,"prime2");var dmodp=readMPInt(der,"exponent1");var dmodq=readMPInt(der,"exponent2");var iqmp=readMPInt(der,"iqmp");var key={type:"rsa",parts:[{name:"n",data:n},{name:"e",data:e},{name:"d",data:d},{name:"iqmp",data:iqmp},{name:"p",data:p},{name:"q",data:q},{name:"dmodp",data:dmodp},{name:"dmodq",data:dmodq}]};return new PrivateKey(key)}function readPkcs1DSAPrivate(der){var version=readMPInt(der,"version");assert.strictEqual(version.readUInt8(0),0);var p=readMPInt(der,"p");var q=readMPInt(der,"q");var g=readMPInt(der,"g");var y=readMPInt(der,"y");var x=readMPInt(der,"x");var key={type:"dsa",parts:[{name:"p",data:p},{name:"q",data:q},{name:"g",data:g},{name:"y",data:y},{name:"x",data:x}]};return new PrivateKey(key)}function readPkcs1EdDSAPrivate(der){var version=readMPInt(der,"version");assert.strictEqual(version.readUInt8(0),1);var k=der.readString(asn1.Ber.OctetString,true);der.readSequence(160);var oid=der.readOID();assert.strictEqual(oid,"1.3.101.112","the ed25519 curve identifier");der.readSequence(161);var A=utils.readBitString(der);var key={type:"ed25519",parts:[{name:"A",data:utils.zeroPadToLength(A,32)},{name:"k",data:k}]};return new PrivateKey(key)}function readPkcs1DSAPublic(der){var y=readMPInt(der,"y");var p=readMPInt(der,"p");var q=readMPInt(der,"q");var g=readMPInt(der,"g");var key={type:"dsa",parts:[{name:"y",data:y},{name:"p",data:p},{name:"q",data:q},{name:"g",data:g}]};return new Key(key)}function readPkcs1ECDSAPublic(der){der.readSequence();var oid=der.readOID();assert.strictEqual(oid,"1.2.840.10045.2.1","must be ecPublicKey");var curveOid=der.readOID();var curve;var curves=Object.keys(algs.curves);for(var j=0;j<curves.length;++j){var c=curves[j];var cd=algs.curves[c];if(cd.pkcs8oid===curveOid){curve=c;break}}assert.string(curve,"a known ECDSA named curve");var Q=der.readString(asn1.Ber.BitString,true);Q=utils.ecNormalize(Q);var key={type:"ecdsa",parts:[{name:"curve",data:Buffer.from(curve)},{name:"Q",data:Q}]};return new Key(key)}function readPkcs1ECDSAPrivate(der){var version=readMPInt(der,"version");assert.strictEqual(version.readUInt8(0),1);var d=der.readString(asn1.Ber.OctetString,true);der.readSequence(160);var curve=readECDSACurve(der);assert.string(curve,"a known elliptic curve");der.readSequence(161);var Q=der.readString(asn1.Ber.BitString,true);Q=utils.ecNormalize(Q);var key={type:"ecdsa",parts:[{name:"curve",data:Buffer.from(curve)},{name:"Q",data:Q},{name:"d",data:d}]};return new PrivateKey(key)}function writePkcs1(der,key){der.startSequence();switch(key.type){case"rsa":if(PrivateKey.isPrivateKey(key))writePkcs1RSAPrivate(der,key);else writePkcs1RSAPublic(der,key);break;case"dsa":if(PrivateKey.isPrivateKey(key))writePkcs1DSAPrivate(der,key);else writePkcs1DSAPublic(der,key);break;case"ecdsa":if(PrivateKey.isPrivateKey(key))writePkcs1ECDSAPrivate(der,key);else writePkcs1ECDSAPublic(der,key);break;case"ed25519":if(PrivateKey.isPrivateKey(key))writePkcs1EdDSAPrivate(der,key);else writePkcs1EdDSAPublic(der,key);break;default:throw new Error("Unknown key algo: "+key.type)}der.endSequence()}function writePkcs1RSAPublic(der,key){der.writeBuffer(key.part.n.data,asn1.Ber.Integer);der.writeBuffer(key.part.e.data,asn1.Ber.Integer)}function writePkcs1RSAPrivate(der,key){var ver=Buffer.from([0]);der.writeBuffer(ver,asn1.Ber.Integer);der.writeBuffer(key.part.n.data,asn1.Ber.Integer);der.writeBuffer(key.part.e.data,asn1.Ber.Integer);der.writeBuffer(key.part.d.data,asn1.Ber.Integer);der.writeBuffer(key.part.p.data,asn1.Ber.Integer);der.writeBuffer(key.part.q.data,asn1.Ber.Integer);if(!key.part.dmodp||!key.part.dmodq)utils.addRSAMissing(key);der.writeBuffer(key.part.dmodp.data,asn1.Ber.Integer);der.writeBuffer(key.part.dmodq.data,asn1.Ber.Integer);der.writeBuffer(key.part.iqmp.data,asn1.Ber.Integer)}function writePkcs1DSAPrivate(der,key){var ver=Buffer.from([0]);der.writeBuffer(ver,asn1.Ber.Integer);der.writeBuffer(key.part.p.data,asn1.Ber.Integer);der.writeBuffer(key.part.q.data,asn1.Ber.Integer);der.writeBuffer(key.part.g.data,asn1.Ber.Integer);der.writeBuffer(key.part.y.data,asn1.Ber.Integer);der.writeBuffer(key.part.x.data,asn1.Ber.Integer)}function writePkcs1DSAPublic(der,key){der.writeBuffer(key.part.y.data,asn1.Ber.Integer);der.writeBuffer(key.part.p.data,asn1.Ber.Integer);der.writeBuffer(key.part.q.data,asn1.Ber.Integer);der.writeBuffer(key.part.g.data,asn1.Ber.Integer)}function writePkcs1ECDSAPublic(der,key){der.startSequence();der.writeOID("1.2.840.10045.2.1");var curve=key.part.curve.data.toString();var curveOid=algs.curves[curve].pkcs8oid;assert.string(curveOid,"a known ECDSA named curve");der.writeOID(curveOid);der.endSequence();var Q=utils.ecNormalize(key.part.Q.data,true);der.writeBuffer(Q,asn1.Ber.BitString)}function writePkcs1ECDSAPrivate(der,key){var ver=Buffer.from([1]);der.writeBuffer(ver,asn1.Ber.Integer);der.writeBuffer(key.part.d.data,asn1.Ber.OctetString);der.startSequence(160);var curve=key.part.curve.data.toString();var curveOid=algs.curves[curve].pkcs8oid;assert.string(curveOid,"a known ECDSA named curve");der.writeOID(curveOid);der.endSequence();der.startSequence(161);var Q=utils.ecNormalize(key.part.Q.data,true);der.writeBuffer(Q,asn1.Ber.BitString);der.endSequence()}function writePkcs1EdDSAPrivate(der,key){var ver=Buffer.from([1]);der.writeBuffer(ver,asn1.Ber.Integer);der.writeBuffer(key.part.k.data,asn1.Ber.OctetString);der.startSequence(160);der.writeOID("1.3.101.112");der.endSequence();der.startSequence(161);utils.writeBitString(der,key.part.A.data);der.endSequence()}function writePkcs1EdDSAPublic(der,key){throw new Error("Public keys are not supported for EdDSA PKCS#1")}},{"../algs":929,"../key":949,"../private-key":950,"../utils":953,"./pem":938,"./pkcs8":940,asn1:69,"assert-plus":70,"safer-buffer":908}],940:[function(require,module,exports){module.exports={read:read,readPkcs8:readPkcs8,write:write,writePkcs8:writePkcs8,pkcs8ToBuffer:pkcs8ToBuffer,readECDSACurve:readECDSACurve,writeECDSACurve:writeECDSACurve};var assert=require("assert-plus");var asn1=require("asn1");var Buffer=require("safer-buffer").Buffer;var algs=require("../algs");var utils=require("../utils");var Key=require("../key");var PrivateKey=require("../private-key");var pem=require("./pem");function read(buf,options){return pem.read(buf,options,"pkcs8")}function write(key,options){return pem.write(key,options,"pkcs8")}function readMPInt(der,nm){assert.strictEqual(der.peek(),asn1.Ber.Integer,nm+" is not an Integer");return utils.mpNormalize(der.readString(asn1.Ber.Integer,true))}function readPkcs8(alg,type,der){if(der.peek()===asn1.Ber.Integer){assert.strictEqual(type,"private","unexpected Integer at start of public key");der.readString(asn1.Ber.Integer,true)}der.readSequence();var next=der.offset+der.length;var oid=der.readOID();switch(oid){case"1.2.840.113549.1.1.1":der._offset=next;if(type==="public")return readPkcs8RSAPublic(der);else return readPkcs8RSAPrivate(der);case"1.2.840.10040.4.1":if(type==="public")return readPkcs8DSAPublic(der);else return readPkcs8DSAPrivate(der);case"1.2.840.10045.2.1":if(type==="public")return readPkcs8ECDSAPublic(der);else return readPkcs8ECDSAPrivate(der);case"1.3.101.112":if(type==="public"){return readPkcs8EdDSAPublic(der)}else{return readPkcs8EdDSAPrivate(der)}case"1.3.101.110":if(type==="public"){return readPkcs8X25519Public(der)}else{return readPkcs8X25519Private(der)}default:throw new Error("Unknown key type OID "+oid)}}function readPkcs8RSAPublic(der){der.readSequence(asn1.Ber.BitString);der.readByte();der.readSequence();var n=readMPInt(der,"modulus");var e=readMPInt(der,"exponent");var key={type:"rsa",source:der.originalInput,parts:[{name:"e",data:e},{name:"n",data:n}]};return new Key(key)}function readPkcs8RSAPrivate(der){der.readSequence(asn1.Ber.OctetString);der.readSequence();var ver=readMPInt(der,"version");assert.equal(ver[0],0,"unknown RSA private key version");var n=readMPInt(der,"modulus");var e=readMPInt(der,"public exponent");var d=readMPInt(der,"private exponent");var p=readMPInt(der,"prime1");var q=readMPInt(der,"prime2");var dmodp=readMPInt(der,"exponent1");var dmodq=readMPInt(der,"exponent2");var iqmp=readMPInt(der,"iqmp");var key={type:"rsa",parts:[{name:"n",data:n},{name:"e",data:e},{name:"d",data:d},{name:"iqmp",data:iqmp},{name:"p",data:p},{name:"q",data:q},{name:"dmodp",data:dmodp},{name:"dmodq",data:dmodq}]};return new PrivateKey(key)}function readPkcs8DSAPublic(der){der.readSequence();var p=readMPInt(der,"p");var q=readMPInt(der,"q");var g=readMPInt(der,"g");der.readSequence(asn1.Ber.BitString);der.readByte();var y=readMPInt(der,"y");var key={type:"dsa",parts:[{name:"p",data:p},{name:"q",data:q},{name:"g",data:g},{name:"y",data:y}]};return new Key(key)}function readPkcs8DSAPrivate(der){der.readSequence();var p=readMPInt(der,"p");var q=readMPInt(der,"q");var g=readMPInt(der,"g");der.readSequence(asn1.Ber.OctetString);var x=readMPInt(der,"x");var y=utils.calculateDSAPublic(g,p,x);var key={type:"dsa",parts:[{name:"p",data:p},{name:"q",data:q},{name:"g",data:g},{name:"y",data:y},{name:"x",data:x}]};return new PrivateKey(key)}function readECDSACurve(der){var curveName,curveNames;var j,c,cd;if(der.peek()===asn1.Ber.OID){var oid=der.readOID();curveNames=Object.keys(algs.curves);for(j=0;j<curveNames.length;++j){c=curveNames[j];cd=algs.curves[c];if(cd.pkcs8oid===oid){curveName=c;break}}}else{der.readSequence();var version=der.readString(asn1.Ber.Integer,true);assert.strictEqual(version[0],1,"ECDSA key not version 1");var curve={};der.readSequence();var fieldTypeOid=der.readOID();assert.strictEqual(fieldTypeOid,"1.2.840.10045.1.1","ECDSA key is not from a prime-field");var p=curve.p=utils.mpNormalize(der.readString(asn1.Ber.Integer,true));curve.size=p.length*8-utils.countZeros(p);der.readSequence();curve.a=utils.mpNormalize(der.readString(asn1.Ber.OctetString,true));curve.b=utils.mpNormalize(der.readString(asn1.Ber.OctetString,true));if(der.peek()===asn1.Ber.BitString)curve.s=der.readString(asn1.Ber.BitString,true);curve.G=der.readString(asn1.Ber.OctetString,true);assert.strictEqual(curve.G[0],4,"uncompressed G is required");curve.n=utils.mpNormalize(der.readString(asn1.Ber.Integer,true));curve.h=utils.mpNormalize(der.readString(asn1.Ber.Integer,true));assert.strictEqual(curve.h[0],1,"a cofactor=1 curve is "+"required");curveNames=Object.keys(algs.curves);var ks=Object.keys(curve);for(j=0;j<curveNames.length;++j){c=curveNames[j];cd=algs.curves[c];var equal=true;for(var i=0;i<ks.length;++i){var k=ks[i];if(cd[k]===undefined)continue;if(typeof cd[k]==="object"&&cd[k].equals!==undefined){if(!cd[k].equals(curve[k])){equal=false;break}}else if(Buffer.isBuffer(cd[k])){if(cd[k].toString("binary")!==curve[k].toString("binary")){equal=false;break}}else{if(cd[k]!==curve[k]){equal=false;break}}}if(equal){curveName=c;break}}}return curveName}function readPkcs8ECDSAPrivate(der){var curveName=readECDSACurve(der);assert.string(curveName,"a known elliptic curve");der.readSequence(asn1.Ber.OctetString);der.readSequence();var version=readMPInt(der,"version");assert.equal(version[0],1,"unknown version of ECDSA key");var d=der.readString(asn1.Ber.OctetString,true);var Q;if(der.peek()==160){der.readSequence(160);der._offset+=der.length}if(der.peek()==161){der.readSequence(161);Q=der.readString(asn1.Ber.BitString,true);Q=utils.ecNormalize(Q)}if(Q===undefined){var pub=utils.publicFromPrivateECDSA(curveName,d);Q=pub.part.Q.data}var key={type:"ecdsa",parts:[{name:"curve",data:Buffer.from(curveName)},{name:"Q",data:Q},{name:"d",data:d}]};return new PrivateKey(key)}function readPkcs8ECDSAPublic(der){var curveName=readECDSACurve(der);assert.string(curveName,"a known elliptic curve");var Q=der.readString(asn1.Ber.BitString,true);Q=utils.ecNormalize(Q);var key={type:"ecdsa",parts:[{name:"curve",data:Buffer.from(curveName)},{name:"Q",data:Q}]};return new Key(key)}function readPkcs8EdDSAPublic(der){if(der.peek()===0)der.readByte();var A=utils.readBitString(der);var key={type:"ed25519",parts:[{name:"A",data:utils.zeroPadToLength(A,32)}]};return new Key(key)}function readPkcs8X25519Public(der){var A=utils.readBitString(der);var key={type:"curve25519",parts:[{name:"A",data:utils.zeroPadToLength(A,32)}]};return new Key(key)}function readPkcs8EdDSAPrivate(der){if(der.peek()===0)der.readByte();der.readSequence(asn1.Ber.OctetString);var k=der.readString(asn1.Ber.OctetString,true);k=utils.zeroPadToLength(k,32);var A;if(der.peek()===asn1.Ber.BitString){A=utils.readBitString(der);A=utils.zeroPadToLength(A,32)}else{A=utils.calculateED25519Public(k)}var key={type:"ed25519",parts:[{name:"A",data:utils.zeroPadToLength(A,32)},{name:"k",data:utils.zeroPadToLength(k,32)}]};return new PrivateKey(key)}function readPkcs8X25519Private(der){if(der.peek()===0)der.readByte();der.readSequence(asn1.Ber.OctetString);var k=der.readString(asn1.Ber.OctetString,true);k=utils.zeroPadToLength(k,32);var A=utils.calculateX25519Public(k);var key={type:"curve25519",parts:[{name:"A",data:utils.zeroPadToLength(A,32)},{name:"k",data:utils.zeroPadToLength(k,32)}]};return new PrivateKey(key)}function pkcs8ToBuffer(key){var der=new asn1.BerWriter;writePkcs8(der,key);return der.buffer}function writePkcs8(der,key){der.startSequence();if(PrivateKey.isPrivateKey(key)){var sillyInt=Buffer.from([0]);der.writeBuffer(sillyInt,asn1.Ber.Integer)}der.startSequence();switch(key.type){case"rsa":der.writeOID("1.2.840.113549.1.1.1");if(PrivateKey.isPrivateKey(key))writePkcs8RSAPrivate(key,der);else writePkcs8RSAPublic(key,der);break;case"dsa":der.writeOID("1.2.840.10040.4.1");if(PrivateKey.isPrivateKey(key))writePkcs8DSAPrivate(key,der);else writePkcs8DSAPublic(key,der);break;case"ecdsa":der.writeOID("1.2.840.10045.2.1");if(PrivateKey.isPrivateKey(key))writePkcs8ECDSAPrivate(key,der);else writePkcs8ECDSAPublic(key,der);break;case"ed25519":der.writeOID("1.3.101.112");if(PrivateKey.isPrivateKey(key))throw new Error("Ed25519 private keys in pkcs8 "+"format are not supported");writePkcs8EdDSAPublic(key,der);break;default:throw new Error("Unsupported key type: "+key.type)}der.endSequence()}function writePkcs8RSAPrivate(key,der){der.writeNull();der.endSequence();der.startSequence(asn1.Ber.OctetString);der.startSequence();var version=Buffer.from([0]);der.writeBuffer(version,asn1.Ber.Integer);der.writeBuffer(key.part.n.data,asn1.Ber.Integer);der.writeBuffer(key.part.e.data,asn1.Ber.Integer);der.writeBuffer(key.part.d.data,asn1.Ber.Integer);der.writeBuffer(key.part.p.data,asn1.Ber.Integer);der.writeBuffer(key.part.q.data,asn1.Ber.Integer);if(!key.part.dmodp||!key.part.dmodq)utils.addRSAMissing(key);der.writeBuffer(key.part.dmodp.data,asn1.Ber.Integer);der.writeBuffer(key.part.dmodq.data,asn1.Ber.Integer);der.writeBuffer(key.part.iqmp.data,asn1.Ber.Integer);der.endSequence();der.endSequence()}function writePkcs8RSAPublic(key,der){der.writeNull();der.endSequence();der.startSequence(asn1.Ber.BitString);der.writeByte(0);der.startSequence();der.writeBuffer(key.part.n.data,asn1.Ber.Integer);der.writeBuffer(key.part.e.data,asn1.Ber.Integer);der.endSequence();der.endSequence()}function writePkcs8DSAPrivate(key,der){der.startSequence();der.writeBuffer(key.part.p.data,asn1.Ber.Integer);der.writeBuffer(key.part.q.data,asn1.Ber.Integer);der.writeBuffer(key.part.g.data,asn1.Ber.Integer);der.endSequence();der.endSequence();der.startSequence(asn1.Ber.OctetString);der.writeBuffer(key.part.x.data,asn1.Ber.Integer);der.endSequence()}function writePkcs8DSAPublic(key,der){der.startSequence();der.writeBuffer(key.part.p.data,asn1.Ber.Integer);der.writeBuffer(key.part.q.data,asn1.Ber.Integer);der.writeBuffer(key.part.g.data,asn1.Ber.Integer);der.endSequence();der.endSequence();der.startSequence(asn1.Ber.BitString);der.writeByte(0);der.writeBuffer(key.part.y.data,asn1.Ber.Integer);der.endSequence()}function writeECDSACurve(key,der){var curve=algs.curves[key.curve];if(curve.pkcs8oid){der.writeOID(curve.pkcs8oid)}else{der.startSequence();var version=Buffer.from([1]);der.writeBuffer(version,asn1.Ber.Integer);der.startSequence();der.writeOID("1.2.840.10045.1.1");der.writeBuffer(curve.p,asn1.Ber.Integer);der.endSequence();der.startSequence();var a=curve.p;if(a[0]===0)a=a.slice(1);der.writeBuffer(a,asn1.Ber.OctetString);der.writeBuffer(curve.b,asn1.Ber.OctetString);der.writeBuffer(curve.s,asn1.Ber.BitString);der.endSequence();der.writeBuffer(curve.G,asn1.Ber.OctetString);der.writeBuffer(curve.n,asn1.Ber.Integer);var h=curve.h;if(!h){h=Buffer.from([1])}der.writeBuffer(h,asn1.Ber.Integer);der.endSequence()}}function writePkcs8ECDSAPublic(key,der){writeECDSACurve(key,der);der.endSequence();var Q=utils.ecNormalize(key.part.Q.data,true);der.writeBuffer(Q,asn1.Ber.BitString)}function writePkcs8ECDSAPrivate(key,der){writeECDSACurve(key,der);der.endSequence();der.startSequence(asn1.Ber.OctetString);der.startSequence();var version=Buffer.from([1]);der.writeBuffer(version,asn1.Ber.Integer);der.writeBuffer(key.part.d.data,asn1.Ber.OctetString);der.startSequence(161);var Q=utils.ecNormalize(key.part.Q.data,true);der.writeBuffer(Q,asn1.Ber.BitString);der.endSequence();der.endSequence();der.endSequence()}function writePkcs8EdDSAPublic(key,der){der.endSequence();utils.writeBitString(der,key.part.A.data)}function writePkcs8EdDSAPrivate(key,der){der.endSequence();var k=utils.mpNormalize(key.part.k.data,true);der.startSequence(asn1.Ber.OctetString);der.writeBuffer(k,asn1.Ber.OctetString);der.endSequence()}},{"../algs":929,"../key":949,"../private-key":950,"../utils":953,"./pem":938,asn1:69,"assert-plus":70,"safer-buffer":908}],941:[function(require,module,exports){module.exports={read:read,write:write};var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var rfc4253=require("./rfc4253");var Key=require("../key");var errors=require("../errors");function read(buf,options){var lines=buf.toString("ascii").split(/[\r\n]+/);var found=false;var parts;var si=0;while(si<lines.length){parts=splitHeader(lines[si++]);if(parts&&parts[0].toLowerCase()==="putty-user-key-file-2"){found=true;break}}if(!found){throw new Error("No PuTTY format first line found")}var alg=parts[1];parts=splitHeader(lines[si++]);assert.equal(parts[0].toLowerCase(),"encryption");parts=splitHeader(lines[si++]);assert.equal(parts[0].toLowerCase(),"comment");var comment=parts[1];parts=splitHeader(lines[si++]);assert.equal(parts[0].toLowerCase(),"public-lines");var publicLines=parseInt(parts[1],10);if(!isFinite(publicLines)||publicLines<0||publicLines>lines.length){throw new Error("Invalid public-lines count")}var publicBuf=Buffer.from(lines.slice(si,si+publicLines).join(""),"base64");var keyType=rfc4253.algToKeyType(alg);var key=rfc4253.read(publicBuf);if(key.type!==keyType){throw new Error("Outer key algorithm mismatch")}key.comment=comment;return key}function splitHeader(line){var idx=line.indexOf(":");if(idx===-1)return null;var header=line.slice(0,idx);++idx;while(line[idx]===" ")++idx;var rest=line.slice(idx);return[header,rest]}function write(key,options){assert.object(key);if(!Key.isKey(key))throw new Error("Must be a public key");var alg=rfc4253.keyTypeToAlg(key);var buf=rfc4253.write(key);var comment=key.comment||"";var b64=buf.toString("base64");var lines=wrap(b64,64);lines.unshift("Public-Lines: "+lines.length);lines.unshift("Comment: "+comment);lines.unshift("Encryption: none");lines.unshift("PuTTY-User-Key-File-2: "+alg);return Buffer.from(lines.join("\n")+"\n")}function wrap(txt,len){var lines=[];var pos=0;while(pos<txt.length){lines.push(txt.slice(pos,pos+64));pos+=64}return lines}},{"../errors":933,"../key":949,"./rfc4253":942,"assert-plus":70,"safer-buffer":908}],942:[function(require,module,exports){module.exports={read:read.bind(undefined,false,undefined),readType:read.bind(undefined,false),write:write,readPartial:read.bind(undefined,true),readInternal:read,keyTypeToAlg:keyTypeToAlg,algToKeyType:algToKeyType};var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var algs=require("../algs");var utils=require("../utils");var Key=require("../key");var PrivateKey=require("../private-key");var SSHBuffer=require("../ssh-buffer");function algToKeyType(alg){assert.string(alg);if(alg==="ssh-dss")return"dsa";else if(alg==="ssh-rsa")return"rsa";else if(alg==="ssh-ed25519")return"ed25519";else if(alg==="ssh-curve25519")return"curve25519";else if(alg.match(/^ecdsa-sha2-/))return"ecdsa";else throw new Error("Unknown algorithm "+alg)}function keyTypeToAlg(key){assert.object(key);if(key.type==="dsa")return"ssh-dss";else if(key.type==="rsa")return"ssh-rsa";else if(key.type==="ed25519")return"ssh-ed25519";else if(key.type==="curve25519")return"ssh-curve25519";else if(key.type==="ecdsa")return"ecdsa-sha2-"+key.part.curve.data.toString();else throw new Error("Unknown key type "+key.type)}function read(partial,type,buf,options){if(typeof buf==="string")buf=Buffer.from(buf);assert.buffer(buf,"buf");var key={};var parts=key.parts=[];var sshbuf=new SSHBuffer({buffer:buf});var alg=sshbuf.readString();assert.ok(!sshbuf.atEnd(),"key must have at least one part");key.type=algToKeyType(alg);var partCount=algs.info[key.type].parts.length;if(type&&type==="private")partCount=algs.privInfo[key.type].parts.length;while(!sshbuf.atEnd()&&parts.length<partCount)parts.push(sshbuf.readPart());while(!partial&&!sshbuf.atEnd())parts.push(sshbuf.readPart());assert.ok(parts.length>=1,"key must have at least one part");assert.ok(partial||sshbuf.atEnd(),"leftover bytes at end of key");var Constructor=Key;var algInfo=algs.info[key.type];if(type==="private"||algInfo.parts.length!==parts.length){algInfo=algs.privInfo[key.type];Constructor=PrivateKey}assert.strictEqual(algInfo.parts.length,parts.length);if(key.type==="ecdsa"){var res=/^ecdsa-sha2-(.+)$/.exec(alg);assert.ok(res!==null);assert.strictEqual(res[1],parts[0].data.toString())}var normalized=true;for(var i=0;i<algInfo.parts.length;++i){var p=parts[i];p.name=algInfo.parts[i];if(key.type==="ed25519"&&p.name==="k")p.data=p.data.slice(0,32);if(p.name!=="curve"&&algInfo.normalize!==false){var nd;if(key.type==="ed25519"){nd=utils.zeroPadToLength(p.data,32)}else{nd=utils.mpNormalize(p.data)}if(nd.toString("binary")!==p.data.toString("binary")){p.data=nd;normalized=false}}}if(normalized)key._rfc4253Cache=sshbuf.toBuffer();if(partial&&typeof partial==="object"){partial.remainder=sshbuf.remainder();partial.consumed=sshbuf._offset}return new Constructor(key)}function write(key,options){assert.object(key);var alg=keyTypeToAlg(key);var i;var algInfo=algs.info[key.type];if(PrivateKey.isPrivateKey(key))algInfo=algs.privInfo[key.type];var parts=algInfo.parts;var buf=new SSHBuffer({});buf.writeString(alg);for(i=0;i<parts.length;++i){var data=key.part[parts[i]].data;if(algInfo.normalize!==false){if(key.type==="ed25519")data=utils.zeroPadToLength(data,32);else data=utils.mpNormalize(data)}if(key.type==="ed25519"&&parts[i]==="k")data=Buffer.concat([data,key.part.A.data]);buf.writeBuffer(data)}return buf.toBuffer()}},{"../algs":929,"../key":949,"../private-key":950,"../ssh-buffer":952,"../utils":953,"assert-plus":70,"safer-buffer":908}],943:[function(require,module,exports){module.exports={read:read,readSSHPrivate:readSSHPrivate,write:write};var assert=require("assert-plus");var asn1=require("asn1");var Buffer=require("safer-buffer").Buffer;var algs=require("../algs");var utils=require("../utils");var crypto=require("crypto");var Key=require("../key");var PrivateKey=require("../private-key");var pem=require("./pem");var rfc4253=require("./rfc4253");var SSHBuffer=require("../ssh-buffer");var errors=require("../errors");var bcrypt;function read(buf,options){return pem.read(buf,options)}var MAGIC="openssh-key-v1";function readSSHPrivate(type,buf,options){buf=new SSHBuffer({buffer:buf});var magic=buf.readCString();assert.strictEqual(magic,MAGIC,"bad magic string");var cipher=buf.readString();var kdf=buf.readString();var kdfOpts=buf.readBuffer();var nkeys=buf.readInt();if(nkeys!==1){throw new Error("OpenSSH-format key file contains "+"multiple keys: this is unsupported.")}var pubKey=buf.readBuffer();if(type==="public"){assert.ok(buf.atEnd(),"excess bytes left after key");return rfc4253.read(pubKey)}var privKeyBlob=buf.readBuffer();assert.ok(buf.atEnd(),"excess bytes left after key");var kdfOptsBuf=new SSHBuffer({buffer:kdfOpts});switch(kdf){case"none":if(cipher!=="none"){throw new Error('OpenSSH-format key uses KDF "none" '+'but specifies a cipher other than "none"')}break;case"bcrypt":var salt=kdfOptsBuf.readBuffer();var rounds=kdfOptsBuf.readInt();var cinf=utils.opensshCipherInfo(cipher);if(bcrypt===undefined){bcrypt=require("bcrypt-pbkdf")}if(typeof options.passphrase==="string"){options.passphrase=Buffer.from(options.passphrase,"utf-8")}if(!Buffer.isBuffer(options.passphrase)){throw new errors.KeyEncryptedError(options.filename,"OpenSSH")}var pass=new Uint8Array(options.passphrase);var salti=new Uint8Array(salt);var out=new Uint8Array(cinf.keySize+cinf.blockSize);var res=bcrypt.pbkdf(pass,pass.length,salti,salti.length,out,out.length,rounds);if(res!==0){throw new Error("bcrypt_pbkdf function returned "+"failure, parameters invalid")}out=Buffer.from(out);var ckey=out.slice(0,cinf.keySize);var iv=out.slice(cinf.keySize,cinf.keySize+cinf.blockSize);var cipherStream=crypto.createDecipheriv(cinf.opensslName,ckey,iv);cipherStream.setAutoPadding(false);var chunk,chunks=[];cipherStream.once("error",(function(e){if(e.toString().indexOf("bad decrypt")!==-1){throw new Error("Incorrect passphrase "+"supplied, could not decrypt key")}throw e}));cipherStream.write(privKeyBlob);cipherStream.end();while((chunk=cipherStream.read())!==null)chunks.push(chunk);privKeyBlob=Buffer.concat(chunks);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+kdf+'"')}buf=new SSHBuffer({buffer:privKeyBlob});var checkInt1=buf.readInt();var checkInt2=buf.readInt();if(checkInt1!==checkInt2){throw new Error("Incorrect passphrase supplied, could not "+"decrypt key")}var ret={};var key=rfc4253.readInternal(ret,"private",buf.remainder());buf.skip(ret.consumed);var comment=buf.readString();key.comment=comment;return key}function write(key,options){var pubKey;if(PrivateKey.isPrivateKey(key))pubKey=key.toPublic();else pubKey=key;var cipher="none";var kdf="none";var kdfopts=Buffer.alloc(0);var cinf={blockSize:8};var passphrase;if(options!==undefined){passphrase=options.passphrase;if(typeof passphrase==="string")passphrase=Buffer.from(passphrase,"utf-8");if(passphrase!==undefined){assert.buffer(passphrase,"options.passphrase");assert.optionalString(options.cipher,"options.cipher");cipher=options.cipher;if(cipher===undefined)cipher="aes128-ctr";cinf=utils.opensshCipherInfo(cipher);kdf="bcrypt"}}var privBuf;if(PrivateKey.isPrivateKey(key)){privBuf=new SSHBuffer({});var checkInt=crypto.randomBytes(4).readUInt32BE(0);privBuf.writeInt(checkInt);privBuf.writeInt(checkInt);privBuf.write(key.toBuffer("rfc4253"));privBuf.writeString(key.comment||"");var n=1;while(privBuf._offset%cinf.blockSize!==0)privBuf.writeChar(n++);privBuf=privBuf.toBuffer()}switch(kdf){case"none":break;case"bcrypt":var salt=crypto.randomBytes(16);var rounds=16;var kdfssh=new SSHBuffer({});kdfssh.writeBuffer(salt);kdfssh.writeInt(rounds);kdfopts=kdfssh.toBuffer();if(bcrypt===undefined){bcrypt=require("bcrypt-pbkdf")}var pass=new Uint8Array(passphrase);var salti=new Uint8Array(salt);var out=new Uint8Array(cinf.keySize+cinf.blockSize);var res=bcrypt.pbkdf(pass,pass.length,salti,salti.length,out,out.length,rounds);if(res!==0){throw new Error("bcrypt_pbkdf function returned "+"failure, parameters invalid")}out=Buffer.from(out);var ckey=out.slice(0,cinf.keySize);var iv=out.slice(cinf.keySize,cinf.keySize+cinf.blockSize);var cipherStream=crypto.createCipheriv(cinf.opensslName,ckey,iv);cipherStream.setAutoPadding(false);var chunk,chunks=[];cipherStream.once("error",(function(e){throw e}));cipherStream.write(privBuf);cipherStream.end();while((chunk=cipherStream.read())!==null)chunks.push(chunk);privBuf=Buffer.concat(chunks);break;default:throw new Error("Unsupported kdf "+kdf)}var buf=new SSHBuffer({});buf.writeCString(MAGIC);buf.writeString(cipher);buf.writeString(kdf);buf.writeBuffer(kdfopts);buf.writeInt(1);buf.writeBuffer(pubKey.toBuffer("rfc4253"));if(privBuf)buf.writeBuffer(privBuf);buf=buf.toBuffer();var header;if(PrivateKey.isPrivateKey(key))header="OPENSSH PRIVATE KEY";else header="OPENSSH PUBLIC KEY";var tmp=buf.toString("base64");var len=tmp.length+tmp.length/70+18+16+header.length*2+10;buf=Buffer.alloc(len);var o=0;o+=buf.write("-----BEGIN "+header+"-----\n",o);for(var i=0;i<tmp.length;){var limit=i+70;if(limit>tmp.length)limit=tmp.length;o+=buf.write(tmp.slice(i,limit),o);buf[o++]=10;i=limit}o+=buf.write("-----END "+header+"-----\n",o);return buf.slice(0,o)}},{"../algs":929,"../errors":933,"../key":949,"../private-key":950,"../ssh-buffer":952,"../utils":953,"./pem":938,"./rfc4253":942,asn1:69,"assert-plus":70,"bcrypt-pbkdf":79,crypto:143,"safer-buffer":908}],944:[function(require,module,exports){module.exports={read:read,write:write};var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var rfc4253=require("./rfc4253");var utils=require("../utils");var Key=require("../key");var PrivateKey=require("../private-key");var sshpriv=require("./ssh-private");var SSHKEY_RE=/^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([ \t]+([^ \t][^\n]*[\n]*)?)?$/;var SSHKEY_RE2=/^([a-z0-9-]+)[ \t\n]+([a-zA-Z0-9+\/][a-zA-Z0-9+\/ \t\n=]*)([^a-zA-Z0-9+\/ \t\n=].*)?$/;function read(buf,options){if(typeof buf!=="string"){assert.buffer(buf,"buf");buf=buf.toString("ascii")}var trimmed=buf.trim().replace(/[\\\r]/g,"");var m=trimmed.match(SSHKEY_RE);if(!m)m=trimmed.match(SSHKEY_RE2);assert.ok(m,"key must match regex");var type=rfc4253.algToKeyType(m[1]);var kbuf=Buffer.from(m[2],"base64");var key;var ret={};if(m[4]){try{key=rfc4253.read(kbuf)}catch(e){m=trimmed.match(SSHKEY_RE2);assert.ok(m,"key must match regex");kbuf=Buffer.from(m[2],"base64");key=rfc4253.readInternal(ret,"public",kbuf)}}else{key=rfc4253.readInternal(ret,"public",kbuf)}assert.strictEqual(type,key.type);if(m[4]&&m[4].length>0){key.comment=m[4]}else if(ret.consumed){var data=m[2]+(m[3]?m[3]:"");var realOffset=Math.ceil(ret.consumed/3)*4;data=data.slice(0,realOffset-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+data.slice(realOffset-2);var padding=ret.consumed%3;if(padding>0&&data.slice(realOffset-1,realOffset)!=="=")realOffset--;while(data.slice(realOffset,realOffset+1)==="=")realOffset++;var trailer=data.slice(realOffset);trailer=trailer.replace(/[\r\n]/g," ").replace(/^\s+/,"");if(trailer.match(/^[a-zA-Z0-9]/))key.comment=trailer}return key}function write(key,options){assert.object(key);if(!Key.isKey(key))throw new Error("Must be a public key");var parts=[];var alg=rfc4253.keyTypeToAlg(key);parts.push(alg);var buf=rfc4253.write(key);parts.push(buf.toString("base64"));if(key.comment)parts.push(key.comment);return Buffer.from(parts.join(" "))}},{"../key":949,"../private-key":950,"../utils":953,"./rfc4253":942,"./ssh-private":943,"assert-plus":70,"safer-buffer":908}],945:[function(require,module,exports){var x509=require("./x509");module.exports={read:read,verify:x509.verify,sign:x509.sign,write:write};var assert=require("assert-plus");var asn1=require("asn1");var Buffer=require("safer-buffer").Buffer;var algs=require("../algs");var utils=require("../utils");var Key=require("../key");var PrivateKey=require("../private-key");var pem=require("./pem");var Identity=require("../identity");var Signature=require("../signature");var Certificate=require("../certificate");function read(buf,options){if(typeof buf!=="string"){assert.buffer(buf,"buf");buf=buf.toString("ascii")}var lines=buf.trim().split(/[\r\n]+/g);var m;var si=-1;while(!m&&si<lines.length){m=lines[++si].match(/[-]+[ ]*BEGIN CERTIFICATE[ ]*[-]+/)}assert.ok(m,"invalid PEM header");var m2;var ei=lines.length;while(!m2&&ei>0){m2=lines[--ei].match(/[-]+[ ]*END CERTIFICATE[ ]*[-]+/)}assert.ok(m2,"invalid PEM footer");lines=lines.slice(si,ei+1);var headers={};while(true){lines=lines.slice(1);m=lines[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!m)break;headers[m[1].toLowerCase()]=m[2]}lines=lines.slice(0,-1).join("");buf=Buffer.from(lines,"base64");return x509.read(buf,options)}function write(cert,options){var dbuf=x509.write(cert,options);var header="CERTIFICATE";var tmp=dbuf.toString("base64");var len=tmp.length+tmp.length/64+18+16+header.length*2+10;var buf=Buffer.alloc(len);var o=0;o+=buf.write("-----BEGIN "+header+"-----\n",o);for(var i=0;i<tmp.length;){var limit=i+64;if(limit>tmp.length)limit=tmp.length;o+=buf.write(tmp.slice(i,limit),o);buf[o++]=10;i=limit}o+=buf.write("-----END "+header+"-----\n",o);return buf.slice(0,o)}},{"../algs":929,"../certificate":930,"../identity":947,"../key":949,"../private-key":950,"../signature":951,"../utils":953,"./pem":938,"./x509":946,asn1:69,"assert-plus":70,"safer-buffer":908}],946:[function(require,module,exports){module.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,write:write};var assert=require("assert-plus");var asn1=require("asn1");var Buffer=require("safer-buffer").Buffer;var algs=require("../algs");var utils=require("../utils");var Key=require("../key");var PrivateKey=require("../private-key");var pem=require("./pem");var Identity=require("../identity");var Signature=require("../signature");var Certificate=require("../certificate");var pkcs8=require("./pkcs8");function readMPInt(der,nm){assert.strictEqual(der.peek(),asn1.Ber.Integer,nm+" is not an Integer");return utils.mpNormalize(der.readString(asn1.Ber.Integer,true))}function verify(cert,key){var sig=cert.signatures.x509;assert.object(sig,"x509 signature");var algParts=sig.algo.split("-");if(algParts[0]!==key.type)return false;var blob=sig.cache;if(blob===undefined){var der=new asn1.BerWriter;writeTBSCert(cert,der);blob=der.buffer}var verifier=key.createVerify(algParts[1]);verifier.write(blob);return verifier.verify(sig.signature)}function Local(i){return asn1.Ber.Context|asn1.Ber.Constructor|i}function Context(i){return asn1.Ber.Context|i}var SIGN_ALGS={"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","ed25519-sha512":"1.3.101.112"};Object.keys(SIGN_ALGS).forEach((function(k){SIGN_ALGS[SIGN_ALGS[k]]=k}));SIGN_ALGS["1.3.14.3.2.3"]="rsa-md5";SIGN_ALGS["1.3.14.3.2.29"]="rsa-sha1";var EXTS={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"};function read(buf,options){if(typeof buf==="string"){buf=Buffer.from(buf,"binary")}assert.buffer(buf,"buf");var der=new asn1.BerReader(buf);der.readSequence();if(Math.abs(der.length-der.remain)>1){throw new Error("DER sequence does not contain whole byte "+"stream")}var tbsStart=der.offset;der.readSequence();var sigOffset=der.offset+der.length;var tbsEnd=sigOffset;if(der.peek()===Local(0)){der.readSequence(Local(0));var version=der.readInt();assert.ok(version<=3,"only x.509 versions up to v3 supported")}var cert={};cert.signatures={};var sig=cert.signatures.x509={};sig.extras={};cert.serial=readMPInt(der,"serial");der.readSequence();var after=der.offset+der.length;var certAlgOid=der.readOID();var certAlg=SIGN_ALGS[certAlgOid];if(certAlg===undefined)throw new Error("unknown signature algorithm "+certAlgOid);der._offset=after;cert.issuer=Identity.parseAsn1(der);der.readSequence();cert.validFrom=readDate(der);cert.validUntil=readDate(der);cert.subjects=[Identity.parseAsn1(der)];der.readSequence();after=der.offset+der.length;cert.subjectKey=pkcs8.readPkcs8(undefined,"public",der);der._offset=after;if(der.peek()===Local(1)){der.readSequence(Local(1));sig.extras.issuerUniqueID=buf.slice(der.offset,der.offset+der.length);der._offset+=der.length}if(der.peek()===Local(2)){der.readSequence(Local(2));sig.extras.subjectUniqueID=buf.slice(der.offset,der.offset+der.length);der._offset+=der.length}if(der.peek()===Local(3)){der.readSequence(Local(3));var extEnd=der.offset+der.length;der.readSequence();while(der.offset<extEnd)readExtension(cert,buf,der);assert.strictEqual(der.offset,extEnd)}assert.strictEqual(der.offset,sigOffset);der.readSequence();after=der.offset+der.length;var sigAlgOid=der.readOID();var sigAlg=SIGN_ALGS[sigAlgOid];if(sigAlg===undefined)throw new Error("unknown signature algorithm "+sigAlgOid);der._offset=after;var sigData=der.readString(asn1.Ber.BitString,true);if(sigData[0]===0)sigData=sigData.slice(1);var algParts=sigAlg.split("-");sig.signature=Signature.parse(sigData,algParts[0],"asn1");sig.signature.hashAlgorithm=algParts[1];sig.algo=sigAlg;sig.cache=buf.slice(tbsStart,tbsEnd);return new Certificate(cert)}function readDate(der){if(der.peek()===asn1.Ber.UTCTime){return utcTimeToDate(der.readString(asn1.Ber.UTCTime))}else if(der.peek()===asn1.Ber.GeneralizedTime){return gTimeToDate(der.readString(asn1.Ber.GeneralizedTime))}else{throw new Error("Unsupported date format")}}function writeDate(der,date){if(date.getUTCFullYear()>=2050||date.getUTCFullYear()<1950){der.writeString(dateToGTime(date),asn1.Ber.GeneralizedTime)}else{der.writeString(dateToUTCTime(date),asn1.Ber.UTCTime)}}var ALTNAME={OtherName:Local(0),RFC822Name:Context(1),DNSName:Context(2),X400Address:Local(3),DirectoryName:Local(4),EDIPartyName:Local(5),URI:Context(6),IPAddress:Context(7),OID:Context(8)};var EXTPURPOSE={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"};var EXTPURPOSE_REV={};Object.keys(EXTPURPOSE).forEach((function(k){EXTPURPOSE_REV[EXTPURPOSE[k]]=k}));var KEYUSEBITS=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function readExtension(cert,buf,der){der.readSequence();var after=der.offset+der.length;var extId=der.readOID();var id;var sig=cert.signatures.x509;if(!sig.extras.exts)sig.extras.exts=[];var critical;if(der.peek()===asn1.Ber.Boolean)critical=der.readBoolean();switch(extId){case EXTS.basicConstraints:der.readSequence(asn1.Ber.OctetString);der.readSequence();var bcEnd=der.offset+der.length;var ca=false;if(der.peek()===asn1.Ber.Boolean)ca=der.readBoolean();if(cert.purposes===undefined)cert.purposes=[];if(ca===true)cert.purposes.push("ca");var bc={oid:extId,critical:critical};if(der.offset<bcEnd&&der.peek()===asn1.Ber.Integer)bc.pathLen=der.readInt();sig.extras.exts.push(bc);break;case EXTS.extKeyUsage:der.readSequence(asn1.Ber.OctetString);der.readSequence();if(cert.purposes===undefined)cert.purposes=[];var ekEnd=der.offset+der.length;while(der.offset<ekEnd){var oid=der.readOID();cert.purposes.push(EXTPURPOSE_REV[oid]||oid)}if(cert.purposes.indexOf("serverAuth")!==-1&&cert.purposes.indexOf("clientAuth")===-1){cert.subjects.forEach((function(ide){if(ide.type!=="host"){ide.type="host";ide.hostname=ide.uid||ide.email||ide.components[0].value}}))}else if(cert.purposes.indexOf("clientAuth")!==-1&&cert.purposes.indexOf("serverAuth")===-1){cert.subjects.forEach((function(ide){if(ide.type!=="user"){ide.type="user";ide.uid=ide.hostname||ide.email||ide.components[0].value}}))}sig.extras.exts.push({oid:extId,critical:critical});break;case EXTS.keyUsage:der.readSequence(asn1.Ber.OctetString);var bits=der.readString(asn1.Ber.BitString,true);var setBits=readBitField(bits,KEYUSEBITS);setBits.forEach((function(bit){if(cert.purposes===undefined)cert.purposes=[];if(cert.purposes.indexOf(bit)===-1)cert.purposes.push(bit)}));sig.extras.exts.push({oid:extId,critical:critical,bits:bits});break;case EXTS.altName:der.readSequence(asn1.Ber.OctetString);der.readSequence();var aeEnd=der.offset+der.length;while(der.offset<aeEnd){switch(der.peek()){case ALTNAME.OtherName:case ALTNAME.EDIPartyName:der.readSequence();der._offset+=der.length;break;case ALTNAME.OID:der.readOID(ALTNAME.OID);break;case ALTNAME.RFC822Name:var email=der.readString(ALTNAME.RFC822Name);id=Identity.forEmail(email);if(!cert.subjects[0].equals(id))cert.subjects.push(id);break;case ALTNAME.DirectoryName:der.readSequence(ALTNAME.DirectoryName);id=Identity.parseAsn1(der);if(!cert.subjects[0].equals(id))cert.subjects.push(id);break;case ALTNAME.DNSName:var host=der.readString(ALTNAME.DNSName);id=Identity.forHost(host);if(!cert.subjects[0].equals(id))cert.subjects.push(id);break;default:der.readString(der.peek());break}}sig.extras.exts.push({oid:extId,critical:critical});break;default:sig.extras.exts.push({oid:extId,critical:critical,data:der.readString(asn1.Ber.OctetString,true)});break}der._offset=after}var UTCTIME_RE=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function utcTimeToDate(t){var m=t.match(UTCTIME_RE);assert.ok(m,"timestamps must be in UTC");var d=new Date;var thisYear=d.getUTCFullYear();var century=Math.floor(thisYear/100)*100;var year=parseInt(m[1],10);if(thisYear%100<50&&year>=60)year+=century-1;else year+=century;d.setUTCFullYear(year,parseInt(m[2],10)-1,parseInt(m[3],10));d.setUTCHours(parseInt(m[4],10),parseInt(m[5],10));if(m[6]&&m[6].length>0)d.setUTCSeconds(parseInt(m[6],10));return d}var GTIME_RE=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function gTimeToDate(t){var m=t.match(GTIME_RE);assert.ok(m);var d=new Date;d.setUTCFullYear(parseInt(m[1],10),parseInt(m[2],10)-1,parseInt(m[3],10));d.setUTCHours(parseInt(m[4],10),parseInt(m[5],10));if(m[6]&&m[6].length>0)d.setUTCSeconds(parseInt(m[6],10));return d}function zeroPad(n,m){if(m===undefined)m=2;var s=""+n;while(s.length<m)s="0"+s;return s}function dateToUTCTime(d){var s="";s+=zeroPad(d.getUTCFullYear()%100);s+=zeroPad(d.getUTCMonth()+1);s+=zeroPad(d.getUTCDate());s+=zeroPad(d.getUTCHours());s+=zeroPad(d.getUTCMinutes());s+=zeroPad(d.getUTCSeconds());s+="Z";return s}function dateToGTime(d){var s="";s+=zeroPad(d.getUTCFullYear(),4);s+=zeroPad(d.getUTCMonth()+1);s+=zeroPad(d.getUTCDate());s+=zeroPad(d.getUTCHours());s+=zeroPad(d.getUTCMinutes());s+=zeroPad(d.getUTCSeconds());s+="Z";return s}function sign(cert,key){if(cert.signatures.x509===undefined)cert.signatures.x509={};var sig=cert.signatures.x509;sig.algo=key.type+"-"+key.defaultHashAlgorithm();if(SIGN_ALGS[sig.algo]===undefined)return false;var der=new asn1.BerWriter;writeTBSCert(cert,der);var blob=der.buffer;sig.cache=blob;var signer=key.createSign();signer.write(blob);cert.signatures.x509.signature=signer.sign();return true}function signAsync(cert,signer,done){if(cert.signatures.x509===undefined)cert.signatures.x509={};var sig=cert.signatures.x509;var der=new asn1.BerWriter;writeTBSCert(cert,der);var blob=der.buffer;sig.cache=blob;signer(blob,(function(err,signature){if(err){done(err);return}sig.algo=signature.type+"-"+signature.hashAlgorithm;if(SIGN_ALGS[sig.algo]===undefined){done(new Error('Invalid signing algorithm "'+sig.algo+'"'));return}sig.signature=signature;done()}))}function write(cert,options){var sig=cert.signatures.x509;assert.object(sig,"x509 signature");var der=new asn1.BerWriter;der.startSequence();if(sig.cache){der._ensure(sig.cache.length);sig.cache.copy(der._buf,der._offset);der._offset+=sig.cache.length}else{writeTBSCert(cert,der)}der.startSequence();der.writeOID(SIGN_ALGS[sig.algo]);if(sig.algo.match(/^rsa-/))der.writeNull();der.endSequence();var sigData=sig.signature.toBuffer("asn1");var data=Buffer.alloc(sigData.length+1);data[0]=0;sigData.copy(data,1);der.writeBuffer(data,asn1.Ber.BitString);der.endSequence();return der.buffer}function writeTBSCert(cert,der){var sig=cert.signatures.x509;assert.object(sig,"x509 signature");der.startSequence();der.startSequence(Local(0));der.writeInt(2);der.endSequence();der.writeBuffer(utils.mpNormalize(cert.serial),asn1.Ber.Integer);der.startSequence();der.writeOID(SIGN_ALGS[sig.algo]);if(sig.algo.match(/^rsa-/))der.writeNull();der.endSequence();cert.issuer.toAsn1(der);der.startSequence();writeDate(der,cert.validFrom);writeDate(der,cert.validUntil);der.endSequence();var subject=cert.subjects[0];var altNames=cert.subjects.slice(1);subject.toAsn1(der);pkcs8.writePkcs8(der,cert.subjectKey);if(sig.extras&&sig.extras.issuerUniqueID){der.writeBuffer(sig.extras.issuerUniqueID,Local(1))}if(sig.extras&&sig.extras.subjectUniqueID){der.writeBuffer(sig.extras.subjectUniqueID,Local(2))}if(altNames.length>0||subject.type==="host"||cert.purposes!==undefined&&cert.purposes.length>0||sig.extras&&sig.extras.exts){der.startSequence(Local(3));der.startSequence();var exts=[];if(cert.purposes!==undefined&&cert.purposes.length>0){exts.push({oid:EXTS.basicConstraints,critical:true});exts.push({oid:EXTS.keyUsage,critical:true});exts.push({oid:EXTS.extKeyUsage,critical:true})}exts.push({oid:EXTS.altName});if(sig.extras&&sig.extras.exts)exts=sig.extras.exts;for(var i=0;i<exts.length;++i){der.startSequence();der.writeOID(exts[i].oid);if(exts[i].critical!==undefined)der.writeBoolean(exts[i].critical);if(exts[i].oid===EXTS.altName){der.startSequence(asn1.Ber.OctetString);der.startSequence();if(subject.type==="host"){der.writeString(subject.hostname,Context(2))}for(var j=0;j<altNames.length;++j){if(altNames[j].type==="host"){der.writeString(altNames[j].hostname,ALTNAME.DNSName)}else if(altNames[j].type==="email"){der.writeString(altNames[j].email,ALTNAME.RFC822Name)}else{der.startSequence(ALTNAME.DirectoryName);altNames[j].toAsn1(der);der.endSequence()}}der.endSequence();der.endSequence()}else if(exts[i].oid===EXTS.basicConstraints){der.startSequence(asn1.Ber.OctetString);der.startSequence();var ca=cert.purposes.indexOf("ca")!==-1;var pathLen=exts[i].pathLen;der.writeBoolean(ca);if(pathLen!==undefined)der.writeInt(pathLen);der.endSequence();der.endSequence()}else if(exts[i].oid===EXTS.extKeyUsage){der.startSequence(asn1.Ber.OctetString);der.startSequence();cert.purposes.forEach((function(purpose){if(purpose==="ca")return;if(KEYUSEBITS.indexOf(purpose)!==-1)return;var oid=purpose;if(EXTPURPOSE[purpose]!==undefined)oid=EXTPURPOSE[purpose];der.writeOID(oid)}));der.endSequence();der.endSequence()}else if(exts[i].oid===EXTS.keyUsage){der.startSequence(asn1.Ber.OctetString);if(exts[i].bits!==undefined){der.writeBuffer(exts[i].bits,asn1.Ber.BitString)}else{var bits=writeBitField(cert.purposes,KEYUSEBITS);der.writeBuffer(bits,asn1.Ber.BitString)}der.endSequence()}else{der.writeBuffer(exts[i].data,asn1.Ber.OctetString)}der.endSequence()}der.endSequence();der.endSequence()}der.endSequence()}function readBitField(bits,bitIndex){var bitLen=8*(bits.length-1)-bits[0];var setBits={};for(var i=0;i<bitLen;++i){var byteN=1+Math.floor(i/8);var bit=7-i%8;var mask=1<<bit;var bitVal=(bits[byteN]&mask)!==0;var name=bitIndex[i];if(bitVal&&typeof name==="string"){setBits[name]=true}}return Object.keys(setBits)}function writeBitField(setBits,bitIndex){var bitLen=bitIndex.length;var blen=Math.ceil(bitLen/8);var unused=blen*8-bitLen;var bits=Buffer.alloc(1+blen);bits[0]=unused;for(var i=0;i<bitLen;++i){var byteN=1+Math.floor(i/8);var bit=7-i%8;var mask=1<<bit;var name=bitIndex[i];if(name===undefined)continue;var bitVal=setBits.indexOf(name)!==-1;if(bitVal){bits[byteN]|=mask}}return bits}},{"../algs":929,"../certificate":930,"../identity":947,"../key":949,"../private-key":950,"../signature":951,"../utils":953,"./pem":938,"./pkcs8":940,asn1:69,"assert-plus":70,"safer-buffer":908}],947:[function(require,module,exports){module.exports=Identity;var assert=require("assert-plus");var algs=require("./algs");var crypto=require("crypto");var Fingerprint=require("./fingerprint");var Signature=require("./signature");var errs=require("./errors");var util=require("util");var utils=require("./utils");var asn1=require("asn1");var Buffer=require("safer-buffer").Buffer;var DNS_NAME_RE=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i;var oids={};oids.cn="2.5.4.3";oids.o="2.5.4.10";oids.ou="2.5.4.11";oids.l="2.5.4.7";oids.s="2.5.4.8";oids.c="2.5.4.6";oids.sn="2.5.4.4";oids.postalCode="2.5.4.17";oids.serialNumber="2.5.4.5";oids.street="2.5.4.9";oids.x500UniqueIdentifier="2.5.4.45";oids.role="2.5.4.72";oids.telephoneNumber="2.5.4.20";oids.description="2.5.4.13";oids.dc="0.9.2342.19200300.100.1.25";oids.uid="0.9.2342.19200300.100.1.1";oids.mail="0.9.2342.19200300.100.1.3";oids.title="2.5.4.12";oids.gn="2.5.4.42";oids.initials="2.5.4.43";oids.pseudonym="2.5.4.65";oids.emailAddress="1.2.840.113549.1.9.1";var unoids={};Object.keys(oids).forEach((function(k){unoids[oids[k]]=k}));function Identity(opts){var self=this;assert.object(opts,"options");assert.arrayOfObject(opts.components,"options.components");this.components=opts.components;this.componentLookup={};this.components.forEach((function(c){if(c.name&&!c.oid)c.oid=oids[c.name];if(c.oid&&!c.name)c.name=unoids[c.oid];if(self.componentLookup[c.name]===undefined)self.componentLookup[c.name]=[];self.componentLookup[c.name].push(c)}));if(this.componentLookup.cn&&this.componentLookup.cn.length>0){this.cn=this.componentLookup.cn[0].value}assert.optionalString(opts.type,"options.type");if(opts.type===undefined){if(this.components.length===1&&this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(DNS_NAME_RE)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length){this.type="host";this.hostname=this.componentLookup.dc.map((function(c){return c.value})).join(".")}else if(this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(DNS_NAME_RE)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.uid&&this.componentLookup.uid.length===1){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.mail&&this.componentLookup.mail.length===1){this.type="email";this.email=this.componentLookup.mail[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1){this.type="user";this.uid=this.componentLookup.cn[0].value}else{this.type="unknown"}}else{this.type=opts.type;if(this.type==="host")this.hostname=opts.hostname;else if(this.type==="user")this.uid=opts.uid;else if(this.type==="email")this.email=opts.email;else throw new Error("Unknown type "+this.type)}}Identity.prototype.toString=function(){return this.components.map((function(c){var n=c.name.toUpperCase();n=n.replace(/=/g,"\\=");var v=c.value;v=v.replace(/,/g,"\\,");return n+"="+v})).join(", ")};Identity.prototype.get=function(name,asArray){assert.string(name,"name");var arr=this.componentLookup[name];if(arr===undefined||arr.length===0)return undefined;if(!asArray&&arr.length>1)throw new Error("Multiple values for attribute "+name);if(!asArray)return arr[0].value;return arr.map((function(c){return c.value}))};Identity.prototype.toArray=function(idx){return this.components.map((function(c){return{name:c.name,value:c.value}}))};var NOT_PRINTABLE=/[^a-zA-Z0-9 '(),+.\/:=?-]/;var NOT_IA5=/[^\x00-\x7f]/;Identity.prototype.toAsn1=function(der,tag){der.startSequence(tag);this.components.forEach((function(c){der.startSequence(asn1.Ber.Constructor|asn1.Ber.Set);der.startSequence();der.writeOID(c.oid);if(c.asn1type===asn1.Ber.Utf8String||c.value.match(NOT_IA5)){var v=Buffer.from(c.value,"utf8");der.writeBuffer(v,asn1.Ber.Utf8String)}else if(c.asn1type===asn1.Ber.IA5String||c.value.match(NOT_PRINTABLE)){der.writeString(c.value,asn1.Ber.IA5String)}else{var type=asn1.Ber.PrintableString;if(c.asn1type!==undefined)type=c.asn1type;der.writeString(c.value,type)}der.endSequence();der.endSequence()}));der.endSequence()};function globMatch(a,b){if(a==="**"||b==="**")return true;var aParts=a.split(".");var bParts=b.split(".");if(aParts.length!==bParts.length)return false;for(var i=0;i<aParts.length;++i){if(aParts[i]==="*"||bParts[i]==="*")continue;if(aParts[i]!==bParts[i])return false}return true}Identity.prototype.equals=function(other){if(!Identity.isIdentity(other,[1,0]))return false;if(other.components.length!==this.components.length)return false;for(var i=0;i<this.components.length;++i){if(this.components[i].oid!==other.components[i].oid)return false;if(!globMatch(this.components[i].value,other.components[i].value)){return false}}return true};Identity.forHost=function(hostname){assert.string(hostname,"hostname");return new Identity({type:"host",hostname:hostname,components:[{name:"cn",value:hostname}]})};Identity.forUser=function(uid){assert.string(uid,"uid");return new Identity({type:"user",uid:uid,components:[{name:"uid",value:uid}]})};Identity.forEmail=function(email){assert.string(email,"email");return new Identity({type:"email",email:email,components:[{name:"mail",value:email}]})};Identity.parseDN=function(dn){assert.string(dn,"dn");var parts=[""];var idx=0;var rem=dn;while(rem.length>0){var m;if((m=/^,/.exec(rem))!==null){parts[++idx]="";rem=rem.slice(m[0].length)}else if((m=/^\\,/.exec(rem))!==null){parts[idx]+=",";rem=rem.slice(m[0].length)}else if((m=/^\\./.exec(rem))!==null){parts[idx]+=m[0];rem=rem.slice(m[0].length)}else if((m=/^[^\\,]+/.exec(rem))!==null){parts[idx]+=m[0];rem=rem.slice(m[0].length)}else{throw new Error("Failed to parse DN")}}var cmps=parts.map((function(c){c=c.trim();var eqPos=c.indexOf("=");while(eqPos>0&&c.charAt(eqPos-1)==="\\")eqPos=c.indexOf("=",eqPos+1);if(eqPos===-1){throw new Error("Failed to parse DN")}var name=c.slice(0,eqPos).toLowerCase().replace(/\\=/g,"=");var value=c.slice(eqPos+1);return{name:name,value:value}}));return new Identity({components:cmps})};Identity.fromArray=function(components){assert.arrayOfObject(components,"components");components.forEach((function(cmp){assert.object(cmp,"component");assert.string(cmp.name,"component.name");if(!Buffer.isBuffer(cmp.value)&&!(typeof cmp.value==="string")){throw new Error("Invalid component value")}}));return new Identity({components:components})};Identity.parseAsn1=function(der,top){var components=[];der.readSequence(top);var end=der.offset+der.length;while(der.offset<end){der.readSequence(asn1.Ber.Constructor|asn1.Ber.Set);var after=der.offset+der.length;der.readSequence();var oid=der.readOID();var type=der.peek();var value;switch(type){case asn1.Ber.PrintableString:case asn1.Ber.IA5String:case asn1.Ber.OctetString:case asn1.Ber.T61String:value=der.readString(type);break;case asn1.Ber.Utf8String:value=der.readString(type,true);value=value.toString("utf8");break;case asn1.Ber.CharacterString:case asn1.Ber.BMPString:value=der.readString(type,true);value=value.toString("utf16le");break;default:throw new Error("Unknown asn1 type "+type)}components.push({oid:oid,asn1type:type,value:value});der._offset=after}der._offset=end;return new Identity({components:components})};Identity.isIdentity=function(obj,ver){return utils.isCompatible(obj,Identity,ver)};Identity.prototype._sshpkApiVersion=[1,0];Identity._oldVersionDetect=function(obj){return[1,0]}},{"./algs":929,"./errors":933,"./fingerprint":934,"./signature":951,"./utils":953,asn1:69,"assert-plus":70,crypto:143,"safer-buffer":908,util:1e3}],948:[function(require,module,exports){var Key=require("./key");var Fingerprint=require("./fingerprint");var Signature=require("./signature");var PrivateKey=require("./private-key");var Certificate=require("./certificate");var Identity=require("./identity");var errs=require("./errors");module.exports={Key:Key,parseKey:Key.parse,Fingerprint:Fingerprint,parseFingerprint:Fingerprint.parse,Signature:Signature,parseSignature:Signature.parse,PrivateKey:PrivateKey,parsePrivateKey:PrivateKey.parse,generatePrivateKey:PrivateKey.generate,Certificate:Certificate,parseCertificate:Certificate.parse,createSelfSignedCertificate:Certificate.createSelfSigned,createCertificate:Certificate.create,Identity:Identity,identityFromDN:Identity.parseDN,identityForHost:Identity.forHost,identityForUser:Identity.forUser,identityForEmail:Identity.forEmail,identityFromArray:Identity.fromArray,FingerprintFormatError:errs.FingerprintFormatError,InvalidAlgorithmError:errs.InvalidAlgorithmError,KeyParseError:errs.KeyParseError,SignatureParseError:errs.SignatureParseError,KeyEncryptedError:errs.KeyEncryptedError,CertificateParseError:errs.CertificateParseError}},{"./certificate":930,"./errors":933,"./fingerprint":934,"./identity":947,"./key":949,"./private-key":950,"./signature":951}],949:[function(require,module,exports){(function(Buffer){module.exports=Key;var assert=require("assert-plus");var algs=require("./algs");var crypto=require("crypto");var Fingerprint=require("./fingerprint");var Signature=require("./signature");var DiffieHellman=require("./dhe").DiffieHellman;var errs=require("./errors");var utils=require("./utils");var PrivateKey=require("./private-key");var edCompat;try{edCompat=require("./ed-compat")}catch(e){}var InvalidAlgorithmError=errs.InvalidAlgorithmError;var KeyParseError=errs.KeyParseError;var formats={};formats["auto"]=require("./formats/auto");formats["pem"]=require("./formats/pem");formats["pkcs1"]=require("./formats/pkcs1");formats["pkcs8"]=require("./formats/pkcs8");formats["rfc4253"]=require("./formats/rfc4253");formats["ssh"]=require("./formats/ssh");formats["ssh-private"]=require("./formats/ssh-private");formats["openssh"]=formats["ssh-private"];formats["dnssec"]=require("./formats/dnssec");formats["putty"]=require("./formats/putty");formats["ppk"]=formats["putty"];function Key(opts){assert.object(opts,"options");assert.arrayOfObject(opts.parts,"options.parts");assert.string(opts.type,"options.type");assert.optionalString(opts.comment,"options.comment");var algInfo=algs.info[opts.type];if(typeof algInfo!=="object")throw new InvalidAlgorithmError(opts.type);var partLookup={};for(var i=0;i<opts.parts.length;++i){var part=opts.parts[i];partLookup[part.name]=part}this.type=opts.type;this.parts=opts.parts;this.part=partLookup;this.comment=undefined;this.source=opts.source;this._rfc4253Cache=opts._rfc4253Cache;this._hashCache={};var sz;this.curve=undefined;if(this.type==="ecdsa"){var curve=this.part.curve.data.toString();this.curve=curve;sz=algs.curves[curve].size}else if(this.type==="ed25519"||this.type==="curve25519"){sz=256;this.curve="curve25519"}else{var szPart=this.part[algInfo.sizePart];sz=szPart.data.length;sz=sz*8-utils.countZeros(szPart.data)}this.size=sz}Key.formats=formats;Key.prototype.toBuffer=function(format,options){if(format===undefined)format="ssh";assert.string(format,"format");assert.object(formats[format],"formats[format]");assert.optionalObject(options,"options");if(format==="rfc4253"){if(this._rfc4253Cache===undefined)this._rfc4253Cache=formats["rfc4253"].write(this);return this._rfc4253Cache}return formats[format].write(this,options)};Key.prototype.toString=function(format,options){return this.toBuffer(format,options).toString()};Key.prototype.hash=function(algo,type){assert.string(algo,"algorithm");assert.optionalString(type,"type");if(type===undefined)type="ssh";algo=algo.toLowerCase();if(algs.hashAlgs[algo]===undefined)throw new InvalidAlgorithmError(algo);var cacheKey=algo+"||"+type;if(this._hashCache[cacheKey])return this._hashCache[cacheKey];var buf;if(type==="ssh"){buf=this.toBuffer("rfc4253")}else if(type==="spki"){buf=formats.pkcs8.pkcs8ToBuffer(this)}else{throw new Error("Hash type "+type+" not supported")}var hash=crypto.createHash(algo).update(buf).digest();this._hashCache[cacheKey]=hash;return hash};Key.prototype.fingerprint=function(algo,type){if(algo===undefined)algo="sha256";if(type===undefined)type="ssh";assert.string(algo,"algorithm");assert.string(type,"type");var opts={type:"key",hash:this.hash(algo,type),algorithm:algo,hashType:type};return new Fingerprint(opts)};Key.prototype.defaultHashAlgorithm=function(){var hashAlgo="sha1";if(this.type==="rsa")hashAlgo="sha256";if(this.type==="dsa"&&this.size>1024)hashAlgo="sha256";if(this.type==="ed25519")hashAlgo="sha512";if(this.type==="ecdsa"){if(this.size<=256)hashAlgo="sha256";else if(this.size<=384)hashAlgo="sha384";else hashAlgo="sha512"}return hashAlgo};Key.prototype.createVerify=function(hashAlgo){if(hashAlgo===undefined)hashAlgo=this.defaultHashAlgorithm();assert.string(hashAlgo,"hash algorithm");if(this.type==="ed25519"&&edCompat!==undefined)return new edCompat.Verifier(this,hashAlgo);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for "+"signing or verification");var v,nm,err;try{nm=hashAlgo.toUpperCase();v=crypto.createVerify(nm)}catch(e){err=e}if(v===undefined||err instanceof Error&&err.message.match(/Unknown message digest/)){nm="RSA-";nm+=hashAlgo.toUpperCase();v=crypto.createVerify(nm)}assert.ok(v,"failed to create verifier");var oldVerify=v.verify.bind(v);var key=this.toBuffer("pkcs8");var curve=this.curve;var self=this;v.verify=function(signature,fmt){if(Signature.isSignature(signature,[2,0])){if(signature.type!==self.type)return false;if(signature.hashAlgorithm&&signature.hashAlgorithm!==hashAlgo)return false;if(signature.curve&&self.type==="ecdsa"&&signature.curve!==curve)return false;return oldVerify(key,signature.toBuffer("asn1"))}else if(typeof signature==="string"||Buffer.isBuffer(signature)){return oldVerify(key,signature,fmt)}else if(Signature.isSignature(signature,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}else{throw new TypeError("signature must be a string, "+"Buffer, or Signature object")}};return v};Key.prototype.createDiffieHellman=function(){if(this.type==="rsa")throw new Error("RSA keys do not support Diffie-Hellman");return new DiffieHellman(this)};Key.prototype.createDH=Key.prototype.createDiffieHellman;Key.parse=function(data,format,options){if(typeof data!=="string")assert.buffer(data,"data");if(format===undefined)format="auto";assert.string(format,"format");if(typeof options==="string")options={filename:options};assert.optionalObject(options,"options");if(options===undefined)options={};assert.optionalString(options.filename,"options.filename");if(options.filename===undefined)options.filename="(unnamed)";assert.object(formats[format],"formats[format]");try{var k=formats[format].read(data,options);if(k instanceof PrivateKey)k=k.toPublic();if(!k.comment)k.comment=options.filename;return k}catch(e){if(e.name==="KeyEncryptedError")throw e;throw new KeyParseError(options.filename,format,e)}};Key.isKey=function(obj,ver){return utils.isCompatible(obj,Key,ver)};Key.prototype._sshpkApiVersion=[1,7];Key._oldVersionDetect=function(obj){assert.func(obj.toBuffer);assert.func(obj.fingerprint);if(obj.createDH)return[1,4];if(obj.defaultHashAlgorithm)return[1,3];if(obj.formats["auto"])return[1,2];if(obj.formats["pkcs1"])return[1,1];return[1,0]}}).call(this,{isBuffer:require("../../is-buffer/index.js")})},{"../../is-buffer/index.js":328,"./algs":929,"./dhe":931,"./ed-compat":932,"./errors":933,"./fingerprint":934,"./formats/auto":935,"./formats/dnssec":936,"./formats/pem":938,"./formats/pkcs1":939,"./formats/pkcs8":940,"./formats/putty":941,"./formats/rfc4253":942,"./formats/ssh":944,"./formats/ssh-private":943,"./private-key":950,"./signature":951,"./utils":953,"assert-plus":70,crypto:143}],950:[function(require,module,exports){module.exports=PrivateKey;var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var algs=require("./algs");var crypto=require("crypto");var Fingerprint=require("./fingerprint");var Signature=require("./signature");var errs=require("./errors");var util=require("util");var utils=require("./utils");var dhe=require("./dhe");var generateECDSA=dhe.generateECDSA;var generateED25519=dhe.generateED25519;var edCompat=require("./ed-compat");var nacl=require("tweetnacl");var Key=require("./key");var InvalidAlgorithmError=errs.InvalidAlgorithmError;var KeyParseError=errs.KeyParseError;var KeyEncryptedError=errs.KeyEncryptedError;var formats={};formats["auto"]=require("./formats/auto");formats["pem"]=require("./formats/pem");formats["pkcs1"]=require("./formats/pkcs1");formats["pkcs8"]=require("./formats/pkcs8");formats["rfc4253"]=require("./formats/rfc4253");formats["ssh-private"]=require("./formats/ssh-private");formats["openssh"]=formats["ssh-private"];formats["ssh"]=formats["ssh-private"];formats["dnssec"]=require("./formats/dnssec");function PrivateKey(opts){assert.object(opts,"options");Key.call(this,opts);this._pubCache=undefined}util.inherits(PrivateKey,Key);PrivateKey.formats=formats;PrivateKey.prototype.toBuffer=function(format,options){if(format===undefined)format="pkcs1";assert.string(format,"format");assert.object(formats[format],"formats[format]");assert.optionalObject(options,"options");return formats[format].write(this,options)};PrivateKey.prototype.hash=function(algo,type){return this.toPublic().hash(algo,type)};PrivateKey.prototype.fingerprint=function(algo,type){return this.toPublic().fingerprint(algo,type)};PrivateKey.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;var algInfo=algs.info[this.type];var pubParts=[];for(var i=0;i<algInfo.parts.length;++i){var p=algInfo.parts[i];pubParts.push(this.part[p])}this._pubCache=new Key({type:this.type,source:this,parts:pubParts});if(this.comment)this._pubCache.comment=this.comment;return this._pubCache};PrivateKey.prototype.derive=function(newType){assert.string(newType,"type");var priv,pub,pair;if(this.type==="ed25519"&&newType==="curve25519"){priv=this.part.k.data;if(priv[0]===0)priv=priv.slice(1);pair=nacl.box.keyPair.fromSecretKey(new Uint8Array(priv));pub=Buffer.from(pair.publicKey);return new PrivateKey({type:"curve25519",parts:[{name:"A",data:utils.mpNormalize(pub)},{name:"k",data:utils.mpNormalize(priv)}]})}else if(this.type==="curve25519"&&newType==="ed25519"){priv=this.part.k.data;if(priv[0]===0)priv=priv.slice(1);pair=nacl.sign.keyPair.fromSeed(new Uint8Array(priv));pub=Buffer.from(pair.publicKey);return new PrivateKey({type:"ed25519",parts:[{name:"A",data:utils.mpNormalize(pub)},{name:"k",data:utils.mpNormalize(priv)}]})}throw new Error("Key derivation not supported from "+this.type+" to "+newType)};PrivateKey.prototype.createVerify=function(hashAlgo){return this.toPublic().createVerify(hashAlgo)};PrivateKey.prototype.createSign=function(hashAlgo){if(hashAlgo===undefined)hashAlgo=this.defaultHashAlgorithm();assert.string(hashAlgo,"hash algorithm");if(this.type==="ed25519"&&edCompat!==undefined)return new edCompat.Signer(this,hashAlgo);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for "+"signing or verification");var v,nm,err;try{nm=hashAlgo.toUpperCase();v=crypto.createSign(nm)}catch(e){err=e}if(v===undefined||err instanceof Error&&err.message.match(/Unknown message digest/)){nm="RSA-";nm+=hashAlgo.toUpperCase();v=crypto.createSign(nm)}assert.ok(v,"failed to create verifier");var oldSign=v.sign.bind(v);var key=this.toBuffer("pkcs1");var type=this.type;var curve=this.curve;v.sign=function(){var sig=oldSign(key);if(typeof sig==="string")sig=Buffer.from(sig,"binary");sig=Signature.parse(sig,type,"asn1");sig.hashAlgorithm=hashAlgo;sig.curve=curve;return sig};return v};PrivateKey.parse=function(data,format,options){if(typeof data!=="string")assert.buffer(data,"data");if(format===undefined)format="auto";assert.string(format,"format");if(typeof options==="string")options={filename:options};assert.optionalObject(options,"options");if(options===undefined)options={};assert.optionalString(options.filename,"options.filename");if(options.filename===undefined)options.filename="(unnamed)";assert.object(formats[format],"formats[format]");try{var k=formats[format].read(data,options);assert.ok(k instanceof PrivateKey,"key is not a private key");if(!k.comment)k.comment=options.filename;return k}catch(e){if(e.name==="KeyEncryptedError")throw e;throw new KeyParseError(options.filename,format,e)}};PrivateKey.isPrivateKey=function(obj,ver){return utils.isCompatible(obj,PrivateKey,ver)};PrivateKey.generate=function(type,options){if(options===undefined)options={};assert.object(options,"options");switch(type){case"ecdsa":if(options.curve===undefined)options.curve="nistp256";assert.string(options.curve,"options.curve");return generateECDSA(options.curve);case"ed25519":return generateED25519();default:throw new Error("Key generation not supported with key "+'type "'+type+'"')}};PrivateKey.prototype._sshpkApiVersion=[1,6];PrivateKey._oldVersionDetect=function(obj){assert.func(obj.toPublic);assert.func(obj.createSign);if(obj.derive)return[1,3];if(obj.defaultHashAlgorithm)return[1,2];if(obj.formats["auto"])return[1,1];return[1,0]}},{"./algs":929,"./dhe":931,"./ed-compat":932,"./errors":933,"./fingerprint":934,"./formats/auto":935,"./formats/dnssec":936,"./formats/pem":938,"./formats/pkcs1":939,"./formats/pkcs8":940,"./formats/rfc4253":942,"./formats/ssh-private":943,"./key":949,"./signature":951,"./utils":953,"assert-plus":70,crypto:143,"safer-buffer":908,tweetnacl:993,util:1e3}],951:[function(require,module,exports){module.exports=Signature;var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var algs=require("./algs");var crypto=require("crypto");var errs=require("./errors");var utils=require("./utils");var asn1=require("asn1");var SSHBuffer=require("./ssh-buffer");var InvalidAlgorithmError=errs.InvalidAlgorithmError;var SignatureParseError=errs.SignatureParseError;function Signature(opts){assert.object(opts,"options");assert.arrayOfObject(opts.parts,"options.parts");assert.string(opts.type,"options.type");var partLookup={};for(var i=0;i<opts.parts.length;++i){var part=opts.parts[i];partLookup[part.name]=part}this.type=opts.type;this.hashAlgorithm=opts.hashAlgo;this.curve=opts.curve;this.parts=opts.parts;this.part=partLookup}Signature.prototype.toBuffer=function(format){if(format===undefined)format="asn1";assert.string(format,"format");var buf;var stype="ssh-"+this.type;switch(this.type){case"rsa":switch(this.hashAlgorithm){case"sha256":stype="rsa-sha2-256";break;case"sha512":stype="rsa-sha2-512";break;case"sha1":case undefined:break;default:throw new Error("SSH signature "+"format does not support hash "+"algorithm "+this.hashAlgorithm)}if(format==="ssh"){buf=new SSHBuffer({});buf.writeString(stype);buf.writePart(this.part.sig);return buf.toBuffer()}else{return this.part.sig.data}break;case"ed25519":if(format==="ssh"){buf=new SSHBuffer({});buf.writeString(stype);buf.writePart(this.part.sig);return buf.toBuffer()}else{return this.part.sig.data}break;case"dsa":case"ecdsa":var r,s;if(format==="asn1"){var der=new asn1.BerWriter;der.startSequence();r=utils.mpNormalize(this.part.r.data);s=utils.mpNormalize(this.part.s.data);der.writeBuffer(r,asn1.Ber.Integer);der.writeBuffer(s,asn1.Ber.Integer);der.endSequence();return der.buffer}else if(format==="ssh"&&this.type==="dsa"){buf=new SSHBuffer({});buf.writeString("ssh-dss");r=this.part.r.data;if(r.length>20&&r[0]===0)r=r.slice(1);s=this.part.s.data;if(s.length>20&&s[0]===0)s=s.slice(1);if(this.hashAlgorithm&&this.hashAlgorithm!=="sha1"||r.length+s.length!==40){throw new Error("OpenSSH only supports "+"DSA signatures with SHA1 hash")}buf.writeBuffer(Buffer.concat([r,s]));return buf.toBuffer()}else if(format==="ssh"&&this.type==="ecdsa"){var inner=new SSHBuffer({});r=this.part.r.data;inner.writeBuffer(r);inner.writePart(this.part.s);buf=new SSHBuffer({});var curve;if(r[0]===0)r=r.slice(1);var sz=r.length*8;if(sz===256)curve="nistp256";else if(sz===384)curve="nistp384";else if(sz===528)curve="nistp521";buf.writeString("ecdsa-sha2-"+curve);buf.writeBuffer(inner.toBuffer());return buf.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}};Signature.prototype.toString=function(format){assert.optionalString(format,"format");return this.toBuffer(format).toString("base64")};Signature.parse=function(data,type,format){if(typeof data==="string")data=Buffer.from(data,"base64");assert.buffer(data,"data");assert.string(format,"format");assert.string(type,"type");var opts={};opts.type=type.toLowerCase();opts.parts=[];try{assert.ok(data.length>0,"signature must not be empty");switch(opts.type){case"rsa":return parseOneNum(data,type,format,opts);case"ed25519":return parseOneNum(data,type,format,opts);case"dsa":case"ecdsa":if(format==="asn1")return parseDSAasn1(data,type,format,opts);else if(opts.type==="dsa")return parseDSA(data,type,format,opts);else return parseECDSA(data,type,format,opts);default:throw new InvalidAlgorithmError(type)}}catch(e){if(e instanceof InvalidAlgorithmError)throw e;throw new SignatureParseError(type,format,e)}};function parseOneNum(data,type,format,opts){if(format==="ssh"){try{var buf=new SSHBuffer({buffer:data});var head=buf.readString()}catch(e){}if(buf!==undefined){var msg="SSH signature does not match expected "+"type (expected "+type+", got "+head+")";switch(head){case"ssh-rsa":assert.strictEqual(type,"rsa",msg);opts.hashAlgo="sha1";break;case"rsa-sha2-256":assert.strictEqual(type,"rsa",msg);opts.hashAlgo="sha256";break;case"rsa-sha2-512":assert.strictEqual(type,"rsa",msg);opts.hashAlgo="sha512";break;case"ssh-ed25519":assert.strictEqual(type,"ed25519",msg);opts.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature "+"type: "+head)}var sig=buf.readPart();assert.ok(buf.atEnd(),"extra trailing bytes");sig.name="sig";opts.parts.push(sig);return new Signature(opts)}}opts.parts.push({name:"sig",data:data});return new Signature(opts)}function parseDSAasn1(data,type,format,opts){var der=new asn1.BerReader(data);der.readSequence();var r=der.readString(asn1.Ber.Integer,true);var s=der.readString(asn1.Ber.Integer,true);opts.parts.push({name:"r",data:utils.mpNormalize(r)});opts.parts.push({name:"s",data:utils.mpNormalize(s)});return new Signature(opts)}function parseDSA(data,type,format,opts){if(data.length!=40){var buf=new SSHBuffer({buffer:data});var d=buf.readBuffer();if(d.toString("ascii")==="ssh-dss")d=buf.readBuffer();assert.ok(buf.atEnd(),"extra trailing bytes");assert.strictEqual(d.length,40,"invalid inner length");data=d}opts.parts.push({name:"r",data:data.slice(0,20)});opts.parts.push({name:"s",data:data.slice(20,40)});return new Signature(opts)}function parseECDSA(data,type,format,opts){var buf=new SSHBuffer({buffer:data});var r,s;var inner=buf.readBuffer();var stype=inner.toString("ascii");if(stype.slice(0,6)==="ecdsa-"){var parts=stype.split("-");assert.strictEqual(parts[0],"ecdsa");assert.strictEqual(parts[1],"sha2");opts.curve=parts[2];switch(opts.curve){case"nistp256":opts.hashAlgo="sha256";break;case"nistp384":opts.hashAlgo="sha384";break;case"nistp521":opts.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+opts.curve)}inner=buf.readBuffer();assert.ok(buf.atEnd(),"extra trailing bytes on outer");buf=new SSHBuffer({buffer:inner});r=buf.readPart()}else{r={data:inner}}s=buf.readPart();assert.ok(buf.atEnd(),"extra trailing bytes");r.name="r";s.name="s";opts.parts.push(r);opts.parts.push(s);return new Signature(opts)}Signature.isSignature=function(obj,ver){return utils.isCompatible(obj,Signature,ver)};Signature.prototype._sshpkApiVersion=[2,1];Signature._oldVersionDetect=function(obj){assert.func(obj.toBuffer);if(obj.hasOwnProperty("hashAlgorithm"))return[2,0];return[1,0]}},{"./algs":929,"./errors":933,"./ssh-buffer":952,"./utils":953,asn1:69,"assert-plus":70,crypto:143,"safer-buffer":908}],952:[function(require,module,exports){module.exports=SSHBuffer;var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;function SSHBuffer(opts){assert.object(opts,"options");if(opts.buffer!==undefined)assert.buffer(opts.buffer,"options.buffer");this._size=opts.buffer?opts.buffer.length:1024;this._buffer=opts.buffer||Buffer.alloc(this._size);this._offset=0}SSHBuffer.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)};SSHBuffer.prototype.atEnd=function(){return this._offset>=this._buffer.length};SSHBuffer.prototype.remainder=function(){return this._buffer.slice(this._offset)};SSHBuffer.prototype.skip=function(n){this._offset+=n};SSHBuffer.prototype.expand=function(){this._size*=2;var buf=Buffer.alloc(this._size);this._buffer.copy(buf,0);this._buffer=buf};SSHBuffer.prototype.readPart=function(){return{data:this.readBuffer()}};SSHBuffer.prototype.readBuffer=function(){var len=this._buffer.readUInt32BE(this._offset);this._offset+=4;assert.ok(this._offset+len<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var buf=this._buffer.slice(this._offset,this._offset+len);this._offset+=len;return buf};SSHBuffer.prototype.readString=function(){return this.readBuffer().toString()};SSHBuffer.prototype.readCString=function(){var offset=this._offset;while(offset<this._buffer.length&&this._buffer[offset]!==0)offset++;assert.ok(offset<this._buffer.length,"c string does not terminate");var str=this._buffer.slice(this._offset,offset).toString();this._offset=offset+1;return str};SSHBuffer.prototype.readInt=function(){var v=this._buffer.readUInt32BE(this._offset);this._offset+=4;return v};SSHBuffer.prototype.readInt64=function(){assert.ok(this._offset+8<this._buffer.length,"buffer not long enough to read Int64");var v=this._buffer.slice(this._offset,this._offset+8);this._offset+=8;return v};SSHBuffer.prototype.readChar=function(){var v=this._buffer[this._offset++];return v};SSHBuffer.prototype.writeBuffer=function(buf){while(this._offset+4+buf.length>this._size)this.expand();this._buffer.writeUInt32BE(buf.length,this._offset);this._offset+=4;buf.copy(this._buffer,this._offset);this._offset+=buf.length};SSHBuffer.prototype.writeString=function(str){this.writeBuffer(Buffer.from(str,"utf8"))};SSHBuffer.prototype.writeCString=function(str){while(this._offset+1+str.length>this._size)this.expand();this._buffer.write(str,this._offset);this._offset+=str.length;this._buffer[this._offset++]=0};SSHBuffer.prototype.writeInt=function(v){while(this._offset+4>this._size)this.expand();this._buffer.writeUInt32BE(v,this._offset);this._offset+=4};SSHBuffer.prototype.writeInt64=function(v){assert.buffer(v,"value");if(v.length>8){var lead=v.slice(0,v.length-8);for(var i=0;i<lead.length;++i){assert.strictEqual(lead[i],0,"must fit in 64 bits of precision")}v=v.slice(v.length-8,v.length)}while(this._offset+8>this._size)this.expand();v.copy(this._buffer,this._offset);this._offset+=8};SSHBuffer.prototype.writeChar=function(v){while(this._offset+1>this._size)this.expand();this._buffer[this._offset++]=v};SSHBuffer.prototype.writePart=function(p){this.writeBuffer(p.data)};SSHBuffer.prototype.write=function(buf){while(this._offset+buf.length>this._size)this.expand();buf.copy(this._buffer,this._offset);this._offset+=buf.length}},{"assert-plus":70,"safer-buffer":908}],953:[function(require,module,exports){module.exports={bufferSplit:bufferSplit,addRSAMissing:addRSAMissing,calculateDSAPublic:calculateDSAPublic,calculateED25519Public:calculateED25519Public,calculateX25519Public:calculateX25519Public,mpNormalize:mpNormalize,mpDenormalize:mpDenormalize,ecNormalize:ecNormalize,countZeros:countZeros,assertCompatible:assertCompatible,isCompatible:isCompatible,opensslKeyDeriv:opensslKeyDeriv,opensshCipherInfo:opensshCipherInfo,publicFromPrivateECDSA:publicFromPrivateECDSA,zeroPadToLength:zeroPadToLength,writeBitString:writeBitString,readBitString:readBitString,pbkdf2:pbkdf2};var assert=require("assert-plus");var Buffer=require("safer-buffer").Buffer;var PrivateKey=require("./private-key");var Key=require("./key");var crypto=require("crypto");var algs=require("./algs");var asn1=require("asn1");var ec=require("ecc-jsbn/lib/ec");var jsbn=require("jsbn").BigInteger;var nacl=require("tweetnacl");var MAX_CLASS_DEPTH=3;function isCompatible(obj,klass,needVer){if(obj===null||typeof obj!=="object")return false;if(needVer===undefined)needVer=klass.prototype._sshpkApiVersion;if(obj instanceof klass&&klass.prototype._sshpkApiVersion[0]==needVer[0])return true;var proto=Object.getPrototypeOf(obj);var depth=0;while(proto.constructor.name!==klass.name){proto=Object.getPrototypeOf(proto);if(!proto||++depth>MAX_CLASS_DEPTH)return false}if(proto.constructor.name!==klass.name)return false;var ver=proto._sshpkApiVersion;if(ver===undefined)ver=klass._oldVersionDetect(obj);if(ver[0]!=needVer[0]||ver[1]<needVer[1])return false;return true}function assertCompatible(obj,klass,needVer,name){if(name===undefined)name="object";assert.ok(obj,name+" must not be null");assert.object(obj,name+" must be an object");if(needVer===undefined)needVer=klass.prototype._sshpkApiVersion;if(obj instanceof klass&&klass.prototype._sshpkApiVersion[0]==needVer[0])return;var proto=Object.getPrototypeOf(obj);var depth=0;while(proto.constructor.name!==klass.name){proto=Object.getPrototypeOf(proto);assert.ok(proto&&++depth<=MAX_CLASS_DEPTH,name+" must be a "+klass.name+" instance")}assert.strictEqual(proto.constructor.name,klass.name,name+" must be a "+klass.name+" instance");var ver=proto._sshpkApiVersion;if(ver===undefined)ver=klass._oldVersionDetect(obj);assert.ok(ver[0]==needVer[0]&&ver[1]>=needVer[1],name+" must be compatible with "+klass.name+" klass "+"version "+needVer[0]+"."+needVer[1])}var CIPHER_LEN={"des-ede3-cbc":{key:24,iv:8},"aes-128-cbc":{key:16,iv:16},"aes-256-cbc":{key:32,iv:16}};var PKCS5_SALT_LEN=8;function opensslKeyDeriv(cipher,salt,passphrase,count){assert.buffer(salt,"salt");assert.buffer(passphrase,"passphrase");assert.number(count,"iteration count");var clen=CIPHER_LEN[cipher];assert.object(clen,"supported cipher");salt=salt.slice(0,PKCS5_SALT_LEN);var D,D_prev,bufs;var material=Buffer.alloc(0);while(material.length<clen.key+clen.iv){bufs=[];if(D_prev)bufs.push(D_prev);bufs.push(passphrase);bufs.push(salt);D=Buffer.concat(bufs);for(var j=0;j<count;++j)D=crypto.createHash("md5").update(D).digest();material=Buffer.concat([material,D]);D_prev=D}return{key:material.slice(0,clen.key),iv:material.slice(clen.key,clen.key+clen.iv)}}function pbkdf2(hashAlg,salt,iterations,size,passphrase){var hkey=Buffer.alloc(salt.length+4);salt.copy(hkey);var gen=0,ts=[];var i=1;while(gen<size){var t=T(i++);gen+=t.length;ts.push(t)}return Buffer.concat(ts).slice(0,size);function T(I){hkey.writeUInt32BE(I,hkey.length-4);var hmac=crypto.createHmac(hashAlg,passphrase);hmac.update(hkey);var Ti=hmac.digest();var Uc=Ti;var c=1;while(c++<iterations){hmac=crypto.createHmac(hashAlg,passphrase);hmac.update(Uc);Uc=hmac.digest();for(var x=0;x<Ti.length;++x)Ti[x]^=Uc[x]}return Ti}}function countZeros(buf){var o=0,obit=8;while(o<buf.length){var mask=1<<obit;if((buf[o]&mask)===mask)break;obit--;if(obit<0){o++;obit=8}}return o*8+(8-obit)-1}function bufferSplit(buf,chr){assert.buffer(buf);assert.string(chr);var parts=[];var lastPart=0;var matches=0;for(var i=0;i<buf.length;++i){if(buf[i]===chr.charCodeAt(matches))++matches;else if(buf[i]===chr.charCodeAt(0))matches=1;else matches=0;if(matches>=chr.length){var newPart=i+1;parts.push(buf.slice(lastPart,newPart-matches));lastPart=newPart;matches=0}}if(lastPart<=buf.length)parts.push(buf.slice(lastPart,buf.length));return parts}function ecNormalize(buf,addZero){assert.buffer(buf);if(buf[0]===0&&buf[1]===4){if(addZero)return buf;return buf.slice(1)}else if(buf[0]===4){if(!addZero)return buf}else{while(buf[0]===0)buf=buf.slice(1);if(buf[0]===2||buf[0]===3)throw new Error("Compressed elliptic curve points "+"are not supported");if(buf[0]!==4)throw new Error("Not a valid elliptic curve point");if(!addZero)return buf}var b=Buffer.alloc(buf.length+1);b[0]=0;buf.copy(b,1);return b}function readBitString(der,tag){if(tag===undefined)tag=asn1.Ber.BitString;var buf=der.readString(tag,true);assert.strictEqual(buf[0],0,"bit strings with unused bits are "+"not supported (0x"+buf[0].toString(16)+")");return buf.slice(1)}function writeBitString(der,buf,tag){if(tag===undefined)tag=asn1.Ber.BitString;var b=Buffer.alloc(buf.length+1);b[0]=0;buf.copy(b,1);der.writeBuffer(b,tag)}function mpNormalize(buf){assert.buffer(buf);while(buf.length>1&&buf[0]===0&&(buf[1]&128)===0)buf=buf.slice(1);if((buf[0]&128)===128){var b=Buffer.alloc(buf.length+1);b[0]=0;buf.copy(b,1);buf=b}return buf}function mpDenormalize(buf){assert.buffer(buf);while(buf.length>1&&buf[0]===0)buf=buf.slice(1);return buf}function zeroPadToLength(buf,len){assert.buffer(buf);assert.number(len);while(buf.length>len){assert.equal(buf[0],0);buf=buf.slice(1)}while(buf.length<len){var b=Buffer.alloc(buf.length+1);b[0]=0;buf.copy(b,1);buf=b}return buf}function bigintToMpBuf(bigint){var buf=Buffer.from(bigint.toByteArray());buf=mpNormalize(buf);return buf}function calculateDSAPublic(g,p,x){assert.buffer(g);assert.buffer(p);assert.buffer(x);g=new jsbn(g);p=new jsbn(p);x=new jsbn(x);var y=g.modPow(x,p);var ybuf=bigintToMpBuf(y);return ybuf}function calculateED25519Public(k){assert.buffer(k);var kp=nacl.sign.keyPair.fromSeed(new Uint8Array(k));return Buffer.from(kp.publicKey)}function calculateX25519Public(k){assert.buffer(k);var kp=nacl.box.keyPair.fromSeed(new Uint8Array(k));return Buffer.from(kp.publicKey)}function addRSAMissing(key){assert.object(key);assertCompatible(key,PrivateKey,[1,1]);var d=new jsbn(key.part.d.data);var buf;if(!key.part.dmodp){var p=new jsbn(key.part.p.data);var dmodp=d.mod(p.subtract(1));buf=bigintToMpBuf(dmodp);key.part.dmodp={name:"dmodp",data:buf};key.parts.push(key.part.dmodp)}if(!key.part.dmodq){var q=new jsbn(key.part.q.data);var dmodq=d.mod(q.subtract(1));buf=bigintToMpBuf(dmodq);key.part.dmodq={name:"dmodq",data:buf};key.parts.push(key.part.dmodq)}}function publicFromPrivateECDSA(curveName,priv){assert.string(curveName,"curveName");assert.buffer(priv);var params=algs.curves[curveName];var p=new jsbn(params.p);var a=new jsbn(params.a);var b=new jsbn(params.b);var curve=new ec.ECCurveFp(p,a,b);var G=curve.decodePointHex(params.G.toString("hex"));var d=new jsbn(mpNormalize(priv));var pub=G.multiply(d);pub=Buffer.from(curve.encodePointHex(pub),"hex");var parts=[];parts.push({name:"curve",data:Buffer.from(curveName)});parts.push({name:"Q",data:pub});var key=new Key({type:"ecdsa",curve:curve,parts:parts});return key}function opensshCipherInfo(cipher){var inf={};switch(cipher){case"3des-cbc":inf.keySize=24;inf.blockSize=8;inf.opensslName="des-ede3-cbc";break;case"blowfish-cbc":inf.keySize=16;inf.blockSize=8;inf.opensslName="bf-cbc";break;case"aes128-cbc":case"aes128-ctr":case"aes128-gcm@openssh.com":inf.keySize=16;inf.blockSize=16;inf.opensslName="aes-128-"+cipher.slice(7,10);break;case"aes192-cbc":case"aes192-ctr":case"aes192-gcm@openssh.com":inf.keySize=24;inf.blockSize=16;inf.opensslName="aes-192-"+cipher.slice(7,10);break;case"aes256-cbc":case"aes256-ctr":case"aes256-gcm@openssh.com":inf.keySize=32;inf.blockSize=16;inf.opensslName="aes-256-"+cipher.slice(7,10);break;default:throw new Error('Unsupported openssl cipher "'+cipher+'"')}return inf}},{"./algs":929,"./key":949,"./private-key":950,asn1:69,"assert-plus":70,crypto:143,"ecc-jsbn/lib/ec":215,jsbn:333,"safer-buffer":908,tweetnacl:993}],954:[function(require,module,exports){"use strict";var isNative=/\.node$/;function forEach(obj,callback){for(var key in obj){if(!Object.prototype.hasOwnProperty.call(obj,key)){continue}callback(key)}}function assign(target,source){forEach(source,(function(key){target[key]=source[key]}));return target}function clearCache(requireCache){forEach(requireCache,(function(resolvedPath){if(!isNative.test(resolvedPath)){delete requireCache[resolvedPath]}}))}module.exports=function(requireCache,callback,callbackForModulesToKeep,module){var originalCache=assign({},requireCache);clearCache(requireCache);if(callbackForModulesToKeep){var originalModuleChildren=module.children?module.children.slice():false;callbackForModulesToKeep();var modulesToKeep=[];forEach(requireCache,(function(key){modulesToKeep.push(key)}));clearCache(requireCache);if(module.children){module.children=originalModuleChildren}for(var i=0;i<modulesToKeep.length;i+=1){if(originalCache[modulesToKeep[i]]){requireCache[modulesToKeep[i]]=originalCache[modulesToKeep[i]]}}}var freshModule=callback();var stealthCache=callbackForModulesToKeep?assign({},requireCache):false;clearCache(requireCache);if(callbackForModulesToKeep){for(var k=0;k<modulesToKeep.length;k+=1){if(stealthCache[modulesToKeep[k]]){requireCache[modulesToKeep[k]]=stealthCache[modulesToKeep[k]]}}}assign(requireCache,originalCache);return freshModule}},{}],955:[function(require,module,exports){module.exports=Stream;var EE=require("events").EventEmitter;var inherits=require("inherits");inherits(Stream,EE);Stream.Readable=require("readable-stream/readable.js");Stream.Writable=require("readable-stream/writable.js");Stream.Duplex=require("readable-stream/duplex.js");Stream.Transform=require("readable-stream/transform.js");Stream.PassThrough=require("readable-stream/passthrough.js");Stream.Stream=Stream;function Stream(){EE.call(this)}Stream.prototype.pipe=function(dest,options){var source=this;function ondata(chunk){if(dest.writable){if(false===dest.write(chunk)&&source.pause){source.pause()}}}source.on("data",ondata);function ondrain(){if(source.readable&&source.resume){source.resume()}}dest.on("drain",ondrain);if(!dest._isStdio&&(!options||options.end!==false)){source.on("end",onend);source.on("close",onclose)}var didOnEnd=false;function onend(){if(didOnEnd)return;didOnEnd=true;dest.end()}function onclose(){if(didOnEnd)return;didOnEnd=true;if(typeof dest.destroy==="function")dest.destroy()}function onerror(er){cleanup();if(EE.listenerCount(this,"error")===0){throw er}}source.on("error",onerror);dest.on("error",onerror);function cleanup(){source.removeListener("data",ondata);dest.removeListener("drain",ondrain);source.removeListener("end",onend);source.removeListener("close",onclose);source.removeListener("error",onerror);dest.removeListener("error",onerror);source.removeListener("end",cleanup);source.removeListener("close",cleanup);dest.removeListener("close",cleanup)}source.on("end",cleanup);source.on("close",cleanup);dest.on("close",cleanup);dest.emit("pipe",source);return dest}},{events:241,inherits:326,"readable-stream/duplex.js":874,"readable-stream/passthrough.js":885,"readable-stream/readable.js":886,"readable-stream/transform.js":887,"readable-stream/writable.js":888}],956:[function(require,module,exports){(function(global){var ClientRequest=require("./lib/request");var response=require("./lib/response");var extend=require("xtend");var statusCodes=require("builtin-status-codes");var url=require("url");var http=exports;http.request=function(opts,cb){if(typeof opts==="string")opts=url.parse(opts);else opts=extend(opts);var defaultProtocol=global.location.protocol.search(/^https?:$/)===-1?"http:":"";var protocol=opts.protocol||defaultProtocol;var host=opts.hostname||opts.host;var port=opts.port;var path=opts.path||"/";if(host&&host.indexOf(":")!==-1)host="["+host+"]";opts.url=(host?protocol+"//"+host:"")+(port?":"+port:"")+path;opts.method=(opts.method||"GET").toUpperCase();opts.headers=opts.headers||{};var req=new ClientRequest(opts);if(cb)req.on("response",cb);return req};http.get=function get(opts,cb){var req=http.request(opts,cb);req.end();return req};http.ClientRequest=ClientRequest;http.IncomingMessage=response.IncomingMessage;http.Agent=function(){};http.Agent.defaultMaxSockets=4;http.globalAgent=new http.Agent;http.STATUS_CODES=statusCodes;http.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"./lib/request":958,"./lib/response":959,"builtin-status-codes":133,url:995,xtend:1039}],957:[function(require,module,exports){(function(global){exports.fetch=isFunction(global.fetch)&&isFunction(global.ReadableStream);exports.writableStream=isFunction(global.WritableStream);exports.abortController=isFunction(global.AbortController);var xhr;function getXHR(){if(xhr!==undefined)return xhr;if(global.XMLHttpRequest){xhr=new global.XMLHttpRequest;try{xhr.open("GET",global.XDomainRequest?"/":"https://example.com")}catch(e){xhr=null}}else{xhr=null}return xhr}function checkTypeSupport(type){var xhr=getXHR();if(!xhr)return false;try{xhr.responseType=type;return xhr.responseType===type}catch(e){}return false}exports.arraybuffer=exports.fetch||checkTypeSupport("arraybuffer");exports.msstream=!exports.fetch&&checkTypeSupport("ms-stream");exports.mozchunkedarraybuffer=!exports.fetch&&checkTypeSupport("moz-chunked-arraybuffer");exports.overrideMimeType=exports.fetch||(getXHR()?isFunction(getXHR().overrideMimeType):false);function isFunction(value){return typeof value==="function"}xhr=null}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],958:[function(require,module,exports){(function(process,global,Buffer){var capability=require("./capability");var inherits=require("inherits");var response=require("./response");var stream=require("readable-stream");var IncomingMessage=response.IncomingMessage;var rStates=response.readyStates;function decideMode(preferBinary,useFetch){if(capability.fetch&&useFetch){return"fetch"}else if(capability.mozchunkedarraybuffer){return"moz-chunked-arraybuffer"}else if(capability.msstream){return"ms-stream"}else if(capability.arraybuffer&&preferBinary){return"arraybuffer"}else{return"text"}}var ClientRequest=module.exports=function(opts){var self=this;stream.Writable.call(self);self._opts=opts;self._body=[];self._headers={};if(opts.auth)self.setHeader("Authorization","Basic "+Buffer.from(opts.auth).toString("base64"));Object.keys(opts.headers).forEach((function(name){self.setHeader(name,opts.headers[name])}));var preferBinary;var useFetch=true;if(opts.mode==="disable-fetch"||"requestTimeout"in opts&&!capability.abortController){useFetch=false;preferBinary=true}else if(opts.mode==="prefer-streaming"){preferBinary=false}else if(opts.mode==="allow-wrong-content-type"){preferBinary=!capability.overrideMimeType}else if(!opts.mode||opts.mode==="default"||opts.mode==="prefer-fast"){preferBinary=true}else{throw new Error("Invalid value for opts.mode")}self._mode=decideMode(preferBinary,useFetch);self._fetchTimer=null;self.on("finish",(function(){self._onFinish()}))};inherits(ClientRequest,stream.Writable);ClientRequest.prototype.setHeader=function(name,value){var self=this;var lowerName=name.toLowerCase();if(unsafeHeaders.indexOf(lowerName)!==-1)return;self._headers[lowerName]={name:name,value:value}};ClientRequest.prototype.getHeader=function(name){var header=this._headers[name.toLowerCase()];if(header)return header.value;return null};ClientRequest.prototype.removeHeader=function(name){var self=this;delete self._headers[name.toLowerCase()]};ClientRequest.prototype._onFinish=function(){var self=this;if(self._destroyed)return;var opts=self._opts;var headersObj=self._headers;var body=null;if(opts.method!=="GET"&&opts.method!=="HEAD"){body=new Blob(self._body,{type:(headersObj["content-type"]||{}).value||""})}var headersList=[];Object.keys(headersObj).forEach((function(keyName){var name=headersObj[keyName].name;var value=headersObj[keyName].value;if(Array.isArray(value)){value.forEach((function(v){headersList.push([name,v])}))}else{headersList.push([name,value])}}));if(self._mode==="fetch"){var signal=null;if(capability.abortController){var controller=new AbortController;signal=controller.signal;self._fetchAbortController=controller;if("requestTimeout"in opts&&opts.requestTimeout!==0){self._fetchTimer=global.setTimeout((function(){self.emit("requestTimeout");if(self._fetchAbortController)self._fetchAbortController.abort()}),opts.requestTimeout)}}global.fetch(self._opts.url,{method:self._opts.method,headers:headersList,body:body||undefined,mode:"cors",credentials:opts.withCredentials?"include":"same-origin",signal:signal}).then((function(response){self._fetchResponse=response;self._connect()}),(function(reason){global.clearTimeout(self._fetchTimer);if(!self._destroyed)self.emit("error",reason)}))}else{var xhr=self._xhr=new global.XMLHttpRequest;try{xhr.open(self._opts.method,self._opts.url,true)}catch(err){process.nextTick((function(){self.emit("error",err)}));return}if("responseType"in xhr)xhr.responseType=self._mode;if("withCredentials"in xhr)xhr.withCredentials=!!opts.withCredentials;if(self._mode==="text"&&"overrideMimeType"in xhr)xhr.overrideMimeType("text/plain; charset=x-user-defined");if("requestTimeout"in opts){xhr.timeout=opts.requestTimeout;xhr.ontimeout=function(){self.emit("requestTimeout")}}headersList.forEach((function(header){xhr.setRequestHeader(header[0],header[1])}));self._response=null;xhr.onreadystatechange=function(){switch(xhr.readyState){case rStates.LOADING:case rStates.DONE:self._onXHRProgress();break}};if(self._mode==="moz-chunked-arraybuffer"){xhr.onprogress=function(){self._onXHRProgress()}}xhr.onerror=function(){if(self._destroyed)return;self.emit("error",new Error("XHR error"))};try{xhr.send(body)}catch(err){process.nextTick((function(){self.emit("error",err)}));return}}};function statusValid(xhr){try{var status=xhr.status;return status!==null&&status!==0}catch(e){return false}}ClientRequest.prototype._onXHRProgress=function(){var self=this;if(!statusValid(self._xhr)||self._destroyed)return;if(!self._response)self._connect();self._response._onXHRProgress()};ClientRequest.prototype._connect=function(){var self=this;if(self._destroyed)return;self._response=new IncomingMessage(self._xhr,self._fetchResponse,self._mode,self._fetchTimer);self._response.on("error",(function(err){self.emit("error",err)}));self.emit("response",self._response)};ClientRequest.prototype._write=function(chunk,encoding,cb){var self=this;self._body.push(chunk);cb()};ClientRequest.prototype.abort=ClientRequest.prototype.destroy=function(){var self=this;self._destroyed=true;global.clearTimeout(self._fetchTimer);if(self._response)self._response._destroyed=true;if(self._xhr)self._xhr.abort();else if(self._fetchAbortController)self._fetchAbortController.abort()};ClientRequest.prototype.end=function(data,encoding,cb){var self=this;if(typeof data==="function"){cb=data;data=undefined}stream.Writable.prototype.end.call(self,data,encoding,cb)};ClientRequest.prototype.flushHeaders=function(){};ClientRequest.prototype.setTimeout=function(){};ClientRequest.prototype.setNoDelay=function(){};ClientRequest.prototype.setSocketKeepAlive=function(){};var unsafeHeaders=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{},require("buffer").Buffer)},{"./capability":957,"./response":959,_process:855,buffer:132,inherits:326,"readable-stream":974}],959:[function(require,module,exports){(function(process,global,Buffer){var capability=require("./capability");var inherits=require("inherits");var stream=require("readable-stream");var rStates=exports.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4};var IncomingMessage=exports.IncomingMessage=function(xhr,response,mode,fetchTimer){var self=this;stream.Readable.call(self);self._mode=mode;self.headers={};self.rawHeaders=[];self.trailers={};self.rawTrailers=[];self.on("end",(function(){process.nextTick((function(){self.emit("close")}))}));if(mode==="fetch"){self._fetchResponse=response;self.url=response.url;self.statusCode=response.status;self.statusMessage=response.statusText;response.headers.forEach((function(header,key){self.headers[key.toLowerCase()]=header;self.rawHeaders.push(key,header)}));if(capability.writableStream){var writable=new WritableStream({write:function(chunk){return new Promise((function(resolve,reject){if(self._destroyed){reject()}else if(self.push(Buffer.from(chunk))){resolve()}else{self._resumeFetch=resolve}}))},close:function(){global.clearTimeout(fetchTimer);if(!self._destroyed)self.push(null)},abort:function(err){if(!self._destroyed)self.emit("error",err)}});try{response.body.pipeTo(writable).catch((function(err){global.clearTimeout(fetchTimer);if(!self._destroyed)self.emit("error",err)}));return}catch(e){}}var reader=response.body.getReader();function read(){reader.read().then((function(result){if(self._destroyed)return;if(result.done){global.clearTimeout(fetchTimer);self.push(null);return}self.push(Buffer.from(result.value));read()})).catch((function(err){global.clearTimeout(fetchTimer);if(!self._destroyed)self.emit("error",err)}))}read()}else{self._xhr=xhr;self._pos=0;self.url=xhr.responseURL;self.statusCode=xhr.status;self.statusMessage=xhr.statusText;var headers=xhr.getAllResponseHeaders().split(/\r?\n/);headers.forEach((function(header){var matches=header.match(/^([^:]+):\s*(.*)/);if(matches){var key=matches[1].toLowerCase();if(key==="set-cookie"){if(self.headers[key]===undefined){self.headers[key]=[]}self.headers[key].push(matches[2])}else if(self.headers[key]!==undefined){self.headers[key]+=", "+matches[2]}else{self.headers[key]=matches[2]}self.rawHeaders.push(matches[1],matches[2])}}));self._charset="x-user-defined";if(!capability.overrideMimeType){var mimeType=self.rawHeaders["mime-type"];if(mimeType){var charsetMatch=mimeType.match(/;\s*charset=([^;])(;|$)/);if(charsetMatch){self._charset=charsetMatch[1].toLowerCase()}}if(!self._charset)self._charset="utf-8"}}};inherits(IncomingMessage,stream.Readable);IncomingMessage.prototype._read=function(){var self=this;var resolve=self._resumeFetch;if(resolve){self._resumeFetch=null;resolve()}};IncomingMessage.prototype._onXHRProgress=function(){var self=this;var xhr=self._xhr;var response=null;switch(self._mode){case"text":response=xhr.responseText;if(response.length>self._pos){var newData=response.substr(self._pos);if(self._charset==="x-user-defined"){var buffer=Buffer.alloc(newData.length);for(var i=0;i<newData.length;i++)buffer[i]=newData.charCodeAt(i)&255;self.push(buffer)}else{self.push(newData,self._charset)}self._pos=response.length}break;case"arraybuffer":if(xhr.readyState!==rStates.DONE||!xhr.response)break;response=xhr.response;self.push(Buffer.from(new Uint8Array(response)));break;case"moz-chunked-arraybuffer":response=xhr.response;if(xhr.readyState!==rStates.LOADING||!response)break;self.push(Buffer.from(new Uint8Array(response)));break;case"ms-stream":response=xhr.response;if(xhr.readyState!==rStates.LOADING)break;var reader=new global.MSStreamReader;reader.onprogress=function(){if(reader.result.byteLength>self._pos){self.push(Buffer.from(new Uint8Array(reader.result.slice(self._pos))));self._pos=reader.result.byteLength}};reader.onload=function(){self.push(null)};reader.readAsArrayBuffer(response);break}if(self._xhr.readyState===rStates.DONE&&self._mode!=="ms-stream"){self.push(null)}}}).call(this,require("_process"),typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{},require("buffer").Buffer)},{"./capability":957,_process:855,buffer:132,inherits:326,"readable-stream":974}],960:[function(require,module,exports){arguments[4][112][0].apply(exports,arguments)},{dup:112}],961:[function(require,module,exports){arguments[4][113][0].apply(exports,arguments)},{"./_stream_readable":963,"./_stream_writable":965,_process:855,dup:113,inherits:326}],962:[function(require,module,exports){arguments[4][114][0].apply(exports,arguments)},{"./_stream_transform":964,dup:114,inherits:326}],963:[function(require,module,exports){arguments[4][115][0].apply(exports,arguments)},{"../errors":960,"./_stream_duplex":961,"./internal/streams/async_iterator":966,"./internal/streams/buffer_list":967,"./internal/streams/destroy":968,"./internal/streams/from":970,"./internal/streams/state":972,"./internal/streams/stream":973,_process:855,buffer:132,dup:115,events:241,inherits:326,"string_decoder/":975,util:83}],964:[function(require,module,exports){arguments[4][116][0].apply(exports,arguments)},{"../errors":960,"./_stream_duplex":961,dup:116,inherits:326}],965:[function(require,module,exports){arguments[4][117][0].apply(exports,arguments)},{"../errors":960,"./_stream_duplex":961,"./internal/streams/destroy":968,"./internal/streams/state":972,"./internal/streams/stream":973,_process:855,buffer:132,dup:117,inherits:326,"util-deprecate":997}],966:[function(require,module,exports){arguments[4][118][0].apply(exports,arguments)},{"./end-of-stream":969,_process:855,dup:118}],967:[function(require,module,exports){arguments[4][119][0].apply(exports,arguments)},{buffer:132,dup:119,util:83}],968:[function(require,module,exports){arguments[4][120][0].apply(exports,arguments)},{_process:855,dup:120}],969:[function(require,module,exports){arguments[4][121][0].apply(exports,arguments)},{"../../../errors":960,dup:121}],970:[function(require,module,exports){arguments[4][122][0].apply(exports,arguments)},{dup:122}],971:[function(require,module,exports){arguments[4][123][0].apply(exports,arguments)},{"../../../errors":960,"./end-of-stream":969,dup:123}],972:[function(require,module,exports){arguments[4][124][0].apply(exports,arguments)},{"../../../errors":960,dup:124}],973:[function(require,module,exports){arguments[4][125][0].apply(exports,arguments)},{dup:125,events:241}],974:[function(require,module,exports){arguments[4][126][0].apply(exports,arguments)},{"./lib/_stream_duplex.js":961,"./lib/_stream_passthrough.js":962,"./lib/_stream_readable.js":963,"./lib/_stream_transform.js":964,"./lib/_stream_writable.js":965,"./lib/internal/streams/end-of-stream.js":969,"./lib/internal/streams/pipeline.js":971,dup:126}],975:[function(require,module,exports){arguments[4][884][0].apply(exports,arguments)},{dup:884,"safe-buffer":907}],976:[function(require,module,exports){"use strict";const SymbolTreeNode=require("./SymbolTreeNode");const TreePosition=require("./TreePosition");const TreeIterator=require("./TreeIterator");function returnTrue(){return true}function reverseArrayIndex(array,reverseIndex){return array[array.length-1-reverseIndex]}class SymbolTree{constructor(description){this.symbol=Symbol(description||"SymbolTree data")}initialize(object){this._node(object);return object}_node(object){if(!object){return null}const node=object[this.symbol];if(node){return node}return object[this.symbol]=new SymbolTreeNode}hasChildren(object){return this._node(object).hasChildren}firstChild(object){return this._node(object).firstChild}lastChild(object){return this._node(object).lastChild}previousSibling(object){return this._node(object).previousSibling}nextSibling(object){return this._node(object).nextSibling}parent(object){return this._node(object).parent}lastInclusiveDescendant(object){let lastChild;let current=object;while(lastChild=this._node(current).lastChild){current=lastChild}return current}preceding(object,options){const treeRoot=options&&options.root;if(object===treeRoot){return null}const previousSibling=this._node(object).previousSibling;if(previousSibling){return this.lastInclusiveDescendant(previousSibling)}return this._node(object).parent}following(object,options){const treeRoot=options&&options.root;const skipChildren=options&&options.skipChildren;const firstChild=!skipChildren&&this._node(object).firstChild;if(firstChild){return firstChild}let current=object;do{if(current===treeRoot){return null}const nextSibling=this._node(current).nextSibling;if(nextSibling){return nextSibling}current=this._node(current).parent}while(current);return null}childrenToArray(parent,options){const array=options&&options.array||[];const filter=options&&options.filter||returnTrue;const thisArg=options&&options.thisArg||undefined;const parentNode=this._node(parent);let object=parentNode.firstChild;let index=0;while(object){const node=this._node(object);node.setCachedIndex(parentNode,index);if(filter.call(thisArg,object)){array.push(object)}object=node.nextSibling;++index}return array}ancestorsToArray(object,options){const array=options&&options.array||[];const filter=options&&options.filter||returnTrue;const thisArg=options&&options.thisArg||undefined;let ancestor=object;while(ancestor){if(filter.call(thisArg,ancestor)){array.push(ancestor)}ancestor=this._node(ancestor).parent}return array}treeToArray(root,options){const array=options&&options.array||[];const filter=options&&options.filter||returnTrue;const thisArg=options&&options.thisArg||undefined;let object=root;while(object){if(filter.call(thisArg,object)){array.push(object)}object=this.following(object,{root:root})}return array}childrenIterator(parent,options){const reverse=options&&options.reverse;const parentNode=this._node(parent);return new TreeIterator(this,parent,reverse?parentNode.lastChild:parentNode.firstChild,reverse?TreeIterator.PREV:TreeIterator.NEXT)}previousSiblingsIterator(object){return new TreeIterator(this,object,this._node(object).previousSibling,TreeIterator.PREV)}nextSiblingsIterator(object){return new TreeIterator(this,object,this._node(object).nextSibling,TreeIterator.NEXT)}ancestorsIterator(object){return new TreeIterator(this,object,object,TreeIterator.PARENT)}treeIterator(root,options){const reverse=options&&options.reverse;return new TreeIterator(this,root,reverse?this.lastInclusiveDescendant(root):root,reverse?TreeIterator.PRECEDING:TreeIterator.FOLLOWING)}index(child){const childNode=this._node(child);const parentNode=this._node(childNode.parent);if(!parentNode){return-1}let currentIndex=childNode.getCachedIndex(parentNode);if(currentIndex>=0){return currentIndex}currentIndex=0;let object=parentNode.firstChild;if(parentNode.childIndexCachedUpTo){const cachedUpToNode=this._node(parentNode.childIndexCachedUpTo);object=cachedUpToNode.nextSibling;currentIndex=cachedUpToNode.getCachedIndex(parentNode)+1}while(object){const node=this._node(object);node.setCachedIndex(parentNode,currentIndex);if(object===child){break}++currentIndex;object=node.nextSibling}parentNode.childIndexCachedUpTo=child;return currentIndex}childrenCount(parent){const parentNode=this._node(parent);if(!parentNode.lastChild){return 0}return this.index(parentNode.lastChild)+1}compareTreePosition(left,right){if(left===right){return 0}const leftAncestors=[];{let leftAncestor=left;while(leftAncestor){if(leftAncestor===right){return TreePosition.CONTAINS|TreePosition.PRECEDING}leftAncestors.push(leftAncestor);leftAncestor=this.parent(leftAncestor)}}const rightAncestors=[];{let rightAncestor=right;while(rightAncestor){if(rightAncestor===left){return TreePosition.CONTAINED_BY|TreePosition.FOLLOWING}rightAncestors.push(rightAncestor);rightAncestor=this.parent(rightAncestor)}}const root=reverseArrayIndex(leftAncestors,0);if(!root||root!==reverseArrayIndex(rightAncestors,0)){return TreePosition.DISCONNECTED}let commonAncestorIndex=0;const ancestorsMinLength=Math.min(leftAncestors.length,rightAncestors.length);for(let i=0;i<ancestorsMinLength;++i){const leftAncestor=reverseArrayIndex(leftAncestors,i);const rightAncestor=reverseArrayIndex(rightAncestors,i);if(leftAncestor!==rightAncestor){break}commonAncestorIndex=i}const leftIndex=this.index(reverseArrayIndex(leftAncestors,commonAncestorIndex+1));const rightIndex=this.index(reverseArrayIndex(rightAncestors,commonAncestorIndex+1));return rightIndex<leftIndex?TreePosition.PRECEDING:TreePosition.FOLLOWING}remove(removeObject){const removeNode=this._node(removeObject);const parentNode=this._node(removeNode.parent);const prevNode=this._node(removeNode.previousSibling);const nextNode=this._node(removeNode.nextSibling);if(parentNode){if(parentNode.firstChild===removeObject){parentNode.firstChild=removeNode.nextSibling}if(parentNode.lastChild===removeObject){parentNode.lastChild=removeNode.previousSibling}}if(prevNode){prevNode.nextSibling=removeNode.nextSibling}if(nextNode){nextNode.previousSibling=removeNode.previousSibling}removeNode.parent=null;removeNode.previousSibling=null;removeNode.nextSibling=null;removeNode.cachedIndex=-1;removeNode.cachedIndexVersion=NaN;if(parentNode){parentNode.childrenChanged()}return removeObject}insertBefore(referenceObject,newObject){const referenceNode=this._node(referenceObject);const prevNode=this._node(referenceNode.previousSibling);const newNode=this._node(newObject);const parentNode=this._node(referenceNode.parent);if(newNode.isAttached){throw Error("Given object is already present in this SymbolTree, remove it first")}newNode.parent=referenceNode.parent;newNode.previousSibling=referenceNode.previousSibling;newNode.nextSibling=referenceObject;referenceNode.previousSibling=newObject;if(prevNode){prevNode.nextSibling=newObject}if(parentNode&&parentNode.firstChild===referenceObject){parentNode.firstChild=newObject}if(parentNode){parentNode.childrenChanged()}return newObject}insertAfter(referenceObject,newObject){const referenceNode=this._node(referenceObject);const nextNode=this._node(referenceNode.nextSibling);const newNode=this._node(newObject);const parentNode=this._node(referenceNode.parent);if(newNode.isAttached){throw Error("Given object is already present in this SymbolTree, remove it first")}newNode.parent=referenceNode.parent;newNode.previousSibling=referenceObject;newNode.nextSibling=referenceNode.nextSibling;referenceNode.nextSibling=newObject;if(nextNode){nextNode.previousSibling=newObject}if(parentNode&&parentNode.lastChild===referenceObject){parentNode.lastChild=newObject}if(parentNode){parentNode.childrenChanged()}return newObject}prependChild(referenceObject,newObject){const referenceNode=this._node(referenceObject);const newNode=this._node(newObject);if(newNode.isAttached){throw Error("Given object is already present in this SymbolTree, remove it first")}if(referenceNode.hasChildren){this.insertBefore(referenceNode.firstChild,newObject)}else{newNode.parent=referenceObject;referenceNode.firstChild=newObject;referenceNode.lastChild=newObject;referenceNode.childrenChanged()}return newObject}appendChild(referenceObject,newObject){const referenceNode=this._node(referenceObject);const newNode=this._node(newObject);if(newNode.isAttached){throw Error("Given object is already present in this SymbolTree, remove it first")}if(referenceNode.hasChildren){this.insertAfter(referenceNode.lastChild,newObject)}else{newNode.parent=referenceObject;referenceNode.firstChild=newObject;referenceNode.lastChild=newObject;referenceNode.childrenChanged()}return newObject}}module.exports=SymbolTree;SymbolTree.TreePosition=TreePosition},{"./SymbolTreeNode":977,"./TreeIterator":978,"./TreePosition":979}],977:[function(require,module,exports){"use strict";module.exports=class SymbolTreeNode{constructor(){this.parent=null;this.previousSibling=null;this.nextSibling=null;this.firstChild=null;this.lastChild=null;this.childrenVersion=0;this.childIndexCachedUpTo=null;this.cachedIndex=-1;this.cachedIndexVersion=NaN}get isAttached(){return Boolean(this.parent||this.previousSibling||this.nextSibling)}get hasChildren(){return Boolean(this.firstChild)}childrenChanged(){this.childrenVersion=this.childrenVersion+1&4294967295;this.childIndexCachedUpTo=null}getCachedIndex(parentNode){if(this.cachedIndexVersion!==parentNode.childrenVersion){this.cachedIndexVersion=NaN;return-1}return this.cachedIndex}setCachedIndex(parentNode,index){this.cachedIndexVersion=parentNode.childrenVersion;this.cachedIndex=index}}},{}],978:[function(require,module,exports){"use strict";const TREE=Symbol();const ROOT=Symbol();const NEXT=Symbol();const ITERATE_FUNC=Symbol();class TreeIterator{constructor(tree,root,firstResult,iterateFunction){this[TREE]=tree;this[ROOT]=root;this[NEXT]=firstResult;this[ITERATE_FUNC]=iterateFunction}next(){const tree=this[TREE];const iterateFunc=this[ITERATE_FUNC];const root=this[ROOT];if(!this[NEXT]){return{done:true,value:root}}const value=this[NEXT];if(iterateFunc===1){this[NEXT]=tree._node(value).previousSibling}else if(iterateFunc===2){this[NEXT]=tree._node(value).nextSibling}else if(iterateFunc===3){this[NEXT]=tree._node(value).parent}else if(iterateFunc===4){this[NEXT]=tree.preceding(value,{root:root})}else{this[NEXT]=tree.following(value,{root:root})}return{done:false,value:value}}}Object.defineProperty(TreeIterator.prototype,Symbol.iterator,{value:function(){return this},writable:false});TreeIterator.PREV=1;TreeIterator.NEXT=2;TreeIterator.PARENT=3;TreeIterator.PRECEDING=4;TreeIterator.FOLLOWING=5;Object.freeze(TreeIterator);Object.freeze(TreeIterator.prototype);module.exports=TreeIterator},{}],979:[function(require,module,exports){"use strict";module.exports=Object.freeze({DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16})},{}],980:[function(require,module,exports){(function(setImmediate,clearImmediate){var nextTick=require("process/browser.js").nextTick;var apply=Function.prototype.apply;var slice=Array.prototype.slice;var immediateIds={};var nextImmediateId=0;exports.setTimeout=function(){return new Timeout(apply.call(setTimeout,window,arguments),clearTimeout)};exports.setInterval=function(){return new Timeout(apply.call(setInterval,window,arguments),clearInterval)};exports.clearTimeout=exports.clearInterval=function(timeout){timeout.close()};function Timeout(id,clearFn){this._id=id;this._clearFn=clearFn}Timeout.prototype.unref=Timeout.prototype.ref=function(){};Timeout.prototype.close=function(){this._clearFn.call(window,this._id)};exports.enroll=function(item,msecs){clearTimeout(item._idleTimeoutId);item._idleTimeout=msecs};exports.unenroll=function(item){clearTimeout(item._idleTimeoutId);item._idleTimeout=-1};exports._unrefActive=exports.active=function(item){clearTimeout(item._idleTimeoutId);var msecs=item._idleTimeout;if(msecs>=0){item._idleTimeoutId=setTimeout((function onTimeout(){if(item._onTimeout)item._onTimeout()}),msecs)}};exports.setImmediate=typeof setImmediate==="function"?setImmediate:function(fn){var id=nextImmediateId++;var args=arguments.length<2?false:slice.call(arguments,1);immediateIds[id]=true;nextTick((function onNextTick(){if(immediateIds[id]){if(args){fn.apply(null,args)}else{fn.call(null)}exports.clearImmediate(id)}}));return id};exports.clearImmediate=typeof clearImmediate==="function"?clearImmediate:function(id){delete immediateIds[id]}}).call(this,require("timers").setImmediate,require("timers").clearImmediate)},{"process/browser.js":855,timers:980}],981:[function(require,module,exports){
|
||
/*!
|
||
* Copyright (c) 2015, Salesforce.com, 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:
|
||
*
|
||
* 1. Redistributions of source code must retain the above copyright notice,
|
||
* this list of conditions and the following disclaimer.
|
||
*
|
||
* 2. 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.
|
||
*
|
||
* 3. Neither the name of Salesforce.com 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.
|
||
*/
|
||
"use strict";var net=require("net");var urlParse=require("url").parse;var util=require("util");var pubsuffix=require("./pubsuffix-psl");var Store=require("./store").Store;var MemoryCookieStore=require("./memstore").MemoryCookieStore;var pathMatch=require("./pathMatch").pathMatch;var VERSION=require("./version");var punycode;try{punycode=require("punycode")}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var COOKIE_OCTETS=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/;var CONTROL_CHARS=/[\x00-\x1F]/;var TERMINATORS=["\n","\r","\0"];var PATH_VALUE=/[\x20-\x3A\x3C-\x7E]+/;var DATE_DELIM=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/;var MONTH_TO_NUM={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11};var NUM_TO_MONTH=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var NUM_TO_DAY=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var MAX_TIME=2147483647e3;var MIN_TIME=0;function parseDigits(token,minDigits,maxDigits,trailingOK){var count=0;while(count<token.length){var c=token.charCodeAt(count);if(c<=47||c>=58){break}count++}if(count<minDigits||count>maxDigits){return null}if(!trailingOK&&count!=token.length){return null}return parseInt(token.substr(0,count),10)}function parseTime(token){var parts=token.split(":");var result=[0,0,0];if(parts.length!==3){return null}for(var i=0;i<3;i++){var trailingOK=i==2;var num=parseDigits(parts[i],1,2,trailingOK);if(num===null){return null}result[i]=num}return result}function parseMonth(token){token=String(token).substr(0,3).toLowerCase();var num=MONTH_TO_NUM[token];return num>=0?num:null}function parseDate(str){if(!str){return}var tokens=str.split(DATE_DELIM);if(!tokens){return}var hour=null;var minute=null;var second=null;var dayOfMonth=null;var month=null;var year=null;for(var i=0;i<tokens.length;i++){var token=tokens[i].trim();if(!token.length){continue}var result;if(second===null){result=parseTime(token);if(result){hour=result[0];minute=result[1];second=result[2];continue}}if(dayOfMonth===null){result=parseDigits(token,1,2,true);if(result!==null){dayOfMonth=result;continue}}if(month===null){result=parseMonth(token);if(result!==null){month=result;continue}}if(year===null){result=parseDigits(token,2,4,true);if(result!==null){year=result;if(year>=70&&year<=99){year+=1900}else if(year>=0&&year<=69){year+=2e3}}}}if(dayOfMonth===null||month===null||year===null||second===null||dayOfMonth<1||dayOfMonth>31||year<1601||hour>23||minute>59||second>59){return}return new Date(Date.UTC(year,month,dayOfMonth,hour,minute,second))}function formatDate(date){var d=date.getUTCDate();d=d>=10?d:"0"+d;var h=date.getUTCHours();h=h>=10?h:"0"+h;var m=date.getUTCMinutes();m=m>=10?m:"0"+m;var s=date.getUTCSeconds();s=s>=10?s:"0"+s;return NUM_TO_DAY[date.getUTCDay()]+", "+d+" "+NUM_TO_MONTH[date.getUTCMonth()]+" "+date.getUTCFullYear()+" "+h+":"+m+":"+s+" GMT"}function canonicalDomain(str){if(str==null){return null}str=str.trim().replace(/^\./,"");if(punycode&&/[^\u0001-\u007f]/.test(str)){str=punycode.toASCII(str)}return str.toLowerCase()}function domainMatch(str,domStr,canonicalize){if(str==null||domStr==null){return null}if(canonicalize!==false){str=canonicalDomain(str);domStr=canonicalDomain(domStr)}if(str==domStr){return true}if(net.isIP(str)){return false}var idx=str.indexOf(domStr);if(idx<=0){return false}if(str.length!==domStr.length+idx){return false}if(str.substr(idx-1,1)!=="."){return false}return true}function defaultPath(path){if(!path||path.substr(0,1)!=="/"){return"/"}if(path==="/"){return path}var rightSlash=path.lastIndexOf("/");if(rightSlash===0){return"/"}return path.slice(0,rightSlash)}function trimTerminator(str){for(var t=0;t<TERMINATORS.length;t++){var terminatorIdx=str.indexOf(TERMINATORS[t]);if(terminatorIdx!==-1){str=str.substr(0,terminatorIdx)}}return str}function parseCookiePair(cookiePair,looseMode){cookiePair=trimTerminator(cookiePair);var firstEq=cookiePair.indexOf("=");if(looseMode){if(firstEq===0){cookiePair=cookiePair.substr(1);firstEq=cookiePair.indexOf("=")}}else{if(firstEq<=0){return}}var cookieName,cookieValue;if(firstEq<=0){cookieName="";cookieValue=cookiePair.trim()}else{cookieName=cookiePair.substr(0,firstEq).trim();cookieValue=cookiePair.substr(firstEq+1).trim()}if(CONTROL_CHARS.test(cookieName)||CONTROL_CHARS.test(cookieValue)){return}var c=new Cookie;c.key=cookieName;c.value=cookieValue;return c}function parse(str,options){if(!options||typeof options!=="object"){options={}}str=str.trim();var firstSemi=str.indexOf(";");var cookiePair=firstSemi===-1?str:str.substr(0,firstSemi);var c=parseCookiePair(cookiePair,!!options.loose);if(!c){return}if(firstSemi===-1){return c}var unparsed=str.slice(firstSemi+1).trim();if(unparsed.length===0){return c}var cookie_avs=unparsed.split(";");while(cookie_avs.length){var av=cookie_avs.shift().trim();if(av.length===0){continue}var av_sep=av.indexOf("=");var av_key,av_value;if(av_sep===-1){av_key=av;av_value=null}else{av_key=av.substr(0,av_sep);av_value=av.substr(av_sep+1)}av_key=av_key.trim().toLowerCase();if(av_value){av_value=av_value.trim()}switch(av_key){case"expires":if(av_value){var exp=parseDate(av_value);if(exp){c.expires=exp}}break;case"max-age":if(av_value){if(/^-?[0-9]+$/.test(av_value)){var delta=parseInt(av_value,10);c.setMaxAge(delta)}}break;case"domain":if(av_value){var domain=av_value.trim().replace(/^\./,"");if(domain){c.domain=domain.toLowerCase()}}break;case"path":c.path=av_value&&av_value[0]==="/"?av_value:null;break;case"secure":c.secure=true;break;case"httponly":c.httpOnly=true;break;default:c.extensions=c.extensions||[];c.extensions.push(av);break}}return c}function jsonParse(str){var obj;try{obj=JSON.parse(str)}catch(e){return e}return obj}function fromJSON(str){if(!str){return null}var obj;if(typeof str==="string"){obj=jsonParse(str);if(obj instanceof Error){return null}}else{obj=str}var c=new Cookie;for(var i=0;i<Cookie.serializableProperties.length;i++){var prop=Cookie.serializableProperties[i];if(obj[prop]===undefined||obj[prop]===Cookie.prototype[prop]){continue}if(prop==="expires"||prop==="creation"||prop==="lastAccessed"){if(obj[prop]===null){c[prop]=null}else{c[prop]=obj[prop]=="Infinity"?"Infinity":new Date(obj[prop])}}else{c[prop]=obj[prop]}}return c}function cookieCompare(a,b){var cmp=0;var aPathLen=a.path?a.path.length:0;var bPathLen=b.path?b.path.length:0;cmp=bPathLen-aPathLen;if(cmp!==0){return cmp}var aTime=a.creation?a.creation.getTime():MAX_TIME;var bTime=b.creation?b.creation.getTime():MAX_TIME;cmp=aTime-bTime;if(cmp!==0){return cmp}cmp=a.creationIndex-b.creationIndex;return cmp}function permutePath(path){if(path==="/"){return["/"]}if(path.lastIndexOf("/")===path.length-1){path=path.substr(0,path.length-1)}var permutations=[path];while(path.length>1){var lindex=path.lastIndexOf("/");if(lindex===0){break}path=path.substr(0,lindex);permutations.push(path)}permutations.push("/");return permutations}function getCookieContext(url){if(url instanceof Object){return url}try{url=decodeURI(url)}catch(err){}return urlParse(url)}function Cookie(options){options=options||{};Object.keys(options).forEach((function(prop){if(Cookie.prototype.hasOwnProperty(prop)&&Cookie.prototype[prop]!==options[prop]&&prop.substr(0,1)!=="_"){this[prop]=options[prop]}}),this);this.creation=this.creation||new Date;Object.defineProperty(this,"creationIndex",{configurable:false,enumerable:false,writable:true,value:++Cookie.cookiesCreated})}Cookie.cookiesCreated=0;Cookie.parse=parse;Cookie.fromJSON=fromJSON;Cookie.prototype.key="";Cookie.prototype.value="";Cookie.prototype.expires="Infinity";Cookie.prototype.maxAge=null;Cookie.prototype.domain=null;Cookie.prototype.path=null;Cookie.prototype.secure=false;Cookie.prototype.httpOnly=false;Cookie.prototype.extensions=null;Cookie.prototype.hostOnly=null;Cookie.prototype.pathIsDefault=null;Cookie.prototype.creation=null;Cookie.prototype.lastAccessed=null;Object.defineProperty(Cookie.prototype,"creationIndex",{configurable:true,enumerable:false,writable:true,value:0});Cookie.serializableProperties=Object.keys(Cookie.prototype).filter((function(prop){return!(Cookie.prototype[prop]instanceof Function||prop==="creationIndex"||prop.substr(0,1)==="_")}));Cookie.prototype.inspect=function inspect(){var now=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(this.hostOnly!=null?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?now-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?now-this.creation.getTime()+"ms":"?")+'"'};if(util.inspect.custom){Cookie.prototype[util.inspect.custom]=Cookie.prototype.inspect}Cookie.prototype.toJSON=function(){var obj={};var props=Cookie.serializableProperties;for(var i=0;i<props.length;i++){var prop=props[i];if(this[prop]===Cookie.prototype[prop]){continue}if(prop==="expires"||prop==="creation"||prop==="lastAccessed"){if(this[prop]===null){obj[prop]=null}else{obj[prop]=this[prop]=="Infinity"?"Infinity":this[prop].toISOString()}}else if(prop==="maxAge"){if(this[prop]!==null){obj[prop]=this[prop]==Infinity||this[prop]==-Infinity?this[prop].toString():this[prop]}}else{if(this[prop]!==Cookie.prototype[prop]){obj[prop]=this[prop]}}}return obj};Cookie.prototype.clone=function(){return fromJSON(this.toJSON())};Cookie.prototype.validate=function validate(){if(!COOKIE_OCTETS.test(this.value)){return false}if(this.expires!=Infinity&&!(this.expires instanceof Date)&&!parseDate(this.expires)){return false}if(this.maxAge!=null&&this.maxAge<=0){return false}if(this.path!=null&&!PATH_VALUE.test(this.path)){return false}var cdomain=this.cdomain();if(cdomain){if(cdomain.match(/\.$/)){return false}var suffix=pubsuffix.getPublicSuffix(cdomain);if(suffix==null){return false}}return true};Cookie.prototype.setExpires=function setExpires(exp){if(exp instanceof Date){this.expires=exp}else{this.expires=parseDate(exp)||"Infinity"}};Cookie.prototype.setMaxAge=function setMaxAge(age){if(age===Infinity||age===-Infinity){this.maxAge=age.toString()}else{this.maxAge=age}};Cookie.prototype.cookieString=function cookieString(){var val=this.value;if(val==null){val=""}if(this.key===""){return val}return this.key+"="+val};Cookie.prototype.toString=function toString(){var str=this.cookieString();if(this.expires!=Infinity){if(this.expires instanceof Date){str+="; Expires="+formatDate(this.expires)}else{str+="; Expires="+this.expires}}if(this.maxAge!=null&&this.maxAge!=Infinity){str+="; Max-Age="+this.maxAge}if(this.domain&&!this.hostOnly){str+="; Domain="+this.domain}if(this.path){str+="; Path="+this.path}if(this.secure){str+="; Secure"}if(this.httpOnly){str+="; HttpOnly"}if(this.extensions){this.extensions.forEach((function(ext){str+="; "+ext}))}return str};Cookie.prototype.TTL=function TTL(now){if(this.maxAge!=null){return this.maxAge<=0?0:this.maxAge*1e3}var expires=this.expires;if(expires!=Infinity){if(!(expires instanceof Date)){expires=parseDate(expires)||Infinity}if(expires==Infinity){return Infinity}return expires.getTime()-(now||Date.now())}return Infinity};Cookie.prototype.expiryTime=function expiryTime(now){if(this.maxAge!=null){var relativeTo=now||this.creation||new Date;var age=this.maxAge<=0?-Infinity:this.maxAge*1e3;return relativeTo.getTime()+age}if(this.expires==Infinity){return Infinity}return this.expires.getTime()};Cookie.prototype.expiryDate=function expiryDate(now){var millisec=this.expiryTime(now);if(millisec==Infinity){return new Date(MAX_TIME)}else if(millisec==-Infinity){return new Date(MIN_TIME)}else{return new Date(millisec)}};Cookie.prototype.isPersistent=function isPersistent(){return this.maxAge!=null||this.expires!=Infinity};Cookie.prototype.cdomain=Cookie.prototype.canonicalizedDomain=function canonicalizedDomain(){if(this.domain==null){return null}return canonicalDomain(this.domain)};function CookieJar(store,options){if(typeof options==="boolean"){options={rejectPublicSuffixes:options}}else if(options==null){options={}}if(options.rejectPublicSuffixes!=null){this.rejectPublicSuffixes=options.rejectPublicSuffixes}if(options.looseMode!=null){this.enableLooseMode=options.looseMode}if(!store){store=new MemoryCookieStore}this.store=store}CookieJar.prototype.store=null;CookieJar.prototype.rejectPublicSuffixes=true;CookieJar.prototype.enableLooseMode=false;var CAN_BE_SYNC=[];CAN_BE_SYNC.push("setCookie");CookieJar.prototype.setCookie=function(cookie,url,options,cb){var err;var context=getCookieContext(url);if(options instanceof Function){cb=options;options={}}var host=canonicalDomain(context.hostname);var loose=this.enableLooseMode;if(options.loose!=null){loose=options.loose}if(!(cookie instanceof Cookie)){cookie=Cookie.parse(cookie,{loose:loose})}if(!cookie){err=new Error("Cookie failed to parse");return cb(options.ignoreError?null:err)}var now=options.now||new Date;if(this.rejectPublicSuffixes&&cookie.domain){var suffix=pubsuffix.getPublicSuffix(cookie.cdomain());if(suffix==null){err=new Error("Cookie has domain set to a public suffix");return cb(options.ignoreError?null:err)}}if(cookie.domain){if(!domainMatch(host,cookie.cdomain(),false)){err=new Error("Cookie not in this host's domain. Cookie:"+cookie.cdomain()+" Request:"+host);return cb(options.ignoreError?null:err)}if(cookie.hostOnly==null){cookie.hostOnly=false}}else{cookie.hostOnly=true;cookie.domain=host}if(!cookie.path||cookie.path[0]!=="/"){cookie.path=defaultPath(context.pathname);cookie.pathIsDefault=true}if(options.http===false&&cookie.httpOnly){err=new Error("Cookie is HttpOnly and this isn't an HTTP API");return cb(options.ignoreError?null:err)}var store=this.store;if(!store.updateCookie){store.updateCookie=function(oldCookie,newCookie,cb){this.putCookie(newCookie,cb)}}function withCookie(err,oldCookie){if(err){return cb(err)}var next=function(err){if(err){return cb(err)}else{cb(null,cookie)}};if(oldCookie){if(options.http===false&&oldCookie.httpOnly){err=new Error("old Cookie is HttpOnly and this isn't an HTTP API");return cb(options.ignoreError?null:err)}cookie.creation=oldCookie.creation;cookie.creationIndex=oldCookie.creationIndex;cookie.lastAccessed=now;store.updateCookie(oldCookie,cookie,next)}else{cookie.creation=cookie.lastAccessed=now;store.putCookie(cookie,next)}}store.findCookie(cookie.domain,cookie.path,cookie.key,withCookie)};CAN_BE_SYNC.push("getCookies");CookieJar.prototype.getCookies=function(url,options,cb){var context=getCookieContext(url);if(options instanceof Function){cb=options;options={}}var host=canonicalDomain(context.hostname);var path=context.pathname||"/";var secure=options.secure;if(secure==null&&context.protocol&&(context.protocol=="https:"||context.protocol=="wss:")){secure=true}var http=options.http;if(http==null){http=true}var now=options.now||Date.now();var expireCheck=options.expire!==false;var allPaths=!!options.allPaths;var store=this.store;function matchingCookie(c){if(c.hostOnly){if(c.domain!=host){return false}}else{if(!domainMatch(host,c.domain,false)){return false}}if(!allPaths&&!pathMatch(path,c.path)){return false}if(c.secure&&!secure){return false}if(c.httpOnly&&!http){return false}if(expireCheck&&c.expiryTime()<=now){store.removeCookie(c.domain,c.path,c.key,(function(){}));return false}return true}store.findCookies(host,allPaths?null:path,(function(err,cookies){if(err){return cb(err)}cookies=cookies.filter(matchingCookie);if(options.sort!==false){cookies=cookies.sort(cookieCompare)}var now=new Date;cookies.forEach((function(c){c.lastAccessed=now}));cb(null,cookies)}))};CAN_BE_SYNC.push("getCookieString");CookieJar.prototype.getCookieString=function(){var args=Array.prototype.slice.call(arguments,0);var cb=args.pop();var next=function(err,cookies){if(err){cb(err)}else{cb(null,cookies.sort(cookieCompare).map((function(c){return c.cookieString()})).join("; "))}};args.push(next);this.getCookies.apply(this,args)};CAN_BE_SYNC.push("getSetCookieStrings");CookieJar.prototype.getSetCookieStrings=function(){var args=Array.prototype.slice.call(arguments,0);var cb=args.pop();var next=function(err,cookies){if(err){cb(err)}else{cb(null,cookies.map((function(c){return c.toString()})))}};args.push(next);this.getCookies.apply(this,args)};CAN_BE_SYNC.push("serialize");CookieJar.prototype.serialize=function(cb){var type=this.store.constructor.name;if(type==="Object"){type=null}var serialized={version:"tough-cookie@"+VERSION,storeType:type,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};if(!(this.store.getAllCookies&&typeof this.store.getAllCookies==="function")){return cb(new Error("store does not support getAllCookies and cannot be serialized"))}this.store.getAllCookies((function(err,cookies){if(err){return cb(err)}serialized.cookies=cookies.map((function(cookie){cookie=cookie instanceof Cookie?cookie.toJSON():cookie;delete cookie.creationIndex;return cookie}));return cb(null,serialized)}))};CookieJar.prototype.toJSON=function(){return this.serializeSync()};CAN_BE_SYNC.push("_importCookies");CookieJar.prototype._importCookies=function(serialized,cb){var jar=this;var cookies=serialized.cookies;if(!cookies||!Array.isArray(cookies)){return cb(new Error("serialized jar has no cookies array"))}cookies=cookies.slice();function putNext(err){if(err){return cb(err)}if(!cookies.length){return cb(err,jar)}var cookie;try{cookie=fromJSON(cookies.shift())}catch(e){return cb(e)}if(cookie===null){return putNext(null)}jar.store.putCookie(cookie,putNext)}putNext()};CookieJar.deserialize=function(strOrObj,store,cb){if(arguments.length!==3){cb=store;store=null}var serialized;if(typeof strOrObj==="string"){serialized=jsonParse(strOrObj);if(serialized instanceof Error){return cb(serialized)}}else{serialized=strOrObj}var jar=new CookieJar(store,serialized.rejectPublicSuffixes);jar._importCookies(serialized,(function(err){if(err){return cb(err)}cb(null,jar)}))};CookieJar.deserializeSync=function(strOrObj,store){var serialized=typeof strOrObj==="string"?JSON.parse(strOrObj):strOrObj;var jar=new CookieJar(store,serialized.rejectPublicSuffixes);if(!jar.store.synchronous){throw new Error("CookieJar store is not synchronous; use async API instead.")}jar._importCookiesSync(serialized);return jar};CookieJar.fromJSON=CookieJar.deserializeSync;CookieJar.prototype.clone=function(newStore,cb){if(arguments.length===1){cb=newStore;newStore=null}this.serialize((function(err,serialized){if(err){return cb(err)}CookieJar.deserialize(serialized,newStore,cb)}))};CAN_BE_SYNC.push("removeAllCookies");CookieJar.prototype.removeAllCookies=function(cb){var store=this.store;if(store.removeAllCookies instanceof Function&&store.removeAllCookies!==Store.prototype.removeAllCookies){return store.removeAllCookies(cb)}store.getAllCookies((function(err,cookies){if(err){return cb(err)}if(cookies.length===0){return cb(null)}var completedCount=0;var removeErrors=[];function removeCookieCb(removeErr){if(removeErr){removeErrors.push(removeErr)}completedCount++;if(completedCount===cookies.length){return cb(removeErrors.length?removeErrors[0]:null)}}cookies.forEach((function(cookie){store.removeCookie(cookie.domain,cookie.path,cookie.key,removeCookieCb)}))}))};CookieJar.prototype._cloneSync=syncWrap("clone");CookieJar.prototype.cloneSync=function(newStore){if(!newStore.synchronous){throw new Error("CookieJar clone destination store is not synchronous; use async API instead.")}return this._cloneSync(newStore)};function syncWrap(method){return function(){if(!this.store.synchronous){throw new Error("CookieJar store is not synchronous; use async API instead.")}var args=Array.prototype.slice.call(arguments);var syncErr,syncResult;args.push((function syncCb(err,result){syncErr=err;syncResult=result}));this[method].apply(this,args);if(syncErr){throw syncErr}return syncResult}}CAN_BE_SYNC.forEach((function(method){CookieJar.prototype[method+"Sync"]=syncWrap(method)}));exports.version=VERSION;exports.CookieJar=CookieJar;exports.Cookie=Cookie;exports.Store=Store;exports.MemoryCookieStore=MemoryCookieStore;exports.parseDate=parseDate;exports.formatDate=formatDate;exports.parse=parse;exports.fromJSON=fromJSON;exports.domainMatch=domainMatch;exports.defaultPath=defaultPath;exports.pathMatch=pathMatch;exports.getPublicSuffix=pubsuffix.getPublicSuffix;exports.cookieCompare=cookieCompare;exports.permuteDomain=require("./permuteDomain").permuteDomain;exports.permutePath=permutePath;exports.canonicalDomain=canonicalDomain},{"./memstore":982,"./pathMatch":983,"./permuteDomain":984,"./pubsuffix-psl":985,"./store":986,"./version":987,net:129,punycode:130,url:995,util:1e3}],982:[function(require,module,exports){arguments[4][770][0].apply(exports,arguments)},{"./pathMatch":983,"./permuteDomain":984,"./store":986,dup:770,util:1e3}],983:[function(require,module,exports){arguments[4][771][0].apply(exports,arguments)},{dup:771}],984:[function(require,module,exports){arguments[4][772][0].apply(exports,arguments)},{"./pubsuffix-psl":985,dup:772}],985:[function(require,module,exports){arguments[4][773][0].apply(exports,arguments)},{dup:773,psl:857}],986:[function(require,module,exports){arguments[4][774][0].apply(exports,arguments)},{dup:774}],987:[function(require,module,exports){module.exports="2.5.0"},{}],988:[function(require,module,exports){"use strict";const punycode=require("punycode");const regexes=require("./lib/regexes.js");const mappingTable=require("./lib/mappingTable.json");const{STATUS_MAPPING:STATUS_MAPPING}=require("./lib/statusMapping.js");function containsNonASCII(str){return/[^\x00-\x7F]/.test(str)}function findStatus(val,{useSTD3ASCIIRules:useSTD3ASCIIRules}){let start=0;let end=mappingTable.length-1;while(start<=end){const mid=Math.floor((start+end)/2);const target=mappingTable[mid];const min=Array.isArray(target[0])?target[0][0]:target[0];const max=Array.isArray(target[0])?target[0][1]:target[0];if(min<=val&&max>=val){if(useSTD3ASCIIRules&&(target[1]===STATUS_MAPPING.disallowed_STD3_valid||target[1]===STATUS_MAPPING.disallowed_STD3_mapped)){return[STATUS_MAPPING.disallowed,...target.slice(2)]}else if(target[1]===STATUS_MAPPING.disallowed_STD3_valid){return[STATUS_MAPPING.valid,...target.slice(2)]}else if(target[1]===STATUS_MAPPING.disallowed_STD3_mapped){return[STATUS_MAPPING.mapped,...target.slice(2)]}return target.slice(1)}else if(min>val){end=mid-1}else{start=mid+1}}return null}function mapChars(domainName,{useSTD3ASCIIRules:useSTD3ASCIIRules,processingOption:processingOption}){let hasError=false;let processed="";for(const ch of domainName){const[status,mapping]=findStatus(ch.codePointAt(0),{useSTD3ASCIIRules:useSTD3ASCIIRules});switch(status){case STATUS_MAPPING.disallowed:hasError=true;processed+=ch;break;case STATUS_MAPPING.ignored:break;case STATUS_MAPPING.mapped:processed+=mapping;break;case STATUS_MAPPING.deviation:if(processingOption==="transitional"){processed+=mapping}else{processed+=ch}break;case STATUS_MAPPING.valid:processed+=ch;break}}return{string:processed,error:hasError}}function validateLabel(label,{checkHyphens:checkHyphens,checkBidi:checkBidi,checkJoiners:checkJoiners,processingOption:processingOption,useSTD3ASCIIRules:useSTD3ASCIIRules}){if(label.normalize("NFC")!==label){return false}const codePoints=Array.from(label);if(checkHyphens){if(codePoints[2]==="-"&&codePoints[3]==="-"||(label.startsWith("-")||label.endsWith("-"))){return false}}if(label.includes(".")||codePoints.length>0&®exes.combiningMarks.test(codePoints[0])){return false}for(const ch of codePoints){const[status]=findStatus(ch.codePointAt(0),{useSTD3ASCIIRules:useSTD3ASCIIRules});if(processingOption==="transitional"&&status!==STATUS_MAPPING.valid||processingOption==="nontransitional"&&status!==STATUS_MAPPING.valid&&status!==STATUS_MAPPING.deviation){return false}}if(checkJoiners){let last=0;for(const[i,ch]of codePoints.entries()){if(ch===""||ch===""){if(i>0){if(regexes.combiningClassVirama.test(codePoints[i-1])){continue}if(ch===""){const next=codePoints.indexOf("",i+1);const test=next<0?codePoints.slice(last):codePoints.slice(last,next);if(regexes.validZWNJ.test(test.join(""))){last=i+1;continue}}}return false}}}if(checkBidi){let rtl;if(regexes.bidiS1LTR.test(codePoints[0])){rtl=false}else if(regexes.bidiS1RTL.test(codePoints[0])){rtl=true}else{return false}if(rtl){if(!regexes.bidiS2.test(label)||!regexes.bidiS3.test(label)||regexes.bidiS4EN.test(label)&®exes.bidiS4AN.test(label)){return false}}else if(!regexes.bidiS5.test(label)||!regexes.bidiS6.test(label)){return false}}return true}function isBidiDomain(labels){const domain=labels.map(label=>{if(label.startsWith("xn--")){try{return punycode.decode(label.substring(4))}catch(err){return""}}return label}).join(".");return regexes.bidiDomain.test(domain)}function processing(domainName,options){const{processingOption:processingOption}=options;let{string:string,error:error}=mapChars(domainName,options);string=string.normalize("NFC");const labels=string.split(".");const isBidi=isBidiDomain(labels);for(const[i,origLabel]of labels.entries()){let label=origLabel;let curProcessing=processingOption;if(label.startsWith("xn--")){try{label=punycode.decode(label.substring(4));labels[i]=label}catch(err){error=true;continue}curProcessing="nontransitional"}if(error){continue}const validation=validateLabel(label,Object.assign({},options,{processingOption:curProcessing,checkBidi:options.checkBidi&&isBidi}));if(!validation){error=true}}return{string:labels.join("."),error:error}}function toASCII(domainName,{checkHyphens:checkHyphens=false,checkBidi:checkBidi=false,checkJoiners:checkJoiners=false,useSTD3ASCIIRules:useSTD3ASCIIRules=false,processingOption:processingOption="nontransitional",verifyDNSLength:verifyDNSLength=false}={}){if(processingOption!=="transitional"&&processingOption!=="nontransitional"){throw new RangeError("processingOption must be either transitional or nontransitional")}const result=processing(domainName,{processingOption:processingOption,checkHyphens:checkHyphens,checkBidi:checkBidi,checkJoiners:checkJoiners,useSTD3ASCIIRules:useSTD3ASCIIRules});let labels=result.string.split(".");labels=labels.map(l=>{if(containsNonASCII(l)){try{return"xn--"+punycode.encode(l)}catch(e){result.error=true}}return l});if(verifyDNSLength){const total=labels.join(".").length;if(total>253||total===0){result.error=true}for(let i=0;i<labels.length;++i){if(labels[i].length>63||labels[i].length===0){result.error=true;break}}}if(result.error){return null}return labels.join(".")}function toUnicode(domainName,{checkHyphens:checkHyphens=false,checkBidi:checkBidi=false,checkJoiners:checkJoiners=false,useSTD3ASCIIRules:useSTD3ASCIIRules=false,processingOption:processingOption="nontransitional"}={}){const result=processing(domainName,{processingOption:processingOption,checkHyphens:checkHyphens,checkBidi:checkBidi,checkJoiners:checkJoiners,useSTD3ASCIIRules:useSTD3ASCIIRules});return{domain:result.string,error:result.error}}module.exports={toASCII:toASCII,toUnicode:toUnicode}},{"./lib/mappingTable.json":989,"./lib/regexes.js":990,"./lib/statusMapping.js":991,punycode:130}],989:[function(require,module,exports){module.exports=[[[0,44],4],[[45,46],2],[47,4],[[48,57],2],[[58,64],4],[65,1,"a"],[66,1,"b"],[67,1,"c"],[68,1,"d"],[69,1,"e"],[70,1,"f"],[71,1,"g"],[72,1,"h"],[73,1,"i"],[74,1,"j"],[75,1,"k"],[76,1,"l"],[77,1,"m"],[78,1,"n"],[79,1,"o"],[80,1,"p"],[81,1,"q"],[82,1,"r"],[83,1,"s"],[84,1,"t"],[85,1,"u"],[86,1,"v"],[87,1,"w"],[88,1,"x"],[89,1,"y"],[90,1,"z"],[[91,96],4],[[97,122],2],[[123,127],4],[[128,159],3],[160,5," "],[[161,167],2],[168,5," ̈"],[169,2],[170,1,"a"],[[171,172],2],[173,7],[174,2],[175,5," ̄"],[[176,177],2],[178,1,"2"],[179,1,"3"],[180,5," ́"],[181,1,"μ"],[182,2],[183,2],[184,5," ̧"],[185,1,"1"],[186,1,"o"],[187,2],[188,1,"1⁄4"],[189,1,"1⁄2"],[190,1,"3⁄4"],[191,2],[192,1,"à"],[193,1,"á"],[194,1,"â"],[195,1,"ã"],[196,1,"ä"],[197,1,"å"],[198,1,"æ"],[199,1,"ç"],[200,1,"è"],[201,1,"é"],[202,1,"ê"],[203,1,"ë"],[204,1,"ì"],[205,1,"í"],[206,1,"î"],[207,1,"ï"],[208,1,"ð"],[209,1,"ñ"],[210,1,"ò"],[211,1,"ó"],[212,1,"ô"],[213,1,"õ"],[214,1,"ö"],[215,2],[216,1,"ø"],[217,1,"ù"],[218,1,"ú"],[219,1,"û"],[220,1,"ü"],[221,1,"ý"],[222,1,"þ"],[223,6,"ss"],[[224,246],2],[247,2],[[248,255],2],[256,1,"ā"],[257,2],[258,1,"ă"],[259,2],[260,1,"ą"],[261,2],[262,1,"ć"],[263,2],[264,1,"ĉ"],[265,2],[266,1,"ċ"],[267,2],[268,1,"č"],[269,2],[270,1,"ď"],[271,2],[272,1,"đ"],[273,2],[274,1,"ē"],[275,2],[276,1,"ĕ"],[277,2],[278,1,"ė"],[279,2],[280,1,"ę"],[281,2],[282,1,"ě"],[283,2],[284,1,"ĝ"],[285,2],[286,1,"ğ"],[287,2],[288,1,"ġ"],[289,2],[290,1,"ģ"],[291,2],[292,1,"ĥ"],[293,2],[294,1,"ħ"],[295,2],[296,1,"ĩ"],[297,2],[298,1,"ī"],[299,2],[300,1,"ĭ"],[301,2],[302,1,"į"],[303,2],[304,1,"i̇"],[305,2],[[306,307],1,"ij"],[308,1,"ĵ"],[309,2],[310,1,"ķ"],[[311,312],2],[313,1,"ĺ"],[314,2],[315,1,"ļ"],[316,2],[317,1,"ľ"],[318,2],[[319,320],1,"l·"],[321,1,"ł"],[322,2],[323,1,"ń"],[324,2],[325,1,"ņ"],[326,2],[327,1,"ň"],[328,2],[329,1,"ʼn"],[330,1,"ŋ"],[331,2],[332,1,"ō"],[333,2],[334,1,"ŏ"],[335,2],[336,1,"ő"],[337,2],[338,1,"œ"],[339,2],[340,1,"ŕ"],[341,2],[342,1,"ŗ"],[343,2],[344,1,"ř"],[345,2],[346,1,"ś"],[347,2],[348,1,"ŝ"],[349,2],[350,1,"ş"],[351,2],[352,1,"š"],[353,2],[354,1,"ţ"],[355,2],[356,1,"ť"],[357,2],[358,1,"ŧ"],[359,2],[360,1,"ũ"],[361,2],[362,1,"ū"],[363,2],[364,1,"ŭ"],[365,2],[366,1,"ů"],[367,2],[368,1,"ű"],[369,2],[370,1,"ų"],[371,2],[372,1,"ŵ"],[373,2],[374,1,"ŷ"],[375,2],[376,1,"ÿ"],[377,1,"ź"],[378,2],[379,1,"ż"],[380,2],[381,1,"ž"],[382,2],[383,1,"s"],[384,2],[385,1,"ɓ"],[386,1,"ƃ"],[387,2],[388,1,"ƅ"],[389,2],[390,1,"ɔ"],[391,1,"ƈ"],[392,2],[393,1,"ɖ"],[394,1,"ɗ"],[395,1,"ƌ"],[[396,397],2],[398,1,"ǝ"],[399,1,"ə"],[400,1,"ɛ"],[401,1,"ƒ"],[402,2],[403,1,"ɠ"],[404,1,"ɣ"],[405,2],[406,1,"ɩ"],[407,1,"ɨ"],[408,1,"ƙ"],[[409,411],2],[412,1,"ɯ"],[413,1,"ɲ"],[414,2],[415,1,"ɵ"],[416,1,"ơ"],[417,2],[418,1,"ƣ"],[419,2],[420,1,"ƥ"],[421,2],[422,1,"ʀ"],[423,1,"ƨ"],[424,2],[425,1,"ʃ"],[[426,427],2],[428,1,"ƭ"],[429,2],[430,1,"ʈ"],[431,1,"ư"],[432,2],[433,1,"ʊ"],[434,1,"ʋ"],[435,1,"ƴ"],[436,2],[437,1,"ƶ"],[438,2],[439,1,"ʒ"],[440,1,"ƹ"],[[441,443],2],[444,1,"ƽ"],[[445,451],2],[[452,454],1,"dž"],[[455,457],1,"lj"],[[458,460],1,"nj"],[461,1,"ǎ"],[462,2],[463,1,"ǐ"],[464,2],[465,1,"ǒ"],[466,2],[467,1,"ǔ"],[468,2],[469,1,"ǖ"],[470,2],[471,1,"ǘ"],[472,2],[473,1,"ǚ"],[474,2],[475,1,"ǜ"],[[476,477],2],[478,1,"ǟ"],[479,2],[480,1,"ǡ"],[481,2],[482,1,"ǣ"],[483,2],[484,1,"ǥ"],[485,2],[486,1,"ǧ"],[487,2],[488,1,"ǩ"],[489,2],[490,1,"ǫ"],[491,2],[492,1,"ǭ"],[493,2],[494,1,"ǯ"],[[495,496],2],[[497,499],1,"dz"],[500,1,"ǵ"],[501,2],[502,1,"ƕ"],[503,1,"ƿ"],[504,1,"ǹ"],[505,2],[506,1,"ǻ"],[507,2],[508,1,"ǽ"],[509,2],[510,1,"ǿ"],[511,2],[512,1,"ȁ"],[513,2],[514,1,"ȃ"],[515,2],[516,1,"ȅ"],[517,2],[518,1,"ȇ"],[519,2],[520,1,"ȉ"],[521,2],[522,1,"ȋ"],[523,2],[524,1,"ȍ"],[525,2],[526,1,"ȏ"],[527,2],[528,1,"ȑ"],[529,2],[530,1,"ȓ"],[531,2],[532,1,"ȕ"],[533,2],[534,1,"ȗ"],[535,2],[536,1,"ș"],[537,2],[538,1,"ț"],[539,2],[540,1,"ȝ"],[541,2],[542,1,"ȟ"],[543,2],[544,1,"ƞ"],[545,2],[546,1,"ȣ"],[547,2],[548,1,"ȥ"],[549,2],[550,1,"ȧ"],[551,2],[552,1,"ȩ"],[553,2],[554,1,"ȫ"],[555,2],[556,1,"ȭ"],[557,2],[558,1,"ȯ"],[559,2],[560,1,"ȱ"],[561,2],[562,1,"ȳ"],[563,2],[[564,566],2],[[567,569],2],[570,1,"ⱥ"],[571,1,"ȼ"],[572,2],[573,1,"ƚ"],[574,1,"ⱦ"],[[575,576],2],[577,1,"ɂ"],[578,2],[579,1,"ƀ"],[580,1,"ʉ"],[581,1,"ʌ"],[582,1,"ɇ"],[583,2],[584,1,"ɉ"],[585,2],[586,1,"ɋ"],[587,2],[588,1,"ɍ"],[589,2],[590,1,"ɏ"],[591,2],[[592,680],2],[[681,685],2],[[686,687],2],[688,1,"h"],[689,1,"ɦ"],[690,1,"j"],[691,1,"r"],[692,1,"ɹ"],[693,1,"ɻ"],[694,1,"ʁ"],[695,1,"w"],[696,1,"y"],[[697,705],2],[[706,709],2],[[710,721],2],[[722,727],2],[728,5," ̆"],[729,5," ̇"],[730,5," ̊"],[731,5," ̨"],[732,5," ̃"],[733,5," ̋"],[734,2],[735,2],[736,1,"ɣ"],[737,1,"l"],[738,1,"s"],[739,1,"x"],[740,1,"ʕ"],[[741,745],2],[[746,747],2],[748,2],[749,2],[750,2],[[751,767],2],[[768,831],2],[832,1,"̀"],[833,1,"́"],[834,2],[835,1,"̓"],[836,1,"̈́"],[837,1,"ι"],[[838,846],2],[847,7],[[848,855],2],[[856,860],2],[[861,863],2],[[864,865],2],[866,2],[[867,879],2],[880,1,"ͱ"],[881,2],[882,1,"ͳ"],[883,2],[884,1,"ʹ"],[885,2],[886,1,"ͷ"],[887,2],[[888,889],3],[890,5," ι"],[[891,893],2],[894,5,";"],[895,1,"ϳ"],[[896,899],3],[900,5," ́"],[901,5," ̈́"],[902,1,"ά"],[903,1,"·"],[904,1,"έ"],[905,1,"ή"],[906,1,"ί"],[907,3],[908,1,"ό"],[909,3],[910,1,"ύ"],[911,1,"ώ"],[912,2],[913,1,"α"],[914,1,"β"],[915,1,"γ"],[916,1,"δ"],[917,1,"ε"],[918,1,"ζ"],[919,1,"η"],[920,1,"θ"],[921,1,"ι"],[922,1,"κ"],[923,1,"λ"],[924,1,"μ"],[925,1,"ν"],[926,1,"ξ"],[927,1,"ο"],[928,1,"π"],[929,1,"ρ"],[930,3],[931,1,"σ"],[932,1,"τ"],[933,1,"υ"],[934,1,"φ"],[935,1,"χ"],[936,1,"ψ"],[937,1,"ω"],[938,1,"ϊ"],[939,1,"ϋ"],[[940,961],2],[962,6,"σ"],[[963,974],2],[975,1,"ϗ"],[976,1,"β"],[977,1,"θ"],[978,1,"υ"],[979,1,"ύ"],[980,1,"ϋ"],[981,1,"φ"],[982,1,"π"],[983,2],[984,1,"ϙ"],[985,2],[986,1,"ϛ"],[987,2],[988,1,"ϝ"],[989,2],[990,1,"ϟ"],[991,2],[992,1,"ϡ"],[993,2],[994,1,"ϣ"],[995,2],[996,1,"ϥ"],[997,2],[998,1,"ϧ"],[999,2],[1e3,1,"ϩ"],[1001,2],[1002,1,"ϫ"],[1003,2],[1004,1,"ϭ"],[1005,2],[1006,1,"ϯ"],[1007,2],[1008,1,"κ"],[1009,1,"ρ"],[1010,1,"σ"],[1011,2],[1012,1,"θ"],[1013,1,"ε"],[1014,2],[1015,1,"ϸ"],[1016,2],[1017,1,"σ"],[1018,1,"ϻ"],[1019,2],[1020,2],[1021,1,"ͻ"],[1022,1,"ͼ"],[1023,1,"ͽ"],[1024,1,"ѐ"],[1025,1,"ё"],[1026,1,"ђ"],[1027,1,"ѓ"],[1028,1,"є"],[1029,1,"ѕ"],[1030,1,"і"],[1031,1,"ї"],[1032,1,"ј"],[1033,1,"љ"],[1034,1,"њ"],[1035,1,"ћ"],[1036,1,"ќ"],[1037,1,"ѝ"],[1038,1,"ў"],[1039,1,"џ"],[1040,1,"а"],[1041,1,"б"],[1042,1,"в"],[1043,1,"г"],[1044,1,"д"],[1045,1,"е"],[1046,1,"ж"],[1047,1,"з"],[1048,1,"и"],[1049,1,"й"],[1050,1,"к"],[1051,1,"л"],[1052,1,"м"],[1053,1,"н"],[1054,1,"о"],[1055,1,"п"],[1056,1,"р"],[1057,1,"с"],[1058,1,"т"],[1059,1,"у"],[1060,1,"ф"],[1061,1,"х"],[1062,1,"ц"],[1063,1,"ч"],[1064,1,"ш"],[1065,1,"щ"],[1066,1,"ъ"],[1067,1,"ы"],[1068,1,"ь"],[1069,1,"э"],[1070,1,"ю"],[1071,1,"я"],[[1072,1103],2],[1104,2],[[1105,1116],2],[1117,2],[[1118,1119],2],[1120,1,"ѡ"],[1121,2],[1122,1,"ѣ"],[1123,2],[1124,1,"ѥ"],[1125,2],[1126,1,"ѧ"],[1127,2],[1128,1,"ѩ"],[1129,2],[1130,1,"ѫ"],[1131,2],[1132,1,"ѭ"],[1133,2],[1134,1,"ѯ"],[1135,2],[1136,1,"ѱ"],[1137,2],[1138,1,"ѳ"],[1139,2],[1140,1,"ѵ"],[1141,2],[1142,1,"ѷ"],[1143,2],[1144,1,"ѹ"],[1145,2],[1146,1,"ѻ"],[1147,2],[1148,1,"ѽ"],[1149,2],[1150,1,"ѿ"],[1151,2],[1152,1,"ҁ"],[1153,2],[1154,2],[[1155,1158],2],[1159,2],[[1160,1161],2],[1162,1,"ҋ"],[1163,2],[1164,1,"ҍ"],[1165,2],[1166,1,"ҏ"],[1167,2],[1168,1,"ґ"],[1169,2],[1170,1,"ғ"],[1171,2],[1172,1,"ҕ"],[1173,2],[1174,1,"җ"],[1175,2],[1176,1,"ҙ"],[1177,2],[1178,1,"қ"],[1179,2],[1180,1,"ҝ"],[1181,2],[1182,1,"ҟ"],[1183,2],[1184,1,"ҡ"],[1185,2],[1186,1,"ң"],[1187,2],[1188,1,"ҥ"],[1189,2],[1190,1,"ҧ"],[1191,2],[1192,1,"ҩ"],[1193,2],[1194,1,"ҫ"],[1195,2],[1196,1,"ҭ"],[1197,2],[1198,1,"ү"],[1199,2],[1200,1,"ұ"],[1201,2],[1202,1,"ҳ"],[1203,2],[1204,1,"ҵ"],[1205,2],[1206,1,"ҷ"],[1207,2],[1208,1,"ҹ"],[1209,2],[1210,1,"һ"],[1211,2],[1212,1,"ҽ"],[1213,2],[1214,1,"ҿ"],[1215,2],[1216,3],[1217,1,"ӂ"],[1218,2],[1219,1,"ӄ"],[1220,2],[1221,1,"ӆ"],[1222,2],[1223,1,"ӈ"],[1224,2],[1225,1,"ӊ"],[1226,2],[1227,1,"ӌ"],[1228,2],[1229,1,"ӎ"],[1230,2],[1231,2],[1232,1,"ӑ"],[1233,2],[1234,1,"ӓ"],[1235,2],[1236,1,"ӕ"],[1237,2],[1238,1,"ӗ"],[1239,2],[1240,1,"ә"],[1241,2],[1242,1,"ӛ"],[1243,2],[1244,1,"ӝ"],[1245,2],[1246,1,"ӟ"],[1247,2],[1248,1,"ӡ"],[1249,2],[1250,1,"ӣ"],[1251,2],[1252,1,"ӥ"],[1253,2],[1254,1,"ӧ"],[1255,2],[1256,1,"ө"],[1257,2],[1258,1,"ӫ"],[1259,2],[1260,1,"ӭ"],[1261,2],[1262,1,"ӯ"],[1263,2],[1264,1,"ӱ"],[1265,2],[1266,1,"ӳ"],[1267,2],[1268,1,"ӵ"],[1269,2],[1270,1,"ӷ"],[1271,2],[1272,1,"ӹ"],[1273,2],[1274,1,"ӻ"],[1275,2],[1276,1,"ӽ"],[1277,2],[1278,1,"ӿ"],[1279,2],[1280,1,"ԁ"],[1281,2],[1282,1,"ԃ"],[1283,2],[1284,1,"ԅ"],[1285,2],[1286,1,"ԇ"],[1287,2],[1288,1,"ԉ"],[1289,2],[1290,1,"ԋ"],[1291,2],[1292,1,"ԍ"],[1293,2],[1294,1,"ԏ"],[1295,2],[1296,1,"ԑ"],[1297,2],[1298,1,"ԓ"],[1299,2],[1300,1,"ԕ"],[1301,2],[1302,1,"ԗ"],[1303,2],[1304,1,"ԙ"],[1305,2],[1306,1,"ԛ"],[1307,2],[1308,1,"ԝ"],[1309,2],[1310,1,"ԟ"],[1311,2],[1312,1,"ԡ"],[1313,2],[1314,1,"ԣ"],[1315,2],[1316,1,"ԥ"],[1317,2],[1318,1,"ԧ"],[1319,2],[1320,1,"ԩ"],[1321,2],[1322,1,"ԫ"],[1323,2],[1324,1,"ԭ"],[1325,2],[1326,1,"ԯ"],[1327,2],[1328,3],[1329,1,"ա"],[1330,1,"բ"],[1331,1,"գ"],[1332,1,"դ"],[1333,1,"ե"],[1334,1,"զ"],[1335,1,"է"],[1336,1,"ը"],[1337,1,"թ"],[1338,1,"ժ"],[1339,1,"ի"],[1340,1,"լ"],[1341,1,"խ"],[1342,1,"ծ"],[1343,1,"կ"],[1344,1,"հ"],[1345,1,"ձ"],[1346,1,"ղ"],[1347,1,"ճ"],[1348,1,"մ"],[1349,1,"յ"],[1350,1,"ն"],[1351,1,"շ"],[1352,1,"ո"],[1353,1,"չ"],[1354,1,"պ"],[1355,1,"ջ"],[1356,1,"ռ"],[1357,1,"ս"],[1358,1,"վ"],[1359,1,"տ"],[1360,1,"ր"],[1361,1,"ց"],[1362,1,"ւ"],[1363,1,"փ"],[1364,1,"ք"],[1365,1,"օ"],[1366,1,"ֆ"],[[1367,1368],3],[1369,2],[[1370,1375],2],[1376,2],[[1377,1414],2],[1415,1,"եւ"],[1416,2],[1417,2],[1418,2],[[1419,1420],3],[[1421,1422],2],[1423,2],[1424,3],[[1425,1441],2],[1442,2],[[1443,1455],2],[[1456,1465],2],[1466,2],[[1467,1469],2],[1470,2],[1471,2],[1472,2],[[1473,1474],2],[1475,2],[1476,2],[1477,2],[1478,2],[1479,2],[[1480,1487],3],[[1488,1514],2],[[1515,1518],3],[1519,2],[[1520,1524],2],[[1525,1535],3],[[1536,1539],3],[1540,3],[1541,3],[[1542,1546],2],[1547,2],[1548,2],[[1549,1551],2],[[1552,1557],2],[[1558,1562],2],[1563,2],[1564,3],[1565,3],[1566,2],[1567,2],[1568,2],[[1569,1594],2],[[1595,1599],2],[1600,2],[[1601,1618],2],[[1619,1621],2],[[1622,1624],2],[[1625,1630],2],[1631,2],[[1632,1641],2],[[1642,1645],2],[[1646,1647],2],[[1648,1652],2],[1653,1,"اٴ"],[1654,1,"وٴ"],[1655,1,"ۇٴ"],[1656,1,"يٴ"],[[1657,1719],2],[[1720,1721],2],[[1722,1726],2],[1727,2],[[1728,1742],2],[1743,2],[[1744,1747],2],[1748,2],[[1749,1756],2],[1757,3],[1758,2],[[1759,1768],2],[1769,2],[[1770,1773],2],[[1774,1775],2],[[1776,1785],2],[[1786,1790],2],[1791,2],[[1792,1805],2],[1806,3],[1807,3],[[1808,1836],2],[[1837,1839],2],[[1840,1866],2],[[1867,1868],3],[[1869,1871],2],[[1872,1901],2],[[1902,1919],2],[[1920,1968],2],[1969,2],[[1970,1983],3],[[1984,2037],2],[[2038,2042],2],[[2043,2044],3],[2045,2],[[2046,2047],2],[[2048,2093],2],[[2094,2095],3],[[2096,2110],2],[2111,3],[[2112,2139],2],[[2140,2141],3],[2142,2],[2143,3],[[2144,2154],2],[[2155,2207],3],[2208,2],[2209,2],[[2210,2220],2],[[2221,2226],2],[[2227,2228],2],[2229,3],[[2230,2237],2],[[2238,2258],3],[2259,2],[[2260,2273],2],[2274,3],[2275,2],[[2276,2302],2],[2303,2],[2304,2],[[2305,2307],2],[2308,2],[[2309,2361],2],[[2362,2363],2],[[2364,2381],2],[2382,2],[2383,2],[[2384,2388],2],[2389,2],[[2390,2391],2],[2392,1,"क़"],[2393,1,"ख़"],[2394,1,"ग़"],[2395,1,"ज़"],[2396,1,"ड़"],[2397,1,"ढ़"],[2398,1,"फ़"],[2399,1,"य़"],[[2400,2403],2],[[2404,2405],2],[[2406,2415],2],[2416,2],[[2417,2418],2],[[2419,2423],2],[2424,2],[[2425,2426],2],[[2427,2428],2],[2429,2],[[2430,2431],2],[2432,2],[[2433,2435],2],[2436,3],[[2437,2444],2],[[2445,2446],3],[[2447,2448],2],[[2449,2450],3],[[2451,2472],2],[2473,3],[[2474,2480],2],[2481,3],[2482,2],[[2483,2485],3],[[2486,2489],2],[[2490,2491],3],[2492,2],[2493,2],[[2494,2500],2],[[2501,2502],3],[[2503,2504],2],[[2505,2506],3],[[2507,2509],2],[2510,2],[[2511,2518],3],[2519,2],[[2520,2523],3],[2524,1,"ড়"],[2525,1,"ঢ়"],[2526,3],[2527,1,"য়"],[[2528,2531],2],[[2532,2533],3],[[2534,2545],2],[[2546,2554],2],[2555,2],[2556,2],[2557,2],[2558,2],[[2559,2560],3],[2561,2],[2562,2],[2563,2],[2564,3],[[2565,2570],2],[[2571,2574],3],[[2575,2576],2],[[2577,2578],3],[[2579,2600],2],[2601,3],[[2602,2608],2],[2609,3],[2610,2],[2611,1,"ਲ਼"],[2612,3],[2613,2],[2614,1,"ਸ਼"],[2615,3],[[2616,2617],2],[[2618,2619],3],[2620,2],[2621,3],[[2622,2626],2],[[2627,2630],3],[[2631,2632],2],[[2633,2634],3],[[2635,2637],2],[[2638,2640],3],[2641,2],[[2642,2648],3],[2649,1,"ਖ਼"],[2650,1,"ਗ਼"],[2651,1,"ਜ਼"],[2652,2],[2653,3],[2654,1,"ਫ਼"],[[2655,2661],3],[[2662,2676],2],[2677,2],[2678,2],[[2679,2688],3],[[2689,2691],2],[2692,3],[[2693,2699],2],[2700,2],[2701,2],[2702,3],[[2703,2705],2],[2706,3],[[2707,2728],2],[2729,3],[[2730,2736],2],[2737,3],[[2738,2739],2],[2740,3],[[2741,2745],2],[[2746,2747],3],[[2748,2757],2],[2758,3],[[2759,2761],2],[2762,3],[[2763,2765],2],[[2766,2767],3],[2768,2],[[2769,2783],3],[2784,2],[[2785,2787],2],[[2788,2789],3],[[2790,2799],2],[2800,2],[2801,2],[[2802,2808],3],[2809,2],[[2810,2815],2],[2816,3],[[2817,2819],2],[2820,3],[[2821,2828],2],[[2829,2830],3],[[2831,2832],2],[[2833,2834],3],[[2835,2856],2],[2857,3],[[2858,2864],2],[2865,3],[[2866,2867],2],[2868,3],[2869,2],[[2870,2873],2],[[2874,2875],3],[[2876,2883],2],[2884,2],[[2885,2886],3],[[2887,2888],2],[[2889,2890],3],[[2891,2893],2],[[2894,2901],3],[[2902,2903],2],[[2904,2907],3],[2908,1,"ଡ଼"],[2909,1,"ଢ଼"],[2910,3],[[2911,2913],2],[[2914,2915],2],[[2916,2917],3],[[2918,2927],2],[2928,2],[2929,2],[[2930,2935],2],[[2936,2945],3],[[2946,2947],2],[2948,3],[[2949,2954],2],[[2955,2957],3],[[2958,2960],2],[2961,3],[[2962,2965],2],[[2966,2968],3],[[2969,2970],2],[2971,3],[2972,2],[2973,3],[[2974,2975],2],[[2976,2978],3],[[2979,2980],2],[[2981,2983],3],[[2984,2986],2],[[2987,2989],3],[[2990,2997],2],[2998,2],[[2999,3001],2],[[3002,3005],3],[[3006,3010],2],[[3011,3013],3],[[3014,3016],2],[3017,3],[[3018,3021],2],[[3022,3023],3],[3024,2],[[3025,3030],3],[3031,2],[[3032,3045],3],[3046,2],[[3047,3055],2],[[3056,3058],2],[[3059,3066],2],[[3067,3071],3],[3072,2],[[3073,3075],2],[3076,2],[[3077,3084],2],[3085,3],[[3086,3088],2],[3089,3],[[3090,3112],2],[3113,3],[[3114,3123],2],[3124,2],[[3125,3129],2],[[3130,3132],3],[3133,2],[[3134,3140],2],[3141,3],[[3142,3144],2],[3145,3],[[3146,3149],2],[[3150,3156],3],[[3157,3158],2],[3159,3],[[3160,3161],2],[3162,2],[[3163,3167],3],[[3168,3169],2],[[3170,3171],2],[[3172,3173],3],[[3174,3183],2],[[3184,3190],3],[3191,2],[[3192,3199],2],[3200,2],[3201,2],[[3202,3203],2],[3204,2],[[3205,3212],2],[3213,3],[[3214,3216],2],[3217,3],[[3218,3240],2],[3241,3],[[3242,3251],2],[3252,3],[[3253,3257],2],[[3258,3259],3],[[3260,3261],2],[[3262,3268],2],[3269,3],[[3270,3272],2],[3273,3],[[3274,3277],2],[[3278,3284],3],[[3285,3286],2],[[3287,3293],3],[3294,2],[3295,3],[[3296,3297],2],[[3298,3299],2],[[3300,3301],3],[[3302,3311],2],[3312,3],[[3313,3314],2],[[3315,3327],3],[3328,2],[3329,2],[[3330,3331],2],[3332,3],[[3333,3340],2],[3341,3],[[3342,3344],2],[3345,3],[[3346,3368],2],[3369,2],[[3370,3385],2],[3386,2],[[3387,3388],2],[3389,2],[[3390,3395],2],[3396,2],[3397,3],[[3398,3400],2],[3401,3],[[3402,3405],2],[3406,2],[3407,2],[[3408,3411],3],[[3412,3414],2],[3415,2],[[3416,3422],2],[3423,2],[[3424,3425],2],[[3426,3427],2],[[3428,3429],3],[[3430,3439],2],[[3440,3445],2],[[3446,3448],2],[3449,2],[[3450,3455],2],[[3456,3457],3],[[3458,3459],2],[3460,3],[[3461,3478],2],[[3479,3481],3],[[3482,3505],2],[3506,3],[[3507,3515],2],[3516,3],[3517,2],[[3518,3519],3],[[3520,3526],2],[[3527,3529],3],[3530,2],[[3531,3534],3],[[3535,3540],2],[3541,3],[3542,2],[3543,3],[[3544,3551],2],[[3552,3557],3],[[3558,3567],2],[[3568,3569],3],[[3570,3571],2],[3572,2],[[3573,3584],3],[[3585,3634],2],[3635,1,"ํา"],[[3636,3642],2],[[3643,3646],3],[3647,2],[[3648,3662],2],[3663,2],[[3664,3673],2],[[3674,3675],2],[[3676,3712],3],[[3713,3714],2],[3715,3],[3716,2],[3717,3],[3718,2],[[3719,3720],2],[3721,2],[3722,2],[3723,3],[3724,2],[3725,2],[[3726,3731],2],[[3732,3735],2],[3736,2],[[3737,3743],2],[3744,2],[[3745,3747],2],[3748,3],[3749,2],[3750,3],[3751,2],[[3752,3753],2],[[3754,3755],2],[3756,2],[[3757,3762],2],[3763,1,"ໍາ"],[[3764,3769],2],[3770,2],[[3771,3773],2],[[3774,3775],3],[[3776,3780],2],[3781,3],[3782,2],[3783,3],[[3784,3789],2],[[3790,3791],3],[[3792,3801],2],[[3802,3803],3],[3804,1,"ຫນ"],[3805,1,"ຫມ"],[[3806,3807],2],[[3808,3839],3],[3840,2],[[3841,3850],2],[3851,2],[3852,1,"་"],[[3853,3863],2],[[3864,3865],2],[[3866,3871],2],[[3872,3881],2],[[3882,3892],2],[3893,2],[3894,2],[3895,2],[3896,2],[3897,2],[[3898,3901],2],[[3902,3906],2],[3907,1,"གྷ"],[[3908,3911],2],[3912,3],[[3913,3916],2],[3917,1,"ཌྷ"],[[3918,3921],2],[3922,1,"དྷ"],[[3923,3926],2],[3927,1,"བྷ"],[[3928,3931],2],[3932,1,"ཛྷ"],[[3933,3944],2],[3945,1,"ཀྵ"],[3946,2],[[3947,3948],2],[[3949,3952],3],[[3953,3954],2],[3955,1,"ཱི"],[3956,2],[3957,1,"ཱུ"],[3958,1,"ྲྀ"],[3959,1,"ྲཱྀ"],[3960,1,"ླྀ"],[3961,1,"ླཱྀ"],[[3962,3968],2],[3969,1,"ཱྀ"],[[3970,3972],2],[3973,2],[[3974,3979],2],[[3980,3983],2],[[3984,3986],2],[3987,1,"ྒྷ"],[[3988,3989],2],[3990,2],[3991,2],[3992,3],[[3993,3996],2],[3997,1,"ྜྷ"],[[3998,4001],2],[4002,1,"ྡྷ"],[[4003,4006],2],[4007,1,"ྦྷ"],[[4008,4011],2],[4012,1,"ྫྷ"],[4013,2],[[4014,4016],2],[[4017,4023],2],[4024,2],[4025,1,"ྐྵ"],[[4026,4028],2],[4029,3],[[4030,4037],2],[4038,2],[[4039,4044],2],[4045,3],[4046,2],[4047,2],[[4048,4049],2],[[4050,4052],2],[[4053,4056],2],[[4057,4058],2],[[4059,4095],3],[[4096,4129],2],[4130,2],[[4131,4135],2],[4136,2],[[4137,4138],2],[4139,2],[[4140,4146],2],[[4147,4149],2],[[4150,4153],2],[[4154,4159],2],[[4160,4169],2],[[4170,4175],2],[[4176,4185],2],[[4186,4249],2],[[4250,4253],2],[[4254,4255],2],[[4256,4293],3],[4294,3],[4295,1,"ⴧ"],[[4296,4300],3],[4301,1,"ⴭ"],[[4302,4303],3],[[4304,4342],2],[[4343,4344],2],[[4345,4346],2],[4347,2],[4348,1,"ნ"],[[4349,4351],2],[[4352,4441],2],[[4442,4446],2],[[4447,4448],3],[[4449,4514],2],[[4515,4519],2],[[4520,4601],2],[[4602,4607],2],[[4608,4614],2],[4615,2],[[4616,4678],2],[4679,2],[4680,2],[4681,3],[[4682,4685],2],[[4686,4687],3],[[4688,4694],2],[4695,3],[4696,2],[4697,3],[[4698,4701],2],[[4702,4703],3],[[4704,4742],2],[4743,2],[4744,2],[4745,3],[[4746,4749],2],[[4750,4751],3],[[4752,4782],2],[4783,2],[4784,2],[4785,3],[[4786,4789],2],[[4790,4791],3],[[4792,4798],2],[4799,3],[4800,2],[4801,3],[[4802,4805],2],[[4806,4807],3],[[4808,4814],2],[4815,2],[[4816,4822],2],[4823,3],[[4824,4846],2],[4847,2],[[4848,4878],2],[4879,2],[4880,2],[4881,3],[[4882,4885],2],[[4886,4887],3],[[4888,4894],2],[4895,2],[[4896,4934],2],[4935,2],[[4936,4954],2],[[4955,4956],3],[[4957,4958],2],[4959,2],[4960,2],[[4961,4988],2],[[4989,4991],3],[[4992,5007],2],[[5008,5017],2],[[5018,5023],3],[[5024,5108],2],[5109,2],[[5110,5111],3],[5112,1,"Ᏸ"],[5113,1,"Ᏹ"],[5114,1,"Ᏺ"],[5115,1,"Ᏻ"],[5116,1,"Ᏼ"],[5117,1,"Ᏽ"],[[5118,5119],3],[5120,2],[[5121,5740],2],[[5741,5742],2],[[5743,5750],2],[[5751,5759],2],[5760,3],[[5761,5786],2],[[5787,5788],2],[[5789,5791],3],[[5792,5866],2],[[5867,5872],2],[[5873,5880],2],[[5881,5887],3],[[5888,5900],2],[5901,3],[[5902,5908],2],[[5909,5919],3],[[5920,5940],2],[[5941,5942],2],[[5943,5951],3],[[5952,5971],2],[[5972,5983],3],[[5984,5996],2],[5997,3],[[5998,6e3],2],[6001,3],[[6002,6003],2],[[6004,6015],3],[[6016,6067],2],[[6068,6069],3],[[6070,6099],2],[[6100,6102],2],[6103,2],[[6104,6107],2],[6108,2],[6109,2],[[6110,6111],3],[[6112,6121],2],[[6122,6127],3],[[6128,6137],2],[[6138,6143],3],[[6144,6149],2],[6150,3],[[6151,6154],2],[[6155,6157],7],[6158,3],[6159,3],[[6160,6169],2],[[6170,6175],3],[[6176,6263],2],[6264,2],[[6265,6271],3],[[6272,6313],2],[6314,2],[[6315,6319],3],[[6320,6389],2],[[6390,6399],3],[[6400,6428],2],[[6429,6430],2],[6431,3],[[6432,6443],2],[[6444,6447],3],[[6448,6459],2],[[6460,6463],3],[6464,2],[[6465,6467],3],[[6468,6469],2],[[6470,6509],2],[[6510,6511],3],[[6512,6516],2],[[6517,6527],3],[[6528,6569],2],[[6570,6571],2],[[6572,6575],3],[[6576,6601],2],[[6602,6607],3],[[6608,6617],2],[6618,2],[[6619,6621],3],[[6622,6623],2],[[6624,6655],2],[[6656,6683],2],[[6684,6685],3],[[6686,6687],2],[[6688,6750],2],[6751,3],[[6752,6780],2],[[6781,6782],3],[[6783,6793],2],[[6794,6799],3],[[6800,6809],2],[[6810,6815],3],[[6816,6822],2],[6823,2],[[6824,6829],2],[[6830,6831],3],[[6832,6845],2],[6846,2],[[6847,6911],3],[[6912,6987],2],[[6988,6991],3],[[6992,7001],2],[[7002,7018],2],[[7019,7027],2],[[7028,7036],2],[[7037,7039],3],[[7040,7082],2],[[7083,7085],2],[[7086,7097],2],[[7098,7103],2],[[7104,7155],2],[[7156,7163],3],[[7164,7167],2],[[7168,7223],2],[[7224,7226],3],[[7227,7231],2],[[7232,7241],2],[[7242,7244],3],[[7245,7293],2],[[7294,7295],2],[7296,1,"в"],[7297,1,"д"],[7298,1,"о"],[7299,1,"с"],[[7300,7301],1,"т"],[7302,1,"ъ"],[7303,1,"ѣ"],[7304,1,"ꙋ"],[[7305,7311],3],[7312,1,"ა"],[7313,1,"ბ"],[7314,1,"გ"],[7315,1,"დ"],[7316,1,"ე"],[7317,1,"ვ"],[7318,1,"ზ"],[7319,1,"თ"],[7320,1,"ი"],[7321,1,"კ"],[7322,1,"ლ"],[7323,1,"მ"],[7324,1,"ნ"],[7325,1,"ო"],[7326,1,"პ"],[7327,1,"ჟ"],[7328,1,"რ"],[7329,1,"ს"],[7330,1,"ტ"],[7331,1,"უ"],[7332,1,"ფ"],[7333,1,"ქ"],[7334,1,"ღ"],[7335,1,"ყ"],[7336,1,"შ"],[7337,1,"ჩ"],[7338,1,"ც"],[7339,1,"ძ"],[7340,1,"წ"],[7341,1,"ჭ"],[7342,1,"ხ"],[7343,1,"ჯ"],[7344,1,"ჰ"],[7345,1,"ჱ"],[7346,1,"ჲ"],[7347,1,"ჳ"],[7348,1,"ჴ"],[7349,1,"ჵ"],[7350,1,"ჶ"],[7351,1,"ჷ"],[7352,1,"ჸ"],[7353,1,"ჹ"],[7354,1,"ჺ"],[[7355,7356],3],[7357,1,"ჽ"],[7358,1,"ჾ"],[7359,1,"ჿ"],[[7360,7367],2],[[7368,7375],3],[[7376,7378],2],[7379,2],[[7380,7410],2],[[7411,7414],2],[7415,2],[[7416,7417],2],[7418,2],[[7419,7423],3],[[7424,7467],2],[7468,1,"a"],[7469,1,"æ"],[7470,1,"b"],[7471,2],[7472,1,"d"],[7473,1,"e"],[7474,1,"ǝ"],[7475,1,"g"],[7476,1,"h"],[7477,1,"i"],[7478,1,"j"],[7479,1,"k"],[7480,1,"l"],[7481,1,"m"],[7482,1,"n"],[7483,2],[7484,1,"o"],[7485,1,"ȣ"],[7486,1,"p"],[7487,1,"r"],[7488,1,"t"],[7489,1,"u"],[7490,1,"w"],[7491,1,"a"],[7492,1,"ɐ"],[7493,1,"ɑ"],[7494,1,"ᴂ"],[7495,1,"b"],[7496,1,"d"],[7497,1,"e"],[7498,1,"ə"],[7499,1,"ɛ"],[7500,1,"ɜ"],[7501,1,"g"],[7502,2],[7503,1,"k"],[7504,1,"m"],[7505,1,"ŋ"],[7506,1,"o"],[7507,1,"ɔ"],[7508,1,"ᴖ"],[7509,1,"ᴗ"],[7510,1,"p"],[7511,1,"t"],[7512,1,"u"],[7513,1,"ᴝ"],[7514,1,"ɯ"],[7515,1,"v"],[7516,1,"ᴥ"],[7517,1,"β"],[7518,1,"γ"],[7519,1,"δ"],[7520,1,"φ"],[7521,1,"χ"],[7522,1,"i"],[7523,1,"r"],[7524,1,"u"],[7525,1,"v"],[7526,1,"β"],[7527,1,"γ"],[7528,1,"ρ"],[7529,1,"φ"],[7530,1,"χ"],[7531,2],[[7532,7543],2],[7544,1,"н"],[[7545,7578],2],[7579,1,"ɒ"],[7580,1,"c"],[7581,1,"ɕ"],[7582,1,"ð"],[7583,1,"ɜ"],[7584,1,"f"],[7585,1,"ɟ"],[7586,1,"ɡ"],[7587,1,"ɥ"],[7588,1,"ɨ"],[7589,1,"ɩ"],[7590,1,"ɪ"],[7591,1,"ᵻ"],[7592,1,"ʝ"],[7593,1,"ɭ"],[7594,1,"ᶅ"],[7595,1,"ʟ"],[7596,1,"ɱ"],[7597,1,"ɰ"],[7598,1,"ɲ"],[7599,1,"ɳ"],[7600,1,"ɴ"],[7601,1,"ɵ"],[7602,1,"ɸ"],[7603,1,"ʂ"],[7604,1,"ʃ"],[7605,1,"ƫ"],[7606,1,"ʉ"],[7607,1,"ʊ"],[7608,1,"ᴜ"],[7609,1,"ʋ"],[7610,1,"ʌ"],[7611,1,"z"],[7612,1,"ʐ"],[7613,1,"ʑ"],[7614,1,"ʒ"],[7615,1,"θ"],[[7616,7619],2],[[7620,7626],2],[[7627,7654],2],[[7655,7669],2],[[7670,7673],2],[7674,3],[7675,2],[7676,2],[7677,2],[[7678,7679],2],[7680,1,"ḁ"],[7681,2],[7682,1,"ḃ"],[7683,2],[7684,1,"ḅ"],[7685,2],[7686,1,"ḇ"],[7687,2],[7688,1,"ḉ"],[7689,2],[7690,1,"ḋ"],[7691,2],[7692,1,"ḍ"],[7693,2],[7694,1,"ḏ"],[7695,2],[7696,1,"ḑ"],[7697,2],[7698,1,"ḓ"],[7699,2],[7700,1,"ḕ"],[7701,2],[7702,1,"ḗ"],[7703,2],[7704,1,"ḙ"],[7705,2],[7706,1,"ḛ"],[7707,2],[7708,1,"ḝ"],[7709,2],[7710,1,"ḟ"],[7711,2],[7712,1,"ḡ"],[7713,2],[7714,1,"ḣ"],[7715,2],[7716,1,"ḥ"],[7717,2],[7718,1,"ḧ"],[7719,2],[7720,1,"ḩ"],[7721,2],[7722,1,"ḫ"],[7723,2],[7724,1,"ḭ"],[7725,2],[7726,1,"ḯ"],[7727,2],[7728,1,"ḱ"],[7729,2],[7730,1,"ḳ"],[7731,2],[7732,1,"ḵ"],[7733,2],[7734,1,"ḷ"],[7735,2],[7736,1,"ḹ"],[7737,2],[7738,1,"ḻ"],[7739,2],[7740,1,"ḽ"],[7741,2],[7742,1,"ḿ"],[7743,2],[7744,1,"ṁ"],[7745,2],[7746,1,"ṃ"],[7747,2],[7748,1,"ṅ"],[7749,2],[7750,1,"ṇ"],[7751,2],[7752,1,"ṉ"],[7753,2],[7754,1,"ṋ"],[7755,2],[7756,1,"ṍ"],[7757,2],[7758,1,"ṏ"],[7759,2],[7760,1,"ṑ"],[7761,2],[7762,1,"ṓ"],[7763,2],[7764,1,"ṕ"],[7765,2],[7766,1,"ṗ"],[7767,2],[7768,1,"ṙ"],[7769,2],[7770,1,"ṛ"],[7771,2],[7772,1,"ṝ"],[7773,2],[7774,1,"ṟ"],[7775,2],[7776,1,"ṡ"],[7777,2],[7778,1,"ṣ"],[7779,2],[7780,1,"ṥ"],[7781,2],[7782,1,"ṧ"],[7783,2],[7784,1,"ṩ"],[7785,2],[7786,1,"ṫ"],[7787,2],[7788,1,"ṭ"],[7789,2],[7790,1,"ṯ"],[7791,2],[7792,1,"ṱ"],[7793,2],[7794,1,"ṳ"],[7795,2],[7796,1,"ṵ"],[7797,2],[7798,1,"ṷ"],[7799,2],[7800,1,"ṹ"],[7801,2],[7802,1,"ṻ"],[7803,2],[7804,1,"ṽ"],[7805,2],[7806,1,"ṿ"],[7807,2],[7808,1,"ẁ"],[7809,2],[7810,1,"ẃ"],[7811,2],[7812,1,"ẅ"],[7813,2],[7814,1,"ẇ"],[7815,2],[7816,1,"ẉ"],[7817,2],[7818,1,"ẋ"],[7819,2],[7820,1,"ẍ"],[7821,2],[7822,1,"ẏ"],[7823,2],[7824,1,"ẑ"],[7825,2],[7826,1,"ẓ"],[7827,2],[7828,1,"ẕ"],[[7829,7833],2],[7834,1,"aʾ"],[7835,1,"ṡ"],[[7836,7837],2],[7838,1,"ss"],[7839,2],[7840,1,"ạ"],[7841,2],[7842,1,"ả"],[7843,2],[7844,1,"ấ"],[7845,2],[7846,1,"ầ"],[7847,2],[7848,1,"ẩ"],[7849,2],[7850,1,"ẫ"],[7851,2],[7852,1,"ậ"],[7853,2],[7854,1,"ắ"],[7855,2],[7856,1,"ằ"],[7857,2],[7858,1,"ẳ"],[7859,2],[7860,1,"ẵ"],[7861,2],[7862,1,"ặ"],[7863,2],[7864,1,"ẹ"],[7865,2],[7866,1,"ẻ"],[7867,2],[7868,1,"ẽ"],[7869,2],[7870,1,"ế"],[7871,2],[7872,1,"ề"],[7873,2],[7874,1,"ể"],[7875,2],[7876,1,"ễ"],[7877,2],[7878,1,"ệ"],[7879,2],[7880,1,"ỉ"],[7881,2],[7882,1,"ị"],[7883,2],[7884,1,"ọ"],[7885,2],[7886,1,"ỏ"],[7887,2],[7888,1,"ố"],[7889,2],[7890,1,"ồ"],[7891,2],[7892,1,"ổ"],[7893,2],[7894,1,"ỗ"],[7895,2],[7896,1,"ộ"],[7897,2],[7898,1,"ớ"],[7899,2],[7900,1,"ờ"],[7901,2],[7902,1,"ở"],[7903,2],[7904,1,"ỡ"],[7905,2],[7906,1,"ợ"],[7907,2],[7908,1,"ụ"],[7909,2],[7910,1,"ủ"],[7911,2],[7912,1,"ứ"],[7913,2],[7914,1,"ừ"],[7915,2],[7916,1,"ử"],[7917,2],[7918,1,"ữ"],[7919,2],[7920,1,"ự"],[7921,2],[7922,1,"ỳ"],[7923,2],[7924,1,"ỵ"],[7925,2],[7926,1,"ỷ"],[7927,2],[7928,1,"ỹ"],[7929,2],[7930,1,"ỻ"],[7931,2],[7932,1,"ỽ"],[7933,2],[7934,1,"ỿ"],[7935,2],[[7936,7943],2],[7944,1,"ἀ"],[7945,1,"ἁ"],[7946,1,"ἂ"],[7947,1,"ἃ"],[7948,1,"ἄ"],[7949,1,"ἅ"],[7950,1,"ἆ"],[7951,1,"ἇ"],[[7952,7957],2],[[7958,7959],3],[7960,1,"ἐ"],[7961,1,"ἑ"],[7962,1,"ἒ"],[7963,1,"ἓ"],[7964,1,"ἔ"],[7965,1,"ἕ"],[[7966,7967],3],[[7968,7975],2],[7976,1,"ἠ"],[7977,1,"ἡ"],[7978,1,"ἢ"],[7979,1,"ἣ"],[7980,1,"ἤ"],[7981,1,"ἥ"],[7982,1,"ἦ"],[7983,1,"ἧ"],[[7984,7991],2],[7992,1,"ἰ"],[7993,1,"ἱ"],[7994,1,"ἲ"],[7995,1,"ἳ"],[7996,1,"ἴ"],[7997,1,"ἵ"],[7998,1,"ἶ"],[7999,1,"ἷ"],[[8e3,8005],2],[[8006,8007],3],[8008,1,"ὀ"],[8009,1,"ὁ"],[8010,1,"ὂ"],[8011,1,"ὃ"],[8012,1,"ὄ"],[8013,1,"ὅ"],[[8014,8015],3],[[8016,8023],2],[8024,3],[8025,1,"ὑ"],[8026,3],[8027,1,"ὓ"],[8028,3],[8029,1,"ὕ"],[8030,3],[8031,1,"ὗ"],[[8032,8039],2],[8040,1,"ὠ"],[8041,1,"ὡ"],[8042,1,"ὢ"],[8043,1,"ὣ"],[8044,1,"ὤ"],[8045,1,"ὥ"],[8046,1,"ὦ"],[8047,1,"ὧ"],[8048,2],[8049,1,"ά"],[8050,2],[8051,1,"έ"],[8052,2],[8053,1,"ή"],[8054,2],[8055,1,"ί"],[8056,2],[8057,1,"ό"],[8058,2],[8059,1,"ύ"],[8060,2],[8061,1,"ώ"],[[8062,8063],3],[8064,1,"ἀι"],[8065,1,"ἁι"],[8066,1,"ἂι"],[8067,1,"ἃι"],[8068,1,"ἄι"],[8069,1,"ἅι"],[8070,1,"ἆι"],[8071,1,"ἇι"],[8072,1,"ἀι"],[8073,1,"ἁι"],[8074,1,"ἂι"],[8075,1,"ἃι"],[8076,1,"ἄι"],[8077,1,"ἅι"],[8078,1,"ἆι"],[8079,1,"ἇι"],[8080,1,"ἠι"],[8081,1,"ἡι"],[8082,1,"ἢι"],[8083,1,"ἣι"],[8084,1,"ἤι"],[8085,1,"ἥι"],[8086,1,"ἦι"],[8087,1,"ἧι"],[8088,1,"ἠι"],[8089,1,"ἡι"],[8090,1,"ἢι"],[8091,1,"ἣι"],[8092,1,"ἤι"],[8093,1,"ἥι"],[8094,1,"ἦι"],[8095,1,"ἧι"],[8096,1,"ὠι"],[8097,1,"ὡι"],[8098,1,"ὢι"],[8099,1,"ὣι"],[8100,1,"ὤι"],[8101,1,"ὥι"],[8102,1,"ὦι"],[8103,1,"ὧι"],[8104,1,"ὠι"],[8105,1,"ὡι"],[8106,1,"ὢι"],[8107,1,"ὣι"],[8108,1,"ὤι"],[8109,1,"ὥι"],[8110,1,"ὦι"],[8111,1,"ὧι"],[[8112,8113],2],[8114,1,"ὰι"],[8115,1,"αι"],[8116,1,"άι"],[8117,3],[8118,2],[8119,1,"ᾶι"],[8120,1,"ᾰ"],[8121,1,"ᾱ"],[8122,1,"ὰ"],[8123,1,"ά"],[8124,1,"αι"],[8125,5," ̓"],[8126,1,"ι"],[8127,5," ̓"],[8128,5," ͂"],[8129,5," ̈͂"],[8130,1,"ὴι"],[8131,1,"ηι"],[8132,1,"ήι"],[8133,3],[8134,2],[8135,1,"ῆι"],[8136,1,"ὲ"],[8137,1,"έ"],[8138,1,"ὴ"],[8139,1,"ή"],[8140,1,"ηι"],[8141,5," ̓̀"],[8142,5," ̓́"],[8143,5," ̓͂"],[[8144,8146],2],[8147,1,"ΐ"],[[8148,8149],3],[[8150,8151],2],[8152,1,"ῐ"],[8153,1,"ῑ"],[8154,1,"ὶ"],[8155,1,"ί"],[8156,3],[8157,5," ̔̀"],[8158,5," ̔́"],[8159,5," ̔͂"],[[8160,8162],2],[8163,1,"ΰ"],[[8164,8167],2],[8168,1,"ῠ"],[8169,1,"ῡ"],[8170,1,"ὺ"],[8171,1,"ύ"],[8172,1,"ῥ"],[8173,5," ̈̀"],[8174,5," ̈́"],[8175,5,"`"],[[8176,8177],3],[8178,1,"ὼι"],[8179,1,"ωι"],[8180,1,"ώι"],[8181,3],[8182,2],[8183,1,"ῶι"],[8184,1,"ὸ"],[8185,1,"ό"],[8186,1,"ὼ"],[8187,1,"ώ"],[8188,1,"ωι"],[8189,5," ́"],[8190,5," ̔"],[8191,3],[[8192,8202],5," "],[8203,7],[[8204,8205],6,""],[[8206,8207],3],[8208,2],[8209,1,"‐"],[[8210,8214],2],[8215,5," ̳"],[[8216,8227],2],[[8228,8230],3],[8231,2],[[8232,8238],3],[8239,5," "],[[8240,8242],2],[8243,1,"′′"],[8244,1,"′′′"],[8245,2],[8246,1,"‵‵"],[8247,1,"‵‵‵"],[[8248,8251],2],[8252,5,"!!"],[8253,2],[8254,5," ̅"],[[8255,8262],2],[8263,5,"??"],[8264,5,"?!"],[8265,5,"!?"],[[8266,8269],2],[[8270,8274],2],[[8275,8276],2],[[8277,8278],2],[8279,1,"′′′′"],[[8280,8286],2],[8287,5," "],[8288,7],[[8289,8291],3],[8292,7],[8293,3],[[8294,8297],3],[[8298,8303],3],[8304,1,"0"],[8305,1,"i"],[[8306,8307],3],[8308,1,"4"],[8309,1,"5"],[8310,1,"6"],[8311,1,"7"],[8312,1,"8"],[8313,1,"9"],[8314,5,"+"],[8315,1,"−"],[8316,5,"="],[8317,5,"("],[8318,5,")"],[8319,1,"n"],[8320,1,"0"],[8321,1,"1"],[8322,1,"2"],[8323,1,"3"],[8324,1,"4"],[8325,1,"5"],[8326,1,"6"],[8327,1,"7"],[8328,1,"8"],[8329,1,"9"],[8330,5,"+"],[8331,1,"−"],[8332,5,"="],[8333,5,"("],[8334,5,")"],[8335,3],[8336,1,"a"],[8337,1,"e"],[8338,1,"o"],[8339,1,"x"],[8340,1,"ə"],[8341,1,"h"],[8342,1,"k"],[8343,1,"l"],[8344,1,"m"],[8345,1,"n"],[8346,1,"p"],[8347,1,"s"],[8348,1,"t"],[[8349,8351],3],[[8352,8359],2],[8360,1,"rs"],[[8361,8362],2],[8363,2],[8364,2],[[8365,8367],2],[[8368,8369],2],[[8370,8373],2],[[8374,8376],2],[8377,2],[8378,2],[[8379,8381],2],[8382,2],[8383,2],[[8384,8399],3],[[8400,8417],2],[[8418,8419],2],[[8420,8426],2],[8427,2],[[8428,8431],2],[8432,2],[[8433,8447],3],[8448,5,"a/c"],[8449,5,"a/s"],[8450,1,"c"],[8451,1,"°c"],[8452,2],[8453,5,"c/o"],[8454,5,"c/u"],[8455,1,"ɛ"],[8456,2],[8457,1,"°f"],[8458,1,"g"],[[8459,8462],1,"h"],[8463,1,"ħ"],[[8464,8465],1,"i"],[[8466,8467],1,"l"],[8468,2],[8469,1,"n"],[8470,1,"no"],[[8471,8472],2],[8473,1,"p"],[8474,1,"q"],[[8475,8477],1,"r"],[[8478,8479],2],[8480,1,"sm"],[8481,1,"tel"],[8482,1,"tm"],[8483,2],[8484,1,"z"],[8485,2],[8486,1,"ω"],[8487,2],[8488,1,"z"],[8489,2],[8490,1,"k"],[8491,1,"å"],[8492,1,"b"],[8493,1,"c"],[8494,2],[[8495,8496],1,"e"],[8497,1,"f"],[8498,3],[8499,1,"m"],[8500,1,"o"],[8501,1,"א"],[8502,1,"ב"],[8503,1,"ג"],[8504,1,"ד"],[8505,1,"i"],[8506,2],[8507,1,"fax"],[8508,1,"π"],[[8509,8510],1,"γ"],[8511,1,"π"],[8512,1,"∑"],[[8513,8516],2],[[8517,8518],1,"d"],[8519,1,"e"],[8520,1,"i"],[8521,1,"j"],[[8522,8523],2],[8524,2],[8525,2],[8526,2],[8527,2],[8528,1,"1⁄7"],[8529,1,"1⁄9"],[8530,1,"1⁄10"],[8531,1,"1⁄3"],[8532,1,"2⁄3"],[8533,1,"1⁄5"],[8534,1,"2⁄5"],[8535,1,"3⁄5"],[8536,1,"4⁄5"],[8537,1,"1⁄6"],[8538,1,"5⁄6"],[8539,1,"1⁄8"],[8540,1,"3⁄8"],[8541,1,"5⁄8"],[8542,1,"7⁄8"],[8543,1,"1⁄"],[8544,1,"i"],[8545,1,"ii"],[8546,1,"iii"],[8547,1,"iv"],[8548,1,"v"],[8549,1,"vi"],[8550,1,"vii"],[8551,1,"viii"],[8552,1,"ix"],[8553,1,"x"],[8554,1,"xi"],[8555,1,"xii"],[8556,1,"l"],[8557,1,"c"],[8558,1,"d"],[8559,1,"m"],[8560,1,"i"],[8561,1,"ii"],[8562,1,"iii"],[8563,1,"iv"],[8564,1,"v"],[8565,1,"vi"],[8566,1,"vii"],[8567,1,"viii"],[8568,1,"ix"],[8569,1,"x"],[8570,1,"xi"],[8571,1,"xii"],[8572,1,"l"],[8573,1,"c"],[8574,1,"d"],[8575,1,"m"],[[8576,8578],2],[8579,3],[8580,2],[[8581,8584],2],[8585,1,"0⁄3"],[[8586,8587],2],[[8588,8591],3],[[8592,8682],2],[[8683,8691],2],[[8692,8703],2],[[8704,8747],2],[8748,1,"∫∫"],[8749,1,"∫∫∫"],[8750,2],[8751,1,"∮∮"],[8752,1,"∮∮∮"],[[8753,8799],2],[8800,4],[[8801,8813],2],[[8814,8815],4],[[8816,8945],2],[[8946,8959],2],[8960,2],[8961,2],[[8962,9e3],2],[9001,1,"〈"],[9002,1,"〉"],[[9003,9082],2],[9083,2],[9084,2],[[9085,9114],2],[[9115,9166],2],[[9167,9168],2],[[9169,9179],2],[[9180,9191],2],[9192,2],[[9193,9203],2],[[9204,9210],2],[[9211,9214],2],[9215,2],[[9216,9252],2],[[9253,9254],2],[[9255,9279],3],[[9280,9290],2],[[9291,9311],3],[9312,1,"1"],[9313,1,"2"],[9314,1,"3"],[9315,1,"4"],[9316,1,"5"],[9317,1,"6"],[9318,1,"7"],[9319,1,"8"],[9320,1,"9"],[9321,1,"10"],[9322,1,"11"],[9323,1,"12"],[9324,1,"13"],[9325,1,"14"],[9326,1,"15"],[9327,1,"16"],[9328,1,"17"],[9329,1,"18"],[9330,1,"19"],[9331,1,"20"],[9332,5,"(1)"],[9333,5,"(2)"],[9334,5,"(3)"],[9335,5,"(4)"],[9336,5,"(5)"],[9337,5,"(6)"],[9338,5,"(7)"],[9339,5,"(8)"],[9340,5,"(9)"],[9341,5,"(10)"],[9342,5,"(11)"],[9343,5,"(12)"],[9344,5,"(13)"],[9345,5,"(14)"],[9346,5,"(15)"],[9347,5,"(16)"],[9348,5,"(17)"],[9349,5,"(18)"],[9350,5,"(19)"],[9351,5,"(20)"],[[9352,9371],3],[9372,5,"(a)"],[9373,5,"(b)"],[9374,5,"(c)"],[9375,5,"(d)"],[9376,5,"(e)"],[9377,5,"(f)"],[9378,5,"(g)"],[9379,5,"(h)"],[9380,5,"(i)"],[9381,5,"(j)"],[9382,5,"(k)"],[9383,5,"(l)"],[9384,5,"(m)"],[9385,5,"(n)"],[9386,5,"(o)"],[9387,5,"(p)"],[9388,5,"(q)"],[9389,5,"(r)"],[9390,5,"(s)"],[9391,5,"(t)"],[9392,5,"(u)"],[9393,5,"(v)"],[9394,5,"(w)"],[9395,5,"(x)"],[9396,5,"(y)"],[9397,5,"(z)"],[9398,1,"a"],[9399,1,"b"],[9400,1,"c"],[9401,1,"d"],[9402,1,"e"],[9403,1,"f"],[9404,1,"g"],[9405,1,"h"],[9406,1,"i"],[9407,1,"j"],[9408,1,"k"],[9409,1,"l"],[9410,1,"m"],[9411,1,"n"],[9412,1,"o"],[9413,1,"p"],[9414,1,"q"],[9415,1,"r"],[9416,1,"s"],[9417,1,"t"],[9418,1,"u"],[9419,1,"v"],[9420,1,"w"],[9421,1,"x"],[9422,1,"y"],[9423,1,"z"],[9424,1,"a"],[9425,1,"b"],[9426,1,"c"],[9427,1,"d"],[9428,1,"e"],[9429,1,"f"],[9430,1,"g"],[9431,1,"h"],[9432,1,"i"],[9433,1,"j"],[9434,1,"k"],[9435,1,"l"],[9436,1,"m"],[9437,1,"n"],[9438,1,"o"],[9439,1,"p"],[9440,1,"q"],[9441,1,"r"],[9442,1,"s"],[9443,1,"t"],[9444,1,"u"],[9445,1,"v"],[9446,1,"w"],[9447,1,"x"],[9448,1,"y"],[9449,1,"z"],[9450,1,"0"],[[9451,9470],2],[9471,2],[[9472,9621],2],[[9622,9631],2],[[9632,9711],2],[[9712,9719],2],[[9720,9727],2],[[9728,9747],2],[[9748,9749],2],[[9750,9751],2],[9752,2],[9753,2],[[9754,9839],2],[[9840,9841],2],[[9842,9853],2],[[9854,9855],2],[[9856,9865],2],[[9866,9873],2],[[9874,9884],2],[9885,2],[[9886,9887],2],[[9888,9889],2],[[9890,9905],2],[9906,2],[[9907,9916],2],[[9917,9919],2],[[9920,9923],2],[[9924,9933],2],[9934,2],[[9935,9953],2],[9954,2],[9955,2],[[9956,9959],2],[[9960,9983],2],[9984,2],[[9985,9988],2],[9989,2],[[9990,9993],2],[[9994,9995],2],[[9996,10023],2],[10024,2],[[10025,10059],2],[10060,2],[10061,2],[10062,2],[[10063,10066],2],[[10067,10069],2],[10070,2],[10071,2],[[10072,10078],2],[[10079,10080],2],[[10081,10087],2],[[10088,10101],2],[[10102,10132],2],[[10133,10135],2],[[10136,10159],2],[10160,2],[[10161,10174],2],[10175,2],[[10176,10182],2],[[10183,10186],2],[10187,2],[10188,2],[10189,2],[[10190,10191],2],[[10192,10219],2],[[10220,10223],2],[[10224,10239],2],[[10240,10495],2],[[10496,10763],2],[10764,1,"∫∫∫∫"],[[10765,10867],2],[10868,5,"::="],[10869,5,"=="],[10870,5,"==="],[[10871,10971],2],[10972,1,"⫝̸"],[[10973,11007],2],[[11008,11021],2],[[11022,11027],2],[[11028,11034],2],[[11035,11039],2],[[11040,11043],2],[[11044,11084],2],[[11085,11087],2],[[11088,11092],2],[[11093,11097],2],[[11098,11123],2],[[11124,11125],3],[[11126,11157],2],[[11158,11159],3],[[11160,11193],2],[[11194,11196],2],[[11197,11208],2],[11209,2],[[11210,11217],2],[11218,2],[[11219,11243],2],[[11244,11247],2],[[11248,11262],2],[11263,2],[11264,1,"ⰰ"],[11265,1,"ⰱ"],[11266,1,"ⰲ"],[11267,1,"ⰳ"],[11268,1,"ⰴ"],[11269,1,"ⰵ"],[11270,1,"ⰶ"],[11271,1,"ⰷ"],[11272,1,"ⰸ"],[11273,1,"ⰹ"],[11274,1,"ⰺ"],[11275,1,"ⰻ"],[11276,1,"ⰼ"],[11277,1,"ⰽ"],[11278,1,"ⰾ"],[11279,1,"ⰿ"],[11280,1,"ⱀ"],[11281,1,"ⱁ"],[11282,1,"ⱂ"],[11283,1,"ⱃ"],[11284,1,"ⱄ"],[11285,1,"ⱅ"],[11286,1,"ⱆ"],[11287,1,"ⱇ"],[11288,1,"ⱈ"],[11289,1,"ⱉ"],[11290,1,"ⱊ"],[11291,1,"ⱋ"],[11292,1,"ⱌ"],[11293,1,"ⱍ"],[11294,1,"ⱎ"],[11295,1,"ⱏ"],[11296,1,"ⱐ"],[11297,1,"ⱑ"],[11298,1,"ⱒ"],[11299,1,"ⱓ"],[11300,1,"ⱔ"],[11301,1,"ⱕ"],[11302,1,"ⱖ"],[11303,1,"ⱗ"],[11304,1,"ⱘ"],[11305,1,"ⱙ"],[11306,1,"ⱚ"],[11307,1,"ⱛ"],[11308,1,"ⱜ"],[11309,1,"ⱝ"],[11310,1,"ⱞ"],[11311,3],[[11312,11358],2],[11359,3],[11360,1,"ⱡ"],[11361,2],[11362,1,"ɫ"],[11363,1,"ᵽ"],[11364,1,"ɽ"],[[11365,11366],2],[11367,1,"ⱨ"],[11368,2],[11369,1,"ⱪ"],[11370,2],[11371,1,"ⱬ"],[11372,2],[11373,1,"ɑ"],[11374,1,"ɱ"],[11375,1,"ɐ"],[11376,1,"ɒ"],[11377,2],[11378,1,"ⱳ"],[11379,2],[11380,2],[11381,1,"ⱶ"],[[11382,11383],2],[[11384,11387],2],[11388,1,"j"],[11389,1,"v"],[11390,1,"ȿ"],[11391,1,"ɀ"],[11392,1,"ⲁ"],[11393,2],[11394,1,"ⲃ"],[11395,2],[11396,1,"ⲅ"],[11397,2],[11398,1,"ⲇ"],[11399,2],[11400,1,"ⲉ"],[11401,2],[11402,1,"ⲋ"],[11403,2],[11404,1,"ⲍ"],[11405,2],[11406,1,"ⲏ"],[11407,2],[11408,1,"ⲑ"],[11409,2],[11410,1,"ⲓ"],[11411,2],[11412,1,"ⲕ"],[11413,2],[11414,1,"ⲗ"],[11415,2],[11416,1,"ⲙ"],[11417,2],[11418,1,"ⲛ"],[11419,2],[11420,1,"ⲝ"],[11421,2],[11422,1,"ⲟ"],[11423,2],[11424,1,"ⲡ"],[11425,2],[11426,1,"ⲣ"],[11427,2],[11428,1,"ⲥ"],[11429,2],[11430,1,"ⲧ"],[11431,2],[11432,1,"ⲩ"],[11433,2],[11434,1,"ⲫ"],[11435,2],[11436,1,"ⲭ"],[11437,2],[11438,1,"ⲯ"],[11439,2],[11440,1,"ⲱ"],[11441,2],[11442,1,"ⲳ"],[11443,2],[11444,1,"ⲵ"],[11445,2],[11446,1,"ⲷ"],[11447,2],[11448,1,"ⲹ"],[11449,2],[11450,1,"ⲻ"],[11451,2],[11452,1,"ⲽ"],[11453,2],[11454,1,"ⲿ"],[11455,2],[11456,1,"ⳁ"],[11457,2],[11458,1,"ⳃ"],[11459,2],[11460,1,"ⳅ"],[11461,2],[11462,1,"ⳇ"],[11463,2],[11464,1,"ⳉ"],[11465,2],[11466,1,"ⳋ"],[11467,2],[11468,1,"ⳍ"],[11469,2],[11470,1,"ⳏ"],[11471,2],[11472,1,"ⳑ"],[11473,2],[11474,1,"ⳓ"],[11475,2],[11476,1,"ⳕ"],[11477,2],[11478,1,"ⳗ"],[11479,2],[11480,1,"ⳙ"],[11481,2],[11482,1,"ⳛ"],[11483,2],[11484,1,"ⳝ"],[11485,2],[11486,1,"ⳟ"],[11487,2],[11488,1,"ⳡ"],[11489,2],[11490,1,"ⳣ"],[[11491,11492],2],[[11493,11498],2],[11499,1,"ⳬ"],[11500,2],[11501,1,"ⳮ"],[[11502,11505],2],[11506,1,"ⳳ"],[11507,2],[[11508,11512],3],[[11513,11519],2],[[11520,11557],2],[11558,3],[11559,2],[[11560,11564],3],[11565,2],[[11566,11567],3],[[11568,11621],2],[[11622,11623],2],[[11624,11630],3],[11631,1,"ⵡ"],[11632,2],[[11633,11646],3],[11647,2],[[11648,11670],2],[[11671,11679],3],[[11680,11686],2],[11687,3],[[11688,11694],2],[11695,3],[[11696,11702],2],[11703,3],[[11704,11710],2],[11711,3],[[11712,11718],2],[11719,3],[[11720,11726],2],[11727,3],[[11728,11734],2],[11735,3],[[11736,11742],2],[11743,3],[[11744,11775],2],[[11776,11799],2],[[11800,11803],2],[[11804,11805],2],[[11806,11822],2],[11823,2],[11824,2],[11825,2],[[11826,11835],2],[[11836,11842],2],[[11843,11844],2],[[11845,11849],2],[[11850,11854],2],[11855,2],[[11856,11903],3],[[11904,11929],2],[11930,3],[[11931,11934],2],[11935,1,"母"],[[11936,12018],2],[12019,1,"龟"],[[12020,12031],3],[12032,1,"一"],[12033,1,"丨"],[12034,1,"丶"],[12035,1,"丿"],[12036,1,"乙"],[12037,1,"亅"],[12038,1,"二"],[12039,1,"亠"],[12040,1,"人"],[12041,1,"儿"],[12042,1,"入"],[12043,1,"八"],[12044,1,"冂"],[12045,1,"冖"],[12046,1,"冫"],[12047,1,"几"],[12048,1,"凵"],[12049,1,"刀"],[12050,1,"力"],[12051,1,"勹"],[12052,1,"匕"],[12053,1,"匚"],[12054,1,"匸"],[12055,1,"十"],[12056,1,"卜"],[12057,1,"卩"],[12058,1,"厂"],[12059,1,"厶"],[12060,1,"又"],[12061,1,"口"],[12062,1,"囗"],[12063,1,"土"],[12064,1,"士"],[12065,1,"夂"],[12066,1,"夊"],[12067,1,"夕"],[12068,1,"大"],[12069,1,"女"],[12070,1,"子"],[12071,1,"宀"],[12072,1,"寸"],[12073,1,"小"],[12074,1,"尢"],[12075,1,"尸"],[12076,1,"屮"],[12077,1,"山"],[12078,1,"巛"],[12079,1,"工"],[12080,1,"己"],[12081,1,"巾"],[12082,1,"干"],[12083,1,"幺"],[12084,1,"广"],[12085,1,"廴"],[12086,1,"廾"],[12087,1,"弋"],[12088,1,"弓"],[12089,1,"彐"],[12090,1,"彡"],[12091,1,"彳"],[12092,1,"心"],[12093,1,"戈"],[12094,1,"戶"],[12095,1,"手"],[12096,1,"支"],[12097,1,"攴"],[12098,1,"文"],[12099,1,"斗"],[12100,1,"斤"],[12101,1,"方"],[12102,1,"无"],[12103,1,"日"],[12104,1,"曰"],[12105,1,"月"],[12106,1,"木"],[12107,1,"欠"],[12108,1,"止"],[12109,1,"歹"],[12110,1,"殳"],[12111,1,"毋"],[12112,1,"比"],[12113,1,"毛"],[12114,1,"氏"],[12115,1,"气"],[12116,1,"水"],[12117,1,"火"],[12118,1,"爪"],[12119,1,"父"],[12120,1,"爻"],[12121,1,"爿"],[12122,1,"片"],[12123,1,"牙"],[12124,1,"牛"],[12125,1,"犬"],[12126,1,"玄"],[12127,1,"玉"],[12128,1,"瓜"],[12129,1,"瓦"],[12130,1,"甘"],[12131,1,"生"],[12132,1,"用"],[12133,1,"田"],[12134,1,"疋"],[12135,1,"疒"],[12136,1,"癶"],[12137,1,"白"],[12138,1,"皮"],[12139,1,"皿"],[12140,1,"目"],[12141,1,"矛"],[12142,1,"矢"],[12143,1,"石"],[12144,1,"示"],[12145,1,"禸"],[12146,1,"禾"],[12147,1,"穴"],[12148,1,"立"],[12149,1,"竹"],[12150,1,"米"],[12151,1,"糸"],[12152,1,"缶"],[12153,1,"网"],[12154,1,"羊"],[12155,1,"羽"],[12156,1,"老"],[12157,1,"而"],[12158,1,"耒"],[12159,1,"耳"],[12160,1,"聿"],[12161,1,"肉"],[12162,1,"臣"],[12163,1,"自"],[12164,1,"至"],[12165,1,"臼"],[12166,1,"舌"],[12167,1,"舛"],[12168,1,"舟"],[12169,1,"艮"],[12170,1,"色"],[12171,1,"艸"],[12172,1,"虍"],[12173,1,"虫"],[12174,1,"血"],[12175,1,"行"],[12176,1,"衣"],[12177,1,"襾"],[12178,1,"見"],[12179,1,"角"],[12180,1,"言"],[12181,1,"谷"],[12182,1,"豆"],[12183,1,"豕"],[12184,1,"豸"],[12185,1,"貝"],[12186,1,"赤"],[12187,1,"走"],[12188,1,"足"],[12189,1,"身"],[12190,1,"車"],[12191,1,"辛"],[12192,1,"辰"],[12193,1,"辵"],[12194,1,"邑"],[12195,1,"酉"],[12196,1,"釆"],[12197,1,"里"],[12198,1,"金"],[12199,1,"長"],[12200,1,"門"],[12201,1,"阜"],[12202,1,"隶"],[12203,1,"隹"],[12204,1,"雨"],[12205,1,"靑"],[12206,1,"非"],[12207,1,"面"],[12208,1,"革"],[12209,1,"韋"],[12210,1,"韭"],[12211,1,"音"],[12212,1,"頁"],[12213,1,"風"],[12214,1,"飛"],[12215,1,"食"],[12216,1,"首"],[12217,1,"香"],[12218,1,"馬"],[12219,1,"骨"],[12220,1,"高"],[12221,1,"髟"],[12222,1,"鬥"],[12223,1,"鬯"],[12224,1,"鬲"],[12225,1,"鬼"],[12226,1,"魚"],[12227,1,"鳥"],[12228,1,"鹵"],[12229,1,"鹿"],[12230,1,"麥"],[12231,1,"麻"],[12232,1,"黃"],[12233,1,"黍"],[12234,1,"黑"],[12235,1,"黹"],[12236,1,"黽"],[12237,1,"鼎"],[12238,1,"鼓"],[12239,1,"鼠"],[12240,1,"鼻"],[12241,1,"齊"],[12242,1,"齒"],[12243,1,"龍"],[12244,1,"龜"],[12245,1,"龠"],[[12246,12271],3],[[12272,12283],3],[[12284,12287],3],[12288,5," "],[12289,2],[12290,1,"."],[[12291,12292],2],[[12293,12295],2],[[12296,12329],2],[[12330,12333],2],[[12334,12341],2],[12342,1,"〒"],[12343,2],[12344,1,"十"],[12345,1,"卄"],[12346,1,"卅"],[12347,2],[12348,2],[12349,2],[12350,2],[12351,2],[12352,3],[[12353,12436],2],[[12437,12438],2],[[12439,12440],3],[[12441,12442],2],[12443,5," ゙"],[12444,5," ゚"],[[12445,12446],2],[12447,1,"より"],[12448,2],[[12449,12542],2],[12543,1,"コト"],[[12544,12548],3],[[12549,12588],2],[12589,2],[12590,2],[12591,2],[12592,3],[12593,1,"ᄀ"],[12594,1,"ᄁ"],[12595,1,"ᆪ"],[12596,1,"ᄂ"],[12597,1,"ᆬ"],[12598,1,"ᆭ"],[12599,1,"ᄃ"],[12600,1,"ᄄ"],[12601,1,"ᄅ"],[12602,1,"ᆰ"],[12603,1,"ᆱ"],[12604,1,"ᆲ"],[12605,1,"ᆳ"],[12606,1,"ᆴ"],[12607,1,"ᆵ"],[12608,1,"ᄚ"],[12609,1,"ᄆ"],[12610,1,"ᄇ"],[12611,1,"ᄈ"],[12612,1,"ᄡ"],[12613,1,"ᄉ"],[12614,1,"ᄊ"],[12615,1,"ᄋ"],[12616,1,"ᄌ"],[12617,1,"ᄍ"],[12618,1,"ᄎ"],[12619,1,"ᄏ"],[12620,1,"ᄐ"],[12621,1,"ᄑ"],[12622,1,"ᄒ"],[12623,1,"ᅡ"],[12624,1,"ᅢ"],[12625,1,"ᅣ"],[12626,1,"ᅤ"],[12627,1,"ᅥ"],[12628,1,"ᅦ"],[12629,1,"ᅧ"],[12630,1,"ᅨ"],[12631,1,"ᅩ"],[12632,1,"ᅪ"],[12633,1,"ᅫ"],[12634,1,"ᅬ"],[12635,1,"ᅭ"],[12636,1,"ᅮ"],[12637,1,"ᅯ"],[12638,1,"ᅰ"],[12639,1,"ᅱ"],[12640,1,"ᅲ"],[12641,1,"ᅳ"],[12642,1,"ᅴ"],[12643,1,"ᅵ"],[12644,3],[12645,1,"ᄔ"],[12646,1,"ᄕ"],[12647,1,"ᇇ"],[12648,1,"ᇈ"],[12649,1,"ᇌ"],[12650,1,"ᇎ"],[12651,1,"ᇓ"],[12652,1,"ᇗ"],[12653,1,"ᇙ"],[12654,1,"ᄜ"],[12655,1,"ᇝ"],[12656,1,"ᇟ"],[12657,1,"ᄝ"],[12658,1,"ᄞ"],[12659,1,"ᄠ"],[12660,1,"ᄢ"],[12661,1,"ᄣ"],[12662,1,"ᄧ"],[12663,1,"ᄩ"],[12664,1,"ᄫ"],[12665,1,"ᄬ"],[12666,1,"ᄭ"],[12667,1,"ᄮ"],[12668,1,"ᄯ"],[12669,1,"ᄲ"],[12670,1,"ᄶ"],[12671,1,"ᅀ"],[12672,1,"ᅇ"],[12673,1,"ᅌ"],[12674,1,"ᇱ"],[12675,1,"ᇲ"],[12676,1,"ᅗ"],[12677,1,"ᅘ"],[12678,1,"ᅙ"],[12679,1,"ᆄ"],[12680,1,"ᆅ"],[12681,1,"ᆈ"],[12682,1,"ᆑ"],[12683,1,"ᆒ"],[12684,1,"ᆔ"],[12685,1,"ᆞ"],[12686,1,"ᆡ"],[12687,3],[[12688,12689],2],[12690,1,"一"],[12691,1,"二"],[12692,1,"三"],[12693,1,"四"],[12694,1,"上"],[12695,1,"中"],[12696,1,"下"],[12697,1,"甲"],[12698,1,"乙"],[12699,1,"丙"],[12700,1,"丁"],[12701,1,"天"],[12702,1,"地"],[12703,1,"人"],[[12704,12727],2],[[12728,12730],2],[[12731,12735],3],[[12736,12751],2],[[12752,12771],2],[[12772,12783],3],[[12784,12799],2],[12800,5,"(ᄀ)"],[12801,5,"(ᄂ)"],[12802,5,"(ᄃ)"],[12803,5,"(ᄅ)"],[12804,5,"(ᄆ)"],[12805,5,"(ᄇ)"],[12806,5,"(ᄉ)"],[12807,5,"(ᄋ)"],[12808,5,"(ᄌ)"],[12809,5,"(ᄎ)"],[12810,5,"(ᄏ)"],[12811,5,"(ᄐ)"],[12812,5,"(ᄑ)"],[12813,5,"(ᄒ)"],[12814,5,"(가)"],[12815,5,"(나)"],[12816,5,"(다)"],[12817,5,"(라)"],[12818,5,"(마)"],[12819,5,"(바)"],[12820,5,"(사)"],[12821,5,"(아)"],[12822,5,"(자)"],[12823,5,"(차)"],[12824,5,"(카)"],[12825,5,"(타)"],[12826,5,"(파)"],[12827,5,"(하)"],[12828,5,"(주)"],[12829,5,"(오전)"],[12830,5,"(오후)"],[12831,3],[12832,5,"(一)"],[12833,5,"(二)"],[12834,5,"(三)"],[12835,5,"(四)"],[12836,5,"(五)"],[12837,5,"(六)"],[12838,5,"(七)"],[12839,5,"(八)"],[12840,5,"(九)"],[12841,5,"(十)"],[12842,5,"(月)"],[12843,5,"(火)"],[12844,5,"(水)"],[12845,5,"(木)"],[12846,5,"(金)"],[12847,5,"(土)"],[12848,5,"(日)"],[12849,5,"(株)"],[12850,5,"(有)"],[12851,5,"(社)"],[12852,5,"(名)"],[12853,5,"(特)"],[12854,5,"(財)"],[12855,5,"(祝)"],[12856,5,"(労)"],[12857,5,"(代)"],[12858,5,"(呼)"],[12859,5,"(学)"],[12860,5,"(監)"],[12861,5,"(企)"],[12862,5,"(資)"],[12863,5,"(協)"],[12864,5,"(祭)"],[12865,5,"(休)"],[12866,5,"(自)"],[12867,5,"(至)"],[12868,1,"問"],[12869,1,"幼"],[12870,1,"文"],[12871,1,"箏"],[[12872,12879],2],[12880,1,"pte"],[12881,1,"21"],[12882,1,"22"],[12883,1,"23"],[12884,1,"24"],[12885,1,"25"],[12886,1,"26"],[12887,1,"27"],[12888,1,"28"],[12889,1,"29"],[12890,1,"30"],[12891,1,"31"],[12892,1,"32"],[12893,1,"33"],[12894,1,"34"],[12895,1,"35"],[12896,1,"ᄀ"],[12897,1,"ᄂ"],[12898,1,"ᄃ"],[12899,1,"ᄅ"],[12900,1,"ᄆ"],[12901,1,"ᄇ"],[12902,1,"ᄉ"],[12903,1,"ᄋ"],[12904,1,"ᄌ"],[12905,1,"ᄎ"],[12906,1,"ᄏ"],[12907,1,"ᄐ"],[12908,1,"ᄑ"],[12909,1,"ᄒ"],[12910,1,"가"],[12911,1,"나"],[12912,1,"다"],[12913,1,"라"],[12914,1,"마"],[12915,1,"바"],[12916,1,"사"],[12917,1,"아"],[12918,1,"자"],[12919,1,"차"],[12920,1,"카"],[12921,1,"타"],[12922,1,"파"],[12923,1,"하"],[12924,1,"참고"],[12925,1,"주의"],[12926,1,"우"],[12927,2],[12928,1,"一"],[12929,1,"二"],[12930,1,"三"],[12931,1,"四"],[12932,1,"五"],[12933,1,"六"],[12934,1,"七"],[12935,1,"八"],[12936,1,"九"],[12937,1,"十"],[12938,1,"月"],[12939,1,"火"],[12940,1,"水"],[12941,1,"木"],[12942,1,"金"],[12943,1,"土"],[12944,1,"日"],[12945,1,"株"],[12946,1,"有"],[12947,1,"社"],[12948,1,"名"],[12949,1,"特"],[12950,1,"財"],[12951,1,"祝"],[12952,1,"労"],[12953,1,"秘"],[12954,1,"男"],[12955,1,"女"],[12956,1,"適"],[12957,1,"優"],[12958,1,"印"],[12959,1,"注"],[12960,1,"項"],[12961,1,"休"],[12962,1,"写"],[12963,1,"正"],[12964,1,"上"],[12965,1,"中"],[12966,1,"下"],[12967,1,"左"],[12968,1,"右"],[12969,1,"医"],[12970,1,"宗"],[12971,1,"学"],[12972,1,"監"],[12973,1,"企"],[12974,1,"資"],[12975,1,"協"],[12976,1,"夜"],[12977,1,"36"],[12978,1,"37"],[12979,1,"38"],[12980,1,"39"],[12981,1,"40"],[12982,1,"41"],[12983,1,"42"],[12984,1,"43"],[12985,1,"44"],[12986,1,"45"],[12987,1,"46"],[12988,1,"47"],[12989,1,"48"],[12990,1,"49"],[12991,1,"50"],[12992,1,"1月"],[12993,1,"2月"],[12994,1,"3月"],[12995,1,"4月"],[12996,1,"5月"],[12997,1,"6月"],[12998,1,"7月"],[12999,1,"8月"],[13e3,1,"9月"],[13001,1,"10月"],[13002,1,"11月"],[13003,1,"12月"],[13004,1,"hg"],[13005,1,"erg"],[13006,1,"ev"],[13007,1,"ltd"],[13008,1,"ア"],[13009,1,"イ"],[13010,1,"ウ"],[13011,1,"エ"],[13012,1,"オ"],[13013,1,"カ"],[13014,1,"キ"],[13015,1,"ク"],[13016,1,"ケ"],[13017,1,"コ"],[13018,1,"サ"],[13019,1,"シ"],[13020,1,"ス"],[13021,1,"セ"],[13022,1,"ソ"],[13023,1,"タ"],[13024,1,"チ"],[13025,1,"ツ"],[13026,1,"テ"],[13027,1,"ト"],[13028,1,"ナ"],[13029,1,"ニ"],[13030,1,"ヌ"],[13031,1,"ネ"],[13032,1,"ノ"],[13033,1,"ハ"],[13034,1,"ヒ"],[13035,1,"フ"],[13036,1,"ヘ"],[13037,1,"ホ"],[13038,1,"マ"],[13039,1,"ミ"],[13040,1,"ム"],[13041,1,"メ"],[13042,1,"モ"],[13043,1,"ヤ"],[13044,1,"ユ"],[13045,1,"ヨ"],[13046,1,"ラ"],[13047,1,"リ"],[13048,1,"ル"],[13049,1,"レ"],[13050,1,"ロ"],[13051,1,"ワ"],[13052,1,"ヰ"],[13053,1,"ヱ"],[13054,1,"ヲ"],[13055,1,"令和"],[13056,1,"アパート"],[13057,1,"アルファ"],[13058,1,"アンペア"],[13059,1,"アール"],[13060,1,"イニング"],[13061,1,"インチ"],[13062,1,"ウォン"],[13063,1,"エスクード"],[13064,1,"エーカー"],[13065,1,"オンス"],[13066,1,"オーム"],[13067,1,"カイリ"],[13068,1,"カラット"],[13069,1,"カロリー"],[13070,1,"ガロン"],[13071,1,"ガンマ"],[13072,1,"ギガ"],[13073,1,"ギニー"],[13074,1,"キュリー"],[13075,1,"ギルダー"],[13076,1,"キロ"],[13077,1,"キログラム"],[13078,1,"キロメートル"],[13079,1,"キロワット"],[13080,1,"グラム"],[13081,1,"グラムトン"],[13082,1,"クルゼイロ"],[13083,1,"クローネ"],[13084,1,"ケース"],[13085,1,"コルナ"],[13086,1,"コーポ"],[13087,1,"サイクル"],[13088,1,"サンチーム"],[13089,1,"シリング"],[13090,1,"センチ"],[13091,1,"セント"],[13092,1,"ダース"],[13093,1,"デシ"],[13094,1,"ドル"],[13095,1,"トン"],[13096,1,"ナノ"],[13097,1,"ノット"],[13098,1,"ハイツ"],[13099,1,"パーセント"],[13100,1,"パーツ"],[13101,1,"バーレル"],[13102,1,"ピアストル"],[13103,1,"ピクル"],[13104,1,"ピコ"],[13105,1,"ビル"],[13106,1,"ファラッド"],[13107,1,"フィート"],[13108,1,"ブッシェル"],[13109,1,"フラン"],[13110,1,"ヘクタール"],[13111,1,"ペソ"],[13112,1,"ペニヒ"],[13113,1,"ヘルツ"],[13114,1,"ペンス"],[13115,1,"ページ"],[13116,1,"ベータ"],[13117,1,"ポイント"],[13118,1,"ボルト"],[13119,1,"ホン"],[13120,1,"ポンド"],[13121,1,"ホール"],[13122,1,"ホーン"],[13123,1,"マイクロ"],[13124,1,"マイル"],[13125,1,"マッハ"],[13126,1,"マルク"],[13127,1,"マンション"],[13128,1,"ミクロン"],[13129,1,"ミリ"],[13130,1,"ミリバール"],[13131,1,"メガ"],[13132,1,"メガトン"],[13133,1,"メートル"],[13134,1,"ヤード"],[13135,1,"ヤール"],[13136,1,"ユアン"],[13137,1,"リットル"],[13138,1,"リラ"],[13139,1,"ルピー"],[13140,1,"ルーブル"],[13141,1,"レム"],[13142,1,"レントゲン"],[13143,1,"ワット"],[13144,1,"0点"],[13145,1,"1点"],[13146,1,"2点"],[13147,1,"3点"],[13148,1,"4点"],[13149,1,"5点"],[13150,1,"6点"],[13151,1,"7点"],[13152,1,"8点"],[13153,1,"9点"],[13154,1,"10点"],[13155,1,"11点"],[13156,1,"12点"],[13157,1,"13点"],[13158,1,"14点"],[13159,1,"15点"],[13160,1,"16点"],[13161,1,"17点"],[13162,1,"18点"],[13163,1,"19点"],[13164,1,"20点"],[13165,1,"21点"],[13166,1,"22点"],[13167,1,"23点"],[13168,1,"24点"],[13169,1,"hpa"],[13170,1,"da"],[13171,1,"au"],[13172,1,"bar"],[13173,1,"ov"],[13174,1,"pc"],[13175,1,"dm"],[13176,1,"dm2"],[13177,1,"dm3"],[13178,1,"iu"],[13179,1,"平成"],[13180,1,"昭和"],[13181,1,"大正"],[13182,1,"明治"],[13183,1,"株式会社"],[13184,1,"pa"],[13185,1,"na"],[13186,1,"μa"],[13187,1,"ma"],[13188,1,"ka"],[13189,1,"kb"],[13190,1,"mb"],[13191,1,"gb"],[13192,1,"cal"],[13193,1,"kcal"],[13194,1,"pf"],[13195,1,"nf"],[13196,1,"μf"],[13197,1,"μg"],[13198,1,"mg"],[13199,1,"kg"],[13200,1,"hz"],[13201,1,"khz"],[13202,1,"mhz"],[13203,1,"ghz"],[13204,1,"thz"],[13205,1,"μl"],[13206,1,"ml"],[13207,1,"dl"],[13208,1,"kl"],[13209,1,"fm"],[13210,1,"nm"],[13211,1,"μm"],[13212,1,"mm"],[13213,1,"cm"],[13214,1,"km"],[13215,1,"mm2"],[13216,1,"cm2"],[13217,1,"m2"],[13218,1,"km2"],[13219,1,"mm3"],[13220,1,"cm3"],[13221,1,"m3"],[13222,1,"km3"],[13223,1,"m∕s"],[13224,1,"m∕s2"],[13225,1,"pa"],[13226,1,"kpa"],[13227,1,"mpa"],[13228,1,"gpa"],[13229,1,"rad"],[13230,1,"rad∕s"],[13231,1,"rad∕s2"],[13232,1,"ps"],[13233,1,"ns"],[13234,1,"μs"],[13235,1,"ms"],[13236,1,"pv"],[13237,1,"nv"],[13238,1,"μv"],[13239,1,"mv"],[13240,1,"kv"],[13241,1,"mv"],[13242,1,"pw"],[13243,1,"nw"],[13244,1,"μw"],[13245,1,"mw"],[13246,1,"kw"],[13247,1,"mw"],[13248,1,"kω"],[13249,1,"mω"],[13250,3],[13251,1,"bq"],[13252,1,"cc"],[13253,1,"cd"],[13254,1,"c∕kg"],[13255,3],[13256,1,"db"],[13257,1,"gy"],[13258,1,"ha"],[13259,1,"hp"],[13260,1,"in"],[13261,1,"kk"],[13262,1,"km"],[13263,1,"kt"],[13264,1,"lm"],[13265,1,"ln"],[13266,1,"log"],[13267,1,"lx"],[13268,1,"mb"],[13269,1,"mil"],[13270,1,"mol"],[13271,1,"ph"],[13272,3],[13273,1,"ppm"],[13274,1,"pr"],[13275,1,"sr"],[13276,1,"sv"],[13277,1,"wb"],[13278,1,"v∕m"],[13279,1,"a∕m"],[13280,1,"1日"],[13281,1,"2日"],[13282,1,"3日"],[13283,1,"4日"],[13284,1,"5日"],[13285,1,"6日"],[13286,1,"7日"],[13287,1,"8日"],[13288,1,"9日"],[13289,1,"10日"],[13290,1,"11日"],[13291,1,"12日"],[13292,1,"13日"],[13293,1,"14日"],[13294,1,"15日"],[13295,1,"16日"],[13296,1,"17日"],[13297,1,"18日"],[13298,1,"19日"],[13299,1,"20日"],[13300,1,"21日"],[13301,1,"22日"],[13302,1,"23日"],[13303,1,"24日"],[13304,1,"25日"],[13305,1,"26日"],[13306,1,"27日"],[13307,1,"28日"],[13308,1,"29日"],[13309,1,"30日"],[13310,1,"31日"],[13311,1,"gal"],[[13312,19893],2],[[19894,19903],3],[[19904,19967],2],[[19968,40869],2],[[40870,40891],2],[[40892,40899],2],[[40900,40907],2],[40908,2],[[40909,40917],2],[[40918,40938],2],[[40939,40943],2],[[40944,40959],3],[[40960,42124],2],[[42125,42127],3],[[42128,42145],2],[[42146,42147],2],[[42148,42163],2],[42164,2],[[42165,42176],2],[42177,2],[[42178,42180],2],[42181,2],[42182,2],[[42183,42191],3],[[42192,42237],2],[[42238,42239],2],[[42240,42508],2],[[42509,42511],2],[[42512,42539],2],[[42540,42559],3],[42560,1,"ꙁ"],[42561,2],[42562,1,"ꙃ"],[42563,2],[42564,1,"ꙅ"],[42565,2],[42566,1,"ꙇ"],[42567,2],[42568,1,"ꙉ"],[42569,2],[42570,1,"ꙋ"],[42571,2],[42572,1,"ꙍ"],[42573,2],[42574,1,"ꙏ"],[42575,2],[42576,1,"ꙑ"],[42577,2],[42578,1,"ꙓ"],[42579,2],[42580,1,"ꙕ"],[42581,2],[42582,1,"ꙗ"],[42583,2],[42584,1,"ꙙ"],[42585,2],[42586,1,"ꙛ"],[42587,2],[42588,1,"ꙝ"],[42589,2],[42590,1,"ꙟ"],[42591,2],[42592,1,"ꙡ"],[42593,2],[42594,1,"ꙣ"],[42595,2],[42596,1,"ꙥ"],[42597,2],[42598,1,"ꙧ"],[42599,2],[42600,1,"ꙩ"],[42601,2],[42602,1,"ꙫ"],[42603,2],[42604,1,"ꙭ"],[[42605,42607],2],[[42608,42611],2],[[42612,42619],2],[[42620,42621],2],[42622,2],[42623,2],[42624,1,"ꚁ"],[42625,2],[42626,1,"ꚃ"],[42627,2],[42628,1,"ꚅ"],[42629,2],[42630,1,"ꚇ"],[42631,2],[42632,1,"ꚉ"],[42633,2],[42634,1,"ꚋ"],[42635,2],[42636,1,"ꚍ"],[42637,2],[42638,1,"ꚏ"],[42639,2],[42640,1,"ꚑ"],[42641,2],[42642,1,"ꚓ"],[42643,2],[42644,1,"ꚕ"],[42645,2],[42646,1,"ꚗ"],[42647,2],[42648,1,"ꚙ"],[42649,2],[42650,1,"ꚛ"],[42651,2],[42652,1,"ъ"],[42653,1,"ь"],[42654,2],[42655,2],[[42656,42725],2],[[42726,42735],2],[[42736,42737],2],[[42738,42743],2],[[42744,42751],3],[[42752,42774],2],[[42775,42778],2],[[42779,42783],2],[[42784,42785],2],[42786,1,"ꜣ"],[42787,2],[42788,1,"ꜥ"],[42789,2],[42790,1,"ꜧ"],[42791,2],[42792,1,"ꜩ"],[42793,2],[42794,1,"ꜫ"],[42795,2],[42796,1,"ꜭ"],[42797,2],[42798,1,"ꜯ"],[[42799,42801],2],[42802,1,"ꜳ"],[42803,2],[42804,1,"ꜵ"],[42805,2],[42806,1,"ꜷ"],[42807,2],[42808,1,"ꜹ"],[42809,2],[42810,1,"ꜻ"],[42811,2],[42812,1,"ꜽ"],[42813,2],[42814,1,"ꜿ"],[42815,2],[42816,1,"ꝁ"],[42817,2],[42818,1,"ꝃ"],[42819,2],[42820,1,"ꝅ"],[42821,2],[42822,1,"ꝇ"],[42823,2],[42824,1,"ꝉ"],[42825,2],[42826,1,"ꝋ"],[42827,2],[42828,1,"ꝍ"],[42829,2],[42830,1,"ꝏ"],[42831,2],[42832,1,"ꝑ"],[42833,2],[42834,1,"ꝓ"],[42835,2],[42836,1,"ꝕ"],[42837,2],[42838,1,"ꝗ"],[42839,2],[42840,1,"ꝙ"],[42841,2],[42842,1,"ꝛ"],[42843,2],[42844,1,"ꝝ"],[42845,2],[42846,1,"ꝟ"],[42847,2],[42848,1,"ꝡ"],[42849,2],[42850,1,"ꝣ"],[42851,2],[42852,1,"ꝥ"],[42853,2],[42854,1,"ꝧ"],[42855,2],[42856,1,"ꝩ"],[42857,2],[42858,1,"ꝫ"],[42859,2],[42860,1,"ꝭ"],[42861,2],[42862,1,"ꝯ"],[42863,2],[42864,1,"ꝯ"],[[42865,42872],2],[42873,1,"ꝺ"],[42874,2],[42875,1,"ꝼ"],[42876,2],[42877,1,"ᵹ"],[42878,1,"ꝿ"],[42879,2],[42880,1,"ꞁ"],[42881,2],[42882,1,"ꞃ"],[42883,2],[42884,1,"ꞅ"],[42885,2],[42886,1,"ꞇ"],[[42887,42888],2],[[42889,42890],2],[42891,1,"ꞌ"],[42892,2],[42893,1,"ɥ"],[42894,2],[42895,2],[42896,1,"ꞑ"],[42897,2],[42898,1,"ꞓ"],[42899,2],[[42900,42901],2],[42902,1,"ꞗ"],[42903,2],[42904,1,"ꞙ"],[42905,2],[42906,1,"ꞛ"],[42907,2],[42908,1,"ꞝ"],[42909,2],[42910,1,"ꞟ"],[42911,2],[42912,1,"ꞡ"],[42913,2],[42914,1,"ꞣ"],[42915,2],[42916,1,"ꞥ"],[42917,2],[42918,1,"ꞧ"],[42919,2],[42920,1,"ꞩ"],[42921,2],[42922,1,"ɦ"],[42923,1,"ɜ"],[42924,1,"ɡ"],[42925,1,"ɬ"],[42926,1,"ɪ"],[42927,2],[42928,1,"ʞ"],[42929,1,"ʇ"],[42930,1,"ʝ"],[42931,1,"ꭓ"],[42932,1,"ꞵ"],[42933,2],[42934,1,"ꞷ"],[42935,2],[42936,1,"ꞹ"],[42937,2],[42938,1,"ꞻ"],[42939,2],[42940,1,"ꞽ"],[42941,2],[42942,1,"ꞿ"],[42943,2],[[42944,42945],3],[42946,1,"ꟃ"],[42947,2],[42948,1,"ꞔ"],[42949,1,"ʂ"],[42950,1,"ᶎ"],[[42951,42998],3],[42999,2],[43e3,1,"ħ"],[43001,1,"œ"],[43002,2],[[43003,43007],2],[[43008,43047],2],[[43048,43051],2],[[43052,43055],3],[[43056,43065],2],[[43066,43071],3],[[43072,43123],2],[[43124,43127],2],[[43128,43135],3],[[43136,43204],2],[43205,2],[[43206,43213],3],[[43214,43215],2],[[43216,43225],2],[[43226,43231],3],[[43232,43255],2],[[43256,43258],2],[43259,2],[43260,2],[43261,2],[[43262,43263],2],[[43264,43309],2],[[43310,43311],2],[[43312,43347],2],[[43348,43358],3],[43359,2],[[43360,43388],2],[[43389,43391],3],[[43392,43456],2],[[43457,43469],2],[43470,3],[[43471,43481],2],[[43482,43485],3],[[43486,43487],2],[[43488,43518],2],[43519,3],[[43520,43574],2],[[43575,43583],3],[[43584,43597],2],[[43598,43599],3],[[43600,43609],2],[[43610,43611],3],[[43612,43615],2],[[43616,43638],2],[[43639,43641],2],[[43642,43643],2],[[43644,43647],2],[[43648,43714],2],[[43715,43738],3],[[43739,43741],2],[[43742,43743],2],[[43744,43759],2],[[43760,43761],2],[[43762,43766],2],[[43767,43776],3],[[43777,43782],2],[[43783,43784],3],[[43785,43790],2],[[43791,43792],3],[[43793,43798],2],[[43799,43807],3],[[43808,43814],2],[43815,3],[[43816,43822],2],[43823,3],[[43824,43866],2],[43867,2],[43868,1,"ꜧ"],[43869,1,"ꬷ"],[43870,1,"ɫ"],[43871,1,"ꭒ"],[[43872,43875],2],[[43876,43877],2],[[43878,43879],2],[[43880,43887],3],[43888,1,"Ꭰ"],[43889,1,"Ꭱ"],[43890,1,"Ꭲ"],[43891,1,"Ꭳ"],[43892,1,"Ꭴ"],[43893,1,"Ꭵ"],[43894,1,"Ꭶ"],[43895,1,"Ꭷ"],[43896,1,"Ꭸ"],[43897,1,"Ꭹ"],[43898,1,"Ꭺ"],[43899,1,"Ꭻ"],[43900,1,"Ꭼ"],[43901,1,"Ꭽ"],[43902,1,"Ꭾ"],[43903,1,"Ꭿ"],[43904,1,"Ꮀ"],[43905,1,"Ꮁ"],[43906,1,"Ꮂ"],[43907,1,"Ꮃ"],[43908,1,"Ꮄ"],[43909,1,"Ꮅ"],[43910,1,"Ꮆ"],[43911,1,"Ꮇ"],[43912,1,"Ꮈ"],[43913,1,"Ꮉ"],[43914,1,"Ꮊ"],[43915,1,"Ꮋ"],[43916,1,"Ꮌ"],[43917,1,"Ꮍ"],[43918,1,"Ꮎ"],[43919,1,"Ꮏ"],[43920,1,"Ꮐ"],[43921,1,"Ꮑ"],[43922,1,"Ꮒ"],[43923,1,"Ꮓ"],[43924,1,"Ꮔ"],[43925,1,"Ꮕ"],[43926,1,"Ꮖ"],[43927,1,"Ꮗ"],[43928,1,"Ꮘ"],[43929,1,"Ꮙ"],[43930,1,"Ꮚ"],[43931,1,"Ꮛ"],[43932,1,"Ꮜ"],[43933,1,"Ꮝ"],[43934,1,"Ꮞ"],[43935,1,"Ꮟ"],[43936,1,"Ꮠ"],[43937,1,"Ꮡ"],[43938,1,"Ꮢ"],[43939,1,"Ꮣ"],[43940,1,"Ꮤ"],[43941,1,"Ꮥ"],[43942,1,"Ꮦ"],[43943,1,"Ꮧ"],[43944,1,"Ꮨ"],[43945,1,"Ꮩ"],[43946,1,"Ꮪ"],[43947,1,"Ꮫ"],[43948,1,"Ꮬ"],[43949,1,"Ꮭ"],[43950,1,"Ꮮ"],[43951,1,"Ꮯ"],[43952,1,"Ꮰ"],[43953,1,"Ꮱ"],[43954,1,"Ꮲ"],[43955,1,"Ꮳ"],[43956,1,"Ꮴ"],[43957,1,"Ꮵ"],[43958,1,"Ꮶ"],[43959,1,"Ꮷ"],[43960,1,"Ꮸ"],[43961,1,"Ꮹ"],[43962,1,"Ꮺ"],[43963,1,"Ꮻ"],[43964,1,"Ꮼ"],[43965,1,"Ꮽ"],[43966,1,"Ꮾ"],[43967,1,"Ꮿ"],[[43968,44010],2],[44011,2],[[44012,44013],2],[[44014,44015],3],[[44016,44025],2],[[44026,44031],3],[[44032,55203],2],[[55204,55215],3],[[55216,55238],2],[[55239,55242],3],[[55243,55291],2],[[55292,55295],3],[[55296,57343],3],[[57344,63743],3],[63744,1,"豈"],[63745,1,"更"],[63746,1,"車"],[63747,1,"賈"],[63748,1,"滑"],[63749,1,"串"],[63750,1,"句"],[[63751,63752],1,"龜"],[63753,1,"契"],[63754,1,"金"],[63755,1,"喇"],[63756,1,"奈"],[63757,1,"懶"],[63758,1,"癩"],[63759,1,"羅"],[63760,1,"蘿"],[63761,1,"螺"],[63762,1,"裸"],[63763,1,"邏"],[63764,1,"樂"],[63765,1,"洛"],[63766,1,"烙"],[63767,1,"珞"],[63768,1,"落"],[63769,1,"酪"],[63770,1,"駱"],[63771,1,"亂"],[63772,1,"卵"],[63773,1,"欄"],[63774,1,"爛"],[63775,1,"蘭"],[63776,1,"鸞"],[63777,1,"嵐"],[63778,1,"濫"],[63779,1,"藍"],[63780,1,"襤"],[63781,1,"拉"],[63782,1,"臘"],[63783,1,"蠟"],[63784,1,"廊"],[63785,1,"朗"],[63786,1,"浪"],[63787,1,"狼"],[63788,1,"郎"],[63789,1,"來"],[63790,1,"冷"],[63791,1,"勞"],[63792,1,"擄"],[63793,1,"櫓"],[63794,1,"爐"],[63795,1,"盧"],[63796,1,"老"],[63797,1,"蘆"],[63798,1,"虜"],[63799,1,"路"],[63800,1,"露"],[63801,1,"魯"],[63802,1,"鷺"],[63803,1,"碌"],[63804,1,"祿"],[63805,1,"綠"],[63806,1,"菉"],[63807,1,"錄"],[63808,1,"鹿"],[63809,1,"論"],[63810,1,"壟"],[63811,1,"弄"],[63812,1,"籠"],[63813,1,"聾"],[63814,1,"牢"],[63815,1,"磊"],[63816,1,"賂"],[63817,1,"雷"],[63818,1,"壘"],[63819,1,"屢"],[63820,1,"樓"],[63821,1,"淚"],[63822,1,"漏"],[63823,1,"累"],[63824,1,"縷"],[63825,1,"陋"],[63826,1,"勒"],[63827,1,"肋"],[63828,1,"凜"],[63829,1,"凌"],[63830,1,"稜"],[63831,1,"綾"],[63832,1,"菱"],[63833,1,"陵"],[63834,1,"讀"],[63835,1,"拏"],[63836,1,"樂"],[63837,1,"諾"],[63838,1,"丹"],[63839,1,"寧"],[63840,1,"怒"],[63841,1,"率"],[63842,1,"異"],[63843,1,"北"],[63844,1,"磻"],[63845,1,"便"],[63846,1,"復"],[63847,1,"不"],[63848,1,"泌"],[63849,1,"數"],[63850,1,"索"],[63851,1,"參"],[63852,1,"塞"],[63853,1,"省"],[63854,1,"葉"],[63855,1,"說"],[63856,1,"殺"],[63857,1,"辰"],[63858,1,"沈"],[63859,1,"拾"],[63860,1,"若"],[63861,1,"掠"],[63862,1,"略"],[63863,1,"亮"],[63864,1,"兩"],[63865,1,"凉"],[63866,1,"梁"],[63867,1,"糧"],[63868,1,"良"],[63869,1,"諒"],[63870,1,"量"],[63871,1,"勵"],[63872,1,"呂"],[63873,1,"女"],[63874,1,"廬"],[63875,1,"旅"],[63876,1,"濾"],[63877,1,"礪"],[63878,1,"閭"],[63879,1,"驪"],[63880,1,"麗"],[63881,1,"黎"],[63882,1,"力"],[63883,1,"曆"],[63884,1,"歷"],[63885,1,"轢"],[63886,1,"年"],[63887,1,"憐"],[63888,1,"戀"],[63889,1,"撚"],[63890,1,"漣"],[63891,1,"煉"],[63892,1,"璉"],[63893,1,"秊"],[63894,1,"練"],[63895,1,"聯"],[63896,1,"輦"],[63897,1,"蓮"],[63898,1,"連"],[63899,1,"鍊"],[63900,1,"列"],[63901,1,"劣"],[63902,1,"咽"],[63903,1,"烈"],[63904,1,"裂"],[63905,1,"說"],[63906,1,"廉"],[63907,1,"念"],[63908,1,"捻"],[63909,1,"殮"],[63910,1,"簾"],[63911,1,"獵"],[63912,1,"令"],[63913,1,"囹"],[63914,1,"寧"],[63915,1,"嶺"],[63916,1,"怜"],[63917,1,"玲"],[63918,1,"瑩"],[63919,1,"羚"],[63920,1,"聆"],[63921,1,"鈴"],[63922,1,"零"],[63923,1,"靈"],[63924,1,"領"],[63925,1,"例"],[63926,1,"禮"],[63927,1,"醴"],[63928,1,"隸"],[63929,1,"惡"],[63930,1,"了"],[63931,1,"僚"],[63932,1,"寮"],[63933,1,"尿"],[63934,1,"料"],[63935,1,"樂"],[63936,1,"燎"],[63937,1,"療"],[63938,1,"蓼"],[63939,1,"遼"],[63940,1,"龍"],[63941,1,"暈"],[63942,1,"阮"],[63943,1,"劉"],[63944,1,"杻"],[63945,1,"柳"],[63946,1,"流"],[63947,1,"溜"],[63948,1,"琉"],[63949,1,"留"],[63950,1,"硫"],[63951,1,"紐"],[63952,1,"類"],[63953,1,"六"],[63954,1,"戮"],[63955,1,"陸"],[63956,1,"倫"],[63957,1,"崙"],[63958,1,"淪"],[63959,1,"輪"],[63960,1,"律"],[63961,1,"慄"],[63962,1,"栗"],[63963,1,"率"],[63964,1,"隆"],[63965,1,"利"],[63966,1,"吏"],[63967,1,"履"],[63968,1,"易"],[63969,1,"李"],[63970,1,"梨"],[63971,1,"泥"],[63972,1,"理"],[63973,1,"痢"],[63974,1,"罹"],[63975,1,"裏"],[63976,1,"裡"],[63977,1,"里"],[63978,1,"離"],[63979,1,"匿"],[63980,1,"溺"],[63981,1,"吝"],[63982,1,"燐"],[63983,1,"璘"],[63984,1,"藺"],[63985,1,"隣"],[63986,1,"鱗"],[63987,1,"麟"],[63988,1,"林"],[63989,1,"淋"],[63990,1,"臨"],[63991,1,"立"],[63992,1,"笠"],[63993,1,"粒"],[63994,1,"狀"],[63995,1,"炙"],[63996,1,"識"],[63997,1,"什"],[63998,1,"茶"],[63999,1,"刺"],[64e3,1,"切"],[64001,1,"度"],[64002,1,"拓"],[64003,1,"糖"],[64004,1,"宅"],[64005,1,"洞"],[64006,1,"暴"],[64007,1,"輻"],[64008,1,"行"],[64009,1,"降"],[64010,1,"見"],[64011,1,"廓"],[64012,1,"兀"],[64013,1,"嗀"],[[64014,64015],2],[64016,1,"塚"],[64017,2],[64018,1,"晴"],[[64019,64020],2],[64021,1,"凞"],[64022,1,"猪"],[64023,1,"益"],[64024,1,"礼"],[64025,1,"神"],[64026,1,"祥"],[64027,1,"福"],[64028,1,"靖"],[64029,1,"精"],[64030,1,"羽"],[64031,2],[64032,1,"蘒"],[64033,2],[64034,1,"諸"],[[64035,64036],2],[64037,1,"逸"],[64038,1,"都"],[[64039,64041],2],[64042,1,"飯"],[64043,1,"飼"],[64044,1,"館"],[64045,1,"鶴"],[64046,1,"郞"],[64047,1,"隷"],[64048,1,"侮"],[64049,1,"僧"],[64050,1,"免"],[64051,1,"勉"],[64052,1,"勤"],[64053,1,"卑"],[64054,1,"喝"],[64055,1,"嘆"],[64056,1,"器"],[64057,1,"塀"],[64058,1,"墨"],[64059,1,"層"],[64060,1,"屮"],[64061,1,"悔"],[64062,1,"慨"],[64063,1,"憎"],[64064,1,"懲"],[64065,1,"敏"],[64066,1,"既"],[64067,1,"暑"],[64068,1,"梅"],[64069,1,"海"],[64070,1,"渚"],[64071,1,"漢"],[64072,1,"煮"],[64073,1,"爫"],[64074,1,"琢"],[64075,1,"碑"],[64076,1,"社"],[64077,1,"祉"],[64078,1,"祈"],[64079,1,"祐"],[64080,1,"祖"],[64081,1,"祝"],[64082,1,"禍"],[64083,1,"禎"],[64084,1,"穀"],[64085,1,"突"],[64086,1,"節"],[64087,1,"練"],[64088,1,"縉"],[64089,1,"繁"],[64090,1,"署"],[64091,1,"者"],[64092,1,"臭"],[[64093,64094],1,"艹"],[64095,1,"著"],[64096,1,"褐"],[64097,1,"視"],[64098,1,"謁"],[64099,1,"謹"],[64100,1,"賓"],[64101,1,"贈"],[64102,1,"辶"],[64103,1,"逸"],[64104,1,"難"],[64105,1,"響"],[64106,1,"頻"],[64107,1,"恵"],[64108,1,"𤋮"],[64109,1,"舘"],[[64110,64111],3],[64112,1,"並"],[64113,1,"况"],[64114,1,"全"],[64115,1,"侀"],[64116,1,"充"],[64117,1,"冀"],[64118,1,"勇"],[64119,1,"勺"],[64120,1,"喝"],[64121,1,"啕"],[64122,1,"喙"],[64123,1,"嗢"],[64124,1,"塚"],[64125,1,"墳"],[64126,1,"奄"],[64127,1,"奔"],[64128,1,"婢"],[64129,1,"嬨"],[64130,1,"廒"],[64131,1,"廙"],[64132,1,"彩"],[64133,1,"徭"],[64134,1,"惘"],[64135,1,"慎"],[64136,1,"愈"],[64137,1,"憎"],[64138,1,"慠"],[64139,1,"懲"],[64140,1,"戴"],[64141,1,"揄"],[64142,1,"搜"],[64143,1,"摒"],[64144,1,"敖"],[64145,1,"晴"],[64146,1,"朗"],[64147,1,"望"],[64148,1,"杖"],[64149,1,"歹"],[64150,1,"殺"],[64151,1,"流"],[64152,1,"滛"],[64153,1,"滋"],[64154,1,"漢"],[64155,1,"瀞"],[64156,1,"煮"],[64157,1,"瞧"],[64158,1,"爵"],[64159,1,"犯"],[64160,1,"猪"],[64161,1,"瑱"],[64162,1,"甆"],[64163,1,"画"],[64164,1,"瘝"],[64165,1,"瘟"],[64166,1,"益"],[64167,1,"盛"],[64168,1,"直"],[64169,1,"睊"],[64170,1,"着"],[64171,1,"磌"],[64172,1,"窱"],[64173,1,"節"],[64174,1,"类"],[64175,1,"絛"],[64176,1,"練"],[64177,1,"缾"],[64178,1,"者"],[64179,1,"荒"],[64180,1,"華"],[64181,1,"蝹"],[64182,1,"襁"],[64183,1,"覆"],[64184,1,"視"],[64185,1,"調"],[64186,1,"諸"],[64187,1,"請"],[64188,1,"謁"],[64189,1,"諾"],[64190,1,"諭"],[64191,1,"謹"],[64192,1,"變"],[64193,1,"贈"],[64194,1,"輸"],[64195,1,"遲"],[64196,1,"醙"],[64197,1,"鉶"],[64198,1,"陼"],[64199,1,"難"],[64200,1,"靖"],[64201,1,"韛"],[64202,1,"響"],[64203,1,"頋"],[64204,1,"頻"],[64205,1,"鬒"],[64206,1,"龜"],[64207,1,"𢡊"],[64208,1,"𢡄"],[64209,1,"𣏕"],[64210,1,"㮝"],[64211,1,"䀘"],[64212,1,"䀹"],[64213,1,"𥉉"],[64214,1,"𥳐"],[64215,1,"𧻓"],[64216,1,"齃"],[64217,1,"龎"],[[64218,64255],3],[64256,1,"ff"],[64257,1,"fi"],[64258,1,"fl"],[64259,1,"ffi"],[64260,1,"ffl"],[[64261,64262],1,"st"],[[64263,64274],3],[64275,1,"մն"],[64276,1,"մե"],[64277,1,"մի"],[64278,1,"վն"],[64279,1,"մխ"],[[64280,64284],3],[64285,1,"יִ"],[64286,2],[64287,1,"ײַ"],[64288,1,"ע"],[64289,1,"א"],[64290,1,"ד"],[64291,1,"ה"],[64292,1,"כ"],[64293,1,"ל"],[64294,1,"ם"],[64295,1,"ר"],[64296,1,"ת"],[64297,5,"+"],[64298,1,"שׁ"],[64299,1,"שׂ"],[64300,1,"שּׁ"],[64301,1,"שּׂ"],[64302,1,"אַ"],[64303,1,"אָ"],[64304,1,"אּ"],[64305,1,"בּ"],[64306,1,"גּ"],[64307,1,"דּ"],[64308,1,"הּ"],[64309,1,"וּ"],[64310,1,"זּ"],[64311,3],[64312,1,"טּ"],[64313,1,"יּ"],[64314,1,"ךּ"],[64315,1,"כּ"],[64316,1,"לּ"],[64317,3],[64318,1,"מּ"],[64319,3],[64320,1,"נּ"],[64321,1,"סּ"],[64322,3],[64323,1,"ףּ"],[64324,1,"פּ"],[64325,3],[64326,1,"צּ"],[64327,1,"קּ"],[64328,1,"רּ"],[64329,1,"שּ"],[64330,1,"תּ"],[64331,1,"וֹ"],[64332,1,"בֿ"],[64333,1,"כֿ"],[64334,1,"פֿ"],[64335,1,"אל"],[[64336,64337],1,"ٱ"],[[64338,64341],1,"ٻ"],[[64342,64345],1,"پ"],[[64346,64349],1,"ڀ"],[[64350,64353],1,"ٺ"],[[64354,64357],1,"ٿ"],[[64358,64361],1,"ٹ"],[[64362,64365],1,"ڤ"],[[64366,64369],1,"ڦ"],[[64370,64373],1,"ڄ"],[[64374,64377],1,"ڃ"],[[64378,64381],1,"چ"],[[64382,64385],1,"ڇ"],[[64386,64387],1,"ڍ"],[[64388,64389],1,"ڌ"],[[64390,64391],1,"ڎ"],[[64392,64393],1,"ڈ"],[[64394,64395],1,"ژ"],[[64396,64397],1,"ڑ"],[[64398,64401],1,"ک"],[[64402,64405],1,"گ"],[[64406,64409],1,"ڳ"],[[64410,64413],1,"ڱ"],[[64414,64415],1,"ں"],[[64416,64419],1,"ڻ"],[[64420,64421],1,"ۀ"],[[64422,64425],1,"ہ"],[[64426,64429],1,"ھ"],[[64430,64431],1,"ے"],[[64432,64433],1,"ۓ"],[[64434,64449],2],[[64450,64466],3],[[64467,64470],1,"ڭ"],[[64471,64472],1,"ۇ"],[[64473,64474],1,"ۆ"],[[64475,64476],1,"ۈ"],[64477,1,"ۇٴ"],[[64478,64479],1,"ۋ"],[[64480,64481],1,"ۅ"],[[64482,64483],1,"ۉ"],[[64484,64487],1,"ې"],[[64488,64489],1,"ى"],[[64490,64491],1,"ئا"],[[64492,64493],1,"ئە"],[[64494,64495],1,"ئو"],[[64496,64497],1,"ئۇ"],[[64498,64499],1,"ئۆ"],[[64500,64501],1,"ئۈ"],[[64502,64504],1,"ئې"],[[64505,64507],1,"ئى"],[[64508,64511],1,"ی"],[64512,1,"ئج"],[64513,1,"ئح"],[64514,1,"ئم"],[64515,1,"ئى"],[64516,1,"ئي"],[64517,1,"بج"],[64518,1,"بح"],[64519,1,"بخ"],[64520,1,"بم"],[64521,1,"بى"],[64522,1,"بي"],[64523,1,"تج"],[64524,1,"تح"],[64525,1,"تخ"],[64526,1,"تم"],[64527,1,"تى"],[64528,1,"تي"],[64529,1,"ثج"],[64530,1,"ثم"],[64531,1,"ثى"],[64532,1,"ثي"],[64533,1,"جح"],[64534,1,"جم"],[64535,1,"حج"],[64536,1,"حم"],[64537,1,"خج"],[64538,1,"خح"],[64539,1,"خم"],[64540,1,"سج"],[64541,1,"سح"],[64542,1,"سخ"],[64543,1,"سم"],[64544,1,"صح"],[64545,1,"صم"],[64546,1,"ضج"],[64547,1,"ضح"],[64548,1,"ضخ"],[64549,1,"ضم"],[64550,1,"طح"],[64551,1,"طم"],[64552,1,"ظم"],[64553,1,"عج"],[64554,1,"عم"],[64555,1,"غج"],[64556,1,"غم"],[64557,1,"فج"],[64558,1,"فح"],[64559,1,"فخ"],[64560,1,"فم"],[64561,1,"فى"],[64562,1,"في"],[64563,1,"قح"],[64564,1,"قم"],[64565,1,"قى"],[64566,1,"قي"],[64567,1,"كا"],[64568,1,"كج"],[64569,1,"كح"],[64570,1,"كخ"],[64571,1,"كل"],[64572,1,"كم"],[64573,1,"كى"],[64574,1,"كي"],[64575,1,"لج"],[64576,1,"لح"],[64577,1,"لخ"],[64578,1,"لم"],[64579,1,"لى"],[64580,1,"لي"],[64581,1,"مج"],[64582,1,"مح"],[64583,1,"مخ"],[64584,1,"مم"],[64585,1,"مى"],[64586,1,"مي"],[64587,1,"نج"],[64588,1,"نح"],[64589,1,"نخ"],[64590,1,"نم"],[64591,1,"نى"],[64592,1,"ني"],[64593,1,"هج"],[64594,1,"هم"],[64595,1,"هى"],[64596,1,"هي"],[64597,1,"يج"],[64598,1,"يح"],[64599,1,"يخ"],[64600,1,"يم"],[64601,1,"يى"],[64602,1,"يي"],[64603,1,"ذٰ"],[64604,1,"رٰ"],[64605,1,"ىٰ"],[64606,5," ٌّ"],[64607,5," ٍّ"],[64608,5," َّ"],[64609,5," ُّ"],[64610,5," ِّ"],[64611,5," ّٰ"],[64612,1,"ئر"],[64613,1,"ئز"],[64614,1,"ئم"],[64615,1,"ئن"],[64616,1,"ئى"],[64617,1,"ئي"],[64618,1,"بر"],[64619,1,"بز"],[64620,1,"بم"],[64621,1,"بن"],[64622,1,"بى"],[64623,1,"بي"],[64624,1,"تر"],[64625,1,"تز"],[64626,1,"تم"],[64627,1,"تن"],[64628,1,"تى"],[64629,1,"تي"],[64630,1,"ثر"],[64631,1,"ثز"],[64632,1,"ثم"],[64633,1,"ثن"],[64634,1,"ثى"],[64635,1,"ثي"],[64636,1,"فى"],[64637,1,"في"],[64638,1,"قى"],[64639,1,"قي"],[64640,1,"كا"],[64641,1,"كل"],[64642,1,"كم"],[64643,1,"كى"],[64644,1,"كي"],[64645,1,"لم"],[64646,1,"لى"],[64647,1,"لي"],[64648,1,"ما"],[64649,1,"مم"],[64650,1,"نر"],[64651,1,"نز"],[64652,1,"نم"],[64653,1,"نن"],[64654,1,"نى"],[64655,1,"ني"],[64656,1,"ىٰ"],[64657,1,"ير"],[64658,1,"يز"],[64659,1,"يم"],[64660,1,"ين"],[64661,1,"يى"],[64662,1,"يي"],[64663,1,"ئج"],[64664,1,"ئح"],[64665,1,"ئخ"],[64666,1,"ئم"],[64667,1,"ئه"],[64668,1,"بج"],[64669,1,"بح"],[64670,1,"بخ"],[64671,1,"بم"],[64672,1,"به"],[64673,1,"تج"],[64674,1,"تح"],[64675,1,"تخ"],[64676,1,"تم"],[64677,1,"ته"],[64678,1,"ثم"],[64679,1,"جح"],[64680,1,"جم"],[64681,1,"حج"],[64682,1,"حم"],[64683,1,"خج"],[64684,1,"خم"],[64685,1,"سج"],[64686,1,"سح"],[64687,1,"سخ"],[64688,1,"سم"],[64689,1,"صح"],[64690,1,"صخ"],[64691,1,"صم"],[64692,1,"ضج"],[64693,1,"ضح"],[64694,1,"ضخ"],[64695,1,"ضم"],[64696,1,"طح"],[64697,1,"ظم"],[64698,1,"عج"],[64699,1,"عم"],[64700,1,"غج"],[64701,1,"غم"],[64702,1,"فج"],[64703,1,"فح"],[64704,1,"فخ"],[64705,1,"فم"],[64706,1,"قح"],[64707,1,"قم"],[64708,1,"كج"],[64709,1,"كح"],[64710,1,"كخ"],[64711,1,"كل"],[64712,1,"كم"],[64713,1,"لج"],[64714,1,"لح"],[64715,1,"لخ"],[64716,1,"لم"],[64717,1,"له"],[64718,1,"مج"],[64719,1,"مح"],[64720,1,"مخ"],[64721,1,"مم"],[64722,1,"نج"],[64723,1,"نح"],[64724,1,"نخ"],[64725,1,"نم"],[64726,1,"نه"],[64727,1,"هج"],[64728,1,"هم"],[64729,1,"هٰ"],[64730,1,"يج"],[64731,1,"يح"],[64732,1,"يخ"],[64733,1,"يم"],[64734,1,"يه"],[64735,1,"ئم"],[64736,1,"ئه"],[64737,1,"بم"],[64738,1,"به"],[64739,1,"تم"],[64740,1,"ته"],[64741,1,"ثم"],[64742,1,"ثه"],[64743,1,"سم"],[64744,1,"سه"],[64745,1,"شم"],[64746,1,"شه"],[64747,1,"كل"],[64748,1,"كم"],[64749,1,"لم"],[64750,1,"نم"],[64751,1,"نه"],[64752,1,"يم"],[64753,1,"يه"],[64754,1,"ـَّ"],[64755,1,"ـُّ"],[64756,1,"ـِّ"],[64757,1,"طى"],[64758,1,"طي"],[64759,1,"عى"],[64760,1,"عي"],[64761,1,"غى"],[64762,1,"غي"],[64763,1,"سى"],[64764,1,"سي"],[64765,1,"شى"],[64766,1,"شي"],[64767,1,"حى"],[64768,1,"حي"],[64769,1,"جى"],[64770,1,"جي"],[64771,1,"خى"],[64772,1,"خي"],[64773,1,"صى"],[64774,1,"صي"],[64775,1,"ضى"],[64776,1,"ضي"],[64777,1,"شج"],[64778,1,"شح"],[64779,1,"شخ"],[64780,1,"شم"],[64781,1,"شر"],[64782,1,"سر"],[64783,1,"صر"],[64784,1,"ضر"],[64785,1,"طى"],[64786,1,"طي"],[64787,1,"عى"],[64788,1,"عي"],[64789,1,"غى"],[64790,1,"غي"],[64791,1,"سى"],[64792,1,"سي"],[64793,1,"شى"],[64794,1,"شي"],[64795,1,"حى"],[64796,1,"حي"],[64797,1,"جى"],[64798,1,"جي"],[64799,1,"خى"],[64800,1,"خي"],[64801,1,"صى"],[64802,1,"صي"],[64803,1,"ضى"],[64804,1,"ضي"],[64805,1,"شج"],[64806,1,"شح"],[64807,1,"شخ"],[64808,1,"شم"],[64809,1,"شر"],[64810,1,"سر"],[64811,1,"صر"],[64812,1,"ضر"],[64813,1,"شج"],[64814,1,"شح"],[64815,1,"شخ"],[64816,1,"شم"],[64817,1,"سه"],[64818,1,"شه"],[64819,1,"طم"],[64820,1,"سج"],[64821,1,"سح"],[64822,1,"سخ"],[64823,1,"شج"],[64824,1,"شح"],[64825,1,"شخ"],[64826,1,"طم"],[64827,1,"ظم"],[[64828,64829],1,"اً"],[[64830,64831],2],[[64832,64847],3],[64848,1,"تجم"],[[64849,64850],1,"تحج"],[64851,1,"تحم"],[64852,1,"تخم"],[64853,1,"تمج"],[64854,1,"تمح"],[64855,1,"تمخ"],[[64856,64857],1,"جمح"],[64858,1,"حمي"],[64859,1,"حمى"],[64860,1,"سحج"],[64861,1,"سجح"],[64862,1,"سجى"],[[64863,64864],1,"سمح"],[64865,1,"سمج"],[[64866,64867],1,"سمم"],[[64868,64869],1,"صحح"],[64870,1,"صمم"],[[64871,64872],1,"شحم"],[64873,1,"شجي"],[[64874,64875],1,"شمخ"],[[64876,64877],1,"شمم"],[64878,1,"ضحى"],[[64879,64880],1,"ضخم"],[[64881,64882],1,"طمح"],[64883,1,"طمم"],[64884,1,"طمي"],[64885,1,"عجم"],[[64886,64887],1,"عمم"],[64888,1,"عمى"],[64889,1,"غمم"],[64890,1,"غمي"],[64891,1,"غمى"],[[64892,64893],1,"فخم"],[64894,1,"قمح"],[64895,1,"قمم"],[64896,1,"لحم"],[64897,1,"لحي"],[64898,1,"لحى"],[[64899,64900],1,"لجج"],[[64901,64902],1,"لخم"],[[64903,64904],1,"لمح"],[64905,1,"محج"],[64906,1,"محم"],[64907,1,"محي"],[64908,1,"مجح"],[64909,1,"مجم"],[64910,1,"مخج"],[64911,1,"مخم"],[[64912,64913],3],[64914,1,"مجخ"],[64915,1,"همج"],[64916,1,"همم"],[64917,1,"نحم"],[64918,1,"نحى"],[[64919,64920],1,"نجم"],[64921,1,"نجى"],[64922,1,"نمي"],[64923,1,"نمى"],[[64924,64925],1,"يمم"],[64926,1,"بخي"],[64927,1,"تجي"],[64928,1,"تجى"],[64929,1,"تخي"],[64930,1,"تخى"],[64931,1,"تمي"],[64932,1,"تمى"],[64933,1,"جمي"],[64934,1,"جحى"],[64935,1,"جمى"],[64936,1,"سخى"],[64937,1,"صحي"],[64938,1,"شحي"],[64939,1,"ضحي"],[64940,1,"لجي"],[64941,1,"لمي"],[64942,1,"يحي"],[64943,1,"يجي"],[64944,1,"يمي"],[64945,1,"ممي"],[64946,1,"قمي"],[64947,1,"نحي"],[64948,1,"قمح"],[64949,1,"لحم"],[64950,1,"عمي"],[64951,1,"كمي"],[64952,1,"نجح"],[64953,1,"مخي"],[64954,1,"لجم"],[64955,1,"كمم"],[64956,1,"لجم"],[64957,1,"نجح"],[64958,1,"جحي"],[64959,1,"حجي"],[64960,1,"مجي"],[64961,1,"فمي"],[64962,1,"بحي"],[64963,1,"كمم"],[64964,1,"عجم"],[64965,1,"صمم"],[64966,1,"سخي"],[64967,1,"نجي"],[[64968,64975],3],[[64976,65007],3],[65008,1,"صلے"],[65009,1,"قلے"],[65010,1,"الله"],[65011,1,"اكبر"],[65012,1,"محمد"],[65013,1,"صلعم"],[65014,1,"رسول"],[65015,1,"عليه"],[65016,1,"وسلم"],[65017,1,"صلى"],[65018,5,"صلى الله عليه وسلم"],[65019,5,"جل جلاله"],[65020,1,"ریال"],[65021,2],[[65022,65023],3],[[65024,65039],7],[65040,5,","],[65041,1,"、"],[65042,3],[65043,5,":"],[65044,5,";"],[65045,5,"!"],[65046,5,"?"],[65047,1,"〖"],[65048,1,"〗"],[65049,3],[[65050,65055],3],[[65056,65059],2],[[65060,65062],2],[[65063,65069],2],[[65070,65071],2],[65072,3],[65073,1,"—"],[65074,1,"–"],[[65075,65076],5,"_"],[65077,5,"("],[65078,5,")"],[65079,5,"{"],[65080,5,"}"],[65081,1,"〔"],[65082,1,"〕"],[65083,1,"【"],[65084,1,"】"],[65085,1,"《"],[65086,1,"》"],[65087,1,"〈"],[65088,1,"〉"],[65089,1,"「"],[65090,1,"」"],[65091,1,"『"],[65092,1,"』"],[[65093,65094],2],[65095,5,"["],[65096,5,"]"],[[65097,65100],5," ̅"],[[65101,65103],5,"_"],[65104,5,","],[65105,1,"、"],[65106,3],[65107,3],[65108,5,";"],[65109,5,":"],[65110,5,"?"],[65111,5,"!"],[65112,1,"—"],[65113,5,"("],[65114,5,")"],[65115,5,"{"],[65116,5,"}"],[65117,1,"〔"],[65118,1,"〕"],[65119,5,"#"],[65120,5,"&"],[65121,5,"*"],[65122,5,"+"],[65123,1,"-"],[65124,5,"<"],[65125,5,">"],[65126,5,"="],[65127,3],[65128,5,"\\"],[65129,5,"$"],[65130,5,"%"],[65131,5,"@"],[[65132,65135],3],[65136,5," ً"],[65137,1,"ـً"],[65138,5," ٌ"],[65139,2],[65140,5," ٍ"],[65141,3],[65142,5," َ"],[65143,1,"ـَ"],[65144,5," ُ"],[65145,1,"ـُ"],[65146,5," ِ"],[65147,1,"ـِ"],[65148,5," ّ"],[65149,1,"ـّ"],[65150,5," ْ"],[65151,1,"ـْ"],[65152,1,"ء"],[[65153,65154],1,"آ"],[[65155,65156],1,"أ"],[[65157,65158],1,"ؤ"],[[65159,65160],1,"إ"],[[65161,65164],1,"ئ"],[[65165,65166],1,"ا"],[[65167,65170],1,"ب"],[[65171,65172],1,"ة"],[[65173,65176],1,"ت"],[[65177,65180],1,"ث"],[[65181,65184],1,"ج"],[[65185,65188],1,"ح"],[[65189,65192],1,"خ"],[[65193,65194],1,"د"],[[65195,65196],1,"ذ"],[[65197,65198],1,"ر"],[[65199,65200],1,"ز"],[[65201,65204],1,"س"],[[65205,65208],1,"ش"],[[65209,65212],1,"ص"],[[65213,65216],1,"ض"],[[65217,65220],1,"ط"],[[65221,65224],1,"ظ"],[[65225,65228],1,"ع"],[[65229,65232],1,"غ"],[[65233,65236],1,"ف"],[[65237,65240],1,"ق"],[[65241,65244],1,"ك"],[[65245,65248],1,"ل"],[[65249,65252],1,"م"],[[65253,65256],1,"ن"],[[65257,65260],1,"ه"],[[65261,65262],1,"و"],[[65263,65264],1,"ى"],[[65265,65268],1,"ي"],[[65269,65270],1,"لآ"],[[65271,65272],1,"لأ"],[[65273,65274],1,"لإ"],[[65275,65276],1,"لا"],[[65277,65278],3],[65279,7],[65280,3],[65281,5,"!"],[65282,5,'"'],[65283,5,"#"],[65284,5,"$"],[65285,5,"%"],[65286,5,"&"],[65287,5,"'"],[65288,5,"("],[65289,5,")"],[65290,5,"*"],[65291,5,"+"],[65292,5,","],[65293,1,"-"],[65294,1,"."],[65295,5,"/"],[65296,1,"0"],[65297,1,"1"],[65298,1,"2"],[65299,1,"3"],[65300,1,"4"],[65301,1,"5"],[65302,1,"6"],[65303,1,"7"],[65304,1,"8"],[65305,1,"9"],[65306,5,":"],[65307,5,";"],[65308,5,"<"],[65309,5,"="],[65310,5,">"],[65311,5,"?"],[65312,5,"@"],[65313,1,"a"],[65314,1,"b"],[65315,1,"c"],[65316,1,"d"],[65317,1,"e"],[65318,1,"f"],[65319,1,"g"],[65320,1,"h"],[65321,1,"i"],[65322,1,"j"],[65323,1,"k"],[65324,1,"l"],[65325,1,"m"],[65326,1,"n"],[65327,1,"o"],[65328,1,"p"],[65329,1,"q"],[65330,1,"r"],[65331,1,"s"],[65332,1,"t"],[65333,1,"u"],[65334,1,"v"],[65335,1,"w"],[65336,1,"x"],[65337,1,"y"],[65338,1,"z"],[65339,5,"["],[65340,5,"\\"],[65341,5,"]"],[65342,5,"^"],[65343,5,"_"],[65344,5,"`"],[65345,1,"a"],[65346,1,"b"],[65347,1,"c"],[65348,1,"d"],[65349,1,"e"],[65350,1,"f"],[65351,1,"g"],[65352,1,"h"],[65353,1,"i"],[65354,1,"j"],[65355,1,"k"],[65356,1,"l"],[65357,1,"m"],[65358,1,"n"],[65359,1,"o"],[65360,1,"p"],[65361,1,"q"],[65362,1,"r"],[65363,1,"s"],[65364,1,"t"],[65365,1,"u"],[65366,1,"v"],[65367,1,"w"],[65368,1,"x"],[65369,1,"y"],[65370,1,"z"],[65371,5,"{"],[65372,5,"|"],[65373,5,"}"],[65374,5,"~"],[65375,1,"⦅"],[65376,1,"⦆"],[65377,1,"."],[65378,1,"「"],[65379,1,"」"],[65380,1,"、"],[65381,1,"・"],[65382,1,"ヲ"],[65383,1,"ァ"],[65384,1,"ィ"],[65385,1,"ゥ"],[65386,1,"ェ"],[65387,1,"ォ"],[65388,1,"ャ"],[65389,1,"ュ"],[65390,1,"ョ"],[65391,1,"ッ"],[65392,1,"ー"],[65393,1,"ア"],[65394,1,"イ"],[65395,1,"ウ"],[65396,1,"エ"],[65397,1,"オ"],[65398,1,"カ"],[65399,1,"キ"],[65400,1,"ク"],[65401,1,"ケ"],[65402,1,"コ"],[65403,1,"サ"],[65404,1,"シ"],[65405,1,"ス"],[65406,1,"セ"],[65407,1,"ソ"],[65408,1,"タ"],[65409,1,"チ"],[65410,1,"ツ"],[65411,1,"テ"],[65412,1,"ト"],[65413,1,"ナ"],[65414,1,"ニ"],[65415,1,"ヌ"],[65416,1,"ネ"],[65417,1,"ノ"],[65418,1,"ハ"],[65419,1,"ヒ"],[65420,1,"フ"],[65421,1,"ヘ"],[65422,1,"ホ"],[65423,1,"マ"],[65424,1,"ミ"],[65425,1,"ム"],[65426,1,"メ"],[65427,1,"モ"],[65428,1,"ヤ"],[65429,1,"ユ"],[65430,1,"ヨ"],[65431,1,"ラ"],[65432,1,"リ"],[65433,1,"ル"],[65434,1,"レ"],[65435,1,"ロ"],[65436,1,"ワ"],[65437,1,"ン"],[65438,1,"゙"],[65439,1,"゚"],[65440,3],[65441,1,"ᄀ"],[65442,1,"ᄁ"],[65443,1,"ᆪ"],[65444,1,"ᄂ"],[65445,1,"ᆬ"],[65446,1,"ᆭ"],[65447,1,"ᄃ"],[65448,1,"ᄄ"],[65449,1,"ᄅ"],[65450,1,"ᆰ"],[65451,1,"ᆱ"],[65452,1,"ᆲ"],[65453,1,"ᆳ"],[65454,1,"ᆴ"],[65455,1,"ᆵ"],[65456,1,"ᄚ"],[65457,1,"ᄆ"],[65458,1,"ᄇ"],[65459,1,"ᄈ"],[65460,1,"ᄡ"],[65461,1,"ᄉ"],[65462,1,"ᄊ"],[65463,1,"ᄋ"],[65464,1,"ᄌ"],[65465,1,"ᄍ"],[65466,1,"ᄎ"],[65467,1,"ᄏ"],[65468,1,"ᄐ"],[65469,1,"ᄑ"],[65470,1,"ᄒ"],[[65471,65473],3],[65474,1,"ᅡ"],[65475,1,"ᅢ"],[65476,1,"ᅣ"],[65477,1,"ᅤ"],[65478,1,"ᅥ"],[65479,1,"ᅦ"],[[65480,65481],3],[65482,1,"ᅧ"],[65483,1,"ᅨ"],[65484,1,"ᅩ"],[65485,1,"ᅪ"],[65486,1,"ᅫ"],[65487,1,"ᅬ"],[[65488,65489],3],[65490,1,"ᅭ"],[65491,1,"ᅮ"],[65492,1,"ᅯ"],[65493,1,"ᅰ"],[65494,1,"ᅱ"],[65495,1,"ᅲ"],[[65496,65497],3],[65498,1,"ᅳ"],[65499,1,"ᅴ"],[65500,1,"ᅵ"],[[65501,65503],3],[65504,1,"¢"],[65505,1,"£"],[65506,1,"¬"],[65507,5," ̄"],[65508,1,"¦"],[65509,1,"¥"],[65510,1,"₩"],[65511,3],[65512,1,"│"],[65513,1,"←"],[65514,1,"↑"],[65515,1,"→"],[65516,1,"↓"],[65517,1,"■"],[65518,1,"○"],[[65519,65528],3],[[65529,65531],3],[65532,3],[65533,3],[[65534,65535],3],[[65536,65547],2],[65548,3],[[65549,65574],2],[65575,3],[[65576,65594],2],[65595,3],[[65596,65597],2],[65598,3],[[65599,65613],2],[[65614,65615],3],[[65616,65629],2],[[65630,65663],3],[[65664,65786],2],[[65787,65791],3],[[65792,65794],2],[[65795,65798],3],[[65799,65843],2],[[65844,65846],3],[[65847,65855],2],[[65856,65930],2],[[65931,65932],2],[[65933,65934],2],[65935,3],[[65936,65947],2],[[65948,65951],3],[65952,2],[[65953,65999],3],[[66e3,66044],2],[66045,2],[[66046,66175],3],[[66176,66204],2],[[66205,66207],3],[[66208,66256],2],[[66257,66271],3],[66272,2],[[66273,66299],2],[[66300,66303],3],[[66304,66334],2],[66335,2],[[66336,66339],2],[[66340,66348],3],[[66349,66351],2],[[66352,66368],2],[66369,2],[[66370,66377],2],[66378,2],[[66379,66383],3],[[66384,66426],2],[[66427,66431],3],[[66432,66461],2],[66462,3],[66463,2],[[66464,66499],2],[[66500,66503],3],[[66504,66511],2],[[66512,66517],2],[[66518,66559],3],[66560,1,"𐐨"],[66561,1,"𐐩"],[66562,1,"𐐪"],[66563,1,"𐐫"],[66564,1,"𐐬"],[66565,1,"𐐭"],[66566,1,"𐐮"],[66567,1,"𐐯"],[66568,1,"𐐰"],[66569,1,"𐐱"],[66570,1,"𐐲"],[66571,1,"𐐳"],[66572,1,"𐐴"],[66573,1,"𐐵"],[66574,1,"𐐶"],[66575,1,"𐐷"],[66576,1,"𐐸"],[66577,1,"𐐹"],[66578,1,"𐐺"],[66579,1,"𐐻"],[66580,1,"𐐼"],[66581,1,"𐐽"],[66582,1,"𐐾"],[66583,1,"𐐿"],[66584,1,"𐑀"],[66585,1,"𐑁"],[66586,1,"𐑂"],[66587,1,"𐑃"],[66588,1,"𐑄"],[66589,1,"𐑅"],[66590,1,"𐑆"],[66591,1,"𐑇"],[66592,1,"𐑈"],[66593,1,"𐑉"],[66594,1,"𐑊"],[66595,1,"𐑋"],[66596,1,"𐑌"],[66597,1,"𐑍"],[66598,1,"𐑎"],[66599,1,"𐑏"],[[66600,66637],2],[[66638,66717],2],[[66718,66719],3],[[66720,66729],2],[[66730,66735],3],[66736,1,"𐓘"],[66737,1,"𐓙"],[66738,1,"𐓚"],[66739,1,"𐓛"],[66740,1,"𐓜"],[66741,1,"𐓝"],[66742,1,"𐓞"],[66743,1,"𐓟"],[66744,1,"𐓠"],[66745,1,"𐓡"],[66746,1,"𐓢"],[66747,1,"𐓣"],[66748,1,"𐓤"],[66749,1,"𐓥"],[66750,1,"𐓦"],[66751,1,"𐓧"],[66752,1,"𐓨"],[66753,1,"𐓩"],[66754,1,"𐓪"],[66755,1,"𐓫"],[66756,1,"𐓬"],[66757,1,"𐓭"],[66758,1,"𐓮"],[66759,1,"𐓯"],[66760,1,"𐓰"],[66761,1,"𐓱"],[66762,1,"𐓲"],[66763,1,"𐓳"],[66764,1,"𐓴"],[66765,1,"𐓵"],[66766,1,"𐓶"],[66767,1,"𐓷"],[66768,1,"𐓸"],[66769,1,"𐓹"],[66770,1,"𐓺"],[66771,1,"𐓻"],[[66772,66775],3],[[66776,66811],2],[[66812,66815],3],[[66816,66855],2],[[66856,66863],3],[[66864,66915],2],[[66916,66926],3],[66927,2],[[66928,67071],3],[[67072,67382],2],[[67383,67391],3],[[67392,67413],2],[[67414,67423],3],[[67424,67431],2],[[67432,67583],3],[[67584,67589],2],[[67590,67591],3],[67592,2],[67593,3],[[67594,67637],2],[67638,3],[[67639,67640],2],[[67641,67643],3],[67644,2],[[67645,67646],3],[67647,2],[[67648,67669],2],[67670,3],[[67671,67679],2],[[67680,67702],2],[[67703,67711],2],[[67712,67742],2],[[67743,67750],3],[[67751,67759],2],[[67760,67807],3],[[67808,67826],2],[67827,3],[[67828,67829],2],[[67830,67834],3],[[67835,67839],2],[[67840,67861],2],[[67862,67865],2],[[67866,67867],2],[[67868,67870],3],[67871,2],[[67872,67897],2],[[67898,67902],3],[67903,2],[[67904,67967],3],[[67968,68023],2],[[68024,68027],3],[[68028,68029],2],[[68030,68031],2],[[68032,68047],2],[[68048,68049],3],[[68050,68095],2],[[68096,68099],2],[68100,3],[[68101,68102],2],[[68103,68107],3],[[68108,68115],2],[68116,3],[[68117,68119],2],[68120,3],[[68121,68147],2],[[68148,68149],2],[[68150,68151],3],[[68152,68154],2],[[68155,68158],3],[68159,2],[[68160,68167],2],[68168,2],[[68169,68175],3],[[68176,68184],2],[[68185,68191],3],[[68192,68220],2],[[68221,68223],2],[[68224,68252],2],[[68253,68255],2],[[68256,68287],3],[[68288,68295],2],[68296,2],[[68297,68326],2],[[68327,68330],3],[[68331,68342],2],[[68343,68351],3],[[68352,68405],2],[[68406,68408],3],[[68409,68415],2],[[68416,68437],2],[[68438,68439],3],[[68440,68447],2],[[68448,68466],2],[[68467,68471],3],[[68472,68479],2],[[68480,68497],2],[[68498,68504],3],[[68505,68508],2],[[68509,68520],3],[[68521,68527],2],[[68528,68607],3],[[68608,68680],2],[[68681,68735],3],[68736,1,"𐳀"],[68737,1,"𐳁"],[68738,1,"𐳂"],[68739,1,"𐳃"],[68740,1,"𐳄"],[68741,1,"𐳅"],[68742,1,"𐳆"],[68743,1,"𐳇"],[68744,1,"𐳈"],[68745,1,"𐳉"],[68746,1,"𐳊"],[68747,1,"𐳋"],[68748,1,"𐳌"],[68749,1,"𐳍"],[68750,1,"𐳎"],[68751,1,"𐳏"],[68752,1,"𐳐"],[68753,1,"𐳑"],[68754,1,"𐳒"],[68755,1,"𐳓"],[68756,1,"𐳔"],[68757,1,"𐳕"],[68758,1,"𐳖"],[68759,1,"𐳗"],[68760,1,"𐳘"],[68761,1,"𐳙"],[68762,1,"𐳚"],[68763,1,"𐳛"],[68764,1,"𐳜"],[68765,1,"𐳝"],[68766,1,"𐳞"],[68767,1,"𐳟"],[68768,1,"𐳠"],[68769,1,"𐳡"],[68770,1,"𐳢"],[68771,1,"𐳣"],[68772,1,"𐳤"],[68773,1,"𐳥"],[68774,1,"𐳦"],[68775,1,"𐳧"],[68776,1,"𐳨"],[68777,1,"𐳩"],[68778,1,"𐳪"],[68779,1,"𐳫"],[68780,1,"𐳬"],[68781,1,"𐳭"],[68782,1,"𐳮"],[68783,1,"𐳯"],[68784,1,"𐳰"],[68785,1,"𐳱"],[68786,1,"𐳲"],[[68787,68799],3],[[68800,68850],2],[[68851,68857],3],[[68858,68863],2],[[68864,68903],2],[[68904,68911],3],[[68912,68921],2],[[68922,69215],3],[[69216,69246],2],[[69247,69375],3],[[69376,69404],2],[[69405,69414],2],[69415,2],[[69416,69423],3],[[69424,69456],2],[[69457,69465],2],[[69466,69599],3],[[69600,69622],2],[[69623,69631],3],[[69632,69702],2],[[69703,69709],2],[[69710,69713],3],[[69714,69733],2],[[69734,69743],2],[[69744,69758],3],[69759,2],[[69760,69818],2],[[69819,69820],2],[69821,3],[[69822,69825],2],[[69826,69836],3],[69837,3],[[69838,69839],3],[[69840,69864],2],[[69865,69871],3],[[69872,69881],2],[[69882,69887],3],[[69888,69940],2],[69941,3],[[69942,69951],2],[[69952,69955],2],[[69956,69958],2],[[69959,69967],3],[[69968,70003],2],[[70004,70005],2],[70006,2],[[70007,70015],3],[[70016,70084],2],[[70085,70088],2],[[70089,70092],2],[70093,2],[[70094,70095],3],[[70096,70105],2],[70106,2],[70107,2],[70108,2],[[70109,70111],2],[70112,3],[[70113,70132],2],[[70133,70143],3],[[70144,70161],2],[70162,3],[[70163,70199],2],[[70200,70205],2],[70206,2],[[70207,70271],3],[[70272,70278],2],[70279,3],[70280,2],[70281,3],[[70282,70285],2],[70286,3],[[70287,70301],2],[70302,3],[[70303,70312],2],[70313,2],[[70314,70319],3],[[70320,70378],2],[[70379,70383],3],[[70384,70393],2],[[70394,70399],3],[70400,2],[[70401,70403],2],[70404,3],[[70405,70412],2],[[70413,70414],3],[[70415,70416],2],[[70417,70418],3],[[70419,70440],2],[70441,3],[[70442,70448],2],[70449,3],[[70450,70451],2],[70452,3],[[70453,70457],2],[70458,3],[70459,2],[[70460,70468],2],[[70469,70470],3],[[70471,70472],2],[[70473,70474],3],[[70475,70477],2],[[70478,70479],3],[70480,2],[[70481,70486],3],[70487,2],[[70488,70492],3],[[70493,70499],2],[[70500,70501],3],[[70502,70508],2],[[70509,70511],3],[[70512,70516],2],[[70517,70655],3],[[70656,70730],2],[[70731,70735],2],[[70736,70745],2],[70746,3],[70747,2],[70748,3],[70749,2],[70750,2],[70751,2],[[70752,70783],3],[[70784,70853],2],[70854,2],[70855,2],[[70856,70863],3],[[70864,70873],2],[[70874,71039],3],[[71040,71093],2],[[71094,71095],3],[[71096,71104],2],[[71105,71113],2],[[71114,71127],2],[[71128,71133],2],[[71134,71167],3],[[71168,71232],2],[[71233,71235],2],[71236,2],[[71237,71247],3],[[71248,71257],2],[[71258,71263],3],[[71264,71276],2],[[71277,71295],3],[[71296,71351],2],[71352,2],[[71353,71359],3],[[71360,71369],2],[[71370,71423],3],[[71424,71449],2],[71450,2],[[71451,71452],3],[[71453,71467],2],[[71468,71471],3],[[71472,71481],2],[[71482,71487],2],[[71488,71679],3],[[71680,71738],2],[71739,2],[[71740,71839],3],[71840,1,"𑣀"],[71841,1,"𑣁"],[71842,1,"𑣂"],[71843,1,"𑣃"],[71844,1,"𑣄"],[71845,1,"𑣅"],[71846,1,"𑣆"],[71847,1,"𑣇"],[71848,1,"𑣈"],[71849,1,"𑣉"],[71850,1,"𑣊"],[71851,1,"𑣋"],[71852,1,"𑣌"],[71853,1,"𑣍"],[71854,1,"𑣎"],[71855,1,"𑣏"],[71856,1,"𑣐"],[71857,1,"𑣑"],[71858,1,"𑣒"],[71859,1,"𑣓"],[71860,1,"𑣔"],[71861,1,"𑣕"],[71862,1,"𑣖"],[71863,1,"𑣗"],[71864,1,"𑣘"],[71865,1,"𑣙"],[71866,1,"𑣚"],[71867,1,"𑣛"],[71868,1,"𑣜"],[71869,1,"𑣝"],[71870,1,"𑣞"],[71871,1,"𑣟"],[[71872,71913],2],[[71914,71922],2],[[71923,71934],3],[71935,2],[[71936,72095],3],[[72096,72103],2],[[72104,72105],3],[[72106,72151],2],[[72152,72153],3],[[72154,72161],2],[72162,2],[[72163,72164],2],[[72165,72191],3],[[72192,72254],2],[[72255,72262],2],[72263,2],[[72264,72271],3],[[72272,72323],2],[[72324,72325],2],[[72326,72345],2],[[72346,72348],2],[72349,2],[[72350,72354],2],[[72355,72383],3],[[72384,72440],2],[[72441,72703],3],[[72704,72712],2],[72713,3],[[72714,72758],2],[72759,3],[[72760,72768],2],[[72769,72773],2],[[72774,72783],3],[[72784,72793],2],[[72794,72812],2],[[72813,72815],3],[[72816,72817],2],[[72818,72847],2],[[72848,72849],3],[[72850,72871],2],[72872,3],[[72873,72886],2],[[72887,72959],3],[[72960,72966],2],[72967,3],[[72968,72969],2],[72970,3],[[72971,73014],2],[[73015,73017],3],[73018,2],[73019,3],[[73020,73021],2],[73022,3],[[73023,73031],2],[[73032,73039],3],[[73040,73049],2],[[73050,73055],3],[[73056,73061],2],[73062,3],[[73063,73064],2],[73065,3],[[73066,73102],2],[73103,3],[[73104,73105],2],[73106,3],[[73107,73112],2],[[73113,73119],3],[[73120,73129],2],[[73130,73439],3],[[73440,73462],2],[[73463,73464],2],[[73465,73663],3],[[73664,73713],2],[[73714,73726],3],[73727,2],[[73728,74606],2],[[74607,74648],2],[74649,2],[[74650,74751],3],[[74752,74850],2],[[74851,74862],2],[74863,3],[[74864,74867],2],[74868,2],[[74869,74879],3],[[74880,75075],2],[[75076,77823],3],[[77824,78894],2],[78895,3],[[78896,78904],3],[[78905,82943],3],[[82944,83526],2],[[83527,92159],3],[[92160,92728],2],[[92729,92735],3],[[92736,92766],2],[92767,3],[[92768,92777],2],[[92778,92781],3],[[92782,92783],2],[[92784,92879],3],[[92880,92909],2],[[92910,92911],3],[[92912,92916],2],[92917,2],[[92918,92927],3],[[92928,92982],2],[[92983,92991],2],[[92992,92995],2],[[92996,92997],2],[[92998,93007],3],[[93008,93017],2],[93018,3],[[93019,93025],2],[93026,3],[[93027,93047],2],[[93048,93052],3],[[93053,93071],2],[[93072,93759],3],[93760,1,"𖹠"],[93761,1,"𖹡"],[93762,1,"𖹢"],[93763,1,"𖹣"],[93764,1,"𖹤"],[93765,1,"𖹥"],[93766,1,"𖹦"],[93767,1,"𖹧"],[93768,1,"𖹨"],[93769,1,"𖹩"],[93770,1,"𖹪"],[93771,1,"𖹫"],[93772,1,"𖹬"],[93773,1,"𖹭"],[93774,1,"𖹮"],[93775,1,"𖹯"],[93776,1,"𖹰"],[93777,1,"𖹱"],[93778,1,"𖹲"],[93779,1,"𖹳"],[93780,1,"𖹴"],[93781,1,"𖹵"],[93782,1,"𖹶"],[93783,1,"𖹷"],[93784,1,"𖹸"],[93785,1,"𖹹"],[93786,1,"𖹺"],[93787,1,"𖹻"],[93788,1,"𖹼"],[93789,1,"𖹽"],[93790,1,"𖹾"],[93791,1,"𖹿"],[[93792,93823],2],[[93824,93850],2],[[93851,93951],3],[[93952,94020],2],[[94021,94026],2],[[94027,94030],3],[94031,2],[[94032,94078],2],[[94079,94087],2],[[94088,94094],3],[[94095,94111],2],[[94112,94175],3],[94176,2],[94177,2],[94178,2],[94179,2],[[94180,94207],3],[[94208,100332],2],[[100333,100337],2],[[100338,100343],2],[[100344,100351],3],[[100352,101106],2],[[101107,110591],3],[[110592,110593],2],[[110594,110878],2],[[110879,110927],3],[[110928,110930],2],[[110931,110947],3],[[110948,110951],2],[[110952,110959],3],[[110960,111355],2],[[111356,113663],3],[[113664,113770],2],[[113771,113775],3],[[113776,113788],2],[[113789,113791],3],[[113792,113800],2],[[113801,113807],3],[[113808,113817],2],[[113818,113819],3],[113820,2],[[113821,113822],2],[113823,2],[[113824,113827],7],[[113828,118783],3],[[118784,119029],2],[[119030,119039],3],[[119040,119078],2],[[119079,119080],3],[119081,2],[[119082,119133],2],[119134,1,"𝅗𝅥"],[119135,1,"𝅘𝅥"],[119136,1,"𝅘𝅥𝅮"],[119137,1,"𝅘𝅥𝅯"],[119138,1,"𝅘𝅥𝅰"],[119139,1,"𝅘𝅥𝅱"],[119140,1,"𝅘𝅥𝅲"],[[119141,119154],2],[[119155,119162],3],[[119163,119226],2],[119227,1,"𝆹𝅥"],[119228,1,"𝆺𝅥"],[119229,1,"𝆹𝅥𝅮"],[119230,1,"𝆺𝅥𝅮"],[119231,1,"𝆹𝅥𝅯"],[119232,1,"𝆺𝅥𝅯"],[[119233,119261],2],[[119262,119272],2],[[119273,119295],3],[[119296,119365],2],[[119366,119519],3],[[119520,119539],2],[[119540,119551],3],[[119552,119638],2],[[119639,119647],3],[[119648,119665],2],[[119666,119672],2],[[119673,119807],3],[119808,1,"a"],[119809,1,"b"],[119810,1,"c"],[119811,1,"d"],[119812,1,"e"],[119813,1,"f"],[119814,1,"g"],[119815,1,"h"],[119816,1,"i"],[119817,1,"j"],[119818,1,"k"],[119819,1,"l"],[119820,1,"m"],[119821,1,"n"],[119822,1,"o"],[119823,1,"p"],[119824,1,"q"],[119825,1,"r"],[119826,1,"s"],[119827,1,"t"],[119828,1,"u"],[119829,1,"v"],[119830,1,"w"],[119831,1,"x"],[119832,1,"y"],[119833,1,"z"],[119834,1,"a"],[119835,1,"b"],[119836,1,"c"],[119837,1,"d"],[119838,1,"e"],[119839,1,"f"],[119840,1,"g"],[119841,1,"h"],[119842,1,"i"],[119843,1,"j"],[119844,1,"k"],[119845,1,"l"],[119846,1,"m"],[119847,1,"n"],[119848,1,"o"],[119849,1,"p"],[119850,1,"q"],[119851,1,"r"],[119852,1,"s"],[119853,1,"t"],[119854,1,"u"],[119855,1,"v"],[119856,1,"w"],[119857,1,"x"],[119858,1,"y"],[119859,1,"z"],[119860,1,"a"],[119861,1,"b"],[119862,1,"c"],[119863,1,"d"],[119864,1,"e"],[119865,1,"f"],[119866,1,"g"],[119867,1,"h"],[119868,1,"i"],[119869,1,"j"],[119870,1,"k"],[119871,1,"l"],[119872,1,"m"],[119873,1,"n"],[119874,1,"o"],[119875,1,"p"],[119876,1,"q"],[119877,1,"r"],[119878,1,"s"],[119879,1,"t"],[119880,1,"u"],[119881,1,"v"],[119882,1,"w"],[119883,1,"x"],[119884,1,"y"],[119885,1,"z"],[119886,1,"a"],[119887,1,"b"],[119888,1,"c"],[119889,1,"d"],[119890,1,"e"],[119891,1,"f"],[119892,1,"g"],[119893,3],[119894,1,"i"],[119895,1,"j"],[119896,1,"k"],[119897,1,"l"],[119898,1,"m"],[119899,1,"n"],[119900,1,"o"],[119901,1,"p"],[119902,1,"q"],[119903,1,"r"],[119904,1,"s"],[119905,1,"t"],[119906,1,"u"],[119907,1,"v"],[119908,1,"w"],[119909,1,"x"],[119910,1,"y"],[119911,1,"z"],[119912,1,"a"],[119913,1,"b"],[119914,1,"c"],[119915,1,"d"],[119916,1,"e"],[119917,1,"f"],[119918,1,"g"],[119919,1,"h"],[119920,1,"i"],[119921,1,"j"],[119922,1,"k"],[119923,1,"l"],[119924,1,"m"],[119925,1,"n"],[119926,1,"o"],[119927,1,"p"],[119928,1,"q"],[119929,1,"r"],[119930,1,"s"],[119931,1,"t"],[119932,1,"u"],[119933,1,"v"],[119934,1,"w"],[119935,1,"x"],[119936,1,"y"],[119937,1,"z"],[119938,1,"a"],[119939,1,"b"],[119940,1,"c"],[119941,1,"d"],[119942,1,"e"],[119943,1,"f"],[119944,1,"g"],[119945,1,"h"],[119946,1,"i"],[119947,1,"j"],[119948,1,"k"],[119949,1,"l"],[119950,1,"m"],[119951,1,"n"],[119952,1,"o"],[119953,1,"p"],[119954,1,"q"],[119955,1,"r"],[119956,1,"s"],[119957,1,"t"],[119958,1,"u"],[119959,1,"v"],[119960,1,"w"],[119961,1,"x"],[119962,1,"y"],[119963,1,"z"],[119964,1,"a"],[119965,3],[119966,1,"c"],[119967,1,"d"],[[119968,119969],3],[119970,1,"g"],[[119971,119972],3],[119973,1,"j"],[119974,1,"k"],[[119975,119976],3],[119977,1,"n"],[119978,1,"o"],[119979,1,"p"],[119980,1,"q"],[119981,3],[119982,1,"s"],[119983,1,"t"],[119984,1,"u"],[119985,1,"v"],[119986,1,"w"],[119987,1,"x"],[119988,1,"y"],[119989,1,"z"],[119990,1,"a"],[119991,1,"b"],[119992,1,"c"],[119993,1,"d"],[119994,3],[119995,1,"f"],[119996,3],[119997,1,"h"],[119998,1,"i"],[119999,1,"j"],[12e4,1,"k"],[120001,1,"l"],[120002,1,"m"],[120003,1,"n"],[120004,3],[120005,1,"p"],[120006,1,"q"],[120007,1,"r"],[120008,1,"s"],[120009,1,"t"],[120010,1,"u"],[120011,1,"v"],[120012,1,"w"],[120013,1,"x"],[120014,1,"y"],[120015,1,"z"],[120016,1,"a"],[120017,1,"b"],[120018,1,"c"],[120019,1,"d"],[120020,1,"e"],[120021,1,"f"],[120022,1,"g"],[120023,1,"h"],[120024,1,"i"],[120025,1,"j"],[120026,1,"k"],[120027,1,"l"],[120028,1,"m"],[120029,1,"n"],[120030,1,"o"],[120031,1,"p"],[120032,1,"q"],[120033,1,"r"],[120034,1,"s"],[120035,1,"t"],[120036,1,"u"],[120037,1,"v"],[120038,1,"w"],[120039,1,"x"],[120040,1,"y"],[120041,1,"z"],[120042,1,"a"],[120043,1,"b"],[120044,1,"c"],[120045,1,"d"],[120046,1,"e"],[120047,1,"f"],[120048,1,"g"],[120049,1,"h"],[120050,1,"i"],[120051,1,"j"],[120052,1,"k"],[120053,1,"l"],[120054,1,"m"],[120055,1,"n"],[120056,1,"o"],[120057,1,"p"],[120058,1,"q"],[120059,1,"r"],[120060,1,"s"],[120061,1,"t"],[120062,1,"u"],[120063,1,"v"],[120064,1,"w"],[120065,1,"x"],[120066,1,"y"],[120067,1,"z"],[120068,1,"a"],[120069,1,"b"],[120070,3],[120071,1,"d"],[120072,1,"e"],[120073,1,"f"],[120074,1,"g"],[[120075,120076],3],[120077,1,"j"],[120078,1,"k"],[120079,1,"l"],[120080,1,"m"],[120081,1,"n"],[120082,1,"o"],[120083,1,"p"],[120084,1,"q"],[120085,3],[120086,1,"s"],[120087,1,"t"],[120088,1,"u"],[120089,1,"v"],[120090,1,"w"],[120091,1,"x"],[120092,1,"y"],[120093,3],[120094,1,"a"],[120095,1,"b"],[120096,1,"c"],[120097,1,"d"],[120098,1,"e"],[120099,1,"f"],[120100,1,"g"],[120101,1,"h"],[120102,1,"i"],[120103,1,"j"],[120104,1,"k"],[120105,1,"l"],[120106,1,"m"],[120107,1,"n"],[120108,1,"o"],[120109,1,"p"],[120110,1,"q"],[120111,1,"r"],[120112,1,"s"],[120113,1,"t"],[120114,1,"u"],[120115,1,"v"],[120116,1,"w"],[120117,1,"x"],[120118,1,"y"],[120119,1,"z"],[120120,1,"a"],[120121,1,"b"],[120122,3],[120123,1,"d"],[120124,1,"e"],[120125,1,"f"],[120126,1,"g"],[120127,3],[120128,1,"i"],[120129,1,"j"],[120130,1,"k"],[120131,1,"l"],[120132,1,"m"],[120133,3],[120134,1,"o"],[[120135,120137],3],[120138,1,"s"],[120139,1,"t"],[120140,1,"u"],[120141,1,"v"],[120142,1,"w"],[120143,1,"x"],[120144,1,"y"],[120145,3],[120146,1,"a"],[120147,1,"b"],[120148,1,"c"],[120149,1,"d"],[120150,1,"e"],[120151,1,"f"],[120152,1,"g"],[120153,1,"h"],[120154,1,"i"],[120155,1,"j"],[120156,1,"k"],[120157,1,"l"],[120158,1,"m"],[120159,1,"n"],[120160,1,"o"],[120161,1,"p"],[120162,1,"q"],[120163,1,"r"],[120164,1,"s"],[120165,1,"t"],[120166,1,"u"],[120167,1,"v"],[120168,1,"w"],[120169,1,"x"],[120170,1,"y"],[120171,1,"z"],[120172,1,"a"],[120173,1,"b"],[120174,1,"c"],[120175,1,"d"],[120176,1,"e"],[120177,1,"f"],[120178,1,"g"],[120179,1,"h"],[120180,1,"i"],[120181,1,"j"],[120182,1,"k"],[120183,1,"l"],[120184,1,"m"],[120185,1,"n"],[120186,1,"o"],[120187,1,"p"],[120188,1,"q"],[120189,1,"r"],[120190,1,"s"],[120191,1,"t"],[120192,1,"u"],[120193,1,"v"],[120194,1,"w"],[120195,1,"x"],[120196,1,"y"],[120197,1,"z"],[120198,1,"a"],[120199,1,"b"],[120200,1,"c"],[120201,1,"d"],[120202,1,"e"],[120203,1,"f"],[120204,1,"g"],[120205,1,"h"],[120206,1,"i"],[120207,1,"j"],[120208,1,"k"],[120209,1,"l"],[120210,1,"m"],[120211,1,"n"],[120212,1,"o"],[120213,1,"p"],[120214,1,"q"],[120215,1,"r"],[120216,1,"s"],[120217,1,"t"],[120218,1,"u"],[120219,1,"v"],[120220,1,"w"],[120221,1,"x"],[120222,1,"y"],[120223,1,"z"],[120224,1,"a"],[120225,1,"b"],[120226,1,"c"],[120227,1,"d"],[120228,1,"e"],[120229,1,"f"],[120230,1,"g"],[120231,1,"h"],[120232,1,"i"],[120233,1,"j"],[120234,1,"k"],[120235,1,"l"],[120236,1,"m"],[120237,1,"n"],[120238,1,"o"],[120239,1,"p"],[120240,1,"q"],[120241,1,"r"],[120242,1,"s"],[120243,1,"t"],[120244,1,"u"],[120245,1,"v"],[120246,1,"w"],[120247,1,"x"],[120248,1,"y"],[120249,1,"z"],[120250,1,"a"],[120251,1,"b"],[120252,1,"c"],[120253,1,"d"],[120254,1,"e"],[120255,1,"f"],[120256,1,"g"],[120257,1,"h"],[120258,1,"i"],[120259,1,"j"],[120260,1,"k"],[120261,1,"l"],[120262,1,"m"],[120263,1,"n"],[120264,1,"o"],[120265,1,"p"],[120266,1,"q"],[120267,1,"r"],[120268,1,"s"],[120269,1,"t"],[120270,1,"u"],[120271,1,"v"],[120272,1,"w"],[120273,1,"x"],[120274,1,"y"],[120275,1,"z"],[120276,1,"a"],[120277,1,"b"],[120278,1,"c"],[120279,1,"d"],[120280,1,"e"],[120281,1,"f"],[120282,1,"g"],[120283,1,"h"],[120284,1,"i"],[120285,1,"j"],[120286,1,"k"],[120287,1,"l"],[120288,1,"m"],[120289,1,"n"],[120290,1,"o"],[120291,1,"p"],[120292,1,"q"],[120293,1,"r"],[120294,1,"s"],[120295,1,"t"],[120296,1,"u"],[120297,1,"v"],[120298,1,"w"],[120299,1,"x"],[120300,1,"y"],[120301,1,"z"],[120302,1,"a"],[120303,1,"b"],[120304,1,"c"],[120305,1,"d"],[120306,1,"e"],[120307,1,"f"],[120308,1,"g"],[120309,1,"h"],[120310,1,"i"],[120311,1,"j"],[120312,1,"k"],[120313,1,"l"],[120314,1,"m"],[120315,1,"n"],[120316,1,"o"],[120317,1,"p"],[120318,1,"q"],[120319,1,"r"],[120320,1,"s"],[120321,1,"t"],[120322,1,"u"],[120323,1,"v"],[120324,1,"w"],[120325,1,"x"],[120326,1,"y"],[120327,1,"z"],[120328,1,"a"],[120329,1,"b"],[120330,1,"c"],[120331,1,"d"],[120332,1,"e"],[120333,1,"f"],[120334,1,"g"],[120335,1,"h"],[120336,1,"i"],[120337,1,"j"],[120338,1,"k"],[120339,1,"l"],[120340,1,"m"],[120341,1,"n"],[120342,1,"o"],[120343,1,"p"],[120344,1,"q"],[120345,1,"r"],[120346,1,"s"],[120347,1,"t"],[120348,1,"u"],[120349,1,"v"],[120350,1,"w"],[120351,1,"x"],[120352,1,"y"],[120353,1,"z"],[120354,1,"a"],[120355,1,"b"],[120356,1,"c"],[120357,1,"d"],[120358,1,"e"],[120359,1,"f"],[120360,1,"g"],[120361,1,"h"],[120362,1,"i"],[120363,1,"j"],[120364,1,"k"],[120365,1,"l"],[120366,1,"m"],[120367,1,"n"],[120368,1,"o"],[120369,1,"p"],[120370,1,"q"],[120371,1,"r"],[120372,1,"s"],[120373,1,"t"],[120374,1,"u"],[120375,1,"v"],[120376,1,"w"],[120377,1,"x"],[120378,1,"y"],[120379,1,"z"],[120380,1,"a"],[120381,1,"b"],[120382,1,"c"],[120383,1,"d"],[120384,1,"e"],[120385,1,"f"],[120386,1,"g"],[120387,1,"h"],[120388,1,"i"],[120389,1,"j"],[120390,1,"k"],[120391,1,"l"],[120392,1,"m"],[120393,1,"n"],[120394,1,"o"],[120395,1,"p"],[120396,1,"q"],[120397,1,"r"],[120398,1,"s"],[120399,1,"t"],[120400,1,"u"],[120401,1,"v"],[120402,1,"w"],[120403,1,"x"],[120404,1,"y"],[120405,1,"z"],[120406,1,"a"],[120407,1,"b"],[120408,1,"c"],[120409,1,"d"],[120410,1,"e"],[120411,1,"f"],[120412,1,"g"],[120413,1,"h"],[120414,1,"i"],[120415,1,"j"],[120416,1,"k"],[120417,1,"l"],[120418,1,"m"],[120419,1,"n"],[120420,1,"o"],[120421,1,"p"],[120422,1,"q"],[120423,1,"r"],[120424,1,"s"],[120425,1,"t"],[120426,1,"u"],[120427,1,"v"],[120428,1,"w"],[120429,1,"x"],[120430,1,"y"],[120431,1,"z"],[120432,1,"a"],[120433,1,"b"],[120434,1,"c"],[120435,1,"d"],[120436,1,"e"],[120437,1,"f"],[120438,1,"g"],[120439,1,"h"],[120440,1,"i"],[120441,1,"j"],[120442,1,"k"],[120443,1,"l"],[120444,1,"m"],[120445,1,"n"],[120446,1,"o"],[120447,1,"p"],[120448,1,"q"],[120449,1,"r"],[120450,1,"s"],[120451,1,"t"],[120452,1,"u"],[120453,1,"v"],[120454,1,"w"],[120455,1,"x"],[120456,1,"y"],[120457,1,"z"],[120458,1,"a"],[120459,1,"b"],[120460,1,"c"],[120461,1,"d"],[120462,1,"e"],[120463,1,"f"],[120464,1,"g"],[120465,1,"h"],[120466,1,"i"],[120467,1,"j"],[120468,1,"k"],[120469,1,"l"],[120470,1,"m"],[120471,1,"n"],[120472,1,"o"],[120473,1,"p"],[120474,1,"q"],[120475,1,"r"],[120476,1,"s"],[120477,1,"t"],[120478,1,"u"],[120479,1,"v"],[120480,1,"w"],[120481,1,"x"],[120482,1,"y"],[120483,1,"z"],[120484,1,"ı"],[120485,1,"ȷ"],[[120486,120487],3],[120488,1,"α"],[120489,1,"β"],[120490,1,"γ"],[120491,1,"δ"],[120492,1,"ε"],[120493,1,"ζ"],[120494,1,"η"],[120495,1,"θ"],[120496,1,"ι"],[120497,1,"κ"],[120498,1,"λ"],[120499,1,"μ"],[120500,1,"ν"],[120501,1,"ξ"],[120502,1,"ο"],[120503,1,"π"],[120504,1,"ρ"],[120505,1,"θ"],[120506,1,"σ"],[120507,1,"τ"],[120508,1,"υ"],[120509,1,"φ"],[120510,1,"χ"],[120511,1,"ψ"],[120512,1,"ω"],[120513,1,"∇"],[120514,1,"α"],[120515,1,"β"],[120516,1,"γ"],[120517,1,"δ"],[120518,1,"ε"],[120519,1,"ζ"],[120520,1,"η"],[120521,1,"θ"],[120522,1,"ι"],[120523,1,"κ"],[120524,1,"λ"],[120525,1,"μ"],[120526,1,"ν"],[120527,1,"ξ"],[120528,1,"ο"],[120529,1,"π"],[120530,1,"ρ"],[[120531,120532],1,"σ"],[120533,1,"τ"],[120534,1,"υ"],[120535,1,"φ"],[120536,1,"χ"],[120537,1,"ψ"],[120538,1,"ω"],[120539,1,"∂"],[120540,1,"ε"],[120541,1,"θ"],[120542,1,"κ"],[120543,1,"φ"],[120544,1,"ρ"],[120545,1,"π"],[120546,1,"α"],[120547,1,"β"],[120548,1,"γ"],[120549,1,"δ"],[120550,1,"ε"],[120551,1,"ζ"],[120552,1,"η"],[120553,1,"θ"],[120554,1,"ι"],[120555,1,"κ"],[120556,1,"λ"],[120557,1,"μ"],[120558,1,"ν"],[120559,1,"ξ"],[120560,1,"ο"],[120561,1,"π"],[120562,1,"ρ"],[120563,1,"θ"],[120564,1,"σ"],[120565,1,"τ"],[120566,1,"υ"],[120567,1,"φ"],[120568,1,"χ"],[120569,1,"ψ"],[120570,1,"ω"],[120571,1,"∇"],[120572,1,"α"],[120573,1,"β"],[120574,1,"γ"],[120575,1,"δ"],[120576,1,"ε"],[120577,1,"ζ"],[120578,1,"η"],[120579,1,"θ"],[120580,1,"ι"],[120581,1,"κ"],[120582,1,"λ"],[120583,1,"μ"],[120584,1,"ν"],[120585,1,"ξ"],[120586,1,"ο"],[120587,1,"π"],[120588,1,"ρ"],[[120589,120590],1,"σ"],[120591,1,"τ"],[120592,1,"υ"],[120593,1,"φ"],[120594,1,"χ"],[120595,1,"ψ"],[120596,1,"ω"],[120597,1,"∂"],[120598,1,"ε"],[120599,1,"θ"],[120600,1,"κ"],[120601,1,"φ"],[120602,1,"ρ"],[120603,1,"π"],[120604,1,"α"],[120605,1,"β"],[120606,1,"γ"],[120607,1,"δ"],[120608,1,"ε"],[120609,1,"ζ"],[120610,1,"η"],[120611,1,"θ"],[120612,1,"ι"],[120613,1,"κ"],[120614,1,"λ"],[120615,1,"μ"],[120616,1,"ν"],[120617,1,"ξ"],[120618,1,"ο"],[120619,1,"π"],[120620,1,"ρ"],[120621,1,"θ"],[120622,1,"σ"],[120623,1,"τ"],[120624,1,"υ"],[120625,1,"φ"],[120626,1,"χ"],[120627,1,"ψ"],[120628,1,"ω"],[120629,1,"∇"],[120630,1,"α"],[120631,1,"β"],[120632,1,"γ"],[120633,1,"δ"],[120634,1,"ε"],[120635,1,"ζ"],[120636,1,"η"],[120637,1,"θ"],[120638,1,"ι"],[120639,1,"κ"],[120640,1,"λ"],[120641,1,"μ"],[120642,1,"ν"],[120643,1,"ξ"],[120644,1,"ο"],[120645,1,"π"],[120646,1,"ρ"],[[120647,120648],1,"σ"],[120649,1,"τ"],[120650,1,"υ"],[120651,1,"φ"],[120652,1,"χ"],[120653,1,"ψ"],[120654,1,"ω"],[120655,1,"∂"],[120656,1,"ε"],[120657,1,"θ"],[120658,1,"κ"],[120659,1,"φ"],[120660,1,"ρ"],[120661,1,"π"],[120662,1,"α"],[120663,1,"β"],[120664,1,"γ"],[120665,1,"δ"],[120666,1,"ε"],[120667,1,"ζ"],[120668,1,"η"],[120669,1,"θ"],[120670,1,"ι"],[120671,1,"κ"],[120672,1,"λ"],[120673,1,"μ"],[120674,1,"ν"],[120675,1,"ξ"],[120676,1,"ο"],[120677,1,"π"],[120678,1,"ρ"],[120679,1,"θ"],[120680,1,"σ"],[120681,1,"τ"],[120682,1,"υ"],[120683,1,"φ"],[120684,1,"χ"],[120685,1,"ψ"],[120686,1,"ω"],[120687,1,"∇"],[120688,1,"α"],[120689,1,"β"],[120690,1,"γ"],[120691,1,"δ"],[120692,1,"ε"],[120693,1,"ζ"],[120694,1,"η"],[120695,1,"θ"],[120696,1,"ι"],[120697,1,"κ"],[120698,1,"λ"],[120699,1,"μ"],[120700,1,"ν"],[120701,1,"ξ"],[120702,1,"ο"],[120703,1,"π"],[120704,1,"ρ"],[[120705,120706],1,"σ"],[120707,1,"τ"],[120708,1,"υ"],[120709,1,"φ"],[120710,1,"χ"],[120711,1,"ψ"],[120712,1,"ω"],[120713,1,"∂"],[120714,1,"ε"],[120715,1,"θ"],[120716,1,"κ"],[120717,1,"φ"],[120718,1,"ρ"],[120719,1,"π"],[120720,1,"α"],[120721,1,"β"],[120722,1,"γ"],[120723,1,"δ"],[120724,1,"ε"],[120725,1,"ζ"],[120726,1,"η"],[120727,1,"θ"],[120728,1,"ι"],[120729,1,"κ"],[120730,1,"λ"],[120731,1,"μ"],[120732,1,"ν"],[120733,1,"ξ"],[120734,1,"ο"],[120735,1,"π"],[120736,1,"ρ"],[120737,1,"θ"],[120738,1,"σ"],[120739,1,"τ"],[120740,1,"υ"],[120741,1,"φ"],[120742,1,"χ"],[120743,1,"ψ"],[120744,1,"ω"],[120745,1,"∇"],[120746,1,"α"],[120747,1,"β"],[120748,1,"γ"],[120749,1,"δ"],[120750,1,"ε"],[120751,1,"ζ"],[120752,1,"η"],[120753,1,"θ"],[120754,1,"ι"],[120755,1,"κ"],[120756,1,"λ"],[120757,1,"μ"],[120758,1,"ν"],[120759,1,"ξ"],[120760,1,"ο"],[120761,1,"π"],[120762,1,"ρ"],[[120763,120764],1,"σ"],[120765,1,"τ"],[120766,1,"υ"],[120767,1,"φ"],[120768,1,"χ"],[120769,1,"ψ"],[120770,1,"ω"],[120771,1,"∂"],[120772,1,"ε"],[120773,1,"θ"],[120774,1,"κ"],[120775,1,"φ"],[120776,1,"ρ"],[120777,1,"π"],[[120778,120779],1,"ϝ"],[[120780,120781],3],[120782,1,"0"],[120783,1,"1"],[120784,1,"2"],[120785,1,"3"],[120786,1,"4"],[120787,1,"5"],[120788,1,"6"],[120789,1,"7"],[120790,1,"8"],[120791,1,"9"],[120792,1,"0"],[120793,1,"1"],[120794,1,"2"],[120795,1,"3"],[120796,1,"4"],[120797,1,"5"],[120798,1,"6"],[120799,1,"7"],[120800,1,"8"],[120801,1,"9"],[120802,1,"0"],[120803,1,"1"],[120804,1,"2"],[120805,1,"3"],[120806,1,"4"],[120807,1,"5"],[120808,1,"6"],[120809,1,"7"],[120810,1,"8"],[120811,1,"9"],[120812,1,"0"],[120813,1,"1"],[120814,1,"2"],[120815,1,"3"],[120816,1,"4"],[120817,1,"5"],[120818,1,"6"],[120819,1,"7"],[120820,1,"8"],[120821,1,"9"],[120822,1,"0"],[120823,1,"1"],[120824,1,"2"],[120825,1,"3"],[120826,1,"4"],[120827,1,"5"],[120828,1,"6"],[120829,1,"7"],[120830,1,"8"],[120831,1,"9"],[[120832,121343],2],[[121344,121398],2],[[121399,121402],2],[[121403,121452],2],[[121453,121460],2],[121461,2],[[121462,121475],2],[121476,2],[[121477,121483],2],[[121484,121498],3],[[121499,121503],2],[121504,3],[[121505,121519],2],[[121520,122879],3],[[122880,122886],2],[122887,3],[[122888,122904],2],[[122905,122906],3],[[122907,122913],2],[122914,3],[[122915,122916],2],[122917,3],[[122918,122922],2],[[122923,123135],3],[[123136,123180],2],[[123181,123183],3],[[123184,123197],2],[[123198,123199],3],[[123200,123209],2],[[123210,123213],3],[123214,2],[123215,2],[[123216,123583],3],[[123584,123641],2],[[123642,123646],3],[123647,2],[[123648,124927],3],[[124928,125124],2],[[125125,125126],3],[[125127,125135],2],[[125136,125142],2],[[125143,125183],3],[125184,1,"𞤢"],[125185,1,"𞤣"],[125186,1,"𞤤"],[125187,1,"𞤥"],[125188,1,"𞤦"],[125189,1,"𞤧"],[125190,1,"𞤨"],[125191,1,"𞤩"],[125192,1,"𞤪"],[125193,1,"𞤫"],[125194,1,"𞤬"],[125195,1,"𞤭"],[125196,1,"𞤮"],[125197,1,"𞤯"],[125198,1,"𞤰"],[125199,1,"𞤱"],[125200,1,"𞤲"],[125201,1,"𞤳"],[125202,1,"𞤴"],[125203,1,"𞤵"],[125204,1,"𞤶"],[125205,1,"𞤷"],[125206,1,"𞤸"],[125207,1,"𞤹"],[125208,1,"𞤺"],[125209,1,"𞤻"],[125210,1,"𞤼"],[125211,1,"𞤽"],[125212,1,"𞤾"],[125213,1,"𞤿"],[125214,1,"𞥀"],[125215,1,"𞥁"],[125216,1,"𞥂"],[125217,1,"𞥃"],[[125218,125258],2],[125259,2],[[125260,125263],3],[[125264,125273],2],[[125274,125277],3],[[125278,125279],2],[[125280,126064],3],[[126065,126132],2],[[126133,126208],3],[[126209,126269],2],[[126270,126463],3],[126464,1,"ا"],[126465,1,"ب"],[126466,1,"ج"],[126467,1,"د"],[126468,3],[126469,1,"و"],[126470,1,"ز"],[126471,1,"ح"],[126472,1,"ط"],[126473,1,"ي"],[126474,1,"ك"],[126475,1,"ل"],[126476,1,"م"],[126477,1,"ن"],[126478,1,"س"],[126479,1,"ع"],[126480,1,"ف"],[126481,1,"ص"],[126482,1,"ق"],[126483,1,"ر"],[126484,1,"ش"],[126485,1,"ت"],[126486,1,"ث"],[126487,1,"خ"],[126488,1,"ذ"],[126489,1,"ض"],[126490,1,"ظ"],[126491,1,"غ"],[126492,1,"ٮ"],[126493,1,"ں"],[126494,1,"ڡ"],[126495,1,"ٯ"],[126496,3],[126497,1,"ب"],[126498,1,"ج"],[126499,3],[126500,1,"ه"],[[126501,126502],3],[126503,1,"ح"],[126504,3],[126505,1,"ي"],[126506,1,"ك"],[126507,1,"ل"],[126508,1,"م"],[126509,1,"ن"],[126510,1,"س"],[126511,1,"ع"],[126512,1,"ف"],[126513,1,"ص"],[126514,1,"ق"],[126515,3],[126516,1,"ش"],[126517,1,"ت"],[126518,1,"ث"],[126519,1,"خ"],[126520,3],[126521,1,"ض"],[126522,3],[126523,1,"غ"],[[126524,126529],3],[126530,1,"ج"],[[126531,126534],3],[126535,1,"ح"],[126536,3],[126537,1,"ي"],[126538,3],[126539,1,"ل"],[126540,3],[126541,1,"ن"],[126542,1,"س"],[126543,1,"ع"],[126544,3],[126545,1,"ص"],[126546,1,"ق"],[126547,3],[126548,1,"ش"],[[126549,126550],3],[126551,1,"خ"],[126552,3],[126553,1,"ض"],[126554,3],[126555,1,"غ"],[126556,3],[126557,1,"ں"],[126558,3],[126559,1,"ٯ"],[126560,3],[126561,1,"ب"],[126562,1,"ج"],[126563,3],[126564,1,"ه"],[[126565,126566],3],[126567,1,"ح"],[126568,1,"ط"],[126569,1,"ي"],[126570,1,"ك"],[126571,3],[126572,1,"م"],[126573,1,"ن"],[126574,1,"س"],[126575,1,"ع"],[126576,1,"ف"],[126577,1,"ص"],[126578,1,"ق"],[126579,3],[126580,1,"ش"],[126581,1,"ت"],[126582,1,"ث"],[126583,1,"خ"],[126584,3],[126585,1,"ض"],[126586,1,"ظ"],[126587,1,"غ"],[126588,1,"ٮ"],[126589,3],[126590,1,"ڡ"],[126591,3],[126592,1,"ا"],[126593,1,"ب"],[126594,1,"ج"],[126595,1,"د"],[126596,1,"ه"],[126597,1,"و"],[126598,1,"ز"],[126599,1,"ح"],[126600,1,"ط"],[126601,1,"ي"],[126602,3],[126603,1,"ل"],[126604,1,"م"],[126605,1,"ن"],[126606,1,"س"],[126607,1,"ع"],[126608,1,"ف"],[126609,1,"ص"],[126610,1,"ق"],[126611,1,"ر"],[126612,1,"ش"],[126613,1,"ت"],[126614,1,"ث"],[126615,1,"خ"],[126616,1,"ذ"],[126617,1,"ض"],[126618,1,"ظ"],[126619,1,"غ"],[[126620,126624],3],[126625,1,"ب"],[126626,1,"ج"],[126627,1,"د"],[126628,3],[126629,1,"و"],[126630,1,"ز"],[126631,1,"ح"],[126632,1,"ط"],[126633,1,"ي"],[126634,3],[126635,1,"ل"],[126636,1,"م"],[126637,1,"ن"],[126638,1,"س"],[126639,1,"ع"],[126640,1,"ف"],[126641,1,"ص"],[126642,1,"ق"],[126643,1,"ر"],[126644,1,"ش"],[126645,1,"ت"],[126646,1,"ث"],[126647,1,"خ"],[126648,1,"ذ"],[126649,1,"ض"],[126650,1,"ظ"],[126651,1,"غ"],[[126652,126703],3],[[126704,126705],2],[[126706,126975],3],[[126976,127019],2],[[127020,127023],3],[[127024,127123],2],[[127124,127135],3],[[127136,127150],2],[[127151,127152],3],[[127153,127166],2],[127167,2],[127168,3],[[127169,127183],2],[127184,3],[[127185,127199],2],[[127200,127221],2],[[127222,127231],3],[127232,3],[127233,5,"0,"],[127234,5,"1,"],[127235,5,"2,"],[127236,5,"3,"],[127237,5,"4,"],[127238,5,"5,"],[127239,5,"6,"],[127240,5,"7,"],[127241,5,"8,"],[127242,5,"9,"],[[127243,127244],2],[[127245,127247],3],[127248,5,"(a)"],[127249,5,"(b)"],[127250,5,"(c)"],[127251,5,"(d)"],[127252,5,"(e)"],[127253,5,"(f)"],[127254,5,"(g)"],[127255,5,"(h)"],[127256,5,"(i)"],[127257,5,"(j)"],[127258,5,"(k)"],[127259,5,"(l)"],[127260,5,"(m)"],[127261,5,"(n)"],[127262,5,"(o)"],[127263,5,"(p)"],[127264,5,"(q)"],[127265,5,"(r)"],[127266,5,"(s)"],[127267,5,"(t)"],[127268,5,"(u)"],[127269,5,"(v)"],[127270,5,"(w)"],[127271,5,"(x)"],[127272,5,"(y)"],[127273,5,"(z)"],[127274,1,"〔s〕"],[127275,1,"c"],[127276,1,"r"],[127277,1,"cd"],[127278,1,"wz"],[127279,2],[127280,1,"a"],[127281,1,"b"],[127282,1,"c"],[127283,1,"d"],[127284,1,"e"],[127285,1,"f"],[127286,1,"g"],[127287,1,"h"],[127288,1,"i"],[127289,1,"j"],[127290,1,"k"],[127291,1,"l"],[127292,1,"m"],[127293,1,"n"],[127294,1,"o"],[127295,1,"p"],[127296,1,"q"],[127297,1,"r"],[127298,1,"s"],[127299,1,"t"],[127300,1,"u"],[127301,1,"v"],[127302,1,"w"],[127303,1,"x"],[127304,1,"y"],[127305,1,"z"],[127306,1,"hv"],[127307,1,"mv"],[127308,1,"sd"],[127309,1,"ss"],[127310,1,"ppv"],[127311,1,"wc"],[[127312,127318],2],[127319,2],[[127320,127326],2],[127327,2],[[127328,127337],2],[127338,1,"mc"],[127339,1,"md"],[127340,1,"mr"],[[127341,127343],3],[[127344,127352],2],[127353,2],[127354,2],[[127355,127356],2],[[127357,127358],2],[127359,2],[[127360,127369],2],[[127370,127373],2],[[127374,127375],2],[127376,1,"dj"],[[127377,127386],2],[[127387,127404],2],[[127405,127461],3],[[127462,127487],2],[127488,1,"ほか"],[127489,1,"ココ"],[127490,1,"サ"],[[127491,127503],3],[127504,1,"手"],[127505,1,"字"],[127506,1,"双"],[127507,1,"デ"],[127508,1,"二"],[127509,1,"多"],[127510,1,"解"],[127511,1,"天"],[127512,1,"交"],[127513,1,"映"],[127514,1,"無"],[127515,1,"料"],[127516,1,"前"],[127517,1,"後"],[127518,1,"再"],[127519,1,"新"],[127520,1,"初"],[127521,1,"終"],[127522,1,"生"],[127523,1,"販"],[127524,1,"声"],[127525,1,"吹"],[127526,1,"演"],[127527,1,"投"],[127528,1,"捕"],[127529,1,"一"],[127530,1,"三"],[127531,1,"遊"],[127532,1,"左"],[127533,1,"中"],[127534,1,"右"],[127535,1,"指"],[127536,1,"走"],[127537,1,"打"],[127538,1,"禁"],[127539,1,"空"],[127540,1,"合"],[127541,1,"満"],[127542,1,"有"],[127543,1,"月"],[127544,1,"申"],[127545,1,"割"],[127546,1,"営"],[127547,1,"配"],[[127548,127551],3],[127552,1,"〔本〕"],[127553,1,"〔三〕"],[127554,1,"〔二〕"],[127555,1,"〔安〕"],[127556,1,"〔点〕"],[127557,1,"〔打〕"],[127558,1,"〔盗〕"],[127559,1,"〔勝〕"],[127560,1,"〔敗〕"],[[127561,127567],3],[127568,1,"得"],[127569,1,"可"],[[127570,127583],3],[[127584,127589],2],[[127590,127743],3],[[127744,127776],2],[[127777,127788],2],[[127789,127791],2],[[127792,127797],2],[127798,2],[[127799,127868],2],[127869,2],[[127870,127871],2],[[127872,127891],2],[[127892,127903],2],[[127904,127940],2],[127941,2],[[127942,127946],2],[[127947,127950],2],[[127951,127955],2],[[127956,127967],2],[[127968,127984],2],[[127985,127991],2],[[127992,127999],2],[[128e3,128062],2],[128063,2],[128064,2],[128065,2],[[128066,128247],2],[128248,2],[[128249,128252],2],[[128253,128254],2],[128255,2],[[128256,128317],2],[[128318,128319],2],[[128320,128323],2],[[128324,128330],2],[[128331,128335],2],[[128336,128359],2],[[128360,128377],2],[128378,2],[[128379,128419],2],[128420,2],[[128421,128506],2],[[128507,128511],2],[128512,2],[[128513,128528],2],[128529,2],[[128530,128532],2],[128533,2],[128534,2],[128535,2],[128536,2],[128537,2],[128538,2],[128539,2],[[128540,128542],2],[128543,2],[[128544,128549],2],[[128550,128551],2],[[128552,128555],2],[128556,2],[128557,2],[[128558,128559],2],[[128560,128563],2],[128564,2],[[128565,128576],2],[[128577,128578],2],[[128579,128580],2],[[128581,128591],2],[[128592,128639],2],[[128640,128709],2],[[128710,128719],2],[128720,2],[[128721,128722],2],[[128723,128724],2],[128725,2],[[128726,128735],3],[[128736,128748],2],[[128749,128751],3],[[128752,128755],2],[[128756,128758],2],[[128759,128760],2],[128761,2],[128762,2],[[128763,128767],3],[[128768,128883],2],[[128884,128895],3],[[128896,128980],2],[[128981,128984],2],[[128985,128991],3],[[128992,129003],2],[[129004,129023],3],[[129024,129035],2],[[129036,129039],3],[[129040,129095],2],[[129096,129103],3],[[129104,129113],2],[[129114,129119],3],[[129120,129159],2],[[129160,129167],3],[[129168,129197],2],[[129198,129279],3],[[129280,129291],2],[129292,3],[[129293,129295],2],[[129296,129304],2],[[129305,129310],2],[129311,2],[[129312,129319],2],[[129320,129327],2],[129328,2],[[129329,129330],2],[[129331,129342],2],[129343,2],[[129344,129355],2],[129356,2],[[129357,129359],2],[[129360,129374],2],[[129375,129387],2],[[129388,129392],2],[129393,2],[129394,3],[[129395,129398],2],[[129399,129401],3],[129402,2],[129403,2],[[129404,129407],2],[[129408,129412],2],[[129413,129425],2],[[129426,129431],2],[[129432,129442],2],[[129443,129444],3],[[129445,129450],2],[[129451,129453],3],[[129454,129455],2],[[129456,129465],2],[[129466,129471],2],[129472,2],[[129473,129474],2],[[129475,129482],2],[[129483,129484],3],[[129485,129487],2],[[129488,129510],2],[[129511,129535],2],[[129536,129619],2],[[129620,129631],3],[[129632,129645],2],[[129646,129647],3],[[129648,129651],2],[[129652,129655],3],[[129656,129658],2],[[129659,129663],3],[[129664,129666],2],[[129667,129679],3],[[129680,129685],2],[[129686,131069],3],[[131070,131071],3],[[131072,173782],2],[[173783,173823],3],[[173824,177972],2],[[177973,177983],3],[[177984,178205],2],[[178206,178207],3],[[178208,183969],2],[[183970,183983],3],[[183984,191456],2],[[191457,194559],3],[194560,1,"丽"],[194561,1,"丸"],[194562,1,"乁"],[194563,1,"𠄢"],[194564,1,"你"],[194565,1,"侮"],[194566,1,"侻"],[194567,1,"倂"],[194568,1,"偺"],[194569,1,"備"],[194570,1,"僧"],[194571,1,"像"],[194572,1,"㒞"],[194573,1,"𠘺"],[194574,1,"免"],[194575,1,"兔"],[194576,1,"兤"],[194577,1,"具"],[194578,1,"𠔜"],[194579,1,"㒹"],[194580,1,"內"],[194581,1,"再"],[194582,1,"𠕋"],[194583,1,"冗"],[194584,1,"冤"],[194585,1,"仌"],[194586,1,"冬"],[194587,1,"况"],[194588,1,"𩇟"],[194589,1,"凵"],[194590,1,"刃"],[194591,1,"㓟"],[194592,1,"刻"],[194593,1,"剆"],[194594,1,"割"],[194595,1,"剷"],[194596,1,"㔕"],[194597,1,"勇"],[194598,1,"勉"],[194599,1,"勤"],[194600,1,"勺"],[194601,1,"包"],[194602,1,"匆"],[194603,1,"北"],[194604,1,"卉"],[194605,1,"卑"],[194606,1,"博"],[194607,1,"即"],[194608,1,"卽"],[[194609,194611],1,"卿"],[194612,1,"𠨬"],[194613,1,"灰"],[194614,1,"及"],[194615,1,"叟"],[194616,1,"𠭣"],[194617,1,"叫"],[194618,1,"叱"],[194619,1,"吆"],[194620,1,"咞"],[194621,1,"吸"],[194622,1,"呈"],[194623,1,"周"],[194624,1,"咢"],[194625,1,"哶"],[194626,1,"唐"],[194627,1,"啓"],[194628,1,"啣"],[[194629,194630],1,"善"],[194631,1,"喙"],[194632,1,"喫"],[194633,1,"喳"],[194634,1,"嗂"],[194635,1,"圖"],[194636,1,"嘆"],[194637,1,"圗"],[194638,1,"噑"],[194639,1,"噴"],[194640,1,"切"],[194641,1,"壮"],[194642,1,"城"],[194643,1,"埴"],[194644,1,"堍"],[194645,1,"型"],[194646,1,"堲"],[194647,1,"報"],[194648,1,"墬"],[194649,1,"𡓤"],[194650,1,"売"],[194651,1,"壷"],[194652,1,"夆"],[194653,1,"多"],[194654,1,"夢"],[194655,1,"奢"],[194656,1,"𡚨"],[194657,1,"𡛪"],[194658,1,"姬"],[194659,1,"娛"],[194660,1,"娧"],[194661,1,"姘"],[194662,1,"婦"],[194663,1,"㛮"],[194664,3],[194665,1,"嬈"],[[194666,194667],1,"嬾"],[194668,1,"𡧈"],[194669,1,"寃"],[194670,1,"寘"],[194671,1,"寧"],[194672,1,"寳"],[194673,1,"𡬘"],[194674,1,"寿"],[194675,1,"将"],[194676,3],[194677,1,"尢"],[194678,1,"㞁"],[194679,1,"屠"],[194680,1,"屮"],[194681,1,"峀"],[194682,1,"岍"],[194683,1,"𡷤"],[194684,1,"嵃"],[194685,1,"𡷦"],[194686,1,"嵮"],[194687,1,"嵫"],[194688,1,"嵼"],[194689,1,"巡"],[194690,1,"巢"],[194691,1,"㠯"],[194692,1,"巽"],[194693,1,"帨"],[194694,1,"帽"],[194695,1,"幩"],[194696,1,"㡢"],[194697,1,"𢆃"],[194698,1,"㡼"],[194699,1,"庰"],[194700,1,"庳"],[194701,1,"庶"],[194702,1,"廊"],[194703,1,"𪎒"],[194704,1,"廾"],[[194705,194706],1,"𢌱"],[194707,1,"舁"],[[194708,194709],1,"弢"],[194710,1,"㣇"],[194711,1,"𣊸"],[194712,1,"𦇚"],[194713,1,"形"],[194714,1,"彫"],[194715,1,"㣣"],[194716,1,"徚"],[194717,1,"忍"],[194718,1,"志"],[194719,1,"忹"],[194720,1,"悁"],[194721,1,"㤺"],[194722,1,"㤜"],[194723,1,"悔"],[194724,1,"𢛔"],[194725,1,"惇"],[194726,1,"慈"],[194727,1,"慌"],[194728,1,"慎"],[194729,1,"慌"],[194730,1,"慺"],[194731,1,"憎"],[194732,1,"憲"],[194733,1,"憤"],[194734,1,"憯"],[194735,1,"懞"],[194736,1,"懲"],[194737,1,"懶"],[194738,1,"成"],[194739,1,"戛"],[194740,1,"扝"],[194741,1,"抱"],[194742,1,"拔"],[194743,1,"捐"],[194744,1,"𢬌"],[194745,1,"挽"],[194746,1,"拼"],[194747,1,"捨"],[194748,1,"掃"],[194749,1,"揤"],[194750,1,"𢯱"],[194751,1,"搢"],[194752,1,"揅"],[194753,1,"掩"],[194754,1,"㨮"],[194755,1,"摩"],[194756,1,"摾"],[194757,1,"撝"],[194758,1,"摷"],[194759,1,"㩬"],[194760,1,"敏"],[194761,1,"敬"],[194762,1,"𣀊"],[194763,1,"旣"],[194764,1,"書"],[194765,1,"晉"],[194766,1,"㬙"],[194767,1,"暑"],[194768,1,"㬈"],[194769,1,"㫤"],[194770,1,"冒"],[194771,1,"冕"],[194772,1,"最"],[194773,1,"暜"],[194774,1,"肭"],[194775,1,"䏙"],[194776,1,"朗"],[194777,1,"望"],[194778,1,"朡"],[194779,1,"杞"],[194780,1,"杓"],[194781,1,"𣏃"],[194782,1,"㭉"],[194783,1,"柺"],[194784,1,"枅"],[194785,1,"桒"],[194786,1,"梅"],[194787,1,"𣑭"],[194788,1,"梎"],[194789,1,"栟"],[194790,1,"椔"],[194791,1,"㮝"],[194792,1,"楂"],[194793,1,"榣"],[194794,1,"槪"],[194795,1,"檨"],[194796,1,"𣚣"],[194797,1,"櫛"],[194798,1,"㰘"],[194799,1,"次"],[194800,1,"𣢧"],[194801,1,"歔"],[194802,1,"㱎"],[194803,1,"歲"],[194804,1,"殟"],[194805,1,"殺"],[194806,1,"殻"],[194807,1,"𣪍"],[194808,1,"𡴋"],[194809,1,"𣫺"],[194810,1,"汎"],[194811,1,"𣲼"],[194812,1,"沿"],[194813,1,"泍"],[194814,1,"汧"],[194815,1,"洖"],[194816,1,"派"],[194817,1,"海"],[194818,1,"流"],[194819,1,"浩"],[194820,1,"浸"],[194821,1,"涅"],[194822,1,"𣴞"],[194823,1,"洴"],[194824,1,"港"],[194825,1,"湮"],[194826,1,"㴳"],[194827,1,"滋"],[194828,1,"滇"],[194829,1,"𣻑"],[194830,1,"淹"],[194831,1,"潮"],[194832,1,"𣽞"],[194833,1,"𣾎"],[194834,1,"濆"],[194835,1,"瀹"],[194836,1,"瀞"],[194837,1,"瀛"],[194838,1,"㶖"],[194839,1,"灊"],[194840,1,"災"],[194841,1,"灷"],[194842,1,"炭"],[194843,1,"𠔥"],[194844,1,"煅"],[194845,1,"𤉣"],[194846,1,"熜"],[194847,3],[194848,1,"爨"],[194849,1,"爵"],[194850,1,"牐"],[194851,1,"𤘈"],[194852,1,"犀"],[194853,1,"犕"],[194854,1,"𤜵"],[194855,1,"𤠔"],[194856,1,"獺"],[194857,1,"王"],[194858,1,"㺬"],[194859,1,"玥"],[[194860,194861],1,"㺸"],[194862,1,"瑇"],[194863,1,"瑜"],[194864,1,"瑱"],[194865,1,"璅"],[194866,1,"瓊"],[194867,1,"㼛"],[194868,1,"甤"],[194869,1,"𤰶"],[194870,1,"甾"],[194871,1,"𤲒"],[194872,1,"異"],[194873,1,"𢆟"],[194874,1,"瘐"],[194875,1,"𤾡"],[194876,1,"𤾸"],[194877,1,"𥁄"],[194878,1,"㿼"],[194879,1,"䀈"],[194880,1,"直"],[194881,1,"𥃳"],[194882,1,"𥃲"],[194883,1,"𥄙"],[194884,1,"𥄳"],[194885,1,"眞"],[[194886,194887],1,"真"],[194888,1,"睊"],[194889,1,"䀹"],[194890,1,"瞋"],[194891,1,"䁆"],[194892,1,"䂖"],[194893,1,"𥐝"],[194894,1,"硎"],[194895,1,"碌"],[194896,1,"磌"],[194897,1,"䃣"],[194898,1,"𥘦"],[194899,1,"祖"],[194900,1,"𥚚"],[194901,1,"𥛅"],[194902,1,"福"],[194903,1,"秫"],[194904,1,"䄯"],[194905,1,"穀"],[194906,1,"穊"],[194907,1,"穏"],[194908,1,"𥥼"],[[194909,194910],1,"𥪧"],[194911,3],[194912,1,"䈂"],[194913,1,"𥮫"],[194914,1,"篆"],[194915,1,"築"],[194916,1,"䈧"],[194917,1,"𥲀"],[194918,1,"糒"],[194919,1,"䊠"],[194920,1,"糨"],[194921,1,"糣"],[194922,1,"紀"],[194923,1,"𥾆"],[194924,1,"絣"],[194925,1,"䌁"],[194926,1,"緇"],[194927,1,"縂"],[194928,1,"繅"],[194929,1,"䌴"],[194930,1,"𦈨"],[194931,1,"𦉇"],[194932,1,"䍙"],[194933,1,"𦋙"],[194934,1,"罺"],[194935,1,"𦌾"],[194936,1,"羕"],[194937,1,"翺"],[194938,1,"者"],[194939,1,"𦓚"],[194940,1,"𦔣"],[194941,1,"聠"],[194942,1,"𦖨"],[194943,1,"聰"],[194944,1,"𣍟"],[194945,1,"䏕"],[194946,1,"育"],[194947,1,"脃"],[194948,1,"䐋"],[194949,1,"脾"],[194950,1,"媵"],[194951,1,"𦞧"],[194952,1,"𦞵"],[194953,1,"𣎓"],[194954,1,"𣎜"],[194955,1,"舁"],[194956,1,"舄"],[194957,1,"辞"],[194958,1,"䑫"],[194959,1,"芑"],[194960,1,"芋"],[194961,1,"芝"],[194962,1,"劳"],[194963,1,"花"],[194964,1,"芳"],[194965,1,"芽"],[194966,1,"苦"],[194967,1,"𦬼"],[194968,1,"若"],[194969,1,"茝"],[194970,1,"荣"],[194971,1,"莭"],[194972,1,"茣"],[194973,1,"莽"],[194974,1,"菧"],[194975,1,"著"],[194976,1,"荓"],[194977,1,"菊"],[194978,1,"菌"],[194979,1,"菜"],[194980,1,"𦰶"],[194981,1,"𦵫"],[194982,1,"𦳕"],[194983,1,"䔫"],[194984,1,"蓱"],[194985,1,"蓳"],[194986,1,"蔖"],[194987,1,"𧏊"],[194988,1,"蕤"],[194989,1,"𦼬"],[194990,1,"䕝"],[194991,1,"䕡"],[194992,1,"𦾱"],[194993,1,"𧃒"],[194994,1,"䕫"],[194995,1,"虐"],[194996,1,"虜"],[194997,1,"虧"],[194998,1,"虩"],[194999,1,"蚩"],[195e3,1,"蚈"],[195001,1,"蜎"],[195002,1,"蛢"],[195003,1,"蝹"],[195004,1,"蜨"],[195005,1,"蝫"],[195006,1,"螆"],[195007,3],[195008,1,"蟡"],[195009,1,"蠁"],[195010,1,"䗹"],[195011,1,"衠"],[195012,1,"衣"],[195013,1,"𧙧"],[195014,1,"裗"],[195015,1,"裞"],[195016,1,"䘵"],[195017,1,"裺"],[195018,1,"㒻"],[195019,1,"𧢮"],[195020,1,"𧥦"],[195021,1,"䚾"],[195022,1,"䛇"],[195023,1,"誠"],[195024,1,"諭"],[195025,1,"變"],[195026,1,"豕"],[195027,1,"𧲨"],[195028,1,"貫"],[195029,1,"賁"],[195030,1,"贛"],[195031,1,"起"],[195032,1,"𧼯"],[195033,1,"𠠄"],[195034,1,"跋"],[195035,1,"趼"],[195036,1,"跰"],[195037,1,"𠣞"],[195038,1,"軔"],[195039,1,"輸"],[195040,1,"𨗒"],[195041,1,"𨗭"],[195042,1,"邔"],[195043,1,"郱"],[195044,1,"鄑"],[195045,1,"𨜮"],[195046,1,"鄛"],[195047,1,"鈸"],[195048,1,"鋗"],[195049,1,"鋘"],[195050,1,"鉼"],[195051,1,"鏹"],[195052,1,"鐕"],[195053,1,"𨯺"],[195054,1,"開"],[195055,1,"䦕"],[195056,1,"閷"],[195057,1,"𨵷"],[195058,1,"䧦"],[195059,1,"雃"],[195060,1,"嶲"],[195061,1,"霣"],[195062,1,"𩅅"],[195063,1,"𩈚"],[195064,1,"䩮"],[195065,1,"䩶"],[195066,1,"韠"],[195067,1,"𩐊"],[195068,1,"䪲"],[195069,1,"𩒖"],[[195070,195071],1,"頋"],[195072,1,"頩"],[195073,1,"𩖶"],[195074,1,"飢"],[195075,1,"䬳"],[195076,1,"餩"],[195077,1,"馧"],[195078,1,"駂"],[195079,1,"駾"],[195080,1,"䯎"],[195081,1,"𩬰"],[195082,1,"鬒"],[195083,1,"鱀"],[195084,1,"鳽"],[195085,1,"䳎"],[195086,1,"䳭"],[195087,1,"鵧"],[195088,1,"𪃎"],[195089,1,"䳸"],[195090,1,"𪄅"],[195091,1,"𪈎"],[195092,1,"𪊑"],[195093,1,"麻"],[195094,1,"䵖"],[195095,1,"黹"],[195096,1,"黾"],[195097,1,"鼅"],[195098,1,"鼏"],[195099,1,"鼖"],[195100,1,"鼻"],[195101,1,"𪘀"],[[195102,196605],3],[[196606,196607],3],[[196608,262141],3],[[262142,262143],3],[[262144,327677],3],[[327678,327679],3],[[327680,393213],3],[[393214,393215],3],[[393216,458749],3],[[458750,458751],3],[[458752,524285],3],[[524286,524287],3],[[524288,589821],3],[[589822,589823],3],[[589824,655357],3],[[655358,655359],3],[[655360,720893],3],[[720894,720895],3],[[720896,786429],3],[[786430,786431],3],[[786432,851965],3],[[851966,851967],3],[[851968,917501],3],[[917502,917503],3],[917504,3],[917505,3],[[917506,917535],3],[[917536,917631],3],[[917632,917759],3],[[917760,917999],7],[[918e3,983037],3],[[983038,983039],3],[[983040,1048573],3],[[1048574,1048575],3],[[1048576,1114109],3],[[1114110,1114111],3]]},{}],990:[function(require,module,exports){"use strict";const combiningMarks=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10F46}-\u{10F50}\u{11000}-\u{11002}\u{11038}-\u{11046}\u{1107F}-\u{11082}\u{110B0}-\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{11134}\u{11145}\u{11146}\u{11173}\u{11180}-\u{11182}\u{111B3}-\u{111C0}\u{111C9}-\u{111CC}\u{1122C}-\u{11237}\u{1123E}\u{112DF}-\u{112EA}\u{11300}-\u{11303}\u{1133B}\u{1133C}\u{1133E}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11357}\u{11362}\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11435}-\u{11446}\u{1145E}\u{114B0}-\u{114C3}\u{115AF}-\u{115B5}\u{115B8}-\u{115C0}\u{115DC}\u{115DD}\u{11630}-\u{11640}\u{116AB}-\u{116B7}\u{1171D}-\u{1172B}\u{1182C}-\u{1183A}\u{119D1}-\u{119D7}\u{119DA}-\u{119E0}\u{119E4}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A39}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A5B}\u{11A8A}-\u{11A99}\u{11C2F}-\u{11C36}\u{11C38}-\u{11C3F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D8A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D97}\u{11EF3}-\u{11EF6}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F51}-\u{16F87}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1D165}-\u{1D169}\u{1D16D}-\u{1D172}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]/u;const combiningClassVirama=/[\u094D\u09CD\u0A4D\u0ACD\u0B4D\u0BCD\u0C4D\u0CCD\u0D3B\u0D3C\u0D4D\u0DCA\u0E3A\u0EBA\u0F84\u1039\u103A\u1714\u1734\u17D2\u1A60\u1B44\u1BAA\u1BAB\u1BF2\u1BF3\u2D7F\uA806\uA8C4\uA953\uA9C0\uAAF6\uABED\u{10A3F}\u{11046}\u{1107F}\u{110B9}\u{11133}\u{11134}\u{111C0}\u{11235}\u{112EA}\u{1134D}\u{11442}\u{114C2}\u{115BF}\u{1163F}\u{116B6}\u{1172B}\u{11839}\u{119E0}\u{11A34}\u{11A47}\u{11A99}\u{11C3F}\u{11D44}\u{11D45}\u{11D97}]/u;const validZWNJ=/[\u0620\u0626\u0628\u062A-\u062E\u0633-\u063F\u0641-\u0647\u0649\u064A\u066E\u066F\u0678-\u0687\u069A-\u06BF\u06C1\u06C2\u06CC\u06CE\u06D0\u06D1\u06FA-\u06FC\u06FF\u0712-\u0714\u071A-\u071D\u071F-\u0727\u0729\u072B\u072D\u072E\u074E-\u0758\u075C-\u076A\u076D-\u0770\u0772\u0775-\u0777\u077A-\u077F\u07CA-\u07EA\u0841-\u0845\u0848\u084A-\u0853\u0855\u0860\u0862-\u0865\u0868\u08A0-\u08A9\u08AF\u08B0\u08B3\u08B4\u08B6-\u08B8\u08BA-\u08BD\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA872\u{10AC0}-\u{10AC4}\u{10ACD}\u{10AD3}-\u{10ADC}\u{10ADE}-\u{10AE0}\u{10AEB}-\u{10AEE}\u{10B80}\u{10B82}\u{10B86}-\u{10B88}\u{10B8A}\u{10B8B}\u{10B8D}\u{10B90}\u{10BAD}\u{10BAE}\u{10D00}-\u{10D21}\u{10D23}\u{10F30}-\u{10F32}\u{10F34}-\u{10F44}\u{10F51}-\u{10F53}\u{1E900}-\u{1E943}][\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10F46}-\u{10F50}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{13430}-\u{13438}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*\u200C[\xAD\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u061C\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u070F\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200B\u200E\u200F\u202A-\u202E\u2060-\u2064\u206A-\u206F\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFEFF\uFFF9-\uFFFB\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10F46}-\u{10F50}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C3F}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{13430}-\u{13438}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94B}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*[\u0620\u0622-\u063F\u0641-\u064A\u066E\u066F\u0671-\u0673\u0675-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u077F\u07CA-\u07EA\u0840-\u0855\u0860\u0862-\u0865\u0867-\u086A\u08A0-\u08AC\u08AE-\u08B4\u08B6-\u08BD\u1807\u1820-\u1878\u1887-\u18A8\u18AA\uA840-\uA871\u{10AC0}-\u{10AC5}\u{10AC7}\u{10AC9}\u{10ACA}\u{10ACE}-\u{10AD6}\u{10AD8}-\u{10AE1}\u{10AE4}\u{10AEB}-\u{10AEF}\u{10B80}-\u{10B91}\u{10BA9}-\u{10BAE}\u{10D01}-\u{10D23}\u{10F30}-\u{10F44}\u{10F51}-\u{10F54}\u{1E900}-\u{1E943}]/u;const bidiDomain=/[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B\u061C\u061E-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08E2\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u;const bidiS1LTR=/[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1735\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4B\u1B50-\u1B6A\u1B74-\u1B7C\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C88\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u249C-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BA\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7BF\uA7C2-\uA7C6\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB67\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11146}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{11459}\u{1145B}\u{1145D}\u{1145F}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{11720}\u{11721}\u{11726}\u{11730}-\u{1173F}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AC0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{13000}-\u{1342E}\u{13430}-\u{13438}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}\u{16A6F}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18AF2}\u{1B000}-\u{1B11E}\u{1B150}-\u{1B152}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6DA}\u{1D6DC}-\u{1D714}\u{1D716}-\u{1D74E}\u{1D750}-\u{1D788}\u{1D78A}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D800}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{20000}-\u{2A6D6}\u{2A700}-\u{2B734}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]/u;const bidiS1RTL=/[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0608\u060B\u060D\u061B\u061C\u061E-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10FE0}-\u{10FF6}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}]/u;const bidiS2=/^[\0-\x08\x0E-\x1B!-@\[-`\{-\x84\x86-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02B9\u02BA\u02C2-\u02CF\u02D2-\u02DF\u02E5-\u02ED\u02EF-\u036F\u0374\u0375\u037E\u0384\u0385\u0387\u03F6\u0483-\u0489\u058A\u058D-\u058F\u0591-\u05C7\u05D0-\u05EA\u05EF-\u05F4\u0600-\u061C\u061E-\u070D\u070F-\u074A\u074D-\u07B1\u07C0-\u07FA\u07FD-\u082D\u0830-\u083E\u0840-\u085B\u085E\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09F2\u09F3\u09FB\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AF1\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0BF3-\u0BFA\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C78-\u0C7E\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E3F\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39-\u0F3D\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1390-\u1399\u1400\u169B\u169C\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DB\u17DD\u17F0-\u17F9\u1800-\u180E\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1940\u1944\u1945\u19DE-\u19FF\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u200B-\u200D\u200F-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2070\u2074-\u207E\u2080-\u208E\u20A0-\u20BF\u20D0-\u20F0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u2150-\u215F\u2189-\u218B\u2190-\u2335\u237B-\u2394\u2396-\u2426\u2440-\u244A\u2460-\u249B\u24EA-\u26AB\u26AD-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B98-\u2BFF\u2CE5-\u2CEA\u2CEF-\u2CF1\u2CF9-\u2CFF\u2D7F\u2DE0-\u2E4F\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u3004\u3008-\u3020\u302A-\u302D\u3030\u3036\u3037\u303D-\u303F\u3099-\u309C\u30A0\u30FB\u31C0-\u31E3\u321D\u321E\u3250-\u325F\u327C-\u327E\u32B1-\u32BF\u32CC-\u32CF\u3377-\u337A\u33DE\u33DF\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA60D-\uA60F\uA66F-\uA67F\uA69E\uA69F\uA6F0\uA6F1\uA700-\uA721\uA788\uA802\uA806\uA80B\uA825\uA826\uA828-\uA82B\uA838\uA839\uA874-\uA877\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC1\uFBD3-\uFD3F\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFD\uFE00-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFE70-\uFE74\uFE76-\uFEFC\uFEFF\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10101}\u{10140}-\u{1018C}\u{10190}-\u{1019B}\u{101A0}\u{101FD}\u{102E0}-\u{102FB}\u{10376}-\u{1037A}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{1091F}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A38}-\u{10A3A}\u{10A3F}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE6}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B39}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D27}\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}\u{10F00}-\u{10F27}\u{10F30}-\u{10F59}\u{10FE0}-\u{10FF6}\u{11001}\u{11038}-\u{11046}\u{11052}-\u{11065}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{11660}-\u{1166C}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{11FD5}-\u{11FF1}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{16FE2}\u{1BC9D}\u{1BC9E}\u{1BCA0}-\u{1BCA3}\u{1D167}-\u{1D169}\u{1D173}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D200}-\u{1D245}\u{1D300}-\u{1D356}\u{1D6DB}\u{1D715}\u{1D74F}\u{1D789}\u{1D7C3}\u{1D7CE}-\u{1D7FF}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2EC}-\u{1E2EF}\u{1E2FF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8D6}\u{1E900}-\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F10C}\u{1F12F}\u{1F16A}-\u{1F16C}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D5}\u{1F6E0}-\u{1F6EC}\u{1F6F0}-\u{1F6FA}\u{1F700}-\u{1F773}\u{1F780}-\u{1F7D8}\u{1F7E0}-\u{1F7EB}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F900}-\u{1F90B}\u{1F90D}-\u{1F971}\u{1F973}-\u{1F976}\u{1F97A}-\u{1F9A2}\u{1F9A5}-\u{1F9AA}\u{1F9AE}-\u{1F9CA}\u{1F9CD}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA73}\u{1FA78}-\u{1FA7A}\u{1FA80}-\u{1FA82}\u{1FA90}-\u{1FA95}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}]*$/u;const bidiS3=/[0-9\xB2\xB3\xB9\u05BE\u05C0\u05C3\u05C6\u05D0-\u05EA\u05EF-\u05F4\u0600-\u0605\u0608\u060B\u060D\u061B\u061C\u061E-\u064A\u0660-\u0669\u066B-\u066F\u0671-\u06D5\u06DD\u06E5\u06E6\u06EE-\u070D\u070F\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u083E\u0840-\u0858\u085E\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08E2\u200F\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBC1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFC\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\u{102E1}-\u{102FB}\u{10800}-\u{10805}\u{10808}\u{1080A}-\u{10835}\u{10837}\u{10838}\u{1083C}\u{1083F}-\u{10855}\u{10857}-\u{1089E}\u{108A7}-\u{108AF}\u{108E0}-\u{108F2}\u{108F4}\u{108F5}\u{108FB}-\u{1091B}\u{10920}-\u{10939}\u{1093F}\u{10980}-\u{109B7}\u{109BC}-\u{109CF}\u{109D2}-\u{10A00}\u{10A10}-\u{10A13}\u{10A15}-\u{10A17}\u{10A19}-\u{10A35}\u{10A40}-\u{10A48}\u{10A50}-\u{10A58}\u{10A60}-\u{10A9F}\u{10AC0}-\u{10AE4}\u{10AEB}-\u{10AF6}\u{10B00}-\u{10B35}\u{10B40}-\u{10B55}\u{10B58}-\u{10B72}\u{10B78}-\u{10B91}\u{10B99}-\u{10B9C}\u{10BA9}-\u{10BAF}\u{10C00}-\u{10C48}\u{10C80}-\u{10CB2}\u{10CC0}-\u{10CF2}\u{10CFA}-\u{10D23}\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}\u{10F00}-\u{10F27}\u{10F30}-\u{10F45}\u{10F51}-\u{10F59}\u{10FE0}-\u{10FF6}\u{1D7CE}-\u{1D7FF}\u{1E800}-\u{1E8C4}\u{1E8C7}-\u{1E8CF}\u{1E900}-\u{1E943}\u{1E94B}\u{1E950}-\u{1E959}\u{1E95E}\u{1E95F}\u{1EC71}-\u{1ECB4}\u{1ED01}-\u{1ED3D}\u{1EE00}-\u{1EE03}\u{1EE05}-\u{1EE1F}\u{1EE21}\u{1EE22}\u{1EE24}\u{1EE27}\u{1EE29}-\u{1EE32}\u{1EE34}-\u{1EE37}\u{1EE39}\u{1EE3B}\u{1EE42}\u{1EE47}\u{1EE49}\u{1EE4B}\u{1EE4D}-\u{1EE4F}\u{1EE51}\u{1EE52}\u{1EE54}\u{1EE57}\u{1EE59}\u{1EE5B}\u{1EE5D}\u{1EE5F}\u{1EE61}\u{1EE62}\u{1EE64}\u{1EE67}-\u{1EE6A}\u{1EE6C}-\u{1EE72}\u{1EE74}-\u{1EE77}\u{1EE79}-\u{1EE7C}\u{1EE7E}\u{1EE80}-\u{1EE89}\u{1EE8B}-\u{1EE9B}\u{1EEA1}-\u{1EEA3}\u{1EEA5}-\u{1EEA9}\u{1EEAB}-\u{1EEBB}\u{1F100}-\u{1F10A}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10F46}-\u{10F50}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u;const bidiS4EN=/[0-9\xB2\xB3\xB9\u06F0-\u06F9\u2070\u2074-\u2079\u2080-\u2089\u2488-\u249B\uFF10-\uFF19\u{102E1}-\u{102FB}\u{1D7CE}-\u{1D7FF}\u{1F100}-\u{1F10A}]/u;const bidiS4AN=/[\u0600-\u0605\u0660-\u0669\u066B\u066C\u06DD\u08E2\u{10D30}-\u{10D39}\u{10E60}-\u{10E7E}]/u;const bidiS5=/^[\0-\x08\x0E-\x1B!-\x84\x86-\u0377\u037A-\u037F\u0384-\u038A\u038C\u038E-\u03A1\u03A3-\u052F\u0531-\u0556\u0559-\u058A\u058D-\u058F\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0606\u0607\u0609\u060A\u060C\u060E-\u061A\u064B-\u065F\u066A\u0670\u06D6-\u06DC\u06DE-\u06E4\u06E7-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07F6-\u07F9\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A76\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C77-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E3A\u0E3F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FDA\u1000-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u137C\u1380-\u1399\u13A0-\u13F5\u13F8-\u13FD\u1400-\u167F\u1681-\u169C\u16A0-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1736\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u1800-\u180E\u1810-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE-\u1A1B\u1A1E-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1AB0-\u1ABE\u1B00-\u1B4B\u1B50-\u1B7C\u1B80-\u1BF3\u1BFC-\u1C37\u1C3B-\u1C49\u1C4D-\u1C88\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD0-\u1CFA\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u200B-\u200E\u2010-\u2027\u202F-\u205E\u2060-\u2064\u206A-\u2071\u2074-\u208E\u2090-\u209C\u20A0-\u20BF\u20D0-\u20F0\u2100-\u218B\u2190-\u2426\u2440-\u244A\u2460-\u2B73\u2B76-\u2B95\u2B98-\u2C2E\u2C30-\u2C5E\u2C60-\u2CF3\u2CF9-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2E4F\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303F\u3041-\u3096\u3099-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u4DB5\u4DC0-\u9FEF\uA000-\uA48C\uA490-\uA4C6\uA4D0-\uA62B\uA640-\uA6F7\uA700-\uA7BF\uA7C2-\uA7C6\uA7F7-\uA82B\uA830-\uA839\uA840-\uA877\uA880-\uA8C5\uA8CE-\uA8D9\uA8E0-\uA953\uA95F-\uA97C\uA980-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAAC2\uAADB-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB67\uAB70-\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1E\uFB29\uFD3E\uFD3F\uFDFD\uFE00-\uFE19\uFE20-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}-\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1018E}\u{10190}-\u{1019B}\u{101A0}\u{101D0}-\u{101FD}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E0}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{1037A}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{1091F}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10B39}-\u{10B3F}\u{10D24}-\u{10D27}\u{10F46}-\u{10F50}\u{11000}-\u{1104D}\u{11052}-\u{1106F}\u{1107F}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11100}-\u{11134}\u{11136}-\u{11146}\u{11150}-\u{11176}\u{11180}-\u{111CD}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1123E}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112EA}\u{112F0}-\u{112F9}\u{11300}-\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133B}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11400}-\u{11459}\u{1145B}\u{1145D}-\u{1145F}\u{11480}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B5}\u{115B8}-\u{115DD}\u{11600}-\u{11644}\u{11650}-\u{11659}\u{11660}-\u{1166C}\u{11680}-\u{116B8}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{1171D}-\u{1172B}\u{11730}-\u{1173F}\u{11800}-\u{1183B}\u{118A0}-\u{118F2}\u{118FF}\u{119A0}-\u{119A7}\u{119AA}-\u{119D7}\u{119DA}-\u{119E4}\u{11A00}-\u{11A47}\u{11A50}-\u{11AA2}\u{11AC0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C36}\u{11C38}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11C92}-\u{11CA7}\u{11CA9}-\u{11CB6}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D47}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D90}\u{11D91}\u{11D93}-\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF8}\u{11FC0}-\u{11FF1}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{13000}-\u{1342E}\u{13430}-\u{13438}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}\u{16A6F}\u{16AD0}-\u{16AED}\u{16AF0}-\u{16AF5}\u{16B00}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F4F}-\u{16F87}\u{16F8F}-\u{16F9F}\u{16FE0}-\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18AF2}\u{1B000}-\u{1B11E}\u{1B150}-\u{1B152}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}-\u{1BCA3}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D1E8}\u{1D200}-\u{1D245}\u{1D2E0}-\u{1D2F3}\u{1D300}-\u{1D356}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D7CB}\u{1D7CE}-\u{1DA8B}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E100}-\u{1E12C}\u{1E130}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E2C0}-\u{1E2F9}\u{1E2FF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{1EEF0}\u{1EEF1}\u{1F000}-\u{1F02B}\u{1F030}-\u{1F093}\u{1F0A0}-\u{1F0AE}\u{1F0B1}-\u{1F0BF}\u{1F0C1}-\u{1F0CF}\u{1F0D1}-\u{1F0F5}\u{1F100}-\u{1F10C}\u{1F110}-\u{1F16C}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{1F260}-\u{1F265}\u{1F300}-\u{1F6D5}\u{1F6E0}-\u{1F6EC}\u{1F6F0}-\u{1F6FA}\u{1F700}-\u{1F773}\u{1F780}-\u{1F7D8}\u{1F7E0}-\u{1F7EB}\u{1F800}-\u{1F80B}\u{1F810}-\u{1F847}\u{1F850}-\u{1F859}\u{1F860}-\u{1F887}\u{1F890}-\u{1F8AD}\u{1F900}-\u{1F90B}\u{1F90D}-\u{1F971}\u{1F973}-\u{1F976}\u{1F97A}-\u{1F9A2}\u{1F9A5}-\u{1F9AA}\u{1F9AE}-\u{1F9CA}\u{1F9CD}-\u{1FA53}\u{1FA60}-\u{1FA6D}\u{1FA70}-\u{1FA73}\u{1FA78}-\u{1FA7A}\u{1FA80}-\u{1FA82}\u{1FA90}-\u{1FA95}\u{20000}-\u{2A6D6}\u{2A700}-\u{2B734}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{E0001}\u{E0020}-\u{E007F}\u{E0100}-\u{E01EF}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}]*$/u;const bidiS6=/[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02BB-\u02C1\u02D0\u02D1\u02E0-\u02E4\u02EE\u0370-\u0373\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0482\u048A-\u052F\u0531-\u0556\u0559-\u0589\u06F0-\u06F9\u0903-\u0939\u093B\u093D-\u0940\u0949-\u094C\u094E-\u0950\u0958-\u0961\u0964-\u0980\u0982\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C0\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09FA\u09FC\u09FD\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A40\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A76\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC0\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0\u0AE1\u0AE6-\u0AF0\u0AF9\u0B02\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0BE6-\u0BF2\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C41-\u0C44\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C77\u0C7F\u0C80\u0C82-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D4F\u0D54-\u0D61\u0D66-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E4F-\u0E5B\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3E-\u0F47\u0F49-\u0F6C\u0F7F\u0F85\u0F88-\u0F8C\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE-\u0FDA\u1000-\u102C\u1031\u1038\u103B\u103C\u103F-\u1057\u105A-\u105D\u1061-\u1070\u1075-\u1081\u1083\u1084\u1087-\u108C\u108E-\u109C\u109E-\u10C5\u10C7\u10CD\u10D0-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1360-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u167F\u1681-\u169A\u16A0-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1735\u1736\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17B6\u17BE-\u17C5\u17C7\u17C8\u17D4-\u17DA\u17DC\u17E0-\u17E9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A19\u1A1A\u1A1E-\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1A80-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD\u1B04-\u1B33\u1B35\u1B3B\u1B3D-\u1B41\u1B43-\u1B4B\u1B50-\u1B6A\u1B74-\u1B7C\u1B82-\u1BA1\u1BA6\u1BA7\u1BAA\u1BAE-\u1BE5\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1BFC-\u1C2B\u1C34\u1C35\u1C3B-\u1C49\u1C4D-\u1C88\u1C90-\u1CBA\u1CBD-\u1CC7\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5-\u1CF7\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200E\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u214F\u2160-\u2188\u2336-\u237A\u2395\u2488-\u24E9\u26AC\u2800-\u28FF\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D70\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u302E\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3190-\u31BA\u31F0-\u321C\u3220-\u324F\u3260-\u327B\u327F-\u32B0\u32C0-\u32CB\u32D0-\u3376\u337B-\u33DD\u33E0-\u33FE\u3400-\u4DB5\u4E00-\u9FEF\uA000-\uA48C\uA4D0-\uA60C\uA610-\uA62B\uA640-\uA66E\uA680-\uA69D\uA6A0-\uA6EF\uA6F2-\uA6F7\uA722-\uA787\uA789-\uA7BF\uA7C2-\uA7C6\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA824\uA827\uA830-\uA837\uA840-\uA873\uA880-\uA8C3\uA8CE-\uA8D9\uA8F2-\uA8FE\uA900-\uA925\uA92E-\uA946\uA952\uA953\uA95F-\uA97C\uA983-\uA9B2\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9CD\uA9CF-\uA9D9\uA9DE-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA2F\uAA30\uAA33\uAA34\uAA40-\uAA42\uAA44-\uAA4B\uAA4D\uAA50-\uAA59\uAA5C-\uAA7B\uAA7D-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAAEB\uAAEE-\uAAF5\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB67\uAB70-\uABE4\uABE6\uABE7\uABE9-\uABEC\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uD800-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u{10000}-\u{1000B}\u{1000D}-\u{10026}\u{10028}-\u{1003A}\u{1003C}\u{1003D}\u{1003F}-\u{1004D}\u{10050}-\u{1005D}\u{10080}-\u{100FA}\u{10100}\u{10102}\u{10107}-\u{10133}\u{10137}-\u{1013F}\u{1018D}\u{1018E}\u{101D0}-\u{101FC}\u{10280}-\u{1029C}\u{102A0}-\u{102D0}\u{102E1}-\u{102FB}\u{10300}-\u{10323}\u{1032D}-\u{1034A}\u{10350}-\u{10375}\u{10380}-\u{1039D}\u{1039F}-\u{103C3}\u{103C8}-\u{103D5}\u{10400}-\u{1049D}\u{104A0}-\u{104A9}\u{104B0}-\u{104D3}\u{104D8}-\u{104FB}\u{10500}-\u{10527}\u{10530}-\u{10563}\u{1056F}\u{10600}-\u{10736}\u{10740}-\u{10755}\u{10760}-\u{10767}\u{11000}\u{11002}-\u{11037}\u{11047}-\u{1104D}\u{11066}-\u{1106F}\u{11082}-\u{110B2}\u{110B7}\u{110B8}\u{110BB}-\u{110C1}\u{110CD}\u{110D0}-\u{110E8}\u{110F0}-\u{110F9}\u{11103}-\u{11126}\u{1112C}\u{11136}-\u{11146}\u{11150}-\u{11172}\u{11174}-\u{11176}\u{11182}-\u{111B5}\u{111BF}-\u{111C8}\u{111CD}\u{111D0}-\u{111DF}\u{111E1}-\u{111F4}\u{11200}-\u{11211}\u{11213}-\u{1122E}\u{11232}\u{11233}\u{11235}\u{11238}-\u{1123D}\u{11280}-\u{11286}\u{11288}\u{1128A}-\u{1128D}\u{1128F}-\u{1129D}\u{1129F}-\u{112A9}\u{112B0}-\u{112DE}\u{112E0}-\u{112E2}\u{112F0}-\u{112F9}\u{11302}\u{11303}\u{11305}-\u{1130C}\u{1130F}\u{11310}\u{11313}-\u{11328}\u{1132A}-\u{11330}\u{11332}\u{11333}\u{11335}-\u{11339}\u{1133D}-\u{1133F}\u{11341}-\u{11344}\u{11347}\u{11348}\u{1134B}-\u{1134D}\u{11350}\u{11357}\u{1135D}-\u{11363}\u{11400}-\u{11437}\u{11440}\u{11441}\u{11445}\u{11447}-\u{11459}\u{1145B}\u{1145D}\u{1145F}\u{11480}-\u{114B2}\u{114B9}\u{114BB}-\u{114BE}\u{114C1}\u{114C4}-\u{114C7}\u{114D0}-\u{114D9}\u{11580}-\u{115B1}\u{115B8}-\u{115BB}\u{115BE}\u{115C1}-\u{115DB}\u{11600}-\u{11632}\u{1163B}\u{1163C}\u{1163E}\u{11641}-\u{11644}\u{11650}-\u{11659}\u{11680}-\u{116AA}\u{116AC}\u{116AE}\u{116AF}\u{116B6}\u{116B8}\u{116C0}-\u{116C9}\u{11700}-\u{1171A}\u{11720}\u{11721}\u{11726}\u{11730}-\u{1173F}\u{11800}-\u{1182E}\u{11838}\u{1183B}\u{118A0}-\u{118F2}\u{118FF}\u{119A0}-\u{119A7}\u{119AA}-\u{119D3}\u{119DC}-\u{119DF}\u{119E1}-\u{119E4}\u{11A00}\u{11A07}\u{11A08}\u{11A0B}-\u{11A32}\u{11A39}\u{11A3A}\u{11A3F}-\u{11A46}\u{11A50}\u{11A57}\u{11A58}\u{11A5C}-\u{11A89}\u{11A97}\u{11A9A}-\u{11AA2}\u{11AC0}-\u{11AF8}\u{11C00}-\u{11C08}\u{11C0A}-\u{11C2F}\u{11C3E}-\u{11C45}\u{11C50}-\u{11C6C}\u{11C70}-\u{11C8F}\u{11CA9}\u{11CB1}\u{11CB4}\u{11D00}-\u{11D06}\u{11D08}\u{11D09}\u{11D0B}-\u{11D30}\u{11D46}\u{11D50}-\u{11D59}\u{11D60}-\u{11D65}\u{11D67}\u{11D68}\u{11D6A}-\u{11D8E}\u{11D93}\u{11D94}\u{11D96}\u{11D98}\u{11DA0}-\u{11DA9}\u{11EE0}-\u{11EF2}\u{11EF5}-\u{11EF8}\u{11FC0}-\u{11FD4}\u{11FFF}-\u{12399}\u{12400}-\u{1246E}\u{12470}-\u{12474}\u{12480}-\u{12543}\u{13000}-\u{1342E}\u{13430}-\u{13438}\u{14400}-\u{14646}\u{16800}-\u{16A38}\u{16A40}-\u{16A5E}\u{16A60}-\u{16A69}\u{16A6E}\u{16A6F}\u{16AD0}-\u{16AED}\u{16AF5}\u{16B00}-\u{16B2F}\u{16B37}-\u{16B45}\u{16B50}-\u{16B59}\u{16B5B}-\u{16B61}\u{16B63}-\u{16B77}\u{16B7D}-\u{16B8F}\u{16E40}-\u{16E9A}\u{16F00}-\u{16F4A}\u{16F50}-\u{16F87}\u{16F93}-\u{16F9F}\u{16FE0}\u{16FE1}\u{16FE3}\u{17000}-\u{187F7}\u{18800}-\u{18AF2}\u{1B000}-\u{1B11E}\u{1B150}-\u{1B152}\u{1B164}-\u{1B167}\u{1B170}-\u{1B2FB}\u{1BC00}-\u{1BC6A}\u{1BC70}-\u{1BC7C}\u{1BC80}-\u{1BC88}\u{1BC90}-\u{1BC99}\u{1BC9C}\u{1BC9F}\u{1D000}-\u{1D0F5}\u{1D100}-\u{1D126}\u{1D129}-\u{1D166}\u{1D16A}-\u{1D172}\u{1D183}\u{1D184}\u{1D18C}-\u{1D1A9}\u{1D1AE}-\u{1D1E8}\u{1D2E0}-\u{1D2F3}\u{1D360}-\u{1D378}\u{1D400}-\u{1D454}\u{1D456}-\u{1D49C}\u{1D49E}\u{1D49F}\u{1D4A2}\u{1D4A5}\u{1D4A6}\u{1D4A9}-\u{1D4AC}\u{1D4AE}-\u{1D4B9}\u{1D4BB}\u{1D4BD}-\u{1D4C3}\u{1D4C5}-\u{1D505}\u{1D507}-\u{1D50A}\u{1D50D}-\u{1D514}\u{1D516}-\u{1D51C}\u{1D51E}-\u{1D539}\u{1D53B}-\u{1D53E}\u{1D540}-\u{1D544}\u{1D546}\u{1D54A}-\u{1D550}\u{1D552}-\u{1D6A5}\u{1D6A8}-\u{1D6DA}\u{1D6DC}-\u{1D714}\u{1D716}-\u{1D74E}\u{1D750}-\u{1D788}\u{1D78A}-\u{1D7C2}\u{1D7C4}-\u{1D7CB}\u{1D7CE}-\u{1D9FF}\u{1DA37}-\u{1DA3A}\u{1DA6D}-\u{1DA74}\u{1DA76}-\u{1DA83}\u{1DA85}-\u{1DA8B}\u{1E100}-\u{1E12C}\u{1E137}-\u{1E13D}\u{1E140}-\u{1E149}\u{1E14E}\u{1E14F}\u{1E2C0}-\u{1E2EB}\u{1E2F0}-\u{1E2F9}\u{1F100}-\u{1F10A}\u{1F110}-\u{1F12E}\u{1F130}-\u{1F169}\u{1F170}-\u{1F1AC}\u{1F1E6}-\u{1F202}\u{1F210}-\u{1F23B}\u{1F240}-\u{1F248}\u{1F250}\u{1F251}\u{20000}-\u{2A6D6}\u{2A700}-\u{2B734}\u{2B740}-\u{2B81D}\u{2B820}-\u{2CEA1}\u{2CEB0}-\u{2EBE0}\u{2F800}-\u{2FA1D}\u{F0000}-\u{FFFFD}\u{100000}-\u{10FFFD}][\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\u{101FD}\u{102E0}\u{10376}-\u{1037A}\u{10A01}-\u{10A03}\u{10A05}\u{10A06}\u{10A0C}-\u{10A0F}\u{10A38}-\u{10A3A}\u{10A3F}\u{10AE5}\u{10AE6}\u{10D24}-\u{10D27}\u{10F46}-\u{10F50}\u{11001}\u{11038}-\u{11046}\u{1107F}-\u{11081}\u{110B3}-\u{110B6}\u{110B9}\u{110BA}\u{11100}-\u{11102}\u{11127}-\u{1112B}\u{1112D}-\u{11134}\u{11173}\u{11180}\u{11181}\u{111B6}-\u{111BE}\u{111C9}-\u{111CC}\u{1122F}-\u{11231}\u{11234}\u{11236}\u{11237}\u{1123E}\u{112DF}\u{112E3}-\u{112EA}\u{11300}\u{11301}\u{1133B}\u{1133C}\u{11340}\u{11366}-\u{1136C}\u{11370}-\u{11374}\u{11438}-\u{1143F}\u{11442}-\u{11444}\u{11446}\u{1145E}\u{114B3}-\u{114B8}\u{114BA}\u{114BF}\u{114C0}\u{114C2}\u{114C3}\u{115B2}-\u{115B5}\u{115BC}\u{115BD}\u{115BF}\u{115C0}\u{115DC}\u{115DD}\u{11633}-\u{1163A}\u{1163D}\u{1163F}\u{11640}\u{116AB}\u{116AD}\u{116B0}-\u{116B5}\u{116B7}\u{1171D}-\u{1171F}\u{11722}-\u{11725}\u{11727}-\u{1172B}\u{1182F}-\u{11837}\u{11839}\u{1183A}\u{119D4}-\u{119D7}\u{119DA}\u{119DB}\u{119E0}\u{11A01}-\u{11A06}\u{11A09}\u{11A0A}\u{11A33}-\u{11A38}\u{11A3B}-\u{11A3E}\u{11A47}\u{11A51}-\u{11A56}\u{11A59}-\u{11A5B}\u{11A8A}-\u{11A96}\u{11A98}\u{11A99}\u{11C30}-\u{11C36}\u{11C38}-\u{11C3D}\u{11C92}-\u{11CA7}\u{11CAA}-\u{11CB0}\u{11CB2}\u{11CB3}\u{11CB5}\u{11CB6}\u{11D31}-\u{11D36}\u{11D3A}\u{11D3C}\u{11D3D}\u{11D3F}-\u{11D45}\u{11D47}\u{11D90}\u{11D91}\u{11D95}\u{11D97}\u{11EF3}\u{11EF4}\u{16AF0}-\u{16AF4}\u{16B30}-\u{16B36}\u{16F4F}\u{16F8F}-\u{16F92}\u{1BC9D}\u{1BC9E}\u{1D167}-\u{1D169}\u{1D17B}-\u{1D182}\u{1D185}-\u{1D18B}\u{1D1AA}-\u{1D1AD}\u{1D242}-\u{1D244}\u{1DA00}-\u{1DA36}\u{1DA3B}-\u{1DA6C}\u{1DA75}\u{1DA84}\u{1DA9B}-\u{1DA9F}\u{1DAA1}-\u{1DAAF}\u{1E000}-\u{1E006}\u{1E008}-\u{1E018}\u{1E01B}-\u{1E021}\u{1E023}\u{1E024}\u{1E026}-\u{1E02A}\u{1E130}-\u{1E136}\u{1E2EC}-\u{1E2EF}\u{1E8D0}-\u{1E8D6}\u{1E944}-\u{1E94A}\u{E0100}-\u{E01EF}]*$/u;module.exports={combiningMarks:combiningMarks,combiningClassVirama:combiningClassVirama,validZWNJ:validZWNJ,bidiDomain:bidiDomain,bidiS1LTR:bidiS1LTR,bidiS1RTL:bidiS1RTL,bidiS2:bidiS2,bidiS3:bidiS3,bidiS4EN:bidiS4EN,bidiS4AN:bidiS4AN,bidiS5:bidiS5,bidiS6:bidiS6}},{}],991:[function(require,module,exports){"use strict";module.exports.STATUS_MAPPING={mapped:1,valid:2,disallowed:3,disallowed_STD3_valid:4,disallowed_STD3_mapped:5,deviation:6,ignored:7}},{}],992:[function(require,module,exports){(function(process){"use strict";var net=require("net"),tls=require("tls"),http=require("http"),https=require("https"),events=require("events"),assert=require("assert"),util=require("util"),Buffer=require("safe-buffer").Buffer;exports.httpOverHttp=httpOverHttp;exports.httpsOverHttp=httpsOverHttp;exports.httpOverHttps=httpOverHttps;exports.httpsOverHttps=httpsOverHttps;function httpOverHttp(options){var agent=new TunnelingAgent(options);agent.request=http.request;return agent}function httpsOverHttp(options){var agent=new TunnelingAgent(options);agent.request=http.request;agent.createSocket=createSecureSocket;agent.defaultPort=443;return agent}function httpOverHttps(options){var agent=new TunnelingAgent(options);agent.request=https.request;return agent}function httpsOverHttps(options){var agent=new TunnelingAgent(options);agent.request=https.request;agent.createSocket=createSecureSocket;agent.defaultPort=443;return agent}function TunnelingAgent(options){var self=this;self.options=options||{};self.proxyOptions=self.options.proxy||{};self.maxSockets=self.options.maxSockets||http.Agent.defaultMaxSockets;self.requests=[];self.sockets=[];self.on("free",(function onFree(socket,host,port){for(var i=0,len=self.requests.length;i<len;++i){var pending=self.requests[i];if(pending.host===host&&pending.port===port){self.requests.splice(i,1);pending.request.onSocket(socket);return}}socket.destroy();self.removeSocket(socket)}))}util.inherits(TunnelingAgent,events.EventEmitter);TunnelingAgent.prototype.addRequest=function addRequest(req,options){var self=this;if(typeof options==="string"){options={host:options,port:arguments[2],path:arguments[3]}}if(self.sockets.length>=this.maxSockets){self.requests.push({host:options.host,port:options.port,request:req});return}self.createConnection({host:options.host,port:options.port,request:req})};TunnelingAgent.prototype.createConnection=function createConnection(pending){var self=this;self.createSocket(pending,(function(socket){socket.on("free",onFree);socket.on("close",onCloseOrRemove);socket.on("agentRemove",onCloseOrRemove);pending.request.onSocket(socket);function onFree(){self.emit("free",socket,pending.host,pending.port)}function onCloseOrRemove(err){self.removeSocket(socket);socket.removeListener("free",onFree);socket.removeListener("close",onCloseOrRemove);socket.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(options,cb){var self=this;var placeholder={};self.sockets.push(placeholder);var connectOptions=mergeOptions({},self.proxyOptions,{method:"CONNECT",path:options.host+":"+options.port,agent:false});if(connectOptions.proxyAuth){connectOptions.headers=connectOptions.headers||{};connectOptions.headers["Proxy-Authorization"]="Basic "+Buffer.from(connectOptions.proxyAuth).toString("base64")}debug("making CONNECT request");var connectReq=self.request(connectOptions);connectReq.useChunkedEncodingByDefault=false;connectReq.once("response",onResponse);connectReq.once("upgrade",onUpgrade);connectReq.once("connect",onConnect);connectReq.once("error",onError);connectReq.end();function onResponse(res){res.upgrade=true}function onUpgrade(res,socket,head){process.nextTick((function(){onConnect(res,socket,head)}))}function onConnect(res,socket,head){connectReq.removeAllListeners();socket.removeAllListeners();if(res.statusCode===200){assert.equal(head.length,0);debug("tunneling connection has established");self.sockets[self.sockets.indexOf(placeholder)]=socket;cb(socket)}else{debug("tunneling socket could not be established, statusCode=%d",res.statusCode);var error=new Error("tunneling socket could not be established, "+"statusCode="+res.statusCode);error.code="ECONNRESET";options.request.emit("error",error);self.removeSocket(placeholder)}}function onError(cause){connectReq.removeAllListeners();debug("tunneling socket could not be established, cause=%s\n",cause.message,cause.stack);var error=new Error("tunneling socket could not be established, "+"cause="+cause.message);error.code="ECONNRESET";options.request.emit("error",error);self.removeSocket(placeholder)}};TunnelingAgent.prototype.removeSocket=function removeSocket(socket){var pos=this.sockets.indexOf(socket);if(pos===-1)return;this.sockets.splice(pos,1);var pending=this.requests.shift();if(pending){this.createConnection(pending)}};function createSecureSocket(options,cb){var self=this;TunnelingAgent.prototype.createSocket.call(self,options,(function(socket){var secureSocket=tls.connect(0,mergeOptions({},self.options,{servername:options.host,socket:socket}));self.sockets[self.sockets.indexOf(socket)]=secureSocket;cb(secureSocket)}))}function mergeOptions(target){for(var i=1,len=arguments.length;i<len;++i){var overrides=arguments[i];if(typeof overrides==="object"){var keys=Object.keys(overrides);for(var j=0,keyLen=keys.length;j<keyLen;++j){var k=keys[j];if(overrides[k]!==undefined){target[k]=overrides[k]}}}}return target}var debug;if(process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)){debug=function(){var args=Array.prototype.slice.call(arguments);if(typeof args[0]==="string"){args[0]="TUNNEL: "+args[0]}else{args.unshift("TUNNEL:")}console.error.apply(console,args)}}else{debug=function(){}}exports.debug=debug}).call(this,require("_process"))},{_process:855,assert:71,events:241,http:956,https:305,net:129,"safe-buffer":907,tls:129,util:1e3}],993:[function(require,module,exports){(function(nacl){"use strict";var gf=function(init){var i,r=new Float64Array(16);if(init)for(i=0;i<init.length;i++)r[i]=init[i];return r};var randombytes=function(){throw new Error("no PRNG")};var _0=new Uint8Array(16);var _9=new Uint8Array(32);_9[0]=9;var gf0=gf(),gf1=gf([1]),_121665=gf([56129,1]),D=gf([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),D2=gf([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),X=gf([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),Y=gf([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),I=gf([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function ts64(x,i,h,l){x[i]=h>>24&255;x[i+1]=h>>16&255;x[i+2]=h>>8&255;x[i+3]=h&255;x[i+4]=l>>24&255;x[i+5]=l>>16&255;x[i+6]=l>>8&255;x[i+7]=l&255}function vn(x,xi,y,yi,n){var i,d=0;for(i=0;i<n;i++)d|=x[xi+i]^y[yi+i];return(1&d-1>>>8)-1}function crypto_verify_16(x,xi,y,yi){return vn(x,xi,y,yi,16)}function crypto_verify_32(x,xi,y,yi){return vn(x,xi,y,yi,32)}function core_salsa20(o,p,k,c){var j0=c[0]&255|(c[1]&255)<<8|(c[2]&255)<<16|(c[3]&255)<<24,j1=k[0]&255|(k[1]&255)<<8|(k[2]&255)<<16|(k[3]&255)<<24,j2=k[4]&255|(k[5]&255)<<8|(k[6]&255)<<16|(k[7]&255)<<24,j3=k[8]&255|(k[9]&255)<<8|(k[10]&255)<<16|(k[11]&255)<<24,j4=k[12]&255|(k[13]&255)<<8|(k[14]&255)<<16|(k[15]&255)<<24,j5=c[4]&255|(c[5]&255)<<8|(c[6]&255)<<16|(c[7]&255)<<24,j6=p[0]&255|(p[1]&255)<<8|(p[2]&255)<<16|(p[3]&255)<<24,j7=p[4]&255|(p[5]&255)<<8|(p[6]&255)<<16|(p[7]&255)<<24,j8=p[8]&255|(p[9]&255)<<8|(p[10]&255)<<16|(p[11]&255)<<24,j9=p[12]&255|(p[13]&255)<<8|(p[14]&255)<<16|(p[15]&255)<<24,j10=c[8]&255|(c[9]&255)<<8|(c[10]&255)<<16|(c[11]&255)<<24,j11=k[16]&255|(k[17]&255)<<8|(k[18]&255)<<16|(k[19]&255)<<24,j12=k[20]&255|(k[21]&255)<<8|(k[22]&255)<<16|(k[23]&255)<<24,j13=k[24]&255|(k[25]&255)<<8|(k[26]&255)<<16|(k[27]&255)<<24,j14=k[28]&255|(k[29]&255)<<8|(k[30]&255)<<16|(k[31]&255)<<24,j15=c[12]&255|(c[13]&255)<<8|(c[14]&255)<<16|(c[15]&255)<<24;var x0=j0,x1=j1,x2=j2,x3=j3,x4=j4,x5=j5,x6=j6,x7=j7,x8=j8,x9=j9,x10=j10,x11=j11,x12=j12,x13=j13,x14=j14,x15=j15,u;for(var i=0;i<20;i+=2){u=x0+x12|0;x4^=u<<7|u>>>32-7;u=x4+x0|0;x8^=u<<9|u>>>32-9;u=x8+x4|0;x12^=u<<13|u>>>32-13;u=x12+x8|0;x0^=u<<18|u>>>32-18;u=x5+x1|0;x9^=u<<7|u>>>32-7;u=x9+x5|0;x13^=u<<9|u>>>32-9;u=x13+x9|0;x1^=u<<13|u>>>32-13;u=x1+x13|0;x5^=u<<18|u>>>32-18;u=x10+x6|0;x14^=u<<7|u>>>32-7;u=x14+x10|0;x2^=u<<9|u>>>32-9;u=x2+x14|0;x6^=u<<13|u>>>32-13;u=x6+x2|0;x10^=u<<18|u>>>32-18;u=x15+x11|0;x3^=u<<7|u>>>32-7;u=x3+x15|0;x7^=u<<9|u>>>32-9;u=x7+x3|0;x11^=u<<13|u>>>32-13;u=x11+x7|0;x15^=u<<18|u>>>32-18;u=x0+x3|0;x1^=u<<7|u>>>32-7;u=x1+x0|0;x2^=u<<9|u>>>32-9;u=x2+x1|0;x3^=u<<13|u>>>32-13;u=x3+x2|0;x0^=u<<18|u>>>32-18;u=x5+x4|0;x6^=u<<7|u>>>32-7;u=x6+x5|0;x7^=u<<9|u>>>32-9;u=x7+x6|0;x4^=u<<13|u>>>32-13;u=x4+x7|0;x5^=u<<18|u>>>32-18;u=x10+x9|0;x11^=u<<7|u>>>32-7;u=x11+x10|0;x8^=u<<9|u>>>32-9;u=x8+x11|0;x9^=u<<13|u>>>32-13;u=x9+x8|0;x10^=u<<18|u>>>32-18;u=x15+x14|0;x12^=u<<7|u>>>32-7;u=x12+x15|0;x13^=u<<9|u>>>32-9;u=x13+x12|0;x14^=u<<13|u>>>32-13;u=x14+x13|0;x15^=u<<18|u>>>32-18}x0=x0+j0|0;x1=x1+j1|0;x2=x2+j2|0;x3=x3+j3|0;x4=x4+j4|0;x5=x5+j5|0;x6=x6+j6|0;x7=x7+j7|0;x8=x8+j8|0;x9=x9+j9|0;x10=x10+j10|0;x11=x11+j11|0;x12=x12+j12|0;x13=x13+j13|0;x14=x14+j14|0;x15=x15+j15|0;o[0]=x0>>>0&255;o[1]=x0>>>8&255;o[2]=x0>>>16&255;o[3]=x0>>>24&255;o[4]=x1>>>0&255;o[5]=x1>>>8&255;o[6]=x1>>>16&255;o[7]=x1>>>24&255;o[8]=x2>>>0&255;o[9]=x2>>>8&255;o[10]=x2>>>16&255;o[11]=x2>>>24&255;o[12]=x3>>>0&255;o[13]=x3>>>8&255;o[14]=x3>>>16&255;o[15]=x3>>>24&255;o[16]=x4>>>0&255;o[17]=x4>>>8&255;o[18]=x4>>>16&255;o[19]=x4>>>24&255;o[20]=x5>>>0&255;o[21]=x5>>>8&255;o[22]=x5>>>16&255;o[23]=x5>>>24&255;o[24]=x6>>>0&255;o[25]=x6>>>8&255;o[26]=x6>>>16&255;o[27]=x6>>>24&255;o[28]=x7>>>0&255;o[29]=x7>>>8&255;o[30]=x7>>>16&255;o[31]=x7>>>24&255;o[32]=x8>>>0&255;o[33]=x8>>>8&255;o[34]=x8>>>16&255;o[35]=x8>>>24&255;o[36]=x9>>>0&255;o[37]=x9>>>8&255;o[38]=x9>>>16&255;o[39]=x9>>>24&255;o[40]=x10>>>0&255;o[41]=x10>>>8&255;o[42]=x10>>>16&255;o[43]=x10>>>24&255;o[44]=x11>>>0&255;o[45]=x11>>>8&255;o[46]=x11>>>16&255;o[47]=x11>>>24&255;o[48]=x12>>>0&255;o[49]=x12>>>8&255;o[50]=x12>>>16&255;o[51]=x12>>>24&255;o[52]=x13>>>0&255;o[53]=x13>>>8&255;o[54]=x13>>>16&255;o[55]=x13>>>24&255;o[56]=x14>>>0&255;o[57]=x14>>>8&255;o[58]=x14>>>16&255;o[59]=x14>>>24&255;o[60]=x15>>>0&255;o[61]=x15>>>8&255;o[62]=x15>>>16&255;o[63]=x15>>>24&255}function core_hsalsa20(o,p,k,c){var j0=c[0]&255|(c[1]&255)<<8|(c[2]&255)<<16|(c[3]&255)<<24,j1=k[0]&255|(k[1]&255)<<8|(k[2]&255)<<16|(k[3]&255)<<24,j2=k[4]&255|(k[5]&255)<<8|(k[6]&255)<<16|(k[7]&255)<<24,j3=k[8]&255|(k[9]&255)<<8|(k[10]&255)<<16|(k[11]&255)<<24,j4=k[12]&255|(k[13]&255)<<8|(k[14]&255)<<16|(k[15]&255)<<24,j5=c[4]&255|(c[5]&255)<<8|(c[6]&255)<<16|(c[7]&255)<<24,j6=p[0]&255|(p[1]&255)<<8|(p[2]&255)<<16|(p[3]&255)<<24,j7=p[4]&255|(p[5]&255)<<8|(p[6]&255)<<16|(p[7]&255)<<24,j8=p[8]&255|(p[9]&255)<<8|(p[10]&255)<<16|(p[11]&255)<<24,j9=p[12]&255|(p[13]&255)<<8|(p[14]&255)<<16|(p[15]&255)<<24,j10=c[8]&255|(c[9]&255)<<8|(c[10]&255)<<16|(c[11]&255)<<24,j11=k[16]&255|(k[17]&255)<<8|(k[18]&255)<<16|(k[19]&255)<<24,j12=k[20]&255|(k[21]&255)<<8|(k[22]&255)<<16|(k[23]&255)<<24,j13=k[24]&255|(k[25]&255)<<8|(k[26]&255)<<16|(k[27]&255)<<24,j14=k[28]&255|(k[29]&255)<<8|(k[30]&255)<<16|(k[31]&255)<<24,j15=c[12]&255|(c[13]&255)<<8|(c[14]&255)<<16|(c[15]&255)<<24;var x0=j0,x1=j1,x2=j2,x3=j3,x4=j4,x5=j5,x6=j6,x7=j7,x8=j8,x9=j9,x10=j10,x11=j11,x12=j12,x13=j13,x14=j14,x15=j15,u;for(var i=0;i<20;i+=2){u=x0+x12|0;x4^=u<<7|u>>>32-7;u=x4+x0|0;x8^=u<<9|u>>>32-9;u=x8+x4|0;x12^=u<<13|u>>>32-13;u=x12+x8|0;x0^=u<<18|u>>>32-18;u=x5+x1|0;x9^=u<<7|u>>>32-7;u=x9+x5|0;x13^=u<<9|u>>>32-9;u=x13+x9|0;x1^=u<<13|u>>>32-13;u=x1+x13|0;x5^=u<<18|u>>>32-18;u=x10+x6|0;x14^=u<<7|u>>>32-7;u=x14+x10|0;x2^=u<<9|u>>>32-9;u=x2+x14|0;x6^=u<<13|u>>>32-13;u=x6+x2|0;x10^=u<<18|u>>>32-18;u=x15+x11|0;x3^=u<<7|u>>>32-7;u=x3+x15|0;x7^=u<<9|u>>>32-9;u=x7+x3|0;x11^=u<<13|u>>>32-13;u=x11+x7|0;x15^=u<<18|u>>>32-18;u=x0+x3|0;x1^=u<<7|u>>>32-7;u=x1+x0|0;x2^=u<<9|u>>>32-9;u=x2+x1|0;x3^=u<<13|u>>>32-13;u=x3+x2|0;x0^=u<<18|u>>>32-18;u=x5+x4|0;x6^=u<<7|u>>>32-7;u=x6+x5|0;x7^=u<<9|u>>>32-9;u=x7+x6|0;x4^=u<<13|u>>>32-13;u=x4+x7|0;x5^=u<<18|u>>>32-18;u=x10+x9|0;x11^=u<<7|u>>>32-7;u=x11+x10|0;x8^=u<<9|u>>>32-9;u=x8+x11|0;x9^=u<<13|u>>>32-13;u=x9+x8|0;x10^=u<<18|u>>>32-18;u=x15+x14|0;x12^=u<<7|u>>>32-7;u=x12+x15|0;x13^=u<<9|u>>>32-9;u=x13+x12|0;x14^=u<<13|u>>>32-13;u=x14+x13|0;x15^=u<<18|u>>>32-18}o[0]=x0>>>0&255;o[1]=x0>>>8&255;o[2]=x0>>>16&255;o[3]=x0>>>24&255;o[4]=x5>>>0&255;o[5]=x5>>>8&255;o[6]=x5>>>16&255;o[7]=x5>>>24&255;o[8]=x10>>>0&255;o[9]=x10>>>8&255;o[10]=x10>>>16&255;o[11]=x10>>>24&255;o[12]=x15>>>0&255;o[13]=x15>>>8&255;o[14]=x15>>>16&255;o[15]=x15>>>24&255;o[16]=x6>>>0&255;o[17]=x6>>>8&255;o[18]=x6>>>16&255;o[19]=x6>>>24&255;o[20]=x7>>>0&255;o[21]=x7>>>8&255;o[22]=x7>>>16&255;o[23]=x7>>>24&255;o[24]=x8>>>0&255;o[25]=x8>>>8&255;o[26]=x8>>>16&255;o[27]=x8>>>24&255;o[28]=x9>>>0&255;o[29]=x9>>>8&255;o[30]=x9>>>16&255;o[31]=x9>>>24&255}function crypto_core_salsa20(out,inp,k,c){core_salsa20(out,inp,k,c)}function crypto_core_hsalsa20(out,inp,k,c){core_hsalsa20(out,inp,k,c)}var sigma=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function crypto_stream_salsa20_xor(c,cpos,m,mpos,b,n,k){var z=new Uint8Array(16),x=new Uint8Array(64);var u,i;for(i=0;i<16;i++)z[i]=0;for(i=0;i<8;i++)z[i]=n[i];while(b>=64){crypto_core_salsa20(x,z,k,sigma);for(i=0;i<64;i++)c[cpos+i]=m[mpos+i]^x[i];u=1;for(i=8;i<16;i++){u=u+(z[i]&255)|0;z[i]=u&255;u>>>=8}b-=64;cpos+=64;mpos+=64}if(b>0){crypto_core_salsa20(x,z,k,sigma);for(i=0;i<b;i++)c[cpos+i]=m[mpos+i]^x[i]}return 0}function crypto_stream_salsa20(c,cpos,b,n,k){var z=new Uint8Array(16),x=new Uint8Array(64);var u,i;for(i=0;i<16;i++)z[i]=0;for(i=0;i<8;i++)z[i]=n[i];while(b>=64){crypto_core_salsa20(x,z,k,sigma);for(i=0;i<64;i++)c[cpos+i]=x[i];u=1;for(i=8;i<16;i++){u=u+(z[i]&255)|0;z[i]=u&255;u>>>=8}b-=64;cpos+=64}if(b>0){crypto_core_salsa20(x,z,k,sigma);for(i=0;i<b;i++)c[cpos+i]=x[i]}return 0}function crypto_stream(c,cpos,d,n,k){var s=new Uint8Array(32);crypto_core_hsalsa20(s,n,k,sigma);var sn=new Uint8Array(8);for(var i=0;i<8;i++)sn[i]=n[i+16];return crypto_stream_salsa20(c,cpos,d,sn,s)}function crypto_stream_xor(c,cpos,m,mpos,d,n,k){var s=new Uint8Array(32);crypto_core_hsalsa20(s,n,k,sigma);var sn=new Uint8Array(8);for(var i=0;i<8;i++)sn[i]=n[i+16];return crypto_stream_salsa20_xor(c,cpos,m,mpos,d,sn,s)}var poly1305=function(key){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 t0,t1,t2,t3,t4,t5,t6,t7;t0=key[0]&255|(key[1]&255)<<8;this.r[0]=t0&8191;t1=key[2]&255|(key[3]&255)<<8;this.r[1]=(t0>>>13|t1<<3)&8191;t2=key[4]&255|(key[5]&255)<<8;this.r[2]=(t1>>>10|t2<<6)&7939;t3=key[6]&255|(key[7]&255)<<8;this.r[3]=(t2>>>7|t3<<9)&8191;t4=key[8]&255|(key[9]&255)<<8;this.r[4]=(t3>>>4|t4<<12)&255;this.r[5]=t4>>>1&8190;t5=key[10]&255|(key[11]&255)<<8;this.r[6]=(t4>>>14|t5<<2)&8191;t6=key[12]&255|(key[13]&255)<<8;this.r[7]=(t5>>>11|t6<<5)&8065;t7=key[14]&255|(key[15]&255)<<8;this.r[8]=(t6>>>8|t7<<8)&8191;this.r[9]=t7>>>5&127;this.pad[0]=key[16]&255|(key[17]&255)<<8;this.pad[1]=key[18]&255|(key[19]&255)<<8;this.pad[2]=key[20]&255|(key[21]&255)<<8;this.pad[3]=key[22]&255|(key[23]&255)<<8;this.pad[4]=key[24]&255|(key[25]&255)<<8;this.pad[5]=key[26]&255|(key[27]&255)<<8;this.pad[6]=key[28]&255|(key[29]&255)<<8;this.pad[7]=key[30]&255|(key[31]&255)<<8};poly1305.prototype.blocks=function(m,mpos,bytes){var hibit=this.fin?0:1<<11;var t0,t1,t2,t3,t4,t5,t6,t7,c;var d0,d1,d2,d3,d4,d5,d6,d7,d8,d9;var h0=this.h[0],h1=this.h[1],h2=this.h[2],h3=this.h[3],h4=this.h[4],h5=this.h[5],h6=this.h[6],h7=this.h[7],h8=this.h[8],h9=this.h[9];var r0=this.r[0],r1=this.r[1],r2=this.r[2],r3=this.r[3],r4=this.r[4],r5=this.r[5],r6=this.r[6],r7=this.r[7],r8=this.r[8],r9=this.r[9];while(bytes>=16){t0=m[mpos+0]&255|(m[mpos+1]&255)<<8;h0+=t0&8191;t1=m[mpos+2]&255|(m[mpos+3]&255)<<8;h1+=(t0>>>13|t1<<3)&8191;t2=m[mpos+4]&255|(m[mpos+5]&255)<<8;h2+=(t1>>>10|t2<<6)&8191;t3=m[mpos+6]&255|(m[mpos+7]&255)<<8;h3+=(t2>>>7|t3<<9)&8191;t4=m[mpos+8]&255|(m[mpos+9]&255)<<8;h4+=(t3>>>4|t4<<12)&8191;h5+=t4>>>1&8191;t5=m[mpos+10]&255|(m[mpos+11]&255)<<8;h6+=(t4>>>14|t5<<2)&8191;t6=m[mpos+12]&255|(m[mpos+13]&255)<<8;h7+=(t5>>>11|t6<<5)&8191;t7=m[mpos+14]&255|(m[mpos+15]&255)<<8;h8+=(t6>>>8|t7<<8)&8191;h9+=t7>>>5|hibit;c=0;d0=c;d0+=h0*r0;d0+=h1*(5*r9);d0+=h2*(5*r8);d0+=h3*(5*r7);d0+=h4*(5*r6);c=d0>>>13;d0&=8191;d0+=h5*(5*r5);d0+=h6*(5*r4);d0+=h7*(5*r3);d0+=h8*(5*r2);d0+=h9*(5*r1);c+=d0>>>13;d0&=8191;d1=c;d1+=h0*r1;d1+=h1*r0;d1+=h2*(5*r9);d1+=h3*(5*r8);d1+=h4*(5*r7);c=d1>>>13;d1&=8191;d1+=h5*(5*r6);d1+=h6*(5*r5);d1+=h7*(5*r4);d1+=h8*(5*r3);d1+=h9*(5*r2);c+=d1>>>13;d1&=8191;d2=c;d2+=h0*r2;d2+=h1*r1;d2+=h2*r0;d2+=h3*(5*r9);d2+=h4*(5*r8);c=d2>>>13;d2&=8191;d2+=h5*(5*r7);d2+=h6*(5*r6);d2+=h7*(5*r5);d2+=h8*(5*r4);d2+=h9*(5*r3);c+=d2>>>13;d2&=8191;d3=c;d3+=h0*r3;d3+=h1*r2;d3+=h2*r1;d3+=h3*r0;d3+=h4*(5*r9);c=d3>>>13;d3&=8191;d3+=h5*(5*r8);d3+=h6*(5*r7);d3+=h7*(5*r6);d3+=h8*(5*r5);d3+=h9*(5*r4);c+=d3>>>13;d3&=8191;d4=c;d4+=h0*r4;d4+=h1*r3;d4+=h2*r2;d4+=h3*r1;d4+=h4*r0;c=d4>>>13;d4&=8191;d4+=h5*(5*r9);d4+=h6*(5*r8);d4+=h7*(5*r7);d4+=h8*(5*r6);d4+=h9*(5*r5);c+=d4>>>13;d4&=8191;d5=c;d5+=h0*r5;d5+=h1*r4;d5+=h2*r3;d5+=h3*r2;d5+=h4*r1;c=d5>>>13;d5&=8191;d5+=h5*r0;d5+=h6*(5*r9);d5+=h7*(5*r8);d5+=h8*(5*r7);d5+=h9*(5*r6);c+=d5>>>13;d5&=8191;d6=c;d6+=h0*r6;d6+=h1*r5;d6+=h2*r4;d6+=h3*r3;d6+=h4*r2;c=d6>>>13;d6&=8191;d6+=h5*r1;d6+=h6*r0;d6+=h7*(5*r9);d6+=h8*(5*r8);d6+=h9*(5*r7);c+=d6>>>13;d6&=8191;d7=c;d7+=h0*r7;d7+=h1*r6;d7+=h2*r5;d7+=h3*r4;d7+=h4*r3;c=d7>>>13;d7&=8191;d7+=h5*r2;d7+=h6*r1;d7+=h7*r0;d7+=h8*(5*r9);d7+=h9*(5*r8);c+=d7>>>13;d7&=8191;d8=c;d8+=h0*r8;d8+=h1*r7;d8+=h2*r6;d8+=h3*r5;d8+=h4*r4;c=d8>>>13;d8&=8191;d8+=h5*r3;d8+=h6*r2;d8+=h7*r1;d8+=h8*r0;d8+=h9*(5*r9);c+=d8>>>13;d8&=8191;d9=c;d9+=h0*r9;d9+=h1*r8;d9+=h2*r7;d9+=h3*r6;d9+=h4*r5;c=d9>>>13;d9&=8191;d9+=h5*r4;d9+=h6*r3;d9+=h7*r2;d9+=h8*r1;d9+=h9*r0;c+=d9>>>13;d9&=8191;c=(c<<2)+c|0;c=c+d0|0;d0=c&8191;c=c>>>13;d1+=c;h0=d0;h1=d1;h2=d2;h3=d3;h4=d4;h5=d5;h6=d6;h7=d7;h8=d8;h9=d9;mpos+=16;bytes-=16}this.h[0]=h0;this.h[1]=h1;this.h[2]=h2;this.h[3]=h3;this.h[4]=h4;this.h[5]=h5;this.h[6]=h6;this.h[7]=h7;this.h[8]=h8;this.h[9]=h9};poly1305.prototype.finish=function(mac,macpos){var g=new Uint16Array(10);var c,mask,f,i;if(this.leftover){i=this.leftover;this.buffer[i++]=1;for(;i<16;i++)this.buffer[i]=0;this.fin=1;this.blocks(this.buffer,0,16)}c=this.h[1]>>>13;this.h[1]&=8191;for(i=2;i<10;i++){this.h[i]+=c;c=this.h[i]>>>13;this.h[i]&=8191}this.h[0]+=c*5;c=this.h[0]>>>13;this.h[0]&=8191;this.h[1]+=c;c=this.h[1]>>>13;this.h[1]&=8191;this.h[2]+=c;g[0]=this.h[0]+5;c=g[0]>>>13;g[0]&=8191;for(i=1;i<10;i++){g[i]=this.h[i]+c;c=g[i]>>>13;g[i]&=8191}g[9]-=1<<13;mask=(c^1)-1;for(i=0;i<10;i++)g[i]&=mask;mask=~mask;for(i=0;i<10;i++)this.h[i]=this.h[i]&mask|g[i];this.h[0]=(this.h[0]|this.h[1]<<13)&65535;this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535;this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535;this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535;this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535;this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535;this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535;this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535;f=this.h[0]+this.pad[0];this.h[0]=f&65535;for(i=1;i<8;i++){f=(this.h[i]+this.pad[i]|0)+(f>>>16)|0;this.h[i]=f&65535}mac[macpos+0]=this.h[0]>>>0&255;mac[macpos+1]=this.h[0]>>>8&255;mac[macpos+2]=this.h[1]>>>0&255;mac[macpos+3]=this.h[1]>>>8&255;mac[macpos+4]=this.h[2]>>>0&255;mac[macpos+5]=this.h[2]>>>8&255;mac[macpos+6]=this.h[3]>>>0&255;mac[macpos+7]=this.h[3]>>>8&255;mac[macpos+8]=this.h[4]>>>0&255;mac[macpos+9]=this.h[4]>>>8&255;mac[macpos+10]=this.h[5]>>>0&255;mac[macpos+11]=this.h[5]>>>8&255;mac[macpos+12]=this.h[6]>>>0&255;mac[macpos+13]=this.h[6]>>>8&255;mac[macpos+14]=this.h[7]>>>0&255;mac[macpos+15]=this.h[7]>>>8&255};poly1305.prototype.update=function(m,mpos,bytes){var i,want;if(this.leftover){want=16-this.leftover;if(want>bytes)want=bytes;for(i=0;i<want;i++)this.buffer[this.leftover+i]=m[mpos+i];bytes-=want;mpos+=want;this.leftover+=want;if(this.leftover<16)return;this.blocks(this.buffer,0,16);this.leftover=0}if(bytes>=16){want=bytes-bytes%16;this.blocks(m,mpos,want);mpos+=want;bytes-=want}if(bytes){for(i=0;i<bytes;i++)this.buffer[this.leftover+i]=m[mpos+i];this.leftover+=bytes}};function crypto_onetimeauth(out,outpos,m,mpos,n,k){var s=new poly1305(k);s.update(m,mpos,n);s.finish(out,outpos);return 0}function crypto_onetimeauth_verify(h,hpos,m,mpos,n,k){var x=new Uint8Array(16);crypto_onetimeauth(x,0,m,mpos,n,k);return crypto_verify_16(h,hpos,x,0)}function crypto_secretbox(c,m,d,n,k){var i;if(d<32)return-1;crypto_stream_xor(c,0,m,0,d,n,k);crypto_onetimeauth(c,16,c,32,d-32,c);for(i=0;i<16;i++)c[i]=0;return 0}function crypto_secretbox_open(m,c,d,n,k){var i;var x=new Uint8Array(32);if(d<32)return-1;crypto_stream(x,0,32,n,k);if(crypto_onetimeauth_verify(c,16,c,32,d-32,x)!==0)return-1;crypto_stream_xor(m,0,c,0,d,n,k);for(i=0;i<32;i++)m[i]=0;return 0}function set25519(r,a){var i;for(i=0;i<16;i++)r[i]=a[i]|0}function car25519(o){var i,v,c=1;for(i=0;i<16;i++){v=o[i]+c+65535;c=Math.floor(v/65536);o[i]=v-c*65536}o[0]+=c-1+37*(c-1)}function sel25519(p,q,b){var t,c=~(b-1);for(var i=0;i<16;i++){t=c&(p[i]^q[i]);p[i]^=t;q[i]^=t}}function pack25519(o,n){var i,j,b;var m=gf(),t=gf();for(i=0;i<16;i++)t[i]=n[i];car25519(t);car25519(t);car25519(t);for(j=0;j<2;j++){m[0]=t[0]-65517;for(i=1;i<15;i++){m[i]=t[i]-65535-(m[i-1]>>16&1);m[i-1]&=65535}m[15]=t[15]-32767-(m[14]>>16&1);b=m[15]>>16&1;m[14]&=65535;sel25519(t,m,1-b)}for(i=0;i<16;i++){o[2*i]=t[i]&255;o[2*i+1]=t[i]>>8}}function neq25519(a,b){var c=new Uint8Array(32),d=new Uint8Array(32);pack25519(c,a);pack25519(d,b);return crypto_verify_32(c,0,d,0)}function par25519(a){var d=new Uint8Array(32);pack25519(d,a);return d[0]&1}function unpack25519(o,n){var i;for(i=0;i<16;i++)o[i]=n[2*i]+(n[2*i+1]<<8);o[15]&=32767}function A(o,a,b){for(var i=0;i<16;i++)o[i]=a[i]+b[i]}function Z(o,a,b){for(var i=0;i<16;i++)o[i]=a[i]-b[i]}function M(o,a,b){var v,c,t0=0,t1=0,t2=0,t3=0,t4=0,t5=0,t6=0,t7=0,t8=0,t9=0,t10=0,t11=0,t12=0,t13=0,t14=0,t15=0,t16=0,t17=0,t18=0,t19=0,t20=0,t21=0,t22=0,t23=0,t24=0,t25=0,t26=0,t27=0,t28=0,t29=0,t30=0,b0=b[0],b1=b[1],b2=b[2],b3=b[3],b4=b[4],b5=b[5],b6=b[6],b7=b[7],b8=b[8],b9=b[9],b10=b[10],b11=b[11],b12=b[12],b13=b[13],b14=b[14],b15=b[15];v=a[0];t0+=v*b0;t1+=v*b1;t2+=v*b2;t3+=v*b3;t4+=v*b4;t5+=v*b5;t6+=v*b6;t7+=v*b7;t8+=v*b8;t9+=v*b9;t10+=v*b10;t11+=v*b11;t12+=v*b12;t13+=v*b13;t14+=v*b14;t15+=v*b15;v=a[1];t1+=v*b0;t2+=v*b1;t3+=v*b2;t4+=v*b3;t5+=v*b4;t6+=v*b5;t7+=v*b6;t8+=v*b7;t9+=v*b8;t10+=v*b9;t11+=v*b10;t12+=v*b11;t13+=v*b12;t14+=v*b13;t15+=v*b14;t16+=v*b15;v=a[2];t2+=v*b0;t3+=v*b1;t4+=v*b2;t5+=v*b3;t6+=v*b4;t7+=v*b5;t8+=v*b6;t9+=v*b7;t10+=v*b8;t11+=v*b9;t12+=v*b10;t13+=v*b11;t14+=v*b12;t15+=v*b13;t16+=v*b14;t17+=v*b15;v=a[3];t3+=v*b0;t4+=v*b1;t5+=v*b2;t6+=v*b3;t7+=v*b4;t8+=v*b5;t9+=v*b6;t10+=v*b7;t11+=v*b8;t12+=v*b9;t13+=v*b10;t14+=v*b11;t15+=v*b12;t16+=v*b13;t17+=v*b14;t18+=v*b15;v=a[4];t4+=v*b0;t5+=v*b1;t6+=v*b2;t7+=v*b3;t8+=v*b4;t9+=v*b5;t10+=v*b6;t11+=v*b7;t12+=v*b8;t13+=v*b9;t14+=v*b10;t15+=v*b11;t16+=v*b12;t17+=v*b13;t18+=v*b14;t19+=v*b15;v=a[5];t5+=v*b0;t6+=v*b1;t7+=v*b2;t8+=v*b3;t9+=v*b4;t10+=v*b5;t11+=v*b6;t12+=v*b7;t13+=v*b8;t14+=v*b9;t15+=v*b10;t16+=v*b11;t17+=v*b12;t18+=v*b13;t19+=v*b14;t20+=v*b15;v=a[6];t6+=v*b0;t7+=v*b1;t8+=v*b2;t9+=v*b3;t10+=v*b4;t11+=v*b5;t12+=v*b6;t13+=v*b7;t14+=v*b8;t15+=v*b9;t16+=v*b10;t17+=v*b11;t18+=v*b12;t19+=v*b13;t20+=v*b14;t21+=v*b15;v=a[7];t7+=v*b0;t8+=v*b1;t9+=v*b2;t10+=v*b3;t11+=v*b4;t12+=v*b5;t13+=v*b6;t14+=v*b7;t15+=v*b8;t16+=v*b9;t17+=v*b10;t18+=v*b11;t19+=v*b12;t20+=v*b13;t21+=v*b14;t22+=v*b15;v=a[8];t8+=v*b0;t9+=v*b1;t10+=v*b2;t11+=v*b3;t12+=v*b4;t13+=v*b5;t14+=v*b6;t15+=v*b7;t16+=v*b8;t17+=v*b9;t18+=v*b10;t19+=v*b11;t20+=v*b12;t21+=v*b13;t22+=v*b14;t23+=v*b15;v=a[9];t9+=v*b0;t10+=v*b1;t11+=v*b2;t12+=v*b3;t13+=v*b4;t14+=v*b5;t15+=v*b6;t16+=v*b7;t17+=v*b8;t18+=v*b9;t19+=v*b10;t20+=v*b11;t21+=v*b12;t22+=v*b13;t23+=v*b14;t24+=v*b15;v=a[10];t10+=v*b0;t11+=v*b1;t12+=v*b2;t13+=v*b3;t14+=v*b4;t15+=v*b5;t16+=v*b6;t17+=v*b7;t18+=v*b8;t19+=v*b9;t20+=v*b10;t21+=v*b11;t22+=v*b12;t23+=v*b13;t24+=v*b14;t25+=v*b15;v=a[11];t11+=v*b0;t12+=v*b1;t13+=v*b2;t14+=v*b3;t15+=v*b4;t16+=v*b5;t17+=v*b6;t18+=v*b7;t19+=v*b8;t20+=v*b9;t21+=v*b10;t22+=v*b11;t23+=v*b12;t24+=v*b13;t25+=v*b14;t26+=v*b15;v=a[12];t12+=v*b0;t13+=v*b1;t14+=v*b2;t15+=v*b3;t16+=v*b4;t17+=v*b5;t18+=v*b6;t19+=v*b7;t20+=v*b8;t21+=v*b9;t22+=v*b10;t23+=v*b11;t24+=v*b12;t25+=v*b13;t26+=v*b14;t27+=v*b15;v=a[13];t13+=v*b0;t14+=v*b1;t15+=v*b2;t16+=v*b3;t17+=v*b4;t18+=v*b5;t19+=v*b6;t20+=v*b7;t21+=v*b8;t22+=v*b9;t23+=v*b10;t24+=v*b11;t25+=v*b12;t26+=v*b13;t27+=v*b14;t28+=v*b15;v=a[14];t14+=v*b0;t15+=v*b1;t16+=v*b2;t17+=v*b3;t18+=v*b4;t19+=v*b5;t20+=v*b6;t21+=v*b7;t22+=v*b8;t23+=v*b9;t24+=v*b10;t25+=v*b11;t26+=v*b12;t27+=v*b13;t28+=v*b14;t29+=v*b15;v=a[15];t15+=v*b0;t16+=v*b1;t17+=v*b2;t18+=v*b3;t19+=v*b4;t20+=v*b5;t21+=v*b6;t22+=v*b7;t23+=v*b8;t24+=v*b9;t25+=v*b10;t26+=v*b11;t27+=v*b12;t28+=v*b13;t29+=v*b14;t30+=v*b15;t0+=38*t16;t1+=38*t17;t2+=38*t18;t3+=38*t19;t4+=38*t20;t5+=38*t21;t6+=38*t22;t7+=38*t23;t8+=38*t24;t9+=38*t25;t10+=38*t26;t11+=38*t27;t12+=38*t28;t13+=38*t29;t14+=38*t30;c=1;v=t0+c+65535;c=Math.floor(v/65536);t0=v-c*65536;v=t1+c+65535;c=Math.floor(v/65536);t1=v-c*65536;v=t2+c+65535;c=Math.floor(v/65536);t2=v-c*65536;v=t3+c+65535;c=Math.floor(v/65536);t3=v-c*65536;v=t4+c+65535;c=Math.floor(v/65536);t4=v-c*65536;v=t5+c+65535;c=Math.floor(v/65536);t5=v-c*65536;v=t6+c+65535;c=Math.floor(v/65536);t6=v-c*65536;v=t7+c+65535;c=Math.floor(v/65536);t7=v-c*65536;v=t8+c+65535;c=Math.floor(v/65536);t8=v-c*65536;v=t9+c+65535;c=Math.floor(v/65536);t9=v-c*65536;v=t10+c+65535;c=Math.floor(v/65536);t10=v-c*65536;v=t11+c+65535;c=Math.floor(v/65536);t11=v-c*65536;v=t12+c+65535;c=Math.floor(v/65536);t12=v-c*65536;v=t13+c+65535;c=Math.floor(v/65536);t13=v-c*65536;v=t14+c+65535;c=Math.floor(v/65536);t14=v-c*65536;v=t15+c+65535;c=Math.floor(v/65536);t15=v-c*65536;t0+=c-1+37*(c-1);c=1;v=t0+c+65535;c=Math.floor(v/65536);t0=v-c*65536;v=t1+c+65535;c=Math.floor(v/65536);t1=v-c*65536;v=t2+c+65535;c=Math.floor(v/65536);t2=v-c*65536;v=t3+c+65535;c=Math.floor(v/65536);t3=v-c*65536;v=t4+c+65535;c=Math.floor(v/65536);t4=v-c*65536;v=t5+c+65535;c=Math.floor(v/65536);t5=v-c*65536;v=t6+c+65535;c=Math.floor(v/65536);t6=v-c*65536;v=t7+c+65535;c=Math.floor(v/65536);t7=v-c*65536;v=t8+c+65535;c=Math.floor(v/65536);t8=v-c*65536;v=t9+c+65535;c=Math.floor(v/65536);t9=v-c*65536;v=t10+c+65535;c=Math.floor(v/65536);t10=v-c*65536;v=t11+c+65535;c=Math.floor(v/65536);t11=v-c*65536;v=t12+c+65535;c=Math.floor(v/65536);t12=v-c*65536;v=t13+c+65535;c=Math.floor(v/65536);t13=v-c*65536;v=t14+c+65535;c=Math.floor(v/65536);t14=v-c*65536;v=t15+c+65535;c=Math.floor(v/65536);t15=v-c*65536;t0+=c-1+37*(c-1);o[0]=t0;o[1]=t1;o[2]=t2;o[3]=t3;o[4]=t4;o[5]=t5;o[6]=t6;o[7]=t7;o[8]=t8;o[9]=t9;o[10]=t10;o[11]=t11;o[12]=t12;o[13]=t13;o[14]=t14;o[15]=t15}function S(o,a){M(o,a,a)}function inv25519(o,i){var c=gf();var a;for(a=0;a<16;a++)c[a]=i[a];for(a=253;a>=0;a--){S(c,c);if(a!==2&&a!==4)M(c,c,i)}for(a=0;a<16;a++)o[a]=c[a]}function pow2523(o,i){var c=gf();var a;for(a=0;a<16;a++)c[a]=i[a];for(a=250;a>=0;a--){S(c,c);if(a!==1)M(c,c,i)}for(a=0;a<16;a++)o[a]=c[a]}function crypto_scalarmult(q,n,p){var z=new Uint8Array(32);var x=new Float64Array(80),r,i;var a=gf(),b=gf(),c=gf(),d=gf(),e=gf(),f=gf();for(i=0;i<31;i++)z[i]=n[i];z[31]=n[31]&127|64;z[0]&=248;unpack25519(x,p);for(i=0;i<16;i++){b[i]=x[i];d[i]=a[i]=c[i]=0}a[0]=d[0]=1;for(i=254;i>=0;--i){r=z[i>>>3]>>>(i&7)&1;sel25519(a,b,r);sel25519(c,d,r);A(e,a,c);Z(a,a,c);A(c,b,d);Z(b,b,d);S(d,e);S(f,a);M(a,c,a);M(c,b,e);A(e,a,c);Z(a,a,c);S(b,a);Z(c,d,f);M(a,c,_121665);A(a,a,d);M(c,c,a);M(a,d,f);M(d,b,x);S(b,e);sel25519(a,b,r);sel25519(c,d,r)}for(i=0;i<16;i++){x[i+16]=a[i];x[i+32]=c[i];x[i+48]=b[i];x[i+64]=d[i]}var x32=x.subarray(32);var x16=x.subarray(16);inv25519(x32,x32);M(x16,x16,x32);pack25519(q,x16);return 0}function crypto_scalarmult_base(q,n){return crypto_scalarmult(q,n,_9)}function crypto_box_keypair(y,x){randombytes(x,32);return crypto_scalarmult_base(y,x)}function crypto_box_beforenm(k,y,x){var s=new Uint8Array(32);crypto_scalarmult(s,x,y);return crypto_core_hsalsa20(k,_0,s,sigma)}var crypto_box_afternm=crypto_secretbox;var crypto_box_open_afternm=crypto_secretbox_open;function crypto_box(c,m,d,n,y,x){var k=new Uint8Array(32);crypto_box_beforenm(k,y,x);return crypto_box_afternm(c,m,d,n,k)}function crypto_box_open(m,c,d,n,y,x){var k=new Uint8Array(32);crypto_box_beforenm(k,y,x);return crypto_box_open_afternm(m,c,d,n,k)}var K=[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];function crypto_hashblocks_hl(hh,hl,m,n){var wh=new Int32Array(16),wl=new Int32Array(16),bh0,bh1,bh2,bh3,bh4,bh5,bh6,bh7,bl0,bl1,bl2,bl3,bl4,bl5,bl6,bl7,th,tl,i,j,h,l,a,b,c,d;var ah0=hh[0],ah1=hh[1],ah2=hh[2],ah3=hh[3],ah4=hh[4],ah5=hh[5],ah6=hh[6],ah7=hh[7],al0=hl[0],al1=hl[1],al2=hl[2],al3=hl[3],al4=hl[4],al5=hl[5],al6=hl[6],al7=hl[7];var pos=0;while(n>=128){for(i=0;i<16;i++){j=8*i+pos;wh[i]=m[j+0]<<24|m[j+1]<<16|m[j+2]<<8|m[j+3];wl[i]=m[j+4]<<24|m[j+5]<<16|m[j+6]<<8|m[j+7]}for(i=0;i<80;i++){bh0=ah0;bh1=ah1;bh2=ah2;bh3=ah3;bh4=ah4;bh5=ah5;bh6=ah6;bh7=ah7;bl0=al0;bl1=al1;bl2=al2;bl3=al3;bl4=al4;bl5=al5;bl6=al6;bl7=al7;h=ah7;l=al7;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=(ah4>>>14|al4<<32-14)^(ah4>>>18|al4<<32-18)^(al4>>>41-32|ah4<<32-(41-32));l=(al4>>>14|ah4<<32-14)^(al4>>>18|ah4<<32-18)^(ah4>>>41-32|al4<<32-(41-32));a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;h=ah4&ah5^~ah4&ah6;l=al4&al5^~al4&al6;a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;h=K[i*2];l=K[i*2+1];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;h=wh[i%16];l=wl[i%16];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;th=c&65535|d<<16;tl=a&65535|b<<16;h=th;l=tl;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=(ah0>>>28|al0<<32-28)^(al0>>>34-32|ah0<<32-(34-32))^(al0>>>39-32|ah0<<32-(39-32));l=(al0>>>28|ah0<<32-28)^(ah0>>>34-32|al0<<32-(34-32))^(ah0>>>39-32|al0<<32-(39-32));a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;h=ah0&ah1^ah0&ah2^ah1&ah2;l=al0&al1^al0&al2^al1&al2;a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;bh7=c&65535|d<<16;bl7=a&65535|b<<16;h=bh3;l=bl3;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=th;l=tl;a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;bh3=c&65535|d<<16;bl3=a&65535|b<<16;ah1=bh0;ah2=bh1;ah3=bh2;ah4=bh3;ah5=bh4;ah6=bh5;ah7=bh6;ah0=bh7;al1=bl0;al2=bl1;al3=bl2;al4=bl3;al5=bl4;al6=bl5;al7=bl6;al0=bl7;if(i%16===15){for(j=0;j<16;j++){h=wh[j];l=wl[j];a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=wh[(j+9)%16];l=wl[(j+9)%16];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;th=wh[(j+1)%16];tl=wl[(j+1)%16];h=(th>>>1|tl<<32-1)^(th>>>8|tl<<32-8)^th>>>7;l=(tl>>>1|th<<32-1)^(tl>>>8|th<<32-8)^(tl>>>7|th<<32-7);a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;th=wh[(j+14)%16];tl=wl[(j+14)%16];h=(th>>>19|tl<<32-19)^(tl>>>61-32|th<<32-(61-32))^th>>>6;l=(tl>>>19|th<<32-19)^(th>>>61-32|tl<<32-(61-32))^(tl>>>6|th<<32-6);a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;wh[j]=c&65535|d<<16;wl[j]=a&65535|b<<16}}}h=ah0;l=al0;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=hh[0];l=hl[0];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;hh[0]=ah0=c&65535|d<<16;hl[0]=al0=a&65535|b<<16;h=ah1;l=al1;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=hh[1];l=hl[1];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;hh[1]=ah1=c&65535|d<<16;hl[1]=al1=a&65535|b<<16;h=ah2;l=al2;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=hh[2];l=hl[2];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;hh[2]=ah2=c&65535|d<<16;hl[2]=al2=a&65535|b<<16;h=ah3;l=al3;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=hh[3];l=hl[3];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;hh[3]=ah3=c&65535|d<<16;hl[3]=al3=a&65535|b<<16;h=ah4;l=al4;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=hh[4];l=hl[4];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;hh[4]=ah4=c&65535|d<<16;hl[4]=al4=a&65535|b<<16;h=ah5;l=al5;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=hh[5];l=hl[5];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;hh[5]=ah5=c&65535|d<<16;hl[5]=al5=a&65535|b<<16;h=ah6;l=al6;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=hh[6];l=hl[6];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;hh[6]=ah6=c&65535|d<<16;hl[6]=al6=a&65535|b<<16;h=ah7;l=al7;a=l&65535;b=l>>>16;c=h&65535;d=h>>>16;h=hh[7];l=hl[7];a+=l&65535;b+=l>>>16;c+=h&65535;d+=h>>>16;b+=a>>>16;c+=b>>>16;d+=c>>>16;hh[7]=ah7=c&65535|d<<16;hl[7]=al7=a&65535|b<<16;pos+=128;n-=128}return n}function crypto_hash(out,m,n){var hh=new Int32Array(8),hl=new Int32Array(8),x=new Uint8Array(256),i,b=n;hh[0]=1779033703;hh[1]=3144134277;hh[2]=1013904242;hh[3]=2773480762;hh[4]=1359893119;hh[5]=2600822924;hh[6]=528734635;hh[7]=1541459225;hl[0]=4089235720;hl[1]=2227873595;hl[2]=4271175723;hl[3]=1595750129;hl[4]=2917565137;hl[5]=725511199;hl[6]=4215389547;hl[7]=327033209;crypto_hashblocks_hl(hh,hl,m,n);n%=128;for(i=0;i<n;i++)x[i]=m[b-n+i];x[n]=128;n=256-128*(n<112?1:0);x[n-9]=0;ts64(x,n-8,b/536870912|0,b<<3);crypto_hashblocks_hl(hh,hl,x,n);for(i=0;i<8;i++)ts64(out,8*i,hh[i],hl[i]);return 0}function add(p,q){var a=gf(),b=gf(),c=gf(),d=gf(),e=gf(),f=gf(),g=gf(),h=gf(),t=gf();Z(a,p[1],p[0]);Z(t,q[1],q[0]);M(a,a,t);A(b,p[0],p[1]);A(t,q[0],q[1]);M(b,b,t);M(c,p[3],q[3]);M(c,c,D2);M(d,p[2],q[2]);A(d,d,d);Z(e,b,a);Z(f,d,c);A(g,d,c);A(h,b,a);M(p[0],e,f);M(p[1],h,g);M(p[2],g,f);M(p[3],e,h)}function cswap(p,q,b){var i;for(i=0;i<4;i++){sel25519(p[i],q[i],b)}}function pack(r,p){var tx=gf(),ty=gf(),zi=gf();inv25519(zi,p[2]);M(tx,p[0],zi);M(ty,p[1],zi);pack25519(r,ty);r[31]^=par25519(tx)<<7}function scalarmult(p,q,s){var b,i;set25519(p[0],gf0);set25519(p[1],gf1);set25519(p[2],gf1);set25519(p[3],gf0);for(i=255;i>=0;--i){b=s[i/8|0]>>(i&7)&1;cswap(p,q,b);add(q,p);add(p,p);cswap(p,q,b)}}function scalarbase(p,s){var q=[gf(),gf(),gf(),gf()];set25519(q[0],X);set25519(q[1],Y);set25519(q[2],gf1);M(q[3],X,Y);scalarmult(p,q,s)}function crypto_sign_keypair(pk,sk,seeded){var d=new Uint8Array(64);var p=[gf(),gf(),gf(),gf()];var i;if(!seeded)randombytes(sk,32);crypto_hash(d,sk,32);d[0]&=248;d[31]&=127;d[31]|=64;scalarbase(p,d);pack(pk,p);for(i=0;i<32;i++)sk[i+32]=pk[i];return 0}var L=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]);function modL(r,x){var carry,i,j,k;for(i=63;i>=32;--i){carry=0;for(j=i-32,k=i-12;j<k;++j){x[j]+=carry-16*x[i]*L[j-(i-32)];carry=x[j]+128>>8;x[j]-=carry*256}x[j]+=carry;x[i]=0}carry=0;for(j=0;j<32;j++){x[j]+=carry-(x[31]>>4)*L[j];carry=x[j]>>8;x[j]&=255}for(j=0;j<32;j++)x[j]-=carry*L[j];for(i=0;i<32;i++){x[i+1]+=x[i]>>8;r[i]=x[i]&255}}function reduce(r){var x=new Float64Array(64),i;for(i=0;i<64;i++)x[i]=r[i];for(i=0;i<64;i++)r[i]=0;modL(r,x)}function crypto_sign(sm,m,n,sk){var d=new Uint8Array(64),h=new Uint8Array(64),r=new Uint8Array(64);var i,j,x=new Float64Array(64);var p=[gf(),gf(),gf(),gf()];crypto_hash(d,sk,32);d[0]&=248;d[31]&=127;d[31]|=64;var smlen=n+64;for(i=0;i<n;i++)sm[64+i]=m[i];for(i=0;i<32;i++)sm[32+i]=d[32+i];crypto_hash(r,sm.subarray(32),n+32);reduce(r);scalarbase(p,r);pack(sm,p);for(i=32;i<64;i++)sm[i]=sk[i];crypto_hash(h,sm,n+64);reduce(h);for(i=0;i<64;i++)x[i]=0;for(i=0;i<32;i++)x[i]=r[i];for(i=0;i<32;i++){for(j=0;j<32;j++){x[i+j]+=h[i]*d[j]}}modL(sm.subarray(32),x);return smlen}function unpackneg(r,p){var t=gf(),chk=gf(),num=gf(),den=gf(),den2=gf(),den4=gf(),den6=gf();set25519(r[2],gf1);unpack25519(r[1],p);S(num,r[1]);M(den,num,D);Z(num,num,r[2]);A(den,r[2],den);S(den2,den);S(den4,den2);M(den6,den4,den2);M(t,den6,num);M(t,t,den);pow2523(t,t);M(t,t,num);M(t,t,den);M(t,t,den);M(r[0],t,den);S(chk,r[0]);M(chk,chk,den);if(neq25519(chk,num))M(r[0],r[0],I);S(chk,r[0]);M(chk,chk,den);if(neq25519(chk,num))return-1;if(par25519(r[0])===p[31]>>7)Z(r[0],gf0,r[0]);M(r[3],r[0],r[1]);return 0}function crypto_sign_open(m,sm,n,pk){var i,mlen;var t=new Uint8Array(32),h=new Uint8Array(64);var p=[gf(),gf(),gf(),gf()],q=[gf(),gf(),gf(),gf()];mlen=-1;if(n<64)return-1;if(unpackneg(q,pk))return-1;for(i=0;i<n;i++)m[i]=sm[i];for(i=0;i<32;i++)m[i+32]=pk[i];crypto_hash(h,m,n);reduce(h);scalarmult(p,q,h);scalarbase(q,sm.subarray(32));add(p,q);pack(t,p);n-=64;if(crypto_verify_32(sm,0,t,0)){for(i=0;i<n;i++)m[i]=0;return-1}for(i=0;i<n;i++)m[i]=sm[i+64];mlen=n;return mlen}var crypto_secretbox_KEYBYTES=32,crypto_secretbox_NONCEBYTES=24,crypto_secretbox_ZEROBYTES=32,crypto_secretbox_BOXZEROBYTES=16,crypto_scalarmult_BYTES=32,crypto_scalarmult_SCALARBYTES=32,crypto_box_PUBLICKEYBYTES=32,crypto_box_SECRETKEYBYTES=32,crypto_box_BEFORENMBYTES=32,crypto_box_NONCEBYTES=crypto_secretbox_NONCEBYTES,crypto_box_ZEROBYTES=crypto_secretbox_ZEROBYTES,crypto_box_BOXZEROBYTES=crypto_secretbox_BOXZEROBYTES,crypto_sign_BYTES=64,crypto_sign_PUBLICKEYBYTES=32,crypto_sign_SECRETKEYBYTES=64,crypto_sign_SEEDBYTES=32,crypto_hash_BYTES=64;nacl.lowlevel={crypto_core_hsalsa20:crypto_core_hsalsa20,crypto_stream_xor:crypto_stream_xor,crypto_stream:crypto_stream,crypto_stream_salsa20_xor:crypto_stream_salsa20_xor,crypto_stream_salsa20:crypto_stream_salsa20,crypto_onetimeauth:crypto_onetimeauth,crypto_onetimeauth_verify:crypto_onetimeauth_verify,crypto_verify_16:crypto_verify_16,crypto_verify_32:crypto_verify_32,crypto_secretbox:crypto_secretbox,crypto_secretbox_open:crypto_secretbox_open,crypto_scalarmult:crypto_scalarmult,crypto_scalarmult_base:crypto_scalarmult_base,crypto_box_beforenm:crypto_box_beforenm,crypto_box_afternm:crypto_box_afternm,crypto_box:crypto_box,crypto_box_open:crypto_box_open,crypto_box_keypair:crypto_box_keypair,crypto_hash:crypto_hash,crypto_sign:crypto_sign,crypto_sign_keypair:crypto_sign_keypair,crypto_sign_open:crypto_sign_open,crypto_secretbox_KEYBYTES:crypto_secretbox_KEYBYTES,crypto_secretbox_NONCEBYTES:crypto_secretbox_NONCEBYTES,crypto_secretbox_ZEROBYTES:crypto_secretbox_ZEROBYTES,crypto_secretbox_BOXZEROBYTES:crypto_secretbox_BOXZEROBYTES,crypto_scalarmult_BYTES:crypto_scalarmult_BYTES,crypto_scalarmult_SCALARBYTES:crypto_scalarmult_SCALARBYTES,crypto_box_PUBLICKEYBYTES:crypto_box_PUBLICKEYBYTES,crypto_box_SECRETKEYBYTES:crypto_box_SECRETKEYBYTES,crypto_box_BEFORENMBYTES:crypto_box_BEFORENMBYTES,crypto_box_NONCEBYTES:crypto_box_NONCEBYTES,crypto_box_ZEROBYTES:crypto_box_ZEROBYTES,crypto_box_BOXZEROBYTES:crypto_box_BOXZEROBYTES,crypto_sign_BYTES:crypto_sign_BYTES,crypto_sign_PUBLICKEYBYTES:crypto_sign_PUBLICKEYBYTES,crypto_sign_SECRETKEYBYTES:crypto_sign_SECRETKEYBYTES,crypto_sign_SEEDBYTES:crypto_sign_SEEDBYTES,crypto_hash_BYTES:crypto_hash_BYTES};function checkLengths(k,n){if(k.length!==crypto_secretbox_KEYBYTES)throw new Error("bad key size");if(n.length!==crypto_secretbox_NONCEBYTES)throw new Error("bad nonce size")}function checkBoxLengths(pk,sk){if(pk.length!==crypto_box_PUBLICKEYBYTES)throw new Error("bad public key size");if(sk.length!==crypto_box_SECRETKEYBYTES)throw new Error("bad secret key size")}function checkArrayTypes(){var t,i;for(i=0;i<arguments.length;i++){if((t=Object.prototype.toString.call(arguments[i]))!=="[object Uint8Array]")throw new TypeError("unexpected type "+t+", use Uint8Array")}}function cleanup(arr){for(var i=0;i<arr.length;i++)arr[i]=0}if(!nacl.util){nacl.util={};nacl.util.decodeUTF8=nacl.util.encodeUTF8=nacl.util.encodeBase64=nacl.util.decodeBase64=function(){throw new Error("nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js")}}nacl.randomBytes=function(n){var b=new Uint8Array(n);randombytes(b,n);return b};nacl.secretbox=function(msg,nonce,key){checkArrayTypes(msg,nonce,key);checkLengths(key,nonce);var m=new Uint8Array(crypto_secretbox_ZEROBYTES+msg.length);var c=new Uint8Array(m.length);for(var i=0;i<msg.length;i++)m[i+crypto_secretbox_ZEROBYTES]=msg[i];crypto_secretbox(c,m,m.length,nonce,key);return c.subarray(crypto_secretbox_BOXZEROBYTES)};nacl.secretbox.open=function(box,nonce,key){checkArrayTypes(box,nonce,key);checkLengths(key,nonce);var c=new Uint8Array(crypto_secretbox_BOXZEROBYTES+box.length);var m=new Uint8Array(c.length);for(var i=0;i<box.length;i++)c[i+crypto_secretbox_BOXZEROBYTES]=box[i];if(c.length<32)return false;if(crypto_secretbox_open(m,c,c.length,nonce,key)!==0)return false;return m.subarray(crypto_secretbox_ZEROBYTES)};nacl.secretbox.keyLength=crypto_secretbox_KEYBYTES;nacl.secretbox.nonceLength=crypto_secretbox_NONCEBYTES;nacl.secretbox.overheadLength=crypto_secretbox_BOXZEROBYTES;nacl.scalarMult=function(n,p){checkArrayTypes(n,p);if(n.length!==crypto_scalarmult_SCALARBYTES)throw new Error("bad n size");if(p.length!==crypto_scalarmult_BYTES)throw new Error("bad p size");var q=new Uint8Array(crypto_scalarmult_BYTES);crypto_scalarmult(q,n,p);return q};nacl.scalarMult.base=function(n){checkArrayTypes(n);if(n.length!==crypto_scalarmult_SCALARBYTES)throw new Error("bad n size");var q=new Uint8Array(crypto_scalarmult_BYTES);crypto_scalarmult_base(q,n);return q};nacl.scalarMult.scalarLength=crypto_scalarmult_SCALARBYTES;nacl.scalarMult.groupElementLength=crypto_scalarmult_BYTES;nacl.box=function(msg,nonce,publicKey,secretKey){var k=nacl.box.before(publicKey,secretKey);return nacl.secretbox(msg,nonce,k)};nacl.box.before=function(publicKey,secretKey){checkArrayTypes(publicKey,secretKey);checkBoxLengths(publicKey,secretKey);var k=new Uint8Array(crypto_box_BEFORENMBYTES);crypto_box_beforenm(k,publicKey,secretKey);return k};nacl.box.after=nacl.secretbox;nacl.box.open=function(msg,nonce,publicKey,secretKey){var k=nacl.box.before(publicKey,secretKey);return nacl.secretbox.open(msg,nonce,k)};nacl.box.open.after=nacl.secretbox.open;nacl.box.keyPair=function(){var pk=new Uint8Array(crypto_box_PUBLICKEYBYTES);var sk=new Uint8Array(crypto_box_SECRETKEYBYTES);crypto_box_keypair(pk,sk);return{publicKey:pk,secretKey:sk}};nacl.box.keyPair.fromSecretKey=function(secretKey){checkArrayTypes(secretKey);if(secretKey.length!==crypto_box_SECRETKEYBYTES)throw new Error("bad secret key size");var pk=new Uint8Array(crypto_box_PUBLICKEYBYTES);crypto_scalarmult_base(pk,secretKey);return{publicKey:pk,secretKey:new Uint8Array(secretKey)}};nacl.box.publicKeyLength=crypto_box_PUBLICKEYBYTES;nacl.box.secretKeyLength=crypto_box_SECRETKEYBYTES;nacl.box.sharedKeyLength=crypto_box_BEFORENMBYTES;nacl.box.nonceLength=crypto_box_NONCEBYTES;nacl.box.overheadLength=nacl.secretbox.overheadLength;nacl.sign=function(msg,secretKey){checkArrayTypes(msg,secretKey);if(secretKey.length!==crypto_sign_SECRETKEYBYTES)throw new Error("bad secret key size");var signedMsg=new Uint8Array(crypto_sign_BYTES+msg.length);crypto_sign(signedMsg,msg,msg.length,secretKey);return signedMsg};nacl.sign.open=function(signedMsg,publicKey){if(arguments.length!==2)throw new Error("nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?");checkArrayTypes(signedMsg,publicKey);if(publicKey.length!==crypto_sign_PUBLICKEYBYTES)throw new Error("bad public key size");var tmp=new Uint8Array(signedMsg.length);var mlen=crypto_sign_open(tmp,signedMsg,signedMsg.length,publicKey);if(mlen<0)return null;var m=new Uint8Array(mlen);for(var i=0;i<m.length;i++)m[i]=tmp[i];return m};nacl.sign.detached=function(msg,secretKey){var signedMsg=nacl.sign(msg,secretKey);var sig=new Uint8Array(crypto_sign_BYTES);for(var i=0;i<sig.length;i++)sig[i]=signedMsg[i];return sig};nacl.sign.detached.verify=function(msg,sig,publicKey){checkArrayTypes(msg,sig,publicKey);if(sig.length!==crypto_sign_BYTES)throw new Error("bad signature size");if(publicKey.length!==crypto_sign_PUBLICKEYBYTES)throw new Error("bad public key size");var sm=new Uint8Array(crypto_sign_BYTES+msg.length);var m=new Uint8Array(crypto_sign_BYTES+msg.length);var i;for(i=0;i<crypto_sign_BYTES;i++)sm[i]=sig[i];for(i=0;i<msg.length;i++)sm[i+crypto_sign_BYTES]=msg[i];return crypto_sign_open(m,sm,sm.length,publicKey)>=0};nacl.sign.keyPair=function(){var pk=new Uint8Array(crypto_sign_PUBLICKEYBYTES);var sk=new Uint8Array(crypto_sign_SECRETKEYBYTES);crypto_sign_keypair(pk,sk);return{publicKey:pk,secretKey:sk}};nacl.sign.keyPair.fromSecretKey=function(secretKey){checkArrayTypes(secretKey);if(secretKey.length!==crypto_sign_SECRETKEYBYTES)throw new Error("bad secret key size");var pk=new Uint8Array(crypto_sign_PUBLICKEYBYTES);for(var i=0;i<pk.length;i++)pk[i]=secretKey[32+i];return{publicKey:pk,secretKey:new Uint8Array(secretKey)}};nacl.sign.keyPair.fromSeed=function(seed){checkArrayTypes(seed);if(seed.length!==crypto_sign_SEEDBYTES)throw new Error("bad seed size");var pk=new Uint8Array(crypto_sign_PUBLICKEYBYTES);var sk=new Uint8Array(crypto_sign_SECRETKEYBYTES);for(var i=0;i<32;i++)sk[i]=seed[i];crypto_sign_keypair(pk,sk,true);return{publicKey:pk,secretKey:sk}};nacl.sign.publicKeyLength=crypto_sign_PUBLICKEYBYTES;nacl.sign.secretKeyLength=crypto_sign_SECRETKEYBYTES;nacl.sign.seedLength=crypto_sign_SEEDBYTES;nacl.sign.signatureLength=crypto_sign_BYTES;nacl.hash=function(msg){checkArrayTypes(msg);var h=new Uint8Array(crypto_hash_BYTES);crypto_hash(h,msg,msg.length);return h};nacl.hash.hashLength=crypto_hash_BYTES;nacl.verify=function(x,y){checkArrayTypes(x,y);if(x.length===0||y.length===0)return false;if(x.length!==y.length)return false;return vn(x,0,y,0,x.length)===0?true:false};nacl.setPRNG=function(fn){randombytes=fn};(function(){var crypto=typeof self!=="undefined"?self.crypto||self.msCrypto:null;if(crypto&&crypto.getRandomValues){var QUOTA=65536;nacl.setPRNG((function(x,n){var i,v=new Uint8Array(n);for(i=0;i<n;i+=QUOTA){crypto.getRandomValues(v.subarray(i,i+Math.min(n-i,QUOTA)))}for(i=0;i<n;i++)x[i]=v[i];cleanup(v)}))}else if(typeof require!=="undefined"){crypto=require("crypto");if(crypto&&crypto.randomBytes){nacl.setPRNG((function(x,n){var i,v=crypto.randomBytes(n);for(i=0;i<n;i++)x[i]=v[i];cleanup(v)}))}}})()})(typeof module!=="undefined"&&module.exports?module.exports:self.nacl=self.nacl||{})},{crypto:83}],994:[function(require,module,exports){
|
||
/** @license URI.js v4.2.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
||
(function(global,factory){typeof exports==="object"&&typeof module!=="undefined"?factory(exports):typeof define==="function"&&define.amd?define(["exports"],factory):factory(global.URI=global.URI||{})})(this,(function(exports){"use strict";function merge(){for(var _len=arguments.length,sets=Array(_len),_key=0;_key<_len;_key++){sets[_key]=arguments[_key]}if(sets.length>1){sets[0]=sets[0].slice(0,-1);var xl=sets.length-1;for(var x=1;x<xl;++x){sets[x]=sets[x].slice(1,-1)}sets[xl]=sets[xl].slice(1);return sets.join("")}else{return sets[0]}}function subexp(str){return"(?:"+str+")"}function typeOf(o){return o===undefined?"undefined":o===null?"null":Object.prototype.toString.call(o).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(str){return str.toUpperCase()}function toArray(obj){return obj!==undefined&&obj!==null?obj instanceof Array?obj:typeof obj.length!=="number"||obj.split||obj.setInterval||obj.call?[obj]:Array.prototype.slice.call(obj):[]}function assign(target,source){var obj=target;if(source){for(var key in source){obj[key]=source[key]}}return obj}function buildExps(isIRI){var ALPHA$$="[A-Za-z]",CR$="[\\x0D]",DIGIT$$="[0-9]",DQUOTE$$="[\\x22]",HEXDIG$$=merge(DIGIT$$,"[A-Fa-f]"),LF$$="[\\x0A]",SP$$="[\\x20]",PCT_ENCODED$=subexp(subexp("%[EFef]"+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$)+"|"+subexp("%[89A-Fa-f]"+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$)+"|"+subexp("%"+HEXDIG$$+HEXDIG$$)),GEN_DELIMS$$="[\\:\\/\\?\\#\\[\\]\\@]",SUB_DELIMS$$="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",RESERVED$$=merge(GEN_DELIMS$$,SUB_DELIMS$$),UCSCHAR$$=isIRI?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",IPRIVATE$$=isIRI?"[\\uE000-\\uF8FF]":"[]",UNRESERVED$$=merge(ALPHA$$,DIGIT$$,"[\\-\\.\\_\\~]",UCSCHAR$$),SCHEME$=subexp(ALPHA$$+merge(ALPHA$$,DIGIT$$,"[\\+\\-\\.]")+"*"),USERINFO$=subexp(subexp(PCT_ENCODED$+"|"+merge(UNRESERVED$$,SUB_DELIMS$$,"[\\:]"))+"*"),DEC_OCTET$=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+DIGIT$$)+"|"+subexp("1"+DIGIT$$+DIGIT$$)+"|"+subexp("[1-9]"+DIGIT$$)+"|"+DIGIT$$),DEC_OCTET_RELAXED$=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+DIGIT$$)+"|"+subexp("1"+DIGIT$$+DIGIT$$)+"|"+subexp("0?[1-9]"+DIGIT$$)+"|0?0?"+DIGIT$$),IPV4ADDRESS$=subexp(DEC_OCTET_RELAXED$+"\\."+DEC_OCTET_RELAXED$+"\\."+DEC_OCTET_RELAXED$+"\\."+DEC_OCTET_RELAXED$),H16$=subexp(HEXDIG$$+"{1,4}"),LS32$=subexp(subexp(H16$+"\\:"+H16$)+"|"+IPV4ADDRESS$),IPV6ADDRESS1$=subexp(subexp(H16$+"\\:")+"{6}"+LS32$),IPV6ADDRESS2$=subexp("\\:\\:"+subexp(H16$+"\\:")+"{5}"+LS32$),IPV6ADDRESS3$=subexp(subexp(H16$)+"?\\:\\:"+subexp(H16$+"\\:")+"{4}"+LS32$),IPV6ADDRESS4$=subexp(subexp(subexp(H16$+"\\:")+"{0,1}"+H16$)+"?\\:\\:"+subexp(H16$+"\\:")+"{3}"+LS32$),IPV6ADDRESS5$=subexp(subexp(subexp(H16$+"\\:")+"{0,2}"+H16$)+"?\\:\\:"+subexp(H16$+"\\:")+"{2}"+LS32$),IPV6ADDRESS6$=subexp(subexp(subexp(H16$+"\\:")+"{0,3}"+H16$)+"?\\:\\:"+H16$+"\\:"+LS32$),IPV6ADDRESS7$=subexp(subexp(subexp(H16$+"\\:")+"{0,4}"+H16$)+"?\\:\\:"+LS32$),IPV6ADDRESS8$=subexp(subexp(subexp(H16$+"\\:")+"{0,5}"+H16$)+"?\\:\\:"+H16$),IPV6ADDRESS9$=subexp(subexp(subexp(H16$+"\\:")+"{0,6}"+H16$)+"?\\:\\:"),IPV6ADDRESS$=subexp([IPV6ADDRESS1$,IPV6ADDRESS2$,IPV6ADDRESS3$,IPV6ADDRESS4$,IPV6ADDRESS5$,IPV6ADDRESS6$,IPV6ADDRESS7$,IPV6ADDRESS8$,IPV6ADDRESS9$].join("|")),ZONEID$=subexp(subexp(UNRESERVED$$+"|"+PCT_ENCODED$)+"+"),IPV6ADDRZ$=subexp(IPV6ADDRESS$+"\\%25"+ZONEID$),IPV6ADDRZ_RELAXED$=subexp(IPV6ADDRESS$+subexp("\\%25|\\%(?!"+HEXDIG$$+"{2})")+ZONEID$),IPVFUTURE$=subexp("[vV]"+HEXDIG$$+"+\\."+merge(UNRESERVED$$,SUB_DELIMS$$,"[\\:]")+"+"),IP_LITERAL$=subexp("\\["+subexp(IPV6ADDRZ_RELAXED$+"|"+IPV6ADDRESS$+"|"+IPVFUTURE$)+"\\]"),REG_NAME$=subexp(subexp(PCT_ENCODED$+"|"+merge(UNRESERVED$$,SUB_DELIMS$$))+"*"),HOST$=subexp(IP_LITERAL$+"|"+IPV4ADDRESS$+"(?!"+REG_NAME$+")"+"|"+REG_NAME$),PORT$=subexp(DIGIT$$+"*"),AUTHORITY$=subexp(subexp(USERINFO$+"@")+"?"+HOST$+subexp("\\:"+PORT$)+"?"),PCHAR$=subexp(PCT_ENCODED$+"|"+merge(UNRESERVED$$,SUB_DELIMS$$,"[\\:\\@]")),SEGMENT$=subexp(PCHAR$+"*"),SEGMENT_NZ$=subexp(PCHAR$+"+"),SEGMENT_NZ_NC$=subexp(subexp(PCT_ENCODED$+"|"+merge(UNRESERVED$$,SUB_DELIMS$$,"[\\@]"))+"+"),PATH_ABEMPTY$=subexp(subexp("\\/"+SEGMENT$)+"*"),PATH_ABSOLUTE$=subexp("\\/"+subexp(SEGMENT_NZ$+PATH_ABEMPTY$)+"?"),PATH_NOSCHEME$=subexp(SEGMENT_NZ_NC$+PATH_ABEMPTY$),PATH_ROOTLESS$=subexp(SEGMENT_NZ$+PATH_ABEMPTY$),PATH_EMPTY$="(?!"+PCHAR$+")",PATH$=subexp(PATH_ABEMPTY$+"|"+PATH_ABSOLUTE$+"|"+PATH_NOSCHEME$+"|"+PATH_ROOTLESS$+"|"+PATH_EMPTY$),QUERY$=subexp(subexp(PCHAR$+"|"+merge("[\\/\\?]",IPRIVATE$$))+"*"),FRAGMENT$=subexp(subexp(PCHAR$+"|[\\/\\?]")+"*"),HIER_PART$=subexp(subexp("\\/\\/"+AUTHORITY$+PATH_ABEMPTY$)+"|"+PATH_ABSOLUTE$+"|"+PATH_ROOTLESS$+"|"+PATH_EMPTY$),URI$=subexp(SCHEME$+"\\:"+HIER_PART$+subexp("\\?"+QUERY$)+"?"+subexp("\\#"+FRAGMENT$)+"?"),RELATIVE_PART$=subexp(subexp("\\/\\/"+AUTHORITY$+PATH_ABEMPTY$)+"|"+PATH_ABSOLUTE$+"|"+PATH_NOSCHEME$+"|"+PATH_EMPTY$),RELATIVE$=subexp(RELATIVE_PART$+subexp("\\?"+QUERY$)+"?"+subexp("\\#"+FRAGMENT$)+"?"),URI_REFERENCE$=subexp(URI$+"|"+RELATIVE$),ABSOLUTE_URI$=subexp(SCHEME$+"\\:"+HIER_PART$+subexp("\\?"+QUERY$)+"?"),GENERIC_REF$="^("+SCHEME$+")\\:"+subexp(subexp("\\/\\/("+subexp("("+USERINFO$+")@")+"?("+HOST$+")"+subexp("\\:("+PORT$+")")+"?)")+"?("+PATH_ABEMPTY$+"|"+PATH_ABSOLUTE$+"|"+PATH_ROOTLESS$+"|"+PATH_EMPTY$+")")+subexp("\\?("+QUERY$+")")+"?"+subexp("\\#("+FRAGMENT$+")")+"?$",RELATIVE_REF$="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+USERINFO$+")@")+"?("+HOST$+")"+subexp("\\:("+PORT$+")")+"?)")+"?("+PATH_ABEMPTY$+"|"+PATH_ABSOLUTE$+"|"+PATH_NOSCHEME$+"|"+PATH_EMPTY$+")")+subexp("\\?("+QUERY$+")")+"?"+subexp("\\#("+FRAGMENT$+")")+"?$",ABSOLUTE_REF$="^("+SCHEME$+")\\:"+subexp(subexp("\\/\\/("+subexp("("+USERINFO$+")@")+"?("+HOST$+")"+subexp("\\:("+PORT$+")")+"?)")+"?("+PATH_ABEMPTY$+"|"+PATH_ABSOLUTE$+"|"+PATH_ROOTLESS$+"|"+PATH_EMPTY$+")")+subexp("\\?("+QUERY$+")")+"?$",SAMEDOC_REF$="^"+subexp("\\#("+FRAGMENT$+")")+"?$",AUTHORITY_REF$="^"+subexp("("+USERINFO$+")@")+"?("+HOST$+")"+subexp("\\:("+PORT$+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",ALPHA$$,DIGIT$$,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",UNRESERVED$$,SUB_DELIMS$$),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",UNRESERVED$$,SUB_DELIMS$$),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",UNRESERVED$$,SUB_DELIMS$$),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",UNRESERVED$$,SUB_DELIMS$$),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",UNRESERVED$$,SUB_DELIMS$$,"[\\:\\@\\/\\?]",IPRIVATE$$),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",UNRESERVED$$,SUB_DELIMS$$,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",UNRESERVED$$,SUB_DELIMS$$),"g"),UNRESERVED:new RegExp(UNRESERVED$$,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",UNRESERVED$$,RESERVED$$),"g"),PCT_ENCODED:new RegExp(PCT_ENCODED$,"g"),IPV4ADDRESS:new RegExp("^("+IPV4ADDRESS$+")$"),IPV6ADDRESS:new RegExp("^\\[?("+IPV6ADDRESS$+")"+subexp(subexp("\\%25|\\%(?!"+HEXDIG$$+"{2})")+"("+ZONEID$+")")+"?\\]?$")}}var URI_PROTOCOL=buildExps(false);var IRI_PROTOCOL=buildExps(true);var slicedToArray=function(){function sliceIterator(arr,i){var _arr=[];var _n=true;var _d=false;var _e=undefined;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done);_n=true){_arr.push(_s.value);if(i&&_arr.length===i)break}}catch(err){_d=true;_e=err}finally{try{if(!_n&&_i["return"])_i["return"]()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr)){return arr}else if(Symbol.iterator in Object(arr)){return sliceIterator(arr,i)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}else{return Array.from(arr)}};var maxInt=2147483647;var base=36;var tMin=1;var tMax=26;var skew=38;var damp=700;var initialBias=72;var initialN=128;var delimiter="-";var regexPunycode=/^xn--/;var regexNonASCII=/[^\0-\x7E]/;var regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g;var errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var baseMinusTMin=base-tMin;var floor=Math.floor;var stringFromCharCode=String.fromCharCode;function error$1(type){throw new RangeError(errors[type])}function map(array,fn){var result=[];var length=array.length;while(length--){result[length]=fn(array[length])}return result}function mapDomain(string,fn){var parts=string.split("@");var result="";if(parts.length>1){result=parts[0]+"@";string=parts[1]}string=string.replace(regexSeparators,".");var labels=string.split(".");var encoded=map(labels,fn).join(".");return result+encoded}function ucs2decode(string){var output=[];var counter=0;var length=string.length;while(counter<length){var value=string.charCodeAt(counter++);if(value>=55296&&value<=56319&&counter<length){var extra=string.charCodeAt(counter++);if((extra&64512)==56320){output.push(((value&1023)<<10)+(extra&1023)+65536)}else{output.push(value);counter--}}else{output.push(value)}}return output}var ucs2encode=function ucs2encode(array){return String.fromCodePoint.apply(String,toConsumableArray(array))};var basicToDigit=function basicToDigit(codePoint){if(codePoint-48<10){return codePoint-22}if(codePoint-65<26){return codePoint-65}if(codePoint-97<26){return codePoint-97}return base};var digitToBasic=function digitToBasic(digit,flag){return digit+22+75*(digit<26)-((flag!=0)<<5)};var adapt=function adapt(delta,numPoints,firstTime){var k=0;delta=firstTime?floor(delta/damp):delta>>1;delta+=floor(delta/numPoints);for(;delta>baseMinusTMin*tMax>>1;k+=base){delta=floor(delta/baseMinusTMin)}return floor(k+(baseMinusTMin+1)*delta/(delta+skew))};var decode=function decode(input){var output=[];var inputLength=input.length;var i=0;var n=initialN;var bias=initialBias;var basic=input.lastIndexOf(delimiter);if(basic<0){basic=0}for(var j=0;j<basic;++j){if(input.charCodeAt(j)>=128){error$1("not-basic")}output.push(input.charCodeAt(j))}for(var index=basic>0?basic+1:0;index<inputLength;){var oldi=i;for(var w=1,k=base;;k+=base){if(index>=inputLength){error$1("invalid-input")}var digit=basicToDigit(input.charCodeAt(index++));if(digit>=base||digit>floor((maxInt-i)/w)){error$1("overflow")}i+=digit*w;var t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digit<t){break}var baseMinusT=base-t;if(w>floor(maxInt/baseMinusT)){error$1("overflow")}w*=baseMinusT}var out=output.length+1;bias=adapt(i-oldi,out,oldi==0);if(floor(i/out)>maxInt-n){error$1("overflow")}n+=floor(i/out);i%=out;output.splice(i++,0,n)}return String.fromCodePoint.apply(String,output)};var encode=function encode(input){var output=[];input=ucs2decode(input);var inputLength=input.length;var n=initialN;var delta=0;var bias=initialBias;var _iteratorNormalCompletion=true;var _didIteratorError=false;var _iteratorError=undefined;try{for(var _iterator=input[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var _currentValue2=_step.value;if(_currentValue2<128){output.push(stringFromCharCode(_currentValue2))}}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}var basicLength=output.length;var handledCPCount=basicLength;if(basicLength){output.push(delimiter)}while(handledCPCount<inputLength){var m=maxInt;var _iteratorNormalCompletion2=true;var _didIteratorError2=false;var _iteratorError2=undefined;try{for(var _iterator2=input[Symbol.iterator](),_step2;!(_iteratorNormalCompletion2=(_step2=_iterator2.next()).done);_iteratorNormalCompletion2=true){var currentValue=_step2.value;if(currentValue>=n&¤tValue<m){m=currentValue}}}catch(err){_didIteratorError2=true;_iteratorError2=err}finally{try{if(!_iteratorNormalCompletion2&&_iterator2.return){_iterator2.return()}}finally{if(_didIteratorError2){throw _iteratorError2}}}var handledCPCountPlusOne=handledCPCount+1;if(m-n>floor((maxInt-delta)/handledCPCountPlusOne)){error$1("overflow")}delta+=(m-n)*handledCPCountPlusOne;n=m;var _iteratorNormalCompletion3=true;var _didIteratorError3=false;var _iteratorError3=undefined;try{for(var _iterator3=input[Symbol.iterator](),_step3;!(_iteratorNormalCompletion3=(_step3=_iterator3.next()).done);_iteratorNormalCompletion3=true){var _currentValue=_step3.value;if(_currentValue<n&&++delta>maxInt){error$1("overflow")}if(_currentValue==n){var q=delta;for(var k=base;;k+=base){var t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q<t){break}var qMinusT=q-t;var baseMinusT=base-t;output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0)));q=floor(qMinusT/baseMinusT)}output.push(stringFromCharCode(digitToBasic(q,0)));bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength);delta=0;++handledCPCount}}}catch(err){_didIteratorError3=true;_iteratorError3=err}finally{try{if(!_iteratorNormalCompletion3&&_iterator3.return){_iterator3.return()}}finally{if(_didIteratorError3){throw _iteratorError3}}}++delta;++n}return output.join("")};var toUnicode=function toUnicode(input){return mapDomain(input,(function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string}))};var toASCII=function toASCII(input){return mapDomain(input,(function(string){return regexNonASCII.test(string)?"xn--"+encode(string):string}))};var punycode={version:"2.1.0",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:toASCII,toUnicode:toUnicode};var SCHEMES={};function pctEncChar(chr){var c=chr.charCodeAt(0);var e=void 0;if(c<16)e="%0"+c.toString(16).toUpperCase();else if(c<128)e="%"+c.toString(16).toUpperCase();else if(c<2048)e="%"+(c>>6|192).toString(16).toUpperCase()+"%"+(c&63|128).toString(16).toUpperCase();else e="%"+(c>>12|224).toString(16).toUpperCase()+"%"+(c>>6&63|128).toString(16).toUpperCase()+"%"+(c&63|128).toString(16).toUpperCase();return e}function pctDecChars(str){var newStr="";var i=0;var il=str.length;while(i<il){var c=parseInt(str.substr(i+1,2),16);if(c<128){newStr+=String.fromCharCode(c);i+=3}else if(c>=194&&c<224){if(il-i>=6){var c2=parseInt(str.substr(i+4,2),16);newStr+=String.fromCharCode((c&31)<<6|c2&63)}else{newStr+=str.substr(i,6)}i+=6}else if(c>=224){if(il-i>=9){var _c=parseInt(str.substr(i+4,2),16);var c3=parseInt(str.substr(i+7,2),16);newStr+=String.fromCharCode((c&15)<<12|(_c&63)<<6|c3&63)}else{newStr+=str.substr(i,9)}i+=9}else{newStr+=str.substr(i,3);i+=3}}return newStr}function _normalizeComponentEncoding(components,protocol){function decodeUnreserved(str){var decStr=pctDecChars(str);return!decStr.match(protocol.UNRESERVED)?str:decStr}if(components.scheme)components.scheme=String(components.scheme).replace(protocol.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(protocol.NOT_SCHEME,"");if(components.userinfo!==undefined)components.userinfo=String(components.userinfo).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(protocol.NOT_USERINFO,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.host!==undefined)components.host=String(components.host).replace(protocol.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(protocol.NOT_HOST,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.path!==undefined)components.path=String(components.path).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(components.scheme?protocol.NOT_PATH:protocol.NOT_PATH_NOSCHEME,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.query!==undefined)components.query=String(components.query).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(protocol.NOT_QUERY,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);if(components.fragment!==undefined)components.fragment=String(components.fragment).replace(protocol.PCT_ENCODED,decodeUnreserved).replace(protocol.NOT_FRAGMENT,pctEncChar).replace(protocol.PCT_ENCODED,toUpperCase);return components}function _stripLeadingZeros(str){return str.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(host,protocol){var matches=host.match(protocol.IPV4ADDRESS)||[];var _matches=slicedToArray(matches,2),address=_matches[1];if(address){return address.split(".").map(_stripLeadingZeros).join(".")}else{return host}}function _normalizeIPv6(host,protocol){var matches=host.match(protocol.IPV6ADDRESS)||[];var _matches2=slicedToArray(matches,3),address=_matches2[1],zone=_matches2[2];if(address){var _address$toLowerCase$=address.toLowerCase().split("::").reverse(),_address$toLowerCase$2=slicedToArray(_address$toLowerCase$,2),last=_address$toLowerCase$2[0],first=_address$toLowerCase$2[1];var firstFields=first?first.split(":").map(_stripLeadingZeros):[];var lastFields=last.split(":").map(_stripLeadingZeros);var isLastFieldIPv4Address=protocol.IPV4ADDRESS.test(lastFields[lastFields.length-1]);var fieldCount=isLastFieldIPv4Address?7:8;var lastFieldsStart=lastFields.length-fieldCount;var fields=Array(fieldCount);for(var x=0;x<fieldCount;++x){fields[x]=firstFields[x]||lastFields[lastFieldsStart+x]||""}if(isLastFieldIPv4Address){fields[fieldCount-1]=_normalizeIPv4(fields[fieldCount-1],protocol)}var allZeroFields=fields.reduce((function(acc,field,index){if(!field||field==="0"){var lastLongest=acc[acc.length-1];if(lastLongest&&lastLongest.index+lastLongest.length===index){lastLongest.length++}else{acc.push({index:index,length:1})}}return acc}),[]);var longestZeroFields=allZeroFields.sort((function(a,b){return b.length-a.length}))[0];var newHost=void 0;if(longestZeroFields&&longestZeroFields.length>1){var newFirst=fields.slice(0,longestZeroFields.index);var newLast=fields.slice(longestZeroFields.index+longestZeroFields.length);newHost=newFirst.join(":")+"::"+newLast.join(":")}else{newHost=fields.join(":")}if(zone){newHost+="%"+zone}return newHost}else{return host}}var URI_PARSE=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var NO_MATCH_IS_UNDEFINED="".match(/(){0}/)[1]===undefined;function parse(uriString){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var components={};var protocol=options.iri!==false?IRI_PROTOCOL:URI_PROTOCOL;if(options.reference==="suffix")uriString=(options.scheme?options.scheme+":":"")+"//"+uriString;var matches=uriString.match(URI_PARSE);if(matches){if(NO_MATCH_IS_UNDEFINED){components.scheme=matches[1];components.userinfo=matches[3];components.host=matches[4];components.port=parseInt(matches[5],10);components.path=matches[6]||"";components.query=matches[7];components.fragment=matches[8];if(isNaN(components.port)){components.port=matches[5]}}else{components.scheme=matches[1]||undefined;components.userinfo=uriString.indexOf("@")!==-1?matches[3]:undefined;components.host=uriString.indexOf("//")!==-1?matches[4]:undefined;components.port=parseInt(matches[5],10);components.path=matches[6]||"";components.query=uriString.indexOf("?")!==-1?matches[7]:undefined;components.fragment=uriString.indexOf("#")!==-1?matches[8]:undefined;if(isNaN(components.port)){components.port=uriString.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?matches[4]:undefined}}if(components.host){components.host=_normalizeIPv6(_normalizeIPv4(components.host,protocol),protocol)}if(components.scheme===undefined&&components.userinfo===undefined&&components.host===undefined&&components.port===undefined&&!components.path&&components.query===undefined){components.reference="same-document"}else if(components.scheme===undefined){components.reference="relative"}else if(components.fragment===undefined){components.reference="absolute"}else{components.reference="uri"}if(options.reference&&options.reference!=="suffix"&&options.reference!==components.reference){components.error=components.error||"URI is not a "+options.reference+" reference."}var schemeHandler=SCHEMES[(options.scheme||components.scheme||"").toLowerCase()];if(!options.unicodeSupport&&(!schemeHandler||!schemeHandler.unicodeSupport)){if(components.host&&(options.domainHost||schemeHandler&&schemeHandler.domainHost)){try{components.host=punycode.toASCII(components.host.replace(protocol.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){components.error=components.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(components,URI_PROTOCOL)}else{_normalizeComponentEncoding(components,protocol)}if(schemeHandler&&schemeHandler.parse){schemeHandler.parse(components,options)}}else{components.error=components.error||"URI can not be parsed."}return components}function _recomposeAuthority(components,options){var protocol=options.iri!==false?IRI_PROTOCOL:URI_PROTOCOL;var uriTokens=[];if(components.userinfo!==undefined){uriTokens.push(components.userinfo);uriTokens.push("@")}if(components.host!==undefined){uriTokens.push(_normalizeIPv6(_normalizeIPv4(String(components.host),protocol),protocol).replace(protocol.IPV6ADDRESS,(function(_,$1,$2){return"["+$1+($2?"%25"+$2:"")+"]"})))}if(typeof components.port==="number"){uriTokens.push(":");uriTokens.push(components.port.toString(10))}return uriTokens.length?uriTokens.join(""):undefined}var RDS1=/^\.\.?\//;var RDS2=/^\/\.(\/|$)/;var RDS3=/^\/\.\.(\/|$)/;var RDS5=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(input){var output=[];while(input.length){if(input.match(RDS1)){input=input.replace(RDS1,"")}else if(input.match(RDS2)){input=input.replace(RDS2,"/")}else if(input.match(RDS3)){input=input.replace(RDS3,"/");output.pop()}else if(input==="."||input===".."){input=""}else{var im=input.match(RDS5);if(im){var s=im[0];input=input.slice(s.length);output.push(s)}else{throw new Error("Unexpected dot segment condition")}}}return output.join("")}function serialize(components){var options=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var protocol=options.iri?IRI_PROTOCOL:URI_PROTOCOL;var uriTokens=[];var schemeHandler=SCHEMES[(options.scheme||components.scheme||"").toLowerCase()];if(schemeHandler&&schemeHandler.serialize)schemeHandler.serialize(components,options);if(components.host){if(protocol.IPV6ADDRESS.test(components.host)){}else if(options.domainHost||schemeHandler&&schemeHandler.domainHost){try{components.host=!options.iri?punycode.toASCII(components.host.replace(protocol.PCT_ENCODED,pctDecChars).toLowerCase()):punycode.toUnicode(components.host)}catch(e){components.error=components.error||"Host's domain name can not be converted to "+(!options.iri?"ASCII":"Unicode")+" via punycode: "+e}}}_normalizeComponentEncoding(components,protocol);if(options.reference!=="suffix"&&components.scheme){uriTokens.push(components.scheme);uriTokens.push(":")}var authority=_recomposeAuthority(components,options);if(authority!==undefined){if(options.reference!=="suffix"){uriTokens.push("//")}uriTokens.push(authority);if(components.path&&components.path.charAt(0)!=="/"){uriTokens.push("/")}}if(components.path!==undefined){var s=components.path;if(!options.absolutePath&&(!schemeHandler||!schemeHandler.absolutePath)){s=removeDotSegments(s)}if(authority===undefined){s=s.replace(/^\/\//,"/%2F")}uriTokens.push(s)}if(components.query!==undefined){uriTokens.push("?");uriTokens.push(components.query)}if(components.fragment!==undefined){uriTokens.push("#");uriTokens.push(components.fragment)}return uriTokens.join("")}function resolveComponents(base,relative){var options=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var skipNormalization=arguments[3];var target={};if(!skipNormalization){base=parse(serialize(base,options),options);relative=parse(serialize(relative,options),options)}options=options||{};if(!options.tolerant&&relative.scheme){target.scheme=relative.scheme;target.userinfo=relative.userinfo;target.host=relative.host;target.port=relative.port;target.path=removeDotSegments(relative.path||"");target.query=relative.query}else{if(relative.userinfo!==undefined||relative.host!==undefined||relative.port!==undefined){target.userinfo=relative.userinfo;target.host=relative.host;target.port=relative.port;target.path=removeDotSegments(relative.path||"");target.query=relative.query}else{if(!relative.path){target.path=base.path;if(relative.query!==undefined){target.query=relative.query}else{target.query=base.query}}else{if(relative.path.charAt(0)==="/"){target.path=removeDotSegments(relative.path)}else{if((base.userinfo!==undefined||base.host!==undefined||base.port!==undefined)&&!base.path){target.path="/"+relative.path}else if(!base.path){target.path=relative.path}else{target.path=base.path.slice(0,base.path.lastIndexOf("/")+1)+relative.path}target.path=removeDotSegments(target.path)}target.query=relative.query}target.userinfo=base.userinfo;target.host=base.host;target.port=base.port}target.scheme=base.scheme}target.fragment=relative.fragment;return target}function resolve(baseURI,relativeURI,options){var schemelessOptions=assign({scheme:"null"},options);return serialize(resolveComponents(parse(baseURI,schemelessOptions),parse(relativeURI,schemelessOptions),schemelessOptions,true),schemelessOptions)}function normalize(uri,options){if(typeof uri==="string"){uri=serialize(parse(uri,options),options)}else if(typeOf(uri)==="object"){uri=parse(serialize(uri,options),options)}return uri}function equal(uriA,uriB,options){if(typeof uriA==="string"){uriA=serialize(parse(uriA,options),options)}else if(typeOf(uriA)==="object"){uriA=serialize(uriA,options)}if(typeof uriB==="string"){uriB=serialize(parse(uriB,options),options)}else if(typeOf(uriB)==="object"){uriB=serialize(uriB,options)}return uriA===uriB}function escapeComponent(str,options){return str&&str.toString().replace(!options||!options.iri?URI_PROTOCOL.ESCAPE:IRI_PROTOCOL.ESCAPE,pctEncChar)}function unescapeComponent(str,options){return str&&str.toString().replace(!options||!options.iri?URI_PROTOCOL.PCT_ENCODED:IRI_PROTOCOL.PCT_ENCODED,pctDecChars)}var handler={scheme:"http",domainHost:true,parse:function parse(components,options){if(!components.host){components.error=components.error||"HTTP URIs must have a host."}return components},serialize:function serialize(components,options){if(components.port===(String(components.scheme).toLowerCase()!=="https"?80:443)||components.port===""){components.port=undefined}if(!components.path){components.path="/"}return components}};var handler$1={scheme:"https",domainHost:handler.domainHost,parse:handler.parse,serialize:handler.serialize};var O={};var isIRI=true;var UNRESERVED$$="[A-Za-z0-9\\-\\.\\_\\~"+(isIRI?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var HEXDIG$$="[0-9A-Fa-f]";var PCT_ENCODED$=subexp(subexp("%[EFef]"+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$)+"|"+subexp("%[89A-Fa-f]"+HEXDIG$$+"%"+HEXDIG$$+HEXDIG$$)+"|"+subexp("%"+HEXDIG$$+HEXDIG$$));var ATEXT$$="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var QTEXT$$="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var VCHAR$$=merge(QTEXT$$,'[\\"\\\\]');var SOME_DELIMS$$="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var UNRESERVED=new RegExp(UNRESERVED$$,"g");var PCT_ENCODED=new RegExp(PCT_ENCODED$,"g");var NOT_LOCAL_PART=new RegExp(merge("[^]",ATEXT$$,"[\\.]",'[\\"]',VCHAR$$),"g");var NOT_HFNAME=new RegExp(merge("[^]",UNRESERVED$$,SOME_DELIMS$$),"g");var NOT_HFVALUE=NOT_HFNAME;function decodeUnreserved(str){var decStr=pctDecChars(str);return!decStr.match(UNRESERVED)?str:decStr}var handler$2={scheme:"mailto",parse:function parse$$1(components,options){var mailtoComponents=components;var to=mailtoComponents.to=mailtoComponents.path?mailtoComponents.path.split(","):[];mailtoComponents.path=undefined;if(mailtoComponents.query){var unknownHeaders=false;var headers={};var hfields=mailtoComponents.query.split("&");for(var x=0,xl=hfields.length;x<xl;++x){var hfield=hfields[x].split("=");switch(hfield[0]){case"to":var toAddrs=hfield[1].split(",");for(var _x=0,_xl=toAddrs.length;_x<_xl;++_x){to.push(toAddrs[_x])}break;case"subject":mailtoComponents.subject=unescapeComponent(hfield[1],options);break;case"body":mailtoComponents.body=unescapeComponent(hfield[1],options);break;default:unknownHeaders=true;headers[unescapeComponent(hfield[0],options)]=unescapeComponent(hfield[1],options);break}}if(unknownHeaders)mailtoComponents.headers=headers}mailtoComponents.query=undefined;for(var _x2=0,_xl2=to.length;_x2<_xl2;++_x2){var addr=to[_x2].split("@");addr[0]=unescapeComponent(addr[0]);if(!options.unicodeSupport){try{addr[1]=punycode.toASCII(unescapeComponent(addr[1],options).toLowerCase())}catch(e){mailtoComponents.error=mailtoComponents.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}}else{addr[1]=unescapeComponent(addr[1],options).toLowerCase()}to[_x2]=addr.join("@")}return mailtoComponents},serialize:function serialize$$1(mailtoComponents,options){var components=mailtoComponents;var to=toArray(mailtoComponents.to);if(to){for(var x=0,xl=to.length;x<xl;++x){var toAddr=String(to[x]);var atIdx=toAddr.lastIndexOf("@");var localPart=toAddr.slice(0,atIdx).replace(PCT_ENCODED,decodeUnreserved).replace(PCT_ENCODED,toUpperCase).replace(NOT_LOCAL_PART,pctEncChar);var domain=toAddr.slice(atIdx+1);try{domain=!options.iri?punycode.toASCII(unescapeComponent(domain,options).toLowerCase()):punycode.toUnicode(domain)}catch(e){components.error=components.error||"Email address's domain name can not be converted to "+(!options.iri?"ASCII":"Unicode")+" via punycode: "+e}to[x]=localPart+"@"+domain}components.path=to.join(",")}var headers=mailtoComponents.headers=mailtoComponents.headers||{};if(mailtoComponents.subject)headers["subject"]=mailtoComponents.subject;if(mailtoComponents.body)headers["body"]=mailtoComponents.body;var fields=[];for(var name in headers){if(headers[name]!==O[name]){fields.push(name.replace(PCT_ENCODED,decodeUnreserved).replace(PCT_ENCODED,toUpperCase).replace(NOT_HFNAME,pctEncChar)+"="+headers[name].replace(PCT_ENCODED,decodeUnreserved).replace(PCT_ENCODED,toUpperCase).replace(NOT_HFVALUE,pctEncChar))}}if(fields.length){components.query=fields.join("&")}return components}};var URN_PARSE=/^([^\:]+)\:(.*)/;var handler$3={scheme:"urn",parse:function parse$$1(components,options){var matches=components.path&&components.path.match(URN_PARSE);var urnComponents=components;if(matches){var scheme=options.scheme||urnComponents.scheme||"urn";var nid=matches[1].toLowerCase();var nss=matches[2];var urnScheme=scheme+":"+(options.nid||nid);var schemeHandler=SCHEMES[urnScheme];urnComponents.nid=nid;urnComponents.nss=nss;urnComponents.path=undefined;if(schemeHandler){urnComponents=schemeHandler.parse(urnComponents,options)}}else{urnComponents.error=urnComponents.error||"URN can not be parsed."}return urnComponents},serialize:function serialize$$1(urnComponents,options){var scheme=options.scheme||urnComponents.scheme||"urn";var nid=urnComponents.nid;var urnScheme=scheme+":"+(options.nid||nid);var schemeHandler=SCHEMES[urnScheme];if(schemeHandler){urnComponents=schemeHandler.serialize(urnComponents,options)}var uriComponents=urnComponents;var nss=urnComponents.nss;uriComponents.path=(nid||options.nid)+":"+nss;return uriComponents}};var UUID=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/;var handler$4={scheme:"urn:uuid",parse:function parse(urnComponents,options){var uuidComponents=urnComponents;uuidComponents.uuid=uuidComponents.nss;uuidComponents.nss=undefined;if(!options.tolerant&&(!uuidComponents.uuid||!uuidComponents.uuid.match(UUID))){uuidComponents.error=uuidComponents.error||"UUID is not valid."}return uuidComponents},serialize:function serialize(uuidComponents,options){var urnComponents=uuidComponents;urnComponents.nss=(uuidComponents.uuid||"").toLowerCase();return urnComponents}};SCHEMES[handler.scheme]=handler;SCHEMES[handler$1.scheme]=handler$1;SCHEMES[handler$2.scheme]=handler$2;SCHEMES[handler$3.scheme]=handler$3;SCHEMES[handler$4.scheme]=handler$4;exports.SCHEMES=SCHEMES;exports.pctEncChar=pctEncChar;exports.pctDecChars=pctDecChars;exports.parse=parse;exports.removeDotSegments=removeDotSegments;exports.serialize=serialize;exports.resolveComponents=resolveComponents;exports.resolve=resolve;exports.normalize=normalize;exports.equal=equal;exports.escapeComponent=escapeComponent;exports.unescapeComponent=unescapeComponent;Object.defineProperty(exports,"__esModule",{value:true})}))},{}],995:[function(require,module,exports){"use strict";var punycode=require("punycode");var util=require("./util");exports.parse=urlParse;exports.resolve=urlResolve;exports.resolveObject=urlResolveObject;exports.format=urlFormat;exports.Url=Url;function Url(){this.protocol=null;this.slashes=null;this.auth=null;this.host=null;this.port=null;this.hostname=null;this.hash=null;this.search=null;this.query=null;this.pathname=null;this.path=null;this.href=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r","\n","\t"],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,unsafeProtocol={javascript:true,"javascript:":true},hostlessProtocol={javascript:true,"javascript:":true},slashedProtocol={http:true,https:true,ftp:true,gopher:true,file:true,"http:":true,"https:":true,"ftp:":true,"gopher:":true,"file:":true},querystring=require("querystring");function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&util.isObject(url)&&url instanceof Url)return url;var u=new Url;u.parse(url,parseQueryString,slashesDenoteHost);return u}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!util.isString(url)){throw new TypeError("Parameter 'url' must be a string, not "+typeof url)}var queryIndex=url.indexOf("?"),splitter=queryIndex!==-1&&queryIndex<url.indexOf("#")?"?":"#",uSplit=url.split(splitter),slashRegex=/\\/g;uSplit[0]=uSplit[0].replace(slashRegex,"/");url=uSplit.join(splitter);var rest=url;rest=rest.trim();if(!slashesDenoteHost&&url.split("#").length===1){var simplePath=simplePathPattern.exec(rest);if(simplePath){this.path=rest;this.href=rest;this.pathname=simplePath[1];if(simplePath[2]){this.search=simplePath[2];if(parseQueryString){this.query=querystring.parse(this.search.substr(1))}else{this.query=this.search.substr(1)}}else if(parseQueryString){this.search="";this.query={}}return this}}var proto=protocolPattern.exec(rest);if(proto){proto=proto[0];var lowerProto=proto.toLowerCase();this.protocol=lowerProto;rest=rest.substr(proto.length)}if(slashesDenoteHost||proto||rest.match(/^\/\/[^@\/]+@[^@\/]+/)){var slashes=rest.substr(0,2)==="//";if(slashes&&!(proto&&hostlessProtocol[proto])){rest=rest.substr(2);this.slashes=true}}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){var hostEnd=-1;for(var i=0;i<hostEndingChars.length;i++){var hec=rest.indexOf(hostEndingChars[i]);if(hec!==-1&&(hostEnd===-1||hec<hostEnd))hostEnd=hec}var auth,atSign;if(hostEnd===-1){atSign=rest.lastIndexOf("@")}else{atSign=rest.lastIndexOf("@",hostEnd)}if(atSign!==-1){auth=rest.slice(0,atSign);rest=rest.slice(atSign+1);this.auth=decodeURIComponent(auth)}hostEnd=-1;for(var i=0;i<nonHostChars.length;i++){var hec=rest.indexOf(nonHostChars[i]);if(hec!==-1&&(hostEnd===-1||hec<hostEnd))hostEnd=hec}if(hostEnd===-1)hostEnd=rest.length;this.host=rest.slice(0,hostEnd);rest=rest.slice(hostEnd);this.parseHost();this.hostname=this.hostname||"";var ipv6Hostname=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!ipv6Hostname){var hostparts=this.hostname.split(/\./);for(var i=0,l=hostparts.length;i<l;i++){var part=hostparts[i];if(!part)continue;if(!part.match(hostnamePartPattern)){var newpart="";for(var j=0,k=part.length;j<k;j++){if(part.charCodeAt(j)>127){newpart+="x"}else{newpart+=part[j]}}if(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i);var notHost=hostparts.slice(i+1);var bit=part.match(hostnamePartStart);if(bit){validParts.push(bit[1]);notHost.unshift(bit[2])}if(notHost.length){rest="/"+notHost.join(".")+rest}this.hostname=validParts.join(".");break}}}}if(this.hostname.length>hostnameMaxLen){this.hostname=""}else{this.hostname=this.hostname.toLowerCase()}if(!ipv6Hostname){this.hostname=punycode.toASCII(this.hostname)}var p=this.port?":"+this.port:"";var h=this.hostname||"";this.host=h+p;this.href+=this.host;if(ipv6Hostname){this.hostname=this.hostname.substr(1,this.hostname.length-2);if(rest[0]!=="/"){rest="/"+rest}}}if(!unsafeProtocol[lowerProto]){for(var i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i];if(rest.indexOf(ae)===-1)continue;var esc=encodeURIComponent(ae);if(esc===ae){esc=escape(ae)}rest=rest.split(ae).join(esc)}}var hash=rest.indexOf("#");if(hash!==-1){this.hash=rest.substr(hash);rest=rest.slice(0,hash)}var qm=rest.indexOf("?");if(qm!==-1){this.search=rest.substr(qm);this.query=rest.substr(qm+1);if(parseQueryString){this.query=querystring.parse(this.query)}rest=rest.slice(0,qm)}else if(parseQueryString){this.search="";this.query={}}if(rest)this.pathname=rest;if(slashedProtocol[lowerProto]&&this.hostname&&!this.pathname){this.pathname="/"}if(this.pathname||this.search){var p=this.pathname||"";var s=this.search||"";this.path=p+s}this.href=this.format();return this};function urlFormat(obj){if(util.isString(obj))obj=urlParse(obj);if(!(obj instanceof Url))return Url.prototype.format.call(obj);return obj.format()}Url.prototype.format=function(){var auth=this.auth||"";if(auth){auth=encodeURIComponent(auth);auth=auth.replace(/%3A/i,":");auth+="@"}var protocol=this.protocol||"",pathname=this.pathname||"",hash=this.hash||"",host=false,query="";if(this.host){host=auth+this.host}else if(this.hostname){host=auth+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]");if(this.port){host+=":"+this.port}}if(this.query&&util.isObject(this.query)&&Object.keys(this.query).length){query=querystring.stringify(this.query)}var search=this.search||query&&"?"+query||"";if(protocol&&protocol.substr(-1)!==":")protocol+=":";if(this.slashes||(!protocol||slashedProtocol[protocol])&&host!==false){host="//"+(host||"");if(pathname&&pathname.charAt(0)!=="/")pathname="/"+pathname}else if(!host){host=""}if(hash&&hash.charAt(0)!=="#")hash="#"+hash;if(search&&search.charAt(0)!=="?")search="?"+search;pathname=pathname.replace(/[?#]/g,(function(match){return encodeURIComponent(match)}));search=search.replace("#","%23");return protocol+host+pathname+search+hash};function urlResolve(source,relative){return urlParse(source,false,true).resolve(relative)}Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,false,true)).format()};function urlResolveObject(source,relative){if(!source)return relative;return urlParse(source,false,true).resolveObject(relative)}Url.prototype.resolveObject=function(relative){if(util.isString(relative)){var rel=new Url;rel.parse(relative,false,true);relative=rel}var result=new Url;var tkeys=Object.keys(this);for(var tk=0;tk<tkeys.length;tk++){var tkey=tkeys[tk];result[tkey]=this[tkey]}result.hash=relative.hash;if(relative.href===""){result.href=result.format();return result}if(relative.slashes&&!relative.protocol){var rkeys=Object.keys(relative);for(var rk=0;rk<rkeys.length;rk++){var rkey=rkeys[rk];if(rkey!=="protocol")result[rkey]=relative[rkey]}if(slashedProtocol[result.protocol]&&result.hostname&&!result.pathname){result.path=result.pathname="/"}result.href=result.format();return result}if(relative.protocol&&relative.protocol!==result.protocol){if(!slashedProtocol[relative.protocol]){var keys=Object.keys(relative);for(var v=0;v<keys.length;v++){var k=keys[v];result[k]=relative[k]}result.href=result.format();return result}result.protocol=relative.protocol;if(!relative.host&&!hostlessProtocol[relative.protocol]){var relPath=(relative.pathname||"").split("/");while(relPath.length&&!(relative.host=relPath.shift()));if(!relative.host)relative.host="";if(!relative.hostname)relative.hostname="";if(relPath[0]!=="")relPath.unshift("");if(relPath.length<2)relPath.unshift("");result.pathname=relPath.join("/")}else{result.pathname=relative.pathname}result.search=relative.search;result.query=relative.query;result.host=relative.host||"";result.auth=relative.auth;result.hostname=relative.hostname||relative.host;result.port=relative.port;if(result.pathname||result.search){var p=result.pathname||"";var s=result.search||"";result.path=p+s}result.slashes=result.slashes||relative.slashes;result.href=result.format();return result}var isSourceAbs=result.pathname&&result.pathname.charAt(0)==="/",isRelAbs=relative.host||relative.pathname&&relative.pathname.charAt(0)==="/",mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split("/")||[],relPath=relative.pathname&&relative.pathname.split("/")||[],psychotic=result.protocol&&!slashedProtocol[result.protocol];if(psychotic){result.hostname="";result.port=null;if(result.host){if(srcPath[0]==="")srcPath[0]=result.host;else srcPath.unshift(result.host)}result.host="";if(relative.protocol){relative.hostname=null;relative.port=null;if(relative.host){if(relPath[0]==="")relPath[0]=relative.host;else relPath.unshift(relative.host)}relative.host=null}mustEndAbs=mustEndAbs&&(relPath[0]===""||srcPath[0]==="")}if(isRelAbs){result.host=relative.host||relative.host===""?relative.host:result.host;result.hostname=relative.hostname||relative.hostname===""?relative.hostname:result.hostname;result.search=relative.search;result.query=relative.query;srcPath=relPath}else if(relPath.length){if(!srcPath)srcPath=[];srcPath.pop();srcPath=srcPath.concat(relPath);result.search=relative.search;result.query=relative.query}else if(!util.isNullOrUndefined(relative.search)){if(psychotic){result.hostname=result.host=srcPath.shift();var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}result.search=relative.search;result.query=relative.query;if(!util.isNull(result.pathname)||!util.isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.href=result.format();return result}if(!srcPath.length){result.pathname=null;if(result.search){result.path="/"+result.search}else{result.path=null}result.href=result.format();return result}var last=srcPath.slice(-1)[0];var hasTrailingSlash=(result.host||relative.host||srcPath.length>1)&&(last==="."||last==="..")||last==="";var up=0;for(var i=srcPath.length;i>=0;i--){last=srcPath[i];if(last==="."){srcPath.splice(i,1)}else if(last===".."){srcPath.splice(i,1);up++}else if(up){srcPath.splice(i,1);up--}}if(!mustEndAbs&&!removeAllDots){for(;up--;up){srcPath.unshift("..")}}if(mustEndAbs&&srcPath[0]!==""&&(!srcPath[0]||srcPath[0].charAt(0)!=="/")){srcPath.unshift("")}if(hasTrailingSlash&&srcPath.join("/").substr(-1)!=="/"){srcPath.push("")}var isAbsolute=srcPath[0]===""||srcPath[0]&&srcPath[0].charAt(0)==="/";if(psychotic){result.hostname=result.host=isAbsolute?"":srcPath.length?srcPath.shift():"";var authInHost=result.host&&result.host.indexOf("@")>0?result.host.split("@"):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift()}}mustEndAbs=mustEndAbs||result.host&&srcPath.length;if(mustEndAbs&&!isAbsolute){srcPath.unshift("")}if(!srcPath.length){result.pathname=null;result.path=null}else{result.pathname=srcPath.join("/")}if(!util.isNull(result.pathname)||!util.isNull(result.search)){result.path=(result.pathname?result.pathname:"")+(result.search?result.search:"")}result.auth=relative.auth||result.auth;result.slashes=result.slashes||relative.slashes;result.href=result.format();return result};Url.prototype.parseHost=function(){var host=this.host;var port=portPattern.exec(host);if(port){port=port[0];if(port!==":"){this.port=port.substr(1)}host=host.substr(0,host.length-port.length)}if(host)this.hostname=host}},{"./util":996,punycode:130,querystring:871}],996:[function(require,module,exports){"use strict";module.exports={isString:function(arg){return typeof arg==="string"},isObject:function(arg){return typeof arg==="object"&&arg!==null},isNull:function(arg){return arg===null},isNullOrUndefined:function(arg){return arg==null}}},{}],997:[function(require,module,exports){(function(global){module.exports=deprecate;function deprecate(fn,msg){if(config("noDeprecation")){return fn}var warned=false;function deprecated(){if(!warned){if(config("throwDeprecation")){throw new Error(msg)}else if(config("traceDeprecation")){console.trace(msg)}else{console.warn(msg)}warned=true}return fn.apply(this,arguments)}return deprecated}function config(name){try{if(!global.localStorage)return false}catch(_){return false}var val=global.localStorage[name];if(null==val)return false;return String(val).toLowerCase()==="true"}}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],998:[function(require,module,exports){arguments[4][72][0].apply(exports,arguments)},{dup:72}],999:[function(require,module,exports){arguments[4][73][0].apply(exports,arguments)},{dup:73}],1e3:[function(require,module,exports){arguments[4][74][0].apply(exports,arguments)},{"./support/isBuffer":999,_process:855,dup:74,inherits:998}],1001:[function(require,module,exports){var byteToHex=[];for(var i=0;i<256;++i){byteToHex[i]=(i+256).toString(16).substr(1)}function bytesToUuid(buf,offset){var i=offset||0;var bth=byteToHex;return[bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]]].join("")}module.exports=bytesToUuid},{}],1002:[function(require,module,exports){var getRandomValues=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(getRandomValues){var rnds8=new Uint8Array(16);module.exports=function whatwgRNG(){getRandomValues(rnds8);return rnds8}}else{var rnds=new Array(16);module.exports=function mathRNG(){for(var i=0,r;i<16;i++){if((i&3)===0)r=Math.random()*4294967296;rnds[i]=r>>>((i&3)<<3)&255}return rnds}}},{}],1003:[function(require,module,exports){var rng=require("./lib/rng");var bytesToUuid=require("./lib/bytesToUuid");function v4(options,buf,offset){var i=buf&&offset||0;if(typeof options=="string"){buf=options==="binary"?new Array(16):null;options=null}options=options||{};var rnds=options.random||(options.rng||rng)();rnds[6]=rnds[6]&15|64;rnds[8]=rnds[8]&63|128;if(buf){for(var ii=0;ii<16;++ii){buf[i+ii]=rnds[ii]}}return buf||bytesToUuid(rnds)}module.exports=v4},{"./lib/bytesToUuid":1001,"./lib/rng":1002}],1004:[function(require,module,exports){var mod_assertplus=require("assert-plus");var mod_util=require("util");var mod_extsprintf=require("extsprintf");var mod_isError=require("core-util-is").isError;var sprintf=mod_extsprintf.sprintf;module.exports=VError;VError.VError=VError;VError.SError=SError;VError.WError=WError;VError.MultiError=MultiError;function parseConstructorArguments(args){var argv,options,sprintf_args,shortmessage,k;mod_assertplus.object(args,"args");mod_assertplus.bool(args.strict,"args.strict");mod_assertplus.array(args.argv,"args.argv");argv=args.argv;if(argv.length===0){options={};sprintf_args=[]}else if(mod_isError(argv[0])){options={cause:argv[0]};sprintf_args=argv.slice(1)}else if(typeof argv[0]==="object"){options={};for(k in argv[0]){options[k]=argv[0][k]}sprintf_args=argv.slice(1)}else{mod_assertplus.string(argv[0],"first argument to VError, SError, or WError "+"constructor must be a string, object, or Error");options={};sprintf_args=argv}mod_assertplus.object(options);if(!options.strict&&!args.strict){sprintf_args=sprintf_args.map((function(a){return a===null?"null":a===undefined?"undefined":a}))}if(sprintf_args.length===0){shortmessage=""}else{shortmessage=sprintf.apply(null,sprintf_args)}return{options:options,shortmessage:shortmessage}}function VError(){var args,obj,parsed,cause,ctor,message,k;args=Array.prototype.slice.call(arguments,0);if(!(this instanceof VError)){obj=Object.create(VError.prototype);VError.apply(obj,arguments);return obj}parsed=parseConstructorArguments({argv:args,strict:false});if(parsed.options.name){mod_assertplus.string(parsed.options.name,'error\'s "name" must be a string');this.name=parsed.options.name}this.jse_shortmsg=parsed.shortmessage;message=parsed.shortmessage;cause=parsed.options.cause;if(cause){mod_assertplus.ok(mod_isError(cause),"cause is not an Error");this.jse_cause=cause;if(!parsed.options.skipCauseMessage){message+=": "+cause.message}}this.jse_info={};if(parsed.options.info){for(k in parsed.options.info){this.jse_info[k]=parsed.options.info[k]}}this.message=message;Error.call(this,message);if(Error.captureStackTrace){ctor=parsed.options.constructorOpt||this.constructor;Error.captureStackTrace(this,ctor)}return this}mod_util.inherits(VError,Error);VError.prototype.name="VError";VError.prototype.toString=function ve_toString(){var str=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)str+=": "+this.message;return str};VError.prototype.cause=function ve_cause(){var cause=VError.cause(this);return cause===null?undefined:cause};VError.cause=function(err){mod_assertplus.ok(mod_isError(err),"err must be an Error");return mod_isError(err.jse_cause)?err.jse_cause:null};VError.info=function(err){var rv,cause,k;mod_assertplus.ok(mod_isError(err),"err must be an Error");cause=VError.cause(err);if(cause!==null){rv=VError.info(cause)}else{rv={}}if(typeof err.jse_info=="object"&&err.jse_info!==null){for(k in err.jse_info){rv[k]=err.jse_info[k]}}return rv};VError.findCauseByName=function(err,name){var cause;mod_assertplus.ok(mod_isError(err),"err must be an Error");mod_assertplus.string(name,"name");mod_assertplus.ok(name.length>0,"name cannot be empty");for(cause=err;cause!==null;cause=VError.cause(cause)){mod_assertplus.ok(mod_isError(cause));if(cause.name==name){return cause}}return null};VError.hasCauseWithName=function(err,name){return VError.findCauseByName(err,name)!==null};VError.fullStack=function(err){mod_assertplus.ok(mod_isError(err),"err must be an Error");var cause=VError.cause(err);if(cause){return err.stack+"\ncaused by: "+VError.fullStack(cause)}return err.stack};VError.errorFromList=function(errors){mod_assertplus.arrayOfObject(errors,"errors");if(errors.length===0){return null}errors.forEach((function(e){mod_assertplus.ok(mod_isError(e))}));if(errors.length==1){return errors[0]}return new MultiError(errors)};VError.errorForEach=function(err,func){mod_assertplus.ok(mod_isError(err),"err must be an Error");mod_assertplus.func(func,"func");if(err instanceof MultiError){err.errors().forEach((function iterError(e){func(e)}))}else{func(err)}};function SError(){var args,obj,parsed,options;args=Array.prototype.slice.call(arguments,0);if(!(this instanceof SError)){obj=Object.create(SError.prototype);SError.apply(obj,arguments);return obj}parsed=parseConstructorArguments({argv:args,strict:true});options=parsed.options;VError.call(this,options,"%s",parsed.shortmessage);return this}mod_util.inherits(SError,VError);function MultiError(errors){mod_assertplus.array(errors,"list of errors");mod_assertplus.ok(errors.length>0,"must be at least one error");this.ase_errors=errors;VError.call(this,{cause:errors[0]},"first of %d error%s",errors.length,errors.length==1?"":"s")}mod_util.inherits(MultiError,VError);MultiError.prototype.name="MultiError";MultiError.prototype.errors=function me_errors(){return this.ase_errors.slice(0)};function WError(){var args,obj,parsed,options;args=Array.prototype.slice.call(arguments,0);if(!(this instanceof WError)){obj=Object.create(WError.prototype);WError.apply(obj,args);return obj}parsed=parseConstructorArguments({argv:args,strict:false});options=parsed.options;options["skipCauseMessage"]=true;VError.call(this,options,"%s",parsed.shortmessage);return this}mod_util.inherits(WError,VError);WError.prototype.name="WError";WError.prototype.toString=function we_toString(){var str=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)str+=": "+this.message;if(this.jse_cause&&this.jse_cause.message)str+="; caused by "+this.jse_cause.toString();return str};WError.prototype.cause=function we_cause(c){if(mod_isError(c))this.jse_cause=c;return this.jse_cause}},{"assert-plus":70,"core-util-is":137,extsprintf:1005,util:1e3}],1005:[function(require,module,exports){(function(process){var mod_assert=require("assert");var mod_util=require("util");exports.sprintf=jsSprintf;exports.printf=jsPrintf;exports.fprintf=jsFprintf;function jsSprintf(ofmt){var regex=["([^%]*)","%","(['\\-+ #0]*?)","([1-9]\\d*)?","(\\.([1-9]\\d*))?","[lhjztL]*?","([diouxXfFeEgGaAcCsSp%jr])"].join("");var re=new RegExp(regex);var args=Array.prototype.slice.call(arguments,1);var fmt=ofmt;var flags,width,precision,conversion;var left,pad,sign,arg,match;var ret="";var argn=1;var posn=0;var convposn;var curconv;mod_assert.equal("string",typeof fmt,"first argument must be a format string");while((match=re.exec(fmt))!==null){ret+=match[1];fmt=fmt.substring(match[0].length);curconv=match[0].substring(match[1].length);convposn=posn+match[1].length+1;posn+=match[0].length;flags=match[2]||"";width=match[3]||0;precision=match[4]||"";conversion=match[6];left=false;sign=false;pad=" ";if(conversion=="%"){ret+="%";continue}if(args.length===0){throw jsError(ofmt,convposn,curconv,"has no matching argument "+"(too few arguments passed)")}arg=args.shift();argn++;if(flags.match(/[\' #]/)){throw jsError(ofmt,convposn,curconv,"uses unsupported flags")}if(precision.length>0){throw jsError(ofmt,convposn,curconv,"uses non-zero precision (not supported)")}if(flags.match(/-/))left=true;if(flags.match(/0/))pad="0";if(flags.match(/\+/))sign=true;switch(conversion){case"s":if(arg===undefined||arg===null){throw jsError(ofmt,convposn,curconv,"attempted to print undefined or null "+"as a string (argument "+argn+" to "+"sprintf)")}ret+=doPad(pad,width,left,arg.toString());break;case"d":arg=Math.floor(arg);case"f":sign=sign&&arg>0?"+":"";ret+=sign+doPad(pad,width,left,arg.toString());break;case"x":ret+=doPad(pad,width,left,arg.toString(16));break;case"j":if(width===0)width=10;ret+=mod_util.inspect(arg,false,width);break;case"r":ret+=dumpException(arg);break;default:throw jsError(ofmt,convposn,curconv,"is not supported")}}ret+=fmt;return ret}function jsError(fmtstr,convposn,curconv,reason){mod_assert.equal(typeof fmtstr,"string");mod_assert.equal(typeof curconv,"string");mod_assert.equal(typeof convposn,"number");mod_assert.equal(typeof reason,"string");return new Error('format string "'+fmtstr+'": conversion specifier "'+curconv+'" at character '+convposn+" "+reason)}function jsPrintf(){var args=Array.prototype.slice.call(arguments);args.unshift(process.stdout);jsFprintf.apply(null,args)}function jsFprintf(stream){var args=Array.prototype.slice.call(arguments,1);return stream.write(jsSprintf.apply(this,args))}function doPad(chr,width,left,str){var ret=str;while(ret.length<width){if(left)ret+=chr;else ret=chr+ret}return ret}function dumpException(ex){var ret;if(!(ex instanceof Error))throw new Error(jsSprintf("invalid type for %%r: %j",ex));ret="EXCEPTION: "+ex.constructor.name+": "+ex.stack;if(ex.cause&&typeof ex.cause==="function"){var cex=ex.cause();if(cex){ret+="\nCaused by: "+dumpException(cex)}}return ret}}).call(this,require("_process"))},{_process:855,assert:71,util:1e3}],1006:[function(require,module,exports){var indexOf=function(xs,item){if(xs.indexOf)return xs.indexOf(item);else for(var i=0;i<xs.length;i++){if(xs[i]===item)return i}return-1};var Object_keys=function(obj){if(Object.keys)return Object.keys(obj);else{var res=[];for(var key in obj)res.push(key);return res}};var forEach=function(xs,fn){if(xs.forEach)return xs.forEach(fn);else for(var i=0;i<xs.length;i++){fn(xs[i],i,xs)}};var defineProp=function(){try{Object.defineProperty({},"_",{});return function(obj,name,value){Object.defineProperty(obj,name,{writable:true,enumerable:false,configurable:true,value:value})}}catch(e){return function(obj,name,value){obj[name]=value}}}();var 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"];function Context(){}Context.prototype={};var Script=exports.Script=function NodeScript(code){if(!(this instanceof Script))return new Script(code);this.code=code};Script.prototype.runInContext=function(context){if(!(context instanceof Context)){throw new TypeError("needs a 'context' argument.")}var iframe=document.createElement("iframe");if(!iframe.style)iframe.style={};iframe.style.display="none";document.body.appendChild(iframe);var win=iframe.contentWindow;var wEval=win.eval,wExecScript=win.execScript;if(!wEval&&wExecScript){wExecScript.call(win,"null");wEval=win.eval}forEach(Object_keys(context),(function(key){win[key]=context[key]}));forEach(globals,(function(key){if(context[key]){win[key]=context[key]}}));var winKeys=Object_keys(win);var res=wEval.call(win,this.code);forEach(Object_keys(win),(function(key){if(key in context||indexOf(winKeys,key)===-1){context[key]=win[key]}}));forEach(globals,(function(key){if(!(key in context)){defineProp(context,key,win[key])}}));document.body.removeChild(iframe);return res};Script.prototype.runInThisContext=function(){return eval(this.code)};Script.prototype.runInNewContext=function(context){var ctx=Script.createContext(context);var res=this.runInContext(ctx);if(context){forEach(Object_keys(ctx),(function(key){context[key]=ctx[key]}))}return res};forEach(Object_keys(Script.prototype),(function(name){exports[name]=Script[name]=function(code){var s=Script(code);return s[name].apply(s,[].slice.call(arguments,1))}}));exports.isContext=function(context){return context instanceof Context};exports.createScript=function(code){return exports.Script(code)};exports.createContext=Script.createContext=function(context){var copy=new Context;if(typeof context==="object"){forEach(Object_keys(context),(function(key){copy[key]=context[key]}))}return copy}},{}],1007:[function(require,module,exports){"use strict";const{getGlobalMonotonicClockMS:getGlobalMonotonicClockMS}=require("./lib/global-monotonic-clock");const{Performance:Performance}=require("./lib/performance");const clockIsAccurate=require("./lib/clock-is-accurate");module.exports={Performance:Performance,getGlobalMonotonicClockMS:getGlobalMonotonicClockMS,clockIsAccurate:clockIsAccurate}},{"./lib/clock-is-accurate":1009,"./lib/global-monotonic-clock":1010,"./lib/performance":1011}],1008:[function(require,module,exports){"use strict";const{getGlobalMonotonicClockMS:getGlobalMonotonicClockMS}=require("./global-monotonic-clock");const clockIsAccurate=require("./clock-is-accurate");function calculateClockOffset(){const start=Date.now();let cur=start;for(let i=0;i<1e6&&cur===start;i++){cur=Date.now()}return cur-getGlobalMonotonicClockMS()}if(clockIsAccurate){calculateClockOffset();calculateClockOffset();calculateClockOffset();module.exports=calculateClockOffset}else{module.exports=undefined}},{"./clock-is-accurate":1009,"./global-monotonic-clock":1010}],1009:[function(require,module,exports){"use strict";const{hrtime:hrtime}=require("./utils");function testClockAccuracy(){const roundTrip=hrtime(hrtime());if(roundTrip[0]>1||roundTrip[1]>5e3*2){return false}let times;let cur;let start;let end;times=100;start=hrtime();while(times-- >0){cur=Date.now()}end=hrtime(start);if(end[0]*1e9+end[1]>1e6){return false}times=1e4;start=hrtime();while(times-- >0){cur=Date.now()}end=hrtime(start);if(end[0]*1e9+end[1]>5e7){return false}return true}testClockAccuracy();testClockAccuracy();testClockAccuracy();const TIMES=5;const THRESHOLD=.6*TIMES;let accurates=0;for(let i=0;i<TIMES;i++){if(testClockAccuracy()){accurates++}}const isAccurate=accurates>=THRESHOLD;module.exports=isAccurate},{"./utils":1012}],1010:[function(require,module,exports){"use strict";const{hrtime:hrtime,toMS:toMS}=require("./utils");function getGlobalMonotonicClockMS(){return toMS(hrtime())}module.exports={getGlobalMonotonicClockMS:getGlobalMonotonicClockMS}},{"./utils":1012}],1011:[function(require,module,exports){"use strict";const clockIsAccurate=require("./clock-is-accurate");const calculateClockOffset=require("./calculate-clock-offset");const{hrtime:hrtime,toMS:toMS}=require("./utils");const kTimeOrigin=Symbol("time origin");const kTimeOriginTimestamp=Symbol("time origin timestamp");class Performance{constructor(){const timeOrigin=hrtime();this[kTimeOrigin]=timeOrigin;if(clockIsAccurate){const t1=calculateClockOffset();const t2=toMS(timeOrigin);this[kTimeOriginTimestamp]=t1+t2}else{const cur=Date.now();this[kTimeOriginTimestamp]=cur}}get timeOrigin(){return this[kTimeOriginTimestamp]}now(){const diff=toMS(hrtime(this[kTimeOrigin]));return clockIsAccurate?diff:Math.round(diff)}toJSON(){return{timeOrigin:this.timeOrigin}}}module.exports={Performance:Performance}},{"./calculate-clock-offset":1008,"./clock-is-accurate":1009,"./utils":1012}],1012:[function(require,module,exports){"use strict";const hrtime=require("browser-process-hrtime");function toMS([sec,nanosec]){return sec*1e3+nanosec/1e6}module.exports={hrtime:hrtime,toMS:toMS}},{"browser-process-hrtime":82}],1013:[function(require,module,exports){"use strict";const xnv=require("xml-name-validator");const{NAMESPACES:NAMESPACES}=require("./constants");function generatePrefix(map,newNamespace,prefixIndex){const generatedPrefix="ns"+prefixIndex;map[newNamespace]=[generatedPrefix];return generatedPrefix}function preferredPrefixString(map,ns,preferredPrefix){const candidateList=map[ns];if(!candidateList){return null}if(candidateList.includes(preferredPrefix)){return preferredPrefix}return candidateList[candidateList.length-1]}function serializeAttributeValue(value){if(value===null){return""}return value.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")}function serializeAttributes(element,map,localPrefixes,ignoreNamespaceDefAttr,requireWellFormed,refs){let result="";const namespaceLocalnames=Object.create(null);for(const attr of element.attributes){if(requireWellFormed&&namespaceLocalnames[attr.namespaceURI]&&namespaceLocalnames[attr.namespaceURI].has(attr.localName)){throw new Error("Found duplicated attribute")}if(!namespaceLocalnames[attr.namespaceURI]){namespaceLocalnames[attr.namespaceURI]=new Set}namespaceLocalnames[attr.namespaceURI].add(attr.localName);const attributeNamespace=attr.namespaceURI;let candidatePrefix=null;if(attributeNamespace!==null){candidatePrefix=preferredPrefixString(map,attributeNamespace,attr.prefix);if(attributeNamespace===NAMESPACES.XMLNS){if(attr.value===NAMESPACES.XML||attr.prefix===null&&ignoreNamespaceDefAttr||attr.prefix!==null&&localPrefixes[attr.localName]!==attr.value&&map[attr.value].includes(attr.localName)){continue}if(requireWellFormed&&attr.value===NAMESPACES.XMLNS){throw new Error("The XMLNS namespace is reserved and cannot be applied as an element's namespace via XML parsing")}if(requireWellFormed&&attr.value===""){throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace")}if(attr.prefix==="xmlns"){candidatePrefix="xmlns"}}else if(candidatePrefix===null){candidatePrefix=generatePrefix(map,attributeNamespace,refs.prefixIndex++);result+=` xmlns:${candidatePrefix}="${serializeAttributeValue(attributeNamespace,requireWellFormed)}"`}}result+=" ";if(candidatePrefix!==null){result+=candidatePrefix+":"}if(requireWellFormed&&(attr.localName.includes(":")||!xnv.name(attr.localName)||attr.localName==="xmlns"&&attributeNamespace===null)){throw new Error("Invalid attribute localName value")}result+=`${attr.localName}="${serializeAttributeValue(attr.value,requireWellFormed)}"`}return result}module.exports.preferredPrefixString=preferredPrefixString;module.exports.generatePrefix=generatePrefix;module.exports.serializeAttributeValue=serializeAttributeValue;module.exports.serializeAttributes=serializeAttributes},{"./constants":1014,"xml-name-validator":1035}],1014:[function(require,module,exports){"use strict";module.exports.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};module.exports.NODE_TYPES={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};module.exports.VOID_ELEMENTS=new Set(["area","base","basefont","bgsound","br","col","embed","frame","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"])},{}],1015:[function(require,module,exports){"use strict";const xnv=require("xml-name-validator");const attributeUtils=require("./attributes");const{NAMESPACES:NAMESPACES,VOID_ELEMENTS:VOID_ELEMENTS,NODE_TYPES:NODE_TYPES}=require("./constants");const XML_CHAR=/^(\x09|\x0A|\x0D|[\x20-\uD7FF]|[\uE000-\uFFFD]|(?:[\uD800-\uDBFF][\uDC00-\uDFFF]))*$/;const PUBID_CHAR=/^(\x20|\x0D|\x0A|[a-zA-Z0-9]|[-'()+,./:=?;!*#@$_%])*$/;function asciiCaseInsensitiveMatch(a,b){if(a.length!==b.length){return false}for(let i=0;i<a.length;++i){if((a.charCodeAt(i)|32)!==(b.charCodeAt(i)|32)){return false}}return true}function recordNamespaceInformation(element,map,prefixMap){let defaultNamespaceAttrValue=null;for(let i=0;i<element.attributes.length;++i){const attr=element.attributes[i];if(attr.namespaceURI===NAMESPACES.XMLNS){if(attr.prefix===null){defaultNamespaceAttrValue=attr.value;continue}let namespaceDefinition=attr.value;if(namespaceDefinition===NAMESPACES.XML){continue}if(namespaceDefinition===null){namespaceDefinition=""}if(namespaceDefinition in map&&map[namespaceDefinition].includes(attr.localName)){continue}if(!(namespaceDefinition in map)){map[namespaceDefinition]=[]}map[namespaceDefinition].push(attr.localName);prefixMap[attr.localName]=namespaceDefinition}}return defaultNamespaceAttrValue}function serializeDocumentType(node,namespace,prefixMap,requireWellFormed){if(requireWellFormed&&!PUBID_CHAR.test(node.publicId)){throw new Error("Failed to serialize XML: document type node publicId is not well-formed.")}if(requireWellFormed&&(!XML_CHAR.test(node.systemId)||node.systemId.includes('"')&&node.systemId.includes("'"))){throw new Error("Failed to serialize XML: document type node systemId is not well-formed.")}let markup=`<!DOCTYPE ${node.name}`;if(node.publicId!==""){markup+=` PUBLIC "${node.publicId}"`}else if(node.systemId!==""){markup+=" SYSTEM"}if(node.systemId!==""){markup+=` "${node.systemId}"`}return markup+">"}function serializeProcessingInstruction(node,namespace,prefixMap,requireWellFormed){if(requireWellFormed&&(node.target.includes(":")||asciiCaseInsensitiveMatch(node.target,"xml"))){throw new Error("Failed to serialize XML: processing instruction node target is not well-formed.")}if(requireWellFormed&&(!XML_CHAR.test(node.data)||node.data.includes("?>"))){throw new Error("Failed to serialize XML: processing instruction node data is not well-formed.")}return`<?${node.target} ${node.data}?>`}function serializeDocument(node,namespace,prefixMap,requireWellFormed,refs){if(requireWellFormed&&node.documentElement===null){throw new Error("Failed to serialize XML: document does not have a document element.")}let serializedDocument="";for(const child of node.childNodes){serializedDocument+=xmlSerialization(child,namespace,prefixMap,requireWellFormed,refs)}return serializedDocument}function serializeDocumentFragment(node,namespace,prefixMap,requireWellFormed,refs){let markup="";for(const child of node.childNodes){markup+=xmlSerialization(child,namespace,prefixMap,requireWellFormed,refs)}return markup}function serializeText(node,namespace,prefixMap,requireWellFormed){if(requireWellFormed&&!XML_CHAR.test(node.data)){throw new Error("Failed to serialize XML: text node data is not well-formed.")}return node.data.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function serializeComment(node,namespace,prefixMap,requireWellFormed){if(requireWellFormed&&!XML_CHAR.test(node.data)){throw new Error("Failed to serialize XML: comment node data is not well-formed.")}if(requireWellFormed&&(node.data.includes("--")||node.data.endsWith("-"))){throw new Error("Failed to serialize XML: found hyphens in illegal places in comment node data.")}return`\x3c!--${node.data}--\x3e`}function serializeElement(node,namespace,prefixMap,requireWellFormed,refs){if(requireWellFormed&&(node.localName.includes(":")||!xnv.name(node.localName))){throw new Error("Failed to serialize XML: element node localName is not a valid XML name.")}let markup="<";let qualifiedName="";let skipEndTag=false;let ignoreNamespaceDefinitionAttr=false;const map=Object.assign({},prefixMap);const localPrefixesMap=Object.create(null);const localDefaultNamespace=recordNamespaceInformation(node,map,localPrefixesMap);let inheritedNs=namespace;const ns=node.namespaceURI;if(inheritedNs===ns){if(localDefaultNamespace!==null){ignoreNamespaceDefinitionAttr=true}if(ns===NAMESPACES.XML){qualifiedName="xml:"+node.localName}else{qualifiedName=node.localName}markup+=qualifiedName}else{let{prefix:prefix}=node;let candidatePrefix=attributeUtils.preferredPrefixString(map,ns,prefix);if(prefix==="xmlns"){if(requireWellFormed){throw new Error('Failed to serialize XML: element nodes can\'t have a prefix of "xmlns".')}candidatePrefix="xmlns"}if(candidatePrefix!==null){qualifiedName=candidatePrefix+":"+node.localName;if(localDefaultNamespace!==null&&localDefaultNamespace!==NAMESPACES.XML){inheritedNs=localDefaultNamespace===""?null:localDefaultNamespace}markup+=qualifiedName}else if(prefix!==null){if(prefix in localPrefixesMap){prefix=attributeUtils.generatePrefix(map,ns,refs.prefixIndex++)}if(map[ns]){map[ns].push(prefix)}else{map[ns]=[prefix]}qualifiedName=prefix+":"+node.localName;markup+=`${qualifiedName} xmlns:${prefix}="${attributeUtils.serializeAttributeValue(ns,requireWellFormed)}"`;if(localDefaultNamespace!==null){inheritedNs=localDefaultNamespace===""?null:localDefaultNamespace}}else if(localDefaultNamespace===null||localDefaultNamespace!==ns){ignoreNamespaceDefinitionAttr=true;qualifiedName=node.localName;inheritedNs=ns;markup+=`${qualifiedName} xmlns="${attributeUtils.serializeAttributeValue(ns,requireWellFormed)}"`}else{qualifiedName=node.localName;inheritedNs=ns;markup+=qualifiedName}}markup+=attributeUtils.serializeAttributes(node,map,localPrefixesMap,ignoreNamespaceDefinitionAttr,requireWellFormed,refs);if(ns===NAMESPACES.HTML&&node.childNodes.length===0&&VOID_ELEMENTS.has(node.localName)){markup+=" /";skipEndTag=true}else if(ns!==NAMESPACES.HTML&&node.childNodes.length===0){markup+="/";skipEndTag=true}markup+=">";if(skipEndTag){return markup}if(ns===NAMESPACES.HTML&&node.localName==="template"){markup+=xmlSerialization(node.content,inheritedNs,map,requireWellFormed,refs)}else{for(const child of node.childNodes){markup+=xmlSerialization(child,inheritedNs,map,requireWellFormed,refs)}}markup+=`</${qualifiedName}>`;return markup}function serializeCDATASection(node){return"<![CDATA["+node.data+"]]>"}function xmlSerialization(node,namespace,prefixMap,requireWellFormed,refs){switch(node.nodeType){case NODE_TYPES.ELEMENT_NODE:return serializeElement(node,namespace,prefixMap,requireWellFormed,refs);case NODE_TYPES.DOCUMENT_NODE:return serializeDocument(node,namespace,prefixMap,requireWellFormed,refs);case NODE_TYPES.COMMENT_NODE:return serializeComment(node,namespace,prefixMap,requireWellFormed);case NODE_TYPES.TEXT_NODE:return serializeText(node,namespace,prefixMap,requireWellFormed);case NODE_TYPES.DOCUMENT_FRAGMENT_NODE:return serializeDocumentFragment(node,namespace,prefixMap,requireWellFormed,refs);case NODE_TYPES.DOCUMENT_TYPE_NODE:return serializeDocumentType(node,namespace,prefixMap,requireWellFormed);case NODE_TYPES.PROCESSING_INSTRUCTION_NODE:return serializeProcessingInstruction(node,namespace,prefixMap,requireWellFormed);case NODE_TYPES.ATTRIBUTE_NODE:return"";case NODE_TYPES.CDATA_SECTION_NODE:return serializeCDATASection(node);default:throw new TypeError("Failed to serialize XML: only Nodes can be serialized.")}}module.exports=(root,{requireWellFormed:requireWellFormed=false}={})=>{const namespacePrefixMap=Object.create(null);namespacePrefixMap["http://www.w3.org/XML/1998/namespace"]=["xml"];return xmlSerialization(root,null,namespacePrefixMap,requireWellFormed,{prefixIndex:1})}},{"./attributes":1013,"./constants":1014,"xml-name-validator":1035}],1016:[function(require,module,exports){"use strict";function _(message,opts){return`${opts&&opts.context?opts.context:"Value"} ${message}.`}function type(V){if(V===null){return"Null"}switch(typeof V){case"undefined":return"Undefined";case"boolean":return"Boolean";case"number":return"Number";case"string":return"String";case"symbol":return"Symbol";case"object":case"function":default:return"Object"}}function evenRound(x){if(x>0&&x%1===+.5&&(x&1)===0||x<0&&x%1===-.5&&(x&1)===1){return censorNegativeZero(Math.floor(x))}return censorNegativeZero(Math.round(x))}function integerPart(n){return censorNegativeZero(Math.trunc(n))}function sign(x){return x<0?-1:1}function modulo(x,y){const signMightNotMatch=x%y;if(sign(y)!==sign(signMightNotMatch)){return signMightNotMatch+y}return signMightNotMatch}function censorNegativeZero(x){return x===0?0:x}function createIntegerConversion(bitLength,typeOpts){const isSigned=!typeOpts.unsigned;let lowerBound;let upperBound;if(bitLength===64){upperBound=Math.pow(2,53)-1;lowerBound=!isSigned?0:-Math.pow(2,53)+1}else if(!isSigned){lowerBound=0;upperBound=Math.pow(2,bitLength)-1}else{lowerBound=-Math.pow(2,bitLength-1);upperBound=Math.pow(2,bitLength-1)-1}const twoToTheBitLength=Math.pow(2,bitLength);const twoToOneLessThanTheBitLength=Math.pow(2,bitLength-1);return(V,opts)=>{if(opts===undefined){opts={}}let x=+V;x=censorNegativeZero(x);if(opts.enforceRange){if(!Number.isFinite(x)){throw new TypeError(_("is not a finite number",opts))}x=integerPart(x);if(x<lowerBound||x>upperBound){throw new TypeError(_(`is outside the accepted range of ${lowerBound} to ${upperBound}, inclusive`,opts))}return x}if(!Number.isNaN(x)&&opts.clamp){x=Math.min(Math.max(x,lowerBound),upperBound);x=evenRound(x);return x}if(!Number.isFinite(x)||x===0){return 0}x=integerPart(x);if(x>=lowerBound&&x<=upperBound){return x}x=modulo(x,twoToTheBitLength);if(isSigned&&x>=twoToOneLessThanTheBitLength){return x-twoToTheBitLength}return x}}exports.any=V=>V;exports.void=function(){return undefined};exports.boolean=function(val){return!!val};exports.byte=createIntegerConversion(8,{unsigned:false});exports.octet=createIntegerConversion(8,{unsigned:true});exports.short=createIntegerConversion(16,{unsigned:false});exports["unsigned short"]=createIntegerConversion(16,{unsigned:true});exports.long=createIntegerConversion(32,{unsigned:false});exports["unsigned long"]=createIntegerConversion(32,{unsigned:true});exports["long long"]=createIntegerConversion(64,{unsigned:false});exports["unsigned long long"]=createIntegerConversion(64,{unsigned:true});exports.double=(V,opts)=>{const x=+V;if(!Number.isFinite(x)){throw new TypeError(_("is not a finite floating-point value",opts))}return x};exports["unrestricted double"]=V=>{const x=+V;return x};exports.float=(V,opts)=>{const x=+V;if(!Number.isFinite(x)){throw new TypeError(_("is not a finite floating-point value",opts))}if(Object.is(x,-0)){return x}const y=Math.fround(x);if(!Number.isFinite(y)){throw new TypeError(_("is outside the range of a single-precision floating-point value",opts))}return y};exports["unrestricted float"]=V=>{const x=+V;if(isNaN(x)){return x}if(Object.is(x,-0)){return x}return Math.fround(x)};exports.DOMString=function(V,opts){if(opts===undefined){opts={}}if(opts.treatNullAsEmptyString&&V===null){return""}if(typeof V==="symbol"){throw new TypeError(_("is a symbol, which cannot be converted to a string",opts))}return String(V)};exports.ByteString=(V,opts)=>{const x=exports.DOMString(V,opts);let c;for(let i=0;(c=x.codePointAt(i))!==undefined;++i){if(c>255){throw new TypeError(_("is not a valid ByteString",opts))}}return x};exports.USVString=(V,opts)=>{const S=exports.DOMString(V,opts);const n=S.length;const U=[];for(let i=0;i<n;++i){const c=S.charCodeAt(i);if(c<55296||c>57343){U.push(String.fromCodePoint(c))}else if(56320<=c&&c<=57343){U.push(String.fromCodePoint(65533))}else if(i===n-1){U.push(String.fromCodePoint(65533))}else{const d=S.charCodeAt(i+1);if(56320<=d&&d<=57343){const a=c&1023;const b=d&1023;U.push(String.fromCodePoint((2<<15)+(2<<9)*a+b));++i}else{U.push(String.fromCodePoint(65533))}}}return U.join("")};exports.object=(V,opts)=>{if(type(V)!=="Object"){throw new TypeError(_("is not an object",opts))}return V};function convertCallbackFunction(V,opts){if(typeof V!=="function"){throw new TypeError(_("is not a function",opts))}return V}const abByteLengthGetter=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;function isArrayBuffer(V){try{abByteLengthGetter.call(V);return true}catch(e){return false}}exports.ArrayBuffer=(V,opts)=>{if(!isArrayBuffer(V)){throw new TypeError(_("is not a view on an ArrayBuffer object",opts))}return V};const dvByteLengthGetter=Object.getOwnPropertyDescriptor(DataView.prototype,"byteLength").get;exports.DataView=(V,opts)=>{try{dvByteLengthGetter.call(V);return V}catch(e){throw new TypeError(_("is not a view on an DataView object",opts))}};[Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array].forEach(func=>{const name=func.name;const article=/^[AEIOU]/.test(name)?"an":"a";exports[name]=(V,opts)=>{if(!ArrayBuffer.isView(V)||V.constructor.name!==name){throw new TypeError(_(`is not ${article} ${name} object`,opts))}return V}});exports.ArrayBufferView=(V,opts)=>{if(!ArrayBuffer.isView(V)){throw new TypeError(_("is not a view on an ArrayBuffer object",opts))}return V};exports.BufferSource=(V,opts)=>{if(!ArrayBuffer.isView(V)&&!isArrayBuffer(V)){throw new TypeError(_("is not an ArrayBuffer object or a view on one",opts))}return V};exports.DOMTimeStamp=exports["unsigned long long"];exports.Function=convertCallbackFunction;exports.VoidFunction=convertCallbackFunction},{}],1017:[function(require,module,exports){module.exports={866:"IBM866","unicode-1-1-utf-8":"UTF-8","utf-8":"UTF-8",utf8:"UTF-8",cp866:"IBM866",csibm866:"IBM866",ibm866:"IBM866",csisolatin2:"ISO-8859-2","iso-8859-2":"ISO-8859-2","iso-ir-101":"ISO-8859-2","iso8859-2":"ISO-8859-2",iso88592:"ISO-8859-2","iso_8859-2":"ISO-8859-2","iso_8859-2:1987":"ISO-8859-2",l2:"ISO-8859-2",latin2:"ISO-8859-2",csisolatin3:"ISO-8859-3","iso-8859-3":"ISO-8859-3","iso-ir-109":"ISO-8859-3","iso8859-3":"ISO-8859-3",iso88593:"ISO-8859-3","iso_8859-3":"ISO-8859-3","iso_8859-3:1988":"ISO-8859-3",l3:"ISO-8859-3",latin3:"ISO-8859-3",csisolatin4:"ISO-8859-4","iso-8859-4":"ISO-8859-4","iso-ir-110":"ISO-8859-4","iso8859-4":"ISO-8859-4",iso88594:"ISO-8859-4","iso_8859-4":"ISO-8859-4","iso_8859-4:1988":"ISO-8859-4",l4:"ISO-8859-4",latin4:"ISO-8859-4",csisolatincyrillic:"ISO-8859-5",cyrillic:"ISO-8859-5","iso-8859-5":"ISO-8859-5","iso-ir-144":"ISO-8859-5","iso8859-5":"ISO-8859-5",iso88595:"ISO-8859-5","iso_8859-5":"ISO-8859-5","iso_8859-5:1988":"ISO-8859-5",arabic:"ISO-8859-6","asmo-708":"ISO-8859-6",csiso88596e:"ISO-8859-6",csiso88596i:"ISO-8859-6",csisolatinarabic:"ISO-8859-6","ecma-114":"ISO-8859-6","iso-8859-6":"ISO-8859-6","iso-8859-6-e":"ISO-8859-6","iso-8859-6-i":"ISO-8859-6","iso-ir-127":"ISO-8859-6","iso8859-6":"ISO-8859-6",iso88596:"ISO-8859-6","iso_8859-6":"ISO-8859-6","iso_8859-6:1987":"ISO-8859-6",csisolatingreek:"ISO-8859-7","ecma-118":"ISO-8859-7",elot_928:"ISO-8859-7",greek:"ISO-8859-7",greek8:"ISO-8859-7","iso-8859-7":"ISO-8859-7","iso-ir-126":"ISO-8859-7","iso8859-7":"ISO-8859-7",iso88597:"ISO-8859-7","iso_8859-7":"ISO-8859-7","iso_8859-7:1987":"ISO-8859-7",sun_eu_greek:"ISO-8859-7",csiso88598e:"ISO-8859-8",csisolatinhebrew:"ISO-8859-8",hebrew:"ISO-8859-8","iso-8859-8":"ISO-8859-8","iso-8859-8-e":"ISO-8859-8","iso-ir-138":"ISO-8859-8","iso8859-8":"ISO-8859-8",iso88598:"ISO-8859-8","iso_8859-8":"ISO-8859-8","iso_8859-8:1988":"ISO-8859-8",visual:"ISO-8859-8",csisolatin6:"ISO-8859-10","iso-8859-10":"ISO-8859-10","iso-ir-157":"ISO-8859-10","iso8859-10":"ISO-8859-10",iso885910:"ISO-8859-10",l6:"ISO-8859-10",latin6:"ISO-8859-10","iso-8859-13":"ISO-8859-13","iso8859-13":"ISO-8859-13",iso885913:"ISO-8859-13","iso-8859-14":"ISO-8859-14","iso8859-14":"ISO-8859-14",iso885914:"ISO-8859-14",csisolatin9:"ISO-8859-15","iso-8859-15":"ISO-8859-15","iso8859-15":"ISO-8859-15",iso885915:"ISO-8859-15","iso_8859-15":"ISO-8859-15",l9:"ISO-8859-15","iso-8859-16":"ISO-8859-16",cskoi8r:"KOI8-R",koi:"KOI8-R",koi8:"KOI8-R","koi8-r":"KOI8-R",koi8_r:"KOI8-R","koi8-ru":"KOI8-U","koi8-u":"KOI8-U",csmacintosh:"macintosh",mac:"macintosh",macintosh:"macintosh","x-mac-roman":"macintosh","dos-874":"windows-874","iso-8859-11":"windows-874","iso8859-11":"windows-874",iso885911:"windows-874","tis-620":"windows-874","windows-874":"windows-874",cp1250:"windows-1250","windows-1250":"windows-1250","x-cp1250":"windows-1250",cp1251:"windows-1251","windows-1251":"windows-1251","x-cp1251":"windows-1251","ansi_x3.4-1968":"windows-1252",ascii:"windows-1252",cp1252:"windows-1252",cp819:"windows-1252",csisolatin1:"windows-1252",ibm819:"windows-1252","iso-8859-1":"windows-1252","iso-ir-100":"windows-1252","iso8859-1":"windows-1252",iso88591:"windows-1252","iso_8859-1":"windows-1252","iso_8859-1:1987":"windows-1252",l1:"windows-1252",latin1:"windows-1252","us-ascii":"windows-1252","windows-1252":"windows-1252","x-cp1252":"windows-1252",cp1253:"windows-1253","windows-1253":"windows-1253","x-cp1253":"windows-1253",cp1254:"windows-1254",csisolatin5:"windows-1254","iso-8859-9":"windows-1254","iso-ir-148":"windows-1254","iso8859-9":"windows-1254",iso88599:"windows-1254","iso_8859-9":"windows-1254","iso_8859-9:1989":"windows-1254",l5:"windows-1254",latin5:"windows-1254","windows-1254":"windows-1254","x-cp1254":"windows-1254",cp1255:"windows-1255","windows-1255":"windows-1255","x-cp1255":"windows-1255",cp1256:"windows-1256","windows-1256":"windows-1256","x-cp1256":"windows-1256",cp1257:"windows-1257","windows-1257":"windows-1257","x-cp1257":"windows-1257",cp1258:"windows-1258","windows-1258":"windows-1258","x-cp1258":"windows-1258",chinese:"GBK",csgb2312:"GBK",csiso58gb231280:"GBK",gb2312:"GBK",gb_2312:"GBK","gb_2312-80":"GBK",gbk:"GBK","iso-ir-58":"GBK","x-gbk":"GBK",gb18030:"gb18030",big5:"Big5","big5-hkscs":"Big5","cn-big5":"Big5",csbig5:"Big5","x-x-big5":"Big5",cseucpkdfmtjapanese:"EUC-JP","euc-jp":"EUC-JP","x-euc-jp":"EUC-JP",csshiftjis:"Shift_JIS",ms932:"Shift_JIS",ms_kanji:"Shift_JIS","shift-jis":"Shift_JIS",shift_jis:"Shift_JIS",sjis:"Shift_JIS","windows-31j":"Shift_JIS","x-sjis":"Shift_JIS",cseuckr:"EUC-KR",csksc56011987:"EUC-KR","euc-kr":"EUC-KR","iso-ir-149":"EUC-KR",korean:"EUC-KR","ks_c_5601-1987":"EUC-KR","ks_c_5601-1989":"EUC-KR",ksc5601:"EUC-KR",ksc_5601:"EUC-KR","windows-949":"EUC-KR","utf-16be":"UTF-16BE","utf-16":"UTF-16LE","utf-16le":"UTF-16LE"}},{}],1018:[function(require,module,exports){module.exports=["UTF-8","IBM866","ISO-8859-2","ISO-8859-3","ISO-8859-4","ISO-8859-5","ISO-8859-6","ISO-8859-7","ISO-8859-8","ISO-8859-10","ISO-8859-13","ISO-8859-14","ISO-8859-15","ISO-8859-16","KOI8-R","KOI8-U","macintosh","windows-874","windows-1250","windows-1251","windows-1252","windows-1253","windows-1254","windows-1255","windows-1256","windows-1257","windows-1258","GBK","gb18030","Big5","EUC-JP","Shift_JIS","EUC-KR","UTF-16BE","UTF-16LE"]},{}],1019:[function(require,module,exports){"use strict";const iconvLite=require("iconv-lite");const supportedNames=require("./supported-names.json");const labelsToNames=require("./labels-to-names.json");const supportedNamesSet=new Set(supportedNames);exports.labelToName=label=>{label=String(label).trim().toLowerCase();return labelsToNames[label]||null};exports.decode=(buffer,fallbackEncodingName)=>{let encoding=fallbackEncodingName;if(!exports.isSupported(encoding)){throw new RangeError(`"${encoding}" is not a supported encoding name`)}const bomEncoding=exports.getBOMEncoding(buffer);if(bomEncoding!==null){encoding=bomEncoding}return iconvLite.decode(buffer,encoding)};exports.getBOMEncoding=buffer=>{if(buffer[0]===254&&buffer[1]===255){return"UTF-16BE"}else if(buffer[0]===255&&buffer[1]===254){return"UTF-16LE"}else if(buffer[0]===239&&buffer[1]===187&&buffer[2]===191){return"UTF-8"}return null};exports.isSupported=name=>supportedNamesSet.has(String(name))},{"./labels-to-names.json":1017,"./supported-names.json":1018,"iconv-lite":324}],1020:[function(require,module,exports){"use strict";const parse=require("./parser.js");const serialize=require("./serializer.js");const{asciiLowercase:asciiLowercase,solelyContainsHTTPTokenCodePoints:solelyContainsHTTPTokenCodePoints,soleyContainsHTTPQuotedStringTokenCodePoints:soleyContainsHTTPQuotedStringTokenCodePoints}=require("./utils.js");module.exports=class MIMEType{constructor(string){string=String(string);const result=parse(string);if(result===null){throw new Error(`Could not parse MIME type string "${string}"`)}this._type=result.type;this._subtype=result.subtype;this._parameters=new MIMETypeParameters(result.parameters)}static parse(string){try{return new this(string)}catch(e){return null}}get essence(){return`${this.type}/${this.subtype}`}get type(){return this._type}set type(value){value=asciiLowercase(String(value));if(value.length===0){throw new Error("Invalid type: must be a non-empty string")}if(!solelyContainsHTTPTokenCodePoints(value)){throw new Error(`Invalid type ${value}: must contain only HTTP token code points`)}this._type=value}get subtype(){return this._subtype}set subtype(value){value=asciiLowercase(String(value));if(value.length===0){throw new Error("Invalid subtype: must be a non-empty string")}if(!solelyContainsHTTPTokenCodePoints(value)){throw new Error(`Invalid subtype ${value}: must contain only HTTP token code points`)}this._subtype=value}get parameters(){return this._parameters}toString(){return serialize(this)}isJavaScript({allowParameters:allowParameters=false}={}){switch(this._type){case"text":{switch(this._subtype){case"ecmascript":case"javascript":case"javascript1.0":case"javascript1.1":case"javascript1.2":case"javascript1.3":case"javascript1.4":case"javascript1.5":case"jscript":case"livescript":case"x-ecmascript":case"x-javascript":{return allowParameters||this._parameters.size===0}default:{return false}}}case"application":{switch(this._subtype){case"ecmascript":case"javascript":case"x-ecmascript":case"x-javascript":{return allowParameters||this._parameters.size===0}default:{return false}}}default:{return false}}}isXML(){return this._subtype==="xml"&&(this._type==="text"||this._type==="application")||this._subtype.endsWith("+xml")}isHTML(){return this._subtype==="html"&&this._type==="text"}};class MIMETypeParameters{constructor(map){this._map=map}get size(){return this._map.size}get(name){name=asciiLowercase(String(name));return this._map.get(name)}has(name){name=asciiLowercase(String(name));return this._map.has(name)}set(name,value){name=asciiLowercase(String(name));value=String(value);if(!solelyContainsHTTPTokenCodePoints(name)){throw new Error(`Invalid MIME type parameter name "${name}": only HTTP token code points are valid.`)}if(!soleyContainsHTTPQuotedStringTokenCodePoints(value)){throw new Error(`Invalid MIME type parameter value "${value}": only HTTP quoted-string token code points are `+`valid.`)}return this._map.set(name,value)}clear(){this._map.clear()}delete(name){name=asciiLowercase(String(name));return this._map.delete(name)}forEach(callbackFn,thisArg){this._map.forEach(callbackFn,thisArg)}keys(){return this._map.keys()}values(){return this._map.values()}entries(){return this._map.entries()}[Symbol.iterator](){return this._map[Symbol.iterator]()}}},{"./parser.js":1021,"./serializer.js":1022,"./utils.js":1023}],1021:[function(require,module,exports){"use strict";const{removeLeadingAndTrailingHTTPWhitespace:removeLeadingAndTrailingHTTPWhitespace,removeTrailingHTTPWhitespace:removeTrailingHTTPWhitespace,isHTTPWhitespaceChar:isHTTPWhitespaceChar,solelyContainsHTTPTokenCodePoints:solelyContainsHTTPTokenCodePoints,soleyContainsHTTPQuotedStringTokenCodePoints:soleyContainsHTTPQuotedStringTokenCodePoints,asciiLowercase:asciiLowercase}=require("./utils.js");module.exports=input=>{input=removeLeadingAndTrailingHTTPWhitespace(input);let position=0;let type="";while(position<input.length&&input[position]!=="/"){type+=input[position];++position}if(type.length===0||!solelyContainsHTTPTokenCodePoints(type)){return null}if(position>=input.length){return null}++position;let subtype="";while(position<input.length&&input[position]!==";"){subtype+=input[position];++position}subtype=removeTrailingHTTPWhitespace(subtype);if(subtype.length===0||!solelyContainsHTTPTokenCodePoints(subtype)){return null}const mimeType={type:asciiLowercase(type),subtype:asciiLowercase(subtype),parameters:new Map};while(position<input.length){++position;while(isHTTPWhitespaceChar(input[position])){++position}let parameterName="";while(position<input.length&&input[position]!==";"&&input[position]!=="="){parameterName+=input[position];++position}parameterName=asciiLowercase(parameterName);if(position<input.length){if(input[position]===";"){continue}++position}let parameterValue="";if(input[position]==='"'){++position;while(true){while(position<input.length&&input[position]!=='"'&&input[position]!=="\\"){parameterValue+=input[position];++position}if(position<input.length&&input[position]==="\\"){++position;if(position<input.length){parameterValue+=input[position];++position;continue}else{parameterValue+="\\";break}}else{break}}while(position<input.length&&input[position]!==";"){++position}}else{while(position<input.length&&input[position]!==";"){parameterValue+=input[position];++position}parameterValue=removeTrailingHTTPWhitespace(parameterValue);if(parameterValue===""){continue}}if(parameterName.length>0&&solelyContainsHTTPTokenCodePoints(parameterName)&&soleyContainsHTTPQuotedStringTokenCodePoints(parameterValue)&&!mimeType.parameters.has(parameterName)){mimeType.parameters.set(parameterName,parameterValue)}}return mimeType}},{"./utils.js":1023}],1022:[function(require,module,exports){"use strict";const{solelyContainsHTTPTokenCodePoints:solelyContainsHTTPTokenCodePoints}=require("./utils.js");module.exports=mimeType=>{let serialization=`${mimeType.type}/${mimeType.subtype}`;if(mimeType.parameters.size===0){return serialization}for(let[name,value]of mimeType.parameters){serialization+=";";serialization+=name;serialization+="=";if(!solelyContainsHTTPTokenCodePoints(value)||value.length===0){value=value.replace(/(["\\])/g,"\\$1");value=`"${value}"`}serialization+=value}return serialization}},{"./utils.js":1023}],1023:[function(require,module,exports){"use strict";exports.removeLeadingAndTrailingHTTPWhitespace=string=>string.replace(/^[ \t\n\r]+/,"").replace(/[ \t\n\r]+$/,"");exports.removeTrailingHTTPWhitespace=string=>string.replace(/[ \t\n\r]+$/,"");exports.isHTTPWhitespaceChar=char=>char===" "||char==="\t"||char==="\n"||char==="\r";exports.solelyContainsHTTPTokenCodePoints=string=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/.test(string);exports.soleyContainsHTTPQuotedStringTokenCodePoints=string=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/.test(string);exports.asciiLowercase=string=>string.replace(/[A-Z]/g,l=>l.toLowerCase())},{}],1024:[function(require,module,exports){"use strict";const{URL:URL,URLSearchParams:URLSearchParams}=require("./webidl2js-wrapper");const urlStateMachine=require("./lib/url-state-machine");const urlEncoded=require("./lib/urlencoded");const sharedGlobalObject={};URL.install(sharedGlobalObject);URLSearchParams.install(sharedGlobalObject);exports.URL=sharedGlobalObject.URL;exports.URLSearchParams=sharedGlobalObject.URLSearchParams;exports.parseURL=urlStateMachine.parseURL;exports.basicURLParse=urlStateMachine.basicURLParse;exports.serializeURL=urlStateMachine.serializeURL;exports.serializeHost=urlStateMachine.serializeHost;exports.serializeInteger=urlStateMachine.serializeInteger;exports.serializeURLOrigin=urlStateMachine.serializeURLOrigin;exports.setTheUsername=urlStateMachine.setTheUsername;exports.setThePassword=urlStateMachine.setThePassword;exports.cannotHaveAUsernamePasswordPort=urlStateMachine.cannotHaveAUsernamePasswordPort;exports.percentDecode=urlEncoded.percentDecode},{"./lib/url-state-machine":1030,"./lib/urlencoded":1031,"./webidl2js-wrapper":1033}],1025:[function(require,module,exports){"use strict";const usm=require("./url-state-machine");const urlencoded=require("./urlencoded");const URLSearchParams=require("./URLSearchParams");exports.implementation=class URLImpl{constructor(globalObject,constructorArgs){const url=constructorArgs[0];const base=constructorArgs[1];let parsedBase=null;if(base!==undefined){parsedBase=usm.basicURLParse(base);if(parsedBase===null){throw new TypeError(`Invalid base URL: ${base}`)}}const parsedURL=usm.basicURLParse(url,{baseURL:parsedBase});if(parsedURL===null){throw new TypeError(`Invalid URL: ${url}`)}const query=parsedURL.query!==null?parsedURL.query:"";this._url=parsedURL;this._query=URLSearchParams.createImpl(globalObject,[query],{doNotStripQMark:true});this._query._url=this}get href(){return usm.serializeURL(this._url)}set href(v){const parsedURL=usm.basicURLParse(v);if(parsedURL===null){throw new TypeError(`Invalid URL: ${v}`)}this._url=parsedURL;this._query._list.splice(0);const{query:query}=parsedURL;if(query!==null){this._query._list=urlencoded.parseUrlencoded(query)}}get origin(){return usm.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(v){usm.basicURLParse(v+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(v){if(usm.cannotHaveAUsernamePasswordPort(this._url)){return}usm.setTheUsername(this._url,v)}get password(){return this._url.password}set password(v){if(usm.cannotHaveAUsernamePasswordPort(this._url)){return}usm.setThePassword(this._url,v)}get host(){const url=this._url;if(url.host===null){return""}if(url.port===null){return usm.serializeHost(url.host)}return usm.serializeHost(url.host)+":"+usm.serializeInteger(url.port)}set host(v){if(this._url.cannotBeABaseURL){return}usm.basicURLParse(v,{url:this._url,stateOverride:"host"})}get hostname(){if(this._url.host===null){return""}return usm.serializeHost(this._url.host)}set hostname(v){if(this._url.cannotBeABaseURL){return}usm.basicURLParse(v,{url:this._url,stateOverride:"hostname"})}get port(){if(this._url.port===null){return""}return usm.serializeInteger(this._url.port)}set port(v){if(usm.cannotHaveAUsernamePasswordPort(this._url)){return}if(v===""){this._url.port=null}else{usm.basicURLParse(v,{url:this._url,stateOverride:"port"})}}get pathname(){if(this._url.cannotBeABaseURL){return this._url.path[0]}if(this._url.path.length===0){return""}return"/"+this._url.path.join("/")}set pathname(v){if(this._url.cannotBeABaseURL){return}this._url.path=[];usm.basicURLParse(v,{url:this._url,stateOverride:"path start"})}get search(){if(this._url.query===null||this._url.query===""){return""}return"?"+this._url.query}set search(v){const url=this._url;if(v===""){url.query=null;this._query._list=[];return}const input=v[0]==="?"?v.substring(1):v;url.query="";usm.basicURLParse(input,{url:url,stateOverride:"query"});this._query._list=urlencoded.parseUrlencoded(input)}get searchParams(){return this._query}get hash(){if(this._url.fragment===null||this._url.fragment===""){return""}return"#"+this._url.fragment}set hash(v){if(v===""){this._url.fragment=null;return}const input=v[0]==="#"?v.substring(1):v;this._url.fragment="";usm.basicURLParse(input,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},{"./URLSearchParams":1028,"./url-state-machine":1030,"./urlencoded":1031}],1026:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const impl=utils.implSymbol;const ctorRegistry=utils.ctorRegistrySymbol;const interfaceName="URL";exports._mixedIntoPredicates=[];exports.is=function is(obj){if(obj){if(utils.hasOwn(obj,impl)&&obj[impl]instanceof Impl.implementation){return true}for(const isMixedInto of exports._mixedIntoPredicates){if(isMixedInto(obj)){return true}}}return false};exports.isImpl=function isImpl(obj){if(obj){if(obj instanceof Impl.implementation){return true}const wrapper=utils.wrapperForImpl(obj);for(const isMixedInto of exports._mixedIntoPredicates){if(isMixedInto(wrapper)){return true}}}return false};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(exports.is(obj)){return utils.implForWrapper(obj)}throw new TypeError(`${context} is not of type 'URL'.`)};exports.create=function create(globalObject,constructorArgs,privateData){if(globalObject[ctorRegistry]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistry]["URL"];if(ctor===undefined){throw new Error("Internal error: constructor URL is not installed on the passed global object")}let obj=Object.create(ctor.prototype);obj=exports.setup(obj,globalObject,constructorArgs,privateData);return obj};exports.createImpl=function createImpl(globalObject,constructorArgs,privateData){const obj=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(obj)};exports._internalSetup=function _internalSetup(obj){};exports.setup=function setup(obj,globalObject,constructorArgs=[],privateData={}){privateData.wrapper=obj;exports._internalSetup(obj);Object.defineProperty(obj,impl,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});obj[impl][utils.wrapperSymbol]=obj;if(Impl.init){Impl.init(obj[impl],privateData)}return obj};exports.install=function install(globalObject){class URL{constructor(url){if(arguments.length<1){throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to construct 'URL': parameter 1"});args.push(curArg)}{let curArg=arguments[1];if(curArg!==undefined){curArg=conversions["USVString"](curArg,{context:"Failed to construct 'URL': parameter 2"})}args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}toJSON(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl].toJSON()}get href(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["href"]}set href(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'href' property on 'URL': The provided value"});this[impl]["href"]=V}toString(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["href"]}get origin(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["origin"]}get protocol(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["protocol"]}set protocol(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'protocol' property on 'URL': The provided value"});this[impl]["protocol"]=V}get username(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["username"]}set username(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'username' property on 'URL': The provided value"});this[impl]["username"]=V}get password(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["password"]}set password(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'password' property on 'URL': The provided value"});this[impl]["password"]=V}get host(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["host"]}set host(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'host' property on 'URL': The provided value"});this[impl]["host"]=V}get hostname(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["hostname"]}set hostname(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'hostname' property on 'URL': The provided value"});this[impl]["hostname"]=V}get port(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["port"]}set port(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'port' property on 'URL': The provided value"});this[impl]["port"]=V}get pathname(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["pathname"]}set pathname(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'pathname' property on 'URL': The provided value"});this[impl]["pathname"]=V}get search(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["search"]}set search(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'search' property on 'URL': The provided value"});this[impl]["search"]=V}get searchParams(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return utils.getSameObject(this,"searchParams",()=>utils.tryWrapperForImpl(this[impl]["searchParams"]))}get hash(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl]["hash"]}set hash(V){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}V=conversions["USVString"](V,{context:"Failed to set the 'hash' property on 'URL': The provided value"});this[impl]["hash"]=V}}Object.defineProperties(URL.prototype,{toJSON:{enumerable:true},href:{enumerable:true},toString:{enumerable:true},origin:{enumerable:true},protocol:{enumerable:true},username:{enumerable:true},password:{enumerable:true},host:{enumerable:true},hostname:{enumerable:true},port:{enumerable:true},pathname:{enumerable:true},search:{enumerable:true},searchParams:{enumerable:true},hash:{enumerable:true},[Symbol.toStringTag]:{value:"URL",configurable:true}});if(globalObject[ctorRegistry]===undefined){globalObject[ctorRegistry]=Object.create(null)}globalObject[ctorRegistry][interfaceName]=URL;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:URL})};const Impl=require("./URL-impl.js")},{"./URL-impl.js":1025,"./utils.js":1032,"webidl-conversions":1016}],1027:[function(require,module,exports){"use strict";const stableSortBy=require("lodash.sortby");const urlencoded=require("./urlencoded");exports.implementation=class URLSearchParamsImpl{constructor(globalObject,constructorArgs,{doNotStripQMark:doNotStripQMark=false}){let init=constructorArgs[0];this._list=[];this._url=null;if(!doNotStripQMark&&typeof init==="string"&&init[0]==="?"){init=init.slice(1)}if(Array.isArray(init)){for(const pair of init){if(pair.length!==2){throw new TypeError("Failed to construct 'URLSearchParams': parameter 1 sequence's element does not "+"contain exactly two elements.")}this._list.push([pair[0],pair[1]])}}else if(typeof init==="object"&&Object.getPrototypeOf(init)===null){for(const name of Object.keys(init)){const value=init[name];this._list.push([name,value])}}else{this._list=urlencoded.parseUrlencoded(init)}}_updateSteps(){if(this._url!==null){let query=urlencoded.serializeUrlencoded(this._list);if(query===""){query=null}this._url._url.query=query}}append(name,value){this._list.push([name,value]);this._updateSteps()}delete(name){let i=0;while(i<this._list.length){if(this._list[i][0]===name){this._list.splice(i,1)}else{i++}}this._updateSteps()}get(name){for(const tuple of this._list){if(tuple[0]===name){return tuple[1]}}return null}getAll(name){const output=[];for(const tuple of this._list){if(tuple[0]===name){output.push(tuple[1])}}return output}has(name){for(const tuple of this._list){if(tuple[0]===name){return true}}return false}set(name,value){let found=false;let i=0;while(i<this._list.length){if(this._list[i][0]===name){if(found){this._list.splice(i,1)}else{found=true;this._list[i][1]=value;i++}}else{i++}}if(!found){this._list.push([name,value])}this._updateSteps()}sort(){this._list=stableSortBy(this._list,[0]);this._updateSteps()}[Symbol.iterator](){return this._list[Symbol.iterator]()}toString(){return urlencoded.serializeUrlencoded(this._list)}}},{"./urlencoded":1031,"lodash.sortby":782}],1028:[function(require,module,exports){"use strict";const conversions=require("webidl-conversions");const utils=require("./utils.js");const impl=utils.implSymbol;const ctorRegistry=utils.ctorRegistrySymbol;const interfaceName="URLSearchParams";const IteratorPrototype=Object.create(utils.IteratorPrototype,{next:{value:function next(){const internal=this[utils.iterInternalSymbol];const{target:target,kind:kind,index:index}=internal;const values=Array.from(target[impl]);const len=values.length;if(index>=len){return{value:undefined,done:true}}const pair=values[index];internal.index=index+1;const[key,value]=pair.map(utils.tryWrapperForImpl);let result;switch(kind){case"key":result=key;break;case"value":result=value;break;case"key+value":result=[key,value];break}return{value:result,done:false}},writable:true,enumerable:true,configurable:true},[Symbol.toStringTag]:{value:"URLSearchParams Iterator",configurable:true}});exports._mixedIntoPredicates=[];exports.is=function is(obj){if(obj){if(utils.hasOwn(obj,impl)&&obj[impl]instanceof Impl.implementation){return true}for(const isMixedInto of exports._mixedIntoPredicates){if(isMixedInto(obj)){return true}}}return false};exports.isImpl=function isImpl(obj){if(obj){if(obj instanceof Impl.implementation){return true}const wrapper=utils.wrapperForImpl(obj);for(const isMixedInto of exports._mixedIntoPredicates){if(isMixedInto(wrapper)){return true}}}return false};exports.convert=function convert(obj,{context:context="The provided value"}={}){if(exports.is(obj)){return utils.implForWrapper(obj)}throw new TypeError(`${context} is not of type 'URLSearchParams'.`)};exports.createDefaultIterator=function createDefaultIterator(target,kind){const iterator=Object.create(IteratorPrototype);Object.defineProperty(iterator,utils.iterInternalSymbol,{value:{target:target,kind:kind,index:0},configurable:true});return iterator};exports.create=function create(globalObject,constructorArgs,privateData){if(globalObject[ctorRegistry]===undefined){throw new Error("Internal error: invalid global object")}const ctor=globalObject[ctorRegistry]["URLSearchParams"];if(ctor===undefined){throw new Error("Internal error: constructor URLSearchParams is not installed on the passed global object")}let obj=Object.create(ctor.prototype);obj=exports.setup(obj,globalObject,constructorArgs,privateData);return obj};exports.createImpl=function createImpl(globalObject,constructorArgs,privateData){const obj=exports.create(globalObject,constructorArgs,privateData);return utils.implForWrapper(obj)};exports._internalSetup=function _internalSetup(obj){};exports.setup=function setup(obj,globalObject,constructorArgs=[],privateData={}){privateData.wrapper=obj;exports._internalSetup(obj);Object.defineProperty(obj,impl,{value:new Impl.implementation(globalObject,constructorArgs,privateData),configurable:true});obj[impl][utils.wrapperSymbol]=obj;if(Impl.init){Impl.init(obj[impl],privateData)}return obj};exports.install=function install(globalObject){class URLSearchParams{constructor(){const args=[];{let curArg=arguments[0];if(curArg!==undefined){if(utils.isObject(curArg)){if(curArg[Symbol.iterator]!==undefined){if(!utils.isObject(curArg)){throw new TypeError("Failed to construct 'URLSearchParams': parameter 1"+" sequence"+" is not an iterable object.")}else{const V=[];const tmp=curArg;for(let nextItem of tmp){if(!utils.isObject(nextItem)){throw new TypeError("Failed to construct 'URLSearchParams': parameter 1"+" sequence"+"'s element"+" is not an iterable object.")}else{const V=[];const tmp=nextItem;for(let nextItem of tmp){nextItem=conversions["USVString"](nextItem,{context:"Failed to construct 'URLSearchParams': parameter 1"+" sequence"+"'s element"+"'s element"});V.push(nextItem)}nextItem=V}V.push(nextItem)}curArg=V}}else{if(!utils.isObject(curArg)){throw new TypeError("Failed to construct 'URLSearchParams': parameter 1"+" record"+" is not an object.")}else{const result=Object.create(null);for(const key of Reflect.ownKeys(curArg)){const desc=Object.getOwnPropertyDescriptor(curArg,key);if(desc&&desc.enumerable){let typedKey=key;typedKey=conversions["USVString"](typedKey,{context:"Failed to construct 'URLSearchParams': parameter 1"+" record"+"'s key"});let typedValue=curArg[key];typedValue=conversions["USVString"](typedValue,{context:"Failed to construct 'URLSearchParams': parameter 1"+" record"+"'s value"});result[typedKey]=typedValue}}curArg=result}}}else{curArg=conversions["USVString"](curArg,{context:"Failed to construct 'URLSearchParams': parameter 1"})}}else{curArg=""}args.push(curArg)}return exports.setup(Object.create(new.target.prototype),globalObject,args)}append(name,value){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'append' on 'URLSearchParams': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'append' on 'URLSearchParams': parameter 2"});args.push(curArg)}return this[impl].append(...args)}delete(name){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'delete' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'delete' on 'URLSearchParams': parameter 1"});args.push(curArg)}return this[impl].delete(...args)}get(name){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'get' on 'URLSearchParams': parameter 1"});args.push(curArg)}return this[impl].get(...args)}getAll(name){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'getAll' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'getAll' on 'URLSearchParams': parameter 1"});args.push(curArg)}return utils.tryWrapperForImpl(this[impl].getAll(...args))}has(name){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'has' on 'URLSearchParams': 1 argument required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'has' on 'URLSearchParams': parameter 1"});args.push(curArg)}return this[impl].has(...args)}set(name,value){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}if(arguments.length<2){throw new TypeError("Failed to execute 'set' on 'URLSearchParams': 2 arguments required, but only "+arguments.length+" present.")}const args=[];{let curArg=arguments[0];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 1"});args.push(curArg)}{let curArg=arguments[1];curArg=conversions["USVString"](curArg,{context:"Failed to execute 'set' on 'URLSearchParams': parameter 2"});args.push(curArg)}return this[impl].set(...args)}sort(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl].sort()}toString(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return this[impl].toString()}keys(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return exports.createDefaultIterator(this,"key")}values(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return exports.createDefaultIterator(this,"value")}entries(){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}return exports.createDefaultIterator(this,"key+value")}forEach(callback){if(!this||!exports.is(this)){throw new TypeError("Illegal invocation")}if(arguments.length<1){throw new TypeError("Failed to execute 'forEach' on 'iterable': 1 argument required, "+"but only 0 present.")}if(typeof callback!=="function"){throw new TypeError("Failed to execute 'forEach' on 'iterable': The callback provided "+"as parameter 1 is not a function.")}const thisArg=arguments[1];let pairs=Array.from(this[impl]);let i=0;while(i<pairs.length){const[key,value]=pairs[i].map(utils.tryWrapperForImpl);callback.call(thisArg,value,key,this);pairs=Array.from(this[impl]);i++}}}Object.defineProperties(URLSearchParams.prototype,{append:{enumerable:true},delete:{enumerable:true},get:{enumerable:true},getAll:{enumerable:true},has:{enumerable:true},set:{enumerable:true},sort:{enumerable:true},toString:{enumerable:true},keys:{enumerable:true},values:{enumerable:true},entries:{enumerable:true},forEach:{enumerable:true},[Symbol.toStringTag]:{value:"URLSearchParams",configurable:true},[Symbol.iterator]:{value:URLSearchParams.prototype.entries,configurable:true,writable:true}});if(globalObject[ctorRegistry]===undefined){globalObject[ctorRegistry]=Object.create(null)}globalObject[ctorRegistry][interfaceName]=URLSearchParams;Object.defineProperty(globalObject,interfaceName,{configurable:true,writable:true,value:URLSearchParams})};const Impl=require("./URLSearchParams-impl.js")},{"./URLSearchParams-impl.js":1027,"./utils.js":1032,"webidl-conversions":1016}],1029:[function(require,module,exports){"use strict";function isASCIIDigit(c){return c>=48&&c<=57}function isASCIIAlpha(c){return c>=65&&c<=90||c>=97&&c<=122}function isASCIIAlphanumeric(c){return isASCIIAlpha(c)||isASCIIDigit(c)}function isASCIIHex(c){return isASCIIDigit(c)||c>=65&&c<=70||c>=97&&c<=102}module.exports={isASCIIDigit:isASCIIDigit,isASCIIAlpha:isASCIIAlpha,isASCIIAlphanumeric:isASCIIAlphanumeric,isASCIIHex:isASCIIHex}},{}],1030:[function(require,module,exports){(function(Buffer){"use strict";const punycode=require("punycode");const tr46=require("tr46");const infra=require("./infra");const{percentEncode:percentEncode,percentDecode:percentDecode}=require("./urlencoded");const specialSchemes={ftp:21,file:null,http:80,https:443,ws:80,wss:443};const failure=Symbol("failure");function countSymbols(str){return punycode.ucs2.decode(str).length}function at(input,idx){const c=input[idx];return isNaN(c)?undefined:String.fromCodePoint(c)}function isSingleDot(buffer){return buffer==="."||buffer.toLowerCase()==="%2e"}function isDoubleDot(buffer){buffer=buffer.toLowerCase();return buffer===".."||buffer==="%2e."||buffer===".%2e"||buffer==="%2e%2e"}function isWindowsDriveLetterCodePoints(cp1,cp2){return infra.isASCIIAlpha(cp1)&&(cp2===58||cp2===124)}function isWindowsDriveLetterString(string){return string.length===2&&infra.isASCIIAlpha(string.codePointAt(0))&&(string[1]===":"||string[1]==="|")}function isNormalizedWindowsDriveLetterString(string){return string.length===2&&infra.isASCIIAlpha(string.codePointAt(0))&&string[1]===":"}function containsForbiddenHostCodePoint(string){return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1}function containsForbiddenHostCodePointExcludingPercent(string){return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1}function isSpecialScheme(scheme){return specialSchemes[scheme]!==undefined}function isSpecial(url){return isSpecialScheme(url.scheme)}function isNotSpecial(url){return!isSpecialScheme(url.scheme)}function defaultPort(scheme){return specialSchemes[scheme]}function utf8PercentEncode(c){const buf=Buffer.from(c);let str="";for(let i=0;i<buf.length;++i){str+=percentEncode(buf[i])}return str}function isC0ControlPercentEncode(c){return c<=31||c>126}const extraUserinfoPercentEncodeSet=new Set([47,58,59,61,64,91,92,93,94,124]);function isUserinfoPercentEncode(c){return isPathPercentEncode(c)||extraUserinfoPercentEncodeSet.has(c)}const extraFragmentPercentEncodeSet=new Set([32,34,60,62,96]);function isFragmentPercentEncode(c){return isC0ControlPercentEncode(c)||extraFragmentPercentEncodeSet.has(c)}const extraPathPercentEncodeSet=new Set([35,63,123,125]);function isPathPercentEncode(c){return isFragmentPercentEncode(c)||extraPathPercentEncodeSet.has(c)}function percentEncodeChar(c,encodeSetPredicate){const cStr=String.fromCodePoint(c);if(encodeSetPredicate(c)){return utf8PercentEncode(cStr)}return cStr}function parseIPv4Number(input){let R=10;if(input.length>=2&&input.charAt(0)==="0"&&input.charAt(1).toLowerCase()==="x"){input=input.substring(2);R=16}else if(input.length>=2&&input.charAt(0)==="0"){input=input.substring(1);R=8}if(input===""){return 0}let regex=/[^0-7]/;if(R===10){regex=/[^0-9]/}if(R===16){regex=/[^0-9A-Fa-f]/}if(regex.test(input)){return failure}return parseInt(input,R)}function parseIPv4(input){const parts=input.split(".");if(parts[parts.length-1]===""){if(parts.length>1){parts.pop()}}if(parts.length>4){return input}const numbers=[];for(const part of parts){if(part===""){return input}const n=parseIPv4Number(part);if(n===failure){return input}numbers.push(n)}for(let i=0;i<numbers.length-1;++i){if(numbers[i]>255){return failure}}if(numbers[numbers.length-1]>=Math.pow(256,5-numbers.length)){return failure}let ipv4=numbers.pop();let counter=0;for(const n of numbers){ipv4+=n*Math.pow(256,3-counter);++counter}return ipv4}function serializeIPv4(address){let output="";let n=address;for(let i=1;i<=4;++i){output=String(n%256)+output;if(i!==4){output="."+output}n=Math.floor(n/256)}return output}function parseIPv6(input){const address=[0,0,0,0,0,0,0,0];let pieceIndex=0;let compress=null;let pointer=0;input=punycode.ucs2.decode(input);if(input[pointer]===58){if(input[pointer+1]!==58){return failure}pointer+=2;++pieceIndex;compress=pieceIndex}while(pointer<input.length){if(pieceIndex===8){return failure}if(input[pointer]===58){if(compress!==null){return failure}++pointer;++pieceIndex;compress=pieceIndex;continue}let value=0;let length=0;while(length<4&&infra.isASCIIHex(input[pointer])){value=value*16+parseInt(at(input,pointer),16);++pointer;++length}if(input[pointer]===46){if(length===0){return failure}pointer-=length;if(pieceIndex>6){return failure}let numbersSeen=0;while(input[pointer]!==undefined){let ipv4Piece=null;if(numbersSeen>0){if(input[pointer]===46&&numbersSeen<4){++pointer}else{return failure}}if(!infra.isASCIIDigit(input[pointer])){return failure}while(infra.isASCIIDigit(input[pointer])){const number=parseInt(at(input,pointer));if(ipv4Piece===null){ipv4Piece=number}else if(ipv4Piece===0){return failure}else{ipv4Piece=ipv4Piece*10+number}if(ipv4Piece>255){return failure}++pointer}address[pieceIndex]=address[pieceIndex]*256+ipv4Piece;++numbersSeen;if(numbersSeen===2||numbersSeen===4){++pieceIndex}}if(numbersSeen!==4){return failure}break}else if(input[pointer]===58){++pointer;if(input[pointer]===undefined){return failure}}else if(input[pointer]!==undefined){return failure}address[pieceIndex]=value;++pieceIndex}if(compress!==null){let swaps=pieceIndex-compress;pieceIndex=7;while(pieceIndex!==0&&swaps>0){const temp=address[compress+swaps-1];address[compress+swaps-1]=address[pieceIndex];address[pieceIndex]=temp;--pieceIndex;--swaps}}else if(compress===null&&pieceIndex!==8){return failure}return address}function serializeIPv6(address){let output="";const seqResult=findLongestZeroSequence(address);const compress=seqResult.idx;let ignore0=false;for(let pieceIndex=0;pieceIndex<=7;++pieceIndex){if(ignore0&&address[pieceIndex]===0){continue}else if(ignore0){ignore0=false}if(compress===pieceIndex){const separator=pieceIndex===0?"::":":";output+=separator;ignore0=true;continue}output+=address[pieceIndex].toString(16);if(pieceIndex!==7){output+=":"}}return output}function parseHost(input,isNotSpecialArg=false){if(input[0]==="["){if(input[input.length-1]!=="]"){return failure}return parseIPv6(input.substring(1,input.length-1))}if(isNotSpecialArg){return parseOpaqueHost(input)}const domain=percentDecode(Buffer.from(input)).toString();const asciiDomain=domainToASCII(domain);if(asciiDomain===failure){return failure}if(containsForbiddenHostCodePoint(asciiDomain)){return failure}const ipv4Host=parseIPv4(asciiDomain);if(typeof ipv4Host==="number"||ipv4Host===failure){return ipv4Host}return asciiDomain}function parseOpaqueHost(input){if(containsForbiddenHostCodePointExcludingPercent(input)){return failure}let output="";const decoded=punycode.ucs2.decode(input);for(let i=0;i<decoded.length;++i){output+=percentEncodeChar(decoded[i],isC0ControlPercentEncode)}return output}function findLongestZeroSequence(arr){let maxIdx=null;let maxLen=1;let currStart=null;let currLen=0;for(let i=0;i<arr.length;++i){if(arr[i]!==0){if(currLen>maxLen){maxIdx=currStart;maxLen=currLen}currStart=null;currLen=0}else{if(currStart===null){currStart=i}++currLen}}if(currLen>maxLen){maxIdx=currStart;maxLen=currLen}return{idx:maxIdx,len:maxLen}}function serializeHost(host){if(typeof host==="number"){return serializeIPv4(host)}if(host instanceof Array){return"["+serializeIPv6(host)+"]"}return host}function domainToASCII(domain,beStrict=false){const result=tr46.toASCII(domain,{checkBidi:true,checkHyphens:false,checkJoiners:true,useSTD3ASCIIRules:beStrict,verifyDNSLength:beStrict});if(result===null||result===""){return failure}return result}function trimControlChars(url){return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}function trimTabAndNewline(url){return url.replace(/\u0009|\u000A|\u000D/g,"")}function shortenPath(url){const{path:path}=url;if(path.length===0){return}if(url.scheme==="file"&&path.length===1&&isNormalizedWindowsDriveLetter(path[0])){return}path.pop()}function includesCredentials(url){return url.username!==""||url.password!==""}function cannotHaveAUsernamePasswordPort(url){return url.host===null||url.host===""||url.cannotBeABaseURL||url.scheme==="file"}function isNormalizedWindowsDriveLetter(string){return/^[A-Za-z]:$/.test(string)}function URLStateMachine(input,base,encodingOverride,url,stateOverride){this.pointer=0;this.input=input;this.base=base||null;this.encodingOverride=encodingOverride||"utf-8";this.stateOverride=stateOverride;this.url=url;this.failure=false;this.parseError=false;if(!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:false};const res=trimControlChars(this.input);if(res!==this.input){this.parseError=true}this.input=res}const res=trimTabAndNewline(this.input);if(res!==this.input){this.parseError=true}this.input=res;this.state=stateOverride||"scheme start";this.buffer="";this.atFlag=false;this.arrFlag=false;this.passwordTokenSeenFlag=false;this.input=punycode.ucs2.decode(this.input);for(;this.pointer<=this.input.length;++this.pointer){const c=this.input[this.pointer];const cStr=isNaN(c)?undefined:String.fromCodePoint(c);const ret=this["parse "+this.state](c,cStr);if(!ret){break}else if(ret===failure){this.failure=true;break}}}URLStateMachine.prototype["parse scheme start"]=function parseSchemeStart(c,cStr){if(infra.isASCIIAlpha(c)){this.buffer+=cStr.toLowerCase();this.state="scheme"}else if(!this.stateOverride){this.state="no scheme";--this.pointer}else{this.parseError=true;return failure}return true};URLStateMachine.prototype["parse scheme"]=function parseScheme(c,cStr){if(infra.isASCIIAlphanumeric(c)||c===43||c===45||c===46){this.buffer+=cStr.toLowerCase()}else if(c===58){if(this.stateOverride){if(isSpecial(this.url)&&!isSpecialScheme(this.buffer)){return false}if(!isSpecial(this.url)&&isSpecialScheme(this.buffer)){return false}if((includesCredentials(this.url)||this.url.port!==null)&&this.buffer==="file"){return false}if(this.url.scheme==="file"&&(this.url.host===""||this.url.host===null)){return false}}this.url.scheme=this.buffer;if(this.stateOverride){if(this.url.port===defaultPort(this.url.scheme)){this.url.port=null}return false}this.buffer="";if(this.url.scheme==="file"){if(this.input[this.pointer+1]!==47||this.input[this.pointer+2]!==47){this.parseError=true}this.state="file"}else if(isSpecial(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme){this.state="special relative or authority"}else if(isSpecial(this.url)){this.state="special authority slashes"}else if(this.input[this.pointer+1]===47){this.state="path or authority";++this.pointer}else{this.url.cannotBeABaseURL=true;this.url.path.push("");this.state="cannot-be-a-base-URL path"}}else if(!this.stateOverride){this.buffer="";this.state="no scheme";this.pointer=-1}else{this.parseError=true;return failure}return true};URLStateMachine.prototype["parse no scheme"]=function parseNoScheme(c){if(this.base===null||this.base.cannotBeABaseURL&&c!==35){return failure}else if(this.base.cannotBeABaseURL&&c===35){this.url.scheme=this.base.scheme;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.url.cannotBeABaseURL=true;this.state="fragment"}else if(this.base.scheme==="file"){this.state="file";--this.pointer}else{this.state="relative";--this.pointer}return true};URLStateMachine.prototype["parse special relative or authority"]=function parseSpecialRelativeOrAuthority(c){if(c===47&&this.input[this.pointer+1]===47){this.state="special authority ignore slashes";++this.pointer}else{this.parseError=true;this.state="relative";--this.pointer}return true};URLStateMachine.prototype["parse path or authority"]=function parsePathOrAuthority(c){if(c===47){this.state="authority"}else{this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse relative"]=function parseRelative(c){this.url.scheme=this.base.scheme;if(isNaN(c)){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query=this.base.query}else if(c===47){this.state="relative slash"}else if(c===63){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query="";this.state="query"}else if(c===35){this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.state="fragment"}else if(isSpecial(this.url)&&c===92){this.parseError=true;this.state="relative slash"}else{this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.url.path=this.base.path.slice(0,this.base.path.length-1);this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse relative slash"]=function parseRelativeSlash(c){if(isSpecial(this.url)&&(c===47||c===92)){if(c===92){this.parseError=true}this.state="special authority ignore slashes"}else if(c===47){this.state="authority"}else{this.url.username=this.base.username;this.url.password=this.base.password;this.url.host=this.base.host;this.url.port=this.base.port;this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse special authority slashes"]=function parseSpecialAuthoritySlashes(c){if(c===47&&this.input[this.pointer+1]===47){this.state="special authority ignore slashes";++this.pointer}else{this.parseError=true;this.state="special authority ignore slashes";--this.pointer}return true};URLStateMachine.prototype["parse special authority ignore slashes"]=function parseSpecialAuthorityIgnoreSlashes(c){if(c!==47&&c!==92){this.state="authority";--this.pointer}else{this.parseError=true}return true};URLStateMachine.prototype["parse authority"]=function parseAuthority(c,cStr){if(c===64){this.parseError=true;if(this.atFlag){this.buffer="%40"+this.buffer}this.atFlag=true;const len=countSymbols(this.buffer);for(let pointer=0;pointer<len;++pointer){const codePoint=this.buffer.codePointAt(pointer);if(codePoint===58&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=true;continue}const encodedCodePoints=percentEncodeChar(codePoint,isUserinfoPercentEncode);if(this.passwordTokenSeenFlag){this.url.password+=encodedCodePoints}else{this.url.username+=encodedCodePoints}}this.buffer=""}else if(isNaN(c)||c===47||c===63||c===35||isSpecial(this.url)&&c===92){if(this.atFlag&&this.buffer===""){this.parseError=true;return failure}this.pointer-=countSymbols(this.buffer)+1;this.buffer="";this.state="host"}else{this.buffer+=cStr}return true};URLStateMachine.prototype["parse hostname"]=URLStateMachine.prototype["parse host"]=function parseHostName(c,cStr){if(this.stateOverride&&this.url.scheme==="file"){--this.pointer;this.state="file host"}else if(c===58&&!this.arrFlag){if(this.buffer===""){this.parseError=true;return failure}const host=parseHost(this.buffer,isNotSpecial(this.url));if(host===failure){return failure}this.url.host=host;this.buffer="";this.state="port";if(this.stateOverride==="hostname"){return false}}else if(isNaN(c)||c===47||c===63||c===35||isSpecial(this.url)&&c===92){--this.pointer;if(isSpecial(this.url)&&this.buffer===""){this.parseError=true;return failure}else if(this.stateOverride&&this.buffer===""&&(includesCredentials(this.url)||this.url.port!==null)){this.parseError=true;return false}const host=parseHost(this.buffer,isNotSpecial(this.url));if(host===failure){return failure}this.url.host=host;this.buffer="";this.state="path start";if(this.stateOverride){return false}}else{if(c===91){this.arrFlag=true}else if(c===93){this.arrFlag=false}this.buffer+=cStr}return true};URLStateMachine.prototype["parse port"]=function parsePort(c,cStr){if(infra.isASCIIDigit(c)){this.buffer+=cStr}else if(isNaN(c)||c===47||c===63||c===35||isSpecial(this.url)&&c===92||this.stateOverride){if(this.buffer!==""){const port=parseInt(this.buffer);if(port>Math.pow(2,16)-1){this.parseError=true;return failure}this.url.port=port===defaultPort(this.url.scheme)?null:port;this.buffer=""}if(this.stateOverride){return false}this.state="path start";--this.pointer}else{this.parseError=true;return failure}return true};const fileOtherwiseCodePoints=new Set([47,92,63,35]);function startsWithWindowsDriveLetter(input,pointer){const length=input.length-pointer;return length>=2&&isWindowsDriveLetterCodePoints(input[pointer],input[pointer+1])&&(length===2||fileOtherwiseCodePoints.has(input[pointer+2]))}URLStateMachine.prototype["parse file"]=function parseFile(c){this.url.scheme="file";if(c===47||c===92){if(c===92){this.parseError=true}this.state="file slash"}else if(this.base!==null&&this.base.scheme==="file"){if(isNaN(c)){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query=this.base.query}else if(c===63){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query="";this.state="query"}else if(c===35){this.url.host=this.base.host;this.url.path=this.base.path.slice();this.url.query=this.base.query;this.url.fragment="";this.state="fragment"}else{if(!startsWithWindowsDriveLetter(this.input,this.pointer)){this.url.host=this.base.host;this.url.path=this.base.path.slice();shortenPath(this.url)}else{this.parseError=true}this.state="path";--this.pointer}}else{this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse file slash"]=function parseFileSlash(c){if(c===47||c===92){if(c===92){this.parseError=true}this.state="file host"}else{if(this.base!==null&&this.base.scheme==="file"&&!startsWithWindowsDriveLetter(this.input,this.pointer)){if(isNormalizedWindowsDriveLetterString(this.base.path[0])){this.url.path.push(this.base.path[0])}else{this.url.host=this.base.host}}this.state="path";--this.pointer}return true};URLStateMachine.prototype["parse file host"]=function parseFileHost(c,cStr){if(isNaN(c)||c===47||c===92||c===63||c===35){--this.pointer;if(!this.stateOverride&&isWindowsDriveLetterString(this.buffer)){this.parseError=true;this.state="path"}else if(this.buffer===""){this.url.host="";if(this.stateOverride){return false}this.state="path start"}else{let host=parseHost(this.buffer,isNotSpecial(this.url));if(host===failure){return failure}if(host==="localhost"){host=""}this.url.host=host;if(this.stateOverride){return false}this.buffer="";this.state="path start"}}else{this.buffer+=cStr}return true};URLStateMachine.prototype["parse path start"]=function parsePathStart(c){if(isSpecial(this.url)){if(c===92){this.parseError=true}this.state="path";if(c!==47&&c!==92){--this.pointer}}else if(!this.stateOverride&&c===63){this.url.query="";this.state="query"}else if(!this.stateOverride&&c===35){this.url.fragment="";this.state="fragment"}else if(c!==undefined){this.state="path";if(c!==47){--this.pointer}}return true};URLStateMachine.prototype["parse path"]=function parsePath(c){if(isNaN(c)||c===47||isSpecial(this.url)&&c===92||!this.stateOverride&&(c===63||c===35)){if(isSpecial(this.url)&&c===92){this.parseError=true}if(isDoubleDot(this.buffer)){shortenPath(this.url);if(c!==47&&!(isSpecial(this.url)&&c===92)){this.url.path.push("")}}else if(isSingleDot(this.buffer)&&c!==47&&!(isSpecial(this.url)&&c===92)){this.url.path.push("")}else if(!isSingleDot(this.buffer)){if(this.url.scheme==="file"&&this.url.path.length===0&&isWindowsDriveLetterString(this.buffer)){if(this.url.host!==""&&this.url.host!==null){this.parseError=true;this.url.host=""}this.buffer=this.buffer[0]+":"}this.url.path.push(this.buffer)}this.buffer="";if(this.url.scheme==="file"&&(c===undefined||c===63||c===35)){while(this.url.path.length>1&&this.url.path[0]===""){this.parseError=true;this.url.path.shift()}}if(c===63){this.url.query="";this.state="query"}if(c===35){this.url.fragment="";this.state="fragment"}}else{if(c===37&&(!infra.isASCIIHex(this.input[this.pointer+1])||!infra.isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.buffer+=percentEncodeChar(c,isPathPercentEncode)}return true};URLStateMachine.prototype["parse cannot-be-a-base-URL path"]=function parseCannotBeABaseURLPath(c){if(c===63){this.url.query="";this.state="query"}else if(c===35){this.url.fragment="";this.state="fragment"}else{if(!isNaN(c)&&c!==37){this.parseError=true}if(c===37&&(!infra.isASCIIHex(this.input[this.pointer+1])||!infra.isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}if(!isNaN(c)){this.url.path[0]+=percentEncodeChar(c,isC0ControlPercentEncode)}}return true};URLStateMachine.prototype["parse query"]=function parseQuery(c,cStr){if(isNaN(c)||!this.stateOverride&&c===35){if(!isSpecial(this.url)||this.url.scheme==="ws"||this.url.scheme==="wss"){this.encodingOverride="utf-8"}const buffer=Buffer.from(this.buffer);for(let i=0;i<buffer.length;++i){if(buffer[i]<33||buffer[i]>126||buffer[i]===34||buffer[i]===35||buffer[i]===60||buffer[i]===62||buffer[i]===39&&isSpecial(this.url)){this.url.query+=percentEncode(buffer[i])}else{this.url.query+=String.fromCodePoint(buffer[i])}}this.buffer="";if(c===35){this.url.fragment="";this.state="fragment"}}else{if(c===37&&(!infra.isASCIIHex(this.input[this.pointer+1])||!infra.isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.buffer+=cStr}return true};URLStateMachine.prototype["parse fragment"]=function parseFragment(c){if(!isNaN(c)){if(c===37&&(!infra.isASCIIHex(this.input[this.pointer+1])||!infra.isASCIIHex(this.input[this.pointer+2]))){this.parseError=true}this.url.fragment+=percentEncodeChar(c,isFragmentPercentEncode)}return true};function serializeURL(url,excludeFragment){let output=url.scheme+":";if(url.host!==null){output+="//";if(url.username!==""||url.password!==""){output+=url.username;if(url.password!==""){output+=":"+url.password}output+="@"}output+=serializeHost(url.host);if(url.port!==null){output+=":"+url.port}}else if(url.host===null&&url.scheme==="file"){output+="//"}if(url.cannotBeABaseURL){output+=url.path[0]}else{for(const string of url.path){output+="/"+string}}if(url.query!==null){output+="?"+url.query}if(!excludeFragment&&url.fragment!==null){output+="#"+url.fragment}return output}function serializeOrigin(tuple){let result=tuple.scheme+"://";result+=serializeHost(tuple.host);if(tuple.port!==null){result+=":"+tuple.port}return result}module.exports.serializeURL=serializeURL;module.exports.serializeURLOrigin=function(url){switch(url.scheme){case"blob":try{return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0]))}catch(e){return"null"}case"ftp":case"http":case"https":case"ws":case"wss":return serializeOrigin({scheme:url.scheme,host:url.host,port:url.port});case"file":return"null";default:return"null"}};module.exports.basicURLParse=function(input,options){if(options===undefined){options={}}const usm=new URLStateMachine(input,options.baseURL,options.encodingOverride,options.url,options.stateOverride);if(usm.failure){return null}return usm.url};module.exports.setTheUsername=function(url,username){url.username="";const decoded=punycode.ucs2.decode(username);for(let i=0;i<decoded.length;++i){url.username+=percentEncodeChar(decoded[i],isUserinfoPercentEncode)}};module.exports.setThePassword=function(url,password){url.password="";const decoded=punycode.ucs2.decode(password);for(let i=0;i<decoded.length;++i){url.password+=percentEncodeChar(decoded[i],isUserinfoPercentEncode)}};module.exports.serializeHost=serializeHost;module.exports.cannotHaveAUsernamePasswordPort=cannotHaveAUsernamePasswordPort;module.exports.serializeInteger=function(integer){return String(integer)};module.exports.parseURL=function(input,options){if(options===undefined){options={}}return module.exports.basicURLParse(input,{baseURL:options.baseURL,encodingOverride:options.encodingOverride})}}).call(this,require("buffer").Buffer)},{"./infra":1029,"./urlencoded":1031,buffer:132,punycode:130,tr46:988}],1031:[function(require,module,exports){(function(Buffer){"use strict";const{isASCIIHex:isASCIIHex}=require("./infra");function strictlySplitByteSequence(buf,cp){const list=[];let last=0;let i=buf.indexOf(cp);while(i>=0){list.push(buf.slice(last,i));last=i+1;i=buf.indexOf(cp,last)}if(last!==buf.length){list.push(buf.slice(last))}return list}function replaceByteInByteSequence(buf,from,to){let i=buf.indexOf(from);while(i>=0){buf[i]=to;i=buf.indexOf(from,i+1)}return buf}function percentEncode(c){let hex=c.toString(16).toUpperCase();if(hex.length===1){hex="0"+hex}return"%"+hex}function percentDecode(input){const output=Buffer.alloc(input.byteLength);let ptr=0;for(let i=0;i<input.length;++i){if(input[i]!==37||!isASCIIHex(input[i+1])||!isASCIIHex(input[i+2])){output[ptr++]=input[i]}else{output[ptr++]=parseInt(input.slice(i+1,i+3).toString(),16);i+=2}}return output.slice(0,ptr)}function parseUrlencoded(input){const sequences=strictlySplitByteSequence(input,38);const output=[];for(const bytes of sequences){if(bytes.length===0){continue}let name;let value;const indexOfEqual=bytes.indexOf(61);if(indexOfEqual>=0){name=bytes.slice(0,indexOfEqual);value=bytes.slice(indexOfEqual+1)}else{name=bytes;value=Buffer.alloc(0)}name=replaceByteInByteSequence(Buffer.from(name),43,32);value=replaceByteInByteSequence(Buffer.from(value),43,32);output.push([percentDecode(name).toString(),percentDecode(value).toString()])}return output}function serializeUrlencodedByte(input){let output="";for(const byte of input){if(byte===32){output+="+"}else if(byte===42||byte===45||byte===46||byte>=48&&byte<=57||byte>=65&&byte<=90||byte===95||byte>=97&&byte<=122){output+=String.fromCodePoint(byte)}else{output+=percentEncode(byte)}}return output}function serializeUrlencoded(tuples,encodingOverride=undefined){let encoding="utf-8";if(encodingOverride!==undefined){encoding=encodingOverride}let output="";for(const[i,tuple]of tuples.entries()){const name=serializeUrlencodedByte(Buffer.from(tuple[0]));let value=tuple[1];if(tuple.length>2&&tuple[2]!==undefined){if(tuple[2]==="hidden"&&name==="_charset_"){value=encoding}else if(tuple[2]==="file"){value=value.name}}value=serializeUrlencodedByte(Buffer.from(value));if(i!==0){output+="&"}output+=`${name}=${value}`}return output}module.exports={percentEncode:percentEncode,percentDecode:percentDecode,parseUrlencoded(input){return parseUrlencoded(Buffer.from(input))},serializeUrlencoded:serializeUrlencoded}}).call(this,require("buffer").Buffer)},{"./infra":1029,buffer:132}],1032:[function(require,module,exports){arguments[4][212][0].apply(exports,arguments)},{dup:212}],1033:[function(require,module,exports){"use strict";const URL=require("./lib/URL");const URLSearchParams=require("./lib/URLSearchParams");exports.URL=URL;exports.URLSearchParams=URLSearchParams},{"./lib/URL":1026,"./lib/URLSearchParams":1028}],1034:[function(require,module,exports){module.exports=function(){function _waka(parser,startRule){if(startRule&&!parser.rules[startRule])throw new Error("start rule missing: "+JSON.stringify(startRule));return{getState:function(){return parser.state},getTrace:function(message){return(message?message+"\n":"")+parser.state.traceLine()},exec:function(input){if(!startRule)throw new Error("no start rule given");parser.state.setInput(input);try{var value=parser.rules[startRule]()}catch(err){var error=err}if(error==null){if(!parser.state.adv||!parser.state.isEOF())var error=new Error("Unexpected syntax in top")}return{success:error==null,value:!error?value:undefined,error:error}},startWith:function(rule){return _waka(parser,rule)}}}return _waka(function(){"use strict";var _rules={};_rules.NameStartChar=function(){var _R=_P.match(":");if(!_P.adv){_P.adv=true;var $0=_P.cur();if($0==null){_P.adv=false;var _R=null}else{var _R=_P.step("A"<=$0&&$0<="Z")}}if(!_P.adv){_P.adv=true;var _R=_P.match("_")}if(!_P.adv){_P.adv=true;var $1=_P.cur();if($1==null){_P.adv=false;var _R=null}else{var _R=_P.step("a"<=$1&&$1<="z")}}if(!_P.adv){_P.adv=true;var $2=_P.cur();if($2==null){_P.adv=false;var _R=null}else{var _R=_P.step("À"<=$2&&$2<="Ö")}}if(!_P.adv){_P.adv=true;var $3=_P.cur();if($3==null){_P.adv=false;var _R=null}else{var _R=_P.step("Ø"<=$3&&$3<="ö")}}if(!_P.adv){_P.adv=true;var $4=_P.cur();if($4==null){_P.adv=false;var _R=null}else{var _R=_P.step("ø"<=$4&&$4<="˿")}}if(!_P.adv){_P.adv=true;var $5=_P.cur();if($5==null){_P.adv=false;var _R=null}else{var _R=_P.step("Ͱ"<=$5&&$5<="ͽ")}}if(!_P.adv){_P.adv=true;var $6=_P.cur();if($6==null){_P.adv=false;var _R=null}else{var _R=_P.step("Ϳ"<=$6&&$6<="")}}if(!_P.adv){_P.adv=true;var $7=_P.cur();if($7==null){_P.adv=false;var _R=null}else{var _R=_P.step(""<=$7&&$7<="")}}if(!_P.adv){_P.adv=true;var $8=_P.cur();if($8==null){_P.adv=false;var _R=null}else{var _R=_P.step("⁰"<=$8&&$8<="")}}if(!_P.adv){_P.adv=true;var $9=_P.cur();if($9==null){_P.adv=false;var _R=null}else{var _R=_P.step("Ⰰ"<=$9&&$9<="")}}if(!_P.adv){_P.adv=true;var $a=_P.cur();if($a==null){_P.adv=false;var _R=null}else{var _R=_P.step("、"<=$a&&$a<="")}}if(!_P.adv){_P.adv=true;var $b=_P.cur();if($b==null){_P.adv=false;var _R=null}else{var _R=_P.step("豈"<=$b&&$b<="﷏")}}if(!_P.adv){_P.adv=true;var $c=_P.cur();if($c==null){_P.adv=false;var _R=null}else{var _R=_P.step("ﷰ"<=$c&&$c<="<22>")}}if(!_P.adv){_P.adv=true;$d:{var $e=_P.pos;var $f=_P.cur();if($f==null){_P.adv=false;null}else{_P.step("\ud800"<=$f&&$f<="\udb7f")}if(!_P.adv)break $d;var $g=_P.cur();if($g==null){_P.adv=false;null}else{_P.step("\udc00"<=$g&&$g<="\udfff")}var _R=_P.doc.substring($e,_P.pos)}if(!_P.adv)_P.pos=$e}return _R};_rules.NameChar=function(){var _R=_rules.NameStartChar();if(!_P.adv){_P.adv=true;var _R=_P.match("-")}if(!_P.adv){_P.adv=true;var _R=_P.match(".")}if(!_P.adv){_P.adv=true;var $0=_P.cur();if($0==null){_P.adv=false;var _R=null}else{var _R=_P.step("0"<=$0&&$0<="9")}}if(!_P.adv){_P.adv=true;var _R=_P.match("·")}if(!_P.adv){_P.adv=true;var $1=_P.cur();if($1==null){_P.adv=false;var _R=null}else{var _R=_P.step("̀"<=$1&&$1<="ͯ")}}if(!_P.adv){_P.adv=true;var $2=_P.cur();if($2==null){_P.adv=false;var _R=null}else{var _R=_P.step("‿"<=$2&&$2<="⁀")}}return _R};_rules.Name=function(){$0:{var $1=_P.pos;_rules.NameStartChar();if(!_P.adv)break $0;var $2=false;for(;;){_rules.NameChar();if(!_P.adv)break;$2=true}_P.adv=true;var _R=_P.doc.substring($1,_P.pos)}if(!_P.adv)_P.pos=$1;return _R};_rules.QName=function(){var _R=_rules.PrefixedName();if(!_P.adv){_P.adv=true;var _R=_rules.UnprefixedName()}return _R};_rules.PrefixedName=function(){$0:{var $1=_P.pos;_rules.Prefix();if(!_P.adv)break $0;_P.match(":");if(!_P.adv)break $0;_rules.LocalPart();var _R=_P.doc.substring($1,_P.pos)}if(!_P.adv)_P.pos=$1;return _R};_rules.UnprefixedName=function(){var _R=_rules.LocalPart();return _R};_rules.Prefix=function(){var _R=_rules.NCName();return _R};_rules.LocalPart=function(){var _R=_rules.NCName();return _R};_rules.NCNameStartChar=function(){var $0=_P.cur();if($0==null){_P.adv=false;var _R=null}else{var _R=_P.step("A"<=$0&&$0<="Z")}if(!_P.adv){_P.adv=true;var _R=_P.match("_")}if(!_P.adv){_P.adv=true;var $1=_P.cur();if($1==null){_P.adv=false;var _R=null}else{var _R=_P.step("a"<=$1&&$1<="z")}}if(!_P.adv){_P.adv=true;var $2=_P.cur();if($2==null){_P.adv=false;var _R=null}else{var _R=_P.step("À"<=$2&&$2<="Ö")}}if(!_P.adv){_P.adv=true;var $3=_P.cur();if($3==null){_P.adv=false;var _R=null}else{var _R=_P.step("Ø"<=$3&&$3<="ö")}}if(!_P.adv){_P.adv=true;var $4=_P.cur();if($4==null){_P.adv=false;var _R=null}else{var _R=_P.step("ø"<=$4&&$4<="˿")}}if(!_P.adv){_P.adv=true;var $5=_P.cur();if($5==null){_P.adv=false;var _R=null}else{var _R=_P.step("Ͱ"<=$5&&$5<="ͽ")}}if(!_P.adv){_P.adv=true;var $6=_P.cur();if($6==null){_P.adv=false;var _R=null}else{var _R=_P.step("Ϳ"<=$6&&$6<="")}}if(!_P.adv){_P.adv=true;var $7=_P.cur();if($7==null){_P.adv=false;var _R=null}else{var _R=_P.step(""<=$7&&$7<="")}}if(!_P.adv){_P.adv=true;var $8=_P.cur();if($8==null){_P.adv=false;var _R=null}else{var _R=_P.step("⁰"<=$8&&$8<="")}}if(!_P.adv){_P.adv=true;var $9=_P.cur();if($9==null){_P.adv=false;var _R=null}else{var _R=_P.step("Ⰰ"<=$9&&$9<="")}}if(!_P.adv){_P.adv=true;var $a=_P.cur();if($a==null){_P.adv=false;var _R=null}else{var _R=_P.step("、"<=$a&&$a<="")}}if(!_P.adv){_P.adv=true;var $b=_P.cur();if($b==null){_P.adv=false;var _R=null}else{var _R=_P.step("豈"<=$b&&$b<="﷏")}}if(!_P.adv){_P.adv=true;var $c=_P.cur();if($c==null){_P.adv=false;var _R=null}else{var _R=_P.step("ﷰ"<=$c&&$c<="<22>")}}if(!_P.adv){_P.adv=true;$d:{var $e=_P.pos;var $f=_P.cur();if($f==null){_P.adv=false;null}else{_P.step("\ud800"<=$f&&$f<="\udb7f")}if(!_P.adv)break $d;var $g=_P.cur();if($g==null){_P.adv=false;null}else{_P.step("\udc00"<=$g&&$g<="\udfff")}var _R=_P.doc.substring($e,_P.pos)}if(!_P.adv)_P.pos=$e}return _R};_rules.NCNameChar=function(){var _R=_rules.NCNameStartChar();if(!_P.adv){_P.adv=true;var _R=_P.match("-")}if(!_P.adv){_P.adv=true;var _R=_P.match(".")}if(!_P.adv){_P.adv=true;var $0=_P.cur();if($0==null){_P.adv=false;var _R=null}else{var _R=_P.step("0"<=$0&&$0<="9")}}if(!_P.adv){_P.adv=true;var _R=_P.match("·")}if(!_P.adv){_P.adv=true;var $1=_P.cur();if($1==null){_P.adv=false;var _R=null}else{var _R=_P.step("̀"<=$1&&$1<="ͯ")}}if(!_P.adv){_P.adv=true;var $2=_P.cur();if($2==null){_P.adv=false;var _R=null}else{var _R=_P.step("‿"<=$2&&$2<="⁀")}}return _R};_rules.NCName=function(){$0:{var $1=_P.pos;_rules.NCNameStartChar();if(!_P.adv)break $0;var $2=false;for(;;){_rules.NCNameChar();if(!_P.adv)break;$2=true}_P.adv=true;var _R=_P.doc.substring($1,_P.pos)}if(!_P.adv)_P.pos=$1;return _R};function ParserState(){this.doc="";this.pos=0;this.adv=true;this.setInput=function(doc){this.doc=doc;this.pos=0;this.adv=true};this.isEOF=function(){return this.pos==this.doc.length};this.cur=function(){return _P.doc[_P.pos]};this.match=function(str){if(_P.adv=_P.doc.substr(_P.pos,str.length)==str){_P.pos+=str.length;return str}};this.step=function(flag){if(_P.adv=flag){_P.pos++;return _P.doc[_P.pos-1]}};this.unexpected=function(rule){throw new Error("Unexpected syntax in "+rule)};this.traceLine=function(pos){if(!pos)pos=_P.pos;var from=_P.doc.lastIndexOf("\n",pos),to=_P.doc.indexOf("\n",pos);if(from==-1)from=0;else from++;if(to==-1)to=pos.length;var lineNo=_P.doc.substring(0,from).split("\n").length;var line=_P.doc.substring(from,to);var pointer=Array(200).join(" ").substr(0,pos-from)+"^^^";return"Line "+lineNo+":\n"+line+"\n"+pointer}}var _P=new ParserState;return{state:_P,rules:_rules}}(),null)}()},{}],1035:[function(require,module,exports){"use strict";const parser=require("./generated-parser.js");exports.name=function(potentialName){return mapResult(parser.startWith("Name").exec(potentialName))};exports.qname=function(potentialQname){return mapResult(parser.startWith("QName").exec(potentialQname))};function mapResult(result){return{success:result.success,error:result.error&&parser.getTrace(result.error.message)}}},{"./generated-parser.js":1034}],1036:[function(require,module,exports){"use strict";
|
||
/**
|
||
* Character classes and associated utilities for the 5th edition of XML 1.0.
|
||
*
|
||
* @author Louis-Dominique Dubeau
|
||
* @license MIT
|
||
* @copyright Louis-Dominique Dubeau
|
||
*/Object.defineProperty(exports,"__esModule",{value:true});exports.CHAR="\t\n\r --<2D>𐀀-";exports.S=" \t\r\n";exports.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-<2D>𐀀-";exports.NAME_CHAR="-"+exports.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";exports.CHAR_RE=new RegExp("^["+exports.CHAR+"]$","u");exports.S_RE=new RegExp("^["+exports.S+"]+$","u");exports.NAME_START_CHAR_RE=new RegExp("^["+exports.NAME_START_CHAR+"]$","u");exports.NAME_CHAR_RE=new RegExp("^["+exports.NAME_CHAR+"]$","u");exports.NAME_RE=new RegExp("^["+exports.NAME_START_CHAR+"]["+exports.NAME_CHAR+"]*$","u");exports.NMTOKEN_RE=new RegExp("^["+exports.NAME_CHAR+"]+$","u");var TAB=9;var NL=10;var CR=13;var SPACE=32;exports.S_LIST=[SPACE,NL,CR,TAB];function isChar(c){return c>=SPACE&&c<=55295||c===NL||c===CR||c===TAB||c>=57344&&c<=65533||c>=65536&&c<=1114111}exports.isChar=isChar;function isS(c){return c===SPACE||c===NL||c===CR||c===TAB}exports.isS=isS;function isNameStartChar(c){return c>=65&&c<=90||c>=97&&c<=122||c===58||c===95||c===8204||c===8205||c>=192&&c<=214||c>=216&&c<=246||c>=248&&c<=767||c>=880&&c<=893||c>=895&&c<=8191||c>=8304&&c<=8591||c>=11264&&c<=12271||c>=12289&&c<=55295||c>=63744&&c<=64975||c>=65008&&c<=65533||c>=65536&&c<=983039}exports.isNameStartChar=isNameStartChar;function isNameChar(c){return isNameStartChar(c)||c>=48&&c<=57||c===45||c===46||c===183||c>=768&&c<=879||c>=8255&&c<=8256}exports.isNameChar=isNameChar},{}],1037:[function(require,module,exports){"use strict";
|
||
/**
|
||
* Character classes and associated utilities for the 2nd edition of XML 1.1.
|
||
*
|
||
* @author Louis-Dominique Dubeau
|
||
* @license MIT
|
||
* @copyright Louis-Dominique Dubeau
|
||
*/Object.defineProperty(exports,"__esModule",{value:true});exports.CHAR="--<2D>𐀀-";exports.RESTRICTED_CHAR="-\b\v\f---";exports.S=" \t\r\n";exports.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-<2D>𐀀-";exports.NAME_CHAR="-"+exports.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";exports.CHAR_RE=new RegExp("^["+exports.CHAR+"]$","u");exports.RESTRICTED_CHAR_RE=new RegExp("^["+exports.RESTRICTED_CHAR+"]$","u");exports.S_RE=new RegExp("^["+exports.S+"]+$","u");exports.NAME_START_CHAR_RE=new RegExp("^["+exports.NAME_START_CHAR+"]$","u");exports.NAME_CHAR_RE=new RegExp("^["+exports.NAME_CHAR+"]$","u");exports.NAME_RE=new RegExp("^["+exports.NAME_START_CHAR+"]["+exports.NAME_CHAR+"]*$","u");exports.NMTOKEN_RE=new RegExp("^["+exports.NAME_CHAR+"]+$","u");var TAB=9;var NL=10;var CR=13;var SPACE=32;exports.S_LIST=[SPACE,NL,CR,TAB];function isChar(c){return c>=1&&c<=55295||c>=57344&&c<=65533||c>=65536&&c<=1114111}exports.isChar=isChar;function isRestrictedChar(c){return c>=1&&c<=8||c===11||c===12||c>=14&&c<=31||c>=127&&c<=132||c>=134&&c<=159}exports.isRestrictedChar=isRestrictedChar;function isCharAndNotRestricted(c){return c===9||c===10||c===13||c>31&&c<127||c===133||c>159&&c<=55295||c>=57344&&c<=65533||c>=65536&&c<=1114111}exports.isCharAndNotRestricted=isCharAndNotRestricted;function isS(c){return c===SPACE||c===NL||c===CR||c===TAB}exports.isS=isS;function isNameStartChar(c){return c>=65&&c<=90||c>=97&&c<=122||c===58||c===95||c===8204||c===8205||c>=192&&c<=214||c>=216&&c<=246||c>=248&&c<=767||c>=880&&c<=893||c>=895&&c<=8191||c>=8304&&c<=8591||c>=11264&&c<=12271||c>=12289&&c<=55295||c>=63744&&c<=64975||c>=65008&&c<=65533||c>=65536&&c<=983039}exports.isNameStartChar=isNameStartChar;function isNameChar(c){return isNameStartChar(c)||c>=48&&c<=57||c===45||c===46||c===183||c>=768&&c<=879||c>=8255&&c<=8256}exports.isNameChar=isNameChar},{}],1038:[function(require,module,exports){"use strict";
|
||
/**
|
||
* Character class utilities for XML NS 1.0 edition 3.
|
||
*
|
||
* @author Louis-Dominique Dubeau
|
||
* @license MIT
|
||
* @copyright Louis-Dominique Dubeau
|
||
*/Object.defineProperty(exports,"__esModule",{value:true});exports.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>𐀀-";exports.NC_NAME_CHAR="-"+exports.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";exports.NC_NAME_START_CHAR_RE=new RegExp("^["+exports.NC_NAME_START_CHAR+"]$","u");exports.NC_NAME_CHAR_RE=new RegExp("^["+exports.NC_NAME_CHAR+"]$","u");exports.NC_NAME_RE=new RegExp("^["+exports.NC_NAME_START_CHAR+"]["+exports.NC_NAME_CHAR+"]*$","u");function isNCNameStartChar(c){return c>=65&&c<=90||c===95||c>=97&&c<=122||c>=192&&c<=214||c>=216&&c<=246||c>=248&&c<=767||c>=880&&c<=893||c>=895&&c<=8191||c>=8204&&c<=8205||c>=8304&&c<=8591||c>=11264&&c<=12271||c>=12289&&c<=55295||c>=63744&&c<=64975||c>=65008&&c<=65533||c>=65536&&c<=983039}exports.isNCNameStartChar=isNCNameStartChar;function isNCNameChar(c){return isNCNameStartChar(c)||(c===45||c===46||c>=48&&c<=57||c===183||c>=768&&c<=879||c>=8255&&c<=8256)}exports.isNCNameChar=isNCNameChar},{}],1039:[function(require,module,exports){module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;function extend(){var target={};for(var i=0;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(hasOwnProperty.call(source,key)){target[key]=source[key]}}}return target}},{}]},{},[334])(334)}));
|